Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79125 - gtk-gnutella 0.95 does not work with gtk 2.6
Summary: gtk-gnutella 0.95 does not work with gtk 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 12:16 UTC by Jani Alanko
Modified: 2005-01-31 13:56 UTC (History)
1 user (show)

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


Attachments
Patch to remedy this bug (gtk-gnutella-0.95.patch,1.44 KB, patch)
2005-01-24 22:57 UTC, Tim Hentenaar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jani Alanko 2005-01-22 12:16:58 UTC
That's right, you have to use either gtk 2.4 or gtk1 interface.
The install seems to go fine as it installes docs, pixmaps, translations and everything, but there just is no executable gtk-gnutella.
If you scroll up the terminal long enough, you find errors, but the compile doesn't stop on them and portage says that the install was success.

Problem with gtk 2.6 is apparently fixed in cvs.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:  
No gui and emerge says the install was success.

Expected Results:  
I should have get a working gui, as far as I know.

Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-ck5 i586)
=================================================================
System uname: 2.6.10-ck5 i586 AMD-K6(tm)-III Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 19 2005, 14:45:17)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k6-3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=k6-3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="-* 3dnow aac aalib alsa avi bash_completion bitmap-fonts bzlib cdr dga dio
divx4linux gif gtk2 javascript jpeg mbox mmx mng mp3 mpeg ncurses nls nvidia
oggvorbis opengl pam perl png pwdb python quicktime readline real rtc slang ssl
svg symlink tga tiff truetype truetype-fonts type1-fonts unicode v4l2 x86 xml
xml2 xpm xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-22 13:11:10 UTC
eh? is this some pasted text? pretty confusing...
Comment 2 Tim Hentenaar 2005-01-24 22:57:24 UTC
Created attachment 49451 [details, diff]
Patch to remedy this bug

The reason for this is that gtk-gnutella's gtk2 progress bar cell renderer
(gtk-gnutella-0.95/src/ui/gtk/gtk2/pbarcellrenderer.[c,h]) conflicts with
GTK's.
The particular cell renderer was copied from the GTK CVS at the time (or so it
appears. That render wasn't included in GTK 2.x till 2.6).

This patch will fix the problem.

Instructions for applying:
First, clear out the portage temporary work directories. Doing this
periodically can free up some disk space too.

# rm -rf /var/tmp/portage/*
# rm -rf /usr/portage/distfiles/*

Now, tell portage to download and unpack the source archive.

# ebuild /usr/portage/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild fetch
unpack 

Apply the patch

# cd /var/tmp/portage/gtk-gnutella-0.95/work
# patch -p0 < /path/to/the/patch

Tell portage to compile and install (as well as do anything that needs to be
done postinstall.)

# ebuild /usr/portage/net-p2p/gtk-gnutella/gtk-gnutella-0.95.ebuild compile
install qmerge config

Regards,

Tim Hentenaar
Comment 3 Jani Alanko 2005-01-26 05:27:27 UTC
What my point was, that shouldn't that patch to be included in portage for 0.95 since it is the only solution (making gtkg to refuse to accept gtk+ 2.6 as a dependency would only break things and accepting gtk1 only is not exactly the most elegant solution)?
Comment 4 Mark Rosenstand 2005-01-29 17:06:03 UTC
Yes, please let portage apply the patch.
Comment 5 Jon Hood (RETIRED) gentoo-dev 2005-01-30 12:46:34 UTC
patch now in portage; thank you :)
Comment 6 Kenyon Ralph 2005-01-31 13:56:36 UTC
This is weird.  Before I updated to 0.95-r1, everything was working fine with 0.95.  It was built with (I think) gtk+-2.4.14, even though I have 2.6.1-r1 installed now.  The percent bars were thin blue lines that worked.

Now, with gtkg-0.95-r1 built with gtk+-2.6.1-r1 I see these big thick percent bars, but they either stay at 0%, or just go to 1%, they never actually show the progress like they're supposed to.  The files still download/upload fine.