summaryrefslogtreecommitdiffstats
path: root/www/firefox10
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-12-28 00:51:58 +0000
committerahze <ahze@FreeBSD.org>2004-12-28 00:51:58 +0000
commitfa516ef1cea0579f4a1a2d568206325c0d3350a5 (patch)
tree968e5b3d038694e0b6100efa6b85b9d38987ad0c /www/firefox10
parent22e63a2f70d0e41fed5e1f2ef0ba9c94b1e60abc (diff)
downloadFreeBSD-ports-fa516ef1cea0579f4a1a2d568206325c0d3350a5.zip
FreeBSD-ports-fa516ef1cea0579f4a1a2d568206325c0d3350a5.tar.gz
- Remove WITH_NEW_ICON knob
- Mozilla license team has approved the FreeBSD Gnome team to use official branding for firefox and thunderbird [1] o Add --enable-official-branding to mozconfig o Install official thunderbird/firefox icon as default.xpm icon - Fix error when running firefox/thunderbird -v [2] - Bump PORTREVISION References: http://www.mozilla.org/foundation/licensing.html [1] http://people.freebsd.org/~ahze/firefox_thunderbird-approved.txt [1] PR: ports/75262 [2] Submitted by: girgen [2]
Diffstat (limited to 'www/firefox10')
-rw-r--r--www/firefox10/Makefile11
-rw-r--r--www/firefox10/files/mozconfig.in3
-rw-r--r--www/firefox10/files/patch-browser_app_mozilla.in20
3 files changed, 24 insertions, 10 deletions
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile
index 3a517a8..dcfe38d 100644
--- a/www/firefox10/Makefile
+++ b/www/firefox10/Makefile
@@ -7,7 +7,7 @@
PORTNAME= firefox
PORTVERSION= 1.0
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@@ -66,8 +66,7 @@ OPTIONS= DEBUG "Build a debugging image" off \
LOGGING "Enable additional log messages" off \
OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
XFT "Enable support for anti-aliased fonts" on \
- SMB "Enable smb:// URI support using gnomevfs" off \
- NEW_ICON "Install the new Firefox branding icon" off
+ SMB "Enable smb:// URI support using gnomevfs" off
.include <bsd.port.pre.mk>
@@ -237,11 +236,9 @@ post-install:
.for i in ${EXTRA_SCRIPTS}
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
.endfor
-.if defined(WITH_NEW_ICON)
- ${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/firefox/default.xpm \
- ${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
-.endif # defined(WITH_NEW_ICON)
${INSTALL_DATA} ${FIREFOX_ICON_SRC} ${PREFIX}/share/gnome/pixmaps/${FIREFOX_ICON}
${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/gnome/applications
+ ${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/firefox/default.xpm \
+ ${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
.include <bsd.port.post.mk>
diff --git a/www/firefox10/files/mozconfig.in b/www/firefox10/files/mozconfig.in
index a2c8dcc..a354709 100644
--- a/www/firefox10/files/mozconfig.in
+++ b/www/firefox10/files/mozconfig.in
@@ -9,6 +9,9 @@ ac_add_options --disable-tests
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-default-toolkit=gtk2
+# See the following URL for approval email for using official branding
+# http://people.freebsd.org/~ahze/firefox_thunderbird-approved.txt
+ac_add_options --enable-official-branding
######################################################################
# FBSD specific
export CPPFLAGS="@CPPFLAGS@"
diff --git a/www/firefox10/files/patch-browser_app_mozilla.in b/www/firefox10/files/patch-browser_app_mozilla.in
index 3d5c720..d576c95 100644
--- a/www/firefox10/files/patch-browser_app_mozilla.in
+++ b/www/firefox10/files/patch-browser_app_mozilla.in
@@ -1,5 +1,5 @@
---- browser/app/mozilla.in.orig Sat Nov 13 00:54:51 2004
-+++ browser/app/mozilla.in Sat Nov 13 00:57:22 2004
+--- browser/app/mozilla.in.orig Tue Oct 26 05:26:11 2004
++++ browser/app/mozilla.in Mon Dec 27 19:15:52 2004
@@ -110,6 +110,7 @@
# Check default compile-time libdir
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
@@ -8,7 +8,21 @@
else
echo "Cannot find mozilla runtime directory. Exiting."
exit 1
-@@ -207,12 +207,31 @@
+@@ -160,11 +161,11 @@
+ _optLast="${i}"
+ done #last arg
+
+-if [ `expr "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
++if [ `expr -- "${_optLast}" : '.*:/.*'` -eq 0 -a \( -f "${_optLast}" -o -d "${_optLast}" \) ]; then
+ # Last argument seems to be a local file/directory
+ # Check, if it is absolutely specified (ie. /home/foo/file vs. ./file)
+ # If it is just "relatively" (./file) specified, make it absolutely
+- [ `expr "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
++ [ `expr -- "${_optLast}" : '/.*'` -eq 0 ] && _optLast="file://`pwd`/${_optLast}"
+ fi
+ ################################################################ Parse Arguments
+
+@@ -207,12 +208,31 @@
script_args="$script_args -d $2"
shift 2
;;
OpenPOWER on IntegriCloud