[arch-commits] Commit in thunderbird/trunk (5 files)

2017-04-05 Thread Jan Steffens
Date: Wednesday, April 5, 2017 @ 20:52:30
  Author: heftig
Revision: 292216

52.0-1

Added:
  thunderbird/trunk/rust-i686.patch
Modified:
  thunderbird/trunk/PKGBUILD
Deleted:
  thunderbird/trunk/firefox-gcc-6.0.patch
  thunderbird/trunk/mozilla-1228540-1.patch
  thunderbird/trunk/mozilla-1228540.patch

-+
 PKGBUILD|   51 
 firefox-gcc-6.0.patch   |   26 
 mozilla-1228540-1.patch |   84 
 mozilla-1228540.patch   | 6032 --
 rust-i686.patch |   16 
 5 files changed, 47 insertions(+), 6162 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 292215:292216 to see the changes.


[arch-commits] Commit in thunderbird/trunk (5 files)

2017-02-21 Thread Jan Steffens
Date: Tuesday, February 21, 2017 @ 20:46:53
  Author: heftig
Revision: 289370

45.7.1-2: Overhaul, GTK3 FS#48938

Added:
  thunderbird/trunk/firefox-gtk3-20.patch
  thunderbird/trunk/fix-wifi-scanner.diff
Modified:
  thunderbird/trunk/PKGBUILD
Deleted:
  thunderbird/trunk/mozconfig
  thunderbird/trunk/vendor.js

---+
 PKGBUILD  |  122 ++-
 firefox-gtk3-20.patch | 1638 
 fix-wifi-scanner.diff |   16 
 mozconfig |   33 
 vendor.js |9 
 5 files changed, 1739 insertions(+), 79 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-21 20:13:06 UTC (rev 289369)
+++ PKGBUILD2017-02-21 20:46:53 UTC (rev 289370)
@@ -7,32 +7,28 @@
 
 pkgname=thunderbird
 pkgver=45.7.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Standalone mail and news reader from mozilla.org"
-arch=('i686' 'x86_64')
-license=('MPL' 'GPL' 'LGPL')
+arch=(i686 x86_64)
+license=(MPL GPL LGPL)
 url="https://www.mozilla.org/thunderbird/;
-depends=('gtk2' 'mozilla-common' 'libxt' 'startup-notification' 'mime-types'
- 'dbus-glib' 'alsa-lib' 'libvpx' 'libevent' 'nss' 'hunspell'
- 'sqlite' 'ttf-font' 'icu')
-makedepends=('unzip' 'zip' 'diffutils' 'python2' 'yasm' 'mesa' 'imake' 'gconf'
- 'libpulse' 'inetutils')
+depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types 
dbus-glib alsa-lib
+ libvpx libevent nss hunspell sqlite ttf-font icu)
+makedepends=(unzip zip diffutils python2 yasm mesa imake gconf libpulse 
inetutils)
 optdepends=('libcanberra: for sound support')
-options=('!emptydirs' '!makeflags')
+options=(!emptydirs !makeflags)
 
source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz
-mozconfig
 thunderbird.desktop
-thunderbird-install-dir.patch
-firefox-gcc-6.0.patch mozilla-1228540.patch mozilla-1228540-1.patch
-vendor.js)
+thunderbird-install-dir.patch fix-wifi-scanner.diff 
firefox-gtk3-20.patch
+firefox-gcc-6.0.patch mozilla-1228540.patch mozilla-1228540-1.patch)
 sha256sums=('5fc7a39c6a1baacfa37d6a52c9384f70c171dd0bb581576d370bdb29c84b9ffb'
-'b884ccab9bea135600b41a2359073e637dee96dac64d22aceec4adb7fd936b23'
 '3fba13d88aeb003ab0811ef739463858172ce0662a1c7d62835df3d83ddbb8fb'
 '24599eab8862476744fe1619a9a53a5b8cdcab30b3fc5767512f31d3529bd05d'
+'9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8'
+'2e355a477f1df792cd7f9d1e3a56030543e0cf2d09051dd293ba495a7edb54fd'
 '4d1e1ddabc9e975ed39f49e134559a29e01cd49439e358233f1ede43bf5a52bf'
 '3a3e84c702ee31450a3e84698441aceb11cf44e64c9fedcaddb8cb50db759417'
-'d1ccbaf0973615c57f7893355e5cd3a89efb4e91071d0ec376e429b50cf6ed19'
-'e4ea8e6788163d9f8db8f1f40023db3ea0a1358f9a4510169f2d4c4fe6a887ed')
+'d1ccbaf0973615c57f7893355e5cd3a89efb4e91071d0ec376e429b50cf6ed19')
 
 # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
 # Note: These are for Arch Linux use ONLY. For your own distribution, please
