1 |
Package: mozilla
|
2 |
|
3 |
Version: 1.7.13
|
4 |
Revision: 14
|
5 |
|
6 |
GCC: 3.3
|
7 |
Source: mirror:custom:mozilla/releases/%n%v/source/%n-%v-source.tar.bz2
|
8 |
Source-MD5: eb0683207f7668319c65e403d04bfc41
|
9 |
CustomMirror: <<
|
10 |
Primary: http://ftp.mozilla.org/pub/mozilla.org/
|
11 |
nam-US: ftp://ftp.spnet.net/mozilla/
|
12 |
eur-BE: ftp://ftp.kulnet.kuleuven.ac.be/mirror/mozilla-releases/
|
13 |
asi-JP: http://core.ring.gr.jp/pub/net/www/mozilla/
|
14 |
<<
|
15 |
SourceDirectory: mozilla
|
16 |
Depends: <<
|
17 |
%N-psm (= %v-%r),
|
18 |
%N-mailnews (= %v-%r),
|
19 |
%N-chatzilla (= %v-%r),
|
20 |
%N-js-debugger (= %v-%r),
|
21 |
%N-dom-inspector (= %v-%r),
|
22 |
%N-browser (= %v-%r),
|
23 |
%N-shlibs (= %v-%r)
|
24 |
<<
|
25 |
BuildDepends: <<
|
26 |
atk1,
|
27 |
freetype2-hinting-dev | freetype2-dev,
|
28 |
glib2-dev (>= 2.12.0-1),
|
29 |
gnome-vfs2-unified-dev,
|
30 |
gtk+2-dev,
|
31 |
libbonobo2-dev,
|
32 |
libgettext3-dev,
|
33 |
libiconv-dev,
|
34 |
libidl2 (>= 0.8.7-1),
|
35 |
libjpeg,
|
36 |
libpng3 (>= 1.2.8-1),
|
37 |
orbit2-dev,
|
38 |
pango1-xft2-dev,
|
39 |
pkgconfig,
|
40 |
x11-dev,
|
41 |
xft2-dev
|
42 |
<<
|
43 |
## libhowl-dev and dbus-dev don't seem to be needed.
|
44 |
# libhowl-dev,
|
45 |
# dbus-dev (>= 0.60-1),
|
46 |
NoSetLDFLAGS: true
|
47 |
SetLDFLAGS: -L%p/lib/freetype2/lib
|
48 |
NoSetCPPFLAGS: true
|
49 |
SetCC: gcc -I%p/lib/freetype2/include -I%p/lib/freetype2/include/freetype2
|
50 |
SetCXX: g++ -I%p/lib/freetype2/include -I%p/lib/freetype2/include/freetype2
|
51 |
PatchScript: <<
|
52 |
/usr/bin/sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
|
53 |
### Fix for automake1.9
|
54 |
/usr/bin/perl -pi -e 's/(AC_DEFUN\()([^[,]+)(,)/\1\[\2]\3/' {{build,directory/c-sdk/config}/autoconf,nsprpub/config}/nspr.m4
|
55 |
<<
|
56 |
CompileScript: <<
|
57 |
#!/bin/sh -ev
|
58 |
export PATH="%p/lib/freetype2/bin:${PATH}"
|
59 |
./configure %c
|
60 |
make -w
|
61 |
|
62 |
# Divide installed-chrome.txt for each split-off.
|
63 |
/usr/bin/sed -e '/pipnss/d' -e '/pippki/d' -e '/messenger/d' -e '/chatzilla/d' \
|
64 |
-e '/venkman/d' -e '/inspector/d' \
|
65 |
dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00browser
|
66 |
/usr/bin/grep 'pip[nss|pki]' dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00psm
|
67 |
/usr/bin/grep 'messenger' dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00mailnews
|
68 |
/usr/bin/grep 'chatzilla' dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00chatzilla
|
69 |
/usr/bin/grep 'venkman' dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00js-debugger
|
70 |
/usr/bin/grep 'inspector' dist/bin/chrome/installed-chrome.txt >fink/chrome.d/00dom-inspector
|
71 |
<<
|
72 |
InstallScript: <<
|
73 |
#!/bin/sh -ev
|
74 |
|
75 |
make -w install DESTDIR=%d
|
76 |
|
77 |
# Install NSS headers.
|
78 |
/bin/cp -R -L dist/public/nss %i/include/%n/nss
|
79 |
|
80 |
# These files are reduntant.
|
81 |
for f in %i/lib/%n/chrome/*.jar; do
|
82 |
/bin/rm -rf ${f/.jar/}
|
83 |
done
|
84 |
|
85 |
# These files are created dynamically.
|
86 |
/bin/rm -rf %i/lib/%n/chrome/overlayinfo
|
87 |
/bin/rm -f %i/lib/%n/chrome/*.rdf
|
88 |
/bin/rm -f %i/lib/%n/component.reg
|
89 |
/bin/rm -f %i/lib/%n/components/*.dat
|
90 |
|
91 |
# Multi user setting.
|
92 |
/usr/bin/touch %i/lib/%n/chrome/user-skins.rdf
|
93 |
/usr/bin/touch %i/lib/%n/chrome/user-locales.rdf
|
94 |
|
95 |
# Empty installed-chrome.txt.
|
96 |
/bin/rm %i/lib/%n/chrome/installed-chrome.txt
|
97 |
/usr/bin/touch %i/lib/%n/chrome/installed-chrome.txt
|
98 |
|
99 |
# Install fink specific files.
|
100 |
/usr/bin/install -d -m 755 %i/bin %i/sbin %i/var/lib/%n/chrome.d
|
101 |
/usr/bin/install -c -m 755 fink/mozilla %i/bin/
|
102 |
/usr/bin/install -c -m 755 fink/update-mozilla-chrome %i/sbin/
|
103 |
/usr/bin/install -c -m 644 fink/chrome.d/* %i/var/lib/%n/chrome.d/
|
104 |
|
105 |
# Move config file into %p/etc.
|
106 |
/usr/bin/install -d -m 755 %i/etc/%n
|
107 |
/usr/bin/install -c -m 644 fink/prefs.js %i/etc/%n/
|
108 |
/bin/ln -sf %p/etc/%n/prefs.js %i/lib/%n/defaults/pref/fink.js
|
109 |
|
110 |
# Install gnome .desktop files.
|
111 |
/usr/bin/install -d -m 755 %i/share/applications
|
112 |
/usr/bin/install -c -m 644 fink/applications/* %i/share/applications/
|
113 |
|
114 |
/usr/bin/install -d -m 755 %i/share/pixmaps
|
115 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/main-window.xpm %i/share/pixmaps/mozilla.xpm
|
116 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/addressbookWindow.xpm %i/share/pixmaps/mozilla-addressbook.xpm
|
117 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/chatzilla-window.xpm %i/share/pixmaps/mozilla-chatzilla.xpm
|
118 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/editorWindow.xpm %i/share/pixmaps/mozilla-editor.xpm
|
119 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/msgcomposeWindow.xpm %i/share/pixmaps/mozilla-mail-composer.xpm
|
120 |
/usr/bin/install -c -m 644 dist/bin/chrome/icons/default/messengerWindow.xpm %i/share/pixmaps/mozilla-mailnews.xpm
|
121 |
|
122 |
# rename nspr.m4 to avoid clashes with other gecko installs
|
123 |
/bin/mv %i/share/aclocal/nspr.m4 %i/share/aclocal/nspr-%n.m4
|
124 |
<<
|
125 |
SplitOff: <<
|
126 |
Package: %N-psm
|
127 |
Depends: %N-browser (= %v-%r)
|
128 |
Replaces: %N (<< 1.1.0-4)
|
129 |
Description: Mozilla - personal security manager
|
130 |
DocFiles: LEGAL LICENSE
|
131 |
PostInstScript: <<
|
132 |
if [ configure = "$1" ]; then
|
133 |
update-mozilla-chrome || true
|
134 |
fi
|
135 |
<<
|
136 |
PostRmScript: <<
|
137 |
if [ upgrade != "$1" ]; then
|
138 |
update-mozilla-chrome || true
|
139 |
fi
|
140 |
<<
|
141 |
Files: <<
|
142 |
lib/%N/chrome/pipnss.jar
|
143 |
lib/%N/chrome/pippki.jar
|
144 |
lib/%N/components/libpipboot.dylib
|
145 |
lib/%N/components/libpipnss.dylib
|
146 |
lib/%N/components/libpippki.dylib
|
147 |
lib/%N/components/pipboot.xpt
|
148 |
lib/%N/components/pipnss.xpt
|
149 |
lib/%N/components/pippki.xpt
|
150 |
var/lib/%N/chrome.d/00psm
|
151 |
<<
|
152 |
<<
|
153 |
SplitOff2: <<
|
154 |
Package: %N-mailnews
|
155 |
Depends: %N-browser (= %v-%r)
|
156 |
Replaces: %N (<< 1.1.0-4), %N-chatzilla (<< 1.7.2-1)
|
157 |
Description: Mozilla - mail and news support
|
158 |
DocFiles: LEGAL LICENSE
|
159 |
PostInstScript: <<
|
160 |
if [ configure = "$1" ]; then
|
161 |
update-mozilla-chrome || true
|
162 |
fi
|
163 |
<<
|
164 |
PostRmScript: <<
|
165 |
if [ upgrade != "$1" ]; then
|
166 |
update-mozilla-chrome || true
|
167 |
fi
|
168 |
<<
|
169 |
Files: <<
|
170 |
lib/%N/chrome/messenger.jar
|
171 |
lib/%N/components/addrbook.xpt
|
172 |
lib/%N/components/impComm4xMail.xpt
|
173 |
lib/%N/components/import.xpt
|
174 |
lib/%N/components/libaddrbook.dylib
|
175 |
lib/%N/components/libimpComm4xMail.dylib
|
176 |
lib/%N/components/libimpText.dylib
|
177 |
lib/%N/components/libimport.dylib
|
178 |
lib/%N/components/liblocalmail.dylib
|
179 |
lib/%N/components/libmailnews.dylib
|
180 |
lib/%N/components/libmailview.dylib
|
181 |
lib/%N/components/libmime.dylib
|
182 |
lib/%N/components/libmimeemitter.dylib
|
183 |
lib/%N/components/libmozldap.dylib
|
184 |
lib/%N/components/libmsgcompose.dylib
|
185 |
lib/%N/components/libmsgdb.dylib
|
186 |
lib/%N/components/libmsgimap.dylib
|
187 |
lib/%N/components/libmsgmdn.dylib
|
188 |
lib/%N/components/libmsgnews.dylib
|
189 |
lib/%N/components/libmsgsmime.dylib
|
190 |
lib/%N/components/libvcard.dylib
|
191 |
lib/%N/components/mailnews.xpt
|
192 |
lib/%N/components/mailview.xpt
|
193 |
lib/%N/components/mdn-service.js
|
194 |
lib/%N/components/mime.xpt
|
195 |
lib/%N/components/msgbase.xpt
|
196 |
lib/%N/components/msgcompose.xpt
|
197 |
lib/%N/components/msgdb.xpt
|
198 |
lib/%N/components/msgimap.xpt
|
199 |
lib/%N/components/msglocal.xpt
|
200 |
lib/%N/components/msgnews.xpt
|
201 |
lib/%N/components/msgsearch.xpt
|
202 |
lib/%N/components/msgsmime.xpt
|
203 |
lib/%N/components/nsLDAPPrefsService.js
|
204 |
lib/%N/components/smime-service.js
|
205 |
lib/%N/libldap50.dylib
|
206 |
lib/%N/libprldap50.dylib
|
207 |
lib/%N/defaults/pref/mailnews.js
|
208 |
lib/%N/defaults/pref/mdn.js
|
209 |
lib/%N/defaults/pref/smime.js
|
210 |
share/applications/Mozilla-mail-composer.desktop
|
211 |
share/applications/Mozilla-mail.desktop
|
212 |
share/applications/Mozilla-news.desktop
|
213 |
share/pixmaps/mozilla-mail-composer.xpm
|
214 |
share/pixmaps/mozilla-mailnews.xpm
|
215 |
var/lib/%N/chrome.d/00mailnews
|
216 |
<<
|
217 |
Shlibs: <<
|
218 |
%p/lib/%N/libldap50.dylib 1.0.0 %n (>= 1.1.0-4)
|
219 |
%p/lib/%N/libprldap50.dylib 1.0.0 %n (>= 1.1.0-4)
|
220 |
<<
|
221 |
<<
|
222 |
SplitOff3: <<
|
223 |
Package: %N-chatzilla
|
224 |
Depends: %N-browser (= %v-%r)
|
225 |
Replaces: %N (<< 1.1.0-4)
|
226 |
Description: Mozilla - irc client
|
227 |
DocFiles: LEGAL LICENSE
|
228 |
PostInstScript: <<
|
229 |
if [ configure = "$1" ]; then
|
230 |
update-mozilla-chrome || true
|
231 |
fi
|
232 |
<<
|
233 |
PostRmScript: <<
|
234 |
if [ upgrade != "$1" ]; then
|
235 |
update-mozilla-chrome || true
|
236 |
fi
|
237 |
<<
|
238 |
Files: <<
|
239 |
lib/%N/chrome/chatzilla.jar
|
240 |
lib/%N/chrome/icons/default/chatzilla*
|
241 |
lib/%N/components/chatzilla-service.js
|
242 |
share/applications/Mozilla-chatzilla.desktop
|
243 |
var/lib/%N/chrome.d/00chatzilla
|
244 |
<<
|
245 |
<<
|
246 |
SplitOff4: <<
|
247 |
Package: %N-js-debugger
|
248 |
Depends: %N-browser (= %v-%r)
|
249 |
Replaces: %N (<< 1.1.0-4)
|
250 |
Description: Mozilla - java script debugger
|
251 |
DocFiles: LEGAL LICENSE
|
252 |
PostInstScript: <<
|
253 |
if [ configure = "$1" ]; then
|
254 |
update-mozilla-chrome || true
|
255 |
fi
|
256 |
<<
|
257 |
PostRmScript: <<
|
258 |
if [ upgrade != "$1" ]; then
|
259 |
update-mozilla-chrome || true
|
260 |
fi
|
261 |
<<
|
262 |
Files: <<
|
263 |
lib/%N/chrome/venkman.jar
|
264 |
lib/%N/chrome/icons/default/venkman*
|
265 |
lib/%N/components/venkman-service.js
|
266 |
var/lib/%N/chrome.d/00js-debugger
|
267 |
<<
|
268 |
<<
|
269 |
SplitOff5: <<
|
270 |
Package: %N-dom-inspector
|
271 |
Depends: %N-browser (= %v-%r), %N-shlibs (= %v-%r)
|
272 |
Replaces: %N (<< 1.1.0-4)
|
273 |
Description: Mozilla - DOM inspector
|
274 |
DocFiles: LEGAL LICENSE
|
275 |
PostInstScript: <<
|
276 |
if [ configure = "$1" ]; then
|
277 |
update-mozilla-chrome || true
|
278 |
fi
|
279 |
<<
|
280 |
PostRmScript: <<
|
281 |
if [ upgrade != "$1" ]; then
|
282 |
update-mozilla-chrome || true
|
283 |
fi
|
284 |
<<
|
285 |
Files: <<
|
286 |
lib/%N/chrome/inspector.jar
|
287 |
lib/%N/components/inspector.xpt
|
288 |
lib/%N/components/libinspector.dylib
|
289 |
lib/%N/defaults/pref/inspector.js
|
290 |
lib/%N/res/inspector
|
291 |
var/lib/%N/chrome.d/00dom-inspector
|
292 |
<<
|
293 |
<<
|
294 |
SplitOff6: <<
|
295 |
Package: %N-shlibs
|
296 |
Replaces: %N (<< 1.1.0-4), %N-mailnews (<< 1.3-1)
|
297 |
Depends: <<
|
298 |
atk1-shlibs,
|
299 |
freetype2-hinting-shlibs | freetype2-shlibs,
|
300 |
glib2-shlibs (>= 2.12.0-1),
|
301 |
gtk+2-shlibs,
|
302 |
libgettext3-shlibs,
|
303 |
libiconv,
|
304 |
pango1-xft2-shlibs,
|
305 |
x11-shlibs
|
306 |
<<
|
307 |
DocFiles: LEGAL LICENSE
|
308 |
Description: Mozilla - shared libraries
|
309 |
Files: <<
|
310 |
lib/%N/lib*.dylib
|
311 |
<<
|
312 |
Shlibs: <<
|
313 |
%p/lib/%N/libgkgfx.dylib 1.0.0 %n (>= 1.1.0-4)
|
314 |
%p/lib/%N/libgtkembedmoz.dylib 1.0.0 %n (>= 1.3-1)
|
315 |
%p/lib/%N/libgtkxtbin.dylib 1.0.0 %n (>= 1.1.0-4)
|
316 |
%p/lib/%N/libjsj.dylib 1.0.0 %n (>= 1.1.0-4)
|
317 |
%p/lib/%N/libmozjs.dylib 1.0.0 %n (>= 1.1.0-4)
|
318 |
%p/lib/%N/libmsgbaseutil.dylib 1.0.0 %n (>= 1.1.0-4)
|
319 |
%p/lib/%N/libnspr4.dylib 1.0.0 %n (>= 1.1.0-4)
|
320 |
%p/lib/%N/libnss3.dylib 1.0.0 %n (>= 1.1.0-4)
|
321 |
%p/lib/%N/libnssckbi.dylib 1.0.0 %n (>= 1.1.0-4)
|
322 |
%p/lib/%N/libplc4.dylib 1.0.0 %n (>= 1.1.0-4)
|
323 |
%p/lib/%N/libplds4.dylib 1.0.0 %n (>= 1.1.0-4)
|
324 |
%p/lib/%N/libsmime3.dylib 1.0.0 %n (>= 1.1.0-4)
|
325 |
%p/lib/%N/libsoftokn3.dylib 1.0.0 %n (>= 1.1.0-4)
|
326 |
%p/lib/%N/libssl3.dylib 1.0.0 %n (>= 1.1.0-4)
|
327 |
%p/lib/%N/libxlibrgb.dylib 1.0.0 %n (>= 1.1.0-4)
|
328 |
%p/lib/%N/libxpcom.dylib 1.0.0 %n (>= 1.1.0-4)
|
329 |
%p/lib/%N/libxpcom_compat.dylib 1.0.0 %n (>= 1.5.1-4)
|
330 |
%p/lib/%N/libxpistub.dylib 1.0.0 %n (>= 1.1.0-4)
|
331 |
<<
|
332 |
<<
|
333 |
SplitOff7: <<
|
334 |
Package: %N-dev
|
335 |
Depends: <<
|
336 |
%N-shlibs (= %v-%r),
|
337 |
glib2-shlibs (>= 2.12.0-1),
|
338 |
libgettext3-shlibs,
|
339 |
libiconv,
|
340 |
libidl2-shlibs (>= 0.8.7-1)
|
341 |
<<
|
342 |
## Removed Conflicts/Replaces because nspr.m4 is now nspr-%n.m4
|
343 |
BuildDependsOnly: True
|
344 |
Description: Mozilla - development headers and libraries
|
345 |
DocFiles: LEGAL LICENSE
|
346 |
Files: bin/mozilla-config include lib/pkgconfig lib/%N/xp* share/aclocal share/idl
|
347 |
<<
|
348 |
SplitOff8: <<
|
349 |
Package: %N-browser
|
350 |
Depends: <<
|
351 |
%N-shlibs (= %v-%r),
|
352 |
atk1-shlibs,
|
353 |
freetype2-hinting-shlibs | freetype2-shlibs,
|
354 |
gconf2-shlibs,
|
355 |
glib2-shlibs (>= 2.12.0-1),
|
356 |
gnome-vfs2-unified-shlibs,
|
357 |
gtk+2-shlibs,
|
358 |
libbonobo2-shlibs,
|
359 |
libgettext3-shlibs,
|
360 |
libiconv,
|
361 |
libjpeg-shlibs,
|
362 |
libpng3-shlibs (>= 1.2.8-1),
|
363 |
orbit2-shlibs,
|
364 |
pango1-xft2-shlibs,
|
365 |
x11-shlibs
|
366 |
<<
|
367 |
Replaces: %N (<< 1.1.0-4)
|
368 |
Conflicts: %N-browser-xft2
|
369 |
ConfFiles: %p/etc/%N/prefs.js
|
370 |
Description: Mozilla - web browser
|
371 |
DocFiles: LEGAL LICENSE
|
372 |
PostInstScript: <<
|
373 |
if [ configure = "$1" ]; then
|
374 |
update-mozilla-chrome || true
|
375 |
fi
|
376 |
<<
|
377 |
PreRmScript: <<
|
378 |
# clear out those leftovers that were created by registering
|
379 |
/bin/rm -rf %p/lib/%N/chrome/overlayinfo
|
380 |
/bin/rm -f %p/lib/%N/chrome/*.rdf
|
381 |
/bin/rm -f %p/lib/%N/components/*.dat
|
382 |
# /bin/rm -f %p/lib/%N/components.ini
|
383 |
# /bin/rm -rf %p/lib/%N/extensions
|
384 |
<<
|
385 |
Files: bin etc lib sbin share/applications share/man share/pixmaps var
|
386 |
<<
|
387 |
DocFiles: LEGAL LICENSE
|
388 |
Description: Mozilla - full install
|
389 |
DescDetail: <<
|
390 |
Mozilla is an open-source web browser, designed for standards
|
391 |
compliance, performance and portability. Package includes the full
|
392 |
software suite (browser, mailnews, IRC, DOMi, JS debugger, etc).
|
393 |
<<
|
394 |
DescPort: <<
|
395 |
If you feel your configuration is not saved, check permission of ~/.mozilla
|
396 |
directory. If it is owned by root, fix or removed it. In this version,
|
397 |
this problem was fixed. (sudo -H in install script fixes it)
|
398 |
|
399 |
Patch does following things:
|
400 |
- uses gtk+2 toolkit.
|
401 |
- pass exact install directory to the linker
|
402 |
- forces to see local ldap headers.
|
403 |
|
404 |
Not functional on intel. See:
|
405 |
https://sourceforge.net/tracker/index.php?func=detail&aid=1459616&group_id=17203&atid=117203
|
406 |
<<
|
407 |
License: OSI-Approved
|
408 |
Maintainer: None <fink-devel@lists.sourceforge.net>
|
409 |
DescPackaging: <<
|
410 |
Originally packaged by Masanori Sekino.
|
411 |
Using fink's freetype2 _ has to wait till version 1.8 to use freetype2 >> 2.1.7
|
412 |
Using SetCC and SetCXX rather than SetCPPFLAGS to build correctly in presence of freetype1
|
413 |
|
414 |
No dep needed on libmng2 since mng support was removed from the mozilla code a while back.
|
415 |
|
416 |
mozilla-1.7.13 is the last official released build. The Mozilla suite was EOL'd after this version, and all attention was put on Firefox/Thunderbird. If you want a newer version of the suite, install the package seamonkey.
|
417 |
<<
|
418 |
Homepage: http://www.mozilla.org
|