diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-calculators/tiemu |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-calculators/tiemu')
-rw-r--r-- | sci-calculators/tiemu/Manifest | 7 | ||||
-rw-r--r-- | sci-calculators/tiemu/files/tiemu-3.03-r2820.patch | 28 | ||||
-rw-r--r-- | sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch | 232 | ||||
-rw-r--r-- | sci-calculators/tiemu/metadata.xml | 15 | ||||
-rw-r--r-- | sci-calculators/tiemu/tiemu-3.03-r1.ebuild | 62 |
5 files changed, 344 insertions, 0 deletions
diff --git a/sci-calculators/tiemu/Manifest b/sci-calculators/tiemu/Manifest new file mode 100644 index 000000000000..8abac458a24e --- /dev/null +++ b/sci-calculators/tiemu/Manifest @@ -0,0 +1,7 @@ +AUX tiemu-3.03-r2820.patch 797 SHA256 032f76ec9d81d724fb45b166b7727853ea455d4a2ad4f5c815b5cd4d88729673 SHA512 303b2c070131127fec872b1e53ad8a25dd26ab9e85bc6812351b26e7c0c3fcec7ce50d68d7964b47f3f1f68092e0ebc5b9fe499c811981aed28a1aeb702f4a4e WHIRLPOOL 9e0a2cb371f67f5c47e4c77e02fb130bc3c68c0642a0145263b609c05a4f1c813cce684d787a3f67d7260edac59fe716d2e5e6b3afc919175ae63282d518bf0d +AUX tiemu-3.03-remove_depreciated_gtk_calls.patch 5232 SHA256 0824626b519f291af2a865b900cbd296691cbe5dc92106b89e6b1ec8d90ab58f SHA512 7c5f254312086f1b1841c0abd2c6529f52fbfbbfb32c4621363fe58d6f0cfbaaeca610c7136e4d27a0393e88fadd098781db81ca144fb94c5c44d0d7744d53a3 WHIRLPOOL 5e5ea13d49517c9f6a0462c648936751eede270999d5ef538c9173b918a3848d432494459cf669a5cf80cfe0b23f3897a95416896c556c35a373eb9764e4ffcd +DIST tiemu_3.03.orig.tar.gz 27343892 SHA256 c47b1c58640622c0fac9049d83eb8953d5805e54dede32cb2d3aa6453fb9ce8b SHA512 417f57b14ff603bc35ec1dcd7e6a884c28dc9decddcf775318cac1db383907a59d24dcef3c96324703a896672bd54caa51220126edd9e6c1642d87c4e75e127a WHIRLPOOL 4e09ea96d0f18d387c5bb1cb4a2f4acdb05fe401c2d1340f8891aeb590423a36a35e98b095d824be10546db772afebbff4b75ca29f86ce022db334dfeb5d32d0 +EBUILD tiemu-3.03-r1.ebuild 1499 SHA256 b1bc3cd2b25fa4d034f3d6eb9b8d1d3c76256e16d592a99b316e03befe5d1164 SHA512 9f659f5311d6940951e5513326ec8ba874b236c7723d33cc9b206fd65177967afa21b1c42b52c309dfec1a1729b3d5a28f1e803ace9811d6e7493f61c6e915d6 WHIRLPOOL 21e5d51f769c5a32eb6a5c0e74f33a7aaf4ec47c0c18d17f00697e7073bcb6ab32a4a668516fc0e54f3a16c4b40dc5b2489cfef40038b316d8c2aa9268615d31 +MISC ChangeLog 3093 SHA256 24910ec66e167756669a038ee19906e123843dd1962e495bfd8fe2a13c015104 SHA512 c9171ef0bc5012d68fddb31c906d04d67585750ae18d3e6d85618870f79ebaf3eb77922752a76bbe8d9264ff4a24e2832092b11fd8e1bd025e46b4242053c23f WHIRLPOOL 64864cda16bfd3d774564dbcee6cace8bc21528dd5f6fc05d73ac1d10e922aa0463acc30180e2047b2efcfe0826a70b44a486a2967d9d9109d7dbdf0d1e54ff9 +MISC ChangeLog-2015 2056 SHA256 bcf340fd12bc088d1009bff584f353c69d2d0cecc5acd4ea50d0f6ae8d394e09 SHA512 6c26e6b03f73bb1394512c434ed48f0a8e297d6c485409ec2d0784b82fbd3a3a1478f7c2996bf604f7f3b0ccbd6c58610e91ed88172380fffec3803753411601 WHIRLPOOL 0c9e38f796821779435b9b0afa3b43c3d0656fb557b8d7ea9ee65fba83b620b2436dd0a7b09843e5b3ba60210d0fe1e57442f4147d525df6c286c322716dc61e +MISC metadata.xml 591 SHA256 b516670dd679405f4b1606eddfdb3dace64d0e2a1571c2cfa06cd17e9f89e127 SHA512 153cb66a827bcc5bb30e5a55b96cddd961bbcf913836732c43dcf8fea20bc2e80535d0f82c0658649dcd14e6455c8ebd9601b95f4d821c79b81cc3e0a71010ca WHIRLPOOL 6b08b27e9f855f5f5988dc7e2257afbb20f4ab1bca5ae36f9a39abbdd4d60a327c67ac199358d3e5f212505a3bf6f15d15b42794ea3fb9b6474f8be8184a003c diff --git a/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch new file mode 100644 index 000000000000..1d4ac6ef28af --- /dev/null +++ b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch @@ -0,0 +1,28 @@ +Removed obsolete virtual link cable. + +http://svn.tilp.info/cgi-bin/viewvc.cgi?view=rev&root=tiemu&revision=2820 +https://bugs.gentoo.org/show_bug.cgi?id=363383 + +--- a/src/gui/device.c ++++ b/src/gui/device.c +@@ -102,10 +102,6 @@ + gtk_option_menu_set_history(GTK_OPTION_MENU(data), 7);
+ break;
+
+- case CABLE_VTL:
+- gtk_option_menu_set_history(GTK_OPTION_MENU(data), 8);
+- break;
+-
+ case CABLE_ILP:
+ gtk_option_menu_set_history(GTK_OPTION_MENU(data), 9);
+ break;
+@@ -194,8 +190,7 @@ + case 5: tmp.cable_model = CABLE_USB; break;
+ case 6: tmp.cable_model = CABLE_VTI; break;
+ case 7: tmp.cable_model = CABLE_TIE; break;
+- case 8: tmp.cable_model = CABLE_VTL; break;
+- case 9: tmp.cable_model = CABLE_ILP; break;
++ case 8: tmp.cable_model = CABLE_ILP; break;
+ }
+ }
+
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch b/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch new file mode 100644 index 000000000000..aad56a70ca33 --- /dev/null +++ b/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch @@ -0,0 +1,232 @@ +--- a/src/gui/debugger/dbg_bkpts.c ++++ b/src/gui/debugger/dbg_bkpts.c +@@ -29,10 +29,15 @@ + # include <config.h> + #endif + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_regs.c ++++ b/src/gui/debugger/dbg_regs.c +@@ -28,14 +28,19 @@ + # include <config.h> + #endif + +-#include <gtk/gtk.h> +-#include <glade/glade.h> + #include <stdio.h> + #include <stdint.h> + #include <string.h> + #include <ctype.h> ++#include <gtk/gtk.h> ++#include <glade/glade.h> + #include <gdk/gdkkeysyms.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_pclog.c ++++ b/src/gui/debugger/dbg_pclog.c +@@ -31,6 +31,11 @@ + #include <gtk/gtk.h> + #include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_wnds.c ++++ b/src/gui/debugger/dbg_wnds.c +@@ -38,6 +38,11 @@ + #include <windows.h>
+ #endif
+
++#if GTK_CHECK_VERSION(2,18,0)
++#undef GTK_WIDGET_VISIBLE
++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid))
++#endif
++
+ #include "intl.h"
+ #include "ti68k_int.h"
+ #include "struct.h"
+--- a/src/gui/debugger/dbg_mem.c ++++ b/src/gui/debugger/dbg_mem.c +@@ -33,6 +33,11 @@ + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include <stdio.h> + #include <stdint.h> + #include <string.h> +--- a/src/gui/debugger/dbg_iop.c ++++ b/src/gui/debugger/dbg_iop.c +@@ -28,13 +28,18 @@ + # include <config.h> + #endif + +-#include <gtk/gtk.h> +-#include <glade/glade.h> + #include <stdio.h> + #include <stdint.h> + #include <string.h> + #include <ctype.h> ++#include <gtk/gtk.h> ++#include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_stack.c ++++ b/src/gui/debugger/dbg_stack.c +@@ -28,11 +28,16 @@ + # include <config.h> + #endif + ++#include <stdlib.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> +-#include <stdlib.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_all.c ++++ b/src/gui/debugger/dbg_all.c +@@ -38,6 +38,13 @@ + #include <windows.h> + #endif + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_SENSITIVE ++#define GTK_WIDGET_SENSITIVE(wid) (gtk_widget_get_sensitive(wid)) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "ti68k_int.h" + #include "struct.h" + #include "dbg_all.h" +--- a/src/gui/debugger/dbg_code.c ++++ b/src/gui/debugger/dbg_code.c +@@ -28,11 +28,16 @@ + # include <config.h> + #endif + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_SENSITIVE ++#define GTK_WIDGET_SENSITIVE(wid) (gtk_widget_get_sensitive(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_heap.c ++++ b/src/gui/debugger/dbg_heap.c +@@ -31,6 +31,11 @@ + #include <gtk/gtk.h> + #include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_dock.c ++++ b/src/gui/debugger/dbg_dock.c +@@ -37,11 +37,16 @@ + # include <config.h>
+ #endif
+
++#include <string.h>
+ #include <gtk/gtk.h>
+ #include <glade/glade.h>
+ #include <gdk/gdkkeysyms.h>
+-#include <string.h>
+
++#if GTK_CHECK_VERSION(2,18,0)
++#undef GTK_WIDGET_VISIBLE
++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid))
++#endif
++
+ #include "intl.h"
+ #include "paths.h"
+ #include "support.h"
+--- a/src/gui/calc/calc.c ++++ b/src/gui/calc/calc.c +@@ -39,6 +39,11 @@ + #include <glade/glade.h> + #include <gdk-pixbuf/gdk-pixbuf.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_STATE ++#define GTK_WIDGET_STATE(wid) (gtk_widget_get_state(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "skinops.h" +--- a/src/gui/calc/screen.c ++++ b/src/gui/calc/screen.c +@@ -29,11 +29,16 @@ + # include <config.h> + #endif /* */ + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk-pixbuf/gdk-pixbuf.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_STATE ++#define GTK_WIDGET_STATE(wid) (gtk_widget_get_state(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "skinops.h" diff --git a/sci-calculators/tiemu/metadata.xml b/sci-calculators/tiemu/metadata.xml new file mode 100644 index 000000000000..9226ce4b3297 --- /dev/null +++ b/sci-calculators/tiemu/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +<longdescription lang="en"> + This project aims to develop a fast emulator for the + TI89(titanium), 92(+), and V200PLT calculators. This emulator + started on the Jonas Minnberg's (X)Tiger emulator which is + based on UAE (the Universal Amiga Emulator). It was deeply + reworked and improved thus it's very different now. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild new file mode 100644 index 000000000000..4b7d7fcc4595 --- /dev/null +++ b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Texas Instruments hand-helds emulator" +HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/" +SRC_URI="http://repo.calcforge.org/debian/source/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="dbus nls sdl threads xinerama" + +RDEPEND="sci-libs/libticables2 + sci-libs/libticalcs2 + sci-libs/libtifiles2 + sci-libs/libticonv + gnome-base/libglade:2.0 + x11-libs/gtk+:2 + dbus? ( >=dev-libs/dbus-glib-0.60 ) + nls? ( virtual/libintl ) + sdl? ( media-libs/libsdl ) + xinerama? ( x11-libs/libXinerama )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-proto/xineramaproto )" + +PATCHES=( + "${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch + "${FILESDIR}"/${P}-r2820.patch +) + +src_prepare() { + default + # Don't use GTK_DISABLE_DEPRECATED flags + sed 's:-DGTK_DISABLE_DEPRECATED::g' -i configure.ac configure || die +} + +src_configure() { + econf \ + --disable-rpath \ + --disable-debugger \ + --disable-gdb \ + $(use_enable nls) \ + $(use_enable sdl sound) \ + $(use_enable threads) \ + $(use_enable threads threading) \ + $(use_with dbus) \ + --without-kde \ + $(use_with xinerama) +} + +src_install() { + default + rm -f "${ED%/}"/usr/share/tiemu/{Manpage.txt,COPYING,RELEASE,AUTHORS,LICENSES} || die + make_desktop_entry tiemu "TiEmu Calculator" \ + "${EPREFIX}"/usr/share/tiemu/pixmaps/icon.xpm +} |