Hi! Find attached tkdesk-2.0.ebuild and a patch to build TkDesk 2.0. TkDesk is a graphical file manager for Unix and the X-Window System. It offers a very rich set of file operations and services, and provides the user with an immense amount of configurability. TkDesk's configuration flexibility results from the use of Tcl/Tk as the primary implementation language. Another benefit of using Tcl/Tk is that TkDesk is very portable and runs on virtually any Unix platform.
Created attachment 56693 [details] Ebuild for TkDesk 2.0
Created attachment 56694 [details, diff] Patch for TkDesk 2.0 ebuild
I get a build error: gcc ... gcc ... gcc -O -DUSE_OLD_IMAGE -DUSE_NON_CONST -DHAVE_CONFIG_H -I.. -I/usr/include -I/usr/include -c -o tixImgXpm.o tixImgXpm.c tixImgXpm.c:66: error: conflicting types for 'Tcl_Panic' tixImgXpm.c:66: note: a parameter list with an ellipsis can't match an empty parameter name list declaration /usr/include/tclDecls.h:39: error: previous declaration of 'Tcl_Panic' was here tixImgXpm.c:66: error: conflicting types for 'Tcl_Panic' tixImgXpm.c:66: note: a parameter list with an ellipsis can't match an empty parameter name list declaration /usr/include/tclDecls.h:39: error: previous declaration of 'Tcl_Panic' was here make[1]: *** [tixImgXpm.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/tkdesk-2.0/work/tkdesk-2.0/libdesk' make: *** [lib_libdesk] Error 2 !!! ERROR: x11-misc/tkdesk-2.0 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! compile failed !!! If you need support, post the topmost build error, NOT this status message. can you help with that?
sorry, I forgot some additional infos about my installed packages: dev-lang/tcl-8.4.9 -threads dev-lang/tk-8.4.9 -threads dev-tcltk/itcl-3.3 dev-tcltk/blt-2.4z
Created attachment 83970 [details] TkDesk 2.0-r1 ebuild Bug 89692 fixed.
Created attachment 83971 [details, diff] patch for tkdesk-2.0-r1 ebuild Fixes "conflicting types for 'Tcl_Panic'" build problem.
Comment on attachment 83971 [details, diff] patch for tkdesk-2.0-r1 ebuild Fixes conflicting types for 'Tcl_Panic' problem.
Comment on attachment 83970 [details] TkDesk 2.0-r1 ebuild Fixes conflicting types for 'Tcl_Panic' problem.
Still more problems with libitcl (Library not found). Fixing it with a link leads to runtime problems: Error in startup script: can't rename "itcl_class": command doesn't exist while executing "rename itcl_class itcl_class-orig" invoked from within "if {[info command itcl_class-orig] == ""} { rename itcl_class itcl_class-orig proc itcl_class {name def} { catch {rename $name {}} uplevel..." (file "/usr/bin/tkdesk" line 598)
I get an error in install phase. it cannot find libitcl3.3.so. I had to: echo 'LDPATH=/usr/lib/itcl3.3' > /etc/env.d/99libitcl-3.3 env-update (is this a "itcl"-related bug?) additionally, I get this warning: strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/tkdesksh usr/bin/tkdeskclient scanelf: rpath_security_checks(): Security problem NULL DT_RPATH in /var/tmp/portage/tkdesk-2.0-r1/image//usr/bin/tkdesksh scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH in /var/tmp/portage/tkdesk-2.0-r1/image//usr/bin/tkdesksh >>> Completed installing tkdesk-2.0-r1 into /var/tmp/portage/tkdesk-2.0-r1/image/ however it seems it installs correctly. but it doesn't run: $ tkdesk Error in startup script: can't rename "itcl_class": command doesn't exist while executing "rename itcl_class itcl_class-orig" invoked from within "if {[info command itcl_class-orig] == ""} { rename itcl_class itcl_class-orig proc itcl_class {name def} { catch {rename $name {}} uplevel..." (file "/usr/bin/tkdesk" line 598) this seems the same error reported by Roland. Roland, did you get tkdesk to run?
Created attachment 84124 [details] Tkdesk Ebuild This ebuild solves the problems linking libitcl3.3.so and the runtime problems 'can't rename itcl-class...'. It uses two patches from the original tkdesk-2.0 homepage. Additionally, the itcl library path is set. This may be a bug in the itcl package.
Created attachment 84125 [details, diff] patchfile for tkdesk-2.0-r2 ebuild
Created attachment 84126 [details, diff] Original patch from tkdesk-2.0 maintainers.
Created attachment 84127 [details, diff] Original patch from tkdesk-2.0 maintainers.
thanks! now it works for me
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq