debian/0000755000000000000000000000000012210052000007144 5ustar debian/compat0000644000000000000000000000000212207162025010361 0ustar 9 debian/copyright0000644000000000000000000001154612207162025011125 0ustar This package was debianized by Julien BLACHE on Mon, 14 Feb 2000 14:55:57 +0100. It was downloaded from Upstream Authors: Romain Liévin Julien Blache Kevin Kofler Christian Walther Jaime Fernando Meza Meza Copyright: Copyright © 1991 the Massachusetts Institute of Technology Copyright © 1995-1996 Ed Hanway Copyright © 1995-1997, 2000-2006 Ulrich Drepper Copyright © 1995-2001 Bernd Schmidt Copyright © 1995-2008 Bernd Schmidt, and others Copyright © 1996 Herman ten Brugge Copyright © 1996-1998 David Ellsworth Copyright © 1999 Paul Kuliniewicz Copyright © 1999-2007 the TiEmu Team Copyright © 1999-2009 Romain Liévin Copyright © 2000-2001 Thomas Corvazier Copyright © 2002-2004 Sebastian Reichelt Copyright © 2003-2005 Jaroslaw Staniek Copyright © 2003-2005 Julien Blache Copyright © 2003-2007 Kevin Kofler Copyright © 2004 Scott James Remnant Copyright © 2005 Christian Ehrlicher Copyright © 2005 Christian Walther Copyright © 2006 Asger Ottar Alstrup Copyright © 2006 Ralf Habacker Copyright © 2006-2007 Tyler Cassidy Copyright © 2007 Peter Fernandes Copyright © Edwin van Rijkom Copyright © Nicolas Cannasse License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA TiEmu uses software from various parts: - XTiger: Original author of (X)tiger: Jonas Minnberg Homepage for Tiger: http://www.nada.kth.se/~md94-jmi/tiger/ License: GPL - UAE: UAE Amiga Emulator Copyright © 1995-2008 Bernd Schmidt, and others. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - PedroM: PedroM - Copyright © 2003, 2004, 2005 Patrick Pelissier PreOS - Copyright © 2002, 2003, 2004, 2005 Patrick Pelissier Side - Copyright © 2002, 2005 Clement Vasseur MD5 - Copyright © 1999, 2000, 2002 Aladdin Enterprises ExtGraph - Copyright © 2001-2002 Thomas Nussbaumer TIB Install - Copyright © 2000-2004 Julien Muchembled This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The precompiled TIB is PedRom re-built by Kevin in order to remove non-free parts: This is a version of PedroM 0.81 modified for compatibility with ld-tigcc. I also deleted the non-Free files (the builtin ttunpack, the builtin stdlib archive pack and wti.h (not used by PedroM anymore anyway) have been removed), as well as several other junk not needed to build PedroM and built PedroM using the fully GPL option. See pedrom-081-ld-tigcc.diff for my changes. Fully-GPL version by Kevin Kofler: On Debian systems, a verbatim uncompressed copy of the GPL-2 is available as /usr/share/common-licenses/GPL-2. debian/get-orig-source.sh0000755000000000000000000000156212207162025012541 0ustar #!/bin/sh # # C.f. http://anonscm.debian.org/viewvc/debichem/unstable/openbabel/debian/get-orig-source.sh # set -ex UPSTREAM_VERSION=$2 ORIG_TARBALL=$3 REAL_TARBALL=`readlink -f ${ORIG_TARBALL}` WORKING_DIR=`dirname ${ORIG_TARBALL}` ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1+dfsg\2/g"` ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.gz//g"` ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}` mkdir -p ${ORIG_TARBALL_DIR} tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xzf ${REAL_TARBALL} || exit 1 rm -f ${ORIG_TARBALL} ${REAL_TARBALL} # delete binaries: find ${ORIG_TARBALL_DIR} -name "*.sys" -o -name "*.exe" -o -name "*.o" -o -name "*.dll" | xargs rm tar --remove-files --directory ${WORKING_DIR} -czf ${ORIG_TARBALL_DFSG} ${ORIG_TARBALL_DIR_STRIP} || exit 1 exit 0 debian/source/0000755000000000000000000000000012207162025010463 5ustar debian/source/format0000644000000000000000000000001412207162025011671 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020212207162025010206 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://sf.net/gtktiemu/tiemu-(.+)\.tar\.gz \ debian /bin/sh debian/get-orig-source.sh debian/control0000644000000000000000000000371612207162025010575 0ustar Source: tiemu Section: math Priority: optional Maintainer: Debian Science Maintainers Uploaders: Andreas B. Mundt Build-Depends: autotools-dev, debhelper (>= 9.0.0), gettext, groff-base, libdbus-glib-1-dev, libglade2-dev, libgtk2.0-dev, libsdl1.2-dev (>= 1.2.0), libticables-dev (>= 1.3.4), libticalcs-dev (>= 1.1.8), libticonv-dev (>= 1.1.4), libtifiles-dev (>= 1.1.6), texinfo, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://lpg.ticalc.org/prj_tiemu/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/tiemu.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/tiemu.git Package: tiemu Architecture: any Depends: iceweasel | www-browser, ${misc:Depends}, ${shlibs:Depends} Replaces: gtktiemu Conflicts: gtktiemu, tiemu-gdb Suggests: tiemu-skinedit Description: Texas Instruments calculators emulator (without GDB) TiEmu emulates Texas Instruments calculators TI-89/92/92+/V200PLT. . It is based on XTiger, the original TI emulator for Linux, which uses the 68k emulation core from UAE (The Ultimate Amiga Emulator). . You need to either dump the ROM of your calculator (you can do so with TiLP), or get a FLASH upgrade from Texas Instrument (see the software section concerning your calculator, then download the archive and extract the file) to use this emulator. There are *no* TI ROMs provided in this package, as they are copyrighted by Texas Instruments, Inc. . However, a free (as in speech) ROM is now provided with TiEmu, namely PedRom. Try it out! . This version includes a VTI-style assembly debugger. . Please note it exists another version (tiemu-gdb) not provided on Debian itself which includes a GDB-style assembly debugger for use with TIGCC and/or KTIGCC. debian/patches/0000755000000000000000000000000012207162025010612 5ustar debian/patches/replace_GtkFunction.patch0000644000000000000000000000137512207162025015567 0ustar Description: Fix FTBFS: Replace 'GtkFunction'. Cf. README Author: Andreas Moog Reviewed-by: gregor herrmann Reviewed-by: Andreas B. Mundt Last-Update: 2013-08-15 --- a/src/gui/calc/calc.c +++ b/src/gui/calc/calc.c @@ -586,7 +586,7 @@ // Install LCD refresh: 100 FPS (10 ms) tid = g_timeout_add((params.lcd_rate == -1) ? 50 : params.lcd_rate, - (GtkFunction)hid_refresh, NULL); + (GSourceFunc)hid_refresh, NULL); explicit_destroy = 0; gtk_widget_show(main_wnd); // show wnd here @@ -640,7 +640,7 @@ g_source_remove(tid); tid = g_timeout_add((params.lcd_rate == -1) ? 50 : params.lcd_rate, - (GtkFunction)hid_refresh, NULL); + (GSourceFunc)hid_refresh, NULL); } int hid_switch_with_skin(void) debian/patches/disable-GTK_DISABLE_DEPRECATED.patch0000644000000000000000000000173112207162025016466 0ustar Description: Fix FTBFS: Undefine GTK_DISABLE_DEPRECATED before including gtk/gtk.h. Cf. README Author: Ubuntu Reviewed-by: Ralf Treinen Reviewed-by: Andreas B. Mundt Last-Update: 2013-08-15 --- a/src/gui/calc/popup.c +++ b/src/gui/calc/popup.c @@ -26,7 +26,9 @@ # include #endif +#undef GTK_DISABLE_DEPRECATED #include +#define GTK_DISABLE_DEPRECATED #include #include #include --- a/src/gui/debugger/dbg_romcall.c +++ b/src/gui/debugger/dbg_romcall.c @@ -29,7 +29,9 @@ # include #endif +#undef GTK_DISABLE_DEPRECATED #include +#define GTK_DISABLE_DEPRECATED #include #include --- a/src/gui/filesel.c +++ b/src/gui/filesel.c @@ -41,7 +41,9 @@ #include #include +#undef GTK_DISABLE_DEPRECATED #include +#define GTK_DISABLE_DEPRECATED #include #ifdef __WIN32__ debian/patches/replace_GtkNotebookPage.patch0000644000000000000000000000120712207162025016351 0ustar Description: Fix FTBFS: Replace 'GtkNotebookPage'. Cf. README Author: Reviewed-by: gregor herrmann Reviewed-by: Andreas B. Mundt Last-Update: 2013-08-15 --- a/src/gui/debugger/dbg_mem.c +++ b/src/gui/debugger/dbg_mem.c @@ -605,7 +605,7 @@ GLADE_CB void on_notebook1_switch_page (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer *page, guint page_num, gpointer user_data) { debian/patches/README0000644000000000000000000000161112207162025011471 0ustar ## These commands create all patches: sed -i "s/(GtkFunction)/(GSourceFunc)/" src/gui/calc/calc.c ################ sed -i 's/GtkNotebookPage/gpointer/' src/gui/debugger/dbg_mem.c ################ sed -i -e "/\#include /i \ \#undef GTK_DISABLE_DEPRECATED" src/gui/calc/popup.c src/gui/debugger/dbg_romcall.c src/gui/filesel.c sed -i -e "/\#include /a \ \#define GTK_DISABLE_DEPRECATED" src/gui/calc/popup.c src/gui/debugger/dbg_romcall.c src/gui/filesel.c ################ sed -i 's/\([^)][,| ]\) message)/\1 "%s", message)/' src/gui/calc/popup.c src/gui/dboxes.c ############### sed -i -s "s/GTK_WIDGET_STATE/gtk_widget_get_state/" src/gui/calc/calc.c src/gui/calc/screen.c sed -i -s "s/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/" src/gui/debugger/dbg_*.c sed -i -s "s/GTK_WIDGET_SENSITIVE/gtk_widget_get_sensitive/" src/gui/debugger/dbg_all.c src/gui/debugger/dbg_code.c debian/patches/replace-GTK_WIDGET.patch0000644000000000000000000003561012207162025014741 0ustar Description: Fix FTBFS: Replace 'GTK_WIDGET_STATE'. Cf. README Author: Scott Howard Reviewed-by: Luca Falavigna Reviewed-by: gregor herrmann Reviewed-by: Andreas B. Mundt Last-Update: 2013-08-15 --- a/src/gui/calc/calc.c +++ b/src/gui/calc/calc.c @@ -313,7 +313,7 @@ { gdk_draw_pixmap( widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], pixmap, event->area.x, event->area.y, event->area.x, event->area.y, --- a/src/gui/calc/screen.c +++ b/src/gui/calc/screen.c @@ -187,7 +187,7 @@ skin_infos.image = gdk_pixbuf_scale_simple(skin_infos.raw, wr.wr.w, wr.wr.h, GDK_INTERP_NEAREST); // and draw image into pixmap (next, into window on expose event) - gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)], + gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)], skin_infos.image, 0, 0, 0, 0, -1, -1, GDK_RGB_DITHER_NONE, 0, 0); gdk_window_invalidate_rect(main_wnd->window, &wr.gr, FALSE); } @@ -204,7 +204,7 @@ gdk_pixbuf_scale_simple(skin_infos.raw, sr.w, sr.h, GDK_INTERP_NEAREST); // and draw - gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)], + gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)], skin_infos.image, ls.x, ls.y, lr.x, lr.y, lr.w, lr.h, GDK_RGB_DITHER_NONE, 0, 0); gtk_widget_queue_draw_area(area, lr.x, lr.y, lr.w, lr.h); } @@ -324,7 +324,7 @@ skin_infos.image = gdk_pixbuf_scale_simple(lcd, lr.w, lr.h, GDK_INTERP_NEAREST); // and draw image into pixmap (next, into window on expose event) - gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)], + gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)], skin_infos.image, src.x, src.y, lr.x, lr.y, src.w, src.h, GDK_RGB_DITHER_NONE, 0, 0); gtk_widget_queue_draw_area(area, lr.x, lr.y, src.w, src.h); @@ -332,7 +332,7 @@ else { // and draw image into pixmap (next, into window on expose event) - gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[GTK_WIDGET_STATE(main_wnd)], + gdk_draw_pixbuf(pixmap, main_wnd->style->fg_gc[gtk_widget_get_state(main_wnd)], lcd_mem, src.x, src.y, lr.x, lr.y, src.w, src.h, GDK_RGB_DITHER_NONE, 0, 0); gtk_widget_queue_draw_area(area, lr.x, lr.y, src.w, src.h); --- a/src/gui/debugger/dbg_all.c +++ b/src/gui/debugger/dbg_all.c @@ -90,21 +90,21 @@ { WND_TMR_START(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.regs)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.regs)) dbgregs_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.mem)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.mem)) dbgmem_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.bkpts)) dbgbkpts_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.pclog)) dbgpclog_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.code)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.code)) dbgcode_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.stack)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.stack)) dbgstack_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.heap)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.heap)) dbgheap_refresh_window(); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.iop)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.iop)) dbgiop_refresh_window(); WND_TMR_STOP("Debugger Refresh Time"); @@ -163,7 +163,7 @@ gtk_debugger_refresh(); // enable the debugger if GDB disabled it - if (!options3.dbg_dock && !GTK_WIDGET_SENSITIVE(dbgw.regs)) + if (!options3.dbg_dock && !gtk_widget_get_sensitive(dbgw.regs)) gtk_debugger_enable(); // handle automatic debugging requests @@ -180,7 +180,7 @@ ti68k_bkpt_get_pgmentry_offset(id, &handle, &offset); ti68k_bkpt_del_pgmentry(handle); - if(options3.dbg_dock || GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(options3.dbg_dock || gtk_widget_get_visible(dbgw.bkpts)) dbgbkpts_refresh_window(); delete_command(NULL, 0); --- a/src/gui/debugger/dbg_bkpts.c +++ b/src/gui/debugger/dbg_bkpts.c @@ -388,7 +388,7 @@ gtk_window_iconify(GTK_WINDOW(wnd)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.bkpts) && !options3.bkpts.closed) + if(!gtk_widget_get_visible(dbgw.bkpts) && !options3.bkpts.closed) gtk_widget_show(wnd); return wnd; --- a/src/gui/debugger/dbg_code.c +++ b/src/gui/debugger/dbg_code.c @@ -1117,7 +1117,7 @@ int dbgcode_quit_enabled(void) { - return GTK_WIDGET_SENSITIVE(mi.m8); + return gtk_widget_get_sensitive(mi.m8); } static int close_debugger_wrapper(gpointer data) --- a/src/gui/debugger/dbg_dock.c +++ b/src/gui/debugger/dbg_dock.c @@ -151,22 +151,22 @@ void dbgdock_show_all(int all) { - if(!GTK_WIDGET_VISIBLE(dbgw.dock) && all) + if(!gtk_widget_get_visible(dbgw.dock) && all) gtk_widget_show(dbgw.dock); - if(GTK_WIDGET_VISIBLE(dbgw.iop)) + if(gtk_widget_get_visible(dbgw.iop)) gtk_window_iconify(GTK_WINDOW(dbgw.iop)); - if(GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(gtk_widget_get_visible(dbgw.pclog)) gtk_window_iconify(GTK_WINDOW(dbgw.pclog)); } void dbgdock_hide_all(int all) { - if(GTK_WIDGET_VISIBLE(dbgw.dock) && all) + if(gtk_widget_get_visible(dbgw.dock) && all) gtk_widget_hide(dbgw.dock); - if(GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(gtk_widget_get_visible(dbgw.pclog)) gtk_widget_hide(dbgw.pclog); - if(GTK_WIDGET_VISIBLE(dbgw.iop)) + if(gtk_widget_get_visible(dbgw.iop)) gtk_widget_hide(dbgw.iop); } --- a/src/gui/debugger/dbg_heap.c +++ b/src/gui/debugger/dbg_heap.c @@ -171,7 +171,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.heap)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.heap) && !options3.heap.closed) + if(!gtk_widget_get_visible(dbgw.heap) && !options3.heap.closed) gtk_widget_show(dbgw.heap); return dbgw.heap; --- a/src/gui/debugger/dbg_iop.c +++ b/src/gui/debugger/dbg_iop.c @@ -455,7 +455,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.iop)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.iop) && !options3.iop.closed) + if(!gtk_widget_get_visible(dbgw.iop) && !options3.iop.closed) gtk_widget_show(dbgw.iop); return dbgw.iop; --- a/src/gui/debugger/dbg_mem.c +++ b/src/gui/debugger/dbg_mem.c @@ -435,7 +435,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.mem)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.mem) && !options3.mem.closed) + if(!gtk_widget_get_visible(dbgw.mem) && !options3.mem.closed) gtk_widget_show(dbgw.mem); return dbgw.mem; --- a/src/gui/debugger/dbg_pclog.c +++ b/src/gui/debugger/dbg_pclog.c @@ -163,7 +163,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.pclog)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.pclog) && !options3.pclog.closed) + if(!gtk_widget_get_visible(dbgw.pclog) && !options3.pclog.closed) gtk_widget_show(dbgw.pclog); return dbgw.pclog; --- a/src/gui/debugger/dbg_regs.c +++ b/src/gui/debugger/dbg_regs.c @@ -302,7 +302,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.regs)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.regs) && !options3.regs.closed) + if(!gtk_widget_get_visible(dbgw.regs) && !options3.regs.closed) gtk_widget_show(dbgw.regs); return dbgw.regs; --- a/src/gui/debugger/dbg_stack.c +++ b/src/gui/debugger/dbg_stack.c @@ -197,7 +197,7 @@ gtk_window_iconify(GTK_WINDOW(dbgw.stack)); #endif - if(!GTK_WIDGET_VISIBLE(dbgw.stack) && !options3.stack.closed) + if(!gtk_widget_get_visible(dbgw.stack) && !options3.stack.closed) gtk_widget_show(dbgw.stack); return dbgw.stack; --- a/src/gui/debugger/dbg_wnds.c +++ b/src/gui/debugger/dbg_wnds.c @@ -74,21 +74,21 @@ if(options3.dbg_dock) return; - if(GTK_WIDGET_VISIBLE(dbgw.regs)) + if(gtk_widget_get_visible(dbgw.regs)) gtk_window_iconify(GTK_WINDOW(dbgw.regs)); - if(GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(gtk_widget_get_visible(dbgw.bkpts)) gtk_window_iconify(GTK_WINDOW(dbgw.bkpts)); - if(GTK_WIDGET_VISIBLE(dbgw.mem)) + if(gtk_widget_get_visible(dbgw.mem)) gtk_window_iconify(GTK_WINDOW(dbgw.mem)); - if(GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(gtk_widget_get_visible(dbgw.pclog)) gtk_window_iconify(GTK_WINDOW(dbgw.pclog)); - if(GTK_WIDGET_VISIBLE(dbgw.code) & all) + if(gtk_widget_get_visible(dbgw.code) & all) gtk_window_iconify(GTK_WINDOW(dbgw.code)); - if(GTK_WIDGET_VISIBLE(dbgw.stack)) + if(gtk_widget_get_visible(dbgw.stack)) gtk_window_iconify(GTK_WINDOW(dbgw.stack)); - if(GTK_WIDGET_VISIBLE(dbgw.heap)) + if(gtk_widget_get_visible(dbgw.heap)) gtk_window_iconify(GTK_WINDOW(dbgw.heap)); - if(GTK_WIDGET_VISIBLE(dbgw.iop)) + if(gtk_widget_get_visible(dbgw.iop)) gtk_window_iconify(GTK_WINDOW(dbgw.iop)); } @@ -98,21 +98,21 @@ if(options3.dbg_dock) return; - if(GTK_WIDGET_VISIBLE(dbgw.regs)) + if(gtk_widget_get_visible(dbgw.regs)) gtk_window_deiconify(GTK_WINDOW(dbgw.regs)); - if(GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(gtk_widget_get_visible(dbgw.bkpts)) gtk_window_deiconify(GTK_WINDOW(dbgw.bkpts)); - if(GTK_WIDGET_VISIBLE(dbgw.mem)) + if(gtk_widget_get_visible(dbgw.mem)) gtk_window_deiconify(GTK_WINDOW(dbgw.mem)); - if(GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(gtk_widget_get_visible(dbgw.pclog)) gtk_window_deiconify(GTK_WINDOW(dbgw.pclog)); - if(GTK_WIDGET_VISIBLE(dbgw.code) & all) + if(gtk_widget_get_visible(dbgw.code) & all) gtk_window_deiconify(GTK_WINDOW(dbgw.code)); - if(GTK_WIDGET_VISIBLE(dbgw.stack)) + if(gtk_widget_get_visible(dbgw.stack)) gtk_window_deiconify(GTK_WINDOW(dbgw.stack)); - if(GTK_WIDGET_VISIBLE(dbgw.heap)) + if(gtk_widget_get_visible(dbgw.heap)) gtk_window_deiconify(GTK_WINDOW(dbgw.heap)); - if(GTK_WIDGET_VISIBLE(dbgw.iop)) + if(gtk_widget_get_visible(dbgw.iop)) gtk_window_deiconify(GTK_WINDOW(dbgw.iop)); } @@ -122,21 +122,21 @@ if(options3.dbg_dock) return; - if(!GTK_WIDGET_VISIBLE(dbgw.regs)) + if(!gtk_widget_get_visible(dbgw.regs)) gtk_widget_show(dbgw.regs); - if(!GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(!gtk_widget_get_visible(dbgw.bkpts)) gtk_widget_show(dbgw.bkpts); - if(!GTK_WIDGET_VISIBLE(dbgw.mem)) + if(!gtk_widget_get_visible(dbgw.mem)) gtk_widget_show(dbgw.mem); - if(!GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(!gtk_widget_get_visible(dbgw.pclog)) gtk_widget_show(dbgw.pclog); - if(!GTK_WIDGET_VISIBLE(dbgw.code) && all) + if(!gtk_widget_get_visible(dbgw.code) && all) gtk_widget_show(dbgw.code); - if(!GTK_WIDGET_VISIBLE(dbgw.stack)) + if(!gtk_widget_get_visible(dbgw.stack)) gtk_widget_show(dbgw.stack); - if(!GTK_WIDGET_VISIBLE(dbgw.heap)) + if(!gtk_widget_get_visible(dbgw.heap)) gtk_widget_show(dbgw.heap); - if(!GTK_WIDGET_VISIBLE(dbgw.iop)) + if(!gtk_widget_get_visible(dbgw.iop)) gtk_widget_show(dbgw.iop); } @@ -146,21 +146,21 @@ if(options3.dbg_dock) return; - if(GTK_WIDGET_VISIBLE(dbgw.regs)) + if(gtk_widget_get_visible(dbgw.regs)) gtk_widget_hide(dbgw.regs); - if(GTK_WIDGET_VISIBLE(dbgw.bkpts)) + if(gtk_widget_get_visible(dbgw.bkpts)) gtk_widget_hide(dbgw.bkpts); - if(GTK_WIDGET_VISIBLE(dbgw.mem)) + if(gtk_widget_get_visible(dbgw.mem)) gtk_widget_hide(dbgw.mem); - if(GTK_WIDGET_VISIBLE(dbgw.pclog)) + if(gtk_widget_get_visible(dbgw.pclog)) gtk_widget_hide(dbgw.pclog); - if(GTK_WIDGET_VISIBLE(dbgw.code) && all) + if(gtk_widget_get_visible(dbgw.code) && all) gtk_widget_hide(dbgw.code); - if(GTK_WIDGET_VISIBLE(dbgw.stack)) + if(gtk_widget_get_visible(dbgw.stack)) gtk_widget_hide(dbgw.stack); - if(GTK_WIDGET_VISIBLE(dbgw.heap)) + if(gtk_widget_get_visible(dbgw.heap)) gtk_widget_hide(dbgw.heap); - if(GTK_WIDGET_VISIBLE(dbgw.iop)) + if(gtk_widget_get_visible(dbgw.iop)) gtk_widget_hide(dbgw.iop); } @@ -338,7 +338,7 @@ if(!options3.dbg_dock) { g_signal_handlers_block_by_func(GTK_OBJECT(item), on_registers1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.regs)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.regs)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_registers1_activate, NULL); } else @@ -350,7 +350,7 @@ if(!options3.dbg_dock) { g_signal_handlers_block_by_func(GTK_OBJECT(item), on_breakpoints1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.bkpts)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.bkpts)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_breakpoints1_activate, NULL); } else @@ -362,7 +362,7 @@ if(!options3.dbg_dock) { g_signal_handlers_block_by_func(GTK_OBJECT(item), on_memory1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.mem)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.mem)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_memory1_activate, NULL); } else @@ -372,7 +372,7 @@ elt = g_list_nth(list, 3); item = GTK_CHECK_MENU_ITEM(elt->data); g_signal_handlers_block_by_func(GTK_OBJECT(item), on_pc_log1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.pclog)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.pclog)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_pc_log1_activate, NULL); // stack @@ -381,7 +381,7 @@ if(!options3.dbg_dock) { g_signal_handlers_block_by_func(GTK_OBJECT(item), on_stack_frame1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.stack)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.stack)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_stack_frame1_activate, NULL); } else @@ -393,7 +393,7 @@ if(!options3.dbg_dock) { g_signal_handlers_block_by_func(GTK_OBJECT(item), on_heap_frame1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.heap)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.heap)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_heap_frame1_activate, NULL); } else @@ -403,7 +403,7 @@ elt = g_list_nth(list, 6); item = GTK_CHECK_MENU_ITEM(elt->data); g_signal_handlers_block_by_func(GTK_OBJECT(item), on_ioports_frame1_activate, NULL); - gtk_check_menu_item_set_active(item, GTK_WIDGET_VISIBLE(dbgw.iop)); + gtk_check_menu_item_set_active(item, gtk_widget_get_visible(dbgw.iop)); g_signal_handlers_unblock_by_func(GTK_OBJECT(item), on_ioports_frame1_activate, NULL); // dock/multi mode debian/patches/format-security.patch0000644000000000000000000000472312207162025014776 0ustar Description: Fix FTBFS with format-security warning/error. Cf. README Author: Andreas B. Mundt Last-Update: 2013-08-15 --- a/src/gui/calc/popup.c +++ b/src/gui/calc/popup.c @@ -536,7 +536,7 @@ dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, - message); + "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); #else @@ -556,7 +556,7 @@ dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, - message); + "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } @@ -857,7 +857,7 @@ dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, - GTK_BUTTONS_CLOSE, message); + GTK_BUTTONS_CLOSE, "%s", message); g_signal_connect_swapped(GTK_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), GTK_OBJECT(dialog)); --- a/src/gui/dboxes.c +++ b/src/gui/dboxes.c @@ -64,7 +64,7 @@ { dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, msg_type, GTK_BUTTONS_CLOSE, - message); + "%s", message); gtk_dialog_run(GTK_DIALOG(dialog)); } else @@ -102,7 +102,7 @@ msg_type = str2msg(title); dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, msg_type, - GTK_BUTTONS_OK_CANCEL, message); + GTK_BUTTONS_OK_CANCEL, "%s", message); gtk_dialog_set_alternative_button_order(GTK_DIALOG(dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL,-1); gtk_dialog_set_default_response(GTK_DIALOG(dialog), @@ -133,7 +133,7 @@ msg_type = str2msg(title); dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, msg_type, - GTK_BUTTONS_NONE, message); + GTK_BUTTONS_NONE, "%s", message); gtk_dialog_add_button(GTK_DIALOG(dialog), button1, GTK_RESPONSE_YES); gtk_dialog_add_button(GTK_DIALOG(dialog), button2, GTK_RESPONSE_NO); gtk_dialog_add_button(GTK_DIALOG(dialog), button3, GTK_RESPONSE_CANCEL); @@ -171,7 +171,7 @@ msg_type = str2msg(title); dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, msg_type, - GTK_BUTTONS_NONE, message); + GTK_BUTTONS_NONE, "%s", message); gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_GO_FORWARD, GTK_RESPONSE_OK); gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); gtk_dialog_set_alternative_button_order(GTK_DIALOG(dialog), GTK_RESPONSE_OK, debian/patches/series0000644000000000000000000000021412207162025012024 0ustar replace_GtkFunction.patch replace_GtkNotebookPage.patch disable-GTK_DISABLE_DEPRECATED.patch format-security.patch replace-GTK_WIDGET.patch debian/tiemu.docs0000644000000000000000000000004612207162025011160 0ustar README README.linux RELEASE TODO BUGS debian/tiemu.menu0000644000000000000000000000016212207162025011173 0ustar ?package(tiemu):needs="X11" section="Applications/Science/Mathematics" \ title="TIemu" command="/usr/bin/tiemu" debian/rules0000755000000000000000000000047112207162025010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autotools-dev override_dh_auto_configure: dh_auto_configure -- --without-kde --disable-gdb --enable-dbus override_dh_auto_install: dh_auto_install rm debian/tiemu/usr/share/tiemu/COPYING debian/tiemu.README.Debian0000644000000000000000000000037312207162025012351 0ustar TiEmu3 for Debian : ------------------- Please read /usr/share/doc/libticables2-6/CONFIG.gz; this file contains important information about the setup of TiEmu and/or libticables2-6. -- Romain LIEVIN , Tue, 01 May 2007 18:02:46 +0200 debian/changelog0000644000000000000000000002047712207162025011047 0ustar tiemu (3.03-nogdb+dfsg-2) unstable; urgency=low * Fix debian/watch. Cleanup. -- Andreas B. Mundt Tue, 27 Aug 2013 19:37:33 +0200 tiemu (3.03-nogdb+dfsg-1) unstable; urgency=low * Team maintained in Debian-Science now (closes: #678861). Modifications in cooperation with Albert Huang , thanks! * New upstream release. * Switch packaging format to 3.0 (quilt), Standards-Version to 3.9.4 and debhelper to 9 (closes: #661033). Thanks to Jari Aalto . * Update patches, and: - Remove 02_tiemu3_dock_fixes.dpatch, fixed upstream. - Remove 03_memset_include_cstring.dpatch, fixed upstream. - Remove 05_remove_vlc_cable.dpatch, fixed upstream. -- Andreas B. Mundt Fri, 16 Aug 2013 10:41:18 +0200 tiemu (3.02-1.2) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: gui/calc/calc.c:589:4: error: 'GtkFunction' undeclared (first use in this function)": use updated patch 01_gtk_disable_deprecated.dpatch from Ubuntu / Andreas Moog (Closes: #621997, LP: #756074) * The package still FTBFS, so let's apply the remaining Ubuntu patches: - 05_remove_vlc_cable.dpatch (Scott Kitterman): Fix FTBFS with newer libs - Cherry pick from upstream svn - 06_drop_GtkNotebookPage.dpatch (Scott Kitterman): Replace deprecated function with gpointer to FTBFS. -- gregor herrmann Thu, 20 Oct 2011 19:13:28 +0200 tiemu (3.02-1.1) unstable; urgency=medium * Non-maintainer upload. * debian/patches/04_remove_deprecated_gtk_calls: - Replace deprecated GTK macro with related function, patch from Scott Howard (Closes: #577379, #574745). -- Luca Falavigna Sat, 08 May 2010 13:53:02 +0200 tiemu (3.02-1) unstable; urgency=low * New upstream release. * New maintainer. (Closes: #362159) * Changed dependency from iceape to iceweasel. * Conforms with latest Standards Version 3.8.3. -- Krzysztof Burghardt Sun, 27 Sep 2009 12:15:27 +0200 tiemu (2.00-4) unstable; urgency=low * QA upload * Use dpatch for patch management * src/gui/filesel.c, src/gui/calc/popup.c: undefine GTK_DISABLE_DEPRECATED before including gtk/gtk.h. Patch taken from Ubuntu. (Closes: #456848) * debian/rules target clean: do not ignore errors of "make clean" * menu entry: put in section Applications/Science/Mathematics instead of depreciated Apps/Math. -- Ralf Treinen Wed, 16 Jan 2008 21:35:36 +0100 tiemu (2.00-3) unstable; urgency=low * QA upload. * Replace dependency on transitional mozilla-browser package with iceape-browser. (Closes: #406802) * Conforms with latest Standards Version 3.7.2 -- Michael Ablassmeier Mon, 22 Jan 2007 10:32:07 +0100 tiemu (2.00-2) unstable; urgency=low * Orphaning this package. * debian/control: + Maintainer: set to QA. -- Julien BLACHE Wed, 12 Apr 2006 17:06:38 +0200 tiemu (2.00-1) unstable; urgency=low * New upstream release. + Updated Build-Depends. * debian/control: + Bumped Standards-Version to 3.6.2 (no changes). -- Julien BLACHE Sun, 28 Aug 2005 23:38:56 +0200 tiemu (1.99+svn1460-1) unstable; urgency=low * New snapshot. * debian/control: + Updated build-depends. -- Julien BLACHE Thu, 2 Jun 2005 16:50:15 +0200 tiemu (1.99+svn1148-2) unstable; urgency=low * src/misc/printl.c: + Usual va_list fixes. Boring. Depressing. * src/gui/filesel.c: + Silly typo fix. -- Julien BLACHE Tue, 3 May 2005 21:13:14 +0200 tiemu (1.99+svn1148-1) unstable; urgency=low * New upstream snapshot. -- Julien BLACHE Wed, 20 Apr 2005 11:33:10 +0200 tiemu (1.99+svn1050-1) unstable; urgency=low * TiEmu II beta release, works better than previous 1.65 (closes: #301991). * debian/control: + Moved from contrib to main as it now ships with a FREE ROM (PedRom, GPL), so it doesn't depend on the TI ROMs anymore. -- Julien BLACHE Thu, 7 Apr 2005 12:16:51 +0200 tiemu (1.65-6) unstable; urgency=low * Rebuilt against newest libti*, bumped B-D. -- Julien BLACHE Wed, 27 Oct 2004 14:15:44 +0200 tiemu (1.65-5) unstable; urgency=low * debian/control: + Build-depends on newer libti*-dev, as the ti*-config scripts got removed. + Removed the xlibs-dev build-dependency as it's pulled in by GTK+. + Bumped Standards-Version to 3.6.1. * debian/compat, debian/rules, debian/control: + Switched to DH_COMPAT=4 * Fixed configure to use pkg-config instead of the ti*-config scripts. -- Julien BLACHE Tue, 26 Oct 2004 14:01:56 +0200 tiemu (1.65-4) unstable; urgency=low * Added AM_MAINTAINER_MODE to configure.ac to prevent regeneration of the whole build system... * Changed -mpentium to -mcpu=pentium on x86. * Bumped Standards-Version to 3.5.9. -- Julien BLACHE Thu, 10 Apr 2003 21:14:37 +0200 tiemu (1.65-3) unstable; urgency=low * Rebuilt against newest libti*. -- Julien BLACHE Mon, 17 Mar 2003 22:07:20 +0100 tiemu (1.65-2) unstable; urgency=low * Fix build on non-i386 architectures, again. -- Julien BLACHE Sun, 20 Oct 2002 21:09:29 +0200 tiemu (1.65-1) unstable; urgency=low * New upstream release. * Fixes FTBFS with newer libti*. * Use the symlink method with autotools-dev. -- Julien BLACHE Sun, 20 Oct 2002 13:34:16 +0200 tiemu (1.64-2) unstable; urgency=low * Fixes for non-i386 arches, build & runtime (closes: Bug#156053). -- Julien BLACHE Sat, 10 Aug 2002 11:07:51 +0200 tiemu (1.64-1) unstable; urgency=low * Package renamed (gtktiemu -> tiemu). * New upstream release. * Uses new libti*. -- Julien BLACHE Sat, 3 Aug 2002 11:00:32 +0200 gtktiemu (1.53-6) unstable; urgency=high * Needs to be rebuilt on all architectures to get the dependencies right. -- Julien BLACHE Thu, 18 Apr 2002 12:33:12 +0200 gtktiemu (1.53-5) unstable; urgency=medium * Built against libusb-0.1-4. -- Julien BLACHE Wed, 13 Mar 2002 10:58:01 +0100 gtktiemu (1.53-4) unstable; urgency=low * Patched and rebuilt against libticables/libticalcs v3. rcfile.c (TTY1 => SP2_NAME) rcfile.h (remove DLLEXPORT) gtk_refresh.c (use new rate mechanism) error.c (remove DLLEXPORT) -- Julien BLACHE Sat, 16 Feb 2002 15:48:04 +0100 gtktiemu (1.53-3) unstable; urgency=medium * Fixed typo in description (closes: Bug#124711). * Fixed endianness problem in src/skn_loader.c * Thus, added AC_C_BIGENDIAN to configure.ac * Added AC_CHECK_TYPES(uint32_t) and AC_CHECK_HEADERS(stdint.h) to configure.ac * Fixed per-user configuration directory permissions in (was 0666, 0755 now) * Additionally, replaced "glob_inf" with "options" in sdlspecific.c to be sure that the background will be drawn if the config file says so (didn't work on my PPC). * Patch approved by upstream. -- Julien BLACHE Sat, 26 Jan 2002 15:53:52 +0100 gtktiemu (1.53-2) unstable; urgency=low * Added missing Build-Depends on libncurses5-dev (closes: Bug#121991). -- Julien BLACHE Sat, 1 Dec 2001 22:32:54 +0100 gtktiemu (1.53-1) unstable; urgency=low * New upstream release. -- Julien BLACHE Sat, 24 Nov 2001 16:37:03 +0100 gtktiemu (1.42-4) unstable; urgency=low * Linked against the new SDL. * Modified configure and src/Makefile.am accordingly. -- Julien BLACHE Fri, 19 Oct 2001 13:40:01 +0200 gtktiemu (1.42-3) unstable; urgency=low * Linked againts libticables2. -- Julien BLACHE Mon, 15 Oct 2001 19:04:38 +0200 gtktiemu (1.42-2) unstable; urgency=medium * Fixed description (closes: Bug#102936). -- Julien BLACHE Sun, 8 Jul 2001 11:33:35 +0200 gtktiemu (1.42-1) unstable; urgency=low * First public release. * First upload (closes: Bug#98880). -- Julien BLACHE Sun, 24 Jun 2001 16:21:33 +0200 gtktiemu (1.03-1) unstable; urgency=low * Initial Release. -- Julien BLACHE Thu, 19 Apr 2001 15:36:18 +0200