firefox: add .desktop files, use xulrunner.
--HG-- extra : convert_revision : d91aa677bbe34aa8f549a05d5ac54fa21300afdf
This commit is contained in:
parent
799fa83998
commit
df8da33f18
6 changed files with 169 additions and 10 deletions
11
srcpkgs/firefox/files/firefox-safe.desktop
Normal file
11
srcpkgs/firefox/files/firefox-safe.desktop
Normal file
|
@ -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;
|
83
srcpkgs/firefox/files/firefox.desktop
Normal file
83
srcpkgs/firefox/files/firefox.desktop
Normal file
|
@ -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;
|
26
srcpkgs/firefox/patches/browser-defaulturls.patch
Normal file
26
srcpkgs/firefox/patches/browser-defaulturls.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- browser/branding/unofficial/locales/browserconfig.properties~ 2009-06-13 17:04:42.000000000 +0200
|
||||
+++ browser/branding/unofficial/locales/browserconfig.properties 2009-06-13 17:05:28.000000000 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
# Do NOT localize or otherwise change these values
|
||||
-browser.startup.homepage=http://www.mozilla.org/projects/shiretoko/
|
||||
+browser.startup.homepage=http://www.google.com/firefox
|
||||
|
||||
--- browser/branding/unofficial/pref/firefox-branding.js~ 2009-06-13 16:57:53.000000000 +0200
|
||||
+++ browser/branding/unofficial/pref/firefox-branding.js 2009-06-13 16:59:17.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
-pref("startup.homepage_override_url","http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/");
|
||||
-pref("startup.homepage_welcome_url","http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/");
|
||||
+pref("startup.homepage_override_url","http://www.mozilla.com/%APP%/%VERSION%/whatsnew/");
|
||||
+pref("startup.homepage_welcome_url","http://www.mozilla.com/%APP%/%VERSION%/firstrun/");
|
||||
// The time interval between checks for a new version (in seconds)
|
||||
// nightly=8 hours, official=24 hours
|
||||
pref("app.update.interval", 28800);
|
||||
@@ -11,7 +11,7 @@
|
||||
pref("app.update.url.details", "http://www.mozilla.org/projects/%APP%/");
|
||||
|
||||
// Release notes URL
|
||||
-pref("app.releaseNotesURL", "http://www.mozilla.org/projects/%APP%/%VERSION%/releasenotes/");
|
||||
+pref("app.releaseNotesURL", "http://www.mozilla.com/%APP%/%VERSION%/releasenotes/");
|
||||
|
||||
// Search codes belong only in builds with official branding
|
||||
pref("browser.search.param.yahoo-fr", "");
|
11
srcpkgs/firefox/patches/firefox-version.patch
Normal file
11
srcpkgs/firefox/patches/firefox-version.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- browser/installer/Makefile.in.ver 2009-07-18 13:32:35.000000000 +0200
|
||||
+++ browser/installer/Makefile.in 2009-07-18 13:33:12.000000000 +0200
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
+MOZ_APP_VERSION="3.5"
|
||||
+
|
||||
NO_PKG_FILES = \
|
||||
$(MOZ_APP_NAME)-config \
|
||||
$(MOZ_APP_NAME)-bin.elf \
|
12
srcpkgs/firefox/patches/mozilla-firefox-1.0-lang.patch
Normal file
12
srcpkgs/firefox/patches/mozilla-firefox-1.0-lang.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- browser/app/profile/firefox.js.lang 2005-01-13 15:32:03.509282726 +0100
|
||||
+++ 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);
|
|
@ -2,14 +2,17 @@
|
|||
pkgname=firefox
|
||||
version=3.5.6
|
||||
wrksrc=mozilla-1.9.1
|
||||
distfiles="ftp://ftp.mozilla.org/pub/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
||||
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-application=browser --enable-default-toolkit=cairo-gtk2
|
||||
--disable-dbus --disable-crashreporter --disable-tests --disable-debug
|
||||
--enable-optimize --disable-embedding-tests --disable-installer --disable-javaxpcom
|
||||
--disable-embedding-tests --disable-necko-wifi --disable-libnotify --with-system-jpeg
|
||||
--with-system-zlib --with-system-bz2 --enable-system-cairo --with-system-sqlite
|
||||
--with-system-png"
|
||||
--disable-crashreporter --disable-tests --disable-debug
|
||||
--enable-optimize --disable-embedding-tests --disable-installer
|
||||
--disable-javaxpcom --disable-necko-wifi --disable-oji --disable-updater
|
||||
--disable-gnomevfs --disable-gnomeui --disable-gconf --disable-dbm
|
||||
--with-system-zlib --with-system-bz2 --enable-system-cairo --with-pthreads
|
||||
--with-system-png --with-system-jpeg --enable-jemalloc --enable-safe-browsing
|
||||
--with-system-sqlite --with-system-nspr --with-system-nss --enable-libxul
|
||||
--with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.1"
|
||||
short_desc="Lightweight gecko-based web browser"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1
|
||||
|
@ -24,7 +27,20 @@ long_desc="
|
|||
can be extended by developers using industry standards such as XML,
|
||||
CSS, JavaScript, C++, etc. Many extensions are available."
|
||||
|
||||
Add_dependency full zip
|
||||
Add_dependency full gtk+
|
||||
Add_dependency full alsa-lib
|
||||
Add_dependency full libIDL
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run gtk+
|
||||
Add_dependency run xulrunner
|
||||
Add_dependency build zip
|
||||
Add_dependency build python
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build xulrunner-devel
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/share/applications || return 1
|
||||
install -d ${DESTDIR}/usr/share/pixmaps || return 1
|
||||
install -m644 ${FILESDIR}/*.desktop \
|
||||
${DESTDIR}/usr/share/applications || return 1
|
||||
install -m644 ${wrksrc}/browser/branding/unofficial/default48.png \
|
||||
${DESTDIR}/usr/share/pixmaps/firefox.png || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue