From dc296115460074e556ec1e8ed362770cfead9341 Mon Sep 17 00:00:00 2001 From: Brett Goulder Date: Thu, 3 Apr 2008 13:09:35 -0400 Subject: [PATCH] xulrunner: Add post-install script and use system nss/nspr. --- xulrunner/.footprint | 113 ----------------------------------------- xulrunner/.md5sum | 2 +- xulrunner/Pkgfile | 4 +- xulrunner/mozconfig | 2 + xulrunner/post-install | 4 ++ 5 files changed, 9 insertions(+), 116 deletions(-) create mode 100755 xulrunner/post-install diff --git a/xulrunner/.footprint b/xulrunner/.footprint index 534c7bf61..5b9913775 100644 --- a/xulrunner/.footprint +++ b/xulrunner/.footprint @@ -1292,106 +1292,6 @@ drwxr-xr-x root/root usr/include/xulrunner/nkcache/ -rw-r--r-- root/root usr/include/xulrunner/nsXPCOMCID.h -rw-r--r-- root/root usr/include/xulrunner/nsXPCOMGlue.h -rw-r--r-- root/root usr/include/xulrunner/nscore.h -drwxr-xr-x root/root usr/include/xulrunner/nspr/ -drwxr-xr-x root/root usr/include/xulrunner/nspr/md/ --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_aix.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_beos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_bsdi.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_darwin.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_dgux.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_freebsd.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_hpux.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_irix.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_linux.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_macos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_ncr.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_nec.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_netbsd.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_nextstep.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_nspr_pthread.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_nto.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_openbsd.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_openvms.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_os2.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_os2_errors.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_osf1.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_pcos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_pth.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_qnx.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_reliantunix.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_rhapsody.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_riscos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_scoos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_solaris.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_sony.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_sunos4.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_unix_errors.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_unixos.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_unixware.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_win16.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_win32_errors.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_win95.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/_winnt.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/prosdep.h --rw-r--r-- root/root usr/include/xulrunner/nspr/md/sunos4.h --rw-r--r-- root/root usr/include/xulrunner/nspr/nspr.h -drwxr-xr-x root/root usr/include/xulrunner/nspr/obsolete/ --rw-r--r-- root/root usr/include/xulrunner/nspr/obsolete/pralarm.h --rw-r--r-- root/root usr/include/xulrunner/nspr/obsolete/probslet.h --rw-r--r-- root/root usr/include/xulrunner/nspr/obsolete/protypes.h --rw-r--r-- root/root usr/include/xulrunner/nspr/obsolete/prsem.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plarena.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plarenas.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plbase64.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plerror.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plgetopt.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plhash.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plresolv.h --rw-r--r-- root/root usr/include/xulrunner/nspr/plstr.h --rw-r--r-- root/root usr/include/xulrunner/nspr/pratom.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prbit.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prclist.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prcmon.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prcountr.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prcpucfg.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prcvar.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prdtoa.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prenv.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prerr.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prerror.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prinet.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prinit.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prinrval.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prio.h --rw-r--r-- root/root usr/include/xulrunner/nspr/pripcsem.h -drwxr-xr-x root/root usr/include/xulrunner/nspr/private/ --rw-r--r-- root/root usr/include/xulrunner/nspr/private/pprio.h --rw-r--r-- root/root usr/include/xulrunner/nspr/private/pprthred.h --rw-r--r-- root/root usr/include/xulrunner/nspr/private/prpriv.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prlink.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prlock.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prlog.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prlong.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prmem.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prmon.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prmwait.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prnetdb.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prolock.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prpdce.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prprf.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prproces.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prrng.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prrwlock.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prshm.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prshma.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prsystem.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prthread.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prtime.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prtpool.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prtrace.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prtypes.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prvrsion.h --rw-r--r-- root/root usr/include/xulrunner/nspr/prwin16.h -rw-r--r-- root/root usr/include/xulrunner/nsrootidl.h drwxr-xr-x root/root usr/include/xulrunner/oji/ -rw-r--r-- root/root usr/include/xulrunner/oji/ProxyJNI.h @@ -2272,19 +2172,8 @@ drwxr-xr-x root/root usr/lib/xulrunner/icons/ -rw-r--r-- root/root usr/lib/xulrunner/icons/document.png -rw-r--r-- root/root usr/lib/xulrunner/icons/mozicon16.xpm -rw-r--r-- root/root usr/lib/xulrunner/icons/mozicon50.xpm --rw-r--r-- root/root usr/lib/xulrunner/libfreebl3.chk --rwxr-xr-x root/root usr/lib/xulrunner/libfreebl3.so -rwxr-xr-x root/root usr/lib/xulrunner/libgtkembedmoz.so -rwxr-xr-x root/root usr/lib/xulrunner/libmozjs.so --rwxr-xr-x root/root usr/lib/xulrunner/libnspr4.so --rwxr-xr-x root/root usr/lib/xulrunner/libnss3.so --rwxr-xr-x root/root usr/lib/xulrunner/libnssckbi.so --rwxr-xr-x root/root usr/lib/xulrunner/libplc4.so --rwxr-xr-x root/root usr/lib/xulrunner/libplds4.so --rwxr-xr-x root/root usr/lib/xulrunner/libsmime3.so --rw-r--r-- root/root usr/lib/xulrunner/libsoftokn3.chk --rwxr-xr-x root/root usr/lib/xulrunner/libsoftokn3.so --rwxr-xr-x root/root usr/lib/xulrunner/libssl3.so -rwxr-xr-x root/root usr/lib/xulrunner/libxpcom.so -rwxr-xr-x root/root usr/lib/xulrunner/libxul.so -rwxr-xr-x root/root usr/lib/xulrunner/mozilla-xremote-client @@ -2462,8 +2351,6 @@ drwxr-xr-x root/root usr/lib/xulrunner/res/throbber/ -rwxr-xr-x root/root usr/lib/xulrunner/xulrunner-bin -rwxr-xr-x root/root usr/lib/xulrunner/xulrunner-stub drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/aclocal/ --rw-r--r-- root/root usr/share/aclocal/nspr.m4 drwxr-xr-x root/root usr/share/idl/ drwxr-xr-x root/root usr/share/idl/xulrunner/ -rw-r--r-- root/root usr/share/idl/xulrunner/XPCIDispatch.idl diff --git a/xulrunner/.md5sum b/xulrunner/.md5sum index a8845901a..b4a6856ed 100644 --- a/xulrunner/.md5sum +++ b/xulrunner/.md5sum @@ -1,2 +1,2 @@ -f9804667ed195c29f000155e41188f66 mozconfig +03bf82d57757b33358670162d27cceb5 mozconfig 3494ac7baf8047dc3a4f1a4b4ba9ca0c xulrunner-1.8.1.13-source.tar.bz2 diff --git a/xulrunner/Pkgfile b/xulrunner/Pkgfile index 358d7dafe..3b847341d 100644 --- a/xulrunner/Pkgfile +++ b/xulrunner/Pkgfile @@ -1,11 +1,11 @@ # Description: Mozilla Web Browser Component # URL: http://www.mozilla.com/firefox/ # Maintainer: Brett Goulder, predatorfreak at dcaf-security dot org. -# Depends on: libidl, gtk, dbus-glib, sqlite3, perl, python +# Depends on: libidl, gtk, perl, python name=xulrunner version=1.8.1.13 -release=2 +release=3 source=(http://gentoo.chem.wisc.edu/gentoo/distfiles/$name-$version-source.tar.bz2 \ mozconfig) diff --git a/xulrunner/mozconfig b/xulrunner/mozconfig index fadbddc23..78d1277f8 100644 --- a/xulrunner/mozconfig +++ b/xulrunner/mozconfig @@ -7,6 +7,8 @@ ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-bz2 +ac_add_options --with-system-nss +ac_add_options --with-system-nspr ac_add_options --with-pthreads ac_add_options --disable-tests ac_add_options --disable-debug diff --git a/xulrunner/post-install b/xulrunner/post-install new file mode 100755 index 000000000..c2af5f9d6 --- /dev/null +++ b/xulrunner/post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +/bin/echo "/usr/lib/xulrunner" >> /etc/ld.so.conf +/sbin/ldconfig