Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177912 - dev-tcltk/{tkTheme,Tk_Theme} removal request
Summary: dev-tcltk/{tkTheme,Tk_Theme} removal request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 205509 (view as bug list)
Depends on:
Blocks: 168385 tcltk-8.5
  Show dependency tree
 
Reported: 2007-05-10 13:01 UTC by mic
Modified: 2009-01-17 00:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mic 2007-05-10 13:01:38 UTC
dev-tcltk/Tk_Theme-23 don't work with dev-lang/tk-8.5
$ wish 
% package require Tk_Theme
attempt to provide package Tk_Theme 20 failed: package Tk_Theme 23 provided instead

$ cat /usr/lib/Tk_Theme/pkgIndex.tcl
if {![package vsatisfies [package provide Tcl] 8]} {return}
package ifneeded Tk_Theme 20 [list load [file join $dir theme.so] Theme]



Reproducible: Always

Actual Results:  
If correct 20 to 23, all starts 


emerge --info                                                                                          /usr/share/tkabber/plugins/unix
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.21-gentoo i686)
=================================================================
System uname: 2.6.21-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 2.0.0_alpha2
Timestamp of tree: Thu, 10 May 2007 04:30:10 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.15
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -pipe -momit-leaf-frame-pointer "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -mtune=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/gentoo"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="autoaddcvs candy ccache cvs digest distlocks glep metadata-transfer nodoc noinfo parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-Os -Wl,--sort-common -Wl,-z,combreloc -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/toolchain /usr/local/portage/layman/my_toolchains_overlay /usr/local/portage/layman/xeffects /usr/local/portage/layman/xeffects-experimental /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 16bit-indices 3dnow 3dnowext 7z 7zip X a52 aac ace acpi activefilter addbookmarks additions aiglx akode alias alsa amarok amr ao aotuv apache2 aqua_theme artswrappersuid asf atm audiofile autoipd bash-completion bcp bdirect berkdb bidi bitmap-fonts bjam bl bluetooth branding bzip2 calendar cap carbone_theme catalogs ccache cdda cddb cdparanoia cdr cgi chm clamav cli clisp clock-screen connectionstatus contactnotes contrarius cracklib cran crypt css cups curl d dbus decibel deprecated dga dhcp dio divx4linux djvu dlloader dmi dpms dri dts dv dvb dvd dvdnav dvdr dvdread dvi dxr3 dynagraph eap-tls editor edl elisp emboss enca encode escreen evo exif expat exscalibar extensions extrafilters extras faac faad fam fame fastcgi fbsplash ffmpeg fftw fifo filter_default flac fontconfig foomaticdb fortran fpx ft ftp fuse gd gif gimpprint glgd glitz glsa glut gnet gnutls gpg2-experimental gphoto2 grafviz gs gsm gstreamer010 guile hal hashstyle haskell hfs highlight history hou howl-compat hpn http i18n icecast iconv icu id3 idl idle idn ilbc image imagemagick imap imlib2 inquisitio irda irmc isdnlog jabber jasper javascript jbig jpeg jpeg2k jrtplib kde kdeenablefinal kdehiddenvisibility kdepim kdrive key-screen kipi kqemu ladcca ladspa lame lcms leim libclamav libg++ libsamplerate linuxthreads-tls live lm_sensors logrotate loudmouth lua lzo lzw mad maildir matroska mbox mccp midi mikmod mixer mjpeg mmap mmx mmx2 mmxext mng mod modplug monkey mouse mozcalendar moznopango mozsvg mp2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer multiuser musepack musicbrainz nas nethack network new-clx newspr nextaw nforce2 nls no-old-linux nojava nosendmail nowlistening nptl nptlonly nsplugin numeric nvidia obex ocaml offensive ogg oggvorbis ole openal openexr opengl ortp osc pam pch pcre pdf perl pertty physfs pic pie pink plotutils plugins pmount pmu png pop portage portaudio ppds pppd pulseaudio pyste python qa qt qt-copy qt3 qt3support qt4 quicktime randr12 rar raw-mode readline real recode reflection regex risky rle rss rtc rtsp ruby sasl screen sdl search-screen server session sharedmem shorten shout sid silvercity silverxp skins sndfile socks5 sofia-sip sou soundex soundtouch spamassassin speex spell spl sql sqlite sqlite3 srt srv sse ssl statistics stream strigi stroke subtitles subversion svg svgz symlink taglib tagwriting tcl tcltk tcpd texteffect theora threads tidy tiff timidity tk toolkit-scroll-bars tools transcode translator transparency trayicon truetype truetype-fonts tunepimp type1-fonts ucs2 udev unicode upnp usb usepackagedmakefiles userlocales utempter utf-8 utf8 v4l v4l2 vcd vditool vhosts vim vim-pager vim-syntax vim-with-x vlm vorbis vorbis-psy wavpack web win32codecs wma wmf wrapper wv x264 x86 xanim xattr xcb xcomposite xft xhtml xine xkb xml xorg xpm xrandr xv xvid xvmc yv12 zlib zsh-completion" ALSA_CARDS="nvidia nforce" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia v4l nv vesa nouveau"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-10 14:50:37 UTC
NOT a portage bug; please read the product descriptions.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-10 14:52:19 UTC
There's no dev-lang/tk-8.5 in the official tree. Please, report such stuff upstream.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 14:08:05 UTC
Upstream gone, nothing depends on this, sounds like a good candidate for removal.
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2007-12-27 17:09:48 UTC
p.masked.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-12 17:37:32 UTC
*** Bug 205509 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-12 17:50:12 UTC
Reopening until this is removed... Plus, this exists in the tree twice for some whacky reason

- dev-tcltk/tkTheme (~version 18 upstream, called as 1.0 for whatever reason in Gentoo, packaged for using autotools)
- dev-tcltk/Tk_Theme (23, already package.masked, using just GNU make).

Neither of those compile nor work w/ tk-8.5 and upstream is completely gone.

net-im/tkabber depends on dev-tcltk/tkTheme; if you want to keep it, see bug 168385 for updated ebuilds using tktray instead. If not, nuke all of this borked stuff.
Comment 7 Antek Grzymała (antoszka) 2008-01-13 22:42:56 UTC
tkabber is neither b0rked *nor* requires tkTheme. Dump the theme stuff to your pleasure, but keep tkabber and I'd suggest you pull the svn ebuild into the tree, is it's much more up-to-date at this time. A new stable release seems to be approaching, too.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 22:47:18 UTC
(In reply to comment #7)
> *nor* requires tkTheme. 

Except that it depends on it...
Comment 9 Antek Grzymała (antoszka) 2008-02-07 13:10:41 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > *nor* requires tkTheme. 
> 
> Except that it depends on it...

As I said, it runs just fine without it. The ebuild is plain wrong. Confirmed with tkabber devs live this second.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-02-07 15:53:20 UTC
Well I don't really care about tkabber at all. Getting rid of all this broken duplicated tktheme crap in the tree is all I'm interested in. If something has bogus dependencies or whatever, then it needs to be fixed.
Comment 11 Antek Grzymała (antoszka) 2008-02-07 16:37:54 UTC
There's a cleaned up ebuild for tkabber in bug #168385. Somebody needs to take care of it. Can I help?

Feel free to dump tkTheme as far as I'm concerned.
Comment 12 gtlinuxman 2008-02-19 14:30:58 UTC
For dev-lang/tk-8.5.x

http://ru.tkabber.jabe.ru/index.php/%D0%A2%D0%BA%D0%B0%D0%B1%D0%B1%D0%B5%D1%80_%D0%A7%D0%B0%D0%92%D0%BE/%D0%93%D0%BB%D1%8E%D0%BA%D0%B8#.D0.92_Gentoo_.D0.BD.D0.B5_.D1.80.D0.B0.D0.B1.D0.BE.D1.82.D0.B0.D0.B5.D1.82_.D1.81.D0.B2.D0.BE.D1.80.D0.B0.D1.87.D0.B8.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5_.D0.B2_.D1.82.D1.80.D0.B5.D0.B9

# cat /usr/lib/Tk_Theme/pkgIndex.tcl | sed s/"package ifneeded Tk_Theme 20"/"package ifneeded Tk_Theme 23"/ > /tmp/pkgIndex.tcl
# cp /tmp/pkgIndex.tcl /usr/lib/Tk_Theme/pkgIndex.tcl
Comment 13 Antek Grzymała (antoszka) 2008-03-01 10:21:13 UTC
(In reply to comment #12)

> # cat /usr/lib/Tk_Theme/pkgIndex.tcl | sed s/"package ifneeded Tk_Theme
> 20"/"package ifneeded Tk_Theme 23"/ > /tmp/pkgIndex.tcl
> # cp /tmp/pkgIndex.tcl /usr/lib/Tk_Theme/pkgIndex.tcl

A proper way of doing this would be:

sed -i <sed_expression> <file_edited>

There's no need to use a temporary file (especially outside the sandbox).
Comment 14 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-27 13:34:56 UTC
We're not removing tkabber.
Comment 15 Olivier Crete (RETIRED) gentoo-dev 2008-08-31 02:14:28 UTC
the newer tkabber 0.11.0 doesn't use tktheme, but tktray... So we would soon be able to fix it.
Comment 16 Federico Ferri (RETIRED) gentoo-dev 2009-01-17 00:49:47 UTC
Tk_Theme removed, tkTheme fixed