[arch-commits] CVS update of unstable/network/firefox3 (6 files)

Dan McGee dan at archlinux.org
Thu Feb 14 05:33:28 UTC 2008


    Date: Thursday, February 14, 2008 @ 00:33:28
  Author: dan
    Path: /home/cvs-unstable/unstable/network/firefox3

   Added: PKGBUILD (1.1) firefox.install (1.1) firefox3-safe.desktop (1.1)
          firefox3.desktop (1.1) mozconfig (1.1)
          mozilla-firefox-1.0-lang.patch (1.1)

upgpkg: firefox3 3.0b3-2


--------------------------------+
 PKGBUILD                       |   67 +++++++++++++++++++++++++++++++
 firefox.install                |   12 +++++
 firefox3-safe.desktop          |   11 +++++
 firefox3.desktop               |   83 +++++++++++++++++++++++++++++++++++++++
 mozconfig                      |   32 +++++++++++++++
 mozilla-firefox-1.0-lang.patch |   12 +++++
 6 files changed, 217 insertions(+)


Index: unstable/network/firefox3/PKGBUILD
diff -u /dev/null unstable/network/firefox3/PKGBUILD:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/PKGBUILD	Thu Feb 14 00:33:27 2008
@@ -0,0 +1,67 @@
+# $Id $
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Jakub Schmidtke <sjakub at gmail.com>
+
+pkgname=firefox3
+pkgver=3.0b3
+pkgrel=2
+pkgdesc="Standalone web browser from mozilla.org"
+arch=(i686 x86_64)
+license=('MPL' 'GPL' 'LGPL')
+depends=('gtk2>=2.12.0' 'pango>=1.18.0' 'gcc-libs' 'libxt' 'libidl2' 'mozilla-common' 'desktop-file-utils' 'cairo' 'curl' 'nss>=3.11.7' 'dbus-glib')
+makedepends=('zip' 'imagemagick' 'pkgconfig' 'gcc' 'diffutils')
+install=firefox.install
+url="http://www.mozilla.org/projects/firefox"
+source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}-source.tar.bz2
+        mozconfig
+        firefox3.desktop
+        firefox3-safe.desktop
+        mozilla-firefox-1.0-lang.patch)
+options=('!makeflags')
+
+build() {
+  cd ${startdir}/src/mozilla
+  patch -Np1 -i $startdir/src/mozilla-firefox-1.0-lang.patch || return 1
+
+  export MOZ_PROJECT=browser
+
+  sed "s/#CFLAGS#/${CFLAGS}/g" ${startdir}/src/mozconfig >.mozconfig
+  make -f client.mk build || return 1
+  make DESTDIR=${startdir}/pkg install || return 1
+
+  cd ${startdir}/pkg/opt/mozilla/lib/firefox-${pkgver}
+  export MOZ_DISABLE_GNOME=1
+  export MOZTMP=`mktemp -d -p ${startdir}/src`
+  LD_LIBRARY_PATH=`pwd` HOME=${MOZTMP} ./firefox-bin -register
+  rm -rf ${MOZTMP}
+  cd chrome
+  find . -maxdepth 1 -type d -exec rm -rf {} \;
+
+  #Remove mozilla devel stuff, this is in XULRunner now
+  rm -rf ${startdir}/pkg/opt/mozilla/share
+  rm -rf ${startdir}/pkg/opt/mozilla/include
+  rm -rf ${startdir}/pkg/opt/mozilla/lib/pkgconfig
+
+
+  cd ${startdir}/pkg/opt/mozilla/lib && ln -sf firefox-${pkgver} firefox3
+
+  rm -rf ${startdir}/pkg/opt/mozilla/bin/defaults
+
+  mkdir -p ${startdir}/pkg/usr/share/applications
+  mkdir -p ${startdir}/pkg/usr/share/pixmaps
+  install -m644 ${startdir}/src/mozilla/browser/app/default48.png ${startdir}/pkg/usr/share/pixmaps/firefox3.png
+  install -m644 ${startdir}/src/firefox3.desktop ${startdir}/pkg/usr/share/applications/
+  install -m644 ${startdir}/src/firefox3-safe.desktop ${startdir}/pkg/usr/share/applications/
+
+  mkdir -p ${startdir}/pkg/opt/mozilla/lib/firefox3/chrome/icons/default
+  install -m644 ${startdir}/src/mozilla/browser/app/mozicon50.xpm ${startdir}/pkg/opt/mozilla/lib/firefox3/chrome/icons/default/default.xpm
+  install -m644 ${startdir}/src/mozilla/browser/app/mozicon50.xpm ${startdir}/pkg/opt/mozilla/lib/firefox3/icons/default.xpm
+
+  cd ${startdir}/pkg/opt/mozilla/bin && mv firefox firefox3
+}
+
+md5sums=('949cfbb596b786ba5a9f9ad6604e2849'
+         '0bb2f761b5fedbacbb0074439dfe4b60'
+         'ff1c7b1fb25fee646a0c6d2b08d3b98c'
+         '370aa36551a70150c1c6f07672ca0f32'
+         'bd5db57c23c72a02a489592644f18995')
Index: unstable/network/firefox3/firefox.install
diff -u /dev/null unstable/network/firefox3/firefox.install:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/firefox.install	Thu Feb 14 00:33:27 2008
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  update-desktop-database -q
+}
+
Index: unstable/network/firefox3/firefox3-safe.desktop
diff -u /dev/null unstable/network/firefox3/firefox3-safe.desktop:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/firefox3-safe.desktop	Thu Feb 14 00:33:27 2008
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=firefox3 -safe-mode %u
+Icon=firefox3
+Type=Application
+Terminal=false
+MultipleArgs=false
+Name=Firefox3 - Safe Mode
+GenericName=Web Browser - Safe Mode
+StartupNotify=false
+Categories=Application;Network;
Index: unstable/network/firefox3/firefox3.desktop
diff -u /dev/null unstable/network/firefox3/firefox3.desktop:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/firefox3.desktop	Thu Feb 14 00:33:27 2008
@@ -0,0 +1,83 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=firefox3 %u
+Icon=firefox3
+Type=Application
+Terminal=false
+MultipleArgs=false
+Name=Firefox3
+Name[bn]=ফায়ারফক্স3
+Name[eo]=Fajrovulpo3
+Name[fi]=Firefox3
+Name[pa]=ਫਾਇਰਫੋਕਸ3
+Name[tg]=Рӯбоҳи оташин3
+GenericName=Web Browser
+GenericName[af]=Web Blaaier
+GenericName[ar]=متصفح ويب
+GenericName[az]=Veb Səyyahı
+GenericName[bg]=Браузър
+GenericName[bn]=ওয়েব ব্রাউজার
+GenericName[br]=Furcher ar Gwiad
+GenericName[bs]=WWW Preglednik
+GenericName[ca]=Fullejador web
+GenericName[cs]=WWW prohlížeč
+GenericName[cy]=Porydd Gwe
+GenericName[da]=Browser
+GenericName[de]=Web-Browser
+GenericName[el]=Περιηγητής Ιστού
+GenericName[eo]=TTT-legilo
+GenericName[es]=Navegador web
+GenericName[et]=Veebilehitseja
+GenericName[eu]=Web arakatzailea
+GenericName[fa]=مرورگر وب
+GenericName[fi]=WWW-selain
+GenericName[fo]=Alnótsfar
+GenericName[fr]=Navigateur web
+GenericName[gl]=Navegador Web
+GenericName[he]=דפדפן אינטרנט
+GenericName[hi]=वेब ब्राउज़र
+GenericName[hr]=Web preglednik
+GenericName[hu]=Webböngésző
+GenericName[is]=Vafri
+GenericName[it]=Browser Web
+GenericName[ja]=ウェブブラウザ
+GenericName[ko]=웹 브라우저
+GenericName[lo]=ເວັບບຣາວເຊີ
+GenericName[lt]=Žiniatinklio naršyklė
+GenericName[lv]=Web Pārlūks
+GenericName[mk]=Прелистувач на Интернет 
+GenericName[mn]=Веб-Хөтөч
+GenericName[nb]=Nettleser
+GenericName[nds]=Nettkieker
+GenericName[nl]=Webbrowser
+GenericName[nn]=Nettlesar
+GenericName[nso]=Seinyakisi sa Web
+GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
+GenericName[pl]=PrzeglÄ…darka WWW
+GenericName[pt]=Navegador Web
+GenericName[pt_BR]=Navegador Web
+GenericName[ro]=Navigator de web
+GenericName[ru]=Веб-браузер
+GenericName[se]=Fierpmádatlogan
+GenericName[sk]=Webový prehliadač
+GenericName[sl]=Spletni brskalnik
+GenericName[sr]=Веб претраживач
+GenericName[sr at Latn]=Veb pretraživač
+GenericName[ss]=Ibrawuza yeWeb 
+GenericName[sv]=Webbläsare
+GenericName[ta]=வலை உலாவி
+GenericName[tg]=Тафсиргари вэб
+GenericName[th]=เว็บบราวเซอร์
+GenericName[tr]=Web Tarayıcı
+GenericName[uk]=Навігатор Тенет
+GenericName[uz]=Веб-браузер
+GenericName[ven]=Buronza ya Webu
+GenericName[vi]=Trình duyệt Web
+GenericName[wa]=Betchteu waibe
+GenericName[xh]=Umkhangeli zincwadi we Web
+GenericName[zh_CN]=网页浏览器
+GenericName[zh_TW]=網頁瀏覽器
+GenericName[zu]=Umcingi we-Web
+MimeType=text/html
+StartupNotify=false
+Categories=Application;Network;
Index: unstable/network/firefox3/mozconfig
diff -u /dev/null unstable/network/firefox3/mozconfig:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/mozconfig	Thu Feb 14 00:33:27 2008
@@ -0,0 +1,32 @@
+# load defaults from src tarball
+. $topsrcdir/browser/config/mozconfig
+# add our own options
+
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-zlib
+# TODO we cannot use the system libpng until APNG support is added
+#ac_add_options --with-system-png
+ac_add_options --with-system-mng
+ac_add_options --with-pthreads
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-installer
+ac_add_options --enable-optimize="#CFLAGS#"
+ac_add_options --disable-xinerama
+ac_add_options --enable-default-toolkit=cairo-gtk2
+ac_add_options --disable-xprint
+ac_add_options --enable-strip
+ac_add_options --enable-pango
+ac_add_options --enable-xft
+# TODO we cannot use the system cairo until we go to a version >= 1.5.2
+#ac_add_options --enable-system-cairo
+ac_add_options --enable-svg
+ac_add_options --enable-canvas
+ac_add_options --prefix=/opt/mozilla
+ac_add_options --with-default-mozilla-five-home=/opt/mozilla/lib/firefox3
+ac_add_options --enable-crypto
+ac_add_options --enable-single-profile
+ac_add_options --disable-profilesharing
+ac_add_options --disable-gnomevfs
Index: unstable/network/firefox3/mozilla-firefox-1.0-lang.patch
diff -u /dev/null unstable/network/firefox3/mozilla-firefox-1.0-lang.patch:1.1
--- /dev/null	Thu Feb 14 00:33:28 2008
+++ unstable/network/firefox3/mozilla-firefox-1.0-lang.patch	Thu Feb 14 00:33:28 2008
@@ -0,0 +1,12 @@
+--- mozilla/browser/app/profile/firefox.js.lang	2005-01-13 15:32:03.509282726 +0100
++++ mozilla/browser/app/profile/firefox.js	2005-01-13 15:33:40.220914789 +0100
+@@ -253,6 +253,9 @@
+ pref("font.language.group", "chrome://global/locale/intl.properties");
+ pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
+ 
++// Use LANG environment variable to choose locale
++pref("intl.locale.matchOS", true);
++
+ // 0=lines, 1=pages, 2=history , 3=text size
+ pref("mousewheel.withcontrolkey.action",3);
+ pref("mousewheel.withshiftkey.action",2);




More information about the arch-commits mailing list