@@ -39,8 +35,6 @@
 # get your own set of keys. Feel free to contact foutre...@archlinux.org for
 # more information.
 _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
-_google_default_client_id=413772536636.apps.googleusercontent.com
-_google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
 
 # Mozilla API keys (see https://location.services.mozilla.com/api)
 # Note: These are for Arch Linux use ONLY. For your own distribution, please
@@ -50,11 +44,18 @@
 
 
 prepare() {
+  mkdir path
+  ln -s /usr/bin/python2 path/python
+
   cd $pkgname-$pkgver
-
-  cp ../mozconfig .mozconfig
   patch -Np1 -i ../thunderbird-install-dir.patch
 
+  # https://bugzilla.mozilla.org/show_bug.cgi?id=1314968
+  patch -d mozilla -Np1 < ../fix-wifi-scanner.diff
+
+  # https://bugzilla.mozilla.org/show_bug.cgi?id=1234158
+  patch -d mozilla -Np1 < ../firefox-gtk3-20.patch
+
   # Required for GCC 6
   patch -d mozilla -Np1 < ../firefox-gcc-6.0.patch
   patch -d mozilla -Np1 < ../mozilla-1228540.patch
@@ -61,16 +62,46 @@
   patch -d mozilla -Np1 < ../mozilla-1228540-1.patch
 
   echo -n "$_google_api_key" >google-api-key
-  echo "ac_add_options --with-google-api-keyfile=\"$PWD/google-api-key\"" 
>>.mozconfig
+  echo -n "$_mozilla_api_key" >mozilla-api-key
 
-  echo -n "$_google_default_client_id $_google_default_client_secret" 
>google-oauth-api-key
-  echo "ac_add_options 
--with-google-oauth-api-keyfile=\"$PWD/google-oauth-api-key\"" >>.mozconfig
+  cat >.mozconfig >.mozconfig
+ac_add_options --prefix=/usr
+ac_add_options --enable-release
+ac_add_options --enable-gold
+ac_add_options --enable-pie
 
-  mkdir "$srcdir/path"
-  ln -s /usr/bin/python2 

[arch-commits] Commit in thunderbird/trunk (5 files)

2015-06-11 Thread Evangelos Foutras
Date: Thursday, June 11, 2015 @ 11:42:53
  Author: foutrelis
Revision: 240561

Prepare 38.0.1 release

Modified:
  thunderbird/trunk/PKGBUILD
  thunderbird/trunk/mozconfig
  thunderbird/trunk/thunderbird-install-dir.patch
Deleted:
  thunderbird/trunk/thunderbird-31.6.0-libvpx-modern.patch
  thunderbird/trunk/thunderbird-31.7.0-gcc51.patch

+
 PKGBUILD   |   54 +++--
 mozconfig  |2 
 thunderbird-31.6.0-libvpx-modern.patch |   25 
 thunderbird-31.7.0-gcc51.patch |  177 ---
 thunderbird-install-dir.patch  |   11 -
 5 files changed, 23 insertions(+), 246 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-06-11 08:58:22 UTC (rev 240560)
+++ PKGBUILD2015-06-11 09:42:53 UTC (rev 240561)
@@ -5,44 +5,34 @@
 # Contributor: Anders Bostrom anders.bost...@home.se
 
 pkgname=thunderbird
-pkgver=31.7.0
-pkgrel=1
+pkgver=38.0.1
+pkgrel=0
 pkgdesc=Standalone Mail/News reader
 arch=('i686' 'x86_64')
 license=('MPL' 'GPL')
 url=http://www.mozilla.org/thunderbird/;
-depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 
'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx' 'libxt' 'mime-types' 
'mozilla-common' 'nss' 'sqlite' 'startup-notification')
+depends=('gtk2' 'mozilla-common' 'libxt' 'startup-notification' 'mime-types'
+ 'dbus-glib' 'alsa-lib' 'desktop-file-utils' 'hicolor-icon-theme'
+ 'libvpx' 'icu' 'libevent' 'nss' 'hunspell' 'sqlite')
 makedepends=('unzip' 'zip' 'python2' 'wireless_tools' 'yasm' 'mesa' 'libpulse')
 optdepends=('libcanberra: for sound support')
 install=thunderbird.install
-source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.bz2{,.asc}
+source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.bz2
 mozconfig
 thunderbird.desktop
 thunderbird-install-dir.patch
-thunderbird-31.6.0-libvpx-modern.patch
-thunderbird-31.7.0-gcc51.patch
 vendor.js)
-options=(!emptydirs)
-sha256sums=('dc3a6afaab486ba09745898f55986f98cc9bf7647cd992849f9c7ead563479b7'
-'SKIP'
-'7021a0907ebaffec7cad2928a773d8a0763a9790b9b97b58f72fad52e981296b'
+options=('!emptydirs' '!makeflags')
+sha256sums=('7655039a9a2d5d169f5b43d2c737007dbaa42fa767f7bfbfde8ae46b05e4ab71'
+'867a0caab94eb387f51ca74be61d67dcb54f051239ac25b90749f6fa11c5e767'
 '3fba13d88aeb003ab0811ef739463858172ce0662a1c7d62835df3d83ddbb8fb'
-'9049ab3f9600a1592a54c41a166c76e046c393e1cfe7c4e769155b7317d197ee'
-'0e67b4d46f330b0306e01d4c6876ae5a58a4de6ac50f057e23aac41dec3554ef'
-'72c23617cda87ba49dba7a93a649dec8057518e4dd478d4361fc763e098f89ba'
+'24599eab8862476744fe1619a9a53a5b8cdcab30b3fc5767512f31d3529bd05d'
 'e4ea8e6788163d9f8db8f1f40023db3ea0a1358f9a4510169f2d4c4fe6a887ed')
-validpgpkeys=('2B90598A745E992F315E22C58AB132963A06537A')
 
 prepare() {
-  cd comm-esr31
+  cd comm-esr${pkgver%%.*}
   patch -Np1 -i ../thunderbird-install-dir.patch
 
-  # Fix build with libvpx 1.4.0 (patch from Fedora)
-  patch -Np1 -i ../thunderbird-31.6.0-libvpx-modern.patch
-
-  # Fix build with GCC 5.1
-  patch -Np1 -i ../thunderbird-31.7.0-gcc51.patch
-
   cp $srcdir/mozconfig .mozconfig
 
   # configure script misdetects the preprocessor without an optimization level
@@ -51,32 +41,32 @@
 }
 
 build() {
-  cd comm-esr31
+  cd comm-esr${pkgver%%.*}
 
-  export LDFLAGS=$LDFLAGS -Wl,-rpath,/usr/lib/thunderbird
   export PYTHON=/usr/bin/python2
 
-  make -j1 -f client.mk build MOZ_MAKE_FLAGS=$MAKEFLAGS
+  make -f client.mk build
 }
 
 package() {
-  cd comm-esr31
-  make -j1 -f client.mk DESTDIR=$pkgdir install
+  cd comm-esr${pkgver%%.*}
+  make -f client.mk DESTDIR=$pkgdir install
 
-  install -Dm644 $srcdir/vendor.js 
$pkgdir/usr/lib/thunderbird/defaults/preferences/vendor.js
+  install -Dm644 ../vendor.js 
$pkgdir/usr/lib/thunderbird/defaults/preferences/vendor.js
 
-  for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
-  install -Dm644 other-licenses/branding/thunderbird/mailicon${i/x*/}.png \
-  $pkgdir/usr/share/icons/hicolor/$i/apps/thunderbird.png
+  for i in 16 22 24 32 48 256; do
+  install -Dm644 other-licenses/branding/thunderbird/mailicon$i.png \
+  $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/thunderbird.png
   done
 
-  install -Dm644 $srcdir/thunderbird.desktop \
+  install -Dm644 ../thunderbird.desktop \
   $pkgdir/usr/share/applications/thunderbird.desktop
 
+  # Use system-provided dictionaries
   rm -rf $pkgdir/usr/lib/thunderbird/{dictionaries,hyphenation}
   ln -sf /usr/share/hunspell $pkgdir/usr/lib/thunderbird/dictionaries
   ln -sf /usr/share/hyphen $pkgdir/usr/lib/thunderbird/hyphenation
 
-  # We don't want the development