From 69f7cb761c37161b363935de58ec65869b447e4d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 9 Oct 2008 01:28:54 +0200 Subject: [PATCH] Added firefox-3.0.3 template. Yes, it's working. --HG-- extra : convert_revision : fac7e4b80eb7b0050e802441ac8174ec09727a25 --- templates/firefox-fix-build.diff | 11 +++++++++++ templates/firefox.tmpl | 27 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 templates/firefox-fix-build.diff create mode 100755 templates/firefox.tmpl diff --git a/templates/firefox-fix-build.diff b/templates/firefox-fix-build.diff new file mode 100644 index 00000000000..877e4de6d7f --- /dev/null +++ b/templates/firefox-fix-build.diff @@ -0,0 +1,11 @@ +--- toolkit/mozapps/installer/packager.mk.orig 2008-10-09 01:20:03.000000000 +0200 ++++ toolkit/mozapps/installer/packager.mk 2008-10-09 01:20:16.000000000 +0200 +@@ -426,7 +426,7 @@ ifdef INSTALL_SDK # Here comes the hard + (cd $(DIST)/sdk/include && tar $(TAR_CREATE_FLAGS) - .) | \ + (cd $(DESTDIR)$(includedir)/stable && tar -xf -) + # The dist/include has module subdirectories that we need to flatten +- find $(DIST)/include -xtype f -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \; ++ find $(DIST)/include -type f -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \; + # IDL directory is stable (dist/sdk/idl) and unstable (dist/idl) + $(NSINSTALL) -D $(DESTDIR)$(idldir)/stable + $(NSINSTALL) -D $(DESTDIR)$(idldir)/unstable diff --git a/templates/firefox.tmpl b/templates/firefox.tmpl new file mode 100755 index 00000000000..c60c37af483 --- /dev/null +++ b/templates/firefox.tmpl @@ -0,0 +1,27 @@ +# Template build file for 'firefox'. +pkgname=firefox +version=3.0.3 +wrksrc=mozilla +distfiles="$pkgname-$version-source$extract_sufx" +extract_sufx=".tar.bz2" +url=http://sunsite.rediris.es/pub/mozilla.org/firefox/releases/3.0.3/source +build_style=gnu_configure +configure_args="--enable-default-toolkit=cairo-gtk2 --disable-dbus + --disable-crashreporter --enable-xft --with-pthreads --enable-xinerama + --enable-svg --enable-svg-renderer=cairo --enable-system-cairo + --enable-crypto --enable-application=browser --disable-gnomevfs + --disable-gnomeui" +make_cmd="$PKGFS_MASTERDIR/bin/gmake" +short_desc="Lightweight gecko-based web browser" +maintainer="Juan RP " +checksum=50f5c23182ac8bfe1a33502fb04814a3961c5033 +long_desc=" + Mozilla Firefox is a free, open-source and cross-platform web browser + for Windows, Linux, MacOS X and many other operating systems. It is + small, fast and easy to use, and offers many advantages over other web + browsers, such as tabbed browsing and the ability to block pop-up + windows. + + Firefox also offers excellent bookmark and history management, and it + can be extended by developers using industry standards such as XML, + CSS, JavaScript, C++, etc. Many extensions are available."