Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77939 - sawfish's root menu stopped working after gtk+ upgrade (rep-gtk problem)
Summary: sawfish's root menu stopped working after gtk+ upgrade (rep-gtk problem)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 23:30 UTC by Harald van Dijk (RETIRED)
Modified: 2005-03-13 20:18 UTC (History)
1 user (show)

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


Attachments
rep-gtk-gtk26.patch (rep-gtk-gtk26.patch,422 bytes, patch)
2005-01-13 23:31 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2005-01-13 23:30:21 UTC
Hi, I upgraded gtk+ today to 2.6.1 and sawfish stopped working properly. It still runs, but it doesn't display anything other than the window borders. I tried to reinstall it, but that failed because it could not find rep-gtk. I searched and found http://dev.gentoo.org/~spider/gnome2/ . (require 'gui.gtk-2.gtk) pointed out an undefined reference to _gtk_window_internal_set_focus. rep-gtk shouldn't be messing with gtk+ internal functions.

Reproducible: Always
Steps to Reproduce:
1. emerge =gtk+-2.4*
2. emerge sawfish
3. emerge =gtk+-2.6.1
Actual Results:  
sawfish can no longer display the root menu.

Expected Results:  
sawfish should still function properly.

Portage 2.0.51-r12 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.4 [2.4 (#1, Jan  9 2005, 05:48:03)]
dev-lang/python:     2.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/mnt/hda3/distfiles"
FEATURES="autoaddcvs autoconfig candy collision-protect distlocks notitles
sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/hda3/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl aim alsa apache2 apm audiofile avi berkdb bidi
bitmap-fonts boundschecking cdparanoia cdr cjk crypt cscope debugger dga
divx4linux dvd dvdread encode erandom f77 fbcon ffi flac flash font-server
foomaticdb fortran freetype gdbm gif gnutls gpm gtk gtk2 hal imagemagick imlib
immqt ipv6 ithreads javascript jikes jpeg lcms libcaca libwww live mad mmx mmx2
mng motif mozdevelop mozilla moznoxft mozsvg mozxmlterm mpeg ncurses nethack
network nls no-old-linux no_wxgtk1 noamazon noantlr nobcel nobeanutils nobsh
nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noplugin
noregexp norhino noxalan noxerces nptl objc offensive oggvorbis opengl oss pcre
pdflib perlsuid pic png postgres psyco python quicktime readline real rtc samba
sdl shaped slang speex spell sqlite sse ssl svg tcpd tetex theora threads tiff
truetype truetype-fonts type1-fonts unicode userlocales vim-pager vim-with-x wmf
wxwindows x86 xgetdefault xine xml xml2 xprint xv xvid zlib linguas_en_GB
linguas_en linguas_ja linguas_nl"
Unset:  LDFLAGS

I'll attach a patch for rep-gtk that fixes this. It simply completely removes
the reference to _gtk_window_internal_set_focus. Any application that uses it is
broken anyway, and removing it makes sawfish work just great.
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2005-01-13 23:31:39 UTC
Created attachment 48439 [details, diff]
rep-gtk-gtk26.patch
Comment 2 foser (RETIRED) gentoo-dev 2005-01-16 06:02:11 UTC
hmm yeah this might be because i removed a patch which exported more symbols than needed i think.

But correct, sawfish shouldn't be using these functions.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2005-03-13 20:18:04 UTC
Fixed in rep-gtk-0.18-r1, thanks