1 |
Package: firefox
|
2 |
Version: 1.0.8
|
3 |
Revision: 5
|
4 |
Architecture: powerpc
|
5 |
Description: Lightweight browser from mozilla.org
|
6 |
License: OSI-Approved
|
7 |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
|
8 |
Depends: <<
|
9 |
%N-shlibs (= %v-%r),
|
10 |
atk1-shlibs (>=1.6.0-1),
|
11 |
glib2-shlibs (>= 2.4.0-1),
|
12 |
gtk+2-shlibs,
|
13 |
libgettext3-shlibs,
|
14 |
libiconv,
|
15 |
pango1-xft2 (>= 1.4.0-1),
|
16 |
x11
|
17 |
<<
|
18 |
BuildConflicts: freetype, freetype-hinting
|
19 |
BuildDepends: <<
|
20 |
atk1 (>=1.6.0-1),
|
21 |
glib2-dev (>= 2.4.0-1),
|
22 |
gtk+2-dev,
|
23 |
libgettext3-dev,
|
24 |
libiconv-dev,
|
25 |
libidl2,
|
26 |
libjpeg,
|
27 |
libpng3,
|
28 |
pango1-xft2-dev (>= 1.4.0-1),
|
29 |
pkgconfig,
|
30 |
x11-dev
|
31 |
<<
|
32 |
Conflicts: <<
|
33 |
firefox,
|
34 |
firefox1.5,
|
35 |
firefox2
|
36 |
<<
|
37 |
Replaces: <<
|
38 |
firefox,
|
39 |
firefox1.5,
|
40 |
firefox2
|
41 |
<<
|
42 |
Source: http://ftp.mozilla.org/pub/mozilla.org/%n/releases/%v/source/%n-%v-source.tar.bz2
|
43 |
SourceDirectory: mozilla
|
44 |
Source-MD5: fda8175ccf756df346df5bc95bfb217f
|
45 |
PatchScript: <<
|
46 |
/usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1
|
47 |
/usr/bin/perl -pi -e 's,\@executable_path,%p/lib/%n,g' `/usr/bin/grep -lr @executable_path .`
|
48 |
<<
|
49 |
GCC: 3.3
|
50 |
CompileScript: <<
|
51 |
./configure %c
|
52 |
/usr/bin/make -w
|
53 |
<<
|
54 |
InstallScript: <<
|
55 |
#!/bin/sh -ev
|
56 |
|
57 |
/usr/bin/make -w install DESTDIR=%d
|
58 |
|
59 |
# Install NSS headers.
|
60 |
/bin/cp -R -L dist/public/nss %i/include/%n/nss
|
61 |
|
62 |
# These folders are redundant.
|
63 |
for f in %i/lib/%n/chrome/*.jar; do
|
64 |
/bin/rm -rf ${f/.jar/}
|
65 |
done
|
66 |
|
67 |
# Install the GNOME .desktop launcher.
|
68 |
/usr/bin/install -d -m 755 %i/share/applications
|
69 |
/usr/bin/install -c -m 644 fink/applications/* %i/share/applications/
|
70 |
|
71 |
# Install the GNOME pixmap for launcher
|
72 |
/usr/bin/install -d -m 755 %i/share/pixmaps
|
73 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/default.xpm %i/share/pixmaps/firefox.xpm
|
74 |
|
75 |
# install the Fink specific prefs file
|
76 |
/usr/bin/install -c -m 644 fink/prefs.js %i/lib/%n/defaults/pref/fink.js
|
77 |
|
78 |
# rename nspr.m4 to avoid clashes with other gecko installs
|
79 |
/bin/mv %i/share/aclocal/nspr.m4 %i/share/aclocal/nspr-%n.m4
|
80 |
<<
|
81 |
DocFiles: LEGAL LICENSE README.txt
|
82 |
SplitOff: <<
|
83 |
Package: %N-dev
|
84 |
Depends: <<
|
85 |
%N-shlibs (= %v-%r),
|
86 |
glib2-shlibs,
|
87 |
libgettext3-shlibs,
|
88 |
libiconv,
|
89 |
libidl2-shlibs
|
90 |
<<
|
91 |
Conflicts: <<
|
92 |
firefox-dev,
|
93 |
firefox1.5-dev,
|
94 |
firefox2-dev
|
95 |
<<
|
96 |
Replaces: <<
|
97 |
firefox-dev,
|
98 |
firefox1.5-dev,
|
99 |
firefox2-dev
|
100 |
<<
|
101 |
BuildDependsOnly: true
|
102 |
Description: Lightweight browser from mozilla.org
|
103 |
DocFiles: LEGAL LICENSE README.txt
|
104 |
Files: bin/firefox-config include lib/pkgconfig lib/%N/xp* share/aclocal share/idl
|
105 |
<<
|
106 |
SplitOff2: <<
|
107 |
Package: %N-shlibs
|
108 |
Depends: <<
|
109 |
atk1-shlibs,
|
110 |
glib2-shlibs,
|
111 |
gtk+2-shlibs,
|
112 |
libgettext3-shlibs,
|
113 |
libiconv,
|
114 |
libjpeg-shlibs,
|
115 |
libpng3-shlibs,
|
116 |
pango1-xft2-shlibs,
|
117 |
x11-shlibs
|
118 |
<<
|
119 |
Description: Lightweight browser from mozilla.org
|
120 |
DocFiles: LEGAL LICENSE README.txt
|
121 |
Files: lib/%N/lib*.dylib lib/%N/chrome lib/%N/components lib/%N/greprefs lib/%N/res
|
122 |
Shlibs: <<
|
123 |
%p/lib/%N/libgkgfx.dylib 1.0.0 %n (>= 0.10.1-4)
|
124 |
%p/lib/%N/libgtkembedmoz.dylib 1.0.0 %n (>= 0.10.1-4)
|
125 |
%p/lib/%N/libgtkxtbin.dylib 1.0.0 %n (>= 0.10.1-4)
|
126 |
%p/lib/%N/libjsj.dylib 1.0.0 %n (>= 0.10.1-4)
|
127 |
%p/lib/%N/libmozjs.dylib 1.0.0 %n (>= 0.10.1-4)
|
128 |
%p/lib/%N/libnspr4.dylib 1.0.0 %n (>= 0.10.1-4)
|
129 |
%p/lib/%N/libnss3.dylib 1.0.0 %n (>= 0.10.1-4)
|
130 |
%p/lib/%N/libplc4.dylib 1.0.0 %n (>= 0.10.1-4)
|
131 |
%p/lib/%N/libplds4.dylib 1.0.0 %n (>= 0.10.1-4)
|
132 |
%p/lib/%N/libsmime3.dylib 1.0.0 %n (>= 0.10.1-4)
|
133 |
%p/lib/%N/libsoftokn3.dylib 1.0.0 %n (>= 0.10.1-4)
|
134 |
%p/lib/%N/libssl3.dylib 1.0.0 %n (>= 0.10.1-4)
|
135 |
%p/lib/%N/libxlibrgb.dylib 1.0.0 %n (>= 0.10.1-4)
|
136 |
%p/lib/%N/libxpcom.dylib 1.0.0 %n (>= 0.10.1-4)
|
137 |
%p/lib/%N/libxpcom_compat.dylib 1.0.0 %n (>= 0.10.1-4)
|
138 |
%p/lib/%N/libxpistub.dylib 1.0.0 %n (>= 0.10.1-4)
|
139 |
<<
|
140 |
<<
|
141 |
PostInstScript: <<
|
142 |
# register the default chrome and extensions into the browser database
|
143 |
if [ configure = "$1" ]; then
|
144 |
MOZILLA_FIVE_HOME=%p/lib/%n
|
145 |
export DYLD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
|
146 |
/usr/bin/sudo -H %p/bin/firefox -register || true
|
147 |
fi
|
148 |
<<
|
149 |
PreRmScript: <<
|
150 |
# clear out those leftovers that were created by registering
|
151 |
MOZILLA_FIVE_HOME=%p/lib/%n
|
152 |
/bin/rm -f ${MOZILLA_FIVE_HOME}/chrome/*.rdf
|
153 |
/bin/rm -rf ${MOZILLA_FIVE_HOME}/chrome/overlayinfo
|
154 |
/bin/rm -f ${MOZILLA_FIVE_HOME}/components/*.dat
|
155 |
/bin/rm -f ${MOZILLA_FIVE_HOME}/components.ini
|
156 |
/bin/rm -rf ${MOZILLA_FIVE_HOME}/extensions
|
157 |
<<
|
158 |
Homepage: http://www.mozilla.org/products/firefox/
|
159 |
DescDetail: <<
|
160 |
Firefox is a free, open-source web browser for Windows, Linux and
|
161 |
MacOS X and is based on the Mozilla codebase. It is small, fast and easy
|
162 |
to use, and offers many advantages over Internet Explorer, such as the
|
163 |
ability to block pop-up windows.
|
164 |
<<
|
165 |
DescUsage: <<
|
166 |
firefox
|
167 |
|
168 |
There is an unresolved issue in upgrading from 1.0 to 1.0.x that leads
|
169 |
to a bus error on start. If you get this crash on start, erase the file
|
170 |
"~/.mozilla/firefox/randomstring.default/xpti.dat". Then restart
|
171 |
Firefox and everything should work. You do NOT need to erase your
|
172 |
entire profile.
|
173 |
<<
|
174 |
DescPackaging: <<
|
175 |
Moved chrome* components* greprefs* res* to -shlibs because gecko needs
|
176 |
those files when loaded by a third party.
|
177 |
<<
|
178 |
DescPort: <<
|
179 |
GTK+2 build of the Mozilla Firefox browser for Mac OS X/X11. Compiled
|
180 |
without built-in support for GNOME (except for an app launcher button).
|
181 |
|
182 |
Patch includes fix for bug #257773, which allows building on OS X/X11
|
183 |
w/out the need for setting missing LDFLAGS.
|
184 |
|
185 |
Building with freetype2 is disabled because of incompatabilities with
|
186 |
Xorg X11 (Apple's X11 and Xfree4.4 work though).
|
187 |
|
188 |
ac_add_options --enable-macos-target=10.3 in patch file (.mozconfig) is
|
189 |
for the minimum OS version that this will compile in.
|
190 |
|
191 |
Not functional on intel. See:
|
192 |
https://sourceforge.net/tracker/index.php?func=detail&aid=1459616&group_id=17203&atid=117203
|
193 |
<<
|