diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-23 13:00:03 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-23 13:00:03 (GMT) |
commit | d605889115f15c2c628a12bd185bf3fd92b156ee (patch) | |
tree | 09587ba7f01dd38c7806c9afdab115b4016a567e | |
parent | 4702175bc8bf5f1af5c16d6ddd02140d017b8e02 (diff) | |
download | linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.zip linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.gz linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.bz2 |
Initial community packages for various users.
18 files changed, 728 insertions, 0 deletions
diff --git a/abs/extra-testing/community/firefox-i18n/PKGBUILD b/abs/extra-testing/community/firefox-i18n/PKGBUILD new file mode 100644 index 0000000..b403540 --- /dev/null +++ b/abs/extra-testing/community/firefox-i18n/PKGBUILD @@ -0,0 +1,87 @@ +# $Id: PKGBUILD 22051 2008-12-21 14:33:00Z jgc $ +# Maintainer: Thomas Baechler <thomas@archlinux.org> +# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com> +# Contributor: Michal Hybner <dta081@gmail.com> +pkgname=firefox-i18n +pkgver=3.0.5 +pkgrel=1 +_languages=af,ar,be,bg,bn-IN,ca,cs,cy,da,de,el,en-GB,eo,es-AR,es-ES,et,eu,fi,fr,fy-NL,ga-IE,gl,gu-IN,he,hi-IN,hu,id,is,it,ja,ka,kn,ko,ku,lt,lv,mk,mn,mr,nb-NO,nl,nn-NO,oc,pa-IN,pl,pt-BR,pt-PT,ro,ru,si,sk,sl,sq,sr,sv-SE,te,th,tr,uk,zh-CN,zh-TW +pkgdesc="Language packs for Firefox" +arch=(i686 x86_64) +license=('MPL') +url="http://www.mozilla.com/" +depends=("firefox>=${pkgver}") +eval conflicts=(mozilla-firefox-i18n mozilla-firefox-{${_languages}} firefox-{${_languages}}) +makedepends=('unzip') +eval source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/xpi/{${_languages}}.xpi) +md5sums=('a95495da07c3831e02e46657391ab2b7' + 'c00401e8d9e6fab7a14f25b5b7bc00de' + '72c3e21c975f6c123333a89297a94f18' + '6cfd948b20af272717c3d455a40aece1' + '5ac61e984ee3bf66c5602b66a126d5e7' + '2f07344aa1c82ef333b4c2e8f85e4bb5' + 'e26efec3e8dace92f26226eaed4735af' + 'd2ed4156dd2afbb3ed316f6cc5a33f83' + '0cc735eefa89bd136c4d44f5ee441d1e' + '4ef9d16b9c8efdfc55e9a908a11ca8f7' + 'e4c3ea55c95aee7e832b89b39c185618' + 'dc83b38f5ae3de9a07e8ebadb1b5759e' + '44a2a72eebf0aa3718d4d3117c28843c' + 'ae34f4e6846612834efb057dd9b1a745' + '49c588c089e4d28d0dfc92a0e19182e0' + 'f6ea7778e1c465e6ea87bb511cdd2f17' + '3c9fc0d80b72622cfb62d0464ef9b329' + '5f3181ec9eba2aa29e256928842b0a47' + 'c328ecdca8eeb71a6b730f36284ef68f' + 'ea9a474b1c58fa66c4a0fcbd005d9645' + 'a8e3830158fdc20aacff6779e2655c6e' + 'c1a4827e544cbf424500b9f14f265ea9' + '404ef7d8b1b2f2df562cbd7ffd51882e' + '0e44997fd0cb844bdb1f4d878b9ceaf0' + '2863037df0105ec61352a5b1e7bea5ba' + '6b6b56d306f2bfbd2eaff383d76bb1f9' + '0d854b7e40583f8846290297c8270933' + 'f95a1860325048fd0632045b3b7cc294' + '25eb699f7c6d996747b5820c8732b67a' + 'e6c91b9fee9e62dc3fe185dbc733e9cb' + 'f6e31dbe777cf563e5340fc118fda527' + 'd5ae859c31c3efe60b61086cc5b8aec0' + '59302047e124d692ef93ca7568abe0a2' + 'd2052817f495873f775ab65058a53f1f' + '033b3b5fcaf31b7d42dcdaf7397b854f' + 'e4eb3b2465a97e77d6ff80d3e4f984eb' + 'ce1b981bbbc193c8c9f37ed7f8c9b663' + 'b81e8af5852f103ddedd60a06adcbd5c' + '751d19ab79ced6b85e36911ef0c0279b' + '448268b820d7c97fd09392bd1969c463' + 'd3ba2623f102d4c43605e55d7963ebac' + '7f736e3fddd81b79e8005322ba950754' + 'ac45a61f7745c4010b90f905561908e2' + 'e3bbadb5f7d498e968dc3f167d194cf6' + '2a7c392244c50aaba8cd8c89bea485b4' + '4f8e680f43b6fa97e3cf32c6009ca2fb' + '22ea77ad0ae392b23f0ff3c26eb51779' + '15315d2e6fb69aef4e1c132d8fd81298' + '01b7791ae4a6b2292e960b390088567e' + '6f41157ae82bff75949d4d07e5805193' + 'ab0190aa209f319df665c5ac0fe46561' + '637cb959e9cbac5621cd5bcf1217b402' + '5db8f7225f75c78328862d824c645ddf' + '784476b9346d80e79e853471cbde327f' + '4cba2858a9a316ac2514d8f5d39175f8' + '4cec25322abee08541a522795ea27dd9' + '837ec19aedc294473fe1eb5ba0bd39bd' + '9277490d85efd41e56e0fc41a495bedd' + '64fcd35b5f210bee98db4137808d0fda' + '8e2bd0b8e551b4d3f6e1cc246ca6cac2' + '9784b3e8d27b919bbd0050ec947fe50c') + +build() { + cd ${startdir}/src + for lang in $(echo "${_languages}" | sed 's|,| |g'); do + unzip -o ${lang}.xpi + sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest || return 1 + install -D -m 644 chrome/${lang}.jar ${pkgdir}/usr/lib/firefox-3.0/chrome/${lang}.jar || return 1 + install -D -m 644 chrome.manifest ${pkgdir}/usr/lib/firefox-3.0/chrome/${lang}.manifest || return 1 + done +} diff --git a/abs/extra-testing/community/firefox/PKGBUILD b/abs/extra-testing/community/firefox/PKGBUILD new file mode 100644 index 0000000..92aec67 --- /dev/null +++ b/abs/extra-testing/community/firefox/PKGBUILD @@ -0,0 +1,63 @@ +# $Id: PKGBUILD 22049 2008-12-21 14:15:02Z jgc $ +# Contributor: Jakub Schmidtke <sjakub@gmail.com> + +pkgname=firefox +pkgver=3.0.5 +pkgrel=1 +pkgdesc="Standalone web browser from mozilla.org" +arch=(i686 x86_64) +license=('MPL' 'GPL' 'LGPL') +depends=('xulrunner=1.9.0.5' 'desktop-file-utils' 'shared-mime-info') +makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.0' 'python' 'xorg-server') +replaces=('firefox3') +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 + firefox.desktop + firefox-safe.desktop + mozilla-firefox-1.0-lang.patch + mozbug421977.patch + firefox-appversion.patch) +md5sums=('19d09b2554976e207d37a164bcf43547' + '8b6e5f7d0a9e3f64747a024cf8f12069' + '68cf02788491c6e846729b2f2913bf79' + '5e68cabfcf3c021806b326f664ac505e' + 'bd5db57c23c72a02a489592644f18995' + '7976e3ff52e01af3388dfc3a479c4955' + 'c6f27fca2e6bd2a570b271ec3ce35782') + +build() { + cd ${srcdir}/mozilla + + patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1 + + # FS#10836: fixes backgroundcolor parsing with gnome + patch -Np0 -i ${srcdir}/mozbug421977.patch || return 1 + + patch -Np1 -i ${srcdir}/firefox-appversion.patch || return 1 + + cp ${srcdir}/mozconfig .mozconfig + + unset CFLAGS + unset CXXFLAGS + + export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.0" + + LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 & + XPID=$! + export DISPLAY=:99 + + LD_PRELOAD="" make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1 + kill $XPID + + make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1 + + rm -f ${pkgdir}/usr/lib/firefox-3.0/libjemalloc.so + + install -m755 -d ${pkgdir}/usr/share/applications + install -m755 -d ${pkgdir}/usr/share/pixmaps + install -m644 ${srcdir}/mozilla/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1 + install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/ || return 1 + install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/ || return 1 +} diff --git a/abs/extra-testing/community/firefox/firefox-appversion.patch b/abs/extra-testing/community/firefox/firefox-appversion.patch new file mode 100644 index 0000000..458904e --- /dev/null +++ b/abs/extra-testing/community/firefox/firefox-appversion.patch @@ -0,0 +1,11 @@ +--- mozilla/browser/installer/Makefile.in.orig 2008-11-19 22:49:15.000000000 +0100 ++++ mozilla/browser/installer/Makefile.in 2008-11-19 22:49:32.000000000 +0100 +@@ -43,6 +43,8 @@ + + include $(DEPTH)/config/autoconf.mk + ++MOZ_APP_VERSION=3.0 ++ + NO_PKG_FILES = \ + $(MOZ_APP_NAME)-config \ + $(MOZ_APP_NAME)-bin.elf \ diff --git a/abs/extra-testing/community/firefox/firefox-safe.desktop b/abs/extra-testing/community/firefox/firefox-safe.desktop new file mode 100644 index 0000000..afb4cdb --- /dev/null +++ b/abs/extra-testing/community/firefox/firefox-safe.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=firefox -safe-mode %u +Icon=firefox +Type=Application +Terminal=false +MultipleArgs=false +Name=Firefox - Safe Mode +GenericName=Web Browser - Safe Mode +StartupNotify=false +Categories=Application;Network; diff --git a/abs/extra-testing/community/firefox/firefox.desktop b/abs/extra-testing/community/firefox/firefox.desktop new file mode 100644 index 0000000..2a4b678 --- /dev/null +++ b/abs/extra-testing/community/firefox/firefox.desktop @@ -0,0 +1,83 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=firefox %u +Icon=firefox +Type=Application +Terminal=false +MultipleArgs=false +Name=Firefox +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@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=true +Categories=Application;Network; diff --git a/abs/extra-testing/community/firefox/firefox.install b/abs/extra-testing/community/firefox/firefox.install new file mode 100644 index 0000000..7463b6e --- /dev/null +++ b/abs/extra-testing/community/firefox/firefox.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q +} + diff --git a/abs/extra-testing/community/firefox/mozbug421977.patch b/abs/extra-testing/community/firefox/mozbug421977.patch new file mode 100644 index 0000000..df8371a --- /dev/null +++ b/abs/extra-testing/community/firefox/mozbug421977.patch @@ -0,0 +1,158 @@ +Index: browser/components/shell/src/nsGNOMEShellService.cpp +=================================================================== +RCS file: /cvsroot/mozilla/browser/components/shell/src/nsGNOMEShellService.cpp,v +retrieving revision 1.21 +diff -d -u -p -U 8 -r1.21 nsGNOMEShellService.cpp +--- browser/components/shell/src/nsGNOMEShellService.cpp 1 Oct 2007 18:25:26 -0000 1.21 ++++ browser/components/shell/src/nsGNOMEShellService.cpp 15 Mar 2008 07:08:47 -0000 +@@ -58,16 +58,17 @@ + #include "nsIImage.h" + #include "prprf.h" + #ifdef MOZ_WIDGET_GTK2 + #include "nsIImageToPixbuf.h" + #endif + + #include <glib.h> + #include <glib-object.h> ++#include <gdk/gdk.h> + #include <gdk-pixbuf/gdk-pixbuf.h> + #include <limits.h> + #include <stdlib.h> + + struct ProtocolAssociation + { + const char *name; + PRBool essential; +@@ -442,117 +443,56 @@ nsGNOMEShellService::SetDesktopBackgroun + EmptyCString()); + + gconf->SetString(NS_LITERAL_CSTRING(kDesktopImageKey), filePath); + gconf->SetBool(NS_LITERAL_CSTRING(kDesktopDrawBGKey), PR_TRUE); + + return rv; + } + +-// In: pointer to two characters CC +-// Out: parsed color number +-static PRUint8 +-HexToNum(char ch) +-{ +- if ('0' <= ch && '9' >= ch) +- return ch - '0'; +- +- if ('A' <= ch && 'F' >= ch) +- return ch - 'A'; +- +- if ('a' <= ch && 'f' >= ch) +- return ch - 'a'; +- +- return 0; +-} +- +- +-// In: 3 or 6-character RRGGBB hex string +-// Out: component colors +-static PRBool +-HexToRGB(const nsCString& aColorSpec, +- PRUint8 &aRed, +- PRUint8 &aGreen, +- PRUint8 &aBlue) +-{ +- const char *buf = aColorSpec.get(); +- +- if (aColorSpec.Length() == 6) { +- aRed = HexToNum(buf[0]) >> 4 | +- HexToNum(buf[1]); +- aGreen = HexToNum(buf[2]) >> 4 | +- HexToNum(buf[3]); +- aBlue = HexToNum(buf[4]) >> 4 | +- HexToNum(buf[5]); +- return PR_TRUE; +- } +- +- if (aColorSpec.Length() == 3) { +- aRed = HexToNum(buf[0]); +- aGreen = HexToNum(buf[1]); +- aBlue = HexToNum(buf[2]); +- +- aRed |= aRed >> 4; +- aGreen |= aGreen >> 4; +- aBlue |= aBlue >> 4; +- +- return PR_TRUE; +- } +- +- return PR_FALSE; +-} ++#define COLOR_16_TO_8_BIT(_c) ((_c) >> 8) ++#define COLOR_8_TO_16_BIT(_c) ((_c) << 8) + + NS_IMETHODIMP + nsGNOMEShellService::GetDesktopBackgroundColor(PRUint32 *aColor) + { + nsCOMPtr<nsIGConfService> gconf = do_GetService(NS_GCONFSERVICE_CONTRACTID); + + nsCAutoString background; + gconf->GetString(NS_LITERAL_CSTRING(kDesktopColorKey), background); + + if (background.IsEmpty()) { + *aColor = 0; + return NS_OK; + } + +- // Chop off the leading '#' character +- background.Cut(0, 1); ++ GdkColor color; ++ gboolean success = gdk_color_parse(background.get(), &color); + +- PRUint8 red, green, blue; +- if (!HexToRGB(background, red, green, blue)) +- return NS_ERROR_FAILURE; ++ NS_ENSURE_TRUE(success, NS_ERROR_FAILURE); + +- // The result must be in RGB order with the high 8 bits zero. +- *aColor = (red << 16 | green << 8 | blue); ++ *aColor = COLOR_16_TO_8_BIT(color.red) << 16 | ++ COLOR_16_TO_8_BIT(color.green) << 8 | ++ COLOR_16_TO_8_BIT(color.blue); + return NS_OK; + } + +-static void +-ColorToHex(PRUint32 aColor, nsCString& aResult) +-{ +- char *buf = aResult.BeginWriting(7); +- if (!buf) +- return; +- +- PRUint8 red = (aColor >> 16); +- PRUint8 green = (aColor >> 8) & 0xff; +- PRUint8 blue = aColor & 0xff; +- +- PR_snprintf(buf, 8, "#%02x%02x%02x", red, green, blue); +-} +- + NS_IMETHODIMP + nsGNOMEShellService::SetDesktopBackgroundColor(PRUint32 aColor) + { + nsCOMPtr<nsIGConfService> gconf = do_GetService(NS_GCONFSERVICE_CONTRACTID); + +- nsCString colorString; +- ColorToHex(aColor, colorString); ++ GdkColor color; ++ color.red = COLOR_8_TO_16_BIT(aColor >> 16); ++ color.green = COLOR_8_TO_16_BIT((aColor >> 8) & 0xff); ++ color.blue = COLOR_8_TO_16_BIT(aColor & 0xff); + +- gconf->SetString(NS_LITERAL_CSTRING(kDesktopColorKey), colorString); ++ gchar *colorString = gdk_color_to_string(&color); ++ gconf->SetString(NS_LITERAL_CSTRING(kDesktopColorKey), nsDependentCString(colorString)); ++ g_free (colorString); + + return NS_OK; + } + + NS_IMETHODIMP + nsGNOMEShellService::OpenApplication(PRInt32 aApplication) + { + nsCAutoString scheme; diff --git a/abs/extra-testing/community/firefox/mozconfig b/abs/extra-testing/community/firefox/mozconfig new file mode 100644 index 0000000..b40ce01 --- /dev/null +++ b/abs/extra-testing/community/firefox/mozconfig @@ -0,0 +1,37 @@ +. $topsrcdir/browser/config/mozconfig + +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-jpeg +ac_add_options --with-system-zlib +ac_add_options --with-system-png +ac_add_options --with-pthreads +ac_add_options --disable-tests +ac_add_options --disable-debug +ac_add_options --enable-optimize +ac_add_options --disable-installer +ac_add_options --enable-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-system-cairo +ac_add_options --enable-svg +ac_add_options --enable-canvas +ac_add_options --enable-startup-notification +ac_add_options --enable-libxul +ac_add_options --disable-crashreporter +ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9 +ac_add_options --enable-safe-browsing +ac_add_options --with-branding=browser/branding/unofficial +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-obj +mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py' + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +export USE_SHORT_LIBNAME=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 +mk_add_options USE_SHORT_LIBNAME=1 diff --git a/abs/extra-testing/community/firefox/mozilla-firefox-1.0-lang.patch b/abs/extra-testing/community/firefox/mozilla-firefox-1.0-lang.patch new file mode 100644 index 0000000..f0f7325 --- /dev/null +++ b/abs/extra-testing/community/firefox/mozilla-firefox-1.0-lang.patch @@ -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); diff --git a/abs/extra-testing/community/firefox/mozilla-firstrun.patch b/abs/extra-testing/community/firefox/mozilla-firstrun.patch new file mode 100644 index 0000000..3a75328 --- /dev/null +++ b/abs/extra-testing/community/firefox/mozilla-firstrun.patch @@ -0,0 +1,49 @@ +diff -up mozilla/browser/base/jar.mn.firstrun mozilla/browser/base/jar.mn +--- mozilla/browser/base/jar.mn.firstrun 2008-06-15 12:39:28.000000000 -0700 ++++ mozilla/browser/base/jar.mn 2008-06-15 12:39:34.000000000 -0700 +@@ -21,9 +21,6 @@ browser.jar: + * content/browser/browser.js (content/browser.js) + * content/browser/browser.xul (content/browser.xul) + * content/browser/credits.xhtml (content/credits.xhtml) +-* content/browser/EULA.js (content/EULA.js) +-* content/browser/EULA.xhtml (content/EULA.xhtml) +-* content/browser/EULA.xul (content/EULA.xul) + * content/browser/metaData.js (content/metaData.js) + * content/browser/metaData.xul (content/metaData.xul) + * content/browser/pageinfo/pageInfo.xul (content/pageinfo/pageInfo.xul) +--- mozilla/browser/components/nsBrowserGlue.js 2008-09-16 19:07:25.000000000 +0000 ++++ mozilla/browser/components/nsBrowserGlue.js.new 2008-10-03 14:54:50.955760018 +0000 +@@ -175,33 +175,6 @@ + // profile startup handler (contains profile initialization routines) + _onProfileStartup: function() + { +- // Check to see if the EULA must be shown on startup +- +- var prefBranch = Cc["@mozilla.org/preferences-service;1"]. +- getService(Ci.nsIPrefBranch); +- var mustDisplayEULA = false; +- try { +- mustDisplayEULA = !prefBranch.getBoolPref("browser.EULA.override"); +- } catch (e) { +- // Pref might not exist +- } +- +- // Make sure it hasn't already been accepted +- if (mustDisplayEULA) { +- try { +- var EULAVersion = prefBranch.getIntPref("browser.EULA.version"); +- mustDisplayEULA = !prefBranch.getBoolPref("browser.EULA." + EULAVersion + ".accepted"); +- } catch(ex) { +- } +- } +- +- if (mustDisplayEULA) { +- var ww2 = Cc["@mozilla.org/embedcomp/window-watcher;1"]. +- getService(Ci.nsIWindowWatcher); +- ww2.openWindow(null, "chrome://browser/content/EULA.xul", +- "_blank", "chrome,centerscreen,modal,resizable=yes", null); +- } +- + this.Sanitizer.onStartup(); + // check if we're in safe mode + var app = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo). diff --git a/abs/extra-testing/community/flashplugin/PKGBUILD b/abs/extra-testing/community/flashplugin/PKGBUILD new file mode 100644 index 0000000..1e68f40 --- /dev/null +++ b/abs/extra-testing/community/flashplugin/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 21951 2008-12-18 13:25:19Z thomas $ + +pkgname=flashplugin +_licensefile='Reader_Player_WWEULA-Combined-20060724_1430.pdf' +if [ "${CARCH}" = 'i686' ]; then + pkgver=10.0.15.3 + pkgrel=1 + source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz' + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") + md5sums=('afab0b40b0ae11445e2e90a4a9224a8a' + '844cea6c9afc13d9e27f28ce1a6e20f3') +elif [ "${CARCH}" = 'x86_64' ]; then + pkgver=10.0.d21.1 + pkgrel=1 + source=("http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-${pkgver}.linux-x86_64.so.tar.gz" + "http://www.adobe.com/products/eulas/pdfs/${_licensefile}") + md5sums=('c165af9d4e324bfaf6d1cfbdbe959fbb' + '844cea6c9afc13d9e27f28ce1a6e20f3') +else + error Unknown architecture. + exit 1 +fi +pkgdesc='Adobe Flash Player' +url='http://www.adobe.com/go/getflash' +arch=('i686' 'x86_64') +depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl') +replaces=('flashplugin-beta') +provides=('flashplayer') +license=('custom') + +build() { + install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 + if [ "${CARCH}" = 'i686' ]; then + install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 + elif [ "${CARCH}" = 'x86_64' ]; then + install -m755 ${srcdir}/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1 + fi + install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 + install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 +} diff --git a/abs/extra-testing/community/fluxconf/PKGBUILD b/abs/extra-testing/community/fluxconf/PKGBUILD new file mode 100644 index 0000000..9d9220f --- /dev/null +++ b/abs/extra-testing/community/fluxconf/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: Jochem Kossen <j.kossen@home.nl> + +pkgname=fluxconf +pkgver=0.9.9 +pkgrel=1 +pkgdesc="Configuration utility for the Fluxbox windowmanager" +arch=(i686 x86_64) +depends=('gtk2') +source=(http://devaux.fabien.free.fr/flux/$pkgname-$pkgver.tar.gz) +url="http://devaux.fabien.free.fr/flux/" +md5sums=('ac37b12410daa06128f8eb29163a741d') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + /usr/bin/make || return 1 + /usr/bin/make prefix=$startdir/pkg/usr install + cd $startdir/pkg/usr/bin + /bin/ln -sf $pkgname fluxbare + /bin/ln -sf $pkgname fluxkeys + /bin/ln -sf $pkgname fluxmenu +} diff --git a/abs/extra-testing/community/jre/PKGBUILD b/abs/extra-testing/community/jre/PKGBUILD new file mode 100644 index 0000000..b7ee08b --- /dev/null +++ b/abs/extra-testing/community/jre/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD,v 1.3 2008/12/03 02:33:37 gcarrier Exp $ +# Maintainer: Jason Chu <jason@archlinux.org> + +pkgname=jre +pkgver=6u11 +pkgrel=1 +pkgdesc="Sun's java runtime environment" +arch=(i686 x86_64) + [ "$CARCH" = "i686" ] && _arch=i586 + [ "$CARCH" = "x86_64" ] && _arch=amd64 +url="http://java.sun.com" +depends=('glibc' 'libstdc++5') +install="jre.install" +source=(http://download.java.net/dlj/binaries/jdk-$pkgver-dlj-linux-$_arch.bin + https://jdk-distros.dev.java.net/source/browse/*checkout*/jdk-distros/trunk/utils/construct.sh + jre.profile) +[ "$CARCH" = "i686" ] && md5sums=('e5eef98bc477675c66e053fc3635e645' + '94065b612df0046d9ae758943f9f6a75' + '50b4f5ac4129097461d246645d73a622') +[ "$CARCH" = "x86_64" ] && md5sums=('0f687b6dbfe54e117bb0d9e090fda20b' + '94065b612df0046d9ae758943f9f6a75' + '50b4f5ac4129097461d246645d73a622') +replaces=('j2re') +conflicts=('j2re' 'java-runtime') +provides=('j2re' 'java-runtime') +license=('custom') + +build() { + cd $startdir/src + + mkdir unbundle-jdk + cd unbundle-jdk + + sh ../jdk-$pkgver-dlj-linux-$_arch.bin --accept-license + + cd .. + + sh construct.sh unbundle-jdk linux-jdk linux-jre + + mkdir -p $startdir/pkg/opt/java + mv linux-jdk/jre $startdir/pkg/opt/java + + install -D -m755 $startdir/src/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh + + # no plugin for x86_64 + if [ "$CARCH" = "i686" ]; then + mkdir -p $startdir/pkg/usr/lib/mozilla/plugins + ln -s /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so $startdir/pkg/usr/lib/mozilla/plugins + else echo "no plugin for x86_64" + fi + + mkdir -p $startdir/pkg/usr/share/licenses/jre + cp $startdir/pkg/opt/java/jre/COPYRIGHT $startdir/pkg/usr/share/licenses/jre + cp $startdir/pkg/opt/java/jre/LICENSE $startdir/pkg/usr/share/licenses/jre + cp $startdir/pkg/opt/java/jre/THIRDPARTYLICENSEREADME.txt $startdir/pkg/usr/share/licenses/jre +} diff --git a/abs/extra-testing/community/jre/jre.install b/abs/extra-testing/community/jre/jre.install new file mode 100644 index 0000000..778a5fd --- /dev/null +++ b/abs/extra-testing/community/jre/jre.install @@ -0,0 +1,33 @@ +post_upgrade() { + post_install $1 +} + +post_install() { + echo "The jre package is licensed software." + echo "You MUST read and agree to the license stored in" + echo "/opt/java/jre/LICENSE before using it." + if [ -f /etc/mailcap ] ; then + sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap + fi + echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap +cat << _EOF + +==> In order to have java applets support in firefox you should install +==> libxtst (pacman -S libxtst). + +_EOF + +} + +post_remove() { + mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap) + if [ "$mailcap" != "" ] ; then + sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap + else + rm /etc/mailcap + fi +} + +op=$1 +shift +$op $* diff --git a/abs/extra-testing/community/jre/jre.profile b/abs/extra-testing/community/jre/jre.profile new file mode 100644 index 0000000..af3e373 --- /dev/null +++ b/abs/extra-testing/community/jre/jre.profile @@ -0,0 +1,4 @@ +export PATH=$PATH:/opt/java/jre/bin +if [ ! -f /etc/profile.d/jdk.sh ]; then + export JAVA_HOME=/opt/java/jre +fi diff --git a/abs/extra-testing/community/mozplugger/ChangeLog b/abs/extra-testing/community/mozplugger/ChangeLog new file mode 100644 index 0000000..048d061 --- /dev/null +++ b/abs/extra-testing/community/mozplugger/ChangeLog @@ -0,0 +1,7 @@ +2008-12-07 Allan McRae <allan@archlinux.org> + * mozplugger 1.12.0-1 + * upstream update + +2008-01-14 JJDaNiMoTh <jjdanimoth.aur@gmail.com> + * Version bump to 1.10.1 + * Added mozplugger.install diff --git a/abs/extra-testing/community/mozplugger/PKGBUILD b/abs/extra-testing/community/mozplugger/PKGBUILD new file mode 100644 index 0000000..b2fdbcd --- /dev/null +++ b/abs/extra-testing/community/mozplugger/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD,v 1.14 2008/12/07 05:27:24 allan Exp $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Todd Musall <tmusall@comcast.net> + +pkgname=mozplugger +pkgver=1.12.0 +pkgrel=1 +pkgdesc="A Mozilla & Firefox multimedia plugin." +arch=('i686' 'x86_64') +url="http://mozplugger.mozdev.org" +license="GPL" +depends=('libx11') +backup=(etc/mozpluggerrc) +source=(http://$pkgname.mozdev.org/files/$pkgname-$pkgver.tar.gz) +md5sums=('6d4dd7b1c577f625c9d664532389d6db') +install=$pkgname.install + +build() { + cd $srcdir/$pkgname-$pkgver + make linux || return 1 + install -Dm755 mozplugger.so $pkgdir/usr/lib/mozilla/plugins/mozplugger.so + install -Dm644 mozpluggerrc $pkgdir/etc/mozpluggerrc + install -Dm755 mozplugger-helper $pkgdir/usr/bin/mozplugger-helper + install -Dm755 mozplugger-controller $pkgdir/usr/bin/mozplugger-controller + install -Dm644 mozplugger.7 $pkgdir/usr/share/man/man7/mozplugger.7 +} diff --git a/abs/extra-testing/community/mozplugger/mozplugger.install b/abs/extra-testing/community/mozplugger/mozplugger.install new file mode 100644 index 0000000..1a08b9d --- /dev/null +++ b/abs/extra-testing/community/mozplugger/mozplugger.install @@ -0,0 +1,15 @@ +post_install() { + echo -en " +==> You may need to delete your local $HOME/.mozilla/firefox/pluginreg.dat +==> file for mozplugger to be enabled correctly after you update it. +==> (It will get regenerated). +==> To add more helpers, edit /etc/mozpluggerrc. +==> The window name can be obtained using the utility xprop(1x). +==> Type "xprop WM_CLASS" and click on a window.\n" +} + +post_upgrade() { + post_install +} + +# vim:set ts=2 sw=2 et: |