Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89692 - tkdesk-2.0 (New Package)
Summary: tkdesk-2.0 (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-04-19 11:42 UTC by Roland Schäuble
Modified: 2022-03-07 05:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for TkDesk 2.0 (tkdesk-2.0.ebuild,704 bytes, text/plain)
2005-04-19 11:44 UTC, Roland Schäuble
Details
Patch for TkDesk 2.0 ebuild (tkdesk-2.0.diff,696 bytes, patch)
2005-04-19 11:45 UTC, Roland Schäuble
Details | Diff
TkDesk 2.0-r1 ebuild (tkdesk-2.0-r1.ebuild,704 bytes, text/plain)
2006-04-05 05:26 UTC, Roland Schäuble
Details
patch for tkdesk-2.0-r1 ebuild (tkdesk-2.0-r1.diff,1.05 KB, patch)
2006-04-05 05:30 UTC, Roland Schäuble
Details | Diff
Tkdesk Ebuild (tkdesk-2.0-r2.ebuild,1.07 KB, text/plain)
2006-04-07 05:15 UTC, Roland Schäuble
Details
patchfile for tkdesk-2.0-r2 ebuild (tkdesk-2.0-r2.diff,1.05 KB, patch)
2006-04-07 05:16 UTC, Roland Schäuble
Details | Diff
Original patch from tkdesk-2.0 maintainers. (tkdesk-2.0p1.patch,3.07 KB, patch)
2006-04-07 05:16 UTC, Roland Schäuble
Details | Diff
Original patch from tkdesk-2.0 maintainers. (tkdesk-2.0p2.patch,135.04 KB, patch)
2006-04-07 05:17 UTC, Roland Schäuble
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Schäuble 2005-04-19 11:42:21 UTC
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.
Comment 1 Roland Schäuble 2005-04-19 11:44:07 UTC
Created attachment 56693 [details]
Ebuild for TkDesk 2.0
Comment 2 Roland Schäuble 2005-04-19 11:45:13 UTC
Created attachment 56694 [details, diff]
Patch for TkDesk 2.0 ebuild
Comment 3 Federico Ferri (RETIRED) gentoo-dev 2006-04-05 02:11:53 UTC
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?
Comment 4 Federico Ferri (RETIRED) gentoo-dev 2006-04-05 02:15:39 UTC
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
Comment 5 Roland Schäuble 2006-04-05 05:26:20 UTC
Created attachment 83970 [details]
TkDesk 2.0-r1 ebuild

Bug 89692 fixed.
Comment 6 Roland Schäuble 2006-04-05 05:30:17 UTC
Created attachment 83971 [details, diff]
patch for tkdesk-2.0-r1 ebuild

Fixes "conflicting types for 'Tcl_Panic'" build problem.
Comment 7 Roland Schäuble 2006-04-05 05:31:28 UTC
Comment on attachment 83971 [details, diff]
patch for tkdesk-2.0-r1 ebuild

Fixes conflicting types for 'Tcl_Panic' problem.
Comment 8 Roland Schäuble 2006-04-05 05:31:57 UTC
Comment on attachment 83970 [details]
TkDesk 2.0-r1 ebuild

Fixes conflicting types for 'Tcl_Panic' problem.
Comment 9 Roland Schäuble 2006-04-05 05:54:35 UTC
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)
Comment 10 Federico Ferri (RETIRED) gentoo-dev 2006-04-06 02:57:32 UTC
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?
Comment 11 Roland Schäuble 2006-04-07 05:15:08 UTC
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.
Comment 12 Roland Schäuble 2006-04-07 05:16:14 UTC
Created attachment 84125 [details, diff]
patchfile for tkdesk-2.0-r2 ebuild
Comment 13 Roland Schäuble 2006-04-07 05:16:51 UTC
Created attachment 84126 [details, diff]
Original patch from tkdesk-2.0 maintainers.
Comment 14 Roland Schäuble 2006-04-07 05:17:25 UTC
Created attachment 84127 [details, diff]
Original patch from tkdesk-2.0 maintainers.
Comment 15 Federico Ferri (RETIRED) gentoo-dev 2006-04-07 06:55:57 UTC
thanks!
now it works for me
Comment 16 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-20 16:30:55 UTC
(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