[arch-commits] Commit in bluegriffon/repos (8 files)
Date: Monday, April 27, 2020 @ 14:36:24 Author: foutrelis Revision: 621893 archrelease: copy trunk to community-staging-x86_64 Added: bluegriffon/repos/community-staging-x86_64/ bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 621892, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-x86_64/bluegriffon.desktop (from rev 621892, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-x86_64/bug_1533969_glibc230.patch (from rev 621892, bluegriffon/trunk/bug_1533969_glibc230.patch) bluegriffon/repos/community-staging-x86_64/fix-rust-lifetime-issue.patch (from rev 621892, bluegriffon/trunk/fix-rust-lifetime-issue.patch) bluegriffon/repos/community-staging-x86_64/mozconfig (from rev 621892, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-staging-x86_64/no-crmf.diff (from rev 621892, bluegriffon/trunk/no-crmf.diff) bluegriffon/repos/community-staging-x86_64/rust-explitcit-dyn.patch (from rev 621892, bluegriffon/trunk/rust-explitcit-dyn.patch) ---+ PKGBUILD | 157 bluegriffon.desktop | 16 bug_1533969_glibc230.patch| 61 +++ fix-rust-lifetime-issue.patch | 61 +++ mozconfig | 31 +++ no-crmf.diff | 15 +++ rust-explitcit-dyn.patch | 22 + 7 files changed, 363 insertions(+) Copied: bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 621892, bluegriffon/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-27 14:36:24 UTC (rev 621893) @@ -0,0 +1,157 @@ +# 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=11 +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' 'mozilla-common' '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" +"no-crmf.diff" +"fix-rust-lifetime-issue.patch" +"rust-explitcit-dyn.patch") +sha256sums=('4fb9b29f00ff4e94e78994308ffa52bce818978009e0d8229203d6ac4210b0f4' +'01096e58c898e1b37cba581e1cc0f325d1c402091ccc4a2491543b39add40c6c' +'d589572a0e36b8500ed12937727e540a13b635c7ac12621a10ff675250b61175' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff' +'6417fda6af8e610556f662fca28b2c25ceedb3e6970923a4eec562389b00b6d6' +'7760ebe71f4057cbd2f52b715abaf0d944c14c39e2bb2a5322114ad8451e12d9' +'806cbe936720676ea8d82c5f2bb880ca632181b07b0cf24a47c064a3485b7c7f' +'18fbcfda13dd7d30d3c1310da15a133f90bf9ce6b7cfa15de833928e7d9efe95' +'35bd21633bfe1005ccb643d6863e5da32b1281594f92bdcbd2ed36ef3fc43dfd' +'02000d185e647aa20ca336e595b4004bb29cdae9d8f317f90078bdcc7a36e873' +'6726dce0ceabbb0893f8776168f20c15777a27e108e8ca46b1e39d5945d2c008' +'76d54fe6f5a5a50065b1d23f6a6bc4b057d4944bfab5d8ee3bb7faef4e30c334') + +prepare() { + mkdir path + ln -s /usr/bin/python2 path/python + + cd "${srcdir}/gecko-dev-${_gecko_dev_revision}"*/ + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1427455 + patch -Np1 -i ../bug_1427455-unused-variables.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=445128 + patch -Np1 -i ../bug_445128_install-dir.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991 + patch -Np1 -i ../no-crmf.diff + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1353650 + patch -Np1 -i ../bug_1353650_icu59.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1384062 + patch -Np1 -i ../bug_1384062_systemresourcemonitor.patch + + # patch from
[arch-commits] Commit in bluegriffon/repos (8 files)
Date: Thursday, April 9, 2020 @ 04:27:38 Author: foutrelis Revision: 612888 archrelease: copy trunk to community-staging-x86_64 Added: bluegriffon/repos/community-staging-x86_64/ bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 612887, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-x86_64/bluegriffon.desktop (from rev 612887, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-x86_64/bug_1533969_glibc230.patch (from rev 612887, bluegriffon/trunk/bug_1533969_glibc230.patch) bluegriffon/repos/community-staging-x86_64/fix-rust-lifetime-issue.patch (from rev 612887, bluegriffon/trunk/fix-rust-lifetime-issue.patch) bluegriffon/repos/community-staging-x86_64/mozconfig (from rev 612887, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-staging-x86_64/no-crmf.diff (from rev 612887, bluegriffon/trunk/no-crmf.diff) bluegriffon/repos/community-staging-x86_64/rust-explitcit-dyn.patch (from rev 612887, bluegriffon/trunk/rust-explitcit-dyn.patch) ---+ PKGBUILD | 157 bluegriffon.desktop | 16 bug_1533969_glibc230.patch| 61 +++ fix-rust-lifetime-issue.patch | 61 +++ mozconfig | 31 +++ no-crmf.diff | 15 +++ rust-explitcit-dyn.patch | 22 + 7 files changed, 363 insertions(+) Copied: bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 612887, bluegriffon/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-09 04:27:38 UTC (rev 612888) @@ -0,0 +1,157 @@ +# 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=10 +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' 'mozilla-common' '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" +"no-crmf.diff" +"fix-rust-lifetime-issue.patch" +"rust-explitcit-dyn.patch") +sha256sums=('4fb9b29f00ff4e94e78994308ffa52bce818978009e0d8229203d6ac4210b0f4' +'01096e58c898e1b37cba581e1cc0f325d1c402091ccc4a2491543b39add40c6c' +'d589572a0e36b8500ed12937727e540a13b635c7ac12621a10ff675250b61175' +'882133b77840356985a81e496b4ddc443f8f33c068cfb7ef0858497820adcfff' +'6417fda6af8e610556f662fca28b2c25ceedb3e6970923a4eec562389b00b6d6' +'7760ebe71f4057cbd2f52b715abaf0d944c14c39e2bb2a5322114ad8451e12d9' +'806cbe936720676ea8d82c5f2bb880ca632181b07b0cf24a47c064a3485b7c7f' +'18fbcfda13dd7d30d3c1310da15a133f90bf9ce6b7cfa15de833928e7d9efe95' +'35bd21633bfe1005ccb643d6863e5da32b1281594f92bdcbd2ed36ef3fc43dfd' +'02000d185e647aa20ca336e595b4004bb29cdae9d8f317f90078bdcc7a36e873' +'6726dce0ceabbb0893f8776168f20c15777a27e108e8ca46b1e39d5945d2c008' +'76d54fe6f5a5a50065b1d23f6a6bc4b057d4944bfab5d8ee3bb7faef4e30c334') + +prepare() { + mkdir path + ln -s /usr/bin/python2 path/python + + cd "${srcdir}/gecko-dev-${_gecko_dev_revision}"*/ + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1427455 + patch -Np1 -i ../bug_1427455-unused-variables.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=445128 + patch -Np1 -i ../bug_445128_install-dir.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991 + patch -Np1 -i ../no-crmf.diff + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1353650 + patch -Np1 -i ../bug_1353650_icu59.patch + + # https://bugzilla.mozilla.org/show_bug.cgi?id=1384062 + patch -Np1 -i ../bug_1384062_systemresourcemonitor.patch + + # patch from
[arch-commits] Commit in bluegriffon/repos (8 files)
Date: Saturday, July 23, 2016 @ 18:22:19 Author: muflone Revision: 183888 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 183887, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-i686/bluegriffon.desktop (from rev 183887, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-i686/mozconfig (from rev 183887, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-staging-x86_64/ bluegriffon/repos/community-staging-x86_64/PKGBUILD (from rev 183887, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-staging-x86_64/bluegriffon.desktop (from rev 183887, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-staging-x86_64/mozconfig (from rev 183887, bluegriffon/trunk/mozconfig) --+ community-staging-i686/PKGBUILD | 79 + community-staging-i686/bluegriffon.desktop | 16 + community-staging-i686/mozconfig | 62 +++ community-staging-x86_64/PKGBUILD| 79 + community-staging-x86_64/bluegriffon.desktop | 16 + community-staging-x86_64/mozconfig | 62 +++ 6 files changed, 314 insertions(+) Copied: bluegriffon/repos/community-staging-i686/PKGBUILD (from rev 183887, bluegriffon/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-07-23 18:22:19 UTC (rev 183888) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=2.1.1 +_mozilla_ver=f14898695ee0 +pkgrel=2 +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; +"mozconfig" +"${pkgname}.desktop") +sha256sums=('50810c4b287c1cd14aedbfff48dd93df4ff3c590e0dcca52f7ef28841b49e5ee' +'0b13213b5f9b3819b56872f7fb4fa7a1170ade06f8797dc4e5f7c8eabca2' +'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 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 \ + "${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname}.png" + done + + # Install desktop file + install -Dm644 ../${pkgname}.desktop \ +"${pkgdir}/usr/share/applications/${pkgname}.desktop" + + # Use system-provided dictionaries + rm -rf "${pkgdir}/usr/lib/${pkgname}/dictionaries" + ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${pkgname}/dictionaries" + rm -rf "${pkgdir}/usr/lib/${pkgname}hyphenation" + ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${pkgname}/hyphenation" +} Copied: bluegriffon/repos/community-staging-i686/bluegriffon.desktop (from rev 183887, bluegriffon/trunk/bluegriffon.desktop) === --- community-staging-i686/bluegriffon.desktop
[arch-commits] Commit in bluegriffon/repos (8 files)
Date: Saturday, July 23, 2016 @ 17:54:06 Author: muflone Revision: 183887 archrelease: copy trunk to staging-i686, staging-x86_64 Added: bluegriffon/repos/staging-i686/ bluegriffon/repos/staging-i686/PKGBUILD (from rev 183886, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/staging-i686/bluegriffon.desktop (from rev 183886, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/staging-i686/mozconfig (from rev 183886, bluegriffon/trunk/mozconfig) bluegriffon/repos/staging-x86_64/ bluegriffon/repos/staging-x86_64/PKGBUILD (from rev 183886, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/staging-x86_64/bluegriffon.desktop (from rev 183886, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/staging-x86_64/mozconfig (from rev 183886, bluegriffon/trunk/mozconfig) + staging-i686/PKGBUILD | 79 +++ staging-i686/bluegriffon.desktop | 16 +++ staging-i686/mozconfig | 62 +++ staging-x86_64/PKGBUILD| 79 +++ staging-x86_64/bluegriffon.desktop | 16 +++ staging-x86_64/mozconfig | 62 +++ 6 files changed, 314 insertions(+) Copied: bluegriffon/repos/staging-i686/PKGBUILD (from rev 183886, bluegriffon/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-07-23 17:54:06 UTC (rev 183887) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=2.1.1 +_mozilla_ver=f14898695ee0 +pkgrel=2 +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; +"mozconfig" +"${pkgname}.desktop") +sha256sums=('50810c4b287c1cd14aedbfff48dd93df4ff3c590e0dcca52f7ef28841b49e5ee' +'0b13213b5f9b3819b56872f7fb4fa7a1170ade06f8797dc4e5f7c8eabca2' +'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 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 \ + "${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname}.png" + done + + # Install desktop file + install -Dm644 ../${pkgname}.desktop \ +"${pkgdir}/usr/share/applications/${pkgname}.desktop" + + # Use system-provided dictionaries + rm -rf "${pkgdir}/usr/lib/${pkgname}/dictionaries" + ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${pkgname}/dictionaries" + rm -rf "${pkgdir}/usr/lib/${pkgname}hyphenation" + ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${pkgname}/hyphenation" +} Copied: bluegriffon/repos/staging-i686/bluegriffon.desktop (from rev 183886, bluegriffon/trunk/bluegriffon.desktop) === --- staging-i686/bluegriffon.desktop(rev 0) +++ staging-i686/bluegriffon.desktop2016-07-23 17:54:06 UTC (rev 183887) @@ -0,0 +1,16 @@ +[Desktop Entry] +Name=BlueGriffon +GenericName=Web Editor
[arch-commits] Commit in bluegriffon/repos (8 files)
Date: Saturday, July 9, 2016 @ 22:41:28 Author: muflone Revision: 182599 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 182598, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 182598, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-i686/mozconfig (from rev 182598, bluegriffon/trunk/mozconfig) bluegriffon/repos/community-testing-x86_64/ bluegriffon/repos/community-testing-x86_64/PKGBUILD (from rev 182598, bluegriffon/trunk/PKGBUILD) bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop (from rev 182598, bluegriffon/trunk/bluegriffon.desktop) bluegriffon/repos/community-testing-x86_64/mozconfig (from rev 182598, bluegriffon/trunk/mozconfig) --+ community-testing-i686/PKGBUILD | 79 + community-testing-i686/bluegriffon.desktop | 16 + community-testing-i686/mozconfig | 62 +++ community-testing-x86_64/PKGBUILD| 79 + community-testing-x86_64/bluegriffon.desktop | 16 + community-testing-x86_64/mozconfig | 62 +++ 6 files changed, 314 insertions(+) Copied: bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 182598, bluegriffon/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-07-09 22:41:28 UTC (rev 182599) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György+ +pkgname=bluegriffon +pkgver=2.1.1 +_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; +"mozconfig" +"${pkgname}.desktop") +sha256sums=('50810c4b287c1cd14aedbfff48dd93df4ff3c590e0dcca52f7ef28841b49e5ee' +'0b13213b5f9b3819b56872f7fb4fa7a1170ade06f8797dc4e5f7c8eabca2' +'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 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 \ + "${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname}.png" + done + + # Install desktop file + install -Dm644 ../${pkgname}.desktop \ +"${pkgdir}/usr/share/applications/${pkgname}.desktop" + + # Use system-provided dictionaries + rm -rf "${pkgdir}/usr/lib/${pkgname}/dictionaries" + ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${pkgname}/dictionaries" + rm -rf "${pkgdir}/usr/lib/${pkgname}hyphenation" + ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${pkgname}/hyphenation" +} Copied: bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 182598, bluegriffon/trunk/bluegriffon.desktop) === --- community-testing-i686/bluegriffon.desktop