community/bluegriffon to 1.8-2

This commit is contained in:
Kevin Mihelich 2016-05-07 19:42:38 +00:00
parent 618d2c55bd
commit fbc5416491
3 changed files with 16 additions and 14 deletions

View file

@ -14,7 +14,7 @@ pkgname=bluegriffon
pkgver=1.8
_mozilla_ver=fec90cbfbaad
_github_ver=5961e4cbc9ea546f9d7e4b9a7f2bb6884d66a378
pkgrel=1
pkgrel=2
pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox"
arch=('i686' 'x86_64')
url="http://bluegriffon.org/"
@ -23,11 +23,11 @@ depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-
'nss' 'libevent' 'libvpx' 'libxt' 'python2' 'startup-notification')
makedepends=('autoconf2.13' 'libpulse' 'unzip' 'zip')
options=('!emptydirs')
install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/therealglazou/${pkgname}/archive/${_github_ver}.tar.gz"
"mozilla-central-${_mozilla_ver}.tar.bz2"::"http://hg.mozilla.org/mozilla-central/archive/${_mozilla_ver}.tar.bz2"
"bug_1194520_add_ftfntfmt.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/af40750720b5"
"bug_1153109_CXX11_ABI.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/070d6e282fe4"
"bug_70722_include_next_in_cmath.patch"
"bug_1151829_profiler.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/ac8f93de22cb"
"bug_1141642_skia.patch"::"https://hg.mozilla.org/releases/mozilla-beta/raw-rev/538fd67bb637"
"mozconfig"
@ -36,6 +36,7 @@ sha256sums=('0c629f882a7b7fcdf4416871db8d522f43653b62c0e5a25168b1914af8448a11'
'95a9868b809664bd79727119eace53b9f6e97c54a137c28b7e6dda688aade6fd'
'3aea9a83bf304da5525f34a911712cf42f8ded1c8b6becf0a2cf8a4b4f7facd6'
'2df11bae529ce96d0133ba3ce076e0016350d66a7800a2253b19db13785a87fd'
'b981a29f6243373b9118990727c17a4dee24156a9af1ea0eb25f23acd51fd37b'
'e8b554858413218589cd9147fc0ba1944fcb4a6286a723b70045edd838454d0b'
'97ec774dee2ed6c954abe6e169d01a0502e649799cedce7ba5d480513052b12f'
'2625f693cd06b2120f07cc9701ec7b2bf5566b9bcf64d2888796e6e81eea3a86'
@ -54,6 +55,7 @@ prepare() {
# Apply patches
patch -p1 -i "${srcdir}/bug_1194520_add_ftfntfmt.patch"
patch -p1 -i "${srcdir}/bug_1153109_CXX11_ABI.patch"
patch -p1 -i "${srcdir}/bug_70722_include_next_in_cmath.patch"
patch -p1 -i "${srcdir}/bug_1151829_profiler.patch"
patch -p1 -i "${srcdir}/bug_1141642_skia.patch"

View file

@ -1,12 +0,0 @@
post_install() {
update-desktop-database -q
gtk-update-icon-cache -q /usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View file

@ -0,0 +1,12 @@
--- mozilla-central-fec90cbfbaad/nsprpub/config/make-system-wrappers.pl.orig 2015-04-10 04:57:56.000000000 +0200
+++ mozilla-central-fec90cbfbaad/nsprpub/config/make-system-wrappers.pl 2016-05-07 19:51:53.832876185 +0200
@@ -19,7 +19,9 @@
open OUT, ">$output_dir/$_";
print OUT "#pragma GCC system_header\n"; # suppress include_next warning
print OUT "#pragma GCC visibility push(default)\n";
+ print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#include_next \<$_\>\n";
+ print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n";
print OUT "#pragma GCC visibility pop\n";
close OUT;
}