summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-10-21 11:11:00 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-21 20:49:47 +0200
commitac219a84d9ae2c0062b42e70c0b033e84f857129 (patch)
treed4e8703f4d6f0d341bde4020f187c39ead105395 /sci-calculators/tiemu
parentsci-calculators/transcalc: Removing transcalc-0.14-r1 (EAPI 4) (diff)
downloadgentoo-ac219a84d9ae2c0062b42e70c0b033e84f857129.tar.gz
gentoo-ac219a84d9ae2c0062b42e70c0b033e84f857129.tar.bz2
gentoo-ac219a84d9ae2c0062b42e70c0b033e84f857129.zip
sci-calculators/tiemu: EAPI bump 4 -> 6
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2618 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-calculators/tiemu')
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-r2820.patch4
-rw-r--r--sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch52
-rw-r--r--sci-calculators/tiemu/tiemu-3.03-r1.ebuild63
3 files changed, 91 insertions, 28 deletions
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch
index cf563e8d4c6..1d4ac6ef28a 100644
--- a/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch
+++ b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch
@@ -3,8 +3,8 @@ 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
---- src/gui/device.c
-+++ src/gui/device.c
+--- 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;
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
index 10a0e1a1134..aad56a70ca3 100644
--- 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
@@ -1,5 +1,5 @@
---- src/gui/debugger/dbg_bkpts.c
-+++ src/gui/debugger/dbg_bkpts.c
+--- a/src/gui/debugger/dbg_bkpts.c
++++ b/src/gui/debugger/dbg_bkpts.c
@@ -29,10 +29,15 @@
# include <config.h>
#endif
@@ -17,8 +17,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_regs.c
-+++ src/gui/debugger/dbg_regs.c
+--- a/src/gui/debugger/dbg_regs.c
++++ b/src/gui/debugger/dbg_regs.c
@@ -28,14 +28,19 @@
# include <config.h>
#endif
@@ -41,8 +41,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_pclog.c
-+++ src/gui/debugger/dbg_pclog.c
+--- 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>
@@ -55,8 +55,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_wnds.c
-+++ src/gui/debugger/dbg_wnds.c
+--- a/src/gui/debugger/dbg_wnds.c
++++ b/src/gui/debugger/dbg_wnds.c
@@ -38,6 +38,11 @@
#include <windows.h>
#endif
@@ -69,8 +69,8 @@
#include "intl.h"
#include "ti68k_int.h"
#include "struct.h"
---- src/gui/debugger/dbg_mem.c
-+++ src/gui/debugger/dbg_mem.c
+--- 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>
@@ -83,8 +83,8 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
---- src/gui/debugger/dbg_iop.c
-+++ src/gui/debugger/dbg_iop.c
+--- a/src/gui/debugger/dbg_iop.c
++++ b/src/gui/debugger/dbg_iop.c
@@ -28,13 +28,18 @@
# include <config.h>
#endif
@@ -106,8 +106,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_stack.c
-+++ src/gui/debugger/dbg_stack.c
+--- a/src/gui/debugger/dbg_stack.c
++++ b/src/gui/debugger/dbg_stack.c
@@ -28,11 +28,16 @@
# include <config.h>
#endif
@@ -126,8 +126,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_all.c
-+++ src/gui/debugger/dbg_all.c
+--- a/src/gui/debugger/dbg_all.c
++++ b/src/gui/debugger/dbg_all.c
@@ -38,6 +38,13 @@
#include <windows.h>
#endif
@@ -142,8 +142,8 @@
#include "ti68k_int.h"
#include "struct.h"
#include "dbg_all.h"
---- src/gui/debugger/dbg_code.c
-+++ src/gui/debugger/dbg_code.c
+--- a/src/gui/debugger/dbg_code.c
++++ b/src/gui/debugger/dbg_code.c
@@ -28,11 +28,16 @@
# include <config.h>
#endif
@@ -162,8 +162,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_heap.c
-+++ src/gui/debugger/dbg_heap.c
+--- 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>
@@ -176,8 +176,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/debugger/dbg_dock.c
-+++ src/gui/debugger/dbg_dock.c
+--- a/src/gui/debugger/dbg_dock.c
++++ b/src/gui/debugger/dbg_dock.c
@@ -37,11 +37,16 @@
# include <config.h>
#endif
@@ -196,8 +196,8 @@
#include "intl.h"
#include "paths.h"
#include "support.h"
---- src/gui/calc/calc.c
-+++ src/gui/calc/calc.c
+--- 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>
@@ -210,8 +210,8 @@
#include "intl.h"
#include "paths.h"
#include "skinops.h"
---- src/gui/calc/screen.c
-+++ src/gui/calc/screen.c
+--- a/src/gui/calc/screen.c
++++ b/src/gui/calc/screen.c
@@ -29,11 +29,16 @@
# include <config.h>
#endif /* */
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 00000000000..626f4ad117a
--- /dev/null
+++ b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}