Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xorgtesting.git;a=commitdiff;h=40e37784035f060ab388c3736017875d252094e3

commit 40e37784035f060ab388c3736017875d252094e3
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Jul 12 20:14:29 2011 +0200

firefox-5.0-2-x86_64

*fix firefox type mime now gnome-control-center see it. I know not good wip but 
lazy to create an other repo for that

diff --git a/source/xapps/firefox/FrugalBuild b/source/xapps/firefox/FrugalBuild
index b930c5f..1d44fe0 100644
--- a/source/xapps/firefox/FrugalBuild
+++ b/source/xapps/firefox/FrugalBuild
@@ -5,7 +5,7 @@
pkgname=firefox
pkgver=5.0
pathver=${pkgver} # version used in path names
-pkgrel=1
+pkgrel=2
pkgdesc="Mozilla Firefox web browser"
url="http://www.mozilla.org/products/firefox/";
depends=('gtk+2>=2.20.0-2' 'libidl' 'desktop-file-utils' 'nss>=3.12.9' 
'glibc>=2.6' 'dbus-glib' 'curl>=7.19.0' 'nspr>=4.8.7' \
@@ -26,7 +26,7 @@ options=('scriptlet')
[ "$CARCH" == "ppc" ] && Fconfopts="${Fconfopts[@]} --disable-ipc"

build() {
-       #unset MAKEFLAGS
+       unset MAKEFLAGS
Fcd mozilla-release

# Autodetect language.
@@ -82,7 +82,8 @@ build() {
--disable-mailnews \
--disable-calendar \
--disable-composer \
-               --disable-profilesharing
+               --disable-profilesharing \
+               --disable-crashreporter

# Get rid of versions in path names.
Fmv /usr/include/$pkgname-$pathver /usr/include/$pkgname
diff --git a/source/xapps/firefox/firefox.desktop 
b/source/xapps/firefox/firefox.desktop
index 53aa779..b3c9019 100644
--- a/source/xapps/firefox/firefox.desktop
+++ b/source/xapps/firefox/firefox.desktop
@@ -168,5 +168,5 @@ Terminal=false
Type=Application
Icon=firefox
Categories=Application;Network;
-MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Firefox-bin
diff --git a/source/xapps/firefox/firefox.install 
b/source/xapps/firefox/firefox.install
index e863470..17cf50d 100644
--- a/source/xapps/firefox/firefox.install
+++ b/source/xapps/firefox/firefox.install
@@ -2,6 +2,7 @@ post_install() {
export HOME="/root"
firefox -register
update-desktop-database > /dev/null 2>&1
+       update-desktop-database /usr/share/applications > /dev/null 2>&1
}

post_upgrade() {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to