1 |
Package: firefox1.5
|
2 |
Version: 1.5.0.12
|
3 |
Revision: 1
|
4 |
Description: Lightweight browser from mozilla.org
|
5 |
License: OSI-Approved
|
6 |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
|
7 |
Depends: <<
|
8 |
%N-shlibs (= %v-%r),
|
9 |
atk1-shlibs (>=1.12.2-1),
|
10 |
glib2-shlibs (>= 2.12.0-1),
|
11 |
gtk+2-shlibs (>= 2.6.10-1),
|
12 |
libgettext3-shlibs,
|
13 |
libiconv,
|
14 |
pango1-xft2-shlibs (>= 1.8.0-1),
|
15 |
x11
|
16 |
<<
|
17 |
BuildConflicts: freetype, freetype-hinting
|
18 |
BuildDepends: <<
|
19 |
atk1 (>=1.12.2-1),
|
20 |
glib2-dev (>= 2.12.0-1),
|
21 |
gtk+2-dev (>= 2.6.10-1),
|
22 |
libgettext3-dev,
|
23 |
libiconv-dev,
|
24 |
libidl2 (>= 0.8.7-1),
|
25 |
libjpeg,
|
26 |
libpng3 (>= 1.2.8-1),
|
27 |
pango1-xft2-dev (>= 1.8.0-1),
|
28 |
pkgconfig,
|
29 |
x11-dev,
|
30 |
freetype219
|
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/firefox/releases/%v/source/firefox-%v-source.tar.bz2
|
43 |
SourceDirectory: mozilla
|
44 |
Source-MD5: dd5add97bd75287817c820ef856a30ed
|
45 |
PatchScript: <<
|
46 |
/usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | /usr/bin/patch -p1
|
47 |
### hardcode paths inside dylibs so that programs linking to them can see them
|
48 |
/usr/bin/perl -pi -e 's,\@executable_path,%p/lib/%n,g' `/usr/bin/grep -lr @executable_path .`
|
49 |
### -no-cpp-precomp crashes out on OS X >= 10.5
|
50 |
/usr/bin/perl -pi -e 's,-no-cpp-precomp,,' configure
|
51 |
<<
|
52 |
#NoSetCXX: true
|
53 |
GCC: 3.3
|
54 |
CompileScript: <<
|
55 |
#!/bin/sh -ev
|
56 |
export PATH='%p/bin:%p/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin'
|
57 |
./configure %c
|
58 |
/usr/bin/make -w
|
59 |
<<
|
60 |
InstallScript: <<
|
61 |
#!/bin/sh -ev
|
62 |
|
63 |
/usr/bin/make -w install DESTDIR=%d
|
64 |
|
65 |
# Install NSS headers.
|
66 |
/bin/cp -R -L dist/public/nss %i/include/%n/nss
|
67 |
|
68 |
# Install the GNOME .desktop launcher.
|
69 |
/usr/bin/install -d -m 755 %i/share/applications
|
70 |
/usr/bin/install -c -m 644 fink/applications/* %i/share/applications/
|
71 |
|
72 |
# Install the GNOME pixmap for launcher
|
73 |
/usr/bin/install -d -m 755 %i/share/pixmaps
|
74 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/default.xpm %i/share/pixmaps/firefox.xpm
|
75 |
|
76 |
# install the Fink specific prefs file
|
77 |
/usr/bin/install -c -m 644 fink/fink.js %i/lib/%n/defaults/pref/fink.js
|
78 |
|
79 |
# rename nspr.m4 to avoid clashes with other gecko installs
|
80 |
/bin/mv %i/share/aclocal/nspr.m4 %i/share/aclocal/nspr-%n.m4
|
81 |
<<
|
82 |
DocFiles: LEGAL LICENSE README.txt
|
83 |
SplitOff: <<
|
84 |
Package: %N-dev
|
85 |
Depends: <<
|
86 |
%N-shlibs (= %v-%r),
|
87 |
glib2-shlibs (>= 2.12.0-1),
|
88 |
libgettext3-shlibs,
|
89 |
libiconv,
|
90 |
libidl2-shlibs (>= 0.8.7-1)
|
91 |
<<
|
92 |
Conflicts: <<
|
93 |
firefox-dev,
|
94 |
firefox1.5-dev,
|
95 |
firefox2-dev
|
96 |
<<
|
97 |
Replaces: <<
|
98 |
firefox-dev,
|
99 |
firefox1.5-dev,
|
100 |
firefox2-dev
|
101 |
<<
|
102 |
BuildDependsOnly: true
|
103 |
Description: Lightweight browser from mozilla.org
|
104 |
DocFiles: LEGAL LICENSE README.txt
|
105 |
Files: bin/firefox-config include lib/pkgconfig lib/%N/xp* share/aclocal share/idl
|
106 |
<<
|
107 |
SplitOff2: <<
|
108 |
Package: %N-shlibs
|
109 |
Depends: <<
|
110 |
atk1-shlibs (>=1.12.2-1),
|
111 |
glib2-shlibs (>= 2.12.0-1),
|
112 |
gtk+2-shlibs (>= 2.6.10-1),
|
113 |
libgettext3-shlibs,
|
114 |
libiconv,
|
115 |
libjpeg-shlibs,
|
116 |
libpng3-shlibs (>= 1.2.8-1),
|
117 |
pango1-xft2-shlibs (>= 1.8.0-1),
|
118 |
x11-shlibs
|
119 |
<<
|
120 |
Description: Lightweight browser from mozilla.org
|
121 |
DocFiles: LEGAL LICENSE README.txt
|
122 |
Files: lib/%N/lib*.dylib lib/%N/chrome lib/%N/components lib/%N/greprefs lib/%N/res
|
123 |
Shlibs: <<
|
124 |
%p/lib/%N/libgfxpsshar.dylib 1.0.0 %n (>= 1.5-1)
|
125 |
%p/lib/%N/libgkgfx.dylib 1.0.0 %n (>= 0.10.1-4)
|
126 |
%p/lib/%N/libgtkembedmoz.dylib 1.0.0 %n (>= 0.10.1-4)
|
127 |
%p/lib/%N/libgtkxtbin.dylib 1.0.0 %n (>= 0.10.1-4)
|
128 |
%p/lib/%N/libjsj.dylib 1.0.0 %n (>= 0.10.1-4)
|
129 |
%p/lib/%N/libmozjs.dylib 1.0.0 %n (>= 0.10.1-4)
|
130 |
%p/lib/%N/libmozz.dylib 1.0.0 %n (>= 1.5-4)
|
131 |
%p/lib/%N/libnspr4.dylib 1.0.0 %n (>= 0.10.1-4)
|
132 |
%p/lib/%N/libnss3.dylib 1.0.0 %n (>= 0.10.1-4)
|
133 |
%p/lib/%N/libplc4.dylib 1.0.0 %n (>= 0.10.1-4)
|
134 |
%p/lib/%N/libplds4.dylib 1.0.0 %n (>= 0.10.1-4)
|
135 |
%p/lib/%N/libsmime3.dylib 1.0.0 %n (>= 0.10.1-4)
|
136 |
%p/lib/%N/libsoftokn3.dylib 1.0.0 %n (>= 0.10.1-4)
|
137 |
%p/lib/%N/libssl3.dylib 1.0.0 %n (>= 0.10.1-4)
|
138 |
%p/lib/%N/libxpcom.dylib 1.0.0 %n (>= 0.10.1-4)
|
139 |
%p/lib/%N/libxpcom_compat.dylib 1.0.0 %n (>= 0.10.1-4)
|
140 |
%p/lib/%N/libxpcom_core.dylib 1.0.0 %n (>= 1.1-8)
|
141 |
%p/lib/%N/libxpistub.dylib 1.0.0 %n (>= 0.10.1-4)
|
142 |
<<
|
143 |
<<
|
144 |
Homepage: http://www.mozilla.org/products/firefox/
|
145 |
DescDetail: <<
|
146 |
Firefox is a free, open-source web browser for Windows, Linux and
|
147 |
MacOS X and is based on the Mozilla codebase. It is small, fast and easy
|
148 |
to use, and offers many advantages over Internet Explorer, such as the
|
149 |
ability to block pop-up windows.
|
150 |
<<
|
151 |
DescUsage: <<
|
152 |
firefox
|
153 |
|
154 |
There is an unresolved issue in upgrading from 1.0 to 1.0.x that leads
|
155 |
to a bus error on start. If you get this crash on start, erase the file
|
156 |
"~/.mozilla/firefox/randomstring.default/xpti.dat". Then restart
|
157 |
Firefox and everything should work. You do NOT need to erase your
|
158 |
entire profile.
|
159 |
<<
|
160 |
DescPackaging: <<
|
161 |
Changed package name from firefox to firefox1.5 because libxlibrgb.dylib
|
162 |
was removed in the 1.0.x to 1.5.x transition.
|
163 |
|
164 |
Moved chrome* components* greprefs* res* to -shlibs because gecko needs
|
165 |
those files when loaded by a third party.
|
166 |
<<
|
167 |
DescPort: <<
|
168 |
GTK+2 build of the Mozilla Firefox browser for Mac OS X/X11. Compiled
|
169 |
without built-in support for GNOME (except for an app launcher button).
|
170 |
This means ORBit (orbit2) is not needed.
|
171 |
|
172 |
Patch includes fix for bug #257773, which allows building on OS X/X11
|
173 |
w/out the need for setting missing LDFLAGS.
|
174 |
|
175 |
Building with freetype2 is disabled because of incompatabilities with
|
176 |
Xorg X11 (Apple's X11 and Xfree4.4 work though). Theoretically fixed
|
177 |
from FF1.5 onward, but I'm unable to test, so still disabled. Seems
|
178 |
to cause no harm as is, however.
|
179 |
|
180 |
ac_add_options --enable-macos-target=10.3 in patch file (.mozconfig) is
|
181 |
for the minimum OS version that this will compile in.
|
182 |
|
183 |
Have to set own path and unset CXX in 10.4-trans because it doesn't
|
184 |
build otherwise.
|
185 |
<<
|