diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-12-27 17:17:37 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-12-27 17:17:37 -0300 |
commit | 0c14c3dd36e1c2f529ffa248383a275cfb21f168 (patch) | |
tree | f844a262139ed9aadefa9707776794927a12b1de /mozilla-testing/icecat | |
parent | b24bcd7ea54466fae5136027d6b5bd9fb3741012 (diff) | |
parent | cdb44f3dc8b59a656b0dc5568d731bdcb7c9ff60 (diff) | |
download | abslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.tar.gz abslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.tar.bz2 abslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.zip |
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to 'mozilla-testing/icecat')
-rw-r--r-- | mozilla-testing/icecat/PKGBUILD | 122 | ||||
-rw-r--r-- | mozilla-testing/icecat/icecat-safe.desktop | 78 | ||||
-rw-r--r-- | mozilla-testing/icecat/icecat.desktop | 78 | ||||
-rw-r--r-- | mozilla-testing/icecat/icecat.install | 13 | ||||
-rw-r--r-- | mozilla-testing/icecat/libre.patch | 66 | ||||
-rw-r--r-- | mozilla-testing/icecat/mozconfig | 92 | ||||
-rw-r--r-- | mozilla-testing/icecat/mozconfig.default | 70 | ||||
-rw-r--r-- | mozilla-testing/icecat/mozconfig.old | 85 | ||||
-rw-r--r-- | mozilla-testing/icecat/parabola.patch | 22 |
9 files changed, 626 insertions, 0 deletions
diff --git a/mozilla-testing/icecat/PKGBUILD b/mozilla-testing/icecat/PKGBUILD new file mode 100644 index 000000000..af040596a --- /dev/null +++ b/mozilla-testing/icecat/PKGBUILD @@ -0,0 +1,122 @@ +# Maintainer: Figue <ffigue at gmail> +# Contributor: Figue <ffigue at gmail> +# Contributor (Parabola): fauno <fauno@kiwwwi.com.ar> +# Contributor (Parabola): vando <facundo@esdebian.org> +# Contributor (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Thank you very much to the older contributors: +# Contributor: evr <evanroman at gmail> +# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com> + +# If you are updating this package, don't forget to update the version number in +# the value for 'browser.dictionaries.download.url' in 'libre.patch' + +pkgname=icecat +_pkgver=9.0 +pkgver=9.0.1 +pkgrel=1 +pkgdesc="The GNUzilla web browser, based on Mozilla Firefox. SafeBrowsing and other Google services disabled!" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gnu.org/software/gnuzilla/" +license=('MPL' 'GPL' 'LGPL') +depends=( + 'alsa-lib' + 'dbus-glib' + 'desktop-file-utils' + 'gtk2' + 'hicolor-icon-theme' + 'hunspell' + 'libevent' + 'libnotify' + 'libvpx' + 'libxt' + 'mime-types' + 'mozilla-common' + 'mozilla-searchplugins' + 'nss' + 'sqlite3' + 'startup-notification' +) +makedepends=( + 'autoconf2.13' + 'diffutils' + 'libidl2' + 'mesa' + 'p7zip-libre' + 'pkg-config' + 'python2' + 'wireless_tools' + 'xorg-server-xvfb' + 'yasm' + 'zip' +) +options=(!buildflags !distcc) +install=icecat.install +source=(ftp://ftp.gnu.org/gnu/gnuzilla/${pkgver}/${pkgname}-${pkgver}.tar.xz + mozconfig + mozconfig.old + mozconfig.default + libre.patch + parabola.patch + icecat.desktop + icecat-safe.desktop) + +build() { + ICECATDIR="/usr/lib/${pkgname}-${_pkgver}" && export ICECATDIR + cd "${srcdir}/${pkgname}-${pkgver}" + + cp "$srcdir/mozconfig" .mozconfig # Load our build config, disable SafeSearch + patch -Np1 -i "$srcdir/libre.patch" # Remove Google+Mozilla stuff + patch -Np1 -i "$srcdir/parabola.patch" # Parabola settings + + # Fix PRE_RELEASE_SUFFIX + sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in + + export LDFLAGS="$LDFLAGS -Wl,-rpath,$ICECATDIR" + export PYTHON="/usr/bin/python2" + + LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 & + LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="$MAKEFLAGS" + kill $! || true +} + +package() { + ICECATDIR="/usr/lib/${pkgname}-${_pkgver}" && export ICECATDIR + cd "${srcdir}/${pkgname}-${pkgver}" + + make -j1 -f client.mk DESTDIR="$pkgdir" install + + msg2 "Finishing..." + install -m755 -d "${pkgdir}/usr/share/pixmaps" + install -m644 browser/branding/unofficial/default48.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + + install -m755 -d "${pkgdir}/usr/share/applications" + install -m644 "${srcdir}/icecat.desktop" "${pkgdir}/usr/share/applications" + install -m644 "${srcdir}/icecat-safe.desktop" "${pkgdir}/usr/share/applications" + + ln -s "${pkgname}-${pkgver}" "${pkgdir}/usr/lib/${pkgname}-${_pkgver}" # WHY???!!! + ln -s "${pkgname}-${_pkgver}" "${pkgdir}/usr/lib/${pkgname}" + + rm -rf "${pkgdir}${ICECATDIR}/"{dictionaries,hyphenation,searchplugins,plugins} + ln -sf /usr/share/hunspell "${pkgdir}${ICECATDIR}/dictionaries" + ln -sf /usr/share/hyphen "${pkgdir}${ICECATDIR}/hyphenation" + ln -sf /usr/lib/mozilla/plugins "${pkgdir}${ICECATDIR}/plugins" + ln -sf /usr/lib/mozilla/searchplugins "${pkgdir}${ICECATDIR}/searchplugins" + + # We don't want the development stuff + rm -rf "${pkgdir}/usr/include" + rm -rf "${pkgdir}/usr/lib/${pkgname}-devel-${pkgver}" + rm -rf "${pkgdir}/usr/share/idl" + + # Workaround for now: + # https://bugzilla.mozilla.org/show_bug.cgi?id=658850 + ln -sf "${ICECATDIR}/${pkgname}-bin" "${pkgdir}${ICECATDIR}/$pkgname" +} + +md5sums=('a135581da2fd2845f268d7ca91054c06' + '9c0cd5b45a3c4b04b872b6a900f62286' + '0e5057d9427c6cd5e2f3b78fe34f50d9' + '44959606e4a704e68a913e73fc941926' + '07e65752416e615fe04ce586bc58f86b' + '037b44b6e07d7115e0fb221d67b94272' + 'e81ad01dbc16ba28bf92ba4b7c309ca7' + 'd93fe402b87cd000a869e1fd6badc6c9') diff --git a/mozilla-testing/icecat/icecat-safe.desktop b/mozilla-testing/icecat/icecat-safe.desktop new file mode 100644 index 000000000..87acc970c --- /dev/null +++ b/mozilla-testing/icecat/icecat-safe.desktop @@ -0,0 +1,78 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=/usr/bin/icecat -safe-mode %u +Icon=icecat +Type=Application +Terminal=false +MultipleArgs=false +Name=GNU IceCat - Safe Mode +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@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; diff --git a/mozilla-testing/icecat/icecat.desktop b/mozilla-testing/icecat/icecat.desktop new file mode 100644 index 000000000..8a7cad93d --- /dev/null +++ b/mozilla-testing/icecat/icecat.desktop @@ -0,0 +1,78 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=/usr/bin/icecat %u +Icon=icecat +Type=Application +Terminal=false +MultipleArgs=false +Name=GNU IceCat +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@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; diff --git a/mozilla-testing/icecat/icecat.install b/mozilla-testing/icecat/icecat.install new file mode 100644 index 000000000..c1fe8284a --- /dev/null +++ b/mozilla-testing/icecat/icecat.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + diff --git a/mozilla-testing/icecat/libre.patch b/mozilla-testing/icecat/libre.patch new file mode 100644 index 000000000..c5f59d858 --- /dev/null +++ b/mozilla-testing/icecat/libre.patch @@ -0,0 +1,66 @@ +--- icecat-9.0.1.orig/browser/app/profile/firefox.js 2011-12-26 23:11:39.000000000 -0500 ++++ icecat-9.0.1/browser/app/profile/firefox.js 2011-12-26 23:12:15.000000000 -0500 +@@ -74,7 +76,7 @@ + pref("extensions.update.autoUpdateDefault", true); + + // Dictionary download preference +-pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/"); ++pref("browser.dictionaries.download.url", "http://gnuzilla.gnu.org/download/langpacks/9.0.1/"); + + // The minimum delay in seconds for the timer to fire. + // default=2 minutes +@@ -876,7 +878,7 @@ + pref("browser.bookmarks.editDialog.firstEditField", "namePicker"); + + // base url for the wifi geolocation network provider +-pref("geo.wifi.uri", "https://www.google.com/loc/json"); ++pref("geo.wifi.uri", "http://geomena.org"); + pref("geo.wifi.protocol", 0); + + // Whether to use a panel that looks like an OS X sheet for customization +--- icecat-9.0.1.orig/browser/locales/en-US/chrome/browser-region/region.properties 2011-12-26 07:34:23.000000000 -0500 ++++ icecat-9.0.1/browser/locales/en-US/chrome/browser-region/region.properties 2011-12-26 19:59:04.000000000 -0500 +@@ -1,27 +1,19 @@ + # Default search engine +-browser.search.defaultenginename=Google ++browser.search.defaultenginename=Duck Duck Go (SSL) + + # Search engine order (order displayed in the search bar dropdown)s +-browser.search.order.1=Google +-browser.search.order.2=Yahoo ++browser.search.order.1=Duck Duck Go (SSL) ++browser.search.order.2=Duck Duck Go (Lite) + +-# This is the default set of web based feed handlers shown in the reader +-# selection UI +-browser.contentHandlers.types.0.title=Bloglines +-browser.contentHandlers.types.0.uri=http://www.bloglines.com/login?r=/sub/%s +-browser.contentHandlers.types.1.title=My Yahoo +-browser.contentHandlers.types.1.uri=http://add.my.yahoo.com/rss?url=%s +-browser.contentHandlers.types.2.title=Google +-browser.contentHandlers.types.2.uri=http://fusion.google.com/add?feedurl=%s + + # Keyword URL (for location bar searches) +-keyword.URL=http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= ++keyword.URL=https://duckduckgo.com/?q= + + # URL for site-specific search engines + # TRANSLATION NOTE: {moz:domain} and {searchTerms} are placeholders for the site + # to be searched and the user's search query. Place them in the appropriate location + # for your locale's URL but do not translate them. +-browser.search.siteSearchURL=http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&q=site%3A{moz:domain}+{searchTerms} ++browser.search.siteSearchURL=https://duckduckgo.com/?q=site%3A{moz:domain}+{searchTerms} + + # increment this number when anything gets changed in the list below. This will + # cause Firefox to re-read these prefs and inject any new handlers into the +--- icecat-9.0.1.orig/browser/app/Makefile.in 2011-12-27 00:22:26.000000000 -0500 ++++ icecat-9.0.1/browser/app/Makefile.in 2011-12-27 00:23:10.000000000 -0500 +@@ -269,7 +269,7 @@ + else + ifdef LIBXUL_SDK + libs:: +- cp $(LIBXUL_DIST)/bin/$(XULRUNNER_STUB_NAME)$(BIN_SUFFIX) $(DIST)/bin/firefox$(BIN_SUFFIX) ++ cp $(LIBXUL_DIST)/bin/$(XULRUNNER_STUB_NAME)$(BIN_SUFFIX) $(DIST)/bin/icecat$(BIN_SUFFIX) + endif + endif + diff --git a/mozilla-testing/icecat/mozconfig b/mozilla-testing/icecat/mozconfig new file mode 100644 index 000000000..5a04038be --- /dev/null +++ b/mozilla-testing/icecat/mozconfig @@ -0,0 +1,92 @@ +# We are building the browser +ac_add_options --enable-application=browser +export MOZ_PHOENIX=1 +mk_add_options MOZ_PHOENIX=1 + +# Branding +ac_add_options --disable-official-branding +ac_add_options --with-branding=browser/branding/unofficial + +# GNUzilla things +ac_add_options --with-distribution-id=org.gnu.gnuzilla +ac_add_options --with-user-appdir=.gnuzilla + +# Operating system things +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib +ac_add_options --with-pthreads + +ac_add_options --enable-toolkit-cairo-gtk2 +ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --enable-svg-renderer=cairo + +ac_add_options --disable-toolkit-qt + +ac_add_options --enable-system-cairo +ac_add_options --enable-system-hunspell +ac_add_options --enable-system-sqlite +ac_add_options --with-system-bz2 +ac_add_options --with-system-jpeg +ac_add_options --with-system-libevent +ac_add_options --with-system-libvpx +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-png +ac_add_options --with-system-zlib + +ac_add_options --enable-freetype2 +ac_add_options --enable-pango +ac_add_options --enable-startup-notification + + +# Enable/Disable web technologies +ac_add_options --enable-canvas +ac_add_options --enable-canvas3d +ac_add_options --enable-places +ac_add_options --enable-smil +ac_add_options --enable-svg + +# Enable/Disable "user-y" features +ac_add_options --enable-extensions="default spellcheck" + +ac_add_options --disable-safe-browsing +ac_add_options --enable-url-classifier +ac_add_options --disable-chatzilla +ac_add_options --disable-accessibility +ac_add_options --disable-calendar +ac_add_options --disable-composer + +# Enable/Disable "system-y" features +ac_add_options --disable-crashreporter +ac_add_options --disable-debug +ac_add_options --disable-installer +ac_add_options --disable-updater + +ac_add_options --disable-gnomevfs +ac_add_options --disable-javaxpcom +ac_add_options --enable-gio +ac_add_options --enable-libnotify +ac_add_options --enable-printing +ac_add_options --enable-xinerama +ac_add_options --enable-xterm-updates + +# Build settings +ac_add_options --disable-mochitest +ac_add_options --disable-pedantic +ac_add_options --disable-static +ac_add_options --disable-tests +ac_add_options --enable-install-strip +ac_add_options --enable-jemalloc +ac_add_options --enable-optimize +ac_add_options --enable-strip + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 + +# PGO +ac_add_options --enable-profile-guided-optimization +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo +mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py' +mk_add_options PYTHONPATH='$(OBJDIR)/_profile/pgo' diff --git a/mozilla-testing/icecat/mozconfig.default b/mozilla-testing/icecat/mozconfig.default new file mode 100644 index 000000000..21aaa0edd --- /dev/null +++ b/mozilla-testing/icecat/mozconfig.default @@ -0,0 +1,70 @@ +# This is a better commented version of the default .mozconfig from 9.0.1 + +# We are building the browser +ac_add_options --enable-application=browser +export MOZ_PHOENIX=1 +mk_add_options MOZ_PHOENIX=1 + +# Branding +ac_add_options --disable-official-branding +ac_add_options --with-branding=browser/branding/unofficial + +# GNUzilla things +ac_add_options --with-distribution-id=org.gnu.gnuzilla +ac_add_options --with-user-appdir=.gnuzilla + +# Operating system things +ac_add_options --prefix=/usr/local +#ac_add_options --with-default-mozilla-five-home=/usr/local/lib +#ac_add_options --with-pthreads + +ac_add_options --enable-toolkit-cairo-gtk2 +ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --enable-svg-renderer=cairo + +ac_add_options --disable-toolkit-qt + +ac_add_options --disable-system-cairo +ac_add_options --with-system-jpeg +#ac_add_options --with-system-png +ac_add_options --with-system-zlib + +ac_add_options --enable-freetype2 +ac_add_options --enable-pango + +# Enable/Disable web technologies +ac_add_options --enable-crypto +#ac_add_options --enable-postscript +ac_add_options --enable-svg +ac_add_options --enable-xft + +# Enable/Disable "user-y" features +ac_add_options --enable-extensions="default spellcheck" + +ac_add_options --disable-chatzilla +ac_add_options --disable-accessibility +ac_add_options --disable-calendar +ac_add_options --disable-composer + +# Enable/Disable "system-y" features +ac_add_options --disable-crashreporter +ac_add_options --disable-debug +ac_add_options --disable-installer +ac_add_options --disable-updater + +#ac_add_options --disable-jsd +#ac_add_options --disable-libxul +ac_add_options --disable-ipc +ac_add_options --disable-ldap +ac_add_options --disable-mailnews +ac_add_options --disable-negotiateauth +ac_add_options --disable-profilesharing +ac_add_options --disable-xinerama +ac_add_options --disable-xprint + +# Build settings +ac_add_options --disable-elf-dynstr-gc +ac_add_options --disable-mochitest +ac_add_options --disable-tests +ac_add_options --enable-optimize="-pipe -O3" +ac_add_options --enable-strip diff --git a/mozilla-testing/icecat/mozconfig.old b/mozilla-testing/icecat/mozconfig.old new file mode 100644 index 000000000..3ae3e1c2e --- /dev/null +++ b/mozilla-testing/icecat/mozconfig.old @@ -0,0 +1,85 @@ +# This is a better commented version of the .mozconfig used by the Parabola +# package < v9 + +# We are building the browser +. $topsrcdir/browser/config/mozconfig + +# Branding +ac_add_options --disable-official-branding +ac_add_options --with-branding=browser/branding/unofficial + +# GNUzilla things +ac_add_options --with-distribution-id=org.gnu.gnuzilla +ac_add_options --with-user-appdir=.gnuzilla + +# Operating system things +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib +ac_add_options --with-pthreads + +ac_add_options --enable-default-toolkit=cairo-gtk2 + + +ac_add_options --enable-system-cairo +ac_add_options --enable-system-hunspell +ac_add_options --enable-system-sqlite +ac_add_options --with-system-bz2 +ac_add_options --with-system-jpeg +ac_add_options --with-system-libevent +ac_add_options --with-system-libvpx +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-png +ac_add_options --with-system-zlib + +ac_add_options --enable-pango +ac_add_options --enable-startup-notification + + +# Enable/Disable web technologies +ac_add_options --enable-canvas +ac_add_options --enable-canvas3d +ac_add_options --enable-places +ac_add_options --enable-smil +ac_add_options --enable-svg + +# Enable/Disable "user-y" features +ac_add_options --enable-extensions=default + +ac_add_options --disable-safe-browsing +ac_add_options --enable-url-classifier + +# Enable/Disable "system-y" features +ac_add_options --disable-crashreporter +ac_add_options --disable-debug +ac_add_options --disable-installer +ac_add_options --disable-update + +ac_add_options --disable-gnomevfs +ac_add_options --disable-javaxpcom +ac_add_options --enable-gio +ac_add_options --enable-libnotify +ac_add_options --enable-printing +ac_add_options --enable-xinerama +ac_add_options --enable-xterm-updates + +# Build settings +ac_add_options --disable-mochitest +ac_add_options --disable-pedantic +ac_add_options --disable-static +ac_add_options --disable-tests +ac_add_options --enable-install-strip +ac_add_options --enable-jemalloc +ac_add_options --enable-optimize +ac_add_options --enable-strip + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 + +# PGO +ac_add_options --enable-profile-guided-optimization +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo +mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py' +mk_add_options PYTHONPATH='$(OBJDIR)/_profile/pgo' diff --git a/mozilla-testing/icecat/parabola.patch b/mozilla-testing/icecat/parabola.patch new file mode 100644 index 000000000..b8000c3ea --- /dev/null +++ b/mozilla-testing/icecat/parabola.patch @@ -0,0 +1,22 @@ +diff -ru icecat-9.0.1.orig/browser/app/profile/firefox.js icecat-9.0.1/browser/app/profile/firefox.js +--- icecat-9.0.1.orig/browser/app/profile/firefox.js 2011-12-27 00:11:30.000000000 -0500 ++++ icecat-9.0.1/browser/app/profile/firefox.js 2011-12-27 00:11:39.000000000 -0500 +@@ -48,6 +48,8 @@ + #endif + #endif + ++pref("general.startup.browser", true); ++ + pref("browser.chromeURL","chrome://browser/content/"); + pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul"); + +@@ -487,6 +489,9 @@ + pref("browser.gesture.twist.left", ""); + pref("browser.gesture.tap", "cmd_fullZoomReset"); + ++// Use LANG environment variable to choose locale ++pref("intl.locale.matchOS", true); ++ + // 0=lines, 1=pages, 2=history , 3=text size + #ifdef XP_MACOSX + // On OS X, if the wheel has one axis only, shift+wheel comes through as a |