From 2d890e1b65131cac2094abca4e596a190d797190 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 8 Apr 2013 06:16:56 -0300 Subject: xcftools: add package to pcr --- pcr/xcftools/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pcr/xcftools/PKGBUILD diff --git a/pcr/xcftools/PKGBUILD b/pcr/xcftools/PKGBUILD new file mode 100644 index 000000000..979453d24 --- /dev/null +++ b/pcr/xcftools/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Jonathan Frawley +# Maintainer (Parabola): Márcio Silva +pkgname=xcftools +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Miscellaneous command line tools for use with the open ${pkgname::3} format used by The GIMP." +url=http://henning.makholm.net/software +arch=( + i686 + x86_64 + mips64el +) +license=( + GPL2 + perl +) +depends=( + libpng + perl +) +optdepends=gimp +makedepends=libpng +source=( + http://henning.makholm.net/$pkgname/$pkgname-$pkgver.tar.gz + $pkgname.patch +) +md5sums=( + fd960b6470fb23520fc4b1ade6cf6e25 + 7439f6a8369a12913243ded6c93d31e1 +) + +build() { + cd $srcdir/$pkgname-$pkgver + patch -i ../$pkgname.patch + /bin/bash configure --prefix=/usr + setarch $CARCH make +} + +package() { + cd $srcdir/$pkgname-$pkgver + setarch $CARCH make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf From 7d8637474118fea4215487d42a7a4c237db16a20 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 8 Apr 2013 22:57:15 -0300 Subject: bumblebee-libre-3.1-6: updating revision * Add suggestion from https://bugs.archlinux.org/task/34634 --- libre/bumblebee-libre/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD index aff067a94..3df5ae948 100644 --- a/libre/bumblebee-libre/PKGBUILD +++ b/libre/bumblebee-libre/PKGBUILD @@ -4,10 +4,11 @@ _pkgname=bumblebee pkgname=bumblebee-libre pkgver=3.1 -pkgrel=5.1 +pkgrel=6 pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support" arch=('i686' 'x86_64') -depends=('virtualgl' 'libbsd' 'glib2' 'mesa-libgl') +depends=('virtualgl' 'glib2' 'mesa-libgl') +makedepends=('help2man') optdepends=('xf86-video-nouveau: nouveau driver' 'nouveau-dri: 3D acceleration features of nouveau' 'bbswitch: switch on/off discrete card' @@ -42,7 +43,8 @@ build() { ./configure \ CONF_DRIVER=nouveau \ --prefix=/usr \ - --sysconfdir=/etc + --sysconfdir=/etc \ + --without-pidfile make } -- cgit v1.2.3-54-g00ecf From 50f4e8fbf3f4cfe7180d28f47c3575d4d7895c9a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 8 Apr 2013 23:40:36 -0300 Subject: hunspell-pt-br-3.0-3: updating version --- pcr/hunspell-pt-br/PKGBUILD | 27 +++++++++++++++++++++++++++ social/hunspell-pt-br/PKGBUILD | 27 --------------------------- ~emulatorman/hunspell-pt-br/PKGBUILD | 27 --------------------------- 3 files changed, 27 insertions(+), 54 deletions(-) create mode 100644 pcr/hunspell-pt-br/PKGBUILD delete mode 100644 social/hunspell-pt-br/PKGBUILD delete mode 100644 ~emulatorman/hunspell-pt-br/PKGBUILD diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD new file mode 100644 index 000000000..35e1dc887 --- /dev/null +++ b/pcr/hunspell-pt-br/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Daniel Felipe Reis Apolinario +# Contributor: Bernardo Barros +# Contributor: Robson R S Peixoto +# Maintainer (Parabola): André Silva + +pkgname=hunspell-pt-br +pkgver=2.0.9 +pkgrel=1 +pkgdesc="Portuguese (Brazil) hunspell dictionary" +arch=(any) +url="http://www.broffice.org/verortografico/" +license=('LGPL-2.1') +optdepends=('hunspell: the spell checking libraries and apps') +source=(http://www.broffice.org/files/Vero_pt_BR_V209AOC.oxt) + +build() { + cd ${srcdir} + install -D -m644 pt_BR.dic $pkgdir/usr/share/hunspell/pt_BR.dic + install -D -m644 pt_BR.aff $pkgdir/usr/share/hunspell/pt_BR.aff + mkdir -p $pkgdir/usr/share/myspell/dicts + cd $pkgdir/usr/share/myspell/dicts + + ln -s /usr/share/hunspell/pt_BR.dic pt_BR.dic + ln -s /usr/share/hunspell/pt_BR.aff pt_BR.aff +} + +md5sums=('47313490f1a21c87b6d5fb5655042e22') diff --git a/social/hunspell-pt-br/PKGBUILD b/social/hunspell-pt-br/PKGBUILD deleted file mode 100644 index 35e1dc887..000000000 --- a/social/hunspell-pt-br/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Daniel Felipe Reis Apolinario -# Contributor: Bernardo Barros -# Contributor: Robson R S Peixoto -# Maintainer (Parabola): André Silva - -pkgname=hunspell-pt-br -pkgver=2.0.9 -pkgrel=1 -pkgdesc="Portuguese (Brazil) hunspell dictionary" -arch=(any) -url="http://www.broffice.org/verortografico/" -license=('LGPL-2.1') -optdepends=('hunspell: the spell checking libraries and apps') -source=(http://www.broffice.org/files/Vero_pt_BR_V209AOC.oxt) - -build() { - cd ${srcdir} - install -D -m644 pt_BR.dic $pkgdir/usr/share/hunspell/pt_BR.dic - install -D -m644 pt_BR.aff $pkgdir/usr/share/hunspell/pt_BR.aff - mkdir -p $pkgdir/usr/share/myspell/dicts - cd $pkgdir/usr/share/myspell/dicts - - ln -s /usr/share/hunspell/pt_BR.dic pt_BR.dic - ln -s /usr/share/hunspell/pt_BR.aff pt_BR.aff -} - -md5sums=('47313490f1a21c87b6d5fb5655042e22') diff --git a/~emulatorman/hunspell-pt-br/PKGBUILD b/~emulatorman/hunspell-pt-br/PKGBUILD deleted file mode 100644 index 35e1dc887..000000000 --- a/~emulatorman/hunspell-pt-br/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Daniel Felipe Reis Apolinario -# Contributor: Bernardo Barros -# Contributor: Robson R S Peixoto -# Maintainer (Parabola): André Silva - -pkgname=hunspell-pt-br -pkgver=2.0.9 -pkgrel=1 -pkgdesc="Portuguese (Brazil) hunspell dictionary" -arch=(any) -url="http://www.broffice.org/verortografico/" -license=('LGPL-2.1') -optdepends=('hunspell: the spell checking libraries and apps') -source=(http://www.broffice.org/files/Vero_pt_BR_V209AOC.oxt) - -build() { - cd ${srcdir} - install -D -m644 pt_BR.dic $pkgdir/usr/share/hunspell/pt_BR.dic - install -D -m644 pt_BR.aff $pkgdir/usr/share/hunspell/pt_BR.aff - mkdir -p $pkgdir/usr/share/myspell/dicts - cd $pkgdir/usr/share/myspell/dicts - - ln -s /usr/share/hunspell/pt_BR.dic pt_BR.dic - ln -s /usr/share/hunspell/pt_BR.aff pt_BR.aff -} - -md5sums=('47313490f1a21c87b6d5fb5655042e22') -- cgit v1.2.3-54-g00ecf From 2fee4889f473a2ee7f879c967af324b8054f8712 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 8 Apr 2013 23:42:27 -0300 Subject: hunspell-pt-br: adding the new changes --- pcr/hunspell-pt-br/PKGBUILD | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/pcr/hunspell-pt-br/PKGBUILD b/pcr/hunspell-pt-br/PKGBUILD index 35e1dc887..0641711df 100644 --- a/pcr/hunspell-pt-br/PKGBUILD +++ b/pcr/hunspell-pt-br/PKGBUILD @@ -1,27 +1,24 @@ # Maintainer: Daniel Felipe Reis Apolinario # Contributor: Bernardo Barros # Contributor: Robson R S Peixoto -# Maintainer (Parabola): André Silva +# Maintainer (Parabola): André Silva pkgname=hunspell-pt-br -pkgver=2.0.9 -pkgrel=1 -pkgdesc="Portuguese (Brazil) hunspell dictionary" +pkgver=3.0 +pkgrel=3 +pkgdesc="Portuguese (Brazil) dictionary" arch=(any) -url="http://www.broffice.org/verortografico/" -license=('LGPL-2.1') +url="http://pt-br.libreoffice.org/projetos/projeto-vero-verificador-ortografico" +license=('LGPLv3') optdepends=('hunspell: the spell checking libraries and apps') -source=(http://www.broffice.org/files/Vero_pt_BR_V209AOC.oxt) +source=(http://pt-br.libreoffice.org/assets/VeroptBRV300AOG.oxt) +md5sums=('96e05c7b7df97e2d1ce57ff736063bdf') -build() { - cd ${srcdir} - install -D -m644 pt_BR.dic $pkgdir/usr/share/hunspell/pt_BR.dic - install -D -m644 pt_BR.aff $pkgdir/usr/share/hunspell/pt_BR.aff - mkdir -p $pkgdir/usr/share/myspell/dicts - cd $pkgdir/usr/share/myspell/dicts - - ln -s /usr/share/hunspell/pt_BR.dic pt_BR.dic - ln -s /usr/share/hunspell/pt_BR.aff pt_BR.aff +package() { + install -D -m644 ${srcdir}/pt_BR.dic ${pkgdir}/usr/share/hunspell/pt_BR.dic + install -D -m644 ${srcdir}/pt_BR.aff ${pkgdir}/usr/share/hunspell/pt_BR.aff + + mkdir -p ${pkgdir}/usr/share/myspell/dicts + ln -s /usr/share/hunspell/pt_BR.dic ${pkgdir}/usr/share/myspell/dicts/pt_BR.dic + ln -s /usr/share/hunspell/pt_BR.aff ${pkgdir}/usr/share/myspell/dicts/pt_BR.aff } - -md5sums=('47313490f1a21c87b6d5fb5655042e22') -- cgit v1.2.3-54-g00ecf From d41eeb0f389b148ce123f62847fd32c19dd7c19a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 05:05:27 -0300 Subject: cgminer-libre-2.11.4-1: updating version --- libre/cgminer-libre/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD index e9ca63637..cc3749800 100644 --- a/libre/cgminer-libre/PKGBUILD +++ b/libre/cgminer-libre/PKGBUILD @@ -7,10 +7,10 @@ pkgname=cgminer-libre _pkgflag=libre -pkgver=2.11.3 +pkgver=2.11.4 _build= pkgrel=1 -pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer, with free OpenCL support." +pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer, without nonfree OpenCL recommendation" url='http://forum.bitcoin.org/index.php?topic=28402.0' license=('GPL3') arch=('i686' 'x86_64' 'mips64el') @@ -36,7 +36,7 @@ build() { # Here you may want to use custom CFLAGS #export CFLAGS="-O2 -march=native -mtune=native -msse2" - ./configure --prefix=/usr --enable-cpumining --disable-adl + ./configure --prefix=/usr --enable-cpumining --enable-scrypt --disable-adl make } @@ -52,6 +52,6 @@ package() { install -Dm644 ${pkgname%-$_pkgflag}.conf "$pkgdir"/etc/${pkgname%-$_pkgflag}.conf } -md5sums=('fd2c69f943353fbc9723a5526d82c1b6' +md5sums=('535ca85b504bd408d1eeddf4962ed685' 'fe4a243fabe24608f5c05e40f0f118f6' 'bd76fc92fedce18c59ccea2aa79cc664') -- cgit v1.2.3-54-g00ecf From 31cd0daab559499691d8ae177fbd63328f40bdf8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 05:06:38 -0300 Subject: luxrender-libre: fixing english grammar --- libre/luxrender-libre/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/luxrender-libre/PKGBUILD b/libre/luxrender-libre/PKGBUILD index 1d4dd0702..15bc771ed 100644 --- a/libre/luxrender-libre/PKGBUILD +++ b/libre/luxrender-libre/PKGBUILD @@ -8,7 +8,7 @@ _pkgflag=libre pkgver=1.2.1 _pkgver=3066b2161439 pkgrel=1 -pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendations" +pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendation" arch=('i686' 'x86_64' 'mips64el') url="http://www.${pkgname%-$_pkgflag}.net/" license=('GPL') -- cgit v1.2.3-54-g00ecf From cb48dec2b14b8b9acd4cf38539ff98603b72994f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 05:29:01 -0300 Subject: bumblebee-libre: fixing provides line error --- libre/bumblebee-libre/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD index 3df5ae948..74f295b66 100644 --- a/libre/bumblebee-libre/PKGBUILD +++ b/libre/bumblebee-libre/PKGBUILD @@ -4,7 +4,7 @@ _pkgname=bumblebee pkgname=bumblebee-libre pkgver=3.1 -pkgrel=6 +pkgrel=6.1 pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support" arch=('i686' 'x86_64') depends=('virtualgl' 'glib2' 'mesa-libgl') @@ -19,7 +19,7 @@ if [ "$CARCH" = "x86_64" ]; then fi replaces=('bumblebee') conflicts=('bumblebee' 'nvidia-libgl') -provides=("bumblebee=$pkgver"'nvidia-libgl') +provides=("bumblebee=$pkgver" 'nvidia-libgl') url="http://www.bumblebee-project.org" license=("GPL3") install='bumblebee.install' -- cgit v1.2.3-54-g00ecf From 2905b73ca827c46cec64e050fd3cd4d3d356279d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 05:36:56 -0300 Subject: bumblebee-libre: adding nvidia-libgl on replaces line --- libre/bumblebee-libre/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/bumblebee-libre/PKGBUILD b/libre/bumblebee-libre/PKGBUILD index 74f295b66..8805ff9d1 100644 --- a/libre/bumblebee-libre/PKGBUILD +++ b/libre/bumblebee-libre/PKGBUILD @@ -4,7 +4,7 @@ _pkgname=bumblebee pkgname=bumblebee-libre pkgver=3.1 -pkgrel=6.1 +pkgrel=6.2 pkgdesc="NVIDIA Optimus support for GNU/Linux through VirtualGL, without nonfree nvidia driver support" arch=('i686' 'x86_64') depends=('virtualgl' 'glib2' 'mesa-libgl') @@ -17,7 +17,7 @@ if [ "$CARCH" = "x86_64" ]; then optdepends[${#optdepends[@]}]='lib32-virtualgl: run 32bit applications with optirun' optdepends[${#optdepends[@]}]='lib32-primus: faster back-end for optirun' fi -replaces=('bumblebee') +replaces=('bumblebee' 'nvidia-libgl') conflicts=('bumblebee' 'nvidia-libgl') provides=("bumblebee=$pkgver" 'nvidia-libgl') url="http://www.bumblebee-project.org" -- cgit v1.2.3-54-g00ecf From 0c7c2e25cb609ca8c50bd72465d520b8dd4e5382 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 07:26:05 -0300 Subject: iceweasel-l{ibre,10n}-20.0.1-2: adding replaces and conflicts lines and change url" --- libre/iceweasel-l10n/PKGBUILD | 10 +++++----- libre/iceweasel-libre/PKGBUILD | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index af600985c..18f6fcf38 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -23,11 +23,11 @@ pkgname=($(for lang in ${_langpacks[@]} do echo $pkgbase-$lang | tr A-Z a-z done)) pkgver=$_debver.$_debrel -pkgrel=1 +pkgrel=2 pkgdesc="Language packs for Debian Iceweasel." arch=('any') -url="http://www.geticeweasel.org/" +url="http://packages.debian.org/source/experimental/iceweasel" license=('MPL' 'GPL') depends=("iceweasel-libre>=$pkgver") makedepends=('unzip' 'zip') @@ -66,9 +66,9 @@ for lang in ${_langpacks[@]} do eval " package_iceweasel-l10n-$(echo $lang | tr A-Z a-z)() { - replaces=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) - conflicts=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) - provides=(iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z) firefox-i18n-$(echo $lang | tr A-Z a-z)) + replaces=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) + conflicts=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) + provides=(firefox-i18n-$(echo $lang | tr A-Z a-z) iceweasel-i18n-$(echo $lang | tr A-Z a-z) iceweasel-libre-l10n-$(echo $lang | tr A-Z a-z)) install -Dm644 \"\$srcdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" \"\$pkgdir$_path/langpack-$lang@iceweasel.mozilla.org.xpi\" } " diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 6dc52a213..6ef48eb1d 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -22,7 +22,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=iceweasel pkgname=iceweasel-libre pkgver=$_debver.$_debrel -pkgrel=1 +pkgrel=2 pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox." arch=('i686' 'x86_64' 'mips64el') @@ -36,8 +36,10 @@ if $_pgo; then fi optdepends=('networkmanager: Location detection via available WiFi networks') -url="http://www.geticeweasel.org/" +url="http://packages.debian.org/source/experimental/${_pkgname}" install=iceweasel.install +replaces=('firefox') +conflicts=('firefox') provides=('firefox') source=("$_debrepo/`debfile $_debname`_$_debver.orig.tar.bz2" "$_debrepo/`debfile $_debname`_$_debver-$_debrel.debian.tar.gz" -- cgit v1.2.3-54-g00ecf From 93461d8e834d69d7d21d37fa0bf27b2f5fbda371 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 07:49:28 -0300 Subject: ice{ape,dove,weasel}-l{ibre,10n}: change url description" --- libre/iceape-l10n/PKGBUILD | 4 ++-- libre/iceape-libre/PKGBUILD | 4 ++-- libre/icedove-l10n/PKGBUILD | 4 ++-- libre/icedove-libre/PKGBUILD | 4 ++-- libre/iceweasel-l10n/PKGBUILD | 2 +- libre/iceweasel-libre/PKGBUILD | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libre/iceape-l10n/PKGBUILD b/libre/iceape-l10n/PKGBUILD index d8fc4308a..ff81b3b4b 100644 --- a/libre/iceape-l10n/PKGBUILD +++ b/libre/iceape-l10n/PKGBUILD @@ -23,11 +23,11 @@ pkgname=($(for lang in ${_langpacks[@]} do echo $pkgbase-$lang | tr A-Z a-z done)) pkgver=${_debver}.${_debrel} -pkgrel=3 +pkgrel=4 pkgdesc="Language packs for Debian Iceape." arch=('i686' 'x86_64' 'mips64el') -url="http://packages.debian.org/source/sid/iceape" +url="http://packages.debian.org/sid/iceape" license=('MPL' 'GPL') depends=("iceape-libre>=$pkgver") makedepends=('unzip' 'zip') diff --git a/libre/iceape-libre/PKGBUILD b/libre/iceape-libre/PKGBUILD index 1dff5d2dd..5152a456a 100644 --- a/libre/iceape-libre/PKGBUILD +++ b/libre/iceape-libre/PKGBUILD @@ -11,7 +11,7 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=${_debname} pkgname=${_debname}-libre pkgver=${_debver}.${_debrel} -pkgrel=4 +pkgrel=5 pkgdesc="A libre version of Debian Iceape, the internet suite based on SeaMonkey." arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL' 'LGPL') @@ -21,7 +21,7 @@ replaces=('mozilla' 'seamonkey') conflicts=('seamonkey') provides=('seamonkey') install=$_pkgname.install -url="http://packages.debian.org/source/sid/${_pkgname}" +url="http://packages.debian.org/sid/${_pkgname}" source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2" "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz" mozconfig diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD index fd24630fe..ba1b80f5b 100644 --- a/libre/icedove-l10n/PKGBUILD +++ b/libre/icedove-l10n/PKGBUILD @@ -11,10 +11,10 @@ pkgname=($(for lang in ${_langpacks[@]} do echo $pkgbase-$lang | tr A-Z a-z done)) -pkgrel=1 +pkgrel=2 pkgdesc="Language packs for Debian Icedove." arch=('i686' 'x86_64' 'mips64el') -url="http://packages.debian.org/source/experimental/icedove" +url="http://packages.debian.org/experimental/icedove" license=('MPL' 'GPL') depends=("icedove-libre>=$pkgver") makedepends=('unzip' 'zip') diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD index c727fb2ce..b5396781e 100644 --- a/libre/icedove-libre/PKGBUILD +++ b/libre/icedove-libre/PKGBUILD @@ -11,11 +11,11 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=${_debname} pkgname=${_debname}-libre pkgver=${_debver}.${_debrel} -pkgrel=1 +pkgrel=2 pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird." arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL' 'LGPL') -url="http://packages.debian.org/source/experimental/${_pkgname}" +url="http://packages.debian.org/experimental/${_pkgname}" depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification') makedepends=('unzip-libre' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt') optdepends=('libcanberra: for sound support') diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index 18f6fcf38..625995ecd 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -27,7 +27,7 @@ pkgrel=2 pkgdesc="Language packs for Debian Iceweasel." arch=('any') -url="http://packages.debian.org/source/experimental/iceweasel" +url="http://packages.debian.org/experimental/iceweasel" license=('MPL' 'GPL') depends=("iceweasel-libre>=$pkgver") makedepends=('unzip' 'zip') diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 6ef48eb1d..19b9ee9a2 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -36,7 +36,7 @@ if $_pgo; then fi optdepends=('networkmanager: Location detection via available WiFi networks') -url="http://packages.debian.org/source/experimental/${_pkgname}" +url="http://packages.debian.org/experimental/${_pkgname}" install=iceweasel.install replaces=('firefox') conflicts=('firefox') -- cgit v1.2.3-54-g00ecf From b2b93941f2ce88c04621ae7379d66f74e951eb17 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 19:19:49 -0300 Subject: icedove-libre: adding new features due that building brokes --- libre/icedove-libre/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD index b5396781e..f7962b8f5 100644 --- a/libre/icedove-libre/PKGBUILD +++ b/libre/icedove-libre/PKGBUILD @@ -75,6 +75,9 @@ build() { patch -Np1 -i "${srcdir}/Icedove-branding.patch" # debian patch fixed version cp "${srcdir}/mozconfig" .mozconfig + unset CPPFLAGS + CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" } -- cgit v1.2.3-54-g00ecf From c9595af54cee73811e7b945d164de0aaf3b9fe49 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Tue, 9 Apr 2013 19:34:42 -0300 Subject: iceweasel-libre: droping CPPFLAGS and adding -D_FORTIFY_SOURCE=2 to CFLAGS and CXXFLAGS variable --- libre/iceweasel-libre/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 19b9ee9a2..283d6e088 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -144,10 +144,16 @@ build() { fi if $_pgo; then + unset CPPFLAGS + export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 & LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="$MAKEFLAGS" kill $! || true else + unset CPPFLAGS + export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" fi } -- cgit v1.2.3-54-g00ecf From db43b79588e4ea2785bacf2bfc526957517b9e7d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 20:37:13 -0300 Subject: iceape-libre: adding new features due that building brokes --- libre/iceape-libre/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libre/iceape-libre/PKGBUILD b/libre/iceape-libre/PKGBUILD index 5152a456a..a8ecbf6bf 100644 --- a/libre/iceape-libre/PKGBUILD +++ b/libre/iceape-libre/PKGBUILD @@ -93,6 +93,9 @@ build() { rsvg-convert -w 128 -h 128 -o ${DEBIAN_BRANDING_DIR}/app-icons/iceape128.png ${DEBIAN_BRANDING_DIR}/iceape_icon_plain.svg cp "${srcdir}/mozconfig" .mozconfig + unset CPPFLAGS + CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" } -- cgit v1.2.3-54-g00ecf From 4e688247d5c2e692c61faec59ba09227e5bc88ee Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 20:41:03 -0300 Subject: ice{ape,dove}-l10n: change arch line to any --- libre/iceape-l10n/PKGBUILD | 2 +- libre/icedove-l10n/PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/iceape-l10n/PKGBUILD b/libre/iceape-l10n/PKGBUILD index ff81b3b4b..c9f22703d 100644 --- a/libre/iceape-l10n/PKGBUILD +++ b/libre/iceape-l10n/PKGBUILD @@ -26,7 +26,7 @@ pkgver=${_debver}.${_debrel} pkgrel=4 pkgdesc="Language packs for Debian Iceape." -arch=('i686' 'x86_64' 'mips64el') +arch=('any') url="http://packages.debian.org/sid/iceape" license=('MPL' 'GPL') depends=("iceape-libre>=$pkgver") diff --git a/libre/icedove-l10n/PKGBUILD b/libre/icedove-l10n/PKGBUILD index ba1b80f5b..5b102846c 100644 --- a/libre/icedove-l10n/PKGBUILD +++ b/libre/icedove-l10n/PKGBUILD @@ -13,7 +13,7 @@ pkgname=($(for lang in ${_langpacks[@]} pkgrel=2 pkgdesc="Language packs for Debian Icedove." -arch=('i686' 'x86_64' 'mips64el') +arch=('any') url="http://packages.debian.org/experimental/icedove" license=('MPL' 'GPL') depends=("icedove-libre>=$pkgver") -- cgit v1.2.3-54-g00ecf From 200254da9efb7e258c33edf437abffabc9309077 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Apr 2013 21:24:09 -0300 Subject: kdepim-libre-4.10.2-2: Fix address completion (KDEBUG#259949) --- libre/kdepim-libre/PKGBUILD | 9 +- libre/kdepim-libre/fix-completion.patch | 182 ++++++++++++++++++++++++++++++++ 2 files changed, 188 insertions(+), 3 deletions(-) create mode 100644 libre/kdepim-libre/fix-completion.patch diff --git a/libre/kdepim-libre/PKGBUILD b/libre/kdepim-libre/PKGBUILD index 75d81567f..07fa48b1a 100644 --- a/libre/kdepim-libre/PKGBUILD +++ b/libre/kdepim-libre/PKGBUILD @@ -23,7 +23,7 @@ pkgname=('kdepim-akonadiconsole-libre' 'kdepim-ktnef-libre' 'kdepim-libkdepim-libre') pkgver=4.10.2 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64' 'mips64el') url='http://pim.kde.org' license=('GPL' 'LGPL' 'FDL') @@ -31,12 +31,15 @@ groups=('kde' 'kdepim-libre') makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' 'kde-agent' 'nepomuk-widgets') source=("http://download.kde.org/stable/${pkgver}/src/${_pkgbase}-${pkgver}.tar.xz" - "kleopatra-build-fix.patch::http://bugsfiles.kde.org/attachment.cgi?id=78592") + "kleopatra-build-fix.patch::http://bugsfiles.kde.org/attachment.cgi?id=78592" + 'fix-completion.patch') sha1sums=('61b74cb3bf541040e09252d4dcfaea8a876a2859' - '61a7e31e7daee3358c442d3ac5f74171b45ae2c9') + '61a7e31e7daee3358c442d3ac5f74171b45ae2c9' + '92a44c7b1697de519b09265a3b68e7d73d4c024e') build() { patch -Np1 -d ${_pkgbase}-${pkgver} < ${srcdir}/kleopatra-build-fix.patch + patch -Np1 -d ${_pkgbase}-${pkgver} < ${srcdir}/fix-completion.patch mkdir build cd build diff --git a/libre/kdepim-libre/fix-completion.patch b/libre/kdepim-libre/fix-completion.patch new file mode 100644 index 000000000..c2edefe00 --- /dev/null +++ b/libre/kdepim-libre/fix-completion.patch @@ -0,0 +1,182 @@ +commit 6a06c57f52a00018d607085efa7570deb91dc707 +Author: David Faure +Date: Mon Apr 8 17:41:39 2013 +0200 + + Fix kmail autocompletion from akonadi. + + My commit 02f5f0214e made autocompletion from nepomuk work better, but broke + completion from akonadi. I kept the "keywords" based code, but now it's only + used for the special case of nickname-based search (because the nickname shouldn't + appear in the completion item). For everything else it really doesn't make sense + to have a search engine (akonadi/nepomuk) on top of a search engine + (the one inside KCompletion). + + This time I verified that: + * nepomuk search still works + * contacts from akonadi work again + * contact groups from akonadi work (after previous commit) + * nickname-search in akonadi still doesn't work, but it didn't before. More work + needed for that one. This is the only reason to keep KMailCompletion around btw, + everything else would work without it. + + BUG: 259949 + FIXED-IN: 4.10.3 + +diff --git a/libkdepim/addresseelineedit.cpp b/libkdepim/addresseelineedit.cpp +index b7b11be..ec4caf9 100644 +--- a/libkdepim/addresseelineedit.cpp ++++ b/libkdepim/addresseelineedit.cpp +@@ -30,6 +30,8 @@ + #include "completionordereditor.h" + #endif + ++#include "kmailcompletion.h" ++ + #include + #include + #include +@@ -77,6 +79,10 @@ + + using namespace KPIM; + ++namespace KPIM { ++ typedef QMap< QString, QPair > CompletionItemsMap; ++} ++ + class AddresseeLineEditStatic + { + public: +@@ -496,11 +502,9 @@ void AddresseeLineEdit::Private::addCompletionItem( const QString &string, int w + s_static->completionItemMap.insert( string, qMakePair( weight, completionItemSource ) ); + } + +- if ( keyWords == 0 ) { +- s_static->completion->addItem( string, weight ); +- } else { +- s_static->completion->addItemWithKeys( string, weight, keyWords ); +- } ++ s_static->completion->addItem(string, weight); ++ if (keyWords && !keyWords->isEmpty()) ++ s_static->completion->addItemWithKeys(string, weight, keyWords); // see kmailcompletion.cpp + } + + const QStringList KPIM::AddresseeLineEdit::Private::adjustedCompletionItems( bool fullSearch ) +@@ -1348,17 +1352,13 @@ void AddresseeLineEdit::addItem( const Akonadi::Item &item, int weight, int sour + void AddresseeLineEdit::addContactGroup( const KABC::ContactGroup &group, int weight, int source ) + { + d->addCompletionItem( group.name(), weight, source ); +- QStringList keyWords; +- keyWords.append( group.name() ); +- d->addCompletionItem( group.name(), weight, source, &keyWords ); + } + + void AddresseeLineEdit::addContact( const KABC::Addressee &addr, int weight, int source ) + { + const QStringList emails = addr.emails(); + QStringList::ConstIterator it; +- const int prefEmailWeight = 1; //increment weight by prefEmailWeight +- int isPrefEmail = prefEmailWeight; //first in list is preferredEmail ++ int isPrefEmail = 1; //first in list is preferredEmail + QStringList::ConstIterator end( emails.constEnd() ); + for ( it = emails.constBegin(); it != end; ++it ) { + //TODO: highlight preferredEmail +@@ -1368,40 +1368,6 @@ void AddresseeLineEdit::addContact( const KABC::Addressee &addr, int weight, int + const QString nickName = addr.nickName(); + QString fullEmail = addr.fullEmail( email ); + +- // Prepare keywords (for CompletionShell, CompletionPopup) +- QStringList keyWords; +- const QString realName = addr.realName(); +- +- if ( !givenName.isEmpty() && !familyName.isEmpty() ) { +- keyWords.append( givenName + QLatin1Char( ' ' ) + familyName ); +- keyWords.append( familyName + QLatin1Char( ' ' ) + givenName ); +- keyWords.append( familyName + QLatin1String( ", " ) + givenName ); +- } else if ( !givenName.isEmpty() ) { +- keyWords.append( givenName ); +- } else if ( !familyName.isEmpty() ) { +- keyWords.append( familyName ); +- } +- +- if ( !nickName.isEmpty() ) { +- keyWords.append( nickName ); +- } +- +- if ( !realName.isEmpty() ) { +- keyWords.append( realName ); +- } +- +- keyWords.append( email ); +- +- /* KMailCompletion does not have knowledge about identities, it stores emails and +- * keywords for each email. KMailCompletion::allMatches does a lookup on the +- * keywords and returns an ordered list of emails. In order to get the preferred +- * email before others for each identity we use this little trick. +- * We remove the in adjustedCompletionItems. +- */ +- if ( isPrefEmail == prefEmailWeight ) { +- fullEmail.replace( QLatin1String( " <" ), QLatin1String( " <" ) ); +- } +- + // Prepare "givenName" + ' ' + "familyName" + QString fullName = givenName; + if (!familyName.isEmpty()) { +@@ -1413,12 +1379,16 @@ void AddresseeLineEdit::addContact( const KABC::Addressee &addr, int weight, int + // Finally, we can add the completion items + if (!fullName.isEmpty()) { + const QString address = KPIMUtils::normalizedAddress(fullName, email, QString()); +- d->addCompletionItem(address, weight + isPrefEmail, source, &keyWords); ++ if (fullEmail != address) { ++ // This happens when fullEmail contains a middle name, while our own fullName+email only has "first last". ++ // Let's offer both, the fullEmail with 3 parts, looks a tad formal. ++ d->addCompletionItem(address, weight + isPrefEmail, source); ++ } + } + +- if ( !nickName.isEmpty() ) { +- const QString address = KPIMUtils::normalizedAddress(nickName, email, QString()); +- d->addCompletionItem(address, weight + isPrefEmail, source, &keyWords); ++ QStringList keyWords; ++ if (!nickName.isEmpty()) { ++ keyWords.append(nickName); + } + + d->addCompletionItem( fullEmail, weight + isPrefEmail, source, &keyWords ); +diff --git a/libkdepim/addresseelineedit.h b/libkdepim/addresseelineedit.h +index 4e6784b..b2af4a9 100644 +--- a/libkdepim/addresseelineedit.h ++++ b/libkdepim/addresseelineedit.h +@@ -27,7 +27,6 @@ + #ifndef KDEPIM_ADDRESSEELINEEDIT_H + #define KDEPIM_ADDRESSEELINEEDIT_H + +-#include "kmailcompletion.h" + #include "kdepim_export.h" + + #include "ldap/ldapclient.h" +@@ -50,10 +49,6 @@ namespace KABC { + class ContactGroup; + } + +-namespace KPIM { +- typedef QMap< QString, QPair > CompletionItemsMap; +-} +- + namespace Nepomuk2 { + namespace Query { + class Result; +diff --git a/libkdepim/kmailcompletion.h b/libkdepim/kmailcompletion.h +index e8574cc..93771d3 100644 +--- a/libkdepim/kmailcompletion.h ++++ b/libkdepim/kmailcompletion.h +@@ -32,7 +32,9 @@ namespace KPIM { + + /** + * KMailCompletion allows lookup of email addresses by keyword. +- * Typically a keywods would be firstname, lastname, nickname or domain. ++ * This is used for lookup by nickname, since we don't want the nickname to appear in the final email. ++ * E.g. you have a nickname "idiot" for your boss, you want to type "idiot" but you want the completion ++ * to offer "Full Name ", without the nickname being visible. + */ + class KMailCompletion : public KCompletion + { -- cgit v1.2.3-54-g00ecf From f99c89c057344416abcf7c0a10d85a39cc36b9af Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Apr 2013 00:18:42 -0300 Subject: iceape-libre: removes mozilla on replaces due that is deprecated --- libre/iceape-libre/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/iceape-libre/PKGBUILD b/libre/iceape-libre/PKGBUILD index a8ecbf6bf..3c0d6942a 100644 --- a/libre/iceape-libre/PKGBUILD +++ b/libre/iceape-libre/PKGBUILD @@ -17,7 +17,7 @@ arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL' 'LGPL') depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification') makedepends=('unzip-libre' 'zip' 'pkg-config' 'python2' 'python2-ply' 'librsvg' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt') -replaces=('mozilla' 'seamonkey') +replaces=('seamonkey') conflicts=('seamonkey') provides=('seamonkey') install=$_pkgname.install -- cgit v1.2.3-54-g00ecf From 4cf9c947c794fe5e5906d3c5350e9aada30b31ae Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Apr 2013 15:03:21 -0300 Subject: ice{ape-libre,cat,dove-libre,weasel-libre}: Add workaround for preprocessor misdetection --- libre/iceape-libre/PKGBUILD | 8 +++++--- libre/icecat/PKGBUILD | 4 ++++ libre/icedove-libre/PKGBUILD | 10 ++++++---- libre/iceweasel-libre/PKGBUILD | 10 ++++------ 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/libre/iceape-libre/PKGBUILD b/libre/iceape-libre/PKGBUILD index 3c0d6942a..b86107e16 100644 --- a/libre/iceape-libre/PKGBUILD +++ b/libre/iceape-libre/PKGBUILD @@ -93,9 +93,11 @@ build() { rsvg-convert -w 128 -h 128 -o ${DEBIAN_BRANDING_DIR}/app-icons/iceape128.png ${DEBIAN_BRANDING_DIR}/iceape_icon_plain.svg cp "${srcdir}/mozconfig" .mozconfig - unset CPPFLAGS - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" - CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" } diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD index 6898105d8..bf16eca0b 100644 --- a/libre/icecat/PKGBUILD +++ b/libre/icecat/PKGBUILD @@ -136,6 +136,10 @@ build() { chmod +x build/unix/run-icecat.sh # fix bug for bad file permition + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + if $_pgo; then LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 & LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS=$MAKEFLAGS diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD index f7962b8f5..90aa96d1a 100644 --- a/libre/icedove-libre/PKGBUILD +++ b/libre/icedove-libre/PKGBUILD @@ -65,7 +65,7 @@ build() { install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/content/icon${i/x*/}.png" done - # This patch has a orthographic issue ("Icdove" instead of "Icedove") in MOZ_APP_BASENAME line for confvars.sh + # This patch fixes a orthographic issue ("Icdove" instead of "Icedove") in MOZ_APP_BASENAME line for confvars.sh rm -v debian/patches/debian-hacks/Icedove-branding.patch || true quilt push -av @@ -75,9 +75,11 @@ build() { patch -Np1 -i "${srcdir}/Icedove-branding.patch" # debian patch fixed version cp "${srcdir}/mozconfig" .mozconfig - unset CPPFLAGS - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" - CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" } diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD index 283d6e088..0c9520b17 100644 --- a/libre/iceweasel-libre/PKGBUILD +++ b/libre/iceweasel-libre/PKGBUILD @@ -143,17 +143,15 @@ build() { echo 'ac_add_options --disable-jemalloc' >> .mozconfig fi + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + if $_pgo; then - unset CPPFLAGS - export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" - export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 & LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="$MAKEFLAGS" kill $! || true else - unset CPPFLAGS - export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" - export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" LD_PRELOAD="" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" fi } -- cgit v1.2.3-54-g00ecf From 1b5d7d7a179c566b138b6cc0e9ee76e1f683a77c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Apr 2013 18:39:20 -0300 Subject: npapi-vlc-git: new package to [pcr] repo --- pcr/npapi-vlc-git/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pcr/npapi-vlc-git/PKGBUILD diff --git a/pcr/npapi-vlc-git/PKGBUILD b/pcr/npapi-vlc-git/PKGBUILD new file mode 100644 index 000000000..59b11bff6 --- /dev/null +++ b/pcr/npapi-vlc-git/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Det +# Contributor: Pimper (M0Rf30) + +_pkgname=npapi-vlc +pkgname=$_pkgname-git +pkgver=0.2.213.gc992dba +pkgrel=1 +pkgdesc="The modern VLC Mozilla plugin" +arch=('i686' 'x86_64') +url="http://git.videolan.org/?p=$_pkgname.git;a=summary" +license=('LGPL-2.1') +options=('!libtool') +depends=('vlc') +makedepends=('git' 'npapi-sdk') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +source=("git://git.videolan.org/$_pkgname.git") +md5sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --always | sed 's/-/./g' +} + +build() { + cd $_pkgname + msg2 "Starting autogen.sh..." + sh ./autogen.sh + msg2 "Starting configure..." + ./configure --prefix=/usr + msg2 "Starting make..." + make +} + +package() { + cd $_pkgname + msg2 "Starting make install..." + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/COPYING" +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf From 64858b97a797e7855cd14764e056d2a5e46d1d8c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 10 Apr 2013 19:38:23 -0300 Subject: bfgminer-libre: adding new package to [libre] repo --- libre/bfgminer-libre/PKGBUILD | 41 ++++++++++ libre/bfgminer-libre/change-kernel-path.patch | 98 +++++++++++++++++++++++ libre/bfgminer-libre/remove-dangerous-rpath.patch | 11 +++ 3 files changed, 150 insertions(+) create mode 100644 libre/bfgminer-libre/PKGBUILD create mode 100644 libre/bfgminer-libre/change-kernel-path.patch create mode 100644 libre/bfgminer-libre/remove-dangerous-rpath.patch diff --git a/libre/bfgminer-libre/PKGBUILD b/libre/bfgminer-libre/PKGBUILD new file mode 100644 index 000000000..6c6e19ef4 --- /dev/null +++ b/libre/bfgminer-libre/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Timothy Redaelli +# Contributor: Andy Weidenbaum + +_pkgname=bfgminer +pkgname=bfgminer-libre +pkgver=3.0.0 +pkgrel=1 +pkgdesc="Bitcoin miner featuring overclocking, monitoring, fan speed control and remote management. For FPGA/GPU/CPU Bitcoin mining, without nonfree OpenCL recommendation." +arch=('i686' 'x86_64' 'mips64el') +depends=('curl' 'jansson') +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +url='https://bitcointalk.org/index.php?topic=168174.0' +license=('GPL3') +options=(!libtool) +source=(http://luke.dashjr.org/programs/bitcoin/files/$_pkgname/$pkgver/$_pkgname-$pkgver.tbz2 + change-kernel-path.patch + remove-dangerous-rpath.patch) +sha256sums=('86f7f977ed57b8d61c728f88a3e5962aa1df0723d667c45b1e1bfa5152292400' + 'a551f73a430809a9b13bb535a503d24f8fd6d35a07bc579b5616d270a1bbf369' + '2c6d09a5e567f5099c9b117415013bf28e7b7aa75c436515d28bc7640f905db2') + +[[ "$CARCH" == "x86_64" ]] && makedepends+=('yasm') + +build() { + cd "$srcdir"/$_pkgname-$pkgver + + patch -p0 < "${srcdir}"/change-kernel-path.patch + patch -p0 < "${srcdir}"/remove-dangerous-rpath.patch + autoreconf -fi + ./configure --prefix=/usr --enable-cpumining --enable-scrypt + make +} + +package() { + cd "$srcdir"/$_pkgname-$pkgver + + make DESTDIR="$pkgdir" install +} diff --git a/libre/bfgminer-libre/change-kernel-path.patch b/libre/bfgminer-libre/change-kernel-path.patch new file mode 100644 index 000000000..9dd124ab4 --- /dev/null +++ b/libre/bfgminer-libre/change-kernel-path.patch @@ -0,0 +1,98 @@ +--- /dev/null ++++ m4/as-ac-expand.m4 +@@ -0,0 +1,49 @@ ++dnl as-ac-expand.m4 0.2.1 ++dnl autostars m4 macro for expanding directories using configure's prefix ++dnl thomas@apestaart.org ++ ++dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR) ++dnl example ++dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir) ++dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local ++dnl Note: when using $prefix or $exec_prefix, avoid it expanding to NONE ++dnl by calling it like this: ++dnl AS_AC_EXPAND(PYTHONLIBDIR, "\${exec_prefix}/lib/python$PYVER/site-packages") ++ ++AC_DEFUN([AS_AC_EXPAND], ++[ ++ EXP_VAR=[$1] ++ FROM_VAR=[$2] ++ ++ dnl echo DEBUG: expand FROM_VAR $FROM_VAR ++ ++ dnl first expand prefix and exec_prefix if necessary ++ prefix_save=$prefix ++ exec_prefix_save=$exec_prefix ++ ++ dnl if no prefix given, then use /usr/local, the default prefix ++ if test "x$prefix" = "xNONE"; then ++ prefix="$ac_default_prefix" ++ fi ++ dnl if no exec_prefix given, then use prefix ++ if test "x$exec_prefix" = "xNONE"; then ++ exec_prefix=$prefix ++ fi ++ ++ full_var="$FROM_VAR" ++ dnl loop until it doesn't change anymore ++ while true; do ++ dnl echo DEBUG: full_var: $full_var ++ new_full_var="`eval echo $full_var`" ++ if test "x$new_full_var" = "x$full_var"; then break; fi ++ full_var=$new_full_var ++ done ++ ++ dnl clean up ++ full_var=$new_full_var ++ AC_SUBST([$1], "$full_var") ++ ++ dnl restore prefix and exec_prefix ++ prefix=$prefix_save ++ exec_prefix=$exec_prefix_save ++]) +--- configure.ac.orig ++++ configure.ac +@@ -655,7 +655,8 @@ + prefix=/usr/local + fi + +-AC_DEFINE_UNQUOTED([CGMINER_PREFIX], ["$prefix/bin"], [Path to bfgminer install]) ++AS_AC_EXPAND(DATAROOTDIR, $datarootdir) ++AC_DEFINE_UNQUOTED([CGMINER_PREFIX], ["$DATAROOTDIR/bfgminer"], [Path to bfgminer install]) + + AC_DEFINE_UNQUOTED([PHATK_KERNNAME], ["phatk121016"], [Filename for phatk kernel]) + AC_DEFINE_UNQUOTED([POCLBM_KERNNAME], ["poclbm121016"], [Filename for poclbm kernel]) +--- Makefile.am.orig ++++ Makefile.am +@@ -13,7 +13,7 @@ + + bin_PROGRAMS = bfgminer + +-bin_SCRIPTS = *.cl ++pkgdata_SCRIPTS = *.cl + + bfgminer_LDFLAGS = $(PTHREAD_FLAGS) + bfgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \ +@@ -117,19 +117,19 @@ + + if HAS_MODMINER + bfgminer_SOURCES += driver-modminer.c +-bitstreamsdir = $(bindir)/bitstreams ++bitstreamsdir = $(pkgdatadir)/bitstreams + dist_bitstreams_DATA = bitstreams/* + endif + + if HAS_X6500 + bfgminer_SOURCES += driver-x6500.c ft232r.c ft232r.h jtag.c jtag.h +-bitstreamsdir = $(bindir)/bitstreams ++bitstreamsdir = $(pkgdatadir)/bitstreams + dist_bitstreams_DATA = bitstreams/* + endif + + if HAS_ZTEX + bfgminer_SOURCES += driver-ztex.c libztex.c libztex.h +-bitstreamsdir = $(bindir)/bitstreams ++bitstreamsdir = $(pkgdatadir)/bitstreams + dist_bitstreams_DATA = bitstreams/* + endif + diff --git a/libre/bfgminer-libre/remove-dangerous-rpath.patch b/libre/bfgminer-libre/remove-dangerous-rpath.patch new file mode 100644 index 000000000..a2bcfc87b --- /dev/null +++ b/libre/bfgminer-libre/remove-dangerous-rpath.patch @@ -0,0 +1,11 @@ +--- Makefile.am.orig ++++ Makefile.am +@@ -38,7 +38,7 @@ + if NEED_LIBBLKMAKER + SUBDIRS += libblkmaker + bfgminer_CPPFLAGS += -Ilibblkmaker +-bfgminer_LDFLAGS += -Llibblkmaker/.libs -Wl,-rpath,libblkmaker/.libs ++bfgminer_LDFLAGS += -Llibblkmaker/.libs + bfgminer_LDADD += -lblkmaker_jansson-0.1 -lblkmaker-0.1 + + if HAVE_CYGWIN -- cgit v1.2.3-54-g00ecf From 074188b67513e64dc9f4f9c86331d47c13e075ab Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 12 Apr 2013 00:06:22 -0300 Subject: iceweasel-libre-20.0.1.1-1: new PKGBUILD under testing --- ...Make-the-Reset-Firefox-feature-more-gener.patch | 281 ++++++++++++ libre-testing/iceweasel-libre/PKGBUILD | 496 +++++++-------------- .../iceweasel-libre/iceweasel-install-dir.patch | 12 +- libre-testing/iceweasel-libre/iceweasel.desktop | 173 ++++--- libre-testing/iceweasel-libre/iceweasel.install | 13 + libre-testing/iceweasel-libre/libre.patch | 34 +- libre-testing/iceweasel-libre/mozconfig | 50 +-- libre-testing/iceweasel-libre/mozconfig.pgo | 1 + 8 files changed, 571 insertions(+), 489 deletions(-) create mode 100644 libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch create mode 100644 libre-testing/iceweasel-libre/iceweasel.install diff --git a/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch b/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch new file mode 100644 index 000000000..4ca4fc704 --- /dev/null +++ b/libre-testing/iceweasel-libre/Bug-756390-Make-the-Reset-Firefox-feature-more-gener.patch @@ -0,0 +1,281 @@ +From: Mike Hommey +Date: Tue, 5 Jun 2012 08:57:06 +0200 +Subject: Bug 756390 - Make the "Reset Firefox" feature more generic + +diff --git a/browser/components/migration/content/migration.js b/browser/components/migration/content/migration.js +index 0e8ccf5..fa46c08 100644 +--- a/browser/components/migration/content/migration.js ++++ b/browser/components/migration/content/migration.js +@@ -249,7 +249,7 @@ var MigrationWizard = { + } + + var brandBundle = document.getElementById("brandBundle"); +- // These strings don't exist when not using official branding. If that's ++ // These strings may not exist when not using official branding. If that's + // the case, just skip this page. + try { + var pageTitle = brandBundle.getString("homePageMigrationPageTitle"); +@@ -281,8 +281,8 @@ var MigrationWizard = { + case "chrome": + source = "sourceNameChrome"; + break; +- case "firefox": +- source = "sourceNameFirefox"; ++ case "self": ++ source = "brand"; + break; + } + +@@ -292,7 +292,12 @@ var MigrationWizard = { + var oldHomePageURL = this._migrator.sourceHomePageURL; + + if (oldHomePageURL && source) { +- var appName = MigrationUtils.getLocalizedString(source); ++ var appName; ++ if (source == "brand") { ++ appName = brandBundle.GetStringFromName("brandFullName"); ++ } else { ++ appName = MigrationUtils.getLocalizedString(source); ++ } + var oldHomePageLabel = + brandBundle.getFormattedString("homePageImport", [appName]); + var oldHomePage = document.getElementById("oldHomePage"); +diff --git a/browser/components/migration/content/migration.xul b/browser/components/migration/content/migration.xul +index f030756..23e37ff 100644 +--- a/browser/components/migration/content/migration.xul ++++ b/browser/components/migration/content/migration.xul +@@ -42,7 +42,7 @@ + #elifdef XP_UNIX + + #endif +- ++