1 |
Package: firefox
|
2 |
Version: 1.0.4
|
3 |
Revision: 1
|
4 |
Description: Lightweight browser from mozilla.org
|
5 |
License: OSI-Approved
|
6 |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
|
7 |
Depends: %N-shlibs (>= %v-%r), libpng3-shlibs, libjpeg-shlibs, glib2-shlibs (>= 2.4.0-1), atk1-shlibs (>=1.6.0-1), pango1-xft2 (>= 1.4.0-1), gtk+2, orbit-shlibs, libiconv, x11, gettext, libidl2-shlibs, pkgconfig
|
8 |
BuildDepends: libpng3, libjpeg, glib2-dev (>= 2.4.0-1), atk1 (>=1.6.0-1), pango1-xft2-dev (>= 1.4.0-1), gtk+2-dev, orbit-dev, libiconv-dev, x11-dev, gettext-dev, libidl2
|
9 |
Source: http://ftp.mozilla.org/pub/mozilla.org/%n/releases/%v/source/%n-%v-source.tar.bz2
|
10 |
SourceDirectory: mozilla
|
11 |
Source-MD5: 0f5d0586750fde79ba98ecf3ee4425a7
|
12 |
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n-%v-%r.patch | patch -p1
|
13 |
GCC: 3.3
|
14 |
CompileScript: <<
|
15 |
./configure %c
|
16 |
make -w
|
17 |
<<
|
18 |
InstallScript: <<
|
19 |
#!/bin/sh
|
20 |
|
21 |
make install DESTDIR=%d
|
22 |
|
23 |
# Install NSS headers.
|
24 |
/bin/cp -R -L dist/public/nss %i/include/firefox/nss
|
25 |
|
26 |
# These folders are redundant.
|
27 |
for f in %i/lib/firefox/chrome/*.jar; do
|
28 |
rm -rf ${f/.jar/}
|
29 |
done
|
30 |
|
31 |
# Install the GNOME .desktop launcher.
|
32 |
install -d -m 755 %i/share/applications
|
33 |
install -c -m 644 fink/applications/* %i/share/applications/
|
34 |
|
35 |
# install the Fink specific prefs file
|
36 |
install -c -m 644 fink/prefs.js %i/lib/firefox/defaults/pref/fink.js
|
37 |
<<
|
38 |
DocFiles: LEGAL LICENSE README.txt
|
39 |
SplitOff: <<
|
40 |
Package: %N-dev
|
41 |
Depends: %N (>= %v-%r), libidl2-shlibs, pkgconfig
|
42 |
Conflicts: mozilla-dev
|
43 |
BuildDependsOnly: true
|
44 |
Description: Lightweight browser from mozilla.org
|
45 |
DocFiles: LEGAL LICENSE README.txt
|
46 |
Files: bin/firefox-config include lib/pkgconfig lib/firefox/xp* share/aclocal share/idl
|
47 |
<<
|
48 |
SplitOff2: <<
|
49 |
Package: %N-shlibs
|
50 |
Depends: gtk+2
|
51 |
Description: Lightweight browser from mozilla.org
|
52 |
DocFiles: LEGAL LICENSE README.txt
|
53 |
Files: lib/firefox/lib*.dylib
|
54 |
Shlibs: <<
|
55 |
%p/lib/firefox/libgkgfx.dylib 1.0.0 %n (>= 0.10.1-4)
|
56 |
%p/lib/firefox/libgtkembedmoz.dylib 1.0.0 %n (>= 0.10.1-4)
|
57 |
%p/lib/firefox/libgtkxtbin.dylib 1.0.0 %n (>= 0.10.1-4)
|
58 |
%p/lib/firefox/libjsj.dylib 1.0.0 %n (>= 0.10.1-4)
|
59 |
%p/lib/firefox/libmozjs.dylib 1.0.0 %n (>= 0.10.1-4)
|
60 |
%p/lib/firefox/libnspr4.dylib 1.0.0 %n (>= 0.10.1-4)
|
61 |
%p/lib/firefox/libnss3.dylib 1.0.0 %n (>= 0.10.1-4)
|
62 |
%p/lib/firefox/libplc4.dylib 1.0.0 %n (>= 0.10.1-4)
|
63 |
%p/lib/firefox/libplds4.dylib 1.0.0 %n (>= 0.10.1-4)
|
64 |
%p/lib/firefox/libsmime3.dylib 1.0.0 %n (>= 0.10.1-4)
|
65 |
%p/lib/firefox/libsoftokn3.dylib 1.0.0 %n (>= 0.10.1-4)
|
66 |
%p/lib/firefox/libssl3.dylib 1.0.0 %n (>= 0.10.1-4)
|
67 |
%p/lib/firefox/libxlibrgb.dylib 1.0.0 %n (>= 0.10.1-4)
|
68 |
%p/lib/firefox/libxpcom.dylib 1.0.0 %n (>= 0.10.1-4)
|
69 |
%p/lib/firefox/libxpcom_compat.dylib 1.0.0 %n (>= 0.10.1-4)
|
70 |
%p/lib/firefox/libxpistub.dylib 1.0.0 %n (>= 0.10.1-4)
|
71 |
<<
|
72 |
<<
|
73 |
PostInstScript: <<
|
74 |
# register the default chrome and extensions into the browser database
|
75 |
if [ configure = "$1" ]; then
|
76 |
MOZILLA_FIVE_HOME=%p/lib/firefox
|
77 |
export DYLD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
|
78 |
sudo -H %p/bin/firefox -register || true
|
79 |
fi
|
80 |
<<
|
81 |
PreRmScript: <<
|
82 |
# If removing, clear out those leftovers that were created by registering
|
83 |
if [ upgrade != "$1" ]; then
|
84 |
MOZILLA_FIVE_HOME=%p/lib/firefox
|
85 |
rm -f ${MOZILLA_FIVE_HOME}/chrome/*.rdf
|
86 |
rm -rf ${MOZILLA_FIVE_HOME}/chrome/overlayinfo
|
87 |
rm -f ${MOZILLA_FIVE_HOME}/components/*.dat
|
88 |
rm -f ${MOZILLA_FIVE_HOME}/components.ini
|
89 |
rm -rf ${MOZILLA_FIVE_HOME}/extensions
|
90 |
fi
|
91 |
<<
|
92 |
#PostRmScript: <<
|
93 |
# If upgrading, clear out the registered chrome files from the previous
|
94 |
# version. Not necessary since format is identical.
|
95 |
# if [ upgrade = "$1" ]; then
|
96 |
# MOZILLA_FIVE_HOME=%p/lib/firefox
|
97 |
# rm -rf ${MOZILLA_FIVE_HOME}/chrome/overlayinfo
|
98 |
# rm -f ${MOZILLA_FIVE_HOME}/chrome/*.rdf
|
99 |
# rm -f ${MOZILLA_FIVE_HOME}/components.ini
|
100 |
# rm -f ${MOZILLA_FIVE_HOME}/components/*.dat
|
101 |
# fi
|
102 |
#<<
|
103 |
Homepage: http://www.mozilla.org/products/firefox/
|
104 |
DescDetail: <<
|
105 |
Firefox is a free, open-source web browser for Windows, Linux and
|
106 |
MacOS X and is based on the Mozilla codebase. It is small, fast and easy
|
107 |
to use, and offers many advantages over Internet Explorer, such as the
|
108 |
ability to block pop-up windows.
|
109 |
<<
|
110 |
DescUsage: <<
|
111 |
firefox
|
112 |
|
113 |
There is an unresolved issue in upgrading from 1.0 to 1.0.x that leads
|
114 |
to a bus error on start. If you get this crash on start, erase the file
|
115 |
"~/.mozilla/firefox/randomstring.default/xpti.dat". Then restart
|
116 |
Firefoxand everything should work. You do NOT need to erase your
|
117 |
entire profile.
|
118 |
<<
|
119 |
#DescPackaging: <<
|
120 |
#<<
|
121 |
DescPort: <<
|
122 |
GTK+2 build of the Mozilla Firefox browser for Mac OS X/X11. Compiled
|
123 |
without built-in support for GNOME (except for an app launcher button).
|
124 |
|
125 |
Patch includes fix for bug #257773, which allows building on OS X/X11
|
126 |
w/out the need for setting missing LDFLAGS.
|
127 |
|
128 |
Building with freetype2 is disabled because of incompatabilities with
|
129 |
Xorg X11 (Apple's X11 and Xfree4.4 work though). FF1.1 should already
|
130 |
have fixed this in the trunk.
|
131 |
|
132 |
ac_add_options --enable-macos-target=10.3 in patch file (.mozconfig) is
|
133 |
for the minimum OS version that this will compile in.
|
134 |
<<
|