Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76972 - logjam does not take advantage of installed libgtkhtml >= 3.1
Summary: logjam does not take advantage of installed libgtkhtml >= 3.1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2005-01-06 17:56 UTC by Kit Fenderson-Peters
Modified: 2005-05-28 04:19 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kit Fenderson-Peters 2005-01-06 17:56:48 UTC
logjam, when compiled with USE="gtkhtml", will not take advantage of libgtkhtml if  libgtkhtml 3.2 is installed.  I believe this is due to these lines in logjam-4.4.0/configure (lines 10160 - 10164):

echo $ECHO_N "checking for libgtkhtml-3.0... $ECHO_C" >&6
      if $PKG_CONFIG --exists "libgtkhtml-3.0" ; then
        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

Reproducible: Always
Steps to Reproduce:
1. install libgtkhtml 3.2
2. USE="gtkthml" emerge logjam

Actual Results:  
logjam emerged successfully without gtkhtml support.

Expected Results:  
logjam should have emerged with gtkthml support

emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-,
2.6.9 i686)
System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O3 -march=pentium3 -pipe -frename-registers -fomit-frame-pointer
-fforce-addr -s -falign-functions=64 -fprefetch-loop-arrays -mfpmath=sse
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -frename-registers -fomit-frame-pointer
-fforce-addr -s -falign-functions=64 -fprefetch-loop-arrays -mfpmath=sse
-maccumulate-outgoing-args -fpermissive"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
USE="X acpi alsa apm audiofile avi berkdb bitmap-fonts cdparanoia cdr cups
divx4linux dvd encode ext3 f77 fam fbcon flac foomaticdb fortran gcj gdbm gif
gpm gtk gtk2 imagemagick imap imlib java jpeg junit kde libg++ libwww mad mikmod
mmx mmx2 motif mpeg msn ncurses nls oggvorbis ooo-kde opengl oss pam pcmcia pda
pdflib perl png python qt qtmt quicktime radeon readline real samba sdl slang
speex spell sse ssl svga tcltk tcpd tiff truetype usb wifi x86 xine xml2 xmms xv
xvid zlib"
Comment 1 Kit Fenderson-Peters 2005-01-06 18:20:21 UTC
Oh.  If it wasn't obvious, I'm using logjam 4.4.0.
Comment 2 Joe McCann (RETIRED) gentoo-dev 2005-01-06 18:59:32 UTC
Right, logjam uses the 3.0.x version of libgtkhtml, which is what the ebuild deps on and installs when you have USE=gtkhtml. Are you sure that gtkhtml support isn't working? It isn't wysiwyg, you have to go to entry -> preview html. Works fine for me here.
Comment 3 Kit Fenderson-Peters 2005-01-06 19:31:36 UTC
I unmerged libgtkhtml-3.2.3 and emerged libgtkhtml-3.0.10-r1.  I then re-emerged logjam-4.4.0, and when i looked at my LJ in offline mode, the HTML was rendered.      Previously, the HTML had not been rendered, even though I had passed theproper USE flag.

For testing purposes, I unmerged gtkhtml and logjam.  Then:

took@brook took $ USE="gtkhtml" sudo emerge -v --ask logjam

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] gnome-extra/libgtkhtml-3.2.3  -debug 0 kB
[ebuild  N    ] net-misc/logjam-4.4.0  +gtkhtml +spell +xmms 0 kB

Total size of downloads: 0 kB

It appears that the ebuild does not install libgtkhtml-3.0.  Whether this is due to the ebuild or my system setup remains to be seen.
Comment 4 Nathaniel McCallum (RETIRED) gentoo-dev 2005-05-27 18:05:45 UTC
I have checked every version in the tree and they all seem to work for me.  Are
you still experiencing a problem?
Comment 5 foser (RETIRED) gentoo-dev 2005-05-28 01:30:10 UTC
The deps in the tree are correct, are you positive this is not caused by eg.
outside ebuilds ?

I'm pretty sure this cannot happen with the ebuilds in the tree.
Comment 6 Kit Fenderson-Peters 2005-05-28 04:19:03 UTC
Well, I seem to have resolved the problem, though I misremember how I did so.