OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 12-Jun-2005 16:27:13
Branch: HEAD Handle: 2005061215271300
Added files:
openpkg-src/firefox firefox-init.tar.gz
Modified files:
openpkg-src/firefox firefox.spec
Log:
Ok, finally get the Theme and Extension managers working in Firefox
by adding a tarball which contains those files which Firefox creates
under <prefix>/lib/firefox/ once it is run as "root" and after at least
once opening the Theme and Extension managers. They are important to
just exist (and do not have to be writable) to allow non-root users to
actually use the Theme and Extension managers at all.
Summary:
Revision Changes Path
1.1 BLOB openpkg-src/firefox/firefox-init.tar.gz
1.22 +9 -2 openpkg-src/firefox/firefox.spec
____________________________________________________________________________
(cd openpkg-src/firefox && \
uudecode <<'@@ .' && \
xdelta patch firefox-init.tar.gz.xdelta /dev/null firefox-init.tar.gz && \
rm -f firefox-init.tar.gz.xdelta)
Index: openpkg-src/firefox/firefox-init.tar.gz
============================================================================
begin 664 firefox-init.tar.gz.xdelta
M)5A$6C`P-"4````(`!$`$`````````````````````!S:&EE;&$N-S`W.3`N
M;G5L;'-H:65L82XW,#<Y,"YA;&[EMAIL PROTECTED]"```
M``````-C8&[EMAIL PROTECTED]@,[EMAIL PROTECTED]&SAEO?CC5`<[EMAIL
PROTECTED]<````````
)52581%HP,#0E
`
end
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/firefox/firefox.spec
============================================================================
$ cvs diff -u -r1.21 -r1.22 firefox.spec
--- openpkg-src/firefox/firefox.spec 12 Jun 2005 07:25:57 -0000 1.21
+++ openpkg-src/firefox/firefox.spec 12 Jun 2005 14:27:13 -0000 1.22
@@ -43,8 +43,9 @@
Source0:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
Source1: firefox.sh
Source2: firefox.pod
-Source3: about.png
-Source4: aboutCredits.png
+Source3: firefox-init.tar.gz
+Source4: about.png
+Source5: aboutCredits.png
Patch0: firefox.patch
# build information
@@ -257,6 +258,12 @@
( cd dist/bin && %{l_tar} -chf - . ) |\
( cd $RPM_BUILD_ROOT%{l_prefix}/lib/firefox && %{l_tar} -xf - ) ||
exit $?
+ # add initialization files
+ ( cd $RPM_BUILD_ROOT%{l_prefix}/lib && \
+ %{l_tar} -xf %{SOURCE firefox-init.tar.gz} && \
+ rm -f firefox/README
+ ) || exit $?
+
# add startup convenience wrapper
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE firefox.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/firefox
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]