First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61581
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Colin Macdonald <cbm@m.fsf.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gimp-2.0.4-respect-nodoc.patch configure.in patch Stian Skjelstad 2005-03-11 18:15 0000 654 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61581 depends on: Show dependency tree
Bug 61581 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-24 17:56 0000
I build gimp 2.0.4 with -gtkhtml.  I unmerged libgtkhtml (2.6.2) and ran
revdep-rebuild.  It reported the following:

  broken /usr/lib/gimp/2.0/plug-ins/helpbrowser (requires libgtkhtml-2.so.0)

It seems gimp links against libgtkhtml even when -gtkhtml is set.

I'm using ~x86 and my emerge info is:
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.4.27)
=================================================================
System uname: 2.4.27 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /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="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.ccccom.com
http://gentoo.eliteitminds.com ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa apm arts berkdb cdr cjk crypt cups dga directfb dvd
emacs encode esd f77 faad fbcon fftw flac gcj gdbm gif gimpprint ginac gnome
gphoto2 gpm gstreamer gtk gtk2 guile imlib jack java jpeg ldap leim libg++
libwww lirc live mad matroska mikmod mmx mng motif mozilla mpeg mysql nas
ncurses nls objc offensive oggvorbis opengl oss pam pdflib perl plotutils png
ppds python qhull qt quicktime radeon readline scanner sdk sdl slang speex
spell sse ssl svg tcltk tcpd tetex theora tiff truetype usb v4l
video_cards_radeon wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib"

------- Comment #1 From Colin Macdonald 2004-08-24 17:58:10 0000 -------
by the way, this might explain bug #3048.

------- Comment #2 From foser (RETIRED) 2004-08-25 03:10:36 0000 -------
yeah.. as the fixme in the ebuild states : some switches are not hardcoded.
This is one of them. A patch vs. configure.in would be appreciated.

------- Comment #3 From foser (RETIRED) 2004-08-29 07:57:53 0000 -------
patch ?

------- Comment #4 From Stian Skjelstad 2005-03-11 03:38:28 0000 -------
First... -gtkhtml has no effect, it is -doc that controls this:

      doc? ( =gnome-extra/libgtkhtml-2* )

When it comes to the problem you mention, I'll look into it. Problaby configure.in   problem. Not respecting --without-foo

------- Comment #5 From Stian Skjelstad 2005-03-11 03:42:44 0000 -------
I have gimp installed after libgtkhtml 2.x and 3.x was emerged, and it haven't
linked to it. What USE flags did you emerge gimp with?

What file did revdev-rebuil say required libgtkhtml? /usr/bin/gimp-2.0 ?

------- Comment #6 From Colin Macdonald 2005-03-11 14:51:46 0000 -------
So long ago, now using gimp-2.2.3:
media-gfx/gimp-2.2.3  -aalib (-altivec) -debug -doc +gimpprint +gtkhtml +jpeg +mmx +mng +png +python +sse +svg +tiff -wmf

ldd /usr/lib/gimp/2.0/plug-ins/helpbrowser  | grep html
        libgtkhtml-2.so.0 => /usr/lib/libgtkhtml-2.so.0 (0xb7e40000)
This seems correct becuase I have +gtkhtml in my use flags

on my desktop, I have -gtkhtml:
media-gfx/gimp-2.2.3  +aalib (-altivec) -debug -doc +gimpprint -gtkhtml +jpeg +mmx +mng +png +python +sse +svg +tiff -wmf
ldd /usr/lib/gimp/2.0/plug-ins/helpbrowser | grep html
        libgtkhtml-2.so.0 => /usr/lib/libgtkhtml-2.so.0 (0x4016d000)
but this should not be because -gtkhtml is set.

I think this was clear in the initial report and foser (Comment #2, #3) pointed out its essentially a known problem, asked me to make a patch to configure.in: unfort. I never got around to learning enough about configure to do that.  Feel free to do it yourself if you wish.

------- Comment #7 From Stian Skjelstad 2005-03-11 18:15:17 0000 -------
Created an attachment (id=53230) [edit]
configure.in

Something like this perhaps. Gimp always installes helpbrowser if gtkdoc found.
This should do the kick. Needs to be checked for correctness.

------- Comment #8 From Stian Skjelstad 2005-04-18 12:14:09 0000 -------
the masked ebuild for 2.2.6 is even more broken that the stable one. It has use
flags for both doc and gtkhtml, none of the --without flags are respected in
the configure.in, so either patch configure.in, or make the depencies hard, and
not optional, please. Either way is better than the current, with
soft-depencies, and broken configure.in.

------- Comment #9 From John N. Laliberte (RETIRED) 2005-05-10 13:23:49 0000 -------
i added this patch to my 2.2.7 ebuild, and will be testing it soon.

------- Comment #10 From John N. Laliberte (RETIRED) 2005-05-23 18:12:29 0000 -------
I'm closing 9 bugs at once, since these bugs should be fixed in my 2.2.7 ebuild
of the gimp.  ( just committed to the unstable tree ) If you find that your bug
was not fixed in the 2.2.7 ebuild, please open a new bug with what it is or is
not still doing.

Thanks for the attachments and comment, they helped!

First Last Prev Next    No search results available      Search page      Enter new bug