[arch-commits] Commit in bluegriffon/repos (10 files)
Date: Saturday, December 19, 2020 @ 16:50:52 Author: foutrelis Revision: 779988 archrelease: copy trunk to community-staging-x86_64 Added: bluegriffon/repos/community-staging-x86_64/ bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 779987, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-x86_64/bluegriffon.desktop (from rev 779987, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-x86_64/bug_1533969_glibc230.patch (from rev 779987, bluegriffon/trunk/bug_1533969_glibc230.patch) bluegriffon/repos/community-staging-x86_64/fix-rust-lifetime-issue.patch (from rev 779987, bluegriffon/trunk/fix-rust-lifetime-issue.patch) bluegriffon/repos/community-staging-x86_64/glibc-2.32.patch (from rev 779987, bluegriffon/trunk/glibc-2.32.patch) bluegriffon/repos/community-staging-x86_64/libstagefright-format-overflow.patch (from rev 779987, bluegriffon/trunk/libstagefright-format-overflow.patch) bluegriffon/repos/community-staging-x86_64/mozconfig (from rev 779987, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-staging-x86_64/no-crmf.diff (from rev 779987, bluegriffon/trunk/no-crmf.diff) bluegriffon/repos/community-staging-x86_64/rust-explitcit-dyn.patch (from rev 779987, bluegriffon/trunk/rust-explitcit-dyn.patch) --+ PKGBUILD | 165 + bluegriffon.desktop | 16 +++ bug_1533969_glibc230.patch | 61 fix-rust-lifetime-issue.patch| 61 glibc-2.32.patch | 11 ++ libstagefright-format-overflow.patch | 10 ++ mozconfig| 31 ++ no-crmf.diff | 15 +++ rust-explitcit-dyn.patch | 22 9 files changed, 392 insertions(+) Copied: bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 779987, bluegriffon/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-19 16:50:52 UTC (rev 779988) @@ -0,0 +1,165 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György + +pkgbase=bluegriffon +pkgname=(bluegriffon) +pkgver=3.1 +_gecko_dev_revision=042b84a # see config/gecko_dev_revision.txt +pkgrel=12 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('x86_64') +url="http://bluegriffon.org/; +license=('MPL' 'GPL' 'LGPL') +depends=('dbus-glib' 'gtk3' 'hunspell' 'nss' 'libvpx' 'libxt' 'startup-notification') +makedepends=('autoconf2.13' 'gtk2' 'libpulse' 'python2' 'rust' 'unzip' 'yasm' 'zip') +options=('!emptydirs') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/therealglazou/${pkgbase}/archive/${pkgver}.tar.gz; + "gecko-dev-${_gecko_dev_revision}.tar.gz"::"https://github.com/mozilla/gecko-dev/archive/${_gecko_dev_revision}.tar.gz; +"mozconfig" +"${pkgbase}.desktop" + "bug_1353650_icu59.patch"::"https://hg.mozilla.org/integration/mozilla-inbound/raw-rev/605d00e70409; + "bug_1384062_systemresourcemonitor.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/8d9ae8c45dd0; + "bug_1427455-unused-variables.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/8e28a66b548b; + "bug_445128_install-dir.patch"::"https://hg.mozilla.org/mozilla-central/raw-rev/8f74ddd39f61; +"bug_1533969_glibc230.patch" +"glibc-2.32.patch" +"libstagefright-format-overflow.patch" +"no-crmf.diff" +"fix-rust-lifetime-issue.patch" +"rust-explitcit-dyn.patch") +sha256sums=('4fb9b29f00ff4e94e78994308ffa52bce818978009e0d8229203d6ac4210b0f4' +'01096e58c898e1b37cba581e1cc0f325d1c402091ccc4a2491543b39add40c6c' +'d589572a0e36b8500ed12937727e540a13b635c7ac12621a10ff675250b61175' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff' +'6417fda6af8e610556f662fca28b2c25ceedb3e6970923a4eec562389b00b6d6' +'7760ebe71f4057cbd2f52b715abaf0d944c14c39e2bb2a5322114ad8451e12d9' +'806cbe936720676ea8d82c5f2bb880ca632181b07b0cf24a47c064a3485b7c7f' +'18fbcfda13dd7d30d3c1310da15a133f90bf9ce6b7cfa15de833928e7d9efe95' +'35bd21633bfe1005ccb643d6863e5da32b1281594f92bdcbd2ed36ef3fc43dfd' +'4e986099c9817b70835457a229b5730e3968bb6ae097e43a188831ad01f6a61f' +'28949cfeb646e48eb41669b64971ee69fce28ece580be145a1cd9540b3fd2ab5' +'02000d185e647aa20ca336e595b4004bb29cdae9d8f317f90078bdcc7a36e873' +'6726dce0ceabbb0893f8776168f20c15777a27e108e8ca46b1e39d5945d2c008' +'76d54fe6f5a5a50065b1d23f6a6bc4b057d4944bfab5d8ee3bb7faef4e30c334') + +prepare() { + mkdir path + ln -s /usr/bin/python2 path/python + + cd
[arch-commits] Commit in bluegriffon/repos (10 files)
Date: Sunday, June 26, 2016 @ 10:22:59 Author: muflone Revision: 181220 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: bluegriffon/repos/community-testing-i686/ bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 181219, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 181219, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-i686/bug_70722_include_next_in_cmath.patch (from rev 181219, bluegriffon/trunk/bug_70722_include_next_in_cmath.patch) bluegriffon/repos/community-testing-i686/mozconfig (from rev 181219, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-testing-x86_64/ bluegriffon/repos/community-testing-x86_64/PKGBUILD (from rev 181219, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop (from rev 181219, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-x86_64/bug_70722_include_next_in_cmath.patch (from rev 181219, bluegriffon/trunk/bug_70722_include_next_in_cmath.patch) bluegriffon/repos/community-testing-x86_64/mozconfig (from rev 181219, bluegriffon/trunk/mozconfig) + community-testing-i686/PKGBUILD| 90 ++ community-testing-i686/bluegriffon.desktop | 16 + community-testing-i686/bug_70722_include_next_in_cmath.patch | 12 + community-testing-i686/mozconfig | 62 ++ community-testing-x86_64/PKGBUILD | 90 ++ community-testing-x86_64/bluegriffon.desktop | 16 + community-testing-x86_64/bug_70722_include_next_in_cmath.patch | 12 + community-testing-x86_64/mozconfig | 62 ++ 8 files changed, 360 insertions(+) Copied: bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 181219, bluegriffon/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-06-26 10:22:59 UTC (rev 181220) @@ -0,0 +1,90 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=2.0 +_mozilla_ver=f14898695ee0 +pkgrel=1 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('i686' 'x86_64') +url="http://bluegriffon.org/; +license=('MPL' 'GPL' 'LGPL') +depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-common' + 'nss' 'libevent' 'libvpx' 'libxt' 'python2' 'startup-notification' 'gconf') +makedepends=('autoconf2.13' 'libpulse' 'unzip' 'zip' 'yasm') +options=('!emptydirs') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/therealglazou/${pkgname}/archive/${pkgver}.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" +"mozconfig" +"${pkgname}.desktop") +sha256sums=('266c2e3c4c4d1e8aec7f7013980e28330976569543a2fe179b5b36264f216b02' +'0b13213b5f9b3819b56872f7fb4fa7a1170ade06f8797dc4e5f7c8eabca2' +'3aea9a83bf304da5525f34a911712cf42f8ded1c8b6becf0a2cf8a4b4f7facd6' +'2df11bae529ce96d0133ba3ce076e0016350d66a7800a2253b19db13785a87fd' +'b981a29f6243373b9118990727c17a4dee24156a9af1ea0eb25f23acd51fd37b' +'56832f428267dc31a2ae1e863edb066cb91559bfdd07ccfdf25f4a3752d1c977' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff') + +prepare() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Move files to their correct location + cp -r "${srcdir}/${pkgname}-${pkgver}" bluegriffon + cp "${srcdir}/mozconfig" .mozconfig + + # 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" + + # Apply BlueGriffon's upstream customizations + patch -Np1 -i bluegriffon/config/content.patch + + # python2 fix + find . -name \*.py -exec sed -i 's@^#.*python$@#!/usr/bin/python2@' '{}' \; +} + +build() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + export CPPFLAGS+=' -O2' + export PYTHON=python2 + + # Build the package + ./mach build +} + +package() { + cd
[arch-commits] Commit in bluegriffon/repos (10 files)
Date: Wednesday, June 15, 2016 @ 17:47:24 Author: andyrtr Revision: 180291 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: bluegriffon/repos/community-staging-i686/ bluegriffon/repos/community-staging-i686/PKGBUILD (from rev 180290, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-i686/bluegriffon.desktop (from rev 180290, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-i686/bug_70722_include_next_in_cmath.patch (from rev 180290, bluegriffon/trunk/bug_70722_include_next_in_cmath.patch) bluegriffon/repos/community-staging-i686/mozconfig (from rev 180290, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-staging-x86_64/ bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 180290, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-x86_64/bluegriffon.desktop (from rev 180290, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-x86_64/bug_70722_include_next_in_cmath.patch (from rev 180290, bluegriffon/trunk/bug_70722_include_next_in_cmath.patch) bluegriffon/repos/community-staging-x86_64/mozconfig (from rev 180290, bluegriffon/trunk/mozconfig) + community-staging-i686/PKGBUILD| 91 ++ community-staging-i686/bluegriffon.desktop | 16 + community-staging-i686/bug_70722_include_next_in_cmath.patch | 12 + community-staging-i686/mozconfig | 83 + community-staging-x86_64/PKGBUILD | 91 ++ community-staging-x86_64/bluegriffon.desktop | 16 + community-staging-x86_64/bug_70722_include_next_in_cmath.patch | 12 + community-staging-x86_64/mozconfig | 83 + 8 files changed, 404 insertions(+) Copied: bluegriffon/repos/community-staging-i686/PKGBUILD (from rev 180290, bluegriffon/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-06-15 17:47:24 UTC (rev 180291) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=1.8 +_mozilla_ver=fec90cbfbaad +_github_ver=5961e4cbc9ea546f9d7e4b9a7f2bb6884d66a378 +pkgrel=3 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('i686' 'x86_64') +url="http://bluegriffon.org/; +license=('MPL' 'GPL' 'LGPL') +depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-common' + 'nss' 'libevent' 'libvpx' 'libxt' 'python2' 'startup-notification') +makedepends=('autoconf2.13' 'libpulse' 'unzip' 'zip') +options=('!emptydirs') +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" +"mozconfig" +"${pkgname}.desktop") +sha256sums=('0c629f882a7b7fcdf4416871db8d522f43653b62c0e5a25168b1914af8448a11' +'95a9868b809664bd79727119eace53b9f6e97c54a137c28b7e6dda688aade6fd' +'3aea9a83bf304da5525f34a911712cf42f8ded1c8b6becf0a2cf8a4b4f7facd6' +'2df11bae529ce96d0133ba3ce076e0016350d66a7800a2253b19db13785a87fd' +'b981a29f6243373b9118990727c17a4dee24156a9af1ea0eb25f23acd51fd37b' +'fb8b56dcbf3daf13ac336b85183db8d48068d9f82dc74acad9fa619a165c601f' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff') + +prepare() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Move files to their correct location + cp -r "${srcdir}/${pkgname}-${_github_ver}" bluegriffon + cp "${srcdir}/mozconfig" .mozconfig + + # 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" + + # Apply BlueGriffon's upstream customizations + patch -Np1 -i bluegriffon/config/content.patch + + # python2 fix + find . -name \*.py -exec sed -i 's@^#.*python$@#!/usr/bin/python2@' '{}' \; +} + +build() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + export CPPFLAGS+=' -O2' + export PYTHON=python2 + + # Build the package + ./mach build +} +
[arch-commits] Commit in bluegriffon/repos (10 files)
Date: Saturday, December 12, 2015 @ 23:30:12 Author: muflone Revision: 153144 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: bluegriffon/repos/community-testing-i686/ bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 153143, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 153143, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-i686/bluegriffon.install (from rev 153143, bluegriffon/trunk/bluegriffon.install) bluegriffon/repos/community-testing-i686/mozconfig (from rev 153143, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-testing-x86_64/ bluegriffon/repos/community-testing-x86_64/PKGBUILD (from rev 153143, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop (from rev 153143, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-x86_64/bluegriffon.install (from rev 153143, bluegriffon/trunk/bluegriffon.install) bluegriffon/repos/community-testing-x86_64/mozconfig (from rev 153143, bluegriffon/trunk/mozconfig) --+ community-testing-i686/PKGBUILD | 89 + community-testing-i686/bluegriffon.desktop | 16 community-testing-i686/bluegriffon.install | 12 +++ community-testing-i686/mozconfig | 83 +++ community-testing-x86_64/PKGBUILD| 89 + community-testing-x86_64/bluegriffon.desktop | 16 community-testing-x86_64/bluegriffon.install | 12 +++ community-testing-x86_64/mozconfig | 83 +++ 8 files changed, 400 insertions(+) Copied: bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 153143, bluegriffon/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-12-12 22:30:12 UTC (rev 153144) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=1.8 +_mozilla_ver=fec90cbfbaad +_github_ver=5961e4cbc9ea546f9d7e4b9a7f2bb6884d66a378 +pkgrel=1 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('i686' 'x86_64') +url="http://bluegriffon.org/; +license=('MPL' 'GPL' 'LGPL') +depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-common' + '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; +"mozconfig" +"${pkgname}.desktop") +sha256sums=('0c629f882a7b7fcdf4416871db8d522f43653b62c0e5a25168b1914af8448a11' +'95a9868b809664bd79727119eace53b9f6e97c54a137c28b7e6dda688aade6fd' +'3aea9a83bf304da5525f34a911712cf42f8ded1c8b6becf0a2cf8a4b4f7facd6' +'2df11bae529ce96d0133ba3ce076e0016350d66a7800a2253b19db13785a87fd' +'fb8b56dcbf3daf13ac336b85183db8d48068d9f82dc74acad9fa619a165c601f' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff') + +prepare() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Move files to their correct location + cp -r "${srcdir}/${pkgname}-${_github_ver}" bluegriffon + cp "${srcdir}/mozconfig" .mozconfig + + # Apply patches + patch -p1 -i "${srcdir}/bug_1194520_add_ftfntfmt.patch" + patch -p1 -i "${srcdir}/bug_1153109_CXX11_ABI.patch" + + # Apply BlueGriffon's upstream customizations + patch -Np1 -i bluegriffon/config/content.patch + + # python2 fix + find . -name \*.py -exec sed -i 's@^#.*python$@#!/usr/bin/python2@' '{}' \; +} + +build() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + export CPPFLAGS+=' -O2' + export PYTHON=python2 + + # Build the package + ./mach build +} + +package() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Install files + install -m 755 -d "${pkgdir}/usr/lib/${pkgname}" + cp -LR bg/dist/bin/* "${pkgdir}/usr/lib/${pkgname}" + + # Install executable file + install -m 755 -d "${pkgdir}/usr/bin" + ln -sf /usr/lib/${pkgname}/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
[arch-commits] Commit in bluegriffon/repos (10 files)
Date: Monday, December 7, 2015 @ 01:26:23 Author: muflone Revision: 149407 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: bluegriffon/repos/community-testing-i686/ bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 149406, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 149406, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-i686/bluegriffon.install (from rev 149406, bluegriffon/trunk/bluegriffon.install) bluegriffon/repos/community-testing-i686/mozconfig (from rev 149406, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-testing-x86_64/ bluegriffon/repos/community-testing-x86_64/PKGBUILD (from rev 149406, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop (from rev 149406, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-x86_64/bluegriffon.install (from rev 149406, bluegriffon/trunk/bluegriffon.install) bluegriffon/repos/community-testing-x86_64/mozconfig (from rev 149406, bluegriffon/trunk/mozconfig) --+ community-testing-i686/PKGBUILD | 86 + community-testing-i686/bluegriffon.desktop | 16 community-testing-i686/bluegriffon.install | 12 +++ community-testing-i686/mozconfig | 83 community-testing-x86_64/PKGBUILD| 86 + community-testing-x86_64/bluegriffon.desktop | 16 community-testing-x86_64/bluegriffon.install | 12 +++ community-testing-x86_64/mozconfig | 83 8 files changed, 394 insertions(+) Copied: bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 149406, bluegriffon/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-12-07 00:26:23 UTC (rev 149407) @@ -0,0 +1,86 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=1.8 +_mozilla_ver=fec90cbfbaad +_github_ver=5961e4cbc9ea546f9d7e4b9a7f2bb6884d66a378 +pkgrel=1 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('i686' 'x86_64') +url="http://bluegriffon.org/; +license=('MPL' 'GPL' 'LGPL') +depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-common' + '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; +"mozconfig" +"${pkgname}.desktop") +sha256sums=('0c629f882a7b7fcdf4416871db8d522f43653b62c0e5a25168b1914af8448a11' +'95a9868b809664bd79727119eace53b9f6e97c54a137c28b7e6dda688aade6fd' +'3aea9a83bf304da5525f34a911712cf42f8ded1c8b6becf0a2cf8a4b4f7facd6' +'fb8b56dcbf3daf13ac336b85183db8d48068d9f82dc74acad9fa619a165c601f' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff') + +prepare() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Move files to their correct location + cp -r "${srcdir}/${pkgname}-${_github_ver}" bluegriffon + cp "${srcdir}/mozconfig" .mozconfig + + # Apply patches + patch -p1 -i "${srcdir}/bug_1194520_add_ftfntfmt.patch" + + # Apply BlueGriffon's upstream customizations + patch -Np1 -i bluegriffon/config/content.patch + + # python2 fix + find . -name \*.py -exec sed -i 's@^#.*python$@#!/usr/bin/python2@' '{}' \; +} + +build() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + export CPPFLAGS+=' -O2' + export PYTHON=python2 + + # Build the package + ./mach build +} + +package() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Install files + install -m 755 -d "${pkgdir}/usr/lib/${pkgname}" + cp -LR bg/dist/bin/* "${pkgdir}/usr/lib/${pkgname}" + + # Install executable file + install -m 755 -d "${pkgdir}/usr/bin" + ln -sf /usr/lib/${pkgname}/${pkgname} "${pkgdir}/usr/bin/${pkgname}" + + # Install icons + cp bg/dist/branding/mozicon128.png bg/dist/branding/default128.png + for _icon in 16 32 48 128; do + install -Dm644 bg/dist/branding/default${_icon}.png \ +