firefox and enabled extensions

Arkadiusz Miskiewicz arekm at pld-linux.org
Thu Feb 24 19:06:41 CET 2005


On Thursday 24 of February 2005 15:56, Kacper Kornet wrote:
> On Thu, Feb 24, 2005 at 10:41:08AM +0100, Arkadiusz Miskiewicz wrote:
> > Our spec contains
> > --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalc
> >hardet,webservices,inspector,gnomevfs,negotiateauth but I don't see these
> > extensions enabled in our binary build. Something is not right here.
> >
> > For example there should be web development options in tools menu like:
> > DOM inspector but these are not there.
>
> Uncommenting of %{_firefoxdir}/chrome/inspector.jar in the %files section
> helps:
Ahh!

btw. this change
-TDIR=`mktemp -d /tmp/mozilla-firefox-pkg.XXXXXX` || exit 1
-HOME="$TDIR"
-export TDIR HOME
-
-mkdir -p $TDIR/.mozilla/firefox/default
-cp -rf %{_firefoxdir}/defaults/profile/* $TDIR/.mozilla/firefox/default
-
-# preseed profiles.ini
-cat > $TDIR/.mozilla/firefox/profiles.ini <<EOF
-[General]
-StartWithLastProfile=1
-
-[Profile0]
-Name=default
-IsRelative=1
-Path=default
-
-EOF
-
-
-( \
-       /usr/X11R6/bin/Xvfb :69 -nolisten tcp -ac -terminate >/dev/null 2>&1 & 
\
-       xvfb_pid=${!}; \
-       DISPLAY=:69 %{_firefoxdir}/firefox-bin -list-global-items >/dev/null 
2>&1 & \
-       sleep 15; \
-       kill ${xvfb_pid} >/dev/null 2>&1 \
-)
-
-rm -rf $TDIR
+%{_firefoxdir}/firefox -register

broke firefox for me. Now after rpm -e mozilla-firefox; rm 
-rf /usr/lib/mozilla-firefox; mozilla-firefox it does something and then 
ends.

rm -rf part is important because there are some files left afer rpm -e (and 
doesn't seem to be marked as %ghost).

-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/




More information about the pld-devel-en mailing list