diff options
author | root <root@rshg047.dnsready.net> | 2011-07-19 23:13:08 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-19 23:13:08 +0000 |
commit | 94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch) | |
tree | 5f43e51e770fce190ea2732d7784460e4a34b351 | |
parent | 040215f1ca1d14472525c2562bc33e84f9728d4a (diff) |
Tue Jul 19 23:13:07 UTC 2011
60 files changed, 1642 insertions, 539 deletions
diff --git a/community-testing/exim/PKGBUILD b/community-testing/exim/PKGBUILD index 536afe51d..023f9f86e 100644 --- a/community-testing/exim/PKGBUILD +++ b/community-testing/exim/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 51832 2011-07-16 03:09:57Z angvp $ +# $Id: PKGBUILD 51959 2011-07-18 17:27:22Z dreisner $ # Maintainer: Angel Velasquez <angvp@archlinux.org> # Maintainer: judd <jvinet@zeroflux.org> pkgname=exim pkgver=4.76 -pkgrel=3 +pkgrel=4 pkgdesc="A Message Transfer Agent" arch=(i686 x86_64) url="http://www.exim.org/" @@ -16,30 +16,29 @@ depends=('db' 'pcre' 'pam' 'openssl' 'libldap') provides=('smtp-server') conflicts=('smtp-server') options=('!makeflags') -source=(ftp://mirrors.24-7-solutions.net/pub/exim/ftp/exim/exim4/exim-${pkgver}.tar.bz2 - aliases - exim - exim.logrotate +source=(ftp://mirrors.24-7-solutions.net/pub/exim/ftp/exim/exim4/exim-$pkgver.tar.bz2 + aliases + exim + exim.logrotate exim.conf.d - exim.Makefile - ) + exim.Makefile) md5sums=('58e784b33c7a2ab335ec6400346d6362' '4874006f0585253ddab027d441009757' '9aed772e87223213e8da9ca5e7376869' 'e18a535218718c5eb394ed5c9296fe06' 'b75fe4c6e960a59a25b5f51e8f61ba3a' - '61e76543476f52f136c1d6c80ac1c5a1') + '5c2891dc3535c346982fa358fbba6d31') build() { - cd ${srcdir}/${pkgname}-${pkgver} - sed -i 's|tail -1|tail -n -1|g' scripts/Configure-config.h + cd "$srcdir/$pkgname-$pkgver" + #sed -i 's|tail -1|tail -n -1|g' scripts/Configure-config.h # Make some configuration changes - cp ${srcdir}/${pkgname}.Makefile Local/Makefile + cp "$srcdir/$pkgname.Makefile" Local/Makefile make } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" install -D -m644 ../exim.logrotate ${pkgdir}/etc/logrotate.d/exim install -D -m644 ../exim.conf.d ${pkgdir}/etc/conf.d/exim install -D -m644 doc/exim.8 ${pkgdir}/usr/share/man/man8/exim.8 @@ -50,25 +49,23 @@ package() { cd build-Linux-* for i in exicyclog exim_checkaccess exim_dumpdb exim_lock\ exim_tidydb exipick exiqsumm exigrep exim_dbmbuild exim\ - exim_fixdb eximstats exinext exiqgrep exiwhat - do - install -m 0755 $i ${pkgdir}/usr/sbin + exim_fixdb eximstats exinext exiqgrep exiwhat; do + install -m 0755 "$i" "$pkgdir/usr/sbin" done - cd ${srcdir}/exim-${pkgver}/src - sed "s|/etc/aliases|/etc/mail/aliases|g" configure.default | \ - sed "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" \ - >${pkgdir}/etc/mail/exim.conf + cd "$srcdir/exim-$pkgver/src" + sed -e "s|/etc/aliases|/etc/mail/aliases|g" \ + -e "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" configure.default \ + >"$pkgdir/etc/mail/exim.conf" - cp ${srcdir}/aliases ${pkgdir}/etc/mail - cd ${pkgdir}/usr/sbin - for i in mailq rmail rsmtp runq sendmail - do - ln -s exim $i + cp "$srcdir/aliases" "$pkgdir/etc/mail" + cd "$pkgdir/usr/sbin" + for i in mailq rmail rsmtp runq sendmail; do + ln -s exim "$i" done # fhs compliancy ln -s ../sbin/exim ../lib/sendmail - mkdir -p ${pkgdir}/etc/rc.d - cp ${srcdir}/exim ${pkgdir}/etc/rc.d + mkdir -p "$pkgdir/etc/rc.d" + cp "$srcdir/exim" "$pkgdir/etc/rc.d" } diff --git a/community-testing/exim/exim.Makefile b/community-testing/exim/exim.Makefile index 125f87dfb..0a6397318 100644 --- a/community-testing/exim/exim.Makefile +++ b/community-testing/exim/exim.Makefile @@ -371,7 +371,7 @@ WITH_CONTENT_SCAN=yes # If you want to use the deprecated "demime" condition in the DATA ACL, # uncomment the line below. Doing so will also explicitly turn on the -WITH_CONTENT_SCAN=yes +# WITH_CONTENT_SCAN option. If possible, use the MIME ACL instead of # the "demime" condition. WITH_OLD_DEMIME=yes @@ -528,7 +528,7 @@ FIXED_NEVER_USERS=root # # As a strictly transient measure to ease migration to 4.73, the # WHITELIST_D_MACROS value definies a colon-separated list of macro-names -# which are permitted to be overriden from the command-line which will be +# which are permitted to be overridden from the command-line which will be # honoured by the Exim user. So these are macros that can persist to delivery # time. # Examples might be -DTLS or -DSPOOL=/some/dir. The values on the @@ -658,11 +658,11 @@ HEADERS_CHARSET="ISO-8859-1" SUPPORT_TLS=yes # Uncomment this setting if you are using OpenSSL -TLS_LIBS=-L/usr/lib -lssl -lcrypto +TLS_LIBS=-lssl -lcrypto # Uncomment these settings if you are using GnuTLS # USE_GNUTLS=yes -TLS_LIBS=-L/usr/lib -lssl -lcrypto +# TLS_LIBS=-lgnutls -ltasn1 -lgcrypt # If you are running Exim as a server, note that just building it with TLS # support is not all you need to do. You also need to set up a suitable @@ -677,17 +677,17 @@ TLS_LIBS=-L/usr/lib -lssl -lcrypto # with all your other libraries. If they are in a special directory, you may # need something like -TLS_LIBS=-L/usr/lib -lssl -lcrypto +# TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto # or -TLS_LIBS=-L/usr/lib -lssl -lcrypto +# TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt -TLS_LIBS=-L/usr/lib -lssl -lcrypto +# TLS_LIBS is included only on the command for linking Exim itself, not on any # auxiliary programs. If the include files are not in a standard place, you can # set TLS_INCLUDE to specify where they are, for example: -TLS_INCLUDE=-I/usr/include/openssl +# TLS_INCLUDE=-I/usr/local/openssl/include/ # or -TLS_INCLUDE=-I/usr/include/openssl +# TLS_INCLUDE=-I/opt/gnu/include # You don't need to set TLS_INCLUDE if the relevant directories are already # specified in INCLUDE. @@ -884,12 +884,12 @@ SUPPORT_PAM=yes # this setting. See the manual section entitled "Use of tcpwrappers" in the # chapter on building and installing Exim. # -USE_TCP_WRAPPERS=yes +# USE_TCP_WRAPPERS=yes # # You may well also have to specify a local "include" file and an additional # library for TCP wrappers, so you probably need something like this: # -USE_TCP_WRAPPERS=yes +# USE_TCP_WRAPPERS=yes # CFLAGS=-O -I/usr/local/include # EXTRALIBS_EXIM=-L/usr/local/lib -lwrap # @@ -1223,5 +1223,5 @@ PID_FILE_PATH=/var/run/exim.pid HAVE_IPV6=YES LOOKUP_LIBS=-lldap -EXTRALIBS_EXIM=-lwrap -lpam +EXTRALIBS_EXIM=-lpam # End of EDITME for Exim 4. diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index 9bfa51483..d5809b91e 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -5,7 +5,7 @@ pkgname=chmsee pkgver=1.99.03 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" @@ -35,6 +35,9 @@ package() { rm -r ${pkgdir}/usr/share/chmsee/src install -Dm644 data/chmsee.desktop.in \ ${pkgdir}/usr/share/applications/chmsee.desktop + # Fix FS#25152 + sed -i -e 's/_//g' ${pkgdir}/usr/share/applications/chmsee.desktop + # install -d ${pkgdir}/usr/share/pixmaps install -Dm644 data/chmsee-icon.png ${pkgdir}/usr/share/pixmaps install -Dm755 ${srcdir}/chmsee ${pkgdir}/usr/bin/chmsee diff --git a/community/dictd/PKGBUILD b/community/dictd/PKGBUILD index 4ccab18f5..574dba45e 100644 --- a/community/dictd/PKGBUILD +++ b/community/dictd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 41057 2011-03-03 15:30:07Z spupykin $ +# $Id: PKGBUILD 51953 2011-07-18 13:18:14Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: SmackleFunky <smacklefunky@optusnet.com.au> # Contributor: Enrico Morelli <morelli@cerm.unifi.it> pkgname=dictd pkgver=1.12.0 -pkgrel=1 +pkgrel=2 pkgdesc="Online dictionary client and server" url="http://sourceforge.net/projects/dict/" license=("GPL") @@ -16,26 +16,33 @@ backup=(etc/dict/dictd.conf etc/dict/dict.conf etc/dict/site.info etc/conf.d/dictd - etc/xinetd.d/dictd) + etc/xinetd.d/dictd + etc/dict/colorit.conf) source=(http://downloads.sourceforge.net/project/dict/dictd/dictd-$pkgver/dictd-$pkgver.tar.gz dictd dict.conf dictd.conf dictd.confd site.info - dictd.xinetd) + dictd.xinetd + colorit.conf) md5sums=('71aaf3a697ea2e9409643f11ea85b53a' '6542df4fc585773fc03f1a088730126b' 'fb72f7d8c55f84b1b37bbc8d33a8e55a' '64cd6ffdb40fb3367224f91ac44926ac' '838887fee38ae4cebd652d399b1f2266' 'b8cabf913876e544d919c7f20ff8db9e' - 'b7dbc9529df13ff895dae2b4abd080d6') + 'b7dbc9529df13ff895dae2b4abd080d6' + '978c9c079a0fc8d7d42a4cd4000190e7') build() { cd $srcdir/$pkgname-$pkgver ./configure --enable-dictorg --prefix=/usr --sysconfdir=/etc/dict make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m 0755 $srcdir/dictd $pkgdir/etc/rc.d/dictd install -D -m 0644 $srcdir/dictd.xinetd $pkgdir/etc/xinetd.d/dictd @@ -43,4 +50,5 @@ build() { install -D -m 0644 $srcdir/dict.conf $pkgdir/etc/dict/dict.conf install -D -m 0644 $srcdir/site.info $pkgdir/etc/dict/site.info install -D -m 0644 $srcdir/dictd.confd $pkgdir/etc/conf.d/dictd + install -D -m 0644 $srcdir/colorit.conf $pkgdir/etc/dict/colorit.conf } diff --git a/community/dictd/colorit.conf b/community/dictd/colorit.conf new file mode 100644 index 000000000..8355dae15 --- /dev/null +++ b/community/dictd/colorit.conf @@ -0,0 +1,32 @@ +dnl /etc/dictd/colorit.conf vim:ft=m4 +dnl +dnl Sample configuration file for colorit(1) program +dnl +divert(-1) +dnl +dnl Define some useful color variables +dnl +define(`black', `0') +define(`red', `1') +define(`green', `2') +define(`brown', `3') +define(`blue', `4') +define(`magenta', `5') +define(`cyan', `6') +define(`white', `7') +dnl +dnl Mark macro arguments: regexp foreground-color [background-color] +dnl +define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"') +dnl +divert +mark(`^From.*$',red,cyan) +mark(`^ [^ ]+',green) +mark(`^ *Note:',red) +mark(`{[^{]+}',green) +mark(`^ *\[[^\[]+\]', cyan) +mark(`^[ ]*(adj|n|v|adv)? *[0-9]+[\.:]',cyan) +mark(`^ *\([a-z]+\)',cyan) +mark(`(Syn|Ant|syn|ant):', blue, white) +mark(` (t|i|a|adj|adv|n|v)\. ',cyan) +mark(` (t|i|a|adj|adv|n|v)\.$',cyan) diff --git a/community/freevo/PKGBUILD b/community/freevo/PKGBUILD index 6b3432d67..c07ec2f34 100644 --- a/community/freevo/PKGBUILD +++ b/community/freevo/PKGBUILD @@ -1,26 +1,26 @@ -# $Id: PKGBUILD 27382 2010-09-22 14:12:22Z rvanharen $ +# $Id: PKGBUILD 51736 2011-07-13 19:46:02Z rvanharen $ # Maintainer: Ronald van Haren <ronald.archlinux.org> pkgname=freevo pkgver=1.9.0 -pkgrel=5 +pkgrel=6 pkgdesc="Freevo is an open-source home theatre PC platform based on Linux and a number of open-source audio/video tools." url="http://freevo.sourceforge.net/" license=('GPL2') arch=('i686' 'x86_64') depends=('lame' 'flac' 'faad2' 'cdparanoia' 'vorbis-tools' \ 'fbset' 'smpeg' 'pil' 'python-pysqlite-legacy' \ - 'pyxml' 'lsdvd' 'twisted' 'python-numpy' 'python-pygame'\ - 'kaa-metadata' 'kaa-imlib2' 'beautiful-soup' 'python-html5lib') + 'pyxml' 'lsdvd' 'twisted' 'python2-numpy' 'python-pygame'\ + 'kaa-metadata' 'kaa-imlib2' 'python-beautifulsoup' 'python-html5lib') optdepends=('mplayer: most features' 'xine-lib: can be used instead of mplayer' 'tvtime: watching tv' 'xmltv: parsing online tv guides') install=freevo.install options=('docs') source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz \ freevo.desktop imdb-html5lib.patch) -md5sums=('aeb05e52f996258386af2951688bf6e3' - '9c5fcea7149bf52978730229831d1a40' - 'b11f82049f112f9964a29d37a461fee5') +sha1sums=('0533a2d4ff8a7b09b3b233fdf303ff56bda22d16' + '5f6e76dc58496f072aca29257c24be5ffa9c6c7d' + '57e1099527603500c594fbffa2cb7233b636eed1') build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/frei0r-plugins/PKGBUILD b/community/frei0r-plugins/PKGBUILD index c4497ef0a..3dec10ae0 100644 --- a/community/frei0r-plugins/PKGBUILD +++ b/community/frei0r-plugins/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 42041 2011-03-12 11:30:34Z spupykin $ +# $Id: PKGBUILD 51938 2011-07-18 09:49:20Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=frei0r-plugins pkgver=1.3 -pkgrel=1 +pkgrel=2 pkgdesc="frei0r is a minimalistic plugin API for video sources and filters." arch=(i686 x86_64) url="http://www.piksel.org/frei0r" license=('GPL') depends=('gcc-libs' 'gavl>=1.0.0' 'opencv') makedepends=('graphviz') +options=('!emptydirs') source=(http://ftp.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz) md5sums=('a2eb63feeeb0c5cf439ccca276cbf70c') @@ -17,11 +18,13 @@ build() { cd "$srcdir/frei0r-$pkgver" ./configure --prefix=/usr --docdir=/usr/share/doc make +} + +package() { + cd "$srcdir/frei0r-$pkgver" make DESTDIR="$pkgdir" install \ htmldocsdir=$pkgdir/usr/share/doc/frei0r-plugins-$pkgver \ docsdir=$pkgdir/usr/share/doc/frei0r-plugins-$pkgver - mkdir -p $pkgdir/usr/share/doc/frei0r-plugins-$pkgver/ mv $pkgdir/$pkgdir/usr/share/doc/frei0r-plugins-$pkgver/* $pkgdir/usr/share/doc/frei0r-plugins-$pkgver/ - rm -rf $pkgdir/home } diff --git a/community/gnome-do/PKGBUILD b/community/gnome-do/PKGBUILD index 057d42673..08563abfa 100644 --- a/community/gnome-do/PKGBUILD +++ b/community/gnome-do/PKGBUILD @@ -1,28 +1,28 @@ -# $Id: PKGBUILD 16886 2010-05-12 16:41:03Z ibiru $ +# $Id: PKGBUILD 51990 2011-07-18 20:45:07Z spupykin $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Doehni <dohny@gmx.de> pkgname=gnome-do -pkgver=0.8.3.1 -_pkgver=0.8.3 -pkgrel=2 +pkgver=0.8.5 +pkgrel=1 pkgdesc="A launcher application for gnome (like Launchy or Katapult)" arch=('i686' 'x86_64') url="http://do.davebsd.com/" license=('GPL3') -depends=('ndesk-dbus-glib' 'gnome-desktop-sharp' 'mono-addins' 'gtk2' - 'gnome-keyring-sharp' 'notify-sharp-svn' 'xdg-utils' 'desktop-file-utils') +depends=('ndesk-dbus-glib' 'gnome-desktop-sharp' 'mono-addins' 'gtk2' 'gnome-vfs-sharp' + 'gnome-keyring-sharp' 'notify-sharp-svn' 'xdg-utils' 'desktop-file-utils' + 'gconf-sharp' 'libgnome-sharp') makedepends=('intltool' 'ca-certificates') options=('!libtool') install=$pkgname.install -source=(http://code.edge.launchpad.net/do/0.8/${_pkgver}/+download/${pkgname}-${pkgver}.tar.gz) +source=("http://edge.launchpad.net/do/trunk/$pkgver/+download/gnome-do-$pkgver.tar.gz") +md5sums=('71e0e653021f895f151a6f46a97f75ba') build() { export MONO_SHARED_DIR="${srcdir}/.wabi" mkdir -p "${MONO_SHARED_DIR}" cd "${srcdir}/${pkgname}-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + make + make DESTDIR="$pkgdir" install } -md5sums=('6b4e2b55241892d165b504b1fb98645e') diff --git a/community/gnome-do/gnome-do.install b/community/gnome-do/gnome-do.install index b82a99ad7..b69cc3275 100644 --- a/community/gnome-do/gnome-do.install +++ b/community/gnome-do/gnome-do.install @@ -1,7 +1,7 @@ post_install() { update-desktop-database -q gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - + echo "==> To use docky, make sure your compoisiting manager is" echo "==> running before launching gnome-do." } diff --git a/community/libharu/PKGBUILD b/community/libharu/PKGBUILD new file mode 100644 index 000000000..160373489 --- /dev/null +++ b/community/libharu/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 51967 2011-07-18 20:03:48Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer : SpepS <dreamspepser at yahoo dot it> +# Contributor: Auguste <auguste@gmail.com> +# Contributor: Jose Negron <josenj.arch@mailnull.com> + +pkgname=libharu +pkgver=2.2.1 +pkgrel=1 +pkgdesc="C/C++ library for generating PDF documents" +url="http://libharu.org/wiki/Main_Page" +arch=('i686' 'x86_64') +license=('custom:ZLIB') +depends=('libpng' 'gcc-libs') +options=(!libtool) +source=("http://libharu.org/files/$pkgname-$pkgver.tar.gz") +md5sums=('63da8e087744f1d6cf16f9501b1cb766') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + # license + install -d "$pkgdir/usr/share/licenses/$pkgname" + sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/community/mypaint/PKGBUILD b/community/mypaint/PKGBUILD index 0b64702d3..cc4d4f85b 100644 --- a/community/mypaint/PKGBUILD +++ b/community/mypaint/PKGBUILD @@ -1,30 +1,32 @@ -# $Id: PKGBUILD 47074 2011-05-16 14:01:24Z spupykin $ +# $Id: PKGBUILD 51725 2011-07-13 14:26:16Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jon Nordby <jononor@gmail.com> pkgname=mypaint pkgver=0.9.1 -pkgrel=2 +pkgrel=3 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics" arch=('i686' 'x86_64') url="http://mypaint.intilinux.com/" license=('GPL' 'LGPL') -depends=('pygtk' 'python-numpy' 'protobuf-python' 'python2') +depends=('pygtk' 'python2-numpy' 'protobuf-python' 'python2') makedepends=('scons>=0.97' 'swig>=1.3.39') install=mypaint.install source=(http://download.gna.org/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('6249a16359a438d6dc658f5765b35515') build() { - cd $pkgname-$pkgver - + cd $srcdir/$pkgname-$pkgver # python2 fix sed -i 's_python generate.py_python2 generate.py_' brushlib/SConscript for file in $(find . -name '*.py' -print); do sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done - scons +} + +package() { + cd $srcdir/$pkgname-$pkgver scons prefix="$pkgdir"/usr install } diff --git a/community/mysql++/PKGBUILD b/community/mysql++/PKGBUILD new file mode 100644 index 000000000..2b7a4ac14 --- /dev/null +++ b/community/mysql++/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 51970 2011-07-18 20:04:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Markus Härer <markus.haerer@gmx.net> + +pkgname=mysql++ +pkgver=3.1.0 +pkgrel=2 +pkgdesc="A C++ wraper for MySQLs C API" +arch=("i686" "x86_64") +url="http://tangentsoft.net/mysql++/" +license=("LGPL" "custom") +depends=("libmysqlclient") +options=('docs') +source=("http://tangentsoft.net/mysql++/releases/$pkgname-$pkgver.tar.gz" + "mysql++-fix-cstring.patch" + "mysql++-fix-size_t.patch") +md5sums=('d92769cc579b87a60e58a77099cc4f0e' + '72f85a1bdba9d5285f0baf1d973033f8' + '6dcfbf06072b81cf27530ca9a0df8a8e') + +build() { + unset LDFLAGS + cd "$srcdir/$pkgname-$pkgver/" + patch -p1 <$srcdir/mysql++-fix-cstring.patch + patch -p1 <$srcdir/mysql++-fix-size_t.patch + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir" install + + #install docs + mkdir -p $pkgdir/usr/share/doc/mysql++ + cp -r doc/html $pkgdir/usr/share/doc/mysql++ + cp -r doc/pdf $pkgdir/usr/share/doc/mysql++ + + #install doc licence + install -Dm0644 doc/userman/LICENSE.txt $pkgdir/usr/share/licenses/mysql++/LICENSE +} diff --git a/community/mysql++/mysql++-fix-cstring.patch b/community/mysql++/mysql++-fix-cstring.patch new file mode 100644 index 000000000..2a9faeb07 --- /dev/null +++ b/community/mysql++/mysql++-fix-cstring.patch @@ -0,0 +1,11 @@ +diff -Naur mysql++-3.1.0.old/ssx/genv2.cpp mysql++-3.1.0/ssx/genv2.cpp +--- mysql++-3.1.0.old/ssx/genv2.cpp 2010-06-12 11:12:11.574891331 +0200 ++++ mysql++-3.1.0/ssx/genv2.cpp 2010-06-12 11:14:00.564881723 +0200 +@@ -35,6 +35,7 @@ + #include <iostream> + #include <fstream> + #include <typeinfo> ++#include <cstring> + + using namespace std; + diff --git a/community/mysql++/mysql++-fix-size_t.patch b/community/mysql++/mysql++-fix-size_t.patch new file mode 100644 index 000000000..908141d5d --- /dev/null +++ b/community/mysql++/mysql++-fix-size_t.patch @@ -0,0 +1,21 @@ +diff -Naur mysql++-3.1.0.old//lib/refcounted.h mysql++-3.1.0/lib/refcounted.h +--- mysql++-3.1.0.old//lib/refcounted.h 2010-06-03 19:59:23.000000000 +0200 ++++ mysql++-3.1.0/lib/refcounted.h 2011-04-23 12:35:39.943366970 +0200 +@@ -101,7 +101,7 @@ + { + std::auto_ptr<T> exception_guard(counted_); + if (counted_) { +- refs_ = new size_t(1); ++ refs_ = new std::size_t(1); + } + exception_guard.release(); // previous new didn't throw + } +@@ -255,7 +255,7 @@ + /// We can't keep this as a plain integer because this object + /// allows itself to be copied. All copies need to share this + /// reference count, not just the pointer to the counted object. +- size_t* refs_; ++ std::size_t* refs_; + }; + + diff --git a/community/picard/PKGBUILD b/community/picard/PKGBUILD index 96ec12311..c838ec065 100644 --- a/community/picard/PKGBUILD +++ b/community/picard/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 50174 2011-06-25 20:20:09Z bisson $ +# $Id: PKGBUILD 51943 2011-07-18 12:42:54Z bisson $ # Maintainer: Mateusz Herych <heniekk@gmail.com> # Contributor: sysrq pkgname=picard -pkgver=0.14 +pkgver=0.15 pkgrel=1 pkgdesc='Official MusicBrainz tagger' url='http://musicbrainz.org/doc/MusicBrainz_Picard' @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') depends=('python2-qt' 'mutagen' 'libofa' 'ffmpeg') optdepends=('libdiscid: CD-Lookup feature') source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('bbc6aee61e779153b77e381e8cd2ba08') +md5sums=('0e8d8afa6f9e493d494a3e9c746834e0') install=install diff --git a/community/python-scipy/PKGBUILD b/community/python-scipy/PKGBUILD index c0dbdcb4a..80a97ca82 100755 --- a/community/python-scipy/PKGBUILD +++ b/community/python-scipy/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 45545 2011-04-24 06:08:32Z schiv $ +# $Id: PKGBUILD 51728 2011-07-13 14:46:12Z tdziedzic $ # Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> @@ -10,20 +10,18 @@ _app=scipy pkgname=('python-scipy' 'python2-scipy') pkgver=0.9.0 _theapp=$_app-$pkgver -pkgrel=1 +pkgrel=2 pkgdesc="SciPy is open-source software for mathematics, science, and engineering." arch=('i686' 'x86_64') url="http://www.scipy.org/" license=('BSD') -depends=('python3-numpy') +depends=('python-numpy') makedepends=('gcc-fortran' 'python2-numpy') changelog=$pkgbase.changelog source=("http://downloads.sourceforge.net/$_app/$_theapp.tar.gz") md5sums=('ebfef6e8e82d15c875a4ee6a46d4e1cd') build() { - cd "$srcdir" - unset LDFLAGS unset FFLAGS diff --git a/community/python-scipy/python-scipy.changelog b/community/python-scipy/python-scipy.changelog index 77c6d43a5..76a3e7f35 100644 --- a/community/python-scipy/python-scipy.changelog +++ b/community/python-scipy/python-scipy.changelog @@ -1,3 +1,8 @@ +2011-07-13 Thomas Dziedzic < gostrc at gmail > + * 0.9.0-2: + rebuild for python3-numpy to python-numpy rename + also, minor PKGBUILD cleanup + 2011-04-24 Ray Rashif <schiv@archlinux.org> * 0.9.0-1: diff --git a/community/sakura/PKGBUILD b/community/sakura/PKGBUILD index d9fc4a723..2c05f23ee 100644 --- a/community/sakura/PKGBUILD +++ b/community/sakura/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 40517 2011-02-25 08:55:44Z rvanharen $ +# $Id: PKGBUILD 51984 2011-07-18 20:42:27Z rvanharen $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Dmitry N. Shilov <stormblast@land.ru> pkgname=sakura -pkgver=2.4.0 +pkgver=2.4.1 pkgrel=1 pkgdesc="A terminal emulator based on GTK and VTE" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('vte' 'libxft' 'desktop-file-utils') makedepends=('cmake') source=(http://pleyades.net/david/projects/$pkgname/$pkgname-$pkgver.tar.bz2) install=sakura.install -sha1sums=('417508be2551ff82e6bad8868832ef634479a432') +sha1sums=('43858ba79574b4e9413aefd19131dc21c9c1f575') build() { cd $srcdir/${pkgname}-${pkgver} diff --git a/community/uzbl/PKGBUILD b/community/uzbl/PKGBUILD index 42cfc5ea3..c3e4c667d 100644 --- a/community/uzbl/PKGBUILD +++ b/community/uzbl/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 49179 2011-06-12 21:24:14Z jelle $ +# $Id: PKGBUILD 51925 2011-07-18 08:18:29Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Dieter Plaetinck <dieter@plaetinck.be> pkgbase=uzbl pkgname=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed') -pkgver=2011.04.12 -pkgrel=3 +pkgver=2011.07.17 +pkgrel=1 arch=('i686' 'x86_64') url="http://www.uzbl.org" license=('GPL3') makedepends=('git' 'pkgconfig' 'libwebkit>=1.3.13') -source=(uzbl-$pkgver.tar.gz::http://github.com/Dieterbe/uzbl/tarball/$pkgver) -md5sums=('27e82c838b8136dafb0683fa52ffc701') +source=(uzbl-$pkgver.tar.gz::https://github.com/Dieterbe/uzbl/tarball/$pkgver) +md5sums=('c4f441d25c1edf7dddc5b8ce40994e64') build() { cd "$srcdir"/Dieterbe-uzbl-* @@ -50,6 +50,7 @@ package_uzbl-browser() { cd "$srcdir"/Dieterbe-uzbl-* make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-browser + rm -r $pkgdir/usr/bin/uzbl-core $pkgdir/usr/share/uzbl/docs } package_uzbl-tabbed() { diff --git a/community/workrave/PKGBUILD b/community/workrave/PKGBUILD index 85469032c..37ce6ac31 100644 --- a/community/workrave/PKGBUILD +++ b/community/workrave/PKGBUILD @@ -1,17 +1,16 @@ -# $Id: PKGBUILD 44736 2011-04-11 12:32:49Z spupykin $ +# $Id: PKGBUILD 51933 2011-07-18 09:09:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: William Rea <sillywilly@gmail.com> pkgname=workrave pkgver=1.9.4 -pkgrel=1 +pkgrel=2 pkgdesc="a tool to help RSI" arch=('i686' 'x86_64') license=('GPL2') url="http://workrave.org" -depends=('libgnomeuimm' 'gnet' 'gnome-panel' 'dbus' 'libxmu' 'gdome2' 'python-cheetah' 'libsigc++' - 'libxtst' 'python-cheetah') -makedepends=('intltool') +depends=('libxtst' 'gtkmm' 'gconf' 'gdome2' 'gstreamer0.10' 'libsm' 'libice') +makedepends=('intltool' 'python-cheetah') source=(http://downloads.sourceforge.net/workrave/workrave-$pkgver.tar.gz) md5sums=('d5eaf399b38b063053cff1a8527cba8e') @@ -21,5 +20,9 @@ build() { ./configure --prefix=/usr --enable-dbus --sysconfdir=/etc --libexecdir=/usr/lib/workrave \ --disable-pulse make +} + +package() { + cd $srcdir/workrave-$pkgver make DESTDIR=$pkgdir install } diff --git a/community/wt/PKGBUILD b/community/wt/PKGBUILD new file mode 100644 index 000000000..a97a41844 --- /dev/null +++ b/community/wt/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 51980 2011-07-18 20:26:38Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Denis Martinez <deuns.martinez@gmail.com> + +pkgname=wt +pkgver=3.1.10 +pkgrel=2 +pkgdesc="a C++ library and application server for developing and deploying web applications" +arch=('i686' 'x86_64') +url="http://www.webtoolkit.eu/" +license=('GPL') +depends=('boost-libs>=1.36') +makedepends=('boost>=1.36' 'cmake>=2.8' + 'postgresql-libs' 'zlib' 'fcgi' 'sqlite3' 'libharu' 'graphicsmagick' 'pango' 'mysql++' 'qt') +optdepends=('openssl: for SSL support in built-in webserver' + 'zlib: for compression in HTTP protocol' + 'fcgi: for FastCGI support' + 'postgresql-libs: for PostgreSQL Dbo support' + 'sqlite3: for Sqlite3 Dbo support' + 'libharu: for PDF generation (WPdfImage)' + 'graphicsmagick: for raster image support (WRasterImage)' + 'pango: for advanced font rendering (WRasterImage)' + 'mysql++: for the hangman example' + 'qt: for the Wt/Qt interopability example (wtwithqt)') +backup=('etc/wt/wt_config.xml') +source=(http://downloads.sourceforge.net/witty/$pkgname-${pkgver}.tar.gz) +md5sums=('535945f48f479e74b893adf5b1a857b7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + mkdir build + cd build + cmake -DCONNECTOR_HTTP=ON -DCMAKE_INSTALL_PREFIX=/usr \ + -DWEBUSER=http -DWEBGROUP=http -DRUNDIR=/var/run/wt -DDEPLOYROOT=/var/www/wt \ + -DDESTDIR=${pkgdir} -DWT_CMAKE_FINDER_INSTALL_DIR="share/cmake-2.8/Modules" .. + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}/build + make DESTDIR=${pkgdir} install +} diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD index c0e07269b..6455c3d0f 100644 --- a/extra/audacious/PKGBUILD +++ b/extra/audacious/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 129963 2011-06-30 17:15:51Z bisson $ +# $Id: PKGBUILD 132002 2011-07-18 22:19:52Z bisson $ # Contributor: Alexander Fehr <pizzapunk gmail com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=audacious -pkgver=2.5.3 -pkgrel=1 -pkgdesc='Lightweight, GTK2-based advanced audio player focused on audio quality' +pkgver=3.0 +pkgrel=2 +pkgdesc='Lightweight, GTK-based advanced audio player focused on audio quality' arch=('i686' 'x86_64') url='http://audacious-media-player.org/' license=('GPL3') -depends=('gtk2' 'libmcs' 'dbus-glib' 'libguess' 'audacious-plugins' 'desktop-file-utils' 'hicolor-icon-theme') +depends=('gtk3' 'libmcs' 'dbus-glib' 'libguess' 'audacious-plugins' 'desktop-file-utils' 'hicolor-icon-theme') optdepends=('unzip: zipped skins support') source=("http://distfiles.atheme.org/${pkgname}-${pkgver}.tar.gz") -sha1sums=('b40f140ebeb5d767bd865945b7eb5527c265beb7') +sha1sums=('d32de719f5b09440d0f6c802a5140a32b3827475') provides=('audacious-player') replaces=('audacious-player') diff --git a/extra/cheese/PKGBUILD b/extra/cheese/PKGBUILD index adefe545d..3a3033792 100644 --- a/extra/cheese/PKGBUILD +++ b/extra/cheese/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 125706 2011-05-28 10:53:12Z ibiru $ +# $Id: PKGBUILD 131948 2011-07-18 05:06:18Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=cheese -pkgver=3.0.1 -pkgrel=2 +pkgver=3.0.2 +pkgrel=1 pkgdesc="Use your webcam to take photos and videos, apply fancy special effects and share the fun with others" arch=(i686 x86_64) license=('GPL') @@ -15,7 +15,7 @@ options=('!libtool' '!emptydirs') url="http://www.gnome.org/projects/cheese/" install=cheese.install source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('a2e947146c83d60db2e4f858917c906733037f77067a7081de7a2ff3716fbe7a') +sha256sums=('e691243f8bf08c7dd6437bb6862e39f2d4ccc612a78bd8f2235c1f116f790d21') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/gcin/PKGBUILD b/extra/gcin/PKGBUILD index 285a6ba8e..2f92da9a0 100644 --- a/extra/gcin/PKGBUILD +++ b/extra/gcin/PKGBUILD @@ -1,20 +1,21 @@ -# $Id: PKGBUILD 130320 2011-07-05 06:30:24Z bisson $ +# $Id: PKGBUILD 131965 2011-07-18 13:37:20Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=gcin pkgver=1.6.4 -pkgrel=1 +pkgrel=2 pkgdesc='Input method server supporting various input methods' arch=('i686' 'x86_64') license=('LGPL') url='http://hyperrate.com/dir.php?eid=67' depends=('gtk2' 'libxtst') -makedepends=('qt' 'gtk3' 'anthy') +makedepends=('qt' 'gtk3' 'anthy' 'libchewing') optdepends=('qt: support for qt4 input method' 'gtk3: support for gtk3 input method' - 'anthy: support for anthy input method') + 'anthy: support for anthy input method' + 'libchewing: support for chewing input method') source=("http://www.csie.nctu.edu.tw/~cp76/gcin/download/${pkgname}-${pkgver}.tar.bz2" 'qt4-lib64.patch') sha1sums=('36ed067b354abb1e0707a4b327e2ad624cb6f88d' diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD index 97b384792..5d518186f 100644 --- a/extra/js/PKGBUILD +++ b/extra/js/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 130213 2011-07-04 12:50:49Z ibiru $ +# $Id: PKGBUILD 131990 2011-07-18 19:11:01Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=js pkgver=1.8.5 -pkgrel=1 +pkgrel=2 pkgdesc="JavaScript interpreter and libraries" arch=(i686 x86_64) url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5" @@ -17,7 +17,11 @@ md5sums=('a4574365938222adca0a6bd33329cb32' '364834a8391888642c53d78c3a949d94') build() { cd "$srcdir/$pkgname-$pkgver/js/src" + patch -Np0 -i $srcdir/js185-destdir.patch + + export CXXFLAGS="$CXXFLAGS -DJS_C_STRINGS_ARE_UTF8" + ./configure --prefix=/usr --with-system-nspr \ --enable-threadsafe diff --git a/extra/mod_perl/PKGBUILD b/extra/mod_perl/PKGBUILD index 9f3595deb..0d257544b 100644 --- a/extra/mod_perl/PKGBUILD +++ b/extra/mod_perl/PKGBUILD @@ -1,21 +1,30 @@ -# $Id: PKGBUILD 129799 2011-06-28 23:07:22Z angvp $ +# $Id: PKGBUILD 131985 2011-07-18 18:21:39Z foutrelis $ # Maintainer: Firmicus <francois.archlinux.org> # Contributor: Tom K <tomk@runbox.com> pkgname=mod_perl pkgver=2.0.5 -pkgrel=7 +pkgrel=8 pkgdesc="Apache module that embeds the Perl interpreter within the server" url="http://search.cpan.org/dist/${pkgname}/" depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid') license=('APACHE') arch=('i686' 'x86_64') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/${pkgname}-${pkgver}.tar.gz) -md5sums=('03d01d135a122bd8cebd0cd5b185d674') +source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/${pkgname}-${pkgver}.tar.gz + nolfs.patch) +md5sums=('03d01d135a122bd8cebd0cd5b185d674' + '088e082afef57f92f234a01269e24ce5') build() { cd ${srcdir}/${pkgname}-${pkgver} + + # Patch from openSUSE to fix segfaults on i686 (FS#25008): + # avoid a conflict between apache's LARGEFILE64_SOURCE and perl's + # FILE_OFFSET_BITS=64 because the conflict isn't real and causes the perl + # structures to be invalid if only the apache flags are used + patch -Np1 -i "$srcdir/nolfs.patch" + # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs make diff --git a/extra/mod_perl/nolfs.patch b/extra/mod_perl/nolfs.patch new file mode 100644 index 000000000..3eb345b66 --- /dev/null +++ b/extra/mod_perl/nolfs.patch @@ -0,0 +1,14 @@ +Index: mod_perl-2.0.5/lib/Apache2/Build.pm +=================================================================== +--- mod_perl-2.0.5.orig/lib/Apache2/Build.pm 2011-02-02 21:23:47.000000000 +0100 ++++ mod_perl-2.0.5/lib/Apache2/Build.pm 2011-05-26 17:12:46.276946520 +0200 +@@ -2147,7 +2147,8 @@ sub has_large_files_conflict { + # with it is that we didn't have such a case yet, but may need to + # deal with it later + +- return $perl_lfs64 ^ $apr_lfs64; ++ return 0; ++ # $perl_lfs64 ^ $apr_lfs64; + } + + # if perl is built with uselargefiles, but apr not, the build won't diff --git a/extra/pygtk/PKGBUILD b/extra/pygtk/PKGBUILD index 0ef385d8f..bc7c56efa 100644 --- a/extra/pygtk/PKGBUILD +++ b/extra/pygtk/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 117387 2011-04-01 12:58:54Z heftig $ +# $Id: PKGBUILD 131736 2011-07-14 11:07:45Z stephane $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=pygtk pkgver=2.24.0 -pkgrel=1 +pkgrel=2 pkgdesc="Python bindings for the GTK widget set" arch=('i686' 'x86_64') license=('LGPL') depends=('libglade' 'python2-cairo' 'pygobject') -makedepends=('python-numpy' 'pygobject-devel') -optdepends=('python-numpy') +makedepends=('python2-numpy' 'pygobject-devel') +optdepends=('python2-numpy') options=('!libtool') url="http://www.pygtk.org/" -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 python27.patch) sha256sums=('cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912' '39a30456cba055a452bb55c74ef1ff2f5f7bfaad22855b4dd569ab009b56b682') diff --git a/extra/python-numpy/PKGBUILD b/extra/python-numpy/PKGBUILD index f7aaa3edf..699137cf6 100755 --- a/extra/python-numpy/PKGBUILD +++ b/extra/python-numpy/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 110670 2011-02-21 12:18:28Z stephane $ +# $Id: PKGBUILD 131668 2011-07-13 13:42:02Z stephane $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org> # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> pkgbase=python-numpy -pkgname=('python2-numpy' 'python3-numpy') -pkgver=1.5.1 -pkgrel=2 +pkgname=('python2-numpy' 'python-numpy') +pkgver=1.6.0 +pkgrel=1 pkgdesc="Scientific tools for Python" arch=('i686' 'x86_64') license=('custom') url="http://numpy.scipy.org/" makedepends=('lapack' 'python' 'python2' 'python-distribute' 'python2-distribute' 'gcc-fortran' 'python-nose') source=(http://downloads.sourceforge.net/numpy/numpy-${pkgver}.tar.gz) -md5sums=('376ef150df41b5353944ab742145352d') +md5sums=('e0993c74cb8e83292e560eac1a9be8e9') build() { cd "${srcdir}" @@ -33,9 +33,6 @@ build() { package_python2-numpy() { depends=('lapack' 'python2') - provides=("python-numpy=${pkgver}") - replaces=('python-numpy') - conflicts=('python-numpy') optdepends=('python-nose: testsuite') cd "${srcdir}/numpy-py2-${pkgver}" @@ -50,8 +47,11 @@ package_python2-numpy() { $(find ${pkgdir} -name '*.py') } -package_python3-numpy() { +package_python-numpy() { depends=('lapack' 'python') + provides=("python3-numpy=${pkgver}") + replaces=('python3-numpy') + conflicts=('python3-numpy') cd "${srcdir}/numpy-${pkgver}" python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root="${pkgdir}" --optimize=1 diff --git a/extra/stardict/NetDictRequests.patch b/extra/stardict/NetDictRequests.patch new file mode 100644 index 000000000..4d6fe145a --- /dev/null +++ b/extra/stardict/NetDictRequests.patch @@ -0,0 +1,12 @@ +diff -aur old/dict/src/lib/compositelookup.cpp new/dict/src/lib/compositelookup.cpp +--- old/dict/src/lib/compositelookup.cpp 2011-07-02 23:58:40.000000000 -0700 ++++ new/dict/src/lib/compositelookup.cpp 2011-07-18 07:40:01.795710505 -0700 +@@ -50,7 +50,7 @@ + void CompositeLookup::send_net_dict_request(const std::string& dict_id, const std::string& key) + { + NetDictRequest request(dict_id, key); +- g_assert(NetDictRequests.end() == std::find(NetDictRequests.begin(), NetDictRequests.end(), request)); ++ std::find(NetDictRequests.begin(), NetDictRequests.end(), request); + NetDictRequests.push_back(request); + } + diff --git a/extra/stardict/PKGBUILD b/extra/stardict/PKGBUILD index b02aefd11..8ce7a50e8 100644 --- a/extra/stardict/PKGBUILD +++ b/extra/stardict/PKGBUILD @@ -1,42 +1,48 @@ -# $Id: PKGBUILD 106155 2011-01-14 21:07:17Z bisson $ +# $Id: PKGBUILD 131980 2011-07-18 15:27:26Z bisson $ # Maintainer: Aaron Griffin <aaron@archlinux.org> # Contributor: Neil Lin <neil@vip.url.com.tw> pkgname=stardict -pkgver=3.0.2 -pkgrel=2 -pkgdesc='A powerful international dictionary written in Gtk2.' +pkgver=3.0.3 +pkgrel=1 +pkgdesc='International dictionary software' arch=('i686' 'x86_64') -url='http://stardict.sourceforge.net/' +url='http://www.stardict.org/' license=('GPL') depends=('enchant' 'gtk2' 'libsigc++' 'libsm') -makedepends=('intltool' 'popt' 'gnome-doc-utils') +makedepends=('intltool' 'popt' 'gnome-doc-utils' 'libmysqlclient') options=('!libtool' '!emptydirs') -source=("http://downloads.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2" - 'help-in-destdir.patch' - 'as-needed.patch') -sha1sums=('301875657cd39b5f25e5933ece22936a28db1230' - '0249d769e5cc85e183eb395b824342f8ca320f56' - '22fca061d1be23ac79da6c0ec5fc488ae0aca9c1') +source=("http://stardict-3.googlecode.com/files/stardict-${pkgver}.tar.bz2" + 'NetDictRequests.patch' + 'gcc46.patch') +sha1sums=('5043c0918963cd4d40e6d6289353f295766ec74f' + '97af8fdb73c8f04674234b629c6867254e9bd043' + '6605a9cdfc4abc2a0ab4462d1228233d34806f0a') -build() -{ - cd "$srcdir/$pkgname-$pkgver" +build() { + cd "${srcdir}/${pkgname}-${pkgver}" - # patches accepted upstream; will be in stardict>3.0.2 - patch -p1 -i ../help-in-destdir.patch - patch -p1 -i ../as-needed.patch + # ugly hack to avoid crashing with empty dictionaries + patch -p1 -i ../NetDictRequests.patch + patch -p1 -i ../gcc46.patch automake - ./configure PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr \ - --sysconfdir=/etc --mandir=/usr/share/man \ - --disable-gnome-support --disable-schemas-install \ - --disable-espeak --disable-gucharmap \ - --disable-festival --disable-updateinfo + ./configure \ + PKG_CONFIG=/usr/bin/pkg-config \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --disable-gnome-support \ + --disable-schemas-install \ + --disable-espeak \ + --disable-gucharmap \ + --disable-festival \ + --disable-updateinfo \ + make } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/stardict/gcc46.patch b/extra/stardict/gcc46.patch new file mode 100644 index 000000000..944b9635c --- /dev/null +++ b/extra/stardict/gcc46.patch @@ -0,0 +1,11 @@ +diff -aur old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h +--- old/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 06:58:58.519404744 -0700 ++++ new/dict/stardict-plugins/stardict-wordnet-plugin/utils.h 2011-07-18 07:01:10.739734313 -0700 +@@ -26,6 +26,7 @@ + #ifndef __TYPES_H__ + #define __TYPES_H__ + ++#include <cstddef> + #include <math.h> + + typedef float single; diff --git a/libre/atool-libre/ChangeLog b/libre/atool-libre/ChangeLog new file mode 100644 index 000000000..aec63e70f --- /dev/null +++ b/libre/atool-libre/ChangeLog @@ -0,0 +1,9 @@ +2009-08-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Updated to major version 0.37.0 + +2008-10-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Updated to major version 0.36.0 + +2008-10-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Moved to [community] repo + diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD new file mode 100644 index 000000000..295e67725 --- /dev/null +++ b/libre/atool-libre/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 10828 2010-02-02 18:05:28Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: leif_thande <leif.thande@gmail.com> +# Contributor: tranquility <trankas@gmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +_pkgname=atool +pkgname=atool-libre +pkgver=0.37.0 +pkgrel=4 +pkgdesc="A script for managing file archives of various types" +arch=('any') +url="http://www.nongnu.org/atool/" +license=('GPL3') +depends=('file' 'perl') +provides=("$_pkgname=$pkgver") +replaces=("$_pkgname") +conflicts=("$_pkgname") +optdepends=('bzip2: for using atool with bzip2 compressed archives' + 'cpio: for using atool with cpio archives' + 'gzip: for using atool with gzip compressed archives' + 'lha: for using atool with lha, lharc and similar archives' + 'lzma-utils: for using atool with lzma compressed archives' + 'lzop: for using atool with lzop compressed archives' + 'p7zip: for using atool with 7z archives' + 'tar: for using atool with tar archives' + 'zip: for using atool for creating zip archives' + 'unzip: for using atool for unpacking archives') +source=(http://savannah.nongnu.org/download/atool/atool-${pkgver}.tar.gz) +md5sums=('2607e9b19518af4145be8a6bed454477') + + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + + ./configure --prefix=/usr +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install || return 1 +} + diff --git a/libre/atool-libre/rePKGBUILD b/libre/atool-libre/rePKGBUILD new file mode 100644 index 000000000..e684320d0 --- /dev/null +++ b/libre/atool-libre/rePKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +unset build package md5sums source +CARCH=any +PKGEXT=.pkg.tar.gz +_repo=community # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/i686/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm .{INSTALL,PKGINFO} || true + # put actions for package modifications below this line + +} + +package() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: diff --git a/libre/icecat-i18n/PKGBUILD b/libre/icecat-i18n/PKGBUILD index fe0ce88e9..ad25dd934 100644 --- a/libre/icecat-i18n/PKGBUILD +++ b/libre/icecat-i18n/PKGBUILD @@ -2,401 +2,121 @@ # Contributor: Figue <ffigue@gmail.com> # Based on firefox-i18n package +# wget http://gnuzilla.gnu.org/download/langpacks/${pkgver}/ +# echo $(egrep -o '[^>".]+\.xpi' index.html | sort -u | sed 's/\.xpi//') +_langpacks=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he hi-IN hr hu hy-AM id is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO nl nn-NO nso or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta-LK ta te th tr uk vi zh-CN zh-TW zu) + pkgbase='icecat-i18n' -pkgname=('icecat-i18n-af' 'icecat-i18n-ar' 'icecat-i18n-as' 'icecat-i18n-ast' 'icecat-i18n-be' 'icecat-i18n-bg' 'icecat-i18n-bn-bd' 'icecat-i18n-bn-in' 'icecat-i18n-ca' 'icecat-i18n-cs' 'icecat-i18n-cy' 'icecat-i18n-da' 'icecat-i18n-de' 'icecat-i18n-el' 'icecat-i18n-en-gb' 'icecat-i18n-eo' 'icecat-i18n-es-ar' 'icecat-i18n-es-cl' 'icecat-i18n-es-es' 'icecat-i18n-es-mx' 'icecat-i18n-et' 'icecat-i18n-eu' 'icecat-i18n-fa' 'icecat-i18n-fi' 'icecat-i18n-fr' 'icecat-i18n-fy-nl' 'icecat-i18n-ga-ie' 'icecat-i18n-gd' 'icecat-i18n-gl' 'icecat-i18n-gu-in' 'icecat-i18n-he' 'icecat-i18n-hi-in' 'icecat-i18n-hr' 'icecat-i18n-hu' 'icecat-i18n-id' 'icecat-i18n-is' 'icecat-i18n-it' 'icecat-i18n-ja' 'icecat-i18n-ka' 'icecat-i18n-kk' 'icecat-i18n-kn' 'icecat-i18n-ko' 'icecat-i18n-ku' 'icecat-i18n-lt' 'icecat-i18n-lv' 'icecat-i18n-mk' 'icecat-i18n-ml' 'icecat-i18n-mr' 'icecat-i18n-nb-no' 'icecat-i18n-nl' 'icecat-i18n-nn-no' 'icecat-i18n-oc' 'icecat-i18n-or' 'icecat-i18n-pa-in' 'icecat-i18n-pl' 'icecat-i18n-pt-br' 'icecat-i18n-pt-pt' 'icecat-i18n-rm' 'icecat-i18n-ro' 'icecat-i18n-ru' 'icecat-i18n-si' 'icecat-i18n-sk' 'icecat-i18n-sl' 'icecat-i18n-sq' 'icecat-i18n-sr' 'icecat-i18n-sv-se' 'icecat-i18n-ta' 'icecat-i18n-ta-lk' 'icecat-i18n-te' 'icecat-i18n-th' 'icecat-i18n-tr' 'icecat-i18n-uk' 'icecat-i18n-vi' 'icecat-i18n-zh-cn' 'icecat-i18n-zh-tw') -pkgver=4.0.1 +pkgname=($(for lang in ${_langpacks[@]} + do echo icecat-i18n-$lang | tr A-Z a-z + done)) +pkgver=5.0 pkgrel=1 pkgdesc="Language packs for IceCat" arch=('any') license=('MPL') url="http://www.gnu.org/software/gnuzilla/" depends=("icecat=${pkgver}") -source=(http://gnuzilla.gnu.org/download/langpacks/$pkgver/{af,ar,as,ast,be,bg,bn-BD,bn-IN,ca,cs,cy,da,de,el,en-GB,eo,es-AR,es-CL,es-ES,es-MX,et,eu,fa,fi,fr,fy-NL,ga-IE,gd,gl,gu-IN,he,hi-IN,hr,hu,id,is,it,ja,ka,kk,kn,ko,ku,lt,lv,mk,ml,mr,nb-NO,nl,nn-NO,oc,or,pa-IN,pl,pt-BR,pt-PT,rm,ro,ru,si,sk,sl,sq,sr,sv-SE,ta,ta-LK,te,th,tr,uk,vi,zh-CN,zh-TW}.xpi) +source=($(for lang in ${_langpacks[@]} + do echo http://gnuzilla.gnu.org/download/langpacks/$pkgver/$lang.xpi + done)) +noextract=($(for lang in ${_langpacks[@]} + do echo $lang.xpi + done)) build() { cd "${srcdir}" } -helper_install() { - lang=${1/.xpi/} - msg "Building ${1}" - bsdtar xf ${1} || return 1 - sed -i "s|jar:chrome/${lang}.jar|jar:${lang}.jar|" chrome.manifest || return 1 - install -D -m 644 chrome/${lang}.jar "${pkgdir}/usr/lib/icecat/chrome/${lang}.jar" || return 1 - install -D -m 644 chrome.manifest "${pkgdir}/usr/lib/icecat/chrome/${lang}.manifest" || return 1 -} - -package_icecat-i18n-af() { - helper_install af.xpi -} - -package_icecat-i18n-ar() { - helper_install ar.xpi -} - -package_icecat-i18n-as() { - helper_install as.xpi -} - -package_icecat-i18n-ast() { - helper_install ast.xpi -} - -package_icecat-i18n-be() { - helper_install be.xpi -} - -package_icecat-i18n-bg() { - helper_install bg.xpi -} - -package_icecat-i18n-bn-bd() { - helper_install bn-BD.xpi -} - -package_icecat-i18n-bn-in() { - helper_install bn-IN.xpi -} - -package_icecat-i18n-ca() { - helper_install ca.xpi -} - -package_icecat-i18n-cs() { - helper_install cs.xpi -} - -package_icecat-i18n-cy() { - helper_install cy.xpi -} - -package_icecat-i18n-da() { - helper_install da.xpi -} - -package_icecat-i18n-de() { - helper_install de.xpi -} - -package_icecat-i18n-el() { - helper_install el.xpi -} - -package_icecat-i18n-en-gb() { - helper_install en-GB.xpi -} - -package_icecat-i18n-eo() { - helper_install eo.xpi -} - -package_icecat-i18n-es-ar() { - helper_install es-AR.xpi -} - -package_icecat-i18n-es-cl() { - helper_install es-CL.xpi -} - -package_icecat-i18n-es-es() { - helper_install es-ES.xpi -} - -package_icecat-i18n-es-mx() { - helper_install es-MX.xpi -} - -package_icecat-i18n-et() { - helper_install et.xpi -} - -package_icecat-i18n-eu() { - helper_install eu.xpi -} - -package_icecat-i18n-fa() { - helper_install fa.xpi -} - -package_icecat-i18n-fi() { - helper_install fi.xpi -} - -package_icecat-i18n-fr() { - helper_install fr.xpi -} - -package_icecat-i18n-fy-nl() { - helper_install fy-NL.xpi -} - -package_icecat-i18n-ga-ie() { - helper_install ga-IE.xpi -} - -package_icecat-i18n-gd() { - helper_install gd.xpi -} - -package_icecat-i18n-gl() { - helper_install gl.xpi -} - -package_icecat-i18n-gu-in() { - helper_install gu-IN.xpi -} - -package_icecat-i18n-he() { - helper_install he.xpi -} - -package_icecat-i18n-hi-in() { - helper_install hi-IN.xpi -} - -package_icecat-i18n-hr() { - helper_install hr.xpi -} - -package_icecat-i18n-hu() { - helper_install hu.xpi -} - -package_icecat-i18n-id() { - helper_install id.xpi -} - -package_icecat-i18n-is() { - helper_install is.xpi -} - -package_icecat-i18n-it() { - helper_install it.xpi -} - -package_icecat-i18n-ja() { - helper_install ja.xpi -} - -package_icecat-i18n-ka() { - helper_install ka.xpi -} - -package_icecat-i18n-kk() { - helper_install kk.xpi -} - -package_icecat-i18n-kn() { - helper_install kn.xpi -} - -package_icecat-i18n-ko() { - helper_install ko.xpi -} - -package_icecat-i18n-ku() { - helper_install ku.xpi -} - -package_icecat-i18n-lt() { - helper_install lt.xpi -} - -package_icecat-i18n-lv() { - helper_install lv.xpi -} - -package_icecat-i18n-mk() { - helper_install mk.xpi -} - -package_icecat-i18n-ml() { - helper_install ml.xpi -} - -package_icecat-i18n-mr() { - helper_install mr.xpi -} - -package_icecat-i18n-nb-no() { - helper_install nb-NO.xpi -} - -package_icecat-i18n-nl() { - helper_install nl.xpi -} - -package_icecat-i18n-nn-no() { - helper_install nn-NO.xpi -} - -package_icecat-i18n-oc() { - helper_install oc.xpi -} - -package_icecat-i18n-or() { - helper_install or.xpi -} - -package_icecat-i18n-pa-in() { - helper_install pa-IN.xpi -} - -package_icecat-i18n-pl() { - helper_install pl.xpi -} - -package_icecat-i18n-pt-br() { - helper_install pt-BR.xpi -} - -package_icecat-i18n-pt-pt() { - helper_install pt-PT.xpi -} - -package_icecat-i18n-rm() { - helper_install rm.xpi -} - -package_icecat-i18n-ro() { - helper_install ro.xpi -} - -package_icecat-i18n-ru() { - helper_install ru.xpi -} - -package_icecat-i18n-si() { - helper_install si.xpi -} - -package_icecat-i18n-sk() { - helper_install sk.xpi -} - -package_icecat-i18n-sl() { - helper_install sl.xpi -} - -package_icecat-i18n-sq() { - helper_install sq.xpi -} - -package_icecat-i18n-sr() { - helper_install sr.xpi -} - -package_icecat-i18n-sv-se() { - helper_install sv-SE.xpi -} - -package_icecat-i18n-ta() { - helper_install ta.xpi -} - -package_icecat-i18n-ta-lk() { - helper_install ta-LK.xpi -} - -package_icecat-i18n-te() { - helper_install te.xpi -} - -package_icecat-i18n-th() { - helper_install th.xpi -} - -package_icecat-i18n-tr() { - helper_install tr.xpi -} - -package_icecat-i18n-uk() { - helper_install uk.xpi -} - -package_icecat-i18n-vi() { - helper_install vi.xpi -} - -package_icecat-i18n-zh-cn() { - helper_install zh-CN.xpi -} - -package_icecat-i18n-zh-tw() { - helper_install zh-TW.xpi -} -md5sums=('bc329dd9e8fee226eac9f0e9448fd4f3' - '490f3ffae72c1ed9bed06586e301e9b0' - '6d90e42d99b5c29537aa9177f9aa7e28' - '8d70a32c273c285e5291e7877b352ae5' - 'ac7f81d1e3ae43752ff9683954e2824d' - '57e51cc60d7a1591ae5841723274fd3e' - '0e4d68d634448f2d489a1324766e8b34' - '7aafb67e6921c0c93f3cfec578fd9f31' - 'd4244cf8f84e74c65b292530206391e5' - '036996d5469fa7a0e6de57c68c5944d7' - '53b0a6f1e381885e605748507acef788' - '3248eeb7a871fbb8872a121dfb7ca919' - '5b37a6bd3a15b74457359c74efbfd169' - 'fac369754691a113f3c9f8c88a4a012a' - '009f7e8b2cdb2a196c48d50435e6b72b' - '860f197d38767c830557feef6b895b33' - '748ae21adabaef7e52bc94855fd84a33' - '8a4aef97929e32e6c9844f63eed0b485' - '52a667e08b01cbe9747c723197a46540' - '5245a68ee0d0ec8e24a02ed54212aa46' - '646a3fb1435ed454efc3ccf577e07740' - 'eb8e94480d73711827c509a2b4d2e662' - '043d249074995285d9a36052217b9749' - '6e7e435671ff8fae8005f5bd2f3923af' - '552b075a52c63c5ed5e8d4806d845708' - '5483b2fb336f50398660f6e03948fc28' - '7ef6886607d9ee85aa13eba4212c561b' - 'ca1af2844af82c8d8dd1452817b49770' - '64478bd7cc33112787edbe6b8e995531' - 'b70331334dce71bdada03b5bd173aa1b' - '02bafd80997eb1178da66afb17a2ae91' - 'bfc04e174fac798de0216a84a46d6ff7' - '15b90532ab4dbbbfd9fe2006a8544ab5' - 'bbb1b58bf492e567ec9f61485b54ca1b' - '1de6b016519562aec9e827b618829db5' - 'b864a2de6f0963449e49f643d201beb5' - '32ac581c2ad1b81554fc778cf96a0496' - '0f9f8c01fd73d5f27db950681f2017d6' - 'aad74ba00f4f8813713e80e0675d4d8d' - '18ed7eabc78f20c28330e5788d738e35' - '4d9969d4c2f9d2cf441643a87bf39cc9' - '1fdce5853d59e82bb3735ec231ed5293' - '0c673f70ef382384fc2eefcc3465b61c' - '8250b6505b62adf3ea0b2030e9fe90c4' - '00cf2b73d324ff5ae8cfe6b80001ae63' - 'cb221e57dab07142296909f0989e3c2c' - '791724bf937c697ff480fe5e9d1e9347' - '02d0d0415b977266276e0b0826b297d9' - '803b246251d09fed792d37cdcd7d72c7' - 'f15ecfb3296a670418651c560a072dd4' - 'c4980ec2ce04b26443fbf37d6c35a153' - '1568893645ba79d38b5e0fc5755a9285' - 'f81e1b1f80139a52a98276e0579ceb5f' - '5b549460ee73b178ec7128270406a3db' - 'd9f84ff9ec99064cfeb1966e88147394' - 'e6267db75f8741d038d535cdc6504807' - '58a3f9640952aba203055a8f44bf1f1f' - '4e318b28abda03ecb465bbab5f7089d3' - 'ed56d3fd6cdb9e69b72b32aa63e73587' - '0196a184af5d1dcc5ac959660c798b92' - '5ee1ee1250cfcb87b805f044b19964d5' - '3d4ca7b8fc648234cb7f0dcea76cd2dc' - 'aedb239f247c05bea7105e86abdd26db' - '81d171701bce0a4d879acd9c3d5f94f5' - '67c402b52220ebab02ad6078d0def0ef' - 'eb4ba4695a94a2d07972853e9fbf610a' - '187de792dfffb2cc87754aa8b3c179b3' - '9548ecf49a3228381c68cd7c0c3208c7' - '79226a47211515b9e99a08d551fb3fe0' - 'ea6fc42b8c4b0205a59d8be6abf58540' - 'f4b38cc9b3c865071fa6ade4436095cb' - 'd611a255d1a5b3c0e47fcf3e12ba30a5' - 'e557ea072669d2d2c7c2f2eb62e38e4d' - 'd2e5670188be4358d4126c3d594dcb4a' - 'a28c459626e65ae4e597dbecb0b95def') +_path="/usr/lib/icecat-5.0/extensions/" + +for lang in ${_langpacks[@]} +do + eval 'package_icecat-i18n-'$(echo $lang | tr A-Z a-z)'() { + install -Dm644 "'"$srcdir/$lang.xpi"'" "${pkgdir}'"${_path}langpack-$lang@firefox.mozilla.org.xpi"'" +}' +done + +md5sums=('709e73f3e6fff4221e10a7c6513df607' + '6087d3abe606dfd0f43a426b5de58931' + '986aaf488d8a9cc17bfc59163e8a3b41' + '1c4ce81ce9cd5ecce717ac8ef2a8943c' + 'db8c62ab5b0b3e489fb0b24fd18798b7' + '2c0ae00cd48d0e679245906fb4ffe21e' + 'a9a0eaca7b41c0c9e454d471e9868694' + '1221cc439990b6c37dc7793ad560c6d4' + '7e20ad6a0189f8e9f3067a4063a7534c' + 'e7c317be23f31399086a52a0b0df8ba2' + '2b3c0455c8e210da0cf3ef13fd935f67' + 'eb389bdbcf33c30cf48a6e027a009729' + '76445069ffb58126ab705fbddf095b6a' + '3cd2c5062181b1a441e96476b9c73d9d' + '456701170145c4f904bb0ed725b745e1' + 'ce9402c41495cb5690b6b96bd9661824' + '9f946d27ef2a298808fcbc159f1c56ef' + 'b1308ceb65b8a3346fab7c454ef2966e' + '06e7800fc32df63df2bb951f1b105ee0' + 'bb08e9c66867a14d554e27015e42ee76' + '5097c617081fe6c2d30036b90080ae2b' + 'f4a439b3bb21c2ef8348fa8f0b1f197c' + '6486e799b0592545955adafcb8038d4e' + '47beaaf6edc8e6de00e2e231f562608d' + '53a0d0272341f7151be706a61398b25c' + 'bb0df19f12507cdf7d1711fc62e9ebe9' + 'ed3d142a0025fd30762874ba03d01d7e' + '27c80b130b1519387cbee2f649968f06' + '90343d46bedbb1469765eb4d716ce4a9' + 'e58339275254f9ffc3760dbb861ffdfe' + 'dc48194af779db1fcca0b04ab3c0364f' + '19df3b0263a546a33a520ec6a90f46b4' + '51732b57590772660fe572be50f63588' + 'a63081ab55a146e166b475018d14dd14' + '698748403c10ba95a15f242a73fa5687' + '1fbc1601bf48ca820307ea086a3d59eb' + '4e1880d97ac398447a62e5e0d0a923c9' + 'fa7b9acd77a77f386f65e42a57ccb0fc' + 'e9623cbf67c98a073c55f589b92ed2b9' + '4020a1bd7b1f500729596786afc15f99' + '1ac05a652a08e0c36c63b5e094a006f1' + '6bad249c8537a7a4ccc193653a6f1b6f' + '042f7b99ce4826fe20910c2e7b79ebd4' + '26eeb498590e7c4f825756c622370b2d' + '1058ade4e5e63413116cd54e761d3b05' + '2d8402db4418efb23028b3eb1ef5e7bb' + '2e02ae8679ee04676a4ec77ae91a475e' + 'fe605c9b1012459c0cf4801ddbe57ec7' + 'd48f4b40fc533666027e69453bc572c0' + 'd213716fdbb963793d798c275f02feb5' + '9a0a08a78fc3a1806d1f6ad37e7d88ff' + '1db8acd50d0650c640f10fe6a9ea12dd' + 'a1ee77c675c064828b5b483be47bb448' + '1470d2721ec5c11288efec330a593dec' + '5a963a28a24394a31ff4bf99b3ffe7c5' + '9ef1f8f4a6dd7f209a5e163791f6b708' + '05ffecf8c3a670a1d8dcf4b9b46cd0a9' + '9ce866f2d94bd44da2cc1c0c69879edd' + '4f41494491ee5382c5c982096f00a177' + '3affb0103d8ea19b1edbb9dd268ae71f' + 'ecb42165bd320a1120c72703ff7bb8e5' + '2f282455a1b42be166083710b416b981' + 'b3889054b878c204a08bca8cdd330bff' + '1daa1f53b18f8eab969558d11eca30fb' + '7270826065f8432928318d7d4b015a00' + '498cef7f3597b34ac305b2d2f189a301' + 'd44a74015ce8535c9ec6127a6a950a5c' + '125b4a5c7c5843e2e559d20c89fe2a97' + 'ebb1b789bfaf4c7b25ca47ec3213ef9d' + 'a196178fed6bd7048dabd05b484cabc4' + '86cfd6e7ab7c2dcf00ae295d8a0fbfe4' + 'dd0846bcd5656ae6cd8c9d8f47d9fa7c' + '7b4f30a813fedbbbf5518748d24bd12f' + '954434c7a9d408fb0ce277b10d25b498' + 'f1ef105424b3b1fcb7d823f7e5d76e1a' + 'c2a2827b2abc8804b11ae76a8e54a153' + '691eb723fb7c26a5f8a2cd56d1a645b3' + 'b4247bce2d0c8c159edc59c1a387d2d9' + '008e18e486e3574b5de7fb72de091784' + '034c580ef9283451f25dcd39e965c82a' + 'ae170b62d2a18c6b166732e7d2edbf3a' + 'f31fcb1fd5cea1cdda812f2b41bd02e9' + '0507178163a0242a0eb4200db4e58255') diff --git a/libre/kdeutils-libre/PKGBUILD b/libre/kdeutils-libre/PKGBUILD new file mode 100644 index 000000000..7e6dbf1ed --- /dev/null +++ b/libre/kdeutils-libre/PKGBUILD @@ -0,0 +1,189 @@ +# $Id: PKGBUILD 130960 2011-07-09 08:56:36Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgbase=kdeutils +pkgname=('kdeutils-ark-libre' + 'kdeutils-filelight' + 'kdeutils-kcalc' + 'kdeutils-kcharselect' + 'kdeutils-kdf' + 'kdeutils-kfloppy' + 'kdeutils-kgpg' + 'kdeutils-kremotecontrol' + 'kdeutils-ktimer' + 'kdeutils-kwallet' + 'kdeutils-printer-applet' + 'kdeutils-superkaramba' + 'kdeutils-sweeper') +pkgver=4.6.5 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeutils') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-lib' 'kdebase-workspace' + 'kdebindings-python' 'system-config-printer-common' 'libarchive' 'qimageblitz' + 'qjson') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2" + 'fix-kcalc-keys.patch') +sha1sums=('1c2ae023d9a6bcf72d3cebd0d7df2e6a175ffdcb' + 'db87ec4d674a0979fc607f5b438e3e1c403b6eac') + +build() { + cd "${srcdir}"/${pkgbase}-${pkgver} + patch -p3 -i "${srcdir}"/fix-kcalc-keys.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package_kdeutils-ark-libre() { + pkgdesc='Archiving Tool' + depends=('kdebase-runtime' 'kdebase-lib' 'libarchive') + optdepends=('p7zip' 'zip' 'unzip') + url="http://kde.org/applications/utilities/ark/" + provides=("kdeutils-ark=$pkgver") + replaces=('kdeutils-ark') + conflicts=('kdeutils-ark') + cd $srcdir/build/ark + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/ark + make DESTDIR=$pkgdir install +} + +package_kdeutils-filelight() { + pkgdesc='View disk usage information' + depends=('kdebase-runtime' 'qimageblitz') + replaces=('filelight') + conflicts=('filelight') + install='kdeutils.install' + url="http://methylblue.com/filelight/" + cd $srcdir/build/filelight + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/filelight + make DESTDIR=$pkgdir install +} + +package_kdeutils-kcalc() { + pkgdesc='Scientific Calculator' + depends=('kdebase-runtime') + url="http://kde.org/applications/utilities/kcalc/" + cd $srcdir/build/kcalc + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kcalc + make DESTDIR=$pkgdir install +} + +package_kdeutils-kcharselect() { + pkgdesc='Character Selector' + depends=('kdebase-runtime') + url="http://kde.org/applications/utilities/kcharselect/" + cd $srcdir/build/kcharselect + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kcharselect + make DESTDIR=$pkgdir install +} + +package_kdeutils-kdf() { + pkgdesc='View Disk Usage' + depends=('kdebase-runtime') + url="http://kde.org/applications/system/kdiskfree/" + install='kdeutils.install' + cd $srcdir/build/kdf + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kdf + make DESTDIR=$pkgdir install +} + +package_kdeutils-kfloppy() { + pkgdesc='Floppy Formatter' + depends=('kdebase-runtime') + url="http://kde.org/applications/utilities/kfloppy/" + install='kdeutils.install' + cd $srcdir/build/kfloppy + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kfloppy + make DESTDIR=$pkgdir install +} + +package_kdeutils-kgpg() { + pkgdesc='A GnuPG frontend' + depends=('kdepim-runtime' 'kde-agent') + url="http://kde.org/applications/utilities/kgpg" + install='kdeutils.install' + cd $srcdir/build/kgpg + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kgpg + make DESTDIR=$pkgdir install +} + +package_kdeutils-kremotecontrol() { + pkgdesc='Configure your remote controls for use with applications' + replaces=('kdeutils-kdelirc') + conflicts=('kdeutils-kdelirc') + depends=('kdebase-workspace') + url="http://kde.org/applications/utilities/kremotecontrol" + install='kdeutils.install' + cd $srcdir/build/kremotecontrol + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kcontrol/kremotecontrol + make DESTDIR=$pkgdir install +} + +package_kdeutils-ktimer() { + pkgdesc='Countdown Launcher' + depends=('kdebase-runtime') + url="http://kde.org/applications/utilities/ktimer" + install='kdeutils.install' + cd $srcdir/build/ktimer + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/ktimer + make DESTDIR=$pkgdir install +} + +package_kdeutils-kwallet() { + pkgdesc='Wallet Management Tool' + depends=('kdebase-runtime') + url="http://kde.org/applications/system/kwalletmanager/" + install='kdeutils.install' + cd $srcdir/build/kwallet + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kwallet + make DESTDIR=$pkgdir install +} + +package_kdeutils-printer-applet() { + pkgdesc='System tray icon for managing print jobs' + depends=('kdebase-runtime' 'kdebindings-python' 'system-config-printer-common') + url="http://kde.org/applications/system/printerapplet/" + cd $srcdir/build/printer-applet + make DESTDIR=$pkgdir install + + # Use the python2 executable + find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' +} + +package_kdeutils-superkaramba() { + pkgdesc='An engine for cool desktop eyecandy' + depends=('kdebase-runtime' 'kdebindings-python' 'qimageblitz') + url="http://kde.org/applications/utilities/superkaramba" + install='kdeutils.install' + cd $srcdir/build/superkaramba + make DESTDIR=$pkgdir install +} + +package_kdeutils-sweeper() { + pkgdesc='System Cleaner' + depends=('kdebase-runtime') + url="http://kde.org/applications/utilities/sweeper/" + cd $srcdir/build/sweeper + make DESTDIR=$pkgdir install +} + diff --git a/libre/kdeutils-libre/fix-kcalc-keys.patch b/libre/kdeutils-libre/fix-kcalc-keys.patch new file mode 100644 index 000000000..0bfc4b3b2 --- /dev/null +++ b/libre/kdeutils-libre/fix-kcalc-keys.patch @@ -0,0 +1,93 @@ +--- trunk/KDE/kdeutils/kcalc/kcalc.ui 2011/07/06 18:27:29 1240129 ++++ trunk/KDE/kdeutils/kcalc/kcalc.ui 2011/07/06 18:27:58 1240130 +@@ -616,7 +616,7 @@ + <string>7</string> + </property> + <property name="shortcut"> +- <string notr="true">7</string> ++ <string>7</string> + </property> + </widget> + </item> +@@ -632,7 +632,7 @@ + <string>8</string> + </property> + <property name="shortcut"> +- <string notr="true">8</string> ++ <string>8</string> + </property> + </widget> + </item> +@@ -648,7 +648,7 @@ + <string>9</string> + </property> + <property name="shortcut"> +- <string notr="true">9</string> ++ <string>9</string> + </property> + </widget> + </item> +@@ -680,7 +680,7 @@ + <string>4</string> + </property> + <property name="shortcut"> +- <string notr="true">4</string> ++ <string>4</string> + </property> + </widget> + </item> +@@ -696,7 +696,7 @@ + <string>5</string> + </property> + <property name="shortcut"> +- <string notr="true">5</string> ++ <string>5</string> + </property> + </widget> + </item> +@@ -712,7 +712,7 @@ + <string>6</string> + </property> + <property name="shortcut"> +- <string notr="true">6</string> ++ <string>6</string> + </property> + </widget> + </item> +@@ -728,7 +728,7 @@ + <string>1</string> + </property> + <property name="shortcut"> +- <string notr="true">1</string> ++ <string>1</string> + </property> + </widget> + </item> +@@ -744,7 +744,7 @@ + <string>2</string> + </property> + <property name="shortcut"> +- <string notr="true">2</string> ++ <string>2</string> + </property> + </widget> + </item> +@@ -760,7 +760,7 @@ + <string>3</string> + </property> + <property name="shortcut"> +- <string notr="true">3</string> ++ <string>3</string> + </property> + </widget> + </item> +@@ -786,7 +786,7 @@ + <string>0</string> + </property> + <property name="shortcut"> +- <string notr="true">0</string> ++ <string>0</string> + </property> + </widget> + </item> + diff --git a/libre/kdeutils-libre/kdeutils.install b/libre/kdeutils-libre/kdeutils.install new file mode 100644 index 000000000..45f0c2242 --- /dev/null +++ b/libre/kdeutils-libre/kdeutils.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/libre/kdeutils-libre/rePKGBUILD b/libre/kdeutils-libre/rePKGBUILD new file mode 100644 index 000000000..562211c4e --- /dev/null +++ b/libre/kdeutils-libre/rePKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +CARCH=x86_64 +unset build package md5sums source +_repo=extra # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm -vf .{INSTALL,PKGINFO} || true + # put actions for package modifications below this line + +} + +package_kdeutils-ark-libre() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: diff --git a/libre/lesspipe-libre/PKGBUILD b/libre/lesspipe-libre/PKGBUILD new file mode 100644 index 000000000..48d5ebe0f --- /dev/null +++ b/libre/lesspipe-libre/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 14692 2010-04-07 09:06:46Z spupykin $ +# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com> + +_pkgname=lesspipe +pkgname=lesspipe-libre +pkgver=1.71 +pkgrel=1 +pkgdesc='an input filter for the pager less' +depends=('less') +arch=('i686' 'x86_64') +license=('GPL') +optdepends=('rpmextract: support for rpm files' + 'fastjar: support for jar files' + 'unzip: support for zip files' + 'p7zip: support for 7za files' + 'cabextract: support for cab files' + 'cdrkit: support for iso files' + 'html2text: support for html files' + 'antiword: support for word file' + 'unrtf: support for rtf file' + 'imagemagick: support for some image file') +url="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html" +source=(http://www-zeuthen.desy.de/~friebel/unix/less/lesspipe.tar.gz \ + lesspipe.sh) +md5sums=('6d921dc4ce9809d405cb8d694ac7cbbd' + '675b56f560c600f43108adfd98222251') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("$_pkgname") + +build() { + cd $srcdir/$_pkgname-$pkgver + + ./configure --prefix=/usr --yes + make || return 1 + mkdir -p $pkgdir/usr/share/man/man1 + make install PREFIX=$pkgdir/usr || return 1 + + install -D $srcdir/lesspipe.sh $pkgdir/etc/profile.d/lesspipe.sh +} + diff --git a/libre/lesspipe-libre/lesspipe.sh b/libre/lesspipe-libre/lesspipe.sh new file mode 100644 index 000000000..05526e46c --- /dev/null +++ b/libre/lesspipe-libre/lesspipe.sh @@ -0,0 +1,2 @@ +export LESSOPEN='|/usr/bin/lesspipe.sh %s' + diff --git a/libre/lesspipe-libre/rePKGBUILD b/libre/lesspipe-libre/rePKGBUILD new file mode 100644 index 000000000..cb388a715 --- /dev/null +++ b/libre/lesspipe-libre/rePKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +#CARCH=x86_64 +unset build package md5sums source +_repo=community # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm .{INSTALL,PKGINFO} || true + # put actions for package modifications below this line + +} + +package() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD new file mode 100644 index 000000000..e6d5818db --- /dev/null +++ b/libre/xarchiver-libre/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 121261 2011-04-29 22:06:13Z andyrtr $ +# Maintainer: Alexander Fehr <pizzapunk gmail com> +# Contributor: Andrew Simmons <andrew.simmons@gmail.com> + +_pkgname=xarchiver +pkgname=xarchiver-libre +pkgver=0.5.2 +pkgrel=2 +pkgdesc="GTK+ frontend to various command line archivers" +arch=('i686' 'x86_64') +url="http://xarchiver.sourceforge.net" +license=('GPL') +groups=('xfce4-goodies') +depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replacesk=("$_pkgname") +optdepends=('tar: TAR support' + 'gzip: GZIP support' + 'bzip2: BZIP2 support' + 'zip: ZIP support' + 'unzip: ZIP support' + 'p7zip: 7z support' + 'arj: ARJ support' + 'lha: LHA support' + 'lzma-utils: LZMA support' + 'lzop: LZOP support') +options=('!libtool') +install=xarchiver.install +source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2) +md5sums=('2bc7f06403cc6582dd4a8029ec9d038d') + +build() { + cd "$srcdir/xarchiver-$pkgver" + ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 + make +} + +package() { + cd "$srcdir/xarchiver-$pkgver" + make DESTDIR="$pkgdir" install +} + diff --git a/libre/xarchiver-libre/rePKGBUILD b/libre/xarchiver-libre/rePKGBUILD new file mode 100644 index 000000000..0e21f1be0 --- /dev/null +++ b/libre/xarchiver-libre/rePKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +CARCH=x86_64 +unset build package md5sums source +_repo=extra # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm -vf ./.{INSTALL,PKGINFO} + # put actions for package modifications below this line + +} + +package() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: diff --git a/libre/xarchiver-libre/xarchiver.install b/libre/xarchiver-libre/xarchiver.install new file mode 100644 index 000000000..1a1f4b16b --- /dev/null +++ b/libre/xarchiver-libre/xarchiver.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/multilib-testing/lib32-freetype2/PKGBUILD b/multilib-testing/lib32-freetype2/PKGBUILD new file mode 100644 index 000000000..16c362357 --- /dev/null +++ b/multilib-testing/lib32-freetype2/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 51965 2011-07-18 18:21:09Z heftig $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +_pkgbasename=freetype2 +pkgname=lib32-$_pkgbasename +pkgver=2.4.5 +pkgrel=1 +pkgdesc="TrueType font rendering library (32-bit)" +arch=(x86_64) +license=('GPL') +url="http://freetype.sourceforge.net" +depends=('lib32-zlib' $_pkgbasename) +makedepends=(gcc-multilib) +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2 + freetype-2.3.0-enable-spr.patch + freetype-2.2.1-enable-valid.patch) +md5sums=('90428a6d8ec4876cd1eb94858c2a59b0' + '816dc8619a6904a7385769433c0a8653' + '214119610444c9b02766ccee5e220680') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/freetype-${pkgver}" + patch -Np1 -i "${srcdir}/freetype-2.3.0-enable-spr.patch" + patch -Np1 -i "${srcdir}/freetype-2.2.1-enable-valid.patch" + + ./configure --prefix=/usr --libdir=/usr/lib32 + make +} + +package() { + cd "${srcdir}/freetype-${pkgver}" + + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share,bin} +} diff --git a/multilib-testing/lib32-freetype2/freetype-2.2.1-enable-valid.patch b/multilib-testing/lib32-freetype2/freetype-2.2.1-enable-valid.patch new file mode 100644 index 000000000..c78b6b70f --- /dev/null +++ b/multilib-testing/lib32-freetype2/freetype-2.2.1-enable-valid.patch @@ -0,0 +1,20 @@ +--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400 ++++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400 +@@ -110,7 +110,7 @@ + AUX_MODULES += cache + + # TrueType GX/AAT table validation. Needs ftgxval.c below. +-# AUX_MODULES += gxvalid ++AUX_MODULES += gxvalid + + # Support for streams compressed with gzip (files with suffix .gz). + # +@@ -124,7 +124,7 @@ + + # OpenType table validation. Needs ftotval.c below. + # +-# AUX_MODULES += otvalid ++AUX_MODULES += otvalid + + # Auxiliary PostScript driver component to share common code. + # diff --git a/multilib-testing/lib32-freetype2/freetype-2.3.0-enable-spr.patch b/multilib-testing/lib32-freetype2/freetype-2.3.0-enable-spr.patch new file mode 100644 index 000000000..8432e28a4 --- /dev/null +++ b/multilib-testing/lib32-freetype2/freetype-2.3.0-enable-spr.patch @@ -0,0 +1,11 @@ +--- freetype-2.3.0/include/freetype/config/ftoption.h.spf 2007-01-18 14:27:34.000000000 -0500 ++++ freetype-2.3.0/include/freetype/config/ftoption.h 2007-01-18 14:27:48.000000000 -0500 +@@ -92,7 +92,7 @@ + /* This is done to allow FreeType clients to run unmodified, forcing */ + /* them to display normal gray-level anti-aliased glyphs. */ + /* */ +-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ ++#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING + + + /*************************************************************************/ diff --git a/testing/gmp/538dfce27f41.patch b/testing/gmp/538dfce27f41.patch new file mode 100644 index 000000000..2e0a1af50 --- /dev/null +++ b/testing/gmp/538dfce27f41.patch @@ -0,0 +1,38 @@ + +# HG changeset patch +# User Torbjorn Granlund <tege@gmplib.org> +# Date 1310730221 -7200 +# Node ID 538dfce27f410b910d5e2f011119269e224d16a3 +# Parent 03ed209dd7efd4f4fff0ce297bb3a8f7e7ba2366 +(mpn_dcpi1_bdiv_q): Get mpn_sub_1 size argument right. + +diff -r 03ed209dd7ef -r 538dfce27f41 mpn/generic/dcpi1_bdiv_q.c +--- a/mpn/generic/dcpi1_bdiv_q.c Thu Jun 16 12:22:24 2011 +0200 ++++ b/mpn/generic/dcpi1_bdiv_q.c Fri Jul 15 13:43:41 2011 +0200 +@@ -7,7 +7,7 @@ + SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST + GUARANTEED THAT THEY WILL CHANGE OR DISAPPEAR IN A FUTURE GMP RELEASE. + +-Copyright 2006, 2007, 2009, 2010 Free Software Foundation, Inc. ++Copyright 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. + + This file is part of the GNU MP Library. + +@@ -28,7 +28,6 @@ + #include "gmp-impl.h" + + +- + mp_size_t + mpn_dcpi1_bdiv_q_n_itch (mp_size_t n) + { +@@ -130,7 +129,7 @@ + qn = nn - qn; + while (qn > dn) + { +- mpn_sub_1 (np + dn, np + dn, qn, cy); ++ mpn_sub_1 (np + dn, np + dn, qn - dn, cy); + cy = mpn_dcpi1_bdiv_qr_n (qp, np, dp, dn, dinv, tp); + qp += dn; + np += dn; + diff --git a/testing/gmp/PKGBUILD b/testing/gmp/PKGBUILD new file mode 100644 index 000000000..c8b486dec --- /dev/null +++ b/testing/gmp/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 131961 2011-07-18 11:43:05Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gmp +pkgver=5.0.2 +pkgrel=2 +pkgdesc="A free library for arbitrary precision arithmetic" +arch=('i686' 'x86_64') +url="http://gmplib.org/" +depends=('gcc-libs' 'sh') +license=('LGPL3') +options=(!libtool) +install=gmp.install +source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2 + 538dfce27f41.patch) +md5sums=('0bbaedc82fb30315b06b1588b9077cd3' + 'a769be9c41618ca9c35d83375e7097d0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i $srcdir/538dfce27f41.patch + + [ "${CARCH}" = "i686" ] && export ABI="32" + ./configure --build=${CHOST} \ + --prefix=/usr --infodir=/usr/share/info \ + --enable-cxx + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gmp/gmp.install b/testing/gmp/gmp.install new file mode 100644 index 000000000..cad3354f9 --- /dev/null +++ b/testing/gmp/gmp.install @@ -0,0 +1,20 @@ +info_dir=usr/share/info +info_files=(gmp.info gmp.info-1 gmp.info-2) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} diff --git a/testing/iproute2/PKGBUILD b/testing/iproute2/PKGBUILD new file mode 100644 index 000000000..68f05ebac --- /dev/null +++ b/testing/iproute2/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 131999 2011-07-18 20:47:01Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=iproute2 +pkgver=2.6.39 +pkgrel=1 +pkgdesc="IP Routing Utilities" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://www.linux-foundation.org/en/Net:Iproute2" +depends=('perl') +makedepends=('linux-atm') +optdepends=('linux-atm: ATM support') +provides=('iproute') +conflicts=('iproute') +replaces=('iproute') +options=('!makeflags') +backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 'etc/iproute2/rt_protos' \ + 'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 'etc/iproute2/rt_tables') +source=(http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.gz + 'iproute2-fhs.patch') +sha1sums=('9044ad0b4a34a377a54197724373330294d743c7' + '2416b11252364d7a6c742eabb4a6924a75637a46') + + +build() { + cd $srcdir/iproute2-${pkgver} + + # set correct fhs structure + patch -Np1 -i ${srcdir}/iproute2-fhs.patch + + ./configure + + make +} + +package() { + cd $srcdir/iproute2-${pkgver} + + make DESTDIR=$pkgdir install + + # allow loopback to be started before /usr is mounted, this may not be supported in the future + mkdir -p ${pkgdir}/sbin + mv ${pkgdir}/usr/sbin/ip ${pkgdir}/sbin/ip + ln -s /sbin/ip ${pkgdir}/usr/sbin/ip + + # libnetlink isn't installed, install it FS#19385 + install -Dm644 include/libnetlink.h ${pkgdir}/usr/include/libnetlink.h + install -Dm644 lib/libnetlink.a ${pkgdir}/usr/lib/libnetlink.a +} diff --git a/testing/iproute2/iproute2-fhs.patch b/testing/iproute2/iproute2-fhs.patch new file mode 100644 index 000000000..2608414db --- /dev/null +++ b/testing/iproute2/iproute2-fhs.patch @@ -0,0 +1,84 @@ +diff -Naur iproute2.old/Makefile iproute2-2.6.29/Makefile +--- iproute2.old/Makefile 2009-11-11 22:05:21.251407668 +0100 ++++ iproute2-2.6.29/Makefile 2009-11-11 22:07:09.891833516 +0100 +@@ -1,11 +1,12 @@ + DESTDIR=/usr/ + ROOTDIR=$(DESTDIR) + LIBDIR=/usr/lib/ +-SBINDIR=/sbin ++SBINDIR=/usr/sbin + CONFDIR=/etc/iproute2 +-DOCDIR=/share/doc/iproute2 +-MANDIR=/share/man ++DOCDIR=/usr/share/doc/iproute2 ++MANDIR=/usr/share/man + ARPDDIR=/var/lib/arpd ++SHAREDIR=/usr/share + + # Path to db_185.h include + DBM_INCLUDE:=$(ROOTDIR)/usr/include +diff -Naur iproute2.old/tc/tc_util.c iproute2-2.6.29/tc/tc_util.c +--- iproute2.old/tc/tc_util.c 2009-11-11 22:05:21.298076943 +0100 ++++ iproute2-2.6.29/tc/tc_util.c 2009-11-11 22:09:32.865152646 +0100 +@@ -24,8 +24,8 @@ + #include "utils.h" + #include "tc_util.h" + +-#ifndef LIBDIR +-#define LIBDIR "/usr/lib/" ++#ifndef SHAREDIR ++#define SHAREDIR "/usr/share" + #endif + + const char *get_tc_lib(void) +@@ -34,7 +34,7 @@ + + lib_dir = getenv("TC_LIB_DIR"); + if (!lib_dir) +- lib_dir = LIBDIR "/tc/"; ++ lib_dir = SHAREDIR "/tc/"; + + return lib_dir; + } +diff -Naur iproute2.old/netem/Makefile iproute2-2.6.35/netem/Makefile +--- iproute2.old/netem/Makefile 2010-08-06 11:30:48.640940183 +0200 ++++ iproute2-2.6.35/netem/Makefile 2010-08-06 11:32:34.210908892 +0200 +@@ -20,9 +20,9 @@ + $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm + + install: all +- mkdir -p $(DESTDIR)$(LIBDIR)/tc ++ mkdir -p $(DESTDIR)$(SHAREDIR)/tc + for i in $(DISTDATA); \ +- do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \ ++ do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \ + done + + clean: +diff -Naur iproute2.old/tc/Makefile iproute2-2.6.35/tc/Makefile +--- iproute2.old/tc/Makefile 2010-08-06 11:48:35.607472252 +0200 ++++ iproute2-2.6.35/tc/Makefile 2010-08-06 11:49:36.977473380 +0200 +@@ -99,18 +99,11 @@ + $(AR) rcs $@ $(TCLIB) + + install: all +- mkdir -p $(MODDESTDIR) +- install -m 0755 tc $(DESTDIR)$(SBINDIR) +- for i in $(TCSO); \ +- do install -m 755 $$i $(MODDESTDIR); \ +- done +- if [ ! -f $(MODDESTDIR)/m_ipt.so ]; then \ +- if [ -f $(MODDESTDIR)/m_xt.so ]; \ +- then ln -s m_xt.so $(MODDESTDIR)/m_ipt.so ; \ +- elif [ -f $(MODDESTDIR)/m_xt_old.so ]; \ +- then ln -s m_xt_old.so $(MODDESTDIR)/m_ipt.so ; \ +- fi; \ +- fi ++ mkdir -p $(DESTDIR)$(LIBDIR)/tc ++ install -m 0755 tc $(DESTDIR)$(SBINDIR) ++ for i in $(TCSO); \ ++ do install -m 755 $$i $(DESTDIR)$(LIBDIR)/tc; \ ++ done + + clean: + rm -f $(TCOBJ) $(TCLIB) libtc.a tc *.so emp_ematch.yacc.h; \ diff --git a/testing/iptables/PKGBUILD b/testing/iptables/PKGBUILD new file mode 100644 index 000000000..b4d6939b4 --- /dev/null +++ b/testing/iptables/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 131995 2011-07-18 20:27:00Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Thomas Baechler <thomas@archlinux.org> + +pkgname=iptables +pkgver=1.4.11.1 +pkgrel=1 +pkgdesc="A Linux kernel packet control tool" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://www.netfilter.org/" +depends=('glibc' 'bash') +options=('!libtool') +source=(http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.tar.bz2 + iptables + ip6tables + empty.rules + simple_firewall.rules + iptables.conf.d) +backup=(etc/conf.d/iptables) +sha1sums=('2aa0d215485133f2817973b0914a132f628d9f3a' + 'd7540316581bb66c5594885882a14ba394e95098' + '70d70113e3a23f0fe99404c5536507a887a4ca5c' + '83b3363878e3660ce23b2ad325b53cbd6c796ecf' + '9907f9e815592837abc7fa3264a401567b7606ab' + '1c52444ffbecc09f56bb325db49e924dd32f9213') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + # http://bugs.archlinux.org/task/17046 + sed -i '87 i libxt_RATEEST.so: libxt_RATEEST.oo' extensions/GNUmakefile.in + sed -i '88 i \\t${AM_VERBOSE_CCLD} ${CCLD} ${AM_LDFLAGS} -lm -shared ${LDFLAGS} -o $@ $<;\n' extensions/GNUmakefile.in + + ./configure --prefix=/usr --with-kernel=usr/src/linux-$(uname -r) \ + --libexecdir=/usr/lib/iptables --sysconfdir=/etc \ + --with-xtlibdir=/usr/lib/iptables \ + --enable-devel --enable-libipq + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + install -D -m755 ../iptables ${pkgdir}/etc/rc.d/iptables + install -D -m755 ../ip6tables ${pkgdir}/etc/rc.d/ip6tables + install -D -m644 ../empty.rules ${pkgdir}/etc/iptables/empty.rules + install -D -m644 ../simple_firewall.rules ${pkgdir}/etc/iptables/simple_firewall.rules + install -D -m644 ../iptables.conf.d ${pkgdir}/etc/conf.d/iptables +} diff --git a/testing/iptables/empty.rules b/testing/iptables/empty.rules new file mode 100644 index 000000000..e24e1aa30 --- /dev/null +++ b/testing/iptables/empty.rules @@ -0,0 +1,6 @@ +# Empty iptables rule file +*filter +:INPUT ACCEPT [0:0] +:FORWARD ACCEPT [0:0] +:OUTPUT ACCEPT [0:0] +COMMIT diff --git a/testing/iptables/ip6tables b/testing/iptables/ip6tables new file mode 100755 index 000000000..1733db281 --- /dev/null +++ b/testing/iptables/ip6tables @@ -0,0 +1,97 @@ +#!/bin/bash + +# source application-specific settings +[ -f /etc/conf.d/iptables ] && . /etc/conf.d/iptables + +# Set defaults if settings are missing +[ -z "$IP6TABLES" ] && IP6TABLES=/usr/sbin/ip6tables +[ -z "$IP6TABLES_CONF" ] && IP6TABLES_CONF=/etc/iptables/ip6tables.rules + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + if [ ! -f $IP6TABLES_CONF ]; then + echo "Cannot load iptables rules: $IP6TABLES_CONF is missing!" >&2 + exit 1 + fi + stat_busy "Starting IP6 Tables" + if [ "$IPTABLES_FORWARD" = "1" ]; then + echo 1 >/proc/sys/net/ipv6/conf/default/forwarding + echo 1 >/proc/sys/net/ipv6/conf/all/forwarding + fi + if ck_daemon ip6tables; then + /usr/sbin/ip6tables-restore < $IP6TABLES_CONF + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon ip6tables + stat_done + fi + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping IP6 Tables" + echo 0 >/proc/sys/net/ipv6/conf/all/forwarding + echo 0 >/proc/sys/net/ipv6/conf/default/forwarding + if ! ck_daemon ip6tables; then + fail=0 + for table in $(cat /proc/net/ip6_tables_names); do + $IP6TABLES -t $table -F &>/dev/null && \ + $IP6TABLES -t $table -X &>/dev/null && \ + $IP6TABLES -t $table -Z &>/dev/null + [ $? -gt 0 ] && fail=1 + done + if [ $fail -gt 0 ]; then + stat_fail + else + rm_daemon ip6tables + # reset policies + for table in filter mangle raw; do + if grep -qw $table /proc/net/ip6_tables_names; then + $IP6TABLES -t $table -P OUTPUT ACCEPT + fi + done + for table in filter mangle; do + if grep -qw $table /proc/net/ip6_tables_names; then + $IP6TABLES -t $table -P INPUT ACCEPT + $IP6TABLES -t $table -P FORWARD ACCEPT + fi + done + for table in mangle raw; do + if grep -qw $table /proc/net/ip6_tables_names; then + $IP6TABLES -t $table -P PREROUTING ACCEPT + fi + done + for table in mangle; do + if grep -qw $table /proc/net/ip6_tables_names; then + $IP6TABLES -t $table -P POSTROUTING ACCEPT + fi + done + stat_done + fi + else + stat_fail + fi + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + save) + stat_busy "Saving IP6 Tables" + /usr/sbin/ip6tables-save >$IP6TABLES_CONF + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + fi + ;; + *) + echo "usage: $0 {start|stop|restart|save}" +esac +exit 0 diff --git a/testing/iptables/iptables b/testing/iptables/iptables new file mode 100755 index 000000000..50c13d5c1 --- /dev/null +++ b/testing/iptables/iptables @@ -0,0 +1,95 @@ +#!/bin/bash + +# source application-specific settings +[ -f /etc/conf.d/iptables ] && . /etc/conf.d/iptables + +# Set defaults if settings are missing +[ -z "$IPTABLES" ] && IPTABLES=/usr/sbin/iptables +[ -z "$IPTABLES_CONF" ] && IPTABLES_CONF=/etc/iptables/iptables.rules + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + if [ ! -f $IPTABLES_CONF ]; then + echo "Cannot load iptables rules: $IPTABLES_CONF is missing!" >&2 + exit 1 + fi + stat_busy "Starting IP Tables" + if [ "$IPTABLES_FORWARD" = "1" ]; then + echo 1 >/proc/sys/net/ipv4/ip_forward + fi + if ck_daemon iptables; then + /usr/sbin/iptables-restore < $IPTABLES_CONF + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon iptables + stat_done + fi + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping IP Tables" + echo 0 >/proc/sys/net/ipv4/ip_forward + if ! ck_daemon iptables; then + fail=0 + for table in $(cat /proc/net/ip_tables_names); do + $IPTABLES -t $table -F &>/dev/null && \ + $IPTABLES -t $table -X &>/dev/null && \ + $IPTABLES -t $table -Z &>/dev/null + [ $? -gt 0 ] && fail=1 + done + if [ $fail -gt 0 ]; then + stat_fail + else + rm_daemon iptables + # reset policies + for table in filter nat mangle raw; do + if grep -qw $table /proc/net/ip_tables_names; then + $IPTABLES -t $table -P OUTPUT ACCEPT + fi + done + for table in filter mangle; do + if grep -qw $table /proc/net/ip_tables_names; then + $IPTABLES -t $table -P INPUT ACCEPT + $IPTABLES -t $table -P FORWARD ACCEPT + fi + done + for table in nat mangle raw; do + if grep -qw $table /proc/net/ip_tables_names; then + $IPTABLES -t $table -P PREROUTING ACCEPT + fi + done + for table in nat mangle; do + if grep -qw $table /proc/net/ip_tables_names; then + $IPTABLES -t $table -P POSTROUTING ACCEPT + fi + done + stat_done + fi + else + stat_fail + fi + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + save) + stat_busy "Saving IP Tables" + /usr/sbin/iptables-save >$IPTABLES_CONF + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + fi + ;; + *) + echo "usage: $0 {start|stop|restart|save}" +esac +exit 0 diff --git a/testing/iptables/iptables.conf.d b/testing/iptables/iptables.conf.d new file mode 100644 index 000000000..07bc11aa1 --- /dev/null +++ b/testing/iptables/iptables.conf.d @@ -0,0 +1,8 @@ +# Configuration for iptables rules + +IPTABLES=/usr/sbin/iptables +IP6TABLES=/usr/sbin/ip6tables + +IPTABLES_CONF=/etc/iptables/iptables.rules +IP6TABLES_CONF=/etc/iptables/ip6tables.rules +IPTABLES_FORWARD=0 # enable IP forwarding? diff --git a/testing/iptables/simple_firewall.rules b/testing/iptables/simple_firewall.rules new file mode 100644 index 000000000..e1604cc36 --- /dev/null +++ b/testing/iptables/simple_firewall.rules @@ -0,0 +1,11 @@ +*filter +:INPUT DROP [0:0] +:FORWARD DROP [0:0] +:OUTPUT ACCEPT [0:0] +-A INPUT -p icmp -j ACCEPT +-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT +-A INPUT -i lo -j ACCEPT +-A INPUT -p tcp -j REJECT --reject-with tcp-reset +-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable +-A INPUT -j REJECT --reject-with icmp-proto-unreachable +COMMIT |