* [gentoo-commits] repo/gentoo:master commit in: sci-calculators/tiemu/, sci-calculators/tiemu/files/
@ 2016-10-21 18:50 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2016-10-21 18:50 UTC (permalink / raw
To: gentoo-commits
commit: ac219a84d9ae2c0062b42e70c0b033e84f857129
Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Fri Oct 21 09:11:00 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 18:49:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac219a84
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 <AT> gentoo.org>
sci-calculators/tiemu/files/tiemu-3.03-r2820.patch | 4 +-
.../tiemu-3.03-remove_depreciated_gtk_calls.patch | 52 +++++++++---------
sci-calculators/tiemu/tiemu-3.03-r1.ebuild | 63 ++++++++++++++++++++++
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 cf563e8..1d4ac6e 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 10a0e1a..aad56a7 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 00000000..626f4ad
--- /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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-calculators/tiemu/, sci-calculators/tiemu/files/
@ 2020-01-26 21:39 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-01-26 21:39 UTC (permalink / raw
To: gentoo-commits
commit: 3a59fc591d931e381a4a80df9586f8f46a757d5d
Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be>
AuthorDate: Sun Jan 26 21:39:24 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 21:39:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a59fc59
sci-calculators/tiemu: fix missing include
* Patch by Debian
Bug: https://bugs.gentoo.org/664698
Closes: https://github.com/gentoo/gentoo/pull/14355
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
...emu-3.03-fix-ftbfs-with-customized-abort-function.patch | 14 ++++++++++++++
sci-calculators/tiemu/tiemu-3.03-r1.ebuild | 1 +
2 files changed, 15 insertions(+)
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch b/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch
new file mode 100644
index 00000000000..effcbc12aea
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch
@@ -0,0 +1,14 @@
+Description: Fix FTBFS error: '"abort" passed 1 arguments, but takes just 0'
+Author: Andreas B. Mundt <andi@debian.org> with help from #debian-science (jokva).
+Last-Update: 2018-05-19
+
+--- a/src/core/uae/sysdeps.h
++++ b/src/core/uae/sysdeps.h
+@@ -33,6 +33,7 @@
+ #define _GNU_SOURCE
+ #endif
+ #include <limits.h>
++#include <stdlib.h>
+
+ // Make sure that the character types take exactly 1 byte.
+ #if UCHAR_MAX != 0xFF
diff --git a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild
index 7be3aee95f0..b21f37d0270 100644
--- a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild
+++ b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild
@@ -32,6 +32,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch
"${FILESDIR}"/${P}-r2820.patch
+ "${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-calculators/tiemu/, sci-calculators/tiemu/files/
@ 2024-09-19 1:39 Matt Jolly
0 siblings, 0 replies; 3+ messages in thread
From: Matt Jolly @ 2024-09-19 1:39 UTC (permalink / raw
To: gentoo-commits
commit: cbb8c04158f1c321aeba993a9989a283d85e8380
Author: Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 01:06:48 2024 +0000
Commit: Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 01:38:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb8c041
sci-calculators/tiemu: add patch for implicit-int
Closes: https://bugs.gentoo.org/919466
Co-authored-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>
.../tiemu/files/tiemu-3.03-implicit-int.patch | 16 ++++++++++++++++
sci-calculators/tiemu/tiemu-3.03-r2.ebuild | 1 +
2 files changed, 17 insertions(+)
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch b/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch
new file mode 100644
index 000000000000..c3f91a61be1d
--- /dev/null
+++ b/sci-calculators/tiemu/files/tiemu-3.03-implicit-int.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/915615
+
+Patch contributed by Matt Whitlock <gentoo@mattwhitlock.name>
+
+--- a/src/core/uae/gencpu.c
++++ b/src/core/uae/gencpu.c
+@@ -304,7 +304,7 @@
+ insn_n_cycles += 4;
+ }
+
+-static void fill_prefetch_next_1 (needcycles)
++static void fill_prefetch_next_1 (int needcycles)
+ {
+ if (needcycles && using_ce) {
+ printf ("\tint lostcycles;\n");
+
diff --git a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
index 817fd4efec30..6c97f027df6c 100644
--- a/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
+++ b/sci-calculators/tiemu/tiemu-3.03-r2.ebuild
@@ -36,6 +36,7 @@ PATCHES=(
"${FILESDIR}"/${P}-r2820.patch
"${FILESDIR}"/${P}-fix-ftbfs-with-customized-abort-function.patch
"${FILESDIR}"/${P}-clang16-build-fix.patch
+ "${FILESDIR}"/${P}-implicit-int.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-19 1:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-19 1:39 [gentoo-commits] repo/gentoo:master commit in: sci-calculators/tiemu/, sci-calculators/tiemu/files/ Matt Jolly
-- strict thread matches above, loose matches on Subject: below --
2020-01-26 21:39 David Seifert
2016-10-21 18:50 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox