summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsuperlex2016-03-20 17:33:43 +0100
committersuperlex2016-03-20 17:33:43 +0100
commit472c032ca3615a48a3952d787232247cae720b32 (patch)
tree7733f0a9697dd64a321ef2702e741edfb4654276
parentf73a9bcb1ea0ada5940a255bac0db4b950c81c88 (diff)
downloadaur-472c032ca3615a48a3952d787232247cae720b32.tar.gz
Update to 45.0.1.deb1
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD53
-rw-r--r--no-libnotify.patch50
3 files changed, 89 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c3d0bf0b334f..a1edabf16d9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
# Generated by mksrcinfo v8
-# Wed Mar 16 23:37:18 UTC 2016
+# Sun Mar 20 16:33:42 UTC 2016
pkgbase = iceweasel
pkgdesc = Debian Browser based on Mozilla Firefox, with Parabola GNU/Linux-libre branding
- pkgver = 45.0.deb1
+ pkgver = 45.0.1.deb1
pkgrel = 1
- url = https://packages.debian.org/source/sid/iceweasel
+ url = https://wiki.debian.org/it/Iceweasel
install = iceweasel.install
arch = i686
arch = x86_64
@@ -51,26 +51,28 @@ pkgbase = iceweasel
optdepends = upower: Battery API
optdepends = ffmpeg: H264/AAC/MP3 decoding
optdepends = iceweasel-extension-archsearch: Iceweasel Arch search engines
- provides = iceweasel=45.0
+ provides = iceweasel=45.0.1
options = !emptydirs
options = !makeflags
options = debug
- source = http://ftp.debian.org/debian/pool/main/f/firefox/firefox_45.0.orig.tar.xz
- source = http://ftp.debian.org/debian/pool/main/f/firefox/firefox_45.0-1.debian.tar.xz
- source = https://repo.parabola.nu/other/iceweasel/iceweasel_45.0-1.branding.tar.xz
+ source = http://ftp.debian.org/debian/pool/main/f/firefox/firefox_45.0.1.orig.tar.xz
+ source = http://ftp.debian.org/debian/pool/main/f/firefox/firefox_45.0.1-1.debian.tar.xz
+ source = https://repo.parabola.nu/other/iceweasel/iceweasel_45.0-2.branding.tar.xz
source = mozconfig
source = iceweasel.desktop
source = iceweasel-install-dir.patch
source = vendor.js
source = iceweasel-fixed-loading-icon.png
- md5sums = f5e07751e3df66044a1dc9b3c6e21b6b
- md5sums = f94e8c63d20f08830a550a67931859cd
- md5sums = aa8cee1d3731faf031a522dec8e1471d
+ source = no-libnotify.patch
+ md5sums = a095e3270ad0d38d0f0fb1706a189fab
+ md5sums = 882aa168857d6c15c7fddcb49578c75b
+ md5sums = 18ddaa5f1b70cbf12110471d50746339
md5sums = 9f8cd36718fa474ce593c90979d14b38
md5sums = 7b9e5996dd9fe0b186a43a297db1c6b5
md5sums = 1c42509891cf6843660a5f3c69896e80
md5sums = 35adf69c840aadeb138d1b0be3af63b5
md5sums = 6e335a517c68488941340ee1c23f97b0
+ md5sums = 8efbf7973a21aa01038bf2315f3384a9
pkgname = iceweasel
diff --git a/PKGBUILD b/PKGBUILD
index 2b539cd5d49c..3a6e59443be7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: superlex
-# Based on Parabola GNU/Linux-libre iceweasel-libre PKGBUILD :
+# Based on Parabola GNU/Linux-libre iceweasel PKGBUILD :
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Márcio Silva <coadde@parabola.nu>
@@ -25,14 +25,15 @@ _pgo=false
# We're getting this from Debian Sid
_debname=firefox
-_debver=45.0
+_debver=45.0.1
_debrel=1
_debrepo=http://ftp.debian.org/debian/pool/main/f
_parabolarepo=https://repo.parabola.nu/other/iceweasel
-_brandingrel=1
+_brandingver=45.0
+_brandingrel=2
pkgname=iceweasel
-pkgver=$_debver.deb$_debrel
+pkgver=${_debver}.deb${_debrel}
pkgrel=1
pkgdesc="Debian Browser based on Mozilla Firefox, with Parabola GNU/Linux-libre branding"
arch=('i686' 'x86_64')
@@ -48,32 +49,34 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'upower: Battery API'
'ffmpeg: H264/AAC/MP3 decoding'
'iceweasel-extension-archsearch: Iceweasel Arch search engines')
-url="https://packages.debian.org/source/sid/iceweasel"
+url="https://wiki.debian.org/it/Iceweasel"
install=iceweasel.install
provides=("$pkgname"="$_debver")
source=("${_debrepo}/${_debname}/${_debname}_${_debver}.orig.tar.xz"
"${_debrepo}/${_debname}/${_debname}_${_debver}-${_debrel}.debian.tar.xz"
- "$_parabolarepo/${pkgname}_$_debver-$_brandingrel.branding.tar.xz"
- mozconfig
- iceweasel.desktop
- iceweasel-install-dir.patch
- vendor.js
- iceweasel-fixed-loading-icon.png)
-md5sums=('f5e07751e3df66044a1dc9b3c6e21b6b'
- 'f94e8c63d20f08830a550a67931859cd'
- 'aa8cee1d3731faf031a522dec8e1471d'
+ "${_parabolarepo}/${pkgname}_${_brandingver}-${_brandingrel}.branding.tar.xz"
+ mozconfig
+ iceweasel.desktop
+ iceweasel-install-dir.patch
+ vendor.js
+ iceweasel-fixed-loading-icon.png
+ no-libnotify.patch)
+md5sums=('a095e3270ad0d38d0f0fb1706a189fab'
+ '882aa168857d6c15c7fddcb49578c75b'
+ '18ddaa5f1b70cbf12110471d50746339'
'9f8cd36718fa474ce593c90979d14b38'
'7b9e5996dd9fe0b186a43a297db1c6b5'
'1c42509891cf6843660a5f3c69896e80'
'35adf69c840aadeb138d1b0be3af63b5'
- '6e335a517c68488941340ee1c23f97b0')
+ '6e335a517c68488941340ee1c23f97b0'
+ '8efbf7973a21aa01038bf2315f3384a9')
prepare() {
cd "$srcdir/$_debname-$_debver"
mv "$srcdir/debian" .
- mv "$srcdir/$pkgname-$_debver/branding" debian
- mv "$srcdir/$pkgname-$_debver/patches/iceweasel-branding" debian/patches
- cat "$srcdir/$pkgname-$_debver/patches/series" >> debian/patches/series
+ mv "$srcdir/$pkgname-$_brandingver/branding" debian
+ mv "$srcdir/$pkgname-$_brandingver/patches/iceweasel-branding" debian/patches
+ cat "$srcdir/$pkgname-$_brandingver/patches/series" >> debian/patches/series
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
@@ -87,6 +90,10 @@ prepare() {
# Install to /usr/lib/$pkgname
patch -Np1 -i "$srcdir/iceweasel-install-dir.patch"
+ # Notifications with libnotify are broken
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1236150
+ patch -Np1 -i "$srcdir/no-libnotify.patch"
+
# Load our build config
cp "$srcdir/mozconfig" .mozconfig
@@ -157,12 +164,6 @@ package() {
ln -sf $pkgname "$pkgdir/usr/lib/$pkgname/$pkgname-bin"
- # Searchplugins section
-
- # According to debian choices, we prefer to use /etc/icewasel/searchplugins
- install -d "$pkgdir/etc/${pkgname}/searchplugins/common"
-
- # Add common web searchplugins
- install -Dm644 "$srcdir/$_debname-$_debver/debian/debsearch.xml" "$pkgdir/etc/${pkgname}/searchplugins/common/debsearch.xml"
+ # Add Debian searchplugin
+ install -Dm644 "$srcdir/$_debname-$_debver/debian/debsearch.xml" "${pkgdir}/usr/lib/$pkgname/browser/searchplugins"
}
-
diff --git a/no-libnotify.patch b/no-libnotify.patch
new file mode 100644
index 000000000000..dad3aecc8a11
--- /dev/null
+++ b/no-libnotify.patch
@@ -0,0 +1,50 @@
+diff --git i/toolkit/system/gnome/moz.build w/toolkit/system/gnome/moz.build
+index 0ecde07..206d6eb 100644
+--- i/toolkit/system/gnome/moz.build
++++ w/toolkit/system/gnome/moz.build
+@@ -5,9 +5,7 @@
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ SOURCES += [
+- 'nsAlertsIconListener.cpp',
+ 'nsGnomeModule.cpp',
+- 'nsSystemAlertsService.cpp',
+ ]
+
+ if CONFIG['MOZ_ENABLE_GCONF']:
+diff --git i/toolkit/system/gnome/nsGnomeModule.cpp w/toolkit/system/gnome/nsGnomeModule.cpp
+index 6ecebcc..2f193a3 100644
+--- i/toolkit/system/gnome/nsGnomeModule.cpp
++++ w/toolkit/system/gnome/nsGnomeModule.cpp
+@@ -20,8 +20,6 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsGIOService)
+ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGSettingsService, Init)
+ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPackageKitService, Init)
+ #endif
+-#include "nsSystemAlertsService.h"
+-NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsSystemAlertsService, Init)
+
+ #ifdef MOZ_ENABLE_GCONF
+ NS_DEFINE_NAMED_CID(NS_GCONFSERVICE_CID);
+@@ -31,7 +29,6 @@ NS_DEFINE_NAMED_CID(NS_GIOSERVICE_CID);
+ NS_DEFINE_NAMED_CID(NS_GSETTINGSSERVICE_CID);
+ NS_DEFINE_NAMED_CID(NS_PACKAGEKITSERVICE_CID);
+ #endif
+-NS_DEFINE_NAMED_CID(NS_SYSTEMALERTSSERVICE_CID);
+
+ static const mozilla::Module::CIDEntry kGnomeCIDs[] = {
+ #ifdef MOZ_ENABLE_GCONF
+@@ -42,7 +39,6 @@ static const mozilla::Module::CIDEntry kGnomeCIDs[] = {
+ { &kNS_GSETTINGSSERVICE_CID, false, nullptr, nsGSettingsServiceConstructor },
+ { &kNS_PACKAGEKITSERVICE_CID, false, nullptr, nsPackageKitServiceConstructor },
+ #endif
+- { &kNS_SYSTEMALERTSSERVICE_CID, false, nullptr, nsSystemAlertsServiceConstructor },
+ { nullptr }
+ };
+
+@@ -55,7 +51,6 @@ static const mozilla::Module::ContractIDEntry kGnomeContracts[] = {
+ { NS_GSETTINGSSERVICE_CONTRACTID, &kNS_GSETTINGSSERVICE_CID },
+ { NS_PACKAGEKITSERVICE_CONTRACTID, &kNS_PACKAGEKITSERVICE_CID },
+ #endif
+- { NS_SYSTEMALERTSERVICE_CONTRACTID, &kNS_SYSTEMALERTSSERVICE_CID },
+ { nullptr }
+ };