Ebuild for tiemu3, depends on the libs from this bug http://bugs.gentoo.org/show_bug.cgi?id=109220. tiemu3 is a rewrite of tiemu2 now using the new libs. http://bugs.gentoo.org/show_bug.cgi?id=94589
Created attachment 73176 [details] sci-calculators/tiemu3-20050915.ebuild
Created attachment 73246 [details] tiemu-3.00_beta20050915.ebuild I don't know at all why, but your ebuild fails. It compiles some stuff and finish with an error. And I can't find where the error was thrown.... weird... But the ebuild I have done (see attached) works fine. And I don't agree with you when you say : "i think its stupid to have a mixed qt-gtk GUI". In fact, I have already qt installed and I hate the gtk "open file" window :p
I tested your ebuild and it works fine for me. I didn't use eclasses because I didn't even know what eclasses do. I had a look in the docs and learned a little more about portage today.
sorry does not work here: make[3]: Leaving directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/uae' cd core/gdb && make make[3]: Entering directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb' /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected /bin/sh: line 0: [: /tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb/build-LDFLAGS=-Wl,-O1: binary operator expected Configuring in libiberty configure: error: unrecognized option: -Wl,--sort-common Try `./configure --help' for more information. make[3]: *** [configure-libiberty] Fehler 1 make[3]: Leaving directory `/tmp/PORTAGE/var/portage/tiemu-3.00_beta20050915/work/tiemu/src/core/gdb' make[2]: *** [gdb] Fehler 2
FYI: * I have uploaded a new snapshot (20060129). (The libti* libraries should get upgraded too, several bugfixes have been done in the libs, too.) * As explained on the gtktiemu-devel mailing list, the new snapshot builds against KDE by default (but only shows KDE file dialogs by default if actually running KDE; if you want them even under another desktop, you can force that in the config file). While it is possible to disable that (--without-kde), it is not recommended (at least not by default - allowing USE="-kde" is fine with me), because KDE support will be needed to be able to use the DCOP IPC interface, which will allow KTIGCC (the TIGCC IDE for KDE currently under development) to communicate with TiEmu. See this discussion thread: http://sourceforge.net/mailarchive/forum.php?thread_id=9461052&forum_id=44229 * I'm aware of the lack of flexibility of the KDE directory scan (Henning reported it), see: http://sourceforge.net/tracker/index.php?func=detail&aid=1361296&group_id=23169&atid=377683 Luckily, it is not hard to work around, and in fact the latest proposed ebuild already does that. * The problem Cyrill Helg is seeing appears to be a problem with GDB not liking the latest bash. The 20060129 snapshot now includes GDB 6.4, hopefully this fixes this bug. Otherwise, please report on the TiEmu bug tracker, it's (unless I'm missing something) not a Gentoo-specific issue. (It's going to hit me too as soon as I upgrade my system to FC5.) -- Kevin Kofler, TiEmu upstream co-developer
Created attachment 78854 [details] tiemu3-20060129.ebuild version bump
- when this application uses optionally kde, this should reflect in the dependencies - src_unpack() is superfluous - cd ${S} is superfluous - please use econf ${myconf} instead ./configure. If this doesn't wor for some weird reason, your base is ${ROOT}, not /
This latest ebuild doesn't work at all for me. I've tried using the 20060129 libraries, as well as the newer ones. All the libraries install fine, but tiemu3 doesn't. I'd be glad to provide more info if it'll help me get this working. config.status: creating cconfig.h config.status: executing default commands make[4]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src/core/gdb' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src/core/gdb' make[2]: *** [gdb] Error 2 make[2]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/tiemu3-20060129/work/tiemu' make: *** [all] Error 2
Huh? That's an interesting one. Don't we all love errors with no error message? Sigh... Maybe your version of bash is broken? -- Kevin Kofler, TiEmu upstream co-developer
> Huh? That's an interesting one. Don't we all love errors with no error message? > Sigh... > Maybe your version of bash is broken? > > -- Kevin Kofler, TiEmu upstream co-developer > I thought so too, but I modified the ebuild to use the bash patch on their sf.net page, but no luck.
Well, the patch definitely works with Fedora's bash 3.1 (that's what I tested it with, I'm the one who did the upstream release, and no, I haven't seen the light of Gentoo ;-) ). So either yours is even newer and requires even more compatibility patches, or it is buggy, or the problem is not a bash issue after all. -- Kevin Kofler, TiEmu upstream co-developer
Created attachment 94599 [details] tiemu3-2.81_p20060723.ebuild version bumb
I too get a strange messageless error when compiling tiemu. The interesting thing is, it appears to compile completely, I can `touch /var/tmp/portage/tiemu3-2.81_p20060723/.compiled` and then run `ebuild /usr/local/portage/sci-calculators/tiemu3/tiemu3-2.81_p20060723 merge` and it will install fine. make[6]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb' make[7]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/doc' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/doc' make[7]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/gdbtk' make[7]: Nothing to be done for `all'. make[7]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb/gdbtk' make[6]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb' make[5]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb/gdb' make[4]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb' make[4]: Entering directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb' make[4]: Nothing to be done for `all-target'. make[4]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb' make[3]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src/core/gdb' make[2]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/tiemu3-2.81_p20060723/work/tiemu' make: *** [all] Error 2 !!! ERROR: sci-calculators/tiemu3-2.81_p20060723 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile tiemu3-2.81_p20060723.ebuild, line 52: Called die
Created attachment 98775 [details] tiemu3-2.81_p20060925.ebuild new version
dies for me with: checking for dcopidl... /usr/kde/3.5/bin/dcopidl checking for dcopidl2cpp... /usr/kde/3.5/bin/dcopidl2cpp checking for mcopidl... not found configure: error: The important program mcopidl was not found! Please check whether you installed KDE correctly. Seems from http://www.arts-project.org/doc/handbook/mcopidl.html that this is an arts thing, why would sound be required for a calc emulator? shouldn't this depend on kde-base/arts then? (after emerging arts), works fine on emachines T1090 with the libs from sunrise
It clearly depens on arts. But as you said that does not seem to be necessary for this kind of application. I don't think it ever made noise during my work. configure offers no way to turn that off so I think that is a bug of tiemu itself. Since one of the devs of tiemu (Kevin Kofler) is on the CC list, we might not even have to file a bug on the project tracker.
Hmmm... Interesting one. Indeed, arts is not really needed for TiEmu. We're using the standard KDE acinclude.m4 (well, an old version, because the current one can't be used conditionally, as in "if not --without-kde then check for KDE") and that checks for each and every executable which is considered part of KDE. And the KDE people consider arts to be part of KDE 3. (In fact, kdelibs-devel on Fedora requires arts-devel.) So, the high customizability of Gentoo is what is biting you here. Now, I agree it shouldn't be needed, so I'll be looking into patching our acinclude.m4 not to require it (along with other useless (to TiEmu) executables). I'll bring up a pointer to the fix as soon as I get it done so it can be backported into the ebuild (you'll have to either regenerate configure or patch it by hand though).
Fixed in SVN. http://svn.tilp.info/cgi-bin/viewcvs.cgi?rev=2246&root=tiemu&view=rev
Just tried the new version (20060925) today. Compiled like a charm :D
Strange, because we didn't change anything to address your bug. (I still have no idea how it happened.)
Created attachment 100889 [details] tiemu3-2.81_p20061030.ebuild new version with arts problem fixed and new dbus USE-Flag
Created attachment 116228 [details] sci-calculators/tiemu3-2.81_p20070207.ebuild bump
Created attachment 121293 [details] sci-calculators/tiemu3-3.00.ebuild version bump
*** Bug 189422 has been marked as a duplicate of this bug. ***
*** Bug 94589 has been marked as a duplicate of this bug. ***
Created attachment 130527 [details] tiemu3-3.01a.ebuild version bump
Created attachment 157919 [details] tiemu3-3.02.ebuild version bump added threads flag
Created attachment 157935 [details] tiemu3-3.02.ebuild fixed version of this ebuild
It fails to run and says: $ tiemu TiEmu 3 - Version 3.02 (C) Romain Lievin & Thomas Corvazier 2000-2001 (C) Romain Lievin 2001-2003 (C) Julien Blache 2003 (C) Romain Lievin 2004-2005 (C) Romain Lievin & Kevin Kofler 2005-2007 (C) Peter Fernandes 2007 THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY PLEASE READ THE DOCUMENTATION FOR DETAILS tiemu-INFO: Configuration file not found, use default values. You can create one by the 'File|Save config' command menu. tiemu-INFO: Scanning images/upgrades... tiemu-INFO: Done. tiemu-INFO: Image information: tiemu-INFO: Calculator : TI89 tiemu-INFO: Firmware : 0.81 tiemu-INFO: Memory type : FLASH tiemu-INFO: Memory size : 2MB (2097152 bytes) tiemu-INFO: ROM base : 20 tiemu-INFO: Hardware : 2 tiemu-INFO: Has boot : no tiemu-INFO: Hardware Parameters Block: tiemu-INFO: length : 24 tiemu-INFO: hardwareID : 3 tiemu-INFO: hardwareRevision : 1 tiemu-INFO: bootMajor : 1 tiemu-INFO: bootRevision : 1 tiemu-INFO: bootBuild : 1 tiemu-INFO: gateArray : 2 ticables-INFO: ticables library version 1.2.0 ticables-INFO: kernel: 2.6.27_sempron_2500 tifiles-INFO: tifiles library version 1.1.0 ticalcs-INFO: ticalcs library version 1.1.0 UAE: version 0.8.25 UAE: Building CPU table for configuration: 68000 24-bit addressing UAE: 1866 CPU functions UAE: Building CPU function table (0 1). tiemu-INFO: loading keymap: ti89.map (88 keys) tiemu-INFO: loading skin: ti89.skn (221 x 503) tiemu-INFO: found SSP=$004c00 and PC=$212188 at offset 0x8c tiemu-INFO: loading I/O defs: iodefs_ti89_hw2.txt (27 entries) Loading ROM calls from file </usr/share/tiemu/misc/romcalls.txt>... Done ! Parsing ROM calls from flash memory (972 entries at $2283f0)... Done ! Tk_Init failed: Can't find a usable tk.tcl in the following directories: /usr/share/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.1/library /tk8.4.1/library /usr/share/tk8.4/tk.tcl: no event type or button # or keysym no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }" (file "/usr/share/tk8.4/listbox.tcl" line 182) invoked from within "source /usr/share/tk8.4/listbox.tcl" (in namespace eval "::" script line 1) invoked from within "namespace eval :: [list source [file join $::tk_library $file.tcl]]" (procedure "SourceLibFile" line 2) invoked from within "SourceLibFile listbox" (in namespace eval "::tk" script line 4) invoked from within "namespace eval ::tk { SourceLibFile button SourceLibFile entry SourceLibFile listbox SourceLibFile menu SourceLibFile panedwindow SourceLibFile ..." invoked from within "if {$::tk_library ne ""} { if {[string equal $tcl_platform(platform) "macintosh"]} { proc ::tk::SourceLibFile {file} { if {[catch { namesp..." (file "/usr/share/tk8.4/tk.tcl" line 393) invoked from within "source /usr/share/tk8.4/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" /usr/lib/tk8.4/tk.tcl: can't import command "mc": already exists can't import command "mc": already exists while executing "namespace import ::msgcat::mc" (in namespace eval "::tk::msgcat" script line 21) invoked from within "namespace eval msgcat { namespace export mc mcmax if {[interp issafe] || [catch {package require msgcat}]} { # The msgcat package..." (in namespace eval "::tk" script line 3) invoked from within "namespace eval ::tk { # Set up the msgcat commands namespace eval msgcat { namespace export mc mcmax if {[interp issafe] || [catch {p..." (file "/usr/lib/tk8.4/tk.tcl" line 20) invoked from within "source /usr/lib/tk8.4/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" This probably means that tk wasn't installed properly. tiemu-INFO: Image information: tiemu-INFO: Calculator : TI89 tiemu-INFO: Firmware : 0.81 tiemu-INFO: Memory type : FLASH tiemu-INFO: Memory size : 2MB (2097152 bytes) tiemu-INFO: ROM base : 20 tiemu-INFO: Hardware : 2 tiemu-INFO: Has boot : no and continues in loop...
This seems to be a missing runtime dependency for dev-lang/tk. Install dev-lang/tk try again and report back.
(In reply to comment #30) > This seems to be a missing runtime dependency for dev-lang/tk. Install > dev-lang/tk try again and report back. > $ eix dev-lang/tk [I] dev-lang/tk Available versions: 8.4.15-r1 8.4.18 (~)8.4.18-r1 (~)8.4.19 [M](~)8.5.1 [M](~)8.5.5 {debug threads truetype} Installed versions: 8.4.19(10:26:29 PM 10/30/2008)(threads -debug) Homepage: http://www.tcl.tk/ Description: Tk Widget Set
(In reply to comment #30) > This seems to be a missing runtime dependency for dev-lang/tk. Install > dev-lang/tk try again and report back. > i had dev-lang/tk
Maybe you should have a look here: http://bugs.gentoo.org/show_bug.cgi?id=225999
(In reply to comment #33) > Maybe you should have a look here: > http://bugs.gentoo.org/show_bug.cgi?id=225999 > thanks a lot
Thanks much to all. Now in portage main tree. If anyone would like to be proxy-maintainer for tilp2 and friends, drop me an email.
There are some newer versions available http://repo.calcforge.org/debian/source/ modified ebuilds follow.
Created attachment 181292 [details] sci-calculators/tiemu-3.03.ebuild