Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155231 - gnome-extra/yelp-2.16.1 - build against seamonkey or xulrunner
Summary: gnome-extra/yelp-2.16.1 - build against seamonkey or xulrunner
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 120310 158133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-15 05:09 UTC by Bernard Cafarelli
Modified: 2007-03-28 14:19 UTC (History)
6 users (show)

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


Attachments
yelp-2.16.1 with different gecko USE flags (yelp-2.16.1.ebuild,1.49 KB, text/plain)
2006-11-15 05:13 UTC, Bernard Cafarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2006-11-15 05:09:48 UTC
Recent ebuilds of yelp have the gecko engine hardcoded to firefox (see the bugreports from amd64 users who use firefox-bin), because it could not build anymore against seamonkey (in 2.15.9x releases).

As of yelp 2.16.1, this works again, and yelp can also be built against xulrunner (as specified in the configure help for --enable-gecko, which replaces the obsolote --with-mozilla used in the ebuild).

I took inspiration from the liferea new ebuilds: the order of preference is now xulrunner > firefox > seamonkey (depending on the USE flags enabled).

Tested here on ~amd64 and ~x86 with both seamonkey and xulrunner builds, both display gnome help fine

amd64 emerge info:
Portage 2.1.2_rc1-r7 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64)
=================================================================
System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 11:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.cafarelli.fr/gentoo-portage"
USE="amd64 X a52 aac aalib aim alsa audiofile bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cddb cdr cli cracklib crypt cscope cups curl dbus dga dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp galago gcj gd gdbm gif gimp glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jikes joystick jpeg kernel_linux lcms libcaca libg++ linguas_fr linguas_fr_FR lirc lirc_devices_mceusb2 live mad matroska mbox mikmod mime mng modplug mono mp3 mpeg msn musicbrainz nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg openal opengl oscar oss pam pcmcia pcre pda pdf perl php pic png posix ppds pppd python qt3 qt4 quicktime readline real recode reflection ruby samba scanner sdl seamonkey session slang smp speex spell spl sqlite ssl startup-notification subtitles svg tcl tcltk tcpd tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_none video_cards_nvidia vorbis wifi wma wmf wxwindows x264 xcomposite xface xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Bernard Cafarelli gentoo-dev 2006-11-15 05:13:36 UTC
Created attachment 101976 [details]
yelp-2.16.1 with different gecko USE flags
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 06:03:51 UTC
*** Bug 120310 has been marked as a duplicate of this bug. ***
Comment 3 sbriglie 2006-12-13 03:30:34 UTC
The proposed ebuild doesn't work with seamonkey use flag, it appears that yelp itself does not support seamonkey. However it works perfectly with xulrunner use flag.
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Tue, 12 Dec 2006 23:00:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="it en en_GB"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aiglx alsa alsa_cards_ca0106,intel8x0 apache2 arts audiofile berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode exif expat fam fbcon ffmpeg fortran gdbm gif gimpprint glitz glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux lcms ldap libg++ libnotify linguas_en linguas_en_GB linguas_it mad mikmod mng motif mozilla mp3 mpeg ncurses network nls nptl nptlonly nsplugin ogg openal opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl seamonkey session spell spl ssl svg tcl tcltk tcpd tetex tidy tiff tk truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vorbis xine xml xml2 xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-14 06:10:10 UTC
*** Bug 158133 has been marked as a duplicate of this bug. ***
Comment 5 John J. Aylward 2006-12-17 23:40:48 UTC
I have tested with xul runner as well, and find it works great on x86_64. This should definately go in, even if it's only availible on amd64 arch since I don't want to have both firefox and firefox-bin installed.
Comment 6 Bernard Cafarelli gentoo-dev 2006-12-18 11:31:15 UTC
New yelp (2.16.2) also works fine with this ebuild (tested with xulrunner)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2006-12-23 00:42:12 UTC
Problem is, we can't have a stable yelp/epiphany/... depending on an unstable xulrunner (which is the case right now). Basically, this probably won't be done for Gnome 2.16.

However, this is something clearly to be considered for 2.18 should xulrunner be stabilized by then.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-03 19:20:13 UTC
epiphany in the 2.17 overlay already can use xulrunner, and I'm going to be making yelp use it too.  Overlay is at http://overlays.gentoo.org/proj/gnome/wiki  This will hopefully make it in for 2.18, but it depends on xulrunner going stable.
Comment 9 Bernard Cafarelli gentoo-dev 2007-01-04 01:50:32 UTC
Which xulrunner will/should be considered for stabilisation? By itself, current 1.8.0.* looks like a valid candidate (no outstanding bugs for some time, no ~ dependencies, maybe missing some testing apart from liferea), but as it is a "stable developer preview release"... And 1.9 will only come with firefox 3 (quite some time after gnome 2.18 ;) ).
Comment 10 Mart Raudsepp gentoo-dev 2007-01-04 09:21:01 UTC
Indeed, on the GNOME-2.17/2.18 external dependencies page (http://live.gnome.org/TwoPointSeventeen/ExternalDependencies) is this:

xulrunner (mozilla) - minimum version 1.8.1 (MOZILLA_1_8_BRANCH of cvs until 1.8.1 is actually released); suggested version same

As for it working - I've been using xulrunner for epiphany on a loaned laptop I'm using for a couple weeks without problems - firefox isn't even installed here.
I do wonder, however, why GNOME upstream wants 1.8.1 snapshots for use for GNOME stuff (what crucial bug is in 1.8.0.x)
Comment 11 Bernard Cafarelli gentoo-dev 2007-01-07 21:04:56 UTC
It's just a hunch (did not find any relevant post from gnome yet), but I think they want 1.8.1 because this will be the branch based on the same gecko as firefox2: current 1.8.0.x are all based on the same gecko branch code as the Firefox 1.5.0.x series
From:
http://wiki.mozilla.org/XULRunner:Roadmap
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-01-26 02:05:49 UTC
Ultimately, xulrunner stabilization is up to the mozilla herd.  I use several gnome apps built against it via the overlay and in portage, and it's been stable for me.
Comment 13 Antony Mistretta 2007-02-14 09:28:24 UTC
(In reply to comment #6)
> New yelp (2.16.2) also works fine with this ebuild (tested with xulrunner)
> 

(In reply to comment #6)
> New yelp (2.16.2) also works fine with this ebuild (tested with xulrunner)
> 

As for me I can't compile yelp 2.6.12 because of a gecko error. I have Firefox 2.0.0.1 and Epiphany 2.6.12 installed, no Seamonkey and no Xulrunner.

...
checking whether we have a gtk 2 gecko build... configure: error: This program needs a gtk 2 gecko build

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gnome-extra/yelp-2.16.2/work/yelp-2.16.2/config.log

!!! ERROR: gnome-extra/yelp-2.16.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1738:   Called src_compile
  ebuild.sh, line 1304:   Called gnome2_src_compile
  gnome2.eclass, line 70:   Called gnome2_src_configure
  gnome2.eclass, line 66:   Called econf '--enable-man' '--enable-info' '--with-mozilla=firefox'
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

My emerge --info:

Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 01:47:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inf.elte.hu/"
LANG="it_IT.UTF-8"
LINGUAS="it"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/adunanza /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa arts asf beagle berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr flac fortran gdbm gif gnome gpm gtk gtk2 hal iconv ipv6 isdnlog jack jpeg kde libg++ libnotify lm_sensors mad midi mikmod mono mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xine xorg zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I'm emerging the latest Xulrunner, let's see if this solves my problem. But I'd like not to keep this package, since it is useless for me.
Comment 14 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-14 16:09:20 UTC
Are you sure you have 2.0.0.1., and not a 3.0 alpha?  That's the error that yelp (and all other gnome gecko programs) give when built against the 3.0 alphas.  I have yelp 2.16.2 built fine against firefox 2.0.0.1 here on my stable machine.
Comment 15 Antony Mistretta 2007-02-16 09:43:20 UTC
(In reply to comment #14)
> Are you sure you have 2.0.0.1., and not a 3.0 alpha?  That's the error that
> yelp (and all other gnome gecko programs) give when built against the 3.0
> alphas.  I have yelp 2.16.2 built fine against firefox 2.0.0.1 here on my
> stable machine.
> 

Thanks for your reply. Yes, I am quite sure: this is my eix firefox$

[I] www-client/mozilla-firefox 
     Available versions:  1.5.0.7 1.5.0.8 1.5.0.9 ~1.5.0.9-r1 2.0.0.1 ~2.0.0.1-r2
     Installed:           2.0.0.1(22:49:34 27/12/2006)(-debug -filepicker gnome ipv6 -java -linguas_ar -linguas_bg -linguas_ca -linguas_cs -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_es -linguas_es_AR -linguas_es_ES -linguas_eu -linguas_fi -linguas_fr -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gu -linguas_gu_IN -linguas_he -linguas_hu linguas_it -linguas_ja -linguas_ka -linguas_ko -linguas_ku -linguas_lt -linguas_mk -linguas_mn -linguas_nb -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_ru -linguas_sk -linguas_sl -linguas_sv -linguas_sv_SE -linguas_tr -linguas_zh -linguas_zh_CN -linguas_zh_TW -mozbranding -mozdevelop -moznopango -restrict-javascript -xforms -xinerama -xprint)
     Homepage:            http://www.mozilla.org/projects/firefox/
     Description:         Firefox Web Browser

Comment 16 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-16 15:52:17 UTC
Odd.  It's built with the gnome use flag, so it should have gecko-gtk...  I think you'll have to talk to the mozilla guys about that one (prefereably in a different bug)
Comment 17 Antony Mistretta 2007-02-19 08:05:23 UTC
(In reply to comment #16)
> Odd.  It's built with the gnome use flag, so it should have gecko-gtk...  I
> think you'll have to talk to the mozilla guys about that one (prefereably in a
> different bug)
> 

Maybe you're right, but I see that the Mozilla Bugzilla lets me post new bugs about their products, while I have no problems with Firefox or else. Maybe there's something wrong in my Gentoo box (such as old config files that prevent successful build). Before annoying others I'll try to recompile Firefox. Meanwhile, thank you very much!

PS: By the way, the emerge of xulrunner made no difference.
Comment 18 Antony Mistretta 2007-02-19 08:58:17 UTC
That's it! I recompiled Firefox and Yelp built smoothly. Thanks again!
Comment 19 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-19 21:57:16 UTC
Sorry for the misunderstanding.  I didn't mean mozilla.org, I meant the mozilla herd in gentoo.
Comment 20 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-28 14:19:31 UTC
Yelp with xulrunner support is in the tree, although masked for testing with the rest of gnome 2.18 for now.