Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120310 - Could Yelp use xulrunner instead of firefox or seamonkey?
Summary: Could Yelp use xulrunner instead of firefox or seamonkey?
Status: RESOLVED DUPLICATE of bug 155231
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 08:12 UTC by Brent Kelly
Modified: 2006-11-15 06:03 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Kelly 2006-01-25 08:12:13 UTC
I prefer to use mozilla-firefox-bin as my browser because it uses the actual firefox artwork, but Yelp requires a source version of either mozilla or firefox to handle its rendering.  To keep my firefox-bin possibly confilicting with a source firefox, I keep a big and bloaty source mozilla installed so that yelp (and I believe another program) can use it to compile (and/or run?) with.

My question is this: is it possible for yelp to use gecko-sdk to handle rendering, since I already have it for mplayerplug-in, or is this a question better asked upstream?
Comment 1 Simon Ruggier 2006-01-29 03:55:59 UTC
I was about to file a similar bug just now, wondering why yelp depends on a source version of Firefox if I have mozilla-firefox-bin installed.  Perhaps this could be improved upon.
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-29 10:54:14 UTC
Firefox-bin does not provide the needed libraries and headers.  The source version does, however, it is generally a bad idea to link against Firefox as it does not guarantee API/ABI compatibility with the actual GECKO engine.

That being said, using gecko-sdk would be a good idea.  I will test and try to get this done soon.
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-02-16 19:34:01 UTC
I put a build into our overlay for 2.14 ( that builds against gecko-sdk ) and submitted the patch upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=331495
Comment 4 Gergan Penkov 2006-02-19 08:43:44 UTC
Could you please revert this one in gnome-eperimental, as this will not work if you don't have mozilla. 
The problem is that gecko-sdk is not exported to the ldpath and linking against it does not set the rpath as is the case with mozilla and firefox, which will result in problems after that and why someone would want to link against gecko-sdk?
as upstream said the correct way is to use xulrunner if and when it is stable - as this should resolve the problems with finding the correct gtkmozembed, hopefully.
you could read more here http://benjamin.smedbergs.us/blog/2005-12-23/whats-coming-for-gtkmozembed/
and there is the question if yelp and all the others support xulrunner
Comment 5 ShadowHawkBV 2006-03-03 04:25:44 UTC
The e-build also has trouble with having seamonkey-1.0 built instead of mozilla.  I've tried editing the ebuild so it uses seamonkey as the dependencie, but it fails with this error:

checking YELP_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/freetype2
checking YELP_LIBS... -Wl,--export-dynamic -pthread -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lexslt -lxslt -lgcrypt -lgpg-error -lxml2 -lz -lm
checking for gsed... /bin/sed
checking which gecko to use... mozilla
checking for mozilla-gtkmozembed... Package mozilla-gtkmozembed was not found in the pkg-config search path. Perhaps you should add the directory containing `mozilla-gtkmozembed.pc' to the PKG_CONFIG_PATH environment variable No package 'mozilla-gtkmozembed' found
configure: error: Library requirements (mozilla-gtkmozembed) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

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

!!! ERROR: gnome-extra/yelp-2.12.2 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  ebuild.sh, line 1648:   Called gnome2_src_compile
  gnome2.eclass, line 47:   Called gnome2_src_configure
  gnome2.eclass, line 41:   Called econf 'compile' '--enable-man' '--enable-info' '--with-mozilla=mozilla'
emerge --info

Portage 2.1_pre5-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
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 -mtune=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /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 -mtune=k8 -pipe"
DISTDIR="/home/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://gentoo.osuosl.org/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/home/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 avi berkdb bitmap-fonts cairo cdr crypt cups dbus divx4linux doc dvd dvdr eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib ipv6 java jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nocd nptl nptlonly nsplugin offensive oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales xpm xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev input_devices_joystick kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-03-03 10:35:55 UTC
@Gergan: a new version has been put in the overlay that reverts the recent change w/gecko-sdk.

@ShadowHawk: we will be testing integration w/seamonkey soon.
Comment 7 Jory A. Pratt 2006-05-13 17:22:48 UTC
xulrunner support is at least a month out, unless gnome herd wants to take xulrunner under there wing mozilla herd will not be doing anything of major use with it until sometime next month if not later.
Comment 8 Jory A. Pratt 2006-05-21 11:11:10 UTC
This is gonna be a while still, xulrunner is under heavy development right now and is not ready for production. I would close this as later.
Comment 9 Jory A. Pratt 2006-06-10 18:12:45 UTC
For the curious xulrunner is in the tree. It is p.masked as I have yet to figure out how to handle the java dep for each independant arch such as ppc/ia64 and so on. Yelp does build against xulrunner but seamonkey will have be to drop'd in before xulrunner. Mozilla will be removed from tree within next few weeks in favor of seamonkey as mozilla will not be providing any further updates for the 1.7.x branch.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-15 07:19:44 UTC
good to news :)

So the rigth state for this bug is LATER rigth ?
Comment 11 Jory A. Pratt 2006-06-28 17:51:33 UTC
later is right ... just so everyone knows those xulrunner is no small app ... it is gonna take same amount of time and space as mozilla and firefox do.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-28 20:08:45 UTC
from my understanding, if mozilla and consorts where using xulrunner it would cut compilation times for each program using xul.
Comment 13 John N. Laliberte (RETIRED) gentoo-dev 2006-07-03 06:39:22 UTC
we'll do this when xulrunner is ready.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 06:03:20 UTC
Reopen to dupe.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 06:03:51 UTC

*** This bug has been marked as a duplicate of 155231 ***