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: 14-May-2005 14:12:17
Branch: HEAD Handle: 2005051413121700
Modified files:
openpkg-src/mozilla mozilla.spec
Log:
make SVG support optional
Summary:
Revision Changes Path
1.106 +11 -2 openpkg-src/mozilla/mozilla.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla/mozilla.spec
============================================================================
$ cvs diff -u -r1.105 -r1.106 mozilla.spec
--- openpkg-src/mozilla/mozilla.spec 14 May 2005 11:14:23 -0000 1.105
+++ openpkg-src/mozilla/mozilla.spec 14 May 2005 12:12:17 -0000 1.106
@@ -40,6 +40,7 @@
%option with_mailnews no
%option with_composer no
%option with_sdk no
+%option with_svg no
# list of sources
Source0:
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla%{version}/source/mozilla-%{version}-source.tar.bz2
@@ -54,8 +55,12 @@
PreReq: OpenPKG, openpkg >= 20040130, xsel, wmctrl
BuildPreReq: X11, glib, gtk, png, jpeg, orbit, libiconv
PreReq: X11, glib, gtk, png, jpeg, orbit, libiconv
-BuildPreReq: infozip, zlib, openssl, freetype, cairo, cairo::with_x11 = yes
-PreReq: infozip, zlib, openssl, freetype, cairo, cairo::with_x11 = yes
+BuildPreReq: infozip, zlib, openssl, freetype
+PreReq: infozip, zlib, openssl, freetype
+%if "%{with_svg}" == "yes"
+BuildPreReq: cairo, cairo::with_x11 = yes
+PreReq: cairo, cairo::with_x11 = yes
+%endif
AutoReq: no
AutoReqProv: no
@@ -141,8 +146,12 @@
--enable-jsd \
--enable-crypto \
--enable-chrome-format=jar \
+%if "%{with_svg}" == "yes"
--enable-svg \
--enable-svg-renderer-cairo \
+%else
+ --disable-svg \
+%endif
--enable-static \
--enable-strip \
%if "%{with_optimize}" == "yes"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]