diff options
93 files changed, 513 insertions, 2572 deletions
diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index d10d3b141..d5030ee63 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -1,34 +1,34 @@ -# $Id: PKGBUILD 93170 2013-06-27 01:34:18Z foutrelis $ +# $Id: PKGBUILD 96436 2013-08-28 21:03:26Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: dionydonny <dionydonny@gmail.com> # Contributor: Ermanno <erm67@yahoo.it> pkgname=chmsee -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license=('GPL') -depends=('xulrunner>18.0' 'xulrunner<23.0' 'chmlib' 'desktop-file-utils') +depends=('xulrunner>21.0' 'xulrunner<24.0' 'chmlib' 'desktop-file-utils') makedepends=('python2') #source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver #source=(https://github.com/jungleji/chmsee/archive/b2a3c2ad32bfe9db067665ea1928d7e130d1b5e7.zip source=(https://chmsee.googlecode.com/files/${pkgname}-${pkgver}.tar.gz chmsee) install=chmsee.install -md5sums=('08f813d65ed2a9e3af8ff1092650d0a5' +md5sums=('c6a6ce009395c72ecf0530500ecda37c' '1787edd1de8aa75bd9fa75a5ab319e85') build() { cd ${srcdir}/chmsee-*/src cp Makefile.arch Makefile - sed -i -e 's/17.*/18.0/g' ../application.ini - sed -i -e 's/21.*/22.*/g' ../application.ini + #sed -i -e 's/17.*/18.0/g' ../application.ini + #sed -i -e 's/21.*/22.*/g' ../application.ini # xpcom has been merged into xul in xulrunner 22.0 - sed -i -e 's/-lxpcom/-lxul/' common.mk + # sed -i -e 's/-lxpcom/-lxul/' common.mk make -j1 } diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD index c0f88548b..6360d114b 100644 --- a/community/devil/PKGBUILD +++ b/community/devil/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 90014 2013-05-06 19:36:37Z foutrelis $ +# $Id: PKGBUILD 96404 2013-08-28 00:08:35Z eric $ # Maintainer: Laurent Carlier <lordheavym@gmail.org> # Contributor: damir <damir@archlinux.org> # Contributor: TheHoff <forums> pkgname=devil pkgver=1.7.8 -pkgrel=16 +pkgrel=17 pkgdesc="Library for reading several different image formats" arch=('i686' 'x86_64') url="http://openil.sourceforge.net/" diff --git a/community/dspam/PKGBUILD b/community/dspam/PKGBUILD index 7bdba6e41..c2d05d2df 100644 --- a/community/dspam/PKGBUILD +++ b/community/dspam/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 90661 2013-05-13 14:22:46Z spupykin $ +# $Id: PKGBUILD 96419 2013-08-28 10:29:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=dspam pkgver=3.10.2 -pkgrel=5 +pkgrel=6 pkgdesc="A scalable, open-source statistical anti-spam filter" arch=('i686' 'x86_64') url="http://dspam.nuclearelephant.com/" @@ -39,7 +39,7 @@ build() { --enable-split-configuration --enable-syslog --enable-clamav \ --with-dspam-home=/var/lib/dspam --with-logdir=/var/log/dspam --with-logfile=/var/log/dspam/dspam.log \ --with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib \ - --with-storage-driver="mysql_drv,libdb4_drv,pgsql_drv,sqlite3_drv,hash_drv" --enable-preferences-extension" + --with-storage-driver="hash_drv,mysql_drv,libdb4_drv,pgsql_drv,sqlite3_drv" --enable-preferences-extension" cd $srcdir/$pkgname-$pkgver [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc/dspam --localstatedir=/var ${OPTS} @@ -65,7 +65,7 @@ package() { -e 's:^#*\(ServerPID[\t ]\{1,\}\).*:\1/run/dspam/dspam.pid:gI' \ -i $pkgdir/etc/dspam/dspam.conf - sed -i 's|/var/lib/mysql/mysql.sock|/tmp/mysql.sock|' $pkgdir/etc/dspam/dspam.conf + sed -i 's|/var/lib/mysql/mysql.sock|/run/mysqld/mysqld.sock|' $pkgdir/etc/dspam/dspam.conf cp -r src/tools.mysql_drv/*.sql $pkgdir/usr/share/dspam/mysql cp -r src/tools.pgsql_drv/*.sql $pkgdir/usr/share/dspam/pgsql diff --git a/community/dspam/dspam.install b/community/dspam/dspam.install index 4eac46ede..aaa3c91d5 100644 --- a/community/dspam/dspam.install +++ b/community/dspam/dspam.install @@ -5,8 +5,9 @@ post_install() { useradd -c "DSPAM Daemon" -u 115 -d /var/lib/dspam -g dspam -s /bin/false dspam \ && echo "done." passwd -l dspam &>/dev/null - chown root:dspam usr/bin/dspamc - chmod g+s usr/bin/dspamc + chown root:dspam usr/bin/dspam{,c} + chmod g+rs usr/bin/dspam{,c} + systemd-tmpfiles --create dspam.conf cat << EOF >>> To populate the DSPAM database, you need to follow several steps. @@ -23,15 +24,16 @@ cat << EOF >>> Enter the password you set in the previous step, and the database should be populated. >>> Remember to edit /etc/dspam/dspam.conf accordenly ->>> If you want to use the postgresql, sqlite3 or Berekely DB4 backends, +>>> If you want to use the postgresql, sqlite3 or Berekely DB4 backends, >>> read the documentation >>> EOF } post_upgrade() { - chown root:dspam usr/bin/dspamc + chown root:dspam usr/bin/dspam{,c} chmod g+s usr/bin/dspamc + systemd-tmpfiles --create dspam.conf } post_remove() { diff --git a/community/fb-client/PKGBUILD b/community/fb-client/PKGBUILD index 193da2218..904e07b93 100644 --- a/community/fb-client/PKGBUILD +++ b/community/fb-client/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Florian "Bluewind" Pritz <flo@xssn.at> pkgname=fb-client -pkgver=1.2 +pkgver=1.2.1 pkgrel=1 pkgdesc="Client for paste.xinu.at" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ license=('GPL3') depends=('curl') optdepends=('xclip: for automatically copying the URL into the clipboard') source=(http://paste.xinu.at/data/client/fb-$pkgver.tar.gz{,.sig}) -md5sums=('2033c547bd44a27d464fa61065f29a77' +md5sums=('23b7324844e641432bbfa72cbe101053' 'SKIP') build() { diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 3e60e52d5..f43d56671 100644 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 91897 2013-05-29 00:39:11Z seblu $ +# $Id: PKGBUILD 96423 2013-08-28 15:04:05Z seblu $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin # Contributor: Thomas Bächler @@ -7,13 +7,17 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=7 +pkgrel=8 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' license=('GPL') depends=('pam' 'run-parts') -makedepends=('smtp-forwarder' 'vi') +makedepends=('smtp-forwarder' 'vi' 'fcron') +# use fcron as recursive deps to have user fcron installed during installation +# else add the following in build chroot +# groupadd -g 23 fcron +# useradd -r -d /var/spool/fcron -u 23 -g 23 fcron optdepends=('smtp-forwarder: to send mails from cron jobs' 'vi: default editor for fcrontab') provides=('cron') @@ -30,13 +34,14 @@ md5sums=('36bf213e15f3a480f2274f8e46cced0a' build() { cd $pkgname-$pkgver + # Don't use --username=root and --groupname=root, this completly break + # fcron security and allow local root escalation. + # Thanks to Anh K. Huynh <kyanh@theslinux.org> for reporting it. ./configure --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc/fcron \ --with-answer-all=no \ --with-boot-install=no \ - --with-username=root \ - --with-groupname=root \ --datarootdir=/usr/share \ --datadir=/usr/share \ --with-docdir=/usr/share/doc \ @@ -44,22 +49,20 @@ build() { --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-piddir=/run \ --with-editor=/usr/bin/vi \ - --with-sendmail=/usr/sbin/sendmail + --with-sendmail=/usr/bin/sendmail make } package() { cd $pkgname-$pkgver - make DESTDIR="$pkgdir/" install - install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcron.pam" "$pkgdir/etc/pam.d/fcron" - - install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcrontab.pam" "$pkgdir/etc/pam.d/fcrontab" + install -Dm644 files/fcron.pam "$pkgdir/etc/pam.d/fcron" + install -Dm644 files/fcrontab.pam "$pkgdir/etc/pam.d/fcrontab" # Install a default fcrontab so that fcron can completely replace dcron # We doesn't use binary format which is incompatible between arch and may cause crash # We regenerate the binary format at each update - install -D -m640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig" + install -Dm640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig" # Add cron.* directories install -d -m755 "$pkgdir/etc/cron.daily" diff --git a/community/fcron/fcron.install b/community/fcron/fcron.install index f7b0abddf..eda215a44 100644 --- a/community/fcron/fcron.install +++ b/community/fcron/fcron.install @@ -1,5 +1,8 @@ # arg 1: the new package version post_install() { + # we need a dedicated fcron user + getent group fcron >/dev/null || groupadd -g 23 fcron + getent passwd fcron >/dev/null || useradd -r -d /var/spool/fcron -u 23 -g 23 fcron # Generate binary format which is incompatible between arch fcrontab -z -u systab &>/dev/null } @@ -8,6 +11,34 @@ post_install() { # arg 2: the old package version post_upgrade() { post_install "$1" + if (( $(vercmp $2 3.1.2-8) < 0 )); then + echo 'Previous versions of fcron allow root priviledge escalation by using' + echo 'runas option in crontabs. fcron check rights at crontab compilation.' + echo 'Thus, the migration script will recreate the binary crontabs' + echo 'for you (with all side effects) and fix the files rights.' + # fix invalid etc files + for _f in /etc/fcron/fcron.{conf,allow,deny}; do + [[ -e $_f ]] || continue + chown root:fcron "$_f" + chmod 640 "$_f" + done + # fix invalid spool directory + chown fcron:fcron /var/spool/fcron + chmod 770 /var/spool/fcron + # regen user fcron files + cd /var/spool/fcron + for _f in *; do + if [[ "${_f%.orig}" != "$_f" ]]; then + chgrp fcron "$_f" + fcrontab -z -u "${_f%.orig}" &>/dev/null + fi + done + fi +} + +post_remove() { + userdel fcron &>/dev/null + groupdel fcron &>/dev/null } # vim:set ts=2 sw=2 et: diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD index 8a1c56714..d2c0bc5fd 100644 --- a/community/iasl/PKGBUILD +++ b/community/iasl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 91015 2013-05-17 22:04:55Z lcarlier $ +# $Id: PKGBUILD 96438 2013-08-28 21:10:55Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com> pkgname=iasl -pkgver=20130517 +pkgver=20130823 pkgrel=1 pkgdesc="Intel ACPI Source Language compiler" arch=('i686' 'x86_64') @@ -16,13 +16,13 @@ options=('!makeflags') #install=iasl.install source=(http://acpica.org/sites/acpica/files/acpica-unix-${pkgver}.tar.gz LICENSE) -md5sums=('99fa19c67c8fa95f90cb7ec0f29d6242' +md5sums=('7846a62551352d7dae6f93f8255e9d99' '8615526144f69ea4e870d9bc37df9b29') build() { cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix - sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config + #sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config if [[ $CARCH == i686 ]]; then make BITS=32 @@ -38,5 +38,5 @@ package() { install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('7846a62551352d7dae6f93f8255e9d99' +md5sums=('cc7528ecd185ff779c6b58bfede091b2' '8615526144f69ea4e870d9bc37df9b29') diff --git a/community/jnettop/PKGBUILD b/community/jnettop/PKGBUILD new file mode 100644 index 000000000..2c006554d --- /dev/null +++ b/community/jnettop/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 96415 2013-08-28 09:24:47Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com +# Contributor: Paul Bredbury <brebs@sent.com> + +pkgname=jnettop +pkgver=0.13.0 +pkgrel=4 +pkgdesc="A top-like console network traffic visualizer" +arch=(i686 x86_64) +url="http://jnettop.kubs.info/wiki/" +license=('GPL') +depends=('libpcap' 'glib2') +makedepends=('pkgconfig') +source=("http://jnettop.kubs.info/dist/$pkgname-$pkgver.tar.gz") +md5sums=('9529d75011026b3fcaf185b2fb063881') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD index 8e04eb820..766d5f445 100644 --- a/community/nemo/PKGBUILD +++ b/community/nemo/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 95581 2013-08-14 15:07:17Z bgyorgy $ +# $Id: PKGBUILD 96434 2013-08-28 19:54:26Z faidoc $ # Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com> # Contributor: Ner0 pkgname=nemo -pkgver=1.8.4 -pkgrel=3 +pkgver=1.8.5 +pkgrel=1 pkgdesc="Cinnamon file manager (Nautilus fork)" arch=('i686' 'x86_64') url="https://github.com/linuxmint/nemo" @@ -18,7 +18,7 @@ install=nemo.install source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver" "tracker-0.16.patch" "remove-desktop-background.patch") -sha256sums=('c8805302144c1aba72707eed22501cdd4f008a4c4090dea94fde5c05cd6c25f6' +sha256sums=('ba43794293c66ebc31a9c4145d6e7a8326321a4f0e58b28fe4f3d56a8fe39874' '2b86f486add84e3affb0b14eb84425443e7cf5e593738d10d02e9c2ac0f17626' '0bd07fd931ad701442358cdcbd26e0c5d57717ffadfd39a1cba137e36def1aa5') diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD index 948bf38d6..0e877cc4a 100644 --- a/community/netsurf/PKGBUILD +++ b/community/netsurf/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 95677 2013-08-15 12:59:27Z arodseth $ +# $Id: PKGBUILD 96406 2013-08-28 00:08:38Z eric $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Georgij Kondratjev <smpuj@bk.ru> @@ -6,13 +6,13 @@ pkgname=netsurf pkgver=3.0 -pkgrel=3 +pkgrel=4 pkgdesc='Lightweight and fast web browser' arch=('x86_64' 'i686') url='http://www.netsurf-browser.org/' license=('MIT' 'GPL2') -depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom') # 'libharu' 'gstreamer0.10' -makedepends=('js' 're2c' 'lcms' 'gendesk' 'netsurf-buildsystem' 'libglade') +depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom' 'lcms') # 'libharu' 'gstreamer0.10' +makedepends=('js' 're2c' 'gendesk' 'netsurf-buildsystem' 'libglade' 'addinclude') install="$pkgname.install" source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png" "http://download.$pkgname-browser.org/$pkgname/releases/source/$pkgname-$pkgver-src.tar.gz") @@ -22,6 +22,10 @@ sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00' prepare() { cd "$pkgname-$pkgver" + addinclude image/rsvg.c stdio + addinclude image/mng.c stdio + addinclude image/png.c stdio + gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \ --genericname 'Web Browser' --comment 'Lightweight web browser' \ --mimetypes 'text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo' @@ -40,7 +44,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" make install PREFIX=/usr DESTDIR="$pkgdir" install -Dm644 "../$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" diff --git a/community/netsurf/netsurf.install b/community/netsurf/netsurf.install index ef816a666..98f3ea190 100644 --- a/community/netsurf/netsurf.install +++ b/community/netsurf/netsurf.install @@ -1,5 +1,5 @@ post_upgrade() { - gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor + #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor update-desktop-database -q } diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD index c84b466c1..6f4bf9e35 100644 --- a/community/shotwell/PKGBUILD +++ b/community/shotwell/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92942 2013-06-19 21:09:47Z bpiotrowski $ +# $Id: PKGBUILD 96421 2013-08-28 11:35:15Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com> pkgname=shotwell pkgver=0.14.1 -pkgrel=4 +pkgrel=5 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" arch=('i686' 'x86_64') url="http://yorba.org/shotwell/" @@ -17,15 +17,18 @@ makedepends=('intltool' 'vala>=0.17.2' 'libunique3') install=shotwell.install source=("http://yorba.org/download/shotwell/stable/shotwell-$pkgver.tar.xz" "no-libexec.patch" - "libraw-0.15.2.patch") + "libraw-0.15.2.patch" + "FS35899.patch::http://redmine.yorba.org/projects/shotwell/repository/revisions/4f635ba4236dbbb8cb3f8b7bdd201432961fb283/diff/src/AppDirs.vala?format=diff") md5sums=('bb5783f9265e1ce2d4c9f354987c3ab1' 'b4124e022c98b4382530e6fbcef965e2' - '3ad21364f82229122f48452f5c74dfde') + '3ad21364f82229122f48452f5c74dfde' + '9f9690f4b860f52ffd44f8ab6d4fd3b5') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 <$srcdir/no-libexec.patch patch -Rp1 <$srcdir/libraw-0.15.2.patch + patch -p1 <$srcdir/FS35899.patch } build() { diff --git a/community/synfig/PKGBUILD b/community/synfig/PKGBUILD index c0dc241ab..14d2e39dc 100644 --- a/community/synfig/PKGBUILD +++ b/community/synfig/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 94909 2013-08-01 06:55:42Z bpiotrowski $ +# $Id: PKGBUILD 96407 2013-08-28 00:08:39Z eric $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Franco Iacomella <yaco@gnu.org> pkgname=synfig pkgver=0.64.0 -pkgrel=5 +pkgrel=7 pkgdesc="Professional vector animation program (CLI renderer only)" arch=(i686 x86_64) url="http://synfig.org" diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD index e8642e15b..c6f692ac4 100644 --- a/core/bash/PKGBUILD +++ b/core/bash/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 187018 2013-06-03 11:14:54Z allan $ +# $Id: PKGBUILD 193699 2013-08-28 09:22:56Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> @@ -6,7 +6,7 @@ pkgname=bash _basever=4.2 _patchlevel=045 #prepare for some patches pkgver=$_basever.$_patchlevel -pkgrel=4 +pkgrel=5 pkgdesc="The GNU Bourne Again shell" arch=('i686' 'x86_64') license=('GPL') @@ -21,7 +21,8 @@ source=(http://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig} dot.bash_profile dot.bash_logout system.bashrc - system.bash_logout) + system.bash_logout + bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch) if [ $_patchlevel -gt 000 ]; then for (( p=1; p<=$((10#${_patchlevel})); p++ )); do source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//./}-$(printf "%03d" $p){,.sig}) @@ -33,8 +34,10 @@ prepare() { for (( p=1; p<=$((10#${_patchlevel})); p++ )); do msg "applying patch bash${_basever//./}-$(printf "%03d" $p)" - patch -Np0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p) + patch -p0 -i $srcdir/bash${_basever//./}-$(printf "%03d" $p) done + + patch -p1 -i $srcdir/bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch } build() { @@ -81,6 +84,7 @@ md5sums=('3fb927c7c33022f1c327f14a81c0d4b0' '42f4400ed2314bd7519c020d0187edc5' '3546099a1b2f667adc9794f52e78e35b' '472f536d7c9e8250dc4568ec4cfaf294' + '9e55d01f2d9dda4a0c96031b25d19f45' '1100bc1dda2cdc06ac44d7e5d17864a3' 'SKIP' '30e7948079921d3261efcc6a40722135' diff --git a/core/bash/bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch b/core/bash/bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch new file mode 100644 index 000000000..c621f0af8 --- /dev/null +++ b/core/bash/bash-4.2-do-not-use-memcpy-on-overlapping-memory.patch @@ -0,0 +1,12 @@ +diff -Naur bash-4.2-orig/general.c bash-4.2/general.c +--- bash-4.2-orig/general.c 2010-12-13 06:06:27.000000000 +1000 ++++ bash-4.2/general.c 2013-08-25 21:52:36.681484302 +1000 +@@ -766,7 +766,7 @@ + *nbeg++ = '.'; + + nlen = nend - ntail; +- memcpy (nbeg, ntail, nlen); ++ memmove (nbeg, ntail, nlen); + nbeg[nlen] = '\0'; + + return name; diff --git a/core/groff/PKGBUILD b/core/groff/PKGBUILD index 005d95ca5..58a66327f 100644 --- a/core/groff/PKGBUILD +++ b/core/groff/PKGBUILD @@ -1,9 +1,11 @@ -# $Id: PKGBUILD 185682 2013-05-17 08:28:58Z tpowa $ +# $Id: PKGBUILD 193702 2013-08-28 15:19:04Z andyrtr $ # Maintainer: +### rebuild on every ghostscript update - FS#36562 ### + pkgname=groff pkgver=1.22.2 -pkgrel=3 +pkgrel=5 pkgdesc="GNU troff text-formatting system" arch=('i686' 'x86_64') url="http://www.gnu.org/software/groff/groff.html" diff --git a/extra/cairo/PKGBUILD b/extra/cairo/PKGBUILD index 94b113a82..ea88e9d60 100644 --- a/extra/cairo/PKGBUILD +++ b/extra/cairo/PKGBUILD @@ -1,32 +1,28 @@ -# $Id: PKGBUILD 184362 2013-05-06 19:36:38Z foutrelis $ +# $Id: PKGBUILD 193704 2013-08-28 15:19:08Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Brice Carpentier <brice@daknet.org> pkgname=cairo -pkgver=1.12.14 -pkgrel=4 +pkgver=1.12.16 +pkgrel=1 pkgdesc="Cairo vector graphics library" arch=(i686 x86_64) license=('LGPL' 'MPL') url="http://cairographics.org/" -# depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa>=9.1' 'libgl' 'sh') -makedepends=('mesa>=9.1' 'mesa-libgl>=9.1' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind' +depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa' 'libgl' 'sh' 'lzo2') +makedepends=('mesa-libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind' # for the test suite: 'ttf-dejavu' 'gsfonts' 'xorg-server-xvfb' ) # 'libdrm') #optdepends=('xcb-util: for XCB backend') # really needed? provides=('cairo-xcb') replaces=('cairo-xcb') options=('!libtool') -source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.xz - libpng16.patch) -sha1sums=('9106ab09b2e7b9f90521b18dd4a7e9577eba6c15' - 'c9911f185637d266ce1d2985bd6fb7d0df3d75b2') +source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.xz) +sha1sums=('4f6e337d5d3edd7ea79d1426f575331552b003ec') build() { cd $pkgname-$pkgver - patch -Np1 -i ../libpng16.patch - ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -47,15 +43,18 @@ build() { make } -#check() { -# cd "$srcdir/$pkgname-$pkgver" - #make -k check || /bin/true # 162 Passed, 328 Failed [8 crashed, 10 expected], 26 Skipped -# make test || /bin/true # 29 Passed, 464 Failed [460 crashed, 2 expected], 26 Skipped -#} +check() { + cd $pkgname-$pkgver + make -k test || /bin/true + + # results: + # 1.12.8-1 # 162 Passed, 328 Failed [8 crashed, 10 expected], 26 Skipped + # 1.12.12-2: # 29 Passed, 464 Failed [460 crashed, 2 expected], 26 Skipped + # 1.12.16-1: 144 Passed, 364 Failed [6 crashed, 12 expected], 27 Skipped -package() { - depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa>=9.1' 'libgl' 'sh' 'lzo2') +} +package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } diff --git a/extra/cairo/libpng16.patch b/extra/cairo/libpng16.patch deleted file mode 100644 index c16317811..000000000 --- a/extra/cairo/libpng16.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 2dd2c826a5b367d32cf2d48ed69754795990c5db Mon Sep 17 00:00:00 2001 -From: Chris Wilson <chris@chris-wilson.co.uk> -Date: Tue, 16 Apr 2013 09:58:56 +0000 -Subject: png: Avoid marking the surface as in error after a png warning - -It turns out that libpng will continue to load an image after throwing a -warning, and that libpng16 now throws warnings for images that libpng15 -and earlier loaded without error. As we were happily loading those -images into cairo surfaces before, we are therefore being overzealous -in throwing an error now - so just squelch the warning. - -Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> ---- -diff --git a/src/cairo-png.c b/src/cairo-png.c -index e74a4a8..068617d 100644 ---- a/src/cairo-png.c -+++ b/src/cairo-png.c -@@ -149,13 +149,13 @@ static void - png_simple_warning_callback (png_structp png, - png_const_charp error_msg) - { -- cairo_status_t *error = png_get_error_ptr (png); -- -- /* default to the most likely error */ -- if (*error == CAIRO_STATUS_SUCCESS) -- *error = _cairo_error (CAIRO_STATUS_NO_MEMORY); -- -- /* png does not expect to abort and will try to tidy up after a warning */ -+ /* png does not expect to abort and will try to tidy up and continue -+ * loading the image after a warning. So we also want to return the -+ * (incorrect?) surface. -+ * -+ * We use our own warning callback to squelch any attempts by libpng -+ * to write to stderr as we may not be in control of that output. -+ */ - } - - --- -cgit v0.9.0.2-2-gbebe diff --git a/extra/gimp/PKGBUILD b/extra/gimp/PKGBUILD index c35a97223..31ca4a7c8 100644 --- a/extra/gimp/PKGBUILD +++ b/extra/gimp/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 188883 2013-06-23 21:29:32Z daniel $ +# $Id: PKGBUILD 193684 2013-08-28 00:06:02Z eric $ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=gimp pkgver=2.8.6 -pkgrel=1 +pkgrel=2 pkgdesc="GNU Image Manipulation Program" arch=('i686' 'x86_64') url="http://www.gimp.org/" diff --git a/extra/gnumeric/PKGBUILD b/extra/gnumeric/PKGBUILD index 92ab12ad1..70c8ab6c2 100644 --- a/extra/gnumeric/PKGBUILD +++ b/extra/gnumeric/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 193620 2013-08-26 07:59:33Z jgc $ +# $Id: PKGBUILD 193698 2013-08-28 08:52:31Z jgc $ # Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: Kritoke <typeolinux@yahoo.com> pkgname=gnumeric -pkgver=1.12.5 +pkgver=1.12.6 pkgrel=1 pkgdesc="A GNOME Spreadsheet Program" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ install=gnumeric.install options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz revert-warnings.patch) -sha256sums=('7ff36dff134157ce6919c4cebc1a419192e529b00e42c52d9cebbd15e8dd5871' +sha256sums=('73cce1979eac10bd248a46d0a702eeba57673c3e9a990356d246e687d0c7ce25' 'bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53') prepare() { diff --git a/extra/goffice/PKGBUILD b/extra/goffice/PKGBUILD index 06edd5313..188b9d663 100644 --- a/extra/goffice/PKGBUILD +++ b/extra/goffice/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 193438 2013-08-20 07:25:28Z jgc $ +# $Id: PKGBUILD 193696 2013-08-28 08:37:59Z jgc $ # Maintainer: Aaron Griffin <aaron@archlinux.org> pkgname=goffice -pkgver=0.10.5 +pkgver=0.10.6 pkgrel=1 pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ options=('!libtool') makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection') depends=('librsvg' 'gtk3' 'libgsf' 'libspectre') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('63a7a7dd55fbe91991a66dbc78ab27d2ac55bd722d42d4dd3087e3ae33832570') +sha256sums=('a72e65018c0670ed2c52d00361ea874625575cdde7cf091e89914cfd8128cf07') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/libmng/PKGBUILD b/extra/libmng/PKGBUILD index c95d7ca3d..87f3b2438 100644 --- a/extra/libmng/PKGBUILD +++ b/extra/libmng/PKGBUILD @@ -1,30 +1,34 @@ -# $Id: PKGBUILD 178306 2013-02-19 21:06:05Z eric $ +# $Id: PKGBUILD 193685 2013-08-28 00:06:03Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=libmng -pkgver=1.0.10 -pkgrel=4 +pkgver=2.0.2 +pkgrel=2 pkgdesc="A collection of routines used to create and manipulate MNG format graphics files" arch=('i686' 'x86_64') url="http://www.libmng.com/" license=('custom') -depends=('zlib' 'libjpeg') +depends=('lcms2') options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('eaf1476a3bb29f6190bca660e6abef16') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc} + libmng-stdio.patch) +sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69' + 'SKIP' + '2f8b472d53791ba3a44dab9b18fb215e8b19dd77') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p5 -i "${srcdir}/libmng-stdio.patch" +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's/AM_C_PROTOTYPES//' makefiles/configure.in - ln -s makefiles/configure.in . - ln -s makefiles/Makefile.am . - autoreconf --force --install + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/libmng/libmng-stdio.patch b/extra/libmng/libmng-stdio.patch new file mode 100644 index 000000000..42414f152 --- /dev/null +++ b/extra/libmng/libmng-stdio.patch @@ -0,0 +1,10 @@ +--- /mnt/chrootstaging32/usr/include/libmng_types.h 2013-08-15 16:26:03.000000000 -0400 ++++ /mnt/chrootstaging64/usr/include/libmng_types.h 2013-08-16 19:53:39.165878412 -0400 +@@ -204,6 +204,7 @@ + #define HAVE_BOOLEAN + typedef int boolean; + #endif ++#include <stdio.h> + #include <jpeglib.h> + #endif /* MNG_INCLUDE_IJG6B */ + diff --git a/extra/llvm-amdgpu-snapshot/PKGBUILD b/extra/llvm-amdgpu-snapshot/PKGBUILD deleted file mode 100644 index cdac9521c..000000000 --- a/extra/llvm-amdgpu-snapshot/PKGBUILD +++ /dev/null @@ -1,88 +0,0 @@ -# $Id: PKGBUILD 186322 2013-05-24 18:14:34Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> -# Maintainer: Laurent Carlier <lordheavym@gmail.com> -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Roberto Alsina <ralsina@kde.org> -# Contributor: Tomas Lindquist Olsen <tomas@famolsen.dk> -# Contributor: Anders Bergh <anders@archlinuxppc.org> -# Contributor: Tomas Wilhelmsson <tomas.wilhelmsson@gmail.com> - -pkgbase=llvm-amdgpu-snapshot -pkgname=('llvm-amdgpu-snapshot' 'llvm-amdgpu-lib-snapshot') -pkgver=20130403 -pkgrel=3 -pkgdesc='Low Level Virtual Machine with AMDGPU enabled to build r600g shader llvm support' -arch=('i686' 'x86_64') -url="http://llvm.org" -license=('custom:University of Illinois/NCSA Open Source License') -makedepends=('libffi' 'python2' 'ocaml') -source=(ftp://ftp.archlinux.org/other/packages/llvm-amdgpu/llvm-amdgpu-master.${pkgver}.tar.gz) -md5sums=('4baa7b8da9eff4811952b6f855c141ca') - -prepare() { - cd "$srcdir"/llvm-c* - - sed -i 's/python$/python2/' utils/llvm-build/llvm-build -} - -build() { - cd "$srcdir"/llvm-c* - - # Apply strip option to configure - _optimized_switch="enable" - [[ $(check_option strip) == n ]] && _optimized_switch="disable" - - # Include location of libffi headers in CPPFLAGS - export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)" - - # Force the use of GCC instead of clang - PYTHON=python2 CC=gcc CXX=g++ \ - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib/llvm \ - --sysconfdir=/etc \ - --enable-shared \ - --enable-libffi \ - --enable-targets=all \ - --enable-experimental-targets=R600 \ - --disable-expensive-checks \ - --with-binutils-include=/usr/include \ - --$_optimized_switch-optimized - - make REQUIRES_RTTI=1 -} - -package_llvm-amdgpu-snapshot() { - depends=("llvm-amdgpu-lib-snapshot=${pkgver}" 'python2') - conflicts=('llvm') - - cd "$srcdir"/llvm-c* - - make DESTDIR="$pkgdir" install - - # Remove useless files - rm -r "$pkgdir"/usr/{docs,lib/ocaml} - # moved to llvm-amdgpu-lib-snapshot - rm "$pkgdir"/usr/lib/libLLVM-3.2svn.so - # Fix permissions of static libs - chmod -x "$pkgdir"/usr/lib/lib*.a - - install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_llvm-amdgpu-lib-snapshot() { - depends=('libffi' 'gcc-libs') - - cd "$srcdir"/llvm-c* - - make DESTDIR="$pkgdir" install - - mv -v "$pkgdir"/usr/lib/libLLVM-3.2svn.so "$pkgdir"/ - - # Remove useless files - rm -r "$pkgdir"/usr/{bin,include,docs,lib/*} - - mv "$pkgdir"/libLLVM-3.2svn.so "$pkgdir"/usr/lib/ - - install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 75dc33e40..b64894f08 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 191957 2013-08-01 23:15:05Z lcarlier $ +# $Id: PKGBUILD 193703 2013-08-28 15:19:08Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgbase=mesa pkgname=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa' 'mesa-libgl') -pkgver=9.1.6 +pkgver=9.2.0 pkgrel=1 arch=('i686' 'x86_64') makedepends=('python2' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'libxxf86vm' 'libxdamage' - 'libvdpau' 'wayland' 'llvm-amdgpu-snapshot' 'systemd') + 'libvdpau' 'wayland' 'elfutils' 'llvm' 'systemd') url="http://mesa3d.sourceforge.net" license=('custom') options=('!libtool') -source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2 +source=(ftp://ftp.freedesktop.org/pub/mesa/9.2/MesaLib-${pkgver}.tar.bz2 LICENSE) -md5sums=('443a2a352667294b53d56cb1a74114e9' +md5sums=('4185b6aae890bc62a964f4b24cc1aca8' '5c65a0fe315dd347e09b1f2826a1df5a') build() { @@ -27,11 +27,11 @@ build() { --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \ --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ + --with-egl-platforms=x11,drm,wayland \ --with-llvm-shared-libs \ --enable-gallium-llvm \ --enable-egl \ --enable-gallium-egl \ - --with-egl-platforms=x11,drm,wayland \ --enable-shared-glapi \ --enable-gbm \ --enable-glx-tls \ @@ -46,9 +46,10 @@ build() { # --help make + # fake installation - mkdir $srcdir/fakeinstall - make DESTDIR=${srcdir}/fakeinstall install + mkdir $srcdir/fakeinstall + make DESTDIR=${srcdir}/fakeinstall install } package_ati-dri() { @@ -87,10 +88,8 @@ package_nouveau-dri() { optdepends=('libtxc_dxtn: S3 Texture Compressed support') depends=("mesa-libgl=${pkgver}") - # vdpau driver is problematic, so remove it (FS#36004) install -m755 -d ${pkgdir}/usr/lib/vdpau/ mv -v ${srcdir}/fakeinstall/usr/lib/vdpau/libvdpau_nouveau.* ${pkgdir}/usr/lib/vdpau/ - rm -rf ${pkgdir}/usr/lib/vdpau/ install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri mv -v ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/nouveau_{dri,vieux_dri}.so ${pkgdir}/usr/lib/xorg/modules/dri/ @@ -104,7 +103,7 @@ package_nouveau-dri() { package_svga-dri() { pkgdesc="Gallium3D VMware guest GL driver" - depends=('libdrm' 'expat' 'llvm-amdgpu-lib-snapshot') + depends=('libdrm' 'expat' 'llvm-libs') install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri mv -v ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/vmwgfx_dri.so ${pkgdir}/usr/lib/xorg/modules/dri/ @@ -118,7 +117,7 @@ package_svga-dri() { package_mesa() { pkgdesc="an open-source implementation of the OpenGL specification" - depends=('libdrm' 'libvdpau' 'wayland' 'libxxf86vm' 'libxdamage' 'systemd' 'llvm-amdgpu-lib-snapshot') + depends=('libdrm' 'libvdpau' 'wayland' 'libxxf86vm' 'libxdamage' 'systemd' 'elfutils' 'llvm-libs') optdepends=('opengl-man-pages: for the OpenGL API man pages') provides=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel') conflicts=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel') diff --git a/extra/poppler/PKGBUILD b/extra/poppler/PKGBUILD index 046d092d9..f5997ff4c 100644 --- a/extra/poppler/PKGBUILD +++ b/extra/poppler/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 192058 2013-08-05 14:17:25Z andyrtr $ +# $Id: PKGBUILD 193705 2013-08-28 15:19:09Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=poppler pkgname=('poppler' 'poppler-glib' 'poppler-qt4' 'poppler-qt5') -pkgver=0.24.0 +pkgver=0.24.1 pkgrel=1 arch=(i686 x86_64) license=('GPL') @@ -13,7 +13,7 @@ url="http://poppler.freedesktop.org/" _testtag=0d2bfd4af4c76a3bac27ccaff793d9129df7b57a source=(http://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz http://cgit.freedesktop.org/poppler/test/snapshot/test-${_testtag}.tar.bz2) -md5sums=('891000481f639e996d000d767d953a7f' +md5sums=('b11cc0408b4ad3809fa455d7b3d5ade9' '9dc64c254a31e570507bdd4ad4ba629a') prepare() { @@ -23,6 +23,7 @@ prepare() { sed -i -e '/AC_PATH_XTRA/d' configure.ac sed -i "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:" configure.ac } + build() { cd ${pkgbase}-${pkgver} autoreconf -fi diff --git a/extra/qt3/PKGBUILD b/extra/qt3/PKGBUILD index c92af9f04..942959ad4 100644 --- a/extra/qt3/PKGBUILD +++ b/extra/qt3/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 184426 2013-05-06 19:39:25Z foutrelis $ +# $Id: PKGBUILD 193687 2013-08-28 00:06:06Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=qt3 pkgver=3.3.8b -pkgrel=5 +pkgrel=6 epoch=1 pkgdesc="A cross-platform application and UI framework" arch=('i686' 'x86_64') @@ -12,7 +12,8 @@ license=('GPL') depends=('libpng' 'libxmu' 'libxcursor' 'libxinerama' 'glu' 'libxft' 'libxrandr' 'libmng') makedepends=('mariadb' 'postgresql' 'unixodbc' 'sqlite' 'mesa') -optdepends=('libmariadbclient: MariaDB driver' +optdepends=('qtchooser: set the default Qt toolkit' + 'libmariadbclient: MariaDB driver' 'postgresql-libs: PostgreSQL driver' 'unixodbc: ODBC driver') options=('!libtool' '!docs') @@ -30,13 +31,8 @@ sha1sums=('745def6250dc7f337dbb265e20bf38dcb41fd854' # qt-copy-kde-patches come from http://websvn.kde.org/trunk/qt-copy/patches/ # other qt-patches come from fedora and gentoo -build() { - export QTDIR="${srcdir}"/qt-x11-free-${pkgver} - export PATH=${QTDIR}/bin:${PATH} - export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} - export QMAKESPEC=$QTDIR/mkspecs/linux-g++ - - cd "${srcdir}"/qt-x11-free-${pkgver} +prepare() { + cd qt-x11-free-${pkgver} # apply qt patches from kde.org for i in ../qt-copy-kde-patches/*; do patch -p0 -i $i @@ -56,12 +52,20 @@ build() { sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++{,-32,-64}/qmake.conf sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix sed -i "s|read acceptance|acceptance=yes|" configure +} + +build() { + export QTDIR="${srcdir}"/qt-x11-free-${pkgver} + export PATH=${QTDIR}/bin:${PATH} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + export QMAKESPEC=$QTDIR/mkspecs/linux-g++ if [ "$CARCH" = "x86_64" ]; then export ARCH="-64" else unset ARCH fi + cd qt-x11-free-${pkgver} ./configure \ -prefix /usr \ -bindir /usr/lib/qt3/bin \ @@ -87,7 +91,7 @@ build() { } package() { - cd "${srcdir}"/qt-x11-free-${pkgver} + cd qt-x11-free-${pkgver} make INSTALL_ROOT="${pkgdir}" install sed -i -e "s|-L${srcdir}/qt-x11-free-${pkgver}/lib ||g" -e "s|${srcdir}/||g" "${pkgdir}"/usr/lib/*.prl rm -rf "${pkgdir}"/usr/share/qt3/{phrasebooks,templates,translations} diff --git a/extra/qt4/PKGBUILD b/extra/qt4/PKGBUILD index 03c78f6df..fa69e4728 100644 --- a/extra/qt4/PKGBUILD +++ b/extra/qt4/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 189290 2013-07-02 11:12:21Z andrea $ +# $Id: PKGBUILD 193688 2013-08-28 00:06:07Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=qt4 pkgver=4.8.5 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://qt-project.org/' -license=('GPL3' 'LGPL') +license=('GPL3' 'LGPL' 'FDL' 'custom') pkgdesc='A cross-platform application and UI framework' depends=('libtiff' 'libpng' 'libmng' 'sqlite' 'ca-certificates' 'dbus' 'fontconfig' 'libgl' 'libxrandr' 'libxv' 'libxi' 'alsa-lib' @@ -31,14 +31,17 @@ _pkgfqn="qt-everywhere-opensource-src-${pkgver}" source=("http://download.qt-project.org/official_releases/qt/4.8/${pkgver}/${_pkgfqn}.tar.gz" 'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop' 'linguist-qt4.desktop' 'qdbusviewer-qt4.desktop' - 'improve-cups-support.patch') + 'improve-cups-support.patch' + 'qtbug-31579.patch' 'qtbug-32534.patch') md5sums=('1864987bdbb2f58f8ae8b350dfdbe133' 'a16638f4781e56e7887ff8212a322ecc' '8a28b3f52dbeb685d4b69440b520a3e1' '9727c406c240990870c905696a8c5bd1' '0e384663d3dd32abe35f5331c4147569' 'b859c5673e5098c39f72b2252947049e' - 'c439c7731c25387352d8453ca7574971') + 'c439c7731c25387352d8453ca7574971' + '6ed8d26a8e4a9bba1f6c08fb99cc8357' + 'bb0e0fa6ba953fa590d81ac612374e11') prepare() { cd ${_pkgfqn} @@ -46,6 +49,11 @@ prepare() { # (FS#28381) (KDEBUG#180051) patch -p1 -i "${srcdir}"/improve-cups-support.patch + # (FS#36028) (QTBUG#31579) + patch -p1 -i "${srcdir}"/qtbug-31579.patch + # (FS#36394) (QTBUG#32534) + patch -p1 -i "${srcdir}"/qtbug-32534.patch + sed -i "s|-O2|${CXXFLAGS}|" mkspecs/common/{g++,gcc}-base.conf sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf diff --git a/extra/qt4/qtbug-31579.patch b/extra/qt4/qtbug-31579.patch new file mode 100644 index 000000000..b4e1e7387 --- /dev/null +++ b/extra/qt4/qtbug-31579.patch @@ -0,0 +1,146 @@ +From 2a6537f0629aaff53a42d993ad94ad4de3cd3030 Mon Sep 17 00:00:00 2001 +From: Gunnar Sletta <gunnar.sletta@digia.com> +Date: Thu, 4 Jul 2013 16:20:40 +1000 +Subject: [PATCH] Fix drawing of 0-width polylines from outside the devicerect. + +This was broken by a previous fix which aimed to fix gaps in +polylines with tiny line segments. The result was that we +skipped updating the origin point when stroke() didn't produce +pixels which accidentally included the case of the line +being completely outside the deviceRect. I fixed this +by returning the value of clipLine in drawLine to the caller +so we could still update the origin for this case. + +Task-number: QTBUG-31579 +Change-Id: Iac29436f042da7658bbeaf9370351dc6f2c95065 +(cherry picked from qtbase/900cccfd459fcbdbc4aa3d313afe12cfbf68fd87) +Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> +--- + src/gui/painting/qcosmeticstroker.cpp | 42 ++++++++++++++++++++------------ + src/gui/painting/qcosmeticstroker_p.h | 2 +- + 2 files changed, 27 insertions(+), 17 deletions(-) + +diff --git a/src/gui/painting/qcosmeticstroker.cpp b/src/gui/painting/qcosmeticstroker.cpp +index 0061ecb..4413170 100644 +--- a/src/gui/painting/qcosmeticstroker.cpp ++++ b/src/gui/painting/qcosmeticstroker.cpp +@@ -133,10 +133,15 @@ struct NoDasher { + + }; + ++/* ++ * The return value is the result of the clipLine() call performed at the start ++ * of each of the two functions, aka "false" means completely outside the devices ++ * rect. ++ */ + template<DrawPixel drawPixel, class Dasher> +-static void drawLine(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); ++static bool drawLine(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); + template<DrawPixel drawPixel, class Dasher> +-static void drawLineAA(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); ++static bool drawLineAA(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); + + inline void drawPixel(QCosmeticStroker *stroker, int x, int y, int coverage) + { +@@ -602,17 +607,20 @@ void QCosmeticStroker::drawPath(const QVectorPath &path) + caps |= CapEnd; + + QCosmeticStroker::Point last = this->lastPixel; +- stroke(this, p.x(), p.y(), p2.x(), p2.y(), caps); ++ bool unclipped = stroke(this, p.x(), p.y(), p2.x(), p2.y(), caps); + + /* fix for gaps in polylines with fastpen and aliased in a sequence + of points with small distances: if current point p2 has been dropped +- out, keep last non dropped point p. */ +- if (fastPenAliased) { +- if (last.x != lastPixel.x || last.y != lastPixel.y || +- points == begin + 2 || points == end - 2 ) { +- { +- p = p2; +- } ++ out, keep last non dropped point p. ++ ++ However, if the line was completely outside the devicerect, we ++ still need to update p to avoid drawing the line after this one from ++ a bad starting position. ++ */ ++ if (fastPenAliased && unclipped) { ++ if (last.x != lastPixel.x || last.y != lastPixel.y ++ || points == begin + 2 || points == end - 2) { ++ p = p2; + } + } else { + p = p2; +@@ -720,10 +728,10 @@ static inline void capAdjust(int caps, int &x1, int &x2, int &y, int yinc) + the drawing shifts from horizontal to vertical or back. + */ + template<DrawPixel drawPixel, class Dasher> +-static void drawLine(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, qreal ry2, int caps) ++static bool drawLine(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, qreal ry2, int caps) + { + if (stroker->clipLine(rx1, ry1, rx2, ry2)) +- return; ++ return false; + + static const int half = 31; + int x1 = toF26Dot6(rx1) + half; +@@ -813,7 +821,7 @@ static void drawLine(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, + } else { + // horizontal + if (!dx) +- return; ++ return true; + + QCosmeticStroker::Direction dir = QCosmeticStroker::LeftToRight; + +@@ -886,14 +894,15 @@ static void drawLine(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, + } + } + stroker->lastPixel = last; ++ return true; + } + + + template<DrawPixel drawPixel, class Dasher> +-static void drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, qreal ry2, int caps) ++static bool drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, qreal ry2, int caps) + { + if (stroker->clipLine(rx1, ry1, rx2, ry2)) +- return; ++ return false; + + int x1 = toF26Dot6(rx1); + int y1 = toF26Dot6(ry1); +@@ -967,7 +976,7 @@ static void drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx + } else { + // horizontal + if (!dx) +- return; ++ return true; + + int yinc = F16Dot16FixedDiv(dy, dx); + +@@ -1029,6 +1038,7 @@ static void drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx + drawPixel(stroker, x, (y>>16) + 1, alpha * alphaEnd >> 6); + } + } ++ return true; + } + + QT_END_NAMESPACE +diff --git a/src/gui/painting/qcosmeticstroker_p.h b/src/gui/painting/qcosmeticstroker_p.h +index 870738b..3216856 100644 +--- a/src/gui/painting/qcosmeticstroker_p.h ++++ b/src/gui/painting/qcosmeticstroker_p.h +@@ -56,7 +56,7 @@ QT_MODULE(Gui) + class QCosmeticStroker; + + +-typedef void (*StrokeLine)(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); ++typedef bool (*StrokeLine)(QCosmeticStroker *stroker, qreal x1, qreal y1, qreal x2, qreal y2, int caps); + + class QCosmeticStroker + { +-- +1.7.1 + diff --git a/extra/qt4/qtbug-32534.patch b/extra/qt4/qtbug-32534.patch new file mode 100644 index 000000000..c49f18842 --- /dev/null +++ b/extra/qt4/qtbug-32534.patch @@ -0,0 +1,40 @@ +From 1f40ed553e618c3b0511c7db4b4fd26c2d2b65bf Mon Sep 17 00:00:00 2001 +From: Peter Hartmann <phartmann@blackberry.com> +Date: Thu, 25 Jul 2013 12:05:29 -0400 +Subject: [PATCH] QHttpMultiPart: fix data corruption in readData method + +When readData() is called repeatedly, we need to keep track which +part of the multipart message we are currently reading from. +Hereby we also need to take the boundary size into account, and not +only the size of the multipart; otherwise we would skip a not +completely read part. This would then later lead to advancing the +read pointer by negative indexes and data loss. + +Task-number: QTBUG-32534 +Change-Id: Ibb6dff16adaf4ea67181d23d1d0c8459e33a0ed0 +Reviewed-by: Jonathan Liu <net147@gmail.com> +Reviewed-by: Shane Kearns <shane.kearns@accenture.com> +(cherry picked from qtbase/af96c6fed931564c95037539f07e9c8e33c69529) +Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> +--- + src/network/access/qhttpmultipart.cpp | 3 +- + tests/auto/qnetworkreply/tst_qnetworkreply.cpp | 44 ++++++++++++++++++++++++ + 2 files changed, 46 insertions(+), 1 deletions(-) + +diff --git a/src/network/access/qhttpmultipart.cpp b/src/network/access/qhttpmultipart.cpp +index 635129a..b25e917 100644 +--- a/src/network/access/qhttpmultipart.cpp ++++ b/src/network/access/qhttpmultipart.cpp +@@ -488,7 +488,8 @@ qint64 QHttpMultiPartIODevice::readData(char *data, qint64 maxSize) + + // skip the parts we have already read + while (index < multiPart->parts.count() && +- readPointer >= partOffsets.at(index) + multiPart->parts.at(index).d->size()) ++ readPointer >= partOffsets.at(index) + multiPart->parts.at(index).d->size() ++ + multiPart->boundary.count() + 6) // 6 == 2 boundary dashes, \r\n after boundary, \r\n after multipart + index++; + + // read the data +-- +1.7.1 + diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD index 2e123b391..703664ac4 100644 --- a/extra/qt5/PKGBUILD +++ b/extra/qt5/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 189742 2013-07-06 18:49:32Z andrea $ +# $Id: PKGBUILD 193689 2013-08-28 00:06:10Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgbase=qt5 @@ -20,10 +20,10 @@ pkgname=('qt5-base' 'qt5-x11extras' 'qt5-xmlpatterns') pkgver=5.1.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://qt-project.org/' -license=('GPL3' 'LGPL') +license=('GPL3' 'LGPL' 'FDL' 'custom') makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb-util-keysyms' 'mesa-libgl' 'at-spi2-core' 'alsa-lib' 'gstreamer0.10-base-plugins' 'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils' @@ -35,13 +35,15 @@ options=('!libtool') _pkgfqn="qt-everywhere-opensource-src-${pkgver}" source=("http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz" 'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop' - 'use-python2.patch') + 'use-python2.patch' + 'bison3.patch') md5sums=('44a507beebef73eb364b5a2ec7bbe090' 'b2897dd6a2967bccf8f10e397aafee55' '9638a78e502719ef8fe5f8d10d0361a9' '188da8f4c87316e730ebf1c6217bf5a0' '322b419b16c75d4de0ee7ad0a246caa1' - '92831f79144d5cb8121915423ba47575') + '92831f79144d5cb8121915423ba47575' + '6b162cd2bc104f0ae83ca039401be7bf') prepare() { cd ${_pkgfqn} @@ -55,6 +57,10 @@ prepare() { sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find . -name '*.py') + + # Fix build with bison 3.x + cd qtwebkit + patch -p1 -i "${srcdir}"/bison3.patch } build() { diff --git a/extra/qt5/bison3.patch b/extra/qt5/bison3.patch new file mode 100644 index 000000000..4070c88e8 --- /dev/null +++ b/extra/qt5/bison3.patch @@ -0,0 +1,38 @@ +From 60ba8bd5b3575d0c7740571fbb4e681b21a49a82 Mon Sep 17 00:00:00 2001 +From: Allan Sandfeld Jensen <allan.jensen@digia.com> +Date: Fri, 16 Aug 2013 18:27:07 +0200 +Subject: [PATCH] ANGLE doesn't build with bison 3.0 + +https://bugs.webkit.org/show_bug.cgi?id=119798 + +Reviewed by Antti Koivisto. + +Make glslang.y compatible with bison 3.0 +by using %lex-param to set YYLEX_PARAM. + +* src/compiler/glslang.y: + +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154109 268f45cc-cd09-0410-ab3c-d52691b4dbfc + +Task-number: QTBUG-32913 +Change-Id: I15505d31f0588c4d558b73befdb9d2358e29c1a3 +Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> +--- + Source/ThirdParty/ANGLE/src/compiler/glslang.y | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/Source/ThirdParty/ANGLE/src/compiler/glslang.y b/Source/ThirdParty/ANGLE/src/compiler/glslang.y +index 3cad335..b41e95a 100644 +--- a/Source/ThirdParty/ANGLE/src/compiler/glslang.y ++++ b/Source/ThirdParty/ANGLE/src/compiler/glslang.y +@@ -47,6 +47,7 @@ WHICH GENERATES THE GLSL ES PARSER (glslang_tab.cpp AND glslang_tab.h). + %expect 1 /* One shift reduce conflict because of if | else */ + %pure-parser + %parse-param {TParseContext* context} ++%lex-param {YYLEX_PARAM} + + %union { + struct { +-- +1.7.1 + diff --git a/extra/qt5/gcc48.patch b/extra/qt5/gcc48.patch deleted file mode 100644 index 03b205b68..000000000 --- a/extra/qt5/gcc48.patch +++ /dev/null @@ -1,63 +0,0 @@ -# Author: David E. Narváez <david.narvaez@computer.org> -# AuthorDate: 2013-02-23 23:14:50 -0500 -# Commit: David E. Narváez <david.narvaez@computer.org> -# CommitDate: 2013-02-23 23:14:50 -0500 -# -# Rename qAbs Function for timeval -# -# This decouples it from qAbs which is declared as a constexpr under -# certain compilation flags and enables for qtbase to be compiled with -# GCC 4.8 -# -# Change-Id: I78e02256ffc8b460ca74ae5241e77dfac4e09ba9 -diff --git a/src/corelib/kernel/qtimerinfo_unix.cpp b/src/corelib/kernel/qtimerinfo_unix.cpp -index 0eee425..7a29247 100644 ---- a/src/corelib/kernel/qtimerinfo_unix.cpp -+++ b/src/corelib/kernel/qtimerinfo_unix.cpp -@@ -87,22 +87,21 @@ - firstTimerInfo = 0; - } - - timeval QTimerInfoList::updateCurrentTime() - { - return (currentTime = qt_gettime()); - } - - #if ((_POSIX_MONOTONIC_CLOCK-0 <= 0) && !defined(Q_OS_MAC) && !defined(Q_OS_INTEGRITY)) || defined(QT_BOOTSTRAPPED) - --template <> --timeval qAbs(const timeval &t) -+timeval qAbsTimeval(const timeval &t) - { - timeval tmp = t; - if (tmp.tv_sec < 0) { - tmp.tv_sec = -tmp.tv_sec - 1; - tmp.tv_usec -= 1000000; - } - if (tmp.tv_sec == 0 && tmp.tv_usec < 0) { - tmp.tv_usec = -tmp.tv_usec; - } - return normalizedTimeval(tmp); -@@ -137,21 +136,21 @@ - *delta = elapsedTime - elapsedTimeTicks; - - previousTicks = currentTicks; - previousTime = currentTime; - - // If tick drift is more than 10% off compared to realtime, we assume that the clock has - // been set. Of course, we have to allow for the tick granularity as well. - timeval tickGranularity; - tickGranularity.tv_sec = 0; - tickGranularity.tv_usec = msPerTick * 1000; -- return elapsedTimeTicks < ((qAbs(*delta) - tickGranularity) * 10); -+ return elapsedTimeTicks < ((qAbsTimeval(*delta) - tickGranularity) * 10); - } - - /* - repair broken timer - */ - void QTimerInfoList::timerRepair(const timeval &diff) - { - // repair all timers - for (int i = 0; i < size(); ++i) { - register QTimerInfo *t = at(i); diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD index f08d82fc0..05ae4ae53 100644 --- a/extra/wayland/PKGBUILD +++ b/extra/wayland/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 190120 2013-07-15 21:53:45Z tomegun $ +# $Id: PKGBUILD 193712 2013-08-28 20:08:20Z lcarlier $ # Maintainer: Tom Gundersen <teg@jklm.no> # Contributor: Sébastien Luttringer # Contributor: Joel Teichroeb <joel@teichroeb.net> pkgname=wayland -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc='A computer display server protocol' arch=('i686' 'x86_64') @@ -14,9 +14,11 @@ depends=('libffi' 'expat') makedepends=('doxygen') options=(!libtool) source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz") +sha1sums=('2214b690cb5a4f9695d287f27730c4368e6ef829') build() { cd $pkgname-$pkgver + ./configure --prefix=/usr \ --disable-static make @@ -24,7 +26,7 @@ build() { package() { cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -md5sums=('48d375afb15f3e68a72cf7b4fd8f4a63') diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD index 672d34a2e..8d6809fee 100644 --- a/extra/xine-lib/PKGBUILD +++ b/extra/xine-lib/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 192482 2013-08-12 20:25:49Z eric $ +# $Id: PKGBUILD 193690 2013-08-28 00:06:11Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=xine-lib pkgver=1.2.3 -pkgrel=3 +pkgrel=4 pkgdesc="A multimedia playback engine" arch=('i686' 'x86_64') url="http://www.xine-project.org" diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index d9be53172..63958664e 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 192537 2013-08-13 17:54:45Z andyrtr $ +# $Id: PKGBUILD 193535 2013-08-22 17:59:22Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Maintainer (Parabola): Joshua Haase <hahj87@gmail.com> # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> _pkgname=ghostscript pkgname=ghostscript-libre -pkgver=9.07 -pkgrel=3 +pkgver=9.09 +pkgrel=1 pkgdesc="An interpreter for the PostScript language, without nonfree files" arch=('i686' 'x86_64' 'mips64el') license=('AGPL') #non free files removed depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' - 'libtiff>=4.0.0' 'lcms' 'dbus') -makedepends=('gtk2' 'gnutls') + 'libtiff>=4.0.0' 'lcms2' 'dbus') +makedepends=('gtk2' 'gnutls' 'openjpeg') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') conflicts=('ghostscript') @@ -20,18 +20,18 @@ replaces=('ghostscript') provides=("ghostscript=$pkgver") url="http://www.ghostscript.com/" source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) -options=('!libtool') -md5sums=('eea27befc1e85bef6d4768202f6b03a5') +options=('!libtool' '!makeflags') +md5sums=('4f47c29daae8e567ebdef842b7e0f8ea') build() { cd ghostscript-${pkgver} - # delete non-free packages + # delete nonfree files grep -l "are not altered" Resource/CMap/* | xargs rm -fv grep -l "not be copied" Resource/CMap/* | xargs rm -fv # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype + rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community ./configure --prefix=/usr \ --enable-dynamic \ @@ -60,7 +60,7 @@ build() { package() { cd ghostscript-${pkgver} - make -j1 DESTDIR="${pkgdir}" \ + make DESTDIR="${pkgdir}" \ cups_serverroot="${pkgdir}"/etc/cups \ cups_serverbin="${pkgdir}"/usr/lib/cups install soinstall @@ -74,7 +74,7 @@ package() { # install IJS cd ijs - make -j1 DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" install # remove filters that are now maintained in cups-filters as upstream home rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD index 46bbb845d..6d44a7646 100644 --- a/libre/gnu-ghostscript/PKGBUILD +++ b/libre/gnu-ghostscript/PKGBUILD @@ -2,15 +2,16 @@ _pkgname=ghostscript pkgname=gnu-ghostscript -_gspkgver=9.07 # ghostscript package version +_gspkgver=9.09 # ghostscript package version _pkgver=9.06 pkgver=9.06.0 -pkgrel=4 +pkgrel=5 pkgdesc="An interpreter for the PostScript language maintained by a team of GNU programmers" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2') -makedepends=('gtk2' 'gnutls') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' + 'libtiff>=4.0.0' 'lcms2' 'dbus') +makedepends=('gtk2' 'gnutls' 'openjpeg') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') conflicts=${_pkgname} @@ -19,13 +20,13 @@ url="https://www.gnu.org/software/${_pkgname}/" source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz ijs-automake.patch libtool.patch) -options=('!libtool') +options=('!libtool' '!makeflags') md5sums=('85a5e07a6b91937c157576293b381065' '83bcae456ad4c9fb790be483914dbeba' '5bd5d4966007b460deed866a30a0b3c8') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} # fix build with recent automake patch -p1 -i "$srcdir/ijs-automake.patch" @@ -34,7 +35,7 @@ build() { patch -Np1 -i ${srcdir}/libtool.patch # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype + rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community ./configure --prefix=/usr \ --enable-dynamic \ @@ -48,35 +49,37 @@ build() { --enable-fontconfig \ --enable-freetype \ --without-luratech \ + --without-omni \ --with-system-libtiff \ --disable-compile-inits #--help # needed for linking with system-zlib make # Build IJS - cd ${srcdir}/${pkgname}-${pkgver}/ijs + cd ijs + sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make -j1 DESTDIR=${pkgdir} \ - cups_serverroot=${pkgdir}/etc/cups \ - cups_serverbin=${pkgdir}/usr/lib/cups install soinstall + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" \ + cups_serverroot="${pkgdir}"/etc/cups \ + cups_serverbin="${pkgdir}"/usr/lib/cups install soinstall # install missing doc files # http://bugs.archlinux.org/task/18023 - install -m 644 ${srcdir}/${pkgname}-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/${_pkgname}/$_pkgver/doc/ + install -m 644 "${srcdir}"/${pkgname}-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/${_pkgname}/$_pkgver/doc/ mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname} install -m644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/ # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* + rm -rf "$pkgdir"/usr/share/man/[^man1]* # install IJS - cd ${srcdir}/${pkgname}-${pkgver}/ijs - make -j1 DESTDIR=${pkgdir} install + cd ijs + make DESTDIR="${pkgdir}" install # remove filters that are now maintained in cups-filters as upstream home rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index 012d82941..a4c1c4674 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -5,7 +5,7 @@ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.08.27 +pkgver=2013.08.28.1 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') @@ -14,7 +14,7 @@ license=('custom') depends=('python') makedepends=('python-distribute') source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig}) -md5sums=('6562713d1c216433a669060d421e9b77' +md5sums=('c57a46fe394e5c9cd9484f59f9ae029f' 'SKIP') prepare() { diff --git a/~fauno/afew/LICENSE b/~fauno/afew/LICENSE deleted file mode 100644 index aab8c3624..000000000 --- a/~fauno/afew/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# diff --git a/~fauno/afew/PKGBUILD b/~fauno/afew/PKGBUILD deleted file mode 100644 index 1256ad4d3..000000000 --- a/~fauno/afew/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com> -pkgname=afew -pkgver=2012.07.11 -_gitver=20120711 -pkgrel=1 -pkgdesc="afew is an initial tagging script for notmuch mail" -arch=(any) -url="https://github.com/teythoon/afew" -license=('custom:BSD') -depends=('python2' 'notmuch' 'dbacl') -source=("https://repo.parabolagnulinux.org/other/${pkgname}-${_gitver}-${pkgrel}-any.src.tar.gz" - 'LICENSE') - -build() { - cd "$srcdir/$pkgname" - - python2 setup.py build -} - -package() { - cd "$srcdir/$pkgname" - python2 setup.py install --prefix="$pkgdir/usr" - - install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: -md5sums=('99e501fb8f99ec58eccf8c08d572dab2' - '295b245540aa61538f9a3556c4be846c') diff --git a/~fauno/afew/SRCBUILD b/~fauno/afew/SRCBUILD deleted file mode 100644 index 0ac3b5d75..000000000 --- a/~fauno/afew/SRCBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com> -pkgname=afew -pkgver=20120711 -pkgrel=1 -pkgdesc="afew is an initial tagging script for notmuch mail" -arch=(any) -url="https://github.com/teythoon/afew" -license=('custom:BSD') -makedepends=('git') - -_gitroot='https://github.com/teythoon/afew.git' -_gitname='afew' - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - -} - -package() { - PKGEXT=${SRCEXT} - PKGDEST=${SRCDEST} - cp -a ${srcdir}/* ${pkgdir}/ -} - -# vim:set ts=2 sw=2 et: - diff --git a/~fauno/bibutils-dynamic/PKGBUILD b/~fauno/bibutils-dynamic/PKGBUILD deleted file mode 100644 index cc8f371a6..000000000 --- a/~fauno/bibutils-dynamic/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) us> - -pkgname=bibutils-dynamic -_basename=bibutils -pkgver=4.12 -pkgrel=1 -pkgdesc="Bibliography conversion tools, with dynamic libs" -arch=("i686" "x86_64") -url="http://www.scripps.edu/~cdputnam/software/bibutils" -license=('GPL2') -makedepends=('tcsh') -provides=('bibutils') -source=("${url}/${_basename}_${pkgver}_src.tgz") -md5sums=('395f46393eca8e184652c5e8e1ae83b6') - -build() { - cd "${srcdir}/${_basename}_$pkgver" - ./configure --dynamic \ - --install-dir ${pkgdir}/usr/bin \ - --install-lib ${pkgdir}/usr/lib - make -} - -package() { - install -d ${pkgdir}/usr/{bin,lib} - cd "${srcdir}/${_basename}_$pkgver" - make install -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/dbacl/PKGBUILD b/~fauno/dbacl/PKGBUILD deleted file mode 100644 index a92679444..000000000 --- a/~fauno/dbacl/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com? -pkgname=dbacl -pkgver=1.12 -pkgrel=1 -pkgdesc="Digramic Bayesian classifier" -arch=('i686' 'x86_64') -url="http://dbacl.sourceforge.net/" -license=('GPL') -depends=('gawk' 'perl') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('048d8cf68e277ba2ab5d159dc395a65d') -sha256sums=('9fcb05a0951527c7b33aeb20735747f84bca88a4e122c93537120d1014f650e9') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make -} - -check() -{ - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - mv "$pkgdir/usr/man" "$pkgdir/usr/share" -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/distccd-zeroconf/PKGBUILD b/~fauno/distccd-zeroconf/PKGBUILD deleted file mode 100644 index 2faf6acb3..000000000 --- a/~fauno/distccd-zeroconf/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: PKGBUILD 59085 2009-11-20 06:29:43Z giovanni $ -# Maintainer: Judd Vinet <jvinet@zeroflux.org> -# Contributor: Giovanni Scafora <giovanni@archlinux.org> - -pkgname=distcc-zeroconf -_pkgname=distcc -pkgver=3.1 -pkgrel=1 -pkgdesc="A distributed C, C++, Obj C compiler with zeroconf support" -arch=('i686' 'x86_64') -url="http://code.google.com/p/distcc/" -license=('GPL') -depends=('gcc' 'popt' 'avahi') -makedepends=('gtk2' 'pkgconfig') -optdepends=('gtk2: for distccmon-gnome') -provides=('distcc') -conflicts=('distcc') -replaces=('distcc') -backup=(etc/conf.d/distccd) -options=(!distcc) -source=(http://distcc.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2 - distccd - distccd.conf.d) -md5sums=('a1a9d3853df7133669fffec2a9aab9f3' - '1c918474372c09304772c20c4de484fa' - '89aaf6e9072092e283465a14e83f0f94') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --with-gtk \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --disable-Werror - make -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}/" install - install -D -m644 ${srcdir}/distccd.conf.d ${pkgdir}/etc/conf.d/distccd - install -D -m755 ${srcdir}/distccd ${pkgdir}/etc/rc.d/distccd - - install -d ${pkgdir}/usr/lib/${_pkgname}/bin - ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/cc - ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/gcc - ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/g++ - ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/cpp - ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/c++ -} diff --git a/~fauno/distccd-zeroconf/distccd b/~fauno/distccd-zeroconf/distccd deleted file mode 100755 index 4702d6820..000000000 --- a/~fauno/distccd-zeroconf/distccd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -[ -f /etc/conf.d/distccd ] && . /etc/conf.d/distccd - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/distccd` -case "$1" in - start) - stat_busy "Starting distcc Daemon" - [ -z "$PID" ] && /usr/bin/distccd --daemon ${DISTCC_ARGS} - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon distccd - stat_done - fi - ;; - stop) - stat_busy "Stopping distcc Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon distccd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/~fauno/distccd-zeroconf/distccd.conf.d b/~fauno/distccd-zeroconf/distccd.conf.d deleted file mode 100644 index 8f90cb503..000000000 --- a/~fauno/distccd-zeroconf/distccd.conf.d +++ /dev/null @@ -1,8 +0,0 @@ -# -# Parameters to be passed to distccd -# -# You must explicitly add IPs (or subnets) that are allowed to connect, -# using the --allow switch. See the distccd manpage for more info. -# -DISTCC_ARGS="--user nobody --allow 127.0.0.1" - diff --git a/~fauno/emerillon/PKGBUILD b/~fauno/emerillon/PKGBUILD deleted file mode 100644 index 621ed04bb..000000000 --- a/~fauno/emerillon/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org> -# Contributor: yannsen <ynnsen@gmail.com> -pkgname=emerillon -arch=('i686' 'x86_64') -pkgver=0.1.90 -pkgrel=2 -pkgdesc="OpenStreetMap viewer" -url="http://projects.gnome.org/emerillon/" -license=('GPL2') -depends=('libpeas' 'geoclue' 'libsoup-gnome' 'libchamplain>=0.12.0' 'librest' 'ethos') -makedepends=('intltool' 'gnome-common' 'vala' 'gtk-doc') -options=(!libtool) -install=${pkgname}.install -source=(http://download.gnome.org/sources/emerillon/0.1/${pkgname}-${pkgver}.tar.xz) -md5sums=('d740ee4d5fcd7b39fde15e75b4ee7a3a') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - ./configure --prefix=/usr - make -} -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=$pkgdir install -} diff --git a/~fauno/emerillon/emerillon.install b/~fauno/emerillon/emerillon.install deleted file mode 100644 index 77c7018ea..000000000 --- a/~fauno/emerillon/emerillon.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - diff --git a/~fauno/ethos/PKGBUILD b/~fauno/ethos/PKGBUILD deleted file mode 100644 index f05c8fa8b..000000000 --- a/~fauno/ethos/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Contributor: yannsen <ynnsen@gmail.com> -pkgname=ethos -pkgver=0.2.2 -pkgrel=6 -arch=('i686' 'x86_64') -pkgdesc="Plugin framework for GLib" -url="http://git.dronelabs.com/ethos/about/" -license="LGPL" -depends=(python2 gtk2) -makedepends=(intltool pygtk) -source=(http://ftp.dronelabs.com/sources/$pkgname/0.2/$pkgname-$pkgver.tar.gz) -md5sums=('36cf1ef444a224556bba4d441c400300') -options=(!libtool) - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install -} diff --git a/~fauno/faenza-icon-theme/PKGBUILD b/~fauno/faenza-icon-theme/PKGBUILD deleted file mode 100644 index 484764c73..000000000 --- a/~fauno/faenza-icon-theme/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Elia Notarangelo <elia.notarangelo AT gmail DOT com> -# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> -# Contributor: graysky <graysky AT archlinux DOT us> -# Contributor: Samsagax <samsagax AT gmail DOT com> -# Contributor: simongmzlj <simongmzlj AT gmail DOT com> - -pkgname=faenza-icon-theme -pkgver=1.3 -pkgrel=1 -pkgdesc="Icon theme designed for Equinox GTK theme" -url="http://gnome-look.org/content/show.php/Faenza?content=128143" -license=('GPL3') -arch=('any') -makedepends=() -options=(!strip) -source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz") -md5sums=('763e0450b0853bd11f04c970ba3fd49f') - -package() { - cd "${srcdir}" - mkdir -p "${pkgdir}"/usr/share/icons - cp -rf Faenza{,-Dark,-Darkest,-Darker} "${pkgdir}"/usr/share/icons/ - -} - diff --git a/~fauno/geoclue/PKGBUILD b/~fauno/geoclue/PKGBUILD deleted file mode 100644 index e370197c7..000000000 --- a/~fauno/geoclue/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# mAINTAIner: Isaac Dupree <id@isaac.cedarswampstudios.org> -# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> -# Contributor: Kurama <kurama_luka@yahoo.it> - -pkgname=geoclue -pkgver=0.12 -pkgrel=2 -pkgdesc="Modular geoinformation service built on the D-Bus messaging system." -arch=('i686' 'x86_64') -url="http://geoclue.freedesktop.org" -license=('LGPL') -depends=('gconf') -makedepends=('gtk-doc' 'libtool') -source=(http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz) - -build() { - cd ${srcdir}/${pkgname}-${pkgver} -# unset LDFLAGS - ./autogen.sh --prefix=/usr --libexecdir=/usr/lib - find -name 'Makefile' -print0 | xargs -0 sed -i "s/-Werror //" - make -} - -package(){ - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install -} -md5sums=('684e24d1ff3683953c968fed210b2982') diff --git a/~fauno/haskell-base64-bytestring/PKGBUILD b/~fauno/haskell-base64-bytestring/PKGBUILD deleted file mode 100644 index 9943e7e15..000000000 --- a/~fauno/haskell-base64-bytestring/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# custom variables -_hkgname=base64-bytestring -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-base64-bytestring -pkgver=0.1.0.3 -pkgrel=1 -pkgdesc="Fast base64 encoding and deconding for ByteStrings" -url="https://github.com/bos/base64-bytestring" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-bytestring=0.9.1.10") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("a3d76d27f2271c603990d909fed0a4f175628e9c6e19427cc8387dd4c2429234") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install deleted file mode 100644 index 55a35b6d2..000000000 --- a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-base64-bytestring -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-citeproc-hs/PKGBUILD b/~fauno/haskell-citeproc-hs/PKGBUILD deleted file mode 100644 index 32f06094b..000000000 --- a/~fauno/haskell-citeproc-hs/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# custom variables -_hkgname=citeproc-hs -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-citeproc-hs -pkgver=0.3.3 -pkgrel=1 -pkgdesc="A Citation Style Language implementation in Haskell" -url="http://gorgias.mine.nu/repos/citeproc-hs/" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-http=4000.1.1" - "haskell-bytestring=0.9.1.10" - "haskell-containers=0.4.0.0" - "haskell-directory=1.1.0.0" - "haskell-filepath=1.2.0.0" - "haskell-hs-bibutils=4.12" - "haskell-json=0.4.4" - "haskell-mtl=2.0.1.0" - "haskell-network=2.3.0.2" - "haskell-old-locale=1.0.0.2" - "haskell-pandoc-types=1.8.2" - "haskell-parsec=3.1.1" - "haskell-syb=0.3" - "haskell-time=1.2.0.3" - "haskell-utf8-string=0.3.6" - "haskell-xml=1.3.9") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("249bc0ec589fc79b098867502732c3c47ce032ad32f82d3280c1ca9373c71f7a") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install deleted file mode 100644 index 6bf4872f1..000000000 --- a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-citeproc-hs -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-digest/PKGBUILD b/~fauno/haskell-digest/PKGBUILD deleted file mode 100644 index 724a600af..000000000 --- a/~fauno/haskell-digest/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# custom variables -_hkgname=digest -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-digest -pkgver=0.0.1.0 -pkgrel=1 -pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now." -url="http://hackage.haskell.org/package/${_hkgname}" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-bytestring=0.9.1.10" - "zlib") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("40319762afc05823920126f13cba02b06544ba039e08c3f63db2ed084a9a4edc") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-digest/haskell-digest.install b/~fauno/haskell-digest/haskell-digest.install deleted file mode 100644 index 7aa8e0003..000000000 --- a/~fauno/haskell-digest/haskell-digest.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-digest -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-dlist/PKGBUILD b/~fauno/haskell-dlist/PKGBUILD deleted file mode 100644 index 6b68c97c3..000000000 --- a/~fauno/haskell-dlist/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# custom variables -_hkgname=dlist -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-dlist -pkgver=0.5 -pkgrel=18 -pkgdesc="Differences lists" -url="http://code.haskell.org/~dons/code/dlist/" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" "sh") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("4780e5409eff55bbfdd7470ef802a087a04048c9cd5efe0482c82878292f19ea") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-dlist/haskell-dlist.install b/~fauno/haskell-dlist/haskell-dlist.install deleted file mode 100644 index f20fb2952..000000000 --- a/~fauno/haskell-dlist/haskell-dlist.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-dlist -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-hs-bibutils/PKGBUILD b/~fauno/haskell-hs-bibutils/PKGBUILD deleted file mode 100644 index 46816e9c2..000000000 --- a/~fauno/haskell-hs-bibutils/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Ivy Foster <joyfulgirl (at) archlinux (dot) # us> -# Contributor: Alexander Dunlap <alexander.dunlap at gmail # dot com> - -_hkgname=hs-bibutils -pkgname=haskell-hs-bibutils -pkgver=4.12 -pkgrel=4 -pkgdesc="Haskell bindings to bibutils, the bibliography conversion utilities." -url="http://hackage.haskell.org/package/${_hkgname}" -license=('GPL') -arch=('i686' 'x86_64') -makedepends=() -depends=('ghc' 'haskell-syb=0.3' 'bibutils-dynamic') -options=('strip') -source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -install=${pkgname}.install -md5sums=('4c4647b34246a4d35f1d1cfb10e6720a') - -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - runhaskell Setup configure -O \ - --enable-split-objs \ - --enable-shared \ - --prefix=/usr \ - --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid \ - --enable-library-profiling - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r \ - -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" \ - unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh \ - ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh \ - ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 \ - ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html \ - ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} -} diff --git a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install deleted file mode 100644 index 454c6ff37..000000000 --- a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install +++ /dev/null @@ -1,18 +0,0 @@ -HS_DIR=usr/share/haskell/haskell-hs-bibutils -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_upgrade() { - ${HS_DIR}/unregister.sh -} -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_remove() { - ${HS_DIR}/unregister.sh -} -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-json/PKGBUILD b/~fauno/haskell-json/PKGBUILD deleted file mode 100644 index 2a1da8a47..000000000 --- a/~fauno/haskell-json/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# custom variables -_hkgname=json -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-json -pkgver=0.4.4 -pkgrel=18 -pkgdesc="Support for serialising Haskell to and from JSON" -url="http://hackage.haskell.org/package/${_hkgname}" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-array=0.3.0.2" - "haskell-bytestring=0.9.1.10" - "haskell-containers=0.4.0.0" - "haskell-mtl=2.0.1.0" - "haskell-parsec=3.1.1" - "haskell-pretty=1.0.1.2" - "haskell-syb=0.3") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("010157c267e156489771a3a9466f9de74393d9bc82053c1463af8a55caaf5880") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-json/haskell-json.install b/~fauno/haskell-json/haskell-json.install deleted file mode 100644 index 10d6b7279..000000000 --- a/~fauno/haskell-json/haskell-json.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-json -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-pandoc-types/PKGBUILD b/~fauno/haskell-pandoc-types/PKGBUILD deleted file mode 100644 index 954514ebe..000000000 --- a/~fauno/haskell-pandoc-types/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# custom variables -_hkgname=pandoc-types -_licensefile=COPYING - -# PKGBUILD options/directives -pkgname=haskell-pandoc-types -pkgver=1.8.2 -pkgrel=1 -pkgdesc="Types for representing a structured document" -url="http://johnmacfarlane.net/pandoc" -license=("GPL") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-containers=0.4.0.0" - "haskell-syb=0.3") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("6a580be1ec25a747db2ee9df1c98b1f3a778493b98e5148bf8ce5ed1289e9013") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install deleted file mode 100644 index 34622807c..000000000 --- a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-pandoc-types -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-tagsoup/PKGBUILD b/~fauno/haskell-tagsoup/PKGBUILD deleted file mode 100644 index 0de1f165b..000000000 --- a/~fauno/haskell-tagsoup/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# custom variables -_hkgname=tagsoup -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-tagsoup -pkgver=0.12.3 -pkgrel=1 -pkgdesc="Parsing and extracting information from (possibly malformed) HTML/XML documents" -url="http://community.haskell.org/~ndm/tagsoup/" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-bytestring=0.9.1.10" - "haskell-containers=0.4.0.0" - "haskell-text=0.11.0.5") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("8bed50b3958a794422563ad93d82fb6d4e806d1884623f35f454ff360d9b8138") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-tagsoup/haskell-tagsoup.install b/~fauno/haskell-tagsoup/haskell-tagsoup.install deleted file mode 100644 index dc61b4049..000000000 --- a/~fauno/haskell-tagsoup/haskell-tagsoup.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-tagsoup -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-texmath/PKGBUILD b/~fauno/haskell-texmath/PKGBUILD deleted file mode 100644 index 95e88912a..000000000 --- a/~fauno/haskell-texmath/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# custom variables -_hkgname=texmath -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-texmath -pkgver=0.5.0.1 -pkgrel=19 -pkgdesc="Conversion of LaTeX math formulas to MathML." -url="http://github.com/jgm/texmath" -license=("GPL") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-containers=0.4.0.0" - "haskell-parsec=3.1.1" - "haskell-syb=0.3" - "haskell-xml=1.3.9") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-texmath/haskell-texmath.install b/~fauno/haskell-texmath/haskell-texmath.install deleted file mode 100644 index b95fd0d9f..000000000 --- a/~fauno/haskell-texmath/haskell-texmath.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-texmath -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-xml/PKGBUILD b/~fauno/haskell-xml/PKGBUILD deleted file mode 100644 index fc42941b3..000000000 --- a/~fauno/haskell-xml/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# custom variables -_hkgname=xml -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-xml -pkgver=1.3.9 -pkgrel=1 -pkgdesc="A simple XML library." -url="http://code.galois.com" -license=("BSD3") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "sh" - "haskell-bytestring=0.9.1.10") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("821b368d5b06e695f9a3d35e92b3159c500dbe03f0bc04b0229e5da65b99a6eb") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-xml/haskell-xml.install b/~fauno/haskell-xml/haskell-xml.install deleted file mode 100644 index 741ef9ee0..000000000 --- a/~fauno/haskell-xml/haskell-xml.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-xml -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/haskell-zip-archive/PKGBUILD b/~fauno/haskell-zip-archive/PKGBUILD deleted file mode 100644 index 0d0d91a11..000000000 --- a/~fauno/haskell-zip-archive/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# custom variables -_hkgname=zip-archive -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-zip-archive -pkgver=0.1.1.7 -pkgrel=20 -pkgdesc="Library for creating and modifying zip archives." -url="http://github.com/jgm/zip-archive" -license=("GPL") -arch=('i686' 'x86_64') -makedepends=() -depends=("ghc=7.0.3-2" - "haskell-binary=0.5.0.2-8" - "haskell-digest=0.0.1.0-1" - "haskell-mtl=2.0.1.0-3.1" - "haskell-unix=2.4.2.0-2" - "haskell-utf8-string=0.3.6-7.2" - "haskell-zlib=0.5.3.1-2.1") -options=('strip') -source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=("88c096d469d8b4d816dbe15571f2c1e61e31c1cd67f931672240063a51d8a2e0") - -# PKGBUILD functions -build() { - cd ${srcdir}/${_hkgname}-${pkgver} - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/${pkgname} \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script - sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { - cd ${srcdir}/${_hkgname}-${pkgver} - install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh - install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh - install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries - ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname} - runhaskell Setup copy --destdir=${pkgdir} - install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} -} diff --git a/~fauno/haskell-zip-archive/haskell-zip-archive.install b/~fauno/haskell-zip-archive/haskell-zip-archive.install deleted file mode 100644 index c19836db7..000000000 --- a/~fauno/haskell-zip-archive/haskell-zip-archive.install +++ /dev/null @@ -1,26 +0,0 @@ -# custom variables -pkgname=haskell-zip-archive -HS_DIR=usr/share/haskell/${pkgname} - -# functions -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_upgrade() { - ${HS_DIR}/unregister.sh -} - -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} - -pre_remove() { - ${HS_DIR}/unregister.sh -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} diff --git a/~fauno/kyotocabinet/PKGBUILD b/~fauno/kyotocabinet/PKGBUILD deleted file mode 100644 index 1636bfda0..000000000 --- a/~fauno/kyotocabinet/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Alexander Duscheleit <jinks@archlinux.us> -# Contributor: Joaquim Pedro (osmano807) <osmano807@gmail.com> -pkgname=kyotocabinet -pkgver=1.2.76 -pkgrel=1 -pkgdesc="a modern implementation of DBM in C++" -arch=('i686' 'x86_64') -url="http://fallabs.com/kyotocabinet" -license=('LGPL3') -makedepends=('gcc>=3.1' 'make' 'pkgconfig' 'zlib') -depends=('zlib' 'gcc-libs') -source=("http://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz") - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make install DESTDIR="$pkgdir/" -} -sha512sums=('278db7b327eb4c21bf0137d9aa14fb67d74d5ce7ed1cb29fc9120d157a60de165ec0cf842903eb7952e8f998045ae585b958977fa973ba0e0773381de71d9f6a') diff --git a/~fauno/kyototycoon/PKGBUILD b/~fauno/kyototycoon/PKGBUILD deleted file mode 100644 index af88f6020..000000000 --- a/~fauno/kyototycoon/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Alexander Duscheleit <jinks@archlinux.us> -pkgname=kyototycoon -pkgver=0.9.56 -pkgrel=1 -pkgdesc="A lightweight conncurent remote frontend for Kyoto Cabinet." -arch=('i686' 'x86_64') -url="http://fallabs.com/kyototycoon" -license=('GPL3') -depends=('zlib' 'kyotocabinet') -source=("http://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz") -sha256sums=('553e4ea83237d9153cc5e17881092cefe0b224687f7ebcc406b061b2f31c75c6') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make install DESTDIR="$pkgdir/" -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/ldapscripts/PKGBUILD b/~fauno/ldapscripts/PKGBUILD deleted file mode 100644 index 59080b1cf..000000000 --- a/~fauno/ldapscripts/PKGBUILD +++ /dev/null @@ -1,20 +0,0 @@ -pkgname=ldapscripts -pkgver=2.0.1 -pkgrel=1 -pkgdesc="Shell scripts that allow to manage POSIX accounts (users, groups, machines) in an LDAP directory" -arch=('any') -url="http://contribs.martymac.org/" -license=('GPL') -depends=('sharutils') -source=(http://contribs.martymac.org/ldapscripts/${pkgname}-${pkgver}.tgz) -md5sums=('212a62b3e808faf8d347429ccd2cef09') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" \ - ETCDIR=/etc/ldapscripts \ - MANDIR=/usr/share/man \ - LIBDIR=/usr/share/ldapscripts \ - PREFIX=/usr install -} diff --git a/~fauno/librest/PKGBUILD b/~fauno/librest/PKGBUILD deleted file mode 100644 index a66c4559e..000000000 --- a/~fauno/librest/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Berseker <berseker86 at gmail dot com> - -pkgname=librest -_realname=rest - -pkgver=0.7.10 -pkgrel=1 -pkgdesc="a library to access 'RESTful' web services" -arch=('i686' 'x86_64') -url="http://moblin.org/projects/librest/" -license=('GPL') -source=(http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/${_realname}-${pkgver}.tar.bz2) -options=('!libtool') -depends=('libsoup-gnome' 'libxml2') -makedepends=('gtk-doc') - -build() { - cd "$srcdir/${_realname}-${pkgver}" - - ./configure --prefix=/usr #--without-gnome - make -} - -package() { - cd "$srcdir/${_realname}-${pkgver}" - make DESTDIR="$pkgdir/" install -} -md5sums=('f47850d26bfb6148d1a3db9e74426e20') diff --git a/~fauno/localepurge/PKGBUILD b/~fauno/localepurge/PKGBUILD deleted file mode 100644 index 263776a01..000000000 --- a/~fauno/localepurge/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Francesco Groccia <frgroccia gmail.com> -# Contributor: Dincer Celik <dincer@bornovali.com> - -pkgname=localepurge -pkgver=0.6.3 -pkgrel=2 -pkgdesc="Script to remove disk space wasted for unneeded localizations." -arch=('any') -url="http://packages.debian.org/source/sid/localepurge" -license=('GPL') -backup=('etc/locale.nopurge') -source=("http://ftp.de.debian.org/debian/pool/main/l/localepurge/${pkgname}_${pkgver}.tar.gz" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.8.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.config.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/locale.nopurge") -sha256sums=('02f7e4a8b5919221a736abb3a937dffc48ffd275f0968e56612d518e1e69c30b' - '3958818b2d54c9ca32a1974d757c3303b6e8e1b81d4302dfaec8b8a7af54d17d' - '3d45b1da93a0fc30dd3ae28d4ef7b319340c5ebaa302f4e375793934262e61fc' - '1cf4c0e9651589502f953ae25654e5b5347de18995055adfb7a6d183a1c4c912' - 'b9c28be93fa47d4f0315972159e501d9eef28bbab7ffe6e8e7c4a13c359f35e8') - -build() -{ - patch -uN ${srcdir}/${pkgname}/usr/sbin/localepurge < ${srcdir}/localepurge.patch - patch -uN ${srcdir}/${pkgname}/debian/localepurge.8 < ${srcdir}/localepurge.8.patch - patch -uN ${srcdir}/${pkgname}/debian/localepurge.config < ${srcdir}/localepurge.config.patch - install -D -m755 ${srcdir}/${pkgname}/usr/sbin/localepurge ${pkgdir}/usr/sbin/localepurge - install -D -m644 ${srcdir}/${pkgname}/debian/localepurge.8 ${pkgdir}/usr/share/man/man8/localepurge.8 - install -D -m755 ${srcdir}/${pkgname}/debian/localepurge.config ${pkgdir}/usr/sbin/localepurge.config - install -D -m644 locale.nopurge ${pkgdir}/etc/locale.nopurge - if [ ! -e /var/cache/localepurge/localelist ]; then - find /usr/share/locale -maxdepth 1 -type d -name "*" -printf "%f\n" | grep "^[a-z]" | cut -d" " -f1 | sort -u > ${srcdir}/localelist - else - cp /var/cache/localepurge/localelist ${srcdir}/localelist - fi - install -D -m644 ${srcdir}/localelist ${pkgdir}/var/cache/localepurge/localelist -} diff --git a/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD deleted file mode 100644 index 6fc5b1f16..000000000 --- a/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# $Id: PKGBUILD 60835 2011-12-18 22:14:40Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -_cross=mips64el-unknown-linux-gnu -pkgname=${_cross}-binutils -pkgver=2.22 -pkgrel=1 -_date=20111227 -_xprefix=/usr -pkgdesc="A set of programs to assemble and manipulate binary and object files" -arch=(i686 x86_64) -group=('mips64el-devel') -license=(GPL) -options=(!libtool) -url="http://www.gnu.org/software/binutils/" -depends=('glibc' 'zlib') -#makedepends=("${_cross}-libtool") -source=(http://mirrors.kernel.org/archlinux/other/binutils/binutils-${pkgver}_${_date}.tar.bz2) -md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d') - -build() { - cd $srcdir/binutils - - #export PATH=/usr/${_cross}/bin/:$PATH - - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=${_xprefix} \ - --program-prefix=${_cross}- \ - --enable-shared \ - --disable-multilib \ - --with-lib-path=${_xprefix}/lib/binutils/${_cross} \ - --disable-nls \ - --target=${_cross} \ - --host=${CHOST} \ - --build=${CHOST} \ - --with-sysroot=/usr/${CHOST}/${_cross} \ - - make configure-host - make tooldir=$pkgdir/${_xprefix} - -} - -package() { - cd $srcdir/binutils - - make prefix=$pkgdir/${_xprefix} tooldir=$pkgdir/${_xprefix} install - - mkdir -p $pkgdir/${_xprefix}/lib/binutils/${_cross} - cp -v include/libiberty.h $pkgdir/${_xprefix}/lib/binutils/${_cross} - - rm -f $pkgdir/${_xprefix}/man/man1/{dlltool,nlmconv,windres}* - - rm -f $pkgdir/usr/bin/ar - rm -f $pkgdir/usr/bin/as - rm -f $pkgdir/usr/bin/ld - rm -f $pkgdir/usr/bin/nm - rm -f $pkgdir/usr/bin/objdump - rm -f $pkgdir/usr/bin/ranlib - rm -f $pkgdir/usr/bin/strip - rm -f $pkgdir/usr/bin/objcopy - rm -f $pkgdir/usr/lib/libiberty.a - rm -rf $pkgdir/usr/share -} diff --git a/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD deleted file mode 100644 index becc02cfe..000000000 --- a/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 60837 2011-12-18 22:34:22Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -_cross=mips64el-unknown-linux-gnu -pkgname=${_cross}-gcc-base -pkgver=4.6.2 -pkgrel=1 -pkgdesc="The GNU Compiler Collection" -arch=(i686 x86_64) -license=('GPL' 'LGPL') -url="http://gcc.gnu.org" -depends=("${_cross}-binutils" 'libmpc' 'libelf') -options=(!libtool !emptydirs zipman docs !strip) -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-core-${pkgver}.tar.bz2) -md5sums=('780f614ab18c7a9066dec6387d7490b2') - -build() { - cd $srcdir/gcc-$pkgver - - export CFLAGS="-O2 -pipe" - export CXXFLAGS="-O2 -pipe" - - [ $NOEXTRACT -eq 1 ] || rm -rf build - mkdir build - cd build - - [ $NOEXTRACT -eq 1 ] || ../configure --prefix=/usr \ - --target=${_cross} \ - --host=${CHOST} \ - --build=${CHOST} \ - --enable-shared --disable-nls --enable-languages=c --enable-multilib \ - --with-local-prefix=/usr/lib/${_cross} \ - --with-as=/usr/bin/${_cross}-as --with-ld=/usr/bin/${_cross}-ld \ - --with-sysroot=/usr/$CHOST/${_cross} - - make all-gcc all-target-libgcc -} - -package() { - cd $srcdir/gcc-$pkgver/build - - export CFLAGS="-O2 -pipe" - export CXXFLAGS="-O2 -pipe" - - make DESTDIR=$pkgdir install-gcc install-target-libgcc - - rm -f $pkgdir/usr/share/man/man7/fsf-funding.7* - rm -f $pkgdir/usr/share/man/man7/gfdl.7* - rm -f $pkgdir/usr/share/man/man7/gpl.7* - rm -rf $pkgdir/usr/share/info - - cp -r $pkgdir/usr/libexec/* $pkgdir/usr/lib/ - rm -rf $pkgdir/usr/libexec - - # strip it manually - strip $pkgdir/usr/bin/* 2>/dev/null || true - find $pkgdir/usr/lib -type f -exec ${_cross}-strip {} \; 2>/dev/null || true -} diff --git a/~fauno/spawn-fcgi-php/PKGBUILD b/~fauno/spawn-fcgi-php/PKGBUILD deleted file mode 100644 index a49858417..000000000 --- a/~fauno/spawn-fcgi-php/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com> -pkgname=spawn-fcgi-php -pkgver=1.1.1 -pkgrel=1 -pkgdesc="script to provide simple cgi-php support for nginx http daemon" -arch=('any') -url="http://aur.archlinux.org/packages.php?ID=37439" -license=('GPL') -depends=('php-cgi' 'spawn-fcgi') -backup=('etc/conf.d/spawn-fcgi-php.conf') -source=( - 'spawn-fcgi-php' - 'spawn-fcgi-php.conf' - 'server.conf.example' - 'nginx.conf.example' - 'public_html.conf.example' -) - -build() { - # Install script and configuration file - install -Dm775 spawn-fcgi-php \ - ${pkgdir}/etc/rc.d/spawn-fcgi-php || return 1 - install -Dm664 spawn-fcgi-php.conf \ - ${pkgdir}/etc/conf.d/spawn-fcgi-php.conf || return 1 - - # Install examples of configuration - install -Dm664 public_html.conf.example \ - ${pkgdir}/etc/nginx/conf/public_html.conf.example || return 1 - install -Dm644 server.conf.example \ - ${pkgdir}/etc/nginx/conf/server.conf.example || return 1 - install -Dm664 nginx.conf.example \ - ${pkgdir}/etc/nginx/conf/nginx.conf.example || return 1 -} - -# vim:set ts=2 sw=2 et ft=sh: -md5sums=('9088c130caebf43902f958c985200811' - 'a8bfb0b50120c91449c8a08144706c9b' - 'c02189e88531386cd67d3401924c18ae' - '00bf49fc8a0d8c9f6c96305fae8471d4' - '9202545dc3701d5933804890312667e6') diff --git a/~fauno/spawn-fcgi-php/nginx.conf.example b/~fauno/spawn-fcgi-php/nginx.conf.example deleted file mode 100644 index 35d0868f3..000000000 --- a/~fauno/spawn-fcgi-php/nginx.conf.example +++ /dev/null @@ -1,34 +0,0 @@ -user http; -worker_processes 1; - -error_log logs/error.log; - -#pid logs/nginx.pid; - -events { - worker_connections 1024; -} - - -http { - include mime.types; - default_type application/octet-stream; - - sendfile on; - #tcp_nopush on; - - #keepalive_timeout 0; - keepalive_timeout 65; - - #gzip on; - - # the file with mapping username per port - include /etc/nginx/conf/map_user2port.conf; - #or only - #include map_user2port.conf - - # Servers configurations ... - include server.conf.example; - - } -} diff --git a/~fauno/spawn-fcgi-php/public_html.conf.example b/~fauno/spawn-fcgi-php/public_html.conf.example deleted file mode 100644 index 74f6c2b4b..000000000 --- a/~fauno/spawn-fcgi-php/public_html.conf.example +++ /dev/null @@ -1,16 +0,0 @@ -location ~ ^/~([^/]+)(/?.*)$ { - set $username $1; - alias /home/$1/public_html/$2; - autoindex on; - location ~ \.php { - #fastcgi_pass 127.0.0.1:9000; - # or for multiusers, one port per user - fastcgi_pass 127.0.0.1:$port; - # or for unix domain sockets - #fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.$username.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include /etc/nginx/conf/fastcgi_params; - } -} -# vi: ft=nginx diff --git a/~fauno/spawn-fcgi-php/server.conf.example b/~fauno/spawn-fcgi-php/server.conf.example deleted file mode 100644 index 06160cfb2..000000000 --- a/~fauno/spawn-fcgi-php/server.conf.example +++ /dev/null @@ -1,22 +0,0 @@ -server { - listen 80; - server_name domain.tld; - root /srv/http/domain.tld; - - index index.php index.html; - - access_log logs/access.log; - error_log logs/error.log; - - location ~ \.php { - # TCP - fastcgi_pass 127.0.0.1:9000; - # or SOCKET - #fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include /etc/nginx/conf/fastcgi_params; - } - include public_html.conf.example; -} -# vi: ft=nginx diff --git a/~fauno/spawn-fcgi-php/spawn-fcgi-php b/~fauno/spawn-fcgi-php/spawn-fcgi-php deleted file mode 100755 index 607ebab8c..000000000 --- a/~fauno/spawn-fcgi-php/spawn-fcgi-php +++ /dev/null @@ -1,460 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -NAME=spawn-fcgi-php -CONF="/etc/conf.d/spawn-fcgi-php.conf" -#------------------------------------------------------------------------------- -# Return value for: -# for check_process -PROCNOPIDEXIST=-1 # none process is running and pidfile exist -PROCNOPIDNO=0 # none process is running -PROCRUNPIDEXIST=1 # process is running, pidfile exist and has size >0b -PROCRUNPID0=2 # process is running, pidfile has size 0b -PROCRUNPIDNO=3 # process is running, pidfile doesn't exist -OTHERERROR=255 -# check_daemon -DAEMONEXIST=0 -DAEMONNOEXIST=1 -#------------------------------------------------------------------------------- - -# Reading configuration -if [ -r "$CONF" ]; then - . $CONF -else - stat_fail - stat_busy "File $CONF not found" - stat_die -fi -check_config(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_config -# DESCRIPTION: Check configuration file -# PARAMETERS: -# RETURNS: 0 if all right -#=============================================================================== - # testing DAEMON - if [ ! -x "$DAEMON" ]; then - stat_fail - stat_busy "File $DAEMON isn't executable" - stat_die - fi - # testing USER and GROUP - if [ -z "$USER" -o -z "$GROUP" ]; then - stat_fail - stat_busy "The variable USER/GROUP isn't defined. I cann't run process $PHPCGI as root." - stat_die - fi - # testing directory of socket - if [ -n "$SOCKET" ]; then - local sockdir=$(dirname "$SOCKET") - if [ ! -d "$sockdir" ]; then - mkdir -p "$sockdir" - fi - fi - # testing directory for user's socket - if [ -n "$USERSOCKET" ]; then - local socksdir=$(dirname "$USERSOCKET") - if [ ! -d "$socksdir" ]; then - mkdir -p "$socksdir" - fi - fi - # testing directory of pidfile - if [ -n "$PIDFILE" ]; then - if [ ! -d $(dirname $PIDFILE) ]; then - mkdir -p $(dirname $PIDFILE) - fi - fi - # testing the program php-cgi - if [ -z "$PHPCGI" ]; then - stat_fail - stat_busy "The variable PHPCGI isn't defined" - stat_die - else - if [ ! -x "$PHPCGI" ]; then - stat_fail - stat_busy "The program $PHPCGI isn't executable" - stat_die - fi - fi - return 0 -} #}}} -check_process(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_process -# DESCRIPTION: Check that process is alive -# PARAMETERS: name of process and/or pidfile -# RETURNS: look at the beginning of the script -#=============================================================================== - local process - local pidfile - if [ $# -eq 2 ]; then - process=$1 - pidfile=$2 - elif [ $# -eq 1 ]; then - process=$1 - else - return $OTHERERROR - fi - - if get_pid $process >/dev/null; then - # process is running - if [ -s "$pidfile" ]; then - return $PROCRUNPIDEXIST - elif [ -r "$pidfile" ]; then - return $PROCRUNPID0 - else - return $PROCRUNPIDNO - fi - else - # process doesn't runnig - if [ -r "$pidfile" ]; then - return $PROCNOPIDEXIST - else - return $PROCNOPIDNO - fi - fi -} #}}} -get_userpid(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: get_userpid -# DESCRIPTION: looking for pid of process belong to user -# PARAMETERS: name of user, name of process -# RETURNS: pid of process or 1 if error -#=============================================================================== - local user=$1 - local process=$2 - if [ -n "$user" -a -n "$process" ]; then - local pid=$(ps aux | \ - awk -vuser=$user -vprocess=$process \ - '$1 == user && $8 ~ "s" && $11 == process {print $2}') - if [[ "$pid" =~ ^[0-9]+$ ]]; then - echo $pid - else - return 1 - fi - else - return 1 - fi -} #}}} -check_daemon(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_daemon -# DESCRIPTION: check that daemon exist in directory -# PARAMETERS: name of daemon -# RETURNS: look at the beginning of the script -#=============================================================================== - if ck_daemon $NAME; then - return $DAEMONEXIST - else - return $DAEMONEXIST - fi -} #}}} -start(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: start -# DESCRIPTION: check configuration, if a process is already running and running php-cgi daemon -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Checking configuration" - check_config && - stat_done || \ - stat_die - - stat_busy "Starting server $NAME" #{{{ - check_process $PHPCGI $PIDFILE - local error=$? - if [ $error -ge $PROCRUNPIDEXIST -a $error -le $PROCRUNPIDNO ]; then - stat_fail - case $error in - $PROCRUNPIDEXIST) - stat_busy "The process $PHP is running" - ;; - $PROCRUNPID0) - stat_busy "The process $PHP is running and pidfile has size 0b" - ;; - $PROCRUNPIDNO) - stat_busy "The process $PHP is running and pidfile doesn't exist" - ;; - esac - stat_die $error - elif [ $error -eq $OTHERERROR ]; then - stat_fail - stat_busy "Something went wrong..." - stat_die $returnvalue - fi - - # run the main daemon - $DAEMON $OPTIONS >/dev/null - if [ $? -eq 0 ]; then - add_daemon $NAME - stat_done - else - stat_die - fi - #}}} - #{{{ start daemons for multiusers - if [ -n "$STARTMULTI" ]; then - stat_busy "Starting server $NAME for multiusers" - gen_all_uid - if [ -z "$USERSOCKET" ]; then - # Generate file map user 2 port - :>$MAPUSER2PORT - cat >> $MAPUSER2PORT <<- EOF - # Map username to port - map \$username \$port { - default $PORT; - - EOF - local userport=$PORT - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - userport=$((userport+1)) - echo -e "$login $userport;" >> $MAPUSER2PORT - local gid=$(id -g $login) - local group=$(gid2group $gid) - if [ -n "$USERPIDFILE" ]; then - local userpidfile=${USERPIDFILE}.${login}.pid - fi - USEROPTIONS="-a $IPADDR -p $userport -u $login ${group:+-g $group} -f $PHPCGI -C ${USER_PHP_FCGI_CHILDREN:-1} ${userpidfile:+-P $userpidfile}" - $DAEMON $USEROPTIONS &>/dev/null - if [ $? -ne 0 ]; then - stat_die - fi - fi - done - echo '}' >> $MAPUSER2PORT - stat_done - elif [ -n "$USERSOCKET" ]; then - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - local gid=$(id -g $login) - local group=$(gid2group $gid) - if [ -n "$USERPIDFILE" ]; then - local userpidfile=${USERPIDFILE}.${login}.pid - fi - local usersocket=${USERSOCKET}.${login}.sock - USEROPTIONS="-s ${usersocket} -u $login ${group:+-g $group} -f $PHPCGI -C ${USER_PHP_FCGI_CHILDREN:-1} ${userpidfile:+-P $userpidfile}" - $DAEMON $USEROPTIONS &>/dev/null - if [ $? -ne 0 ]; then - stat_die - fi - fi - done - stat_done - fi - fi - #}}} -} #}}} -stop(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: stop -# DESCRIPTION: check whether a process is running, stop the daemon php-cgi -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Stopping server $NAME" #{{{ - # for main daemon - if ! get_pid $PHPCGI &>/dev/null; then - stat_fail - stat_busy "None process $PHPCGI isn't running" - stat_die - else - #process php-cgi is running - if [ -s "$PIDFILE" ]; then - # pidfile exists - kill $(<$PIDFILE) - if [ $? -eq 0 ]; then - rm -f $PIDFILE - rm_daemon $NAME - stat_done - else - stat_die - fi - else #pidfile doesn't exist - if [ -r "$PIDFILE" ]; then - #pidfile exists and has size 0b - stat_busy "Pidfile $PIDFILE exists and has size 0b.Removing it" - rm -f "$PIDFILE" && \ - stat_done || \ - stat_fail - fi - killall -9 $PHPCGI - if [ $? -eq 0 ]; then - stat_done - rm_daemon $NAME - else - stat_die - fi - fi - fi - #}}} - #{{{ for multiusers - if [ -n "$STARTMULTI" ]; then - # waiting to kill the main daemon - sleep 1 - if get_pid $PHPCGI &>/dev/null; then - stat_busy "Stopping server $NAME for multiusers" - killall $PHPCGI - # cleaning pidfiles - if [ -n "$USERPIDFILE" ]; then - gen_all_uid - for UserID in ${ALLUID[@]}; do - local login=$(uid2login $UserID) - if [ $? -eq 0 ]; then - rm -f ${USERPIDFILE}.${login}.pid - fi - done - fi #$USERPIDFILE - stat_done - fi - fi - #}}} -} #}}} -restart(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: restart -# DESCRIPTION: stop and start service -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Restarting server $NAME" - stop - sleep 1 - start -} #}}} -status(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: status -# DESCRIPTION: check status of service -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - if ! get_pid $PHPCGI>/dev/null; then - stat_busy "None process $PHPCGI isn't running" - stat_done - else - stat_busy "Process $PHPCGI is running" - stat_done - if [ -s "$PIDFILE" ]; then - stat_busy "It's spawned by process: $(cat $PIDFILE|tr '\n' ' ')"; - stat_done - elif [ -r "$PIDFILE" ]; then - stat_fail - stat_busy "Pidfile $PIDFILE exists but has size 0b" - else - stat_busy "Pidfile $PIDFILE doesn't exist" - stat_done - fi - if [ -n "$STARTMULTI" -a -n "$USERSSTATUS" ]; then - gen_all_uid - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - if [ -n "$USERPIDFILE" ]; then - # USERPIDFILE defined - local userpidfile=${USERPIDFILE}.${login}.pid - if [ -s "$userpidfile" ]; then - stat_busy "Process $PHPCGI of user $login is spawned by process: $(cat $userpidfile|tr '\n' ' ')"; - stat_done - fi - else - local pid=$(get_userpid $login $PHPCGI) - if [ $? -eq 0 ]; then - stat_busy "Process $PHPCGI for user $login is running and it's spawned by: $pid"; - stat_done - fi - fi - fi - done - fi - fi -} #}}} -uid2login(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: uid2login -# DESCRIPTION: convert uid to username -# PARAMETERS: uid -# RETURNS: name of user for uid -#=============================================================================== - local uid=$1 - if [ ! $uid -gt 0 ]; then - return 1 - fi - local username=$(getent passwd | awk -vuid=$uid -F: '$3 == uid {print $1}') - if [ -z "$username" ]; then - return 1 - else - echo $username - fi -} #}}} -gid2group(){ #{{{ - #=== FUNCTION ================================================================ - # NAME: uid2group - # DESCRIPTION: convert gid to name of group - # PARAMETERS: gid - # RETURNS: name of group for gid - #=============================================================================== - local gid=$1 - if [ ! $gid -gt 0 ]; then - return 1 - fi - local groupname=$(getent group | awk -vgid=$1 -F: '$3 == gid {print $1}') - if [ -z "$groupname" ]; then - return 1 - else - echo $groupname - fi -} #}}} -gen_all_uid(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: gen_all_uid -# DESCRIPTION: Generate array of all UID -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - ALLUID=() - if [ -n "$RANGEUID" -a ${#RANGEUID[@]} -gt 0 ]; then - for line in ${RANGEUID[@]/,/ }; do - (( line )) || stat_die # not a number - if [[ ${line/-/} != $line ]]; then - for ((i=${line%-*}; i<=${line#*-}; i++)); do - ALLUID+=($i) - done - else - ALLUID+=($line) - fi - done - elif [ $FIRSTUID -gt 1 -a $LASTUID -gt 1 -a $LASTUID -ge $FIRSTUID ]; then - for ((line=FIRSTUID; line<=LASTUID; line++)); do - (( line )) || stat_die #not a number - ALLUID+=($line) - done - else - echo "Error: Wrong range UID. Change RANGEUID or FIRSTUID and LASTUID" - exit 1 - fi -} #}}} -case $1 in - start) - start - ;; - stop) - stop - ;; - restart) - restart - ;; - status) - status - ;; - *) - echo "Usage: $0 start|stop|restart|status" -esac diff --git a/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf b/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf deleted file mode 100644 index d87520c1d..000000000 --- a/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf +++ /dev/null @@ -1,60 +0,0 @@ -# vi: ft=sh -# run PHPCGI as -USER=http -GROUP=http - -# Name of daemon -DAEMON="/usr/bin/spawn-fcgi" -PIDFILE="/var/run/spawn-fcgi-php.pid" -# spawn the process -PHPCGI="/usr/bin/php-cgi" - -#------------------------------------------------------------------------------- -# Options for php-cgi -#------------------------------------------------------------------------------- -# (PHP only) Number of children to spawn -PHP_FCGI_CHILDREN=4 -# or export PHP_FCGI_CHILDREN -# PHP FastCGI proccess exit after requests: -export PHP_FCGI_MAX_REQUESTS=1000 -# Choose ONE of PORT/IPADDR (for TCP) OR SOCKET (for unix domain sockets) -IPADDR=127.0.0.1 -PORT=9000 -#SOCKET=/var/run/spawn-fcgi/spawn-fcgi.sock -# Options only for socket -#MODE=0644 -#SOCKET_USER=other -#SOCKET_GROUP=other - -#------------------------------------------------------------------------------- -# Options for spawn-fcgi -#------------------------------------------------------------------------------- -# Number of children to fork, defaults to 1. -SPAWN_FCGI_CHILDREN=1 - - -#------------------------------------------------------------------------------- -# For many users -#------------------------------------------------------------------------------- -# Run separate processes for users with UIDs from the range RANGEUID -# uncomment STARTMULTI if you want this -STARTMULTI=yes -# Base user's socket, uncomment to use socket instead IPADDR:USERPORT -USERSOCKET='/var/run/spawn-fcgi/spawn-fcgi' -# file with mapping user to port -MAPUSER2PORT='/etc/nginx/conf/map_user2port.conf' -# Base user's pidfile -#USERPIDFILE='/var/run/spawn-fcgi-php' -# range for UIDs, use the dash for range and split groups by spaces e.g. 1000-1003 1005 1010-1020, use parenthis for all -RANGEUID=(1000-1001) -# (PHP only) Number of children to spawn -USER_PHP_FCGI_CHILDREN=1 -# for status, comment if you don't want print status for users -#USERSSTATUS=yes - -OPTIONS="-u $USER -g $GROUP -f $PHPCGI -C ${PHP_FCGI_CHILDREN:-4} ${PIDFILE:+-P $PIDFILE} -F ${SPAWN_FCGI_CHILDREN:-1} " -if [ -n "$SOCKET" ]; then - OPTIONS+="-s $SOCKET ${MODE:+-M $MODE} ${SOCKET_USER:+-U $SOCKET_USER} ${SOCKET_GROUP:+-G $SOCKET_GROUP} " -else - OPTIONS+="-a $IPADDR -p $PORT " -fi diff --git a/~fauno/sphinx/PKGBUILD b/~fauno/sphinx/PKGBUILD deleted file mode 100644 index fa5a7935e..000000000 --- a/~fauno/sphinx/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: dryes <joswiseman@gmail> -# Contributor: Dan Serban -# Contributor: Vishnevsky Roman <aka dot x0x01 at gmail dot com> -# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> -pkgname='sphinx' -pkgver=2.0.5 -pkgrel=2 -pkgdesc='Free open-source SQL full-text search engine.' -arch=('i686' 'x86_64') -url='http://www.sphinxsearch.com/' -license=('GPL') -depends=('unixodbc' 'expat' 'libmysqlclient' 'postgresql-libs') -optdepends=('postgresql') -backup=('etc/conf.d/sphinx') -source=("http://sphinxsearch.com/files/${pkgname}-${pkgver}-release.tar.gz" 'sphinx.conf.d' 'sphinx.rc.d') - -build() { - sed -i '15199,15199 s/x00/x21/' "${srcdir}/${pkgname}-${pkgver}-release/src/searchd.cpp" - - cd "${srcdir}/${pkgname}-${pkgver}-release" - ./configure --prefix=/usr --exec-prefix=/usr --localstatedir=/var/lib/sphinx \ - --sysconfdir=/etc/sphinx --with-pgsql --enable-id64 - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}-release" - - make DESTDIR="${pkgdir}" install - - for _f in "${pkgdir}/usr/bin/"*; do - ln -s "/usr/bin/${_f##*/}" "${pkgdir}/usr/bin/sphinx-${_f##*/}" - done - - install -Dm755 "${srcdir}/sphinx.rc.d" "${pkgdir}/etc/rc.d/sphinx" - install -Dm644 "${srcdir}/sphinx.conf.d" "${pkgdir}/etc/conf.d/sphinx" -} - -md5sums=('e71fdb5b0c2911247d48fb30550b9584' - '48e3e1857919d26d5104a48caffb531b' - 'd886222593c6bba891fd3ce982c90c00') diff --git a/~fauno/sphinx/sphinx.conf.d b/~fauno/sphinx/sphinx.conf.d deleted file mode 100644 index c809e56fa..000000000 --- a/~fauno/sphinx/sphinx.conf.d +++ /dev/null @@ -1,5 +0,0 @@ -# -# Arguments to be passed to the sphinx daemon -# - -SPHINX_ARGS="" diff --git a/~fauno/sphinx/sphinx.rc.d b/~fauno/sphinx/sphinx.rc.d deleted file mode 100644 index 64c8f01e7..000000000 --- a/~fauno/sphinx/sphinx.rc.d +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/sphinx - -PID=$(pidof -o %PPID /usr/bin/sphinx-searchd) -case $1 in -start) - stat_busy "Starting Sphinx Daemon" - - if [[ -z $PID ]] && /usr/bin/sphinx-searchd $SPHINX_ARGS; then - - PID=$(pidof -o %PPID /usr/bin/sphinx-searchd) - echo "$PID" > /var/run/sphinx-searchd.pid - add_daemon sphinx - stat_done - else - stat_fail - exit 1 - fi - ;; - -stop) - stat_busy "Stopping Sphinx Daemon" - if [[ ! -z $PID ]] && kill "$PID" &>/dev/null; then - rm_daemon sphinx - stat_done - else - stat_fail - exit 1 - fi - ;; - -restart) - $0 stop - $0 start - ;; - -*) - echo "Usage: $0 {start|stop|restart}" >&2 - exit 1 - -esac diff --git a/~fauno/vala-notmuch/PKGBUILD b/~fauno/vala-notmuch/PKGBUILD deleted file mode 100644 index 0e97683a4..000000000 --- a/~fauno/vala-notmuch/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk - -pkgname=vala-notmuch -pkgver=20120112 -pkgrel=1 -pkgdesc="a notmuch address book in vala" -url="https://github.com/spaetz/vala-notmuch" -arch=('i686' 'x86_64' 'mips64el') -license=('GPL2') -makedepends=('vala') -depends=('notmuch') -install=vala-notmuch.install -source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz") - -build() { - cd "${srcdir}/${pkgname}-${pkgver}/src" - - ./make - -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - install -D -m755 src/addrlookup ${pkgdir}/usr/bin/addrlookup - -} - -# vim:set ts=2 sw=2 et: -md5sums=('99e264c0cb36e0a0f18048fb2ebd07e0') -md5sums=('ca73980225368309119cf17ff5b3f3c4') diff --git a/~fauno/vala-notmuch/SRCBUILD b/~fauno/vala-notmuch/SRCBUILD deleted file mode 100644 index 89b6c67ba..000000000 --- a/~fauno/vala-notmuch/SRCBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk - -pkgname=vala-notmuch -pkgver=20120112 -pkgrel=1 -pkgdesc="A notmuch address book in vala" -url="https://github.com/spaetz/vala-notmuch" -arch=('any') -license=('GPL2') -makedepends=('git') - -_gitroot="https://github.com/spaetz/vala-notmuch.git" -_gitname="${pkgname}" - -build() { - cd "$srcdir" - msg 'Connecting to GIT server...' - - if [ -d $_gitname ] ; then - cd $_gitname; git pull origin - msg 'The local files are updated.' - else - git clone $_gitroot $_gitname - fi - - msg "GIT checkout done or server timeout" - -} - -package() { - cd ${pkgdir} - export PKGDEST=${SRCDEST} - export PKGEXT=.src.tar.xz - - git clone ${srcdir}/${pkgname} ${pkgname}-${pkgver} - -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/vala-notmuch/vala-notmuch.install b/~fauno/vala-notmuch/vala-notmuch.install deleted file mode 100644 index d1ce89da6..000000000 --- a/~fauno/vala-notmuch/vala-notmuch.install +++ /dev/null @@ -1,6 +0,0 @@ -post_install() { -echo "To use within emacs, add the following to your .emacs:" -echo "(require 'notmuch-address)" -echo "(setq notmuch-address-command "/usr/bin/addrlookup")" -echo "(notmuch-address-message-insinuate)" -} |