diff options
Diffstat (limited to 'extra')
25 files changed, 384 insertions, 117 deletions
diff --git a/extra/aspell-de/PKGBUILD b/extra/aspell-de/PKGBUILD index 4e2c6febf..7d15c7fe8 100644 --- a/extra/aspell-de/PKGBUILD +++ b/extra/aspell-de/PKGBUILD @@ -1,19 +1,18 @@ -# $Id: PKGBUILD 116607 2011-03-24 12:52:36Z andrea $ +# $Id: PKGBUILD 137818 2011-09-11 20:26:33Z pierre $ # Maintainer: # Contributor: Simo Leone <simo@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=aspell-de -pkgver=20100727 -pkgrel=3 +pkgver=20110609 +pkgrel=1 pkgdesc="German dictionary for aspell" arch=('i686' 'x86_64') url="http://j3e.de/ispell/igerman98/index.html" license=('GPL2') depends=('aspell') -source=(http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2) -md5sums=('53a66eccaf15fa92d4e5085e7938ee69') -sha1sums=('7cfde06b3086b03b9d400998a7254598a5b72564') +source=("http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2") +md5sums=('6e7ea765b6188c08d470111e221cc91a') build() { cd "${srcdir}/igerman98-${pkgver}" diff --git a/extra/dnsmasq/PKGBUILD b/extra/dnsmasq/PKGBUILD index 889033fb9..2f965ee0e 100644 --- a/extra/dnsmasq/PKGBUILD +++ b/extra/dnsmasq/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 136349 2011-08-27 02:25:00Z dreisner $ +# $Id: PKGBUILD 137814 2011-09-11 16:06:30Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Paul Mattal <paul@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=dnsmasq pkgver=2.58 -pkgrel=1 +pkgrel=2 pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server" url="http://www.thekelleys.org.uk/dnsmasq/doc.html" arch=('i686' 'x86_64') license=('GPL') depends=('glibc' 'bash' 'dbus-core') makedepends=('libcap>=2.16') -backup=('etc/dnsmasq.conf') -install= -source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz" - 'rc.dnsmasq') +install=$pkgname.install +backup=('etc/dnsmasq.conf' + 'etc/conf.d/dnsmasq') +source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.gz" + 'dnsmasq.confd' + 'rc.dnsmasq' + 'dnsmasq.service') md5sums=('14c5c81debb324adc261db971730f4c6' - 'e956eee1ec24212a3254d2b168187495') + '66479e99123faeab83ebaed709ef95b5' + '818c122ea4d81868a75afad109411170' + 'f329d86f8ba1cd85f9b6ee59e0ce3791') build() { cd "$srcdir/$pkgname-$pkgver" @@ -35,9 +40,11 @@ package() { install -dm755 "$pkgdir"/var/{db,lib/misc} install -Dm755 "$srcdir"/rc.dnsmasq "$pkgdir"/etc/rc.d/dnsmasq + install -Dm644 "$srcdir"/dnsmasq.confd "$pkgdir/etc/conf.d/dnsmasq" + install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf - install -Dm644 "contrib/systemd/dnsmasq.service" "$pkgdir"/lib/systemd/system/dnsmasq.service + install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/lib/systemd/system/dnsmasq.service } # vim: ts=2 sw=2 et ft=sh diff --git a/extra/dnsmasq/dnsmasq.confd b/extra/dnsmasq/dnsmasq.confd new file mode 100644 index 000000000..933b92850 --- /dev/null +++ b/extra/dnsmasq/dnsmasq.confd @@ -0,0 +1,9 @@ +# +# runtime config for dnsmasq +# + +# if unset, dnsmasq will run as nobody. +DNSMASQ_USER=dnsmasq + +# other runtime options. treated as an array. +DNSMASQ_OPTS=() diff --git a/extra/dnsmasq/dnsmasq.install b/extra/dnsmasq/dnsmasq.install new file mode 100644 index 000000000..c2edb7db5 --- /dev/null +++ b/extra/dnsmasq/dnsmasq.install @@ -0,0 +1,21 @@ +#!/bin/sh + +add_dnsmasq_user() { + if ! getent passwd dnsmasq >/dev/null; then + useradd -r -d / -c 'dnsmasq daemon' -s /sbin/nologin dnsmasq + fi +} + +post_install() { + add_dnsmasq_user +} + +post_upgrade() { + add_dnsmasq_user +} + +post_remove() { + if getent passwd dnsmasq >/dev/null; then + userdel dnsmasq + fi +} diff --git a/extra/dnsmasq/dnsmasq.service b/extra/dnsmasq/dnsmasq.service new file mode 100644 index 000000000..b09cb24b9 --- /dev/null +++ b/extra/dnsmasq/dnsmasq.service @@ -0,0 +1,13 @@ +[Unit] +Description=A lightweight DHCP and caching DNS server + +[Service] +Type=dbus +BusName=uk.org.thekelleys.dnsmasq +ExecStartPre=/usr/sbin/dnsmasq --test +ExecStart=/usr/sbin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target +Alias=dbus-uk.org.thekelleys.dnsmasq diff --git a/extra/dnsmasq/rc.dnsmasq b/extra/dnsmasq/rc.dnsmasq index 167607294..2ded33695 100755 --- a/extra/dnsmasq/rc.dnsmasq +++ b/extra/dnsmasq/rc.dnsmasq @@ -2,35 +2,52 @@ . /etc/rc.conf . /etc/rc.d/functions +. /etc/conf.d/dnsmasq -PID=`pidof -o %PPID /usr/sbin/dnsmasq` -case "$1" in +pidfile=/run/dnsmasq.pid +if [[ -r $pidfile ]]; then + read -r PID < "$pidfile" + if [[ ! -d /proc/$PID ]]; then + # stale pidfile + unset PID + rm -f "$pidfile" + fi +fi + +case $1 in start) stat_busy "Starting DNS/DHCP daemon" - [ -z "$PID" ] && /usr/sbin/dnsmasq - if [ $? -gt 0 ] ; then - stat_fail + if [[ -z $PID ]] && /usr/sbin/dnsmasq --test && + /usr/sbin/dnsmasq "--user=${DNSMASQ_USER:-nobody}" \ + "--pid-file=$pidfile" \ + "${DNSMASQ_OPTS[@]}"; then + add_daemon dnsmasq + stat_done else - add_daemon dnsmasq # create the 'state' dir - stat_done + stat_fail fi ;; stop) stat_busy "Stopping DNS/DHCP daemon" - [ "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon dnsmasq # remove the 'state' dir + if [[ $PID ]] && kill "$PID" &> /dev/null; then + # dnsmasq doesn't clean up after itself + rm -f "$pidfile" + rm_daemon dnsmasq stat_done + else + stat_fail fi ;; restart) $0 stop - sleep 5 + sleep 1 $0 start ;; + checkconfig) + # diagnostics will be printed, with zero/non-zero exit + /usr/sbin/dnsmasq --test + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 <start|stop|restart|checkconfig>" esac -exit 0 + diff --git a/extra/dvd+rw-tools/PKGBUILD b/extra/dvd+rw-tools/PKGBUILD index 7e973b374..27c8c9122 100644 --- a/extra/dvd+rw-tools/PKGBUILD +++ b/extra/dvd+rw-tools/PKGBUILD @@ -1,23 +1,34 @@ -# $Id: PKGBUILD 137728 2011-09-10 14:21:31Z pierre $ +# $Id: PKGBUILD 137803 2011-09-11 11:04:53Z pierre $ # Maintainer: damir <damir@archlinux.org> pkgname=dvd+rw-tools pkgver=7.1 -pkgrel=3 +pkgrel=4 pkgdesc="dvd burning tools" arch=('i686' 'x86_64') license=('GPL') url="http://fy.chalmers.se/~appro/linux/DVD+RW" depends=('cdrkit' 'gcc-libs') source=("http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${pkgver}.tar.gz" - 'buildpatch-7.0-3-20080108-karolina.patch') + 'dvd+rw-tools-7.0-dvddl.patch' + 'dvd+rw-tools-7.0-glibc2.6.90.patch' + 'dvd+rw-tools-7.0-wctomb.patch' + 'dvd+rw-tools-7.0-wexit.patch') md5sums=('8acb3c885c87f6838704a0025e435871' - '54b4dc52f5380216d4d9fc2dd2086d31') + '65d30aa98ff314f256d0a1afb9e3edf6' + '1be5401035ca850edb7e522f22aead4b' + '3ba1af063b30f942e1cd2004044702d3' + 'b2c66b6c6243b207fbe4f6ae34fa6cba') build() { cd "${srcdir}/${pkgname}-${pkgver}" - # fix build, thank you Karolina - patch -Np1 -i "${srcdir}/buildpatch-7.0-3-20080108-karolina.patch" + # patches from Gentoo/Fedora + # see https://bugs.gentoo.org/257360, https://bugzilla.redhat.com/show_bug.cgi?id=426068 + # and https://bugzilla.redhat.com/show_bug.cgi?id=243036 + patch -p0 -i "${srcdir}/dvd+rw-tools-7.0-dvddl.patch" + patch -p1 -i "${srcdir}/dvd+rw-tools-7.0-glibc2.6.90.patch" + patch -p0 -i "${srcdir}/dvd+rw-tools-7.0-wctomb.patch" + patch -p1 -i "${srcdir}/dvd+rw-tools-7.0-wexit.patch" make } diff --git a/extra/dvd+rw-tools/dvd+rw-tools-7.0-dvddl.patch b/extra/dvd+rw-tools/dvd+rw-tools-7.0-dvddl.patch new file mode 100644 index 000000000..c1c6fb333 --- /dev/null +++ b/extra/dvd+rw-tools/dvd+rw-tools-7.0-dvddl.patch @@ -0,0 +1,13 @@ +--- ./growisofs_mmc.cpp.joe 2006-04-27 20:45:00.788446635 +0200 ++++ ./growisofs_mmc.cpp 2006-04-27 20:46:01.666824300 +0200 +@@ -1412,9 +1412,7 @@ + blocks += 15, blocks &= ~15; + + if (blocks <= split) +- fprintf (stderr,":-( more than 50%% of space will be *wasted*!\n" +- " use single layer media for this recording\n"), +- exit (FATAL_START(EMEDIUMTYPE)); ++ fprintf (stderr,":-? more than 50%% of space will be *wasted*!\n"); + + blocks /= 16; + blocks += 1; diff --git a/extra/dvd+rw-tools/dvd+rw-tools-7.0-glibc2.6.90.patch b/extra/dvd+rw-tools/dvd+rw-tools-7.0-glibc2.6.90.patch new file mode 100644 index 000000000..49742d3c4 --- /dev/null +++ b/extra/dvd+rw-tools/dvd+rw-tools-7.0-glibc2.6.90.patch @@ -0,0 +1,11 @@ +diff -up dvd+rw-tools-7.0/transport.hxx.glibc2.6.90 dvd+rw-tools-7.0/transport.hxx +--- dvd+rw-tools-7.0/transport.hxx.glibc2.6.90 2007-08-15 12:56:17.000000000 +0200 ++++ dvd+rw-tools-7.0/transport.hxx 2007-08-15 12:56:42.000000000 +0200 +@@ -11,6 +11,7 @@ + #include <stdlib.h> + #include <unistd.h> + #include <string.h> ++#include <limits.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> diff --git a/extra/dvd+rw-tools/dvd+rw-tools-7.0-wctomb.patch b/extra/dvd+rw-tools/dvd+rw-tools-7.0-wctomb.patch new file mode 100644 index 000000000..56bd72575 --- /dev/null +++ b/extra/dvd+rw-tools/dvd+rw-tools-7.0-wctomb.patch @@ -0,0 +1,11 @@ +--- transport.hxx~ 2008-03-25 21:24:47.000000000 -0400 ++++ transport.hxx 2008-03-25 21:25:36.000000000 -0400 +@@ -116,7 +116,7 @@ + extern "C" char *plusminus_locale() + { static class __plusminus { + private: +- char str[4]; ++ char str[MB_LEN_MAX]; + public: + __plusminus() { setlocale(LC_CTYPE,ENV_LOCALE); + int l = wctomb(str,(wchar_t)(unsigned char)'±'); diff --git a/extra/dvd+rw-tools/dvd+rw-tools-7.0-wexit.patch b/extra/dvd+rw-tools/dvd+rw-tools-7.0-wexit.patch new file mode 100644 index 000000000..e7910cbdd --- /dev/null +++ b/extra/dvd+rw-tools/dvd+rw-tools-7.0-wexit.patch @@ -0,0 +1,11 @@ +--- dvd+rw-tools-7.0/dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200 ++++ dvd+rw-tools-7.0/dvd+rw-format.cpp 2007-06-21 12:44:13.000000000 +0200 +@@ -245,7 +245,7 @@ int main (int argc, char *argv[]) + alarm(1); + while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ; + if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n"); +- exit (0); ++ exit (WEXITSTATUS(i)); + } + #endif + diff --git a/extra/fcgi/PKGBUILD b/extra/fcgi/PKGBUILD index d6024ec72..39584d9b9 100644 --- a/extra/fcgi/PKGBUILD +++ b/extra/fcgi/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 87808 2010-08-18 10:56:40Z jgc $ +# $Id: PKGBUILD 137828 2011-09-11 21:00:11Z pierre $ # Maintainer: tobias <tobias@justdreams.de> # Modified by: eliott <eliott@cactuswax.net> # Original by Benjamin Andresen, klapmuetz [at] gmail [dot] com pkgname=fcgi pkgver=2.4.0 -pkgrel=6 +pkgrel=7 depends=('gcc-libs') pkgdesc="FASTCgi(fcgi) islanguage independent, high performant extension to CGI" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('custom') options=('!libtool' '!makeflags') url="http://www.fastcgi.com" -source=(http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz - gcc44-fix-include.patch) +source=("http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz" + 'gcc44-fix-include.patch') md5sums=('d15060a813b91383a9f3c66faf84867e' 'a8028462163755f3ce457a5c641f237b') @@ -26,6 +26,10 @@ build() { automake --foreign ./configure --prefix=/usr make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 LICENSE.TERMS "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD index 9039c42b7..9c1924ec3 100644 --- a/extra/feh/PKGBUILD +++ b/extra/feh/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 137062 2011-09-05 19:40:28Z bisson $ +# $Id: PKGBUILD 137830 2011-09-11 21:00:49Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=feh -pkgver=1.16 +pkgver=1.16.1 pkgrel=1 pkgdesc='Fast, lightweight image viewer which uses imlib2' arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ depends=('giblib' 'curl' 'libxinerama') optdepends=('perl: feh-cam, webcam wrapper for feh') makedepends=('libxt') source=("${url}${pkgname}-${pkgver}.tar.bz2") -sha1sums=('4793cecb7986335c096bb3c8adf0c364c36d8a34') +sha1sums=('f016043826cf30d33675fceba24d9753206d947a') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/freetds/PKGBUILD b/extra/freetds/PKGBUILD index 2912f9b39..1b8b9050d 100644 --- a/extra/freetds/PKGBUILD +++ b/extra/freetds/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Aaron Malone <aaron@munge.net> pkgname=freetds -pkgver=0.82 -pkgrel=5 +pkgver=0.91 +pkgrel=1 pkgdesc='Library for accessing Sybase and MS SQL Server databases' url='http://www.freetds.org' arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ backup=('etc/freetds/freetds.conf' 'etc/freetds/locales.conf' 'etc/freetds/pool.conf') source=("ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/${pkgname}-${pkgver}.tar.gz") -md5sums=('3df6b2e83fd420e90f1becbd1162990a') +md5sums=('b14db5823980a32f0643d1a84d3ec3ad') build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/extra/gptfdisk/PKGBUILD b/extra/gptfdisk/PKGBUILD index 4ba3370bc..fe091914d 100644 --- a/extra/gptfdisk/PKGBUILD +++ b/extra/gptfdisk/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 137793 2011-09-11 03:49:47Z foutrelis $ +# $Id: PKGBUILD 137816 2011-09-11 20:07:54Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Hokum <hokum_at_mail_dot_ru> pkgname=gptfdisk pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks" arch=('i686' 'x86_64') url="http://www.rodsbooks.com/gdisk/" @@ -27,8 +27,8 @@ package () { cd "$srcdir/$pkgname-$pkgver" install -d "$pkgdir"/{sbin,usr/share/{doc/gdisk,man/man8}} - install -t "$pkgdir/sbin" gdisk cgdisk sgdisk fixparts - install -m644 -t "$pkgdir/usr/share/man/man8" {gdisk,cgdisk,sgdisk}.8 + install -t "$pkgdir/sbin" {,c,s}gdisk fixparts + install -m644 -t "$pkgdir/usr/share/man/man8" {{,c,s}gdisk,fixparts}.8 install -m644 -t "$pkgdir/usr/share/doc/gdisk" README NEWS } diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD index 040355421..c83933c40 100644 --- a/extra/kdebase-workspace/PKGBUILD +++ b/extra/kdebase-workspace/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 137511 2011-09-08 09:01:46Z andrea $ +# $Id: PKGBUILD 137806 2011-09-11 11:17:09Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=kdebase-workspace _pkgname=kde-workspace pkgver=4.7.1 -pkgrel=4 +pkgrel=6 pkgdesc="KDE Base Workspace" arch=('i686' 'x86_64') url='http://www.kde.org' @@ -17,8 +17,8 @@ groups=('kde') depends=('kdepim-runtime' 'lm_sensors' 'libraw1394' 'libqalculate' 'qimageblitz' 'polkit-kde' 'consolekit' 'xorg-xprop' 'libxdamage' 'libxklavier' 'xorg-xsetroot' 'libxcomposite' 'libxinerama') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdebindings-python'i - 'networkmanager') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdebindings-python' + 'networkmanager') optdepends=('kde-wallpapers: officials KDE wallapers') replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter') conflicts=('kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter') @@ -30,7 +30,8 @@ backup=('usr/share/config/kdm/kdmrc' options=('emptydirs') source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2" 'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam' - 'fixpath.patch' 'terminate-server.patch') + 'fixpath.patch' 'terminate-server.patch' + 'important-performance-bugfix.patch') sha1sums=('c7867d2f788086078abbcff53a035a6131232539' '8c2bdefb23a03b753b78d16944d03fa3939d2d99' '5db3a245201bd4a50e65aa2ef583cf5490e4f646' @@ -38,7 +39,8 @@ sha1sums=('c7867d2f788086078abbcff53a035a6131232539' '603cc79c4d2b4eae62bb5f244aeecb3a778b5516' '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8' 'd7b5883f7e65c6839b1f65f94d58026673dd0226' - 'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee') + 'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee' + '4fa046db21e3203771fd29bc0e1c32918862b894') build() { cd ${srcdir}/${_pkgname}-${pkgver} @@ -46,6 +48,9 @@ build() { patch -p0 -i ${srcdir}/fixpath.patch patch -p0 -i ${srcdir}/terminate-server.patch + # Already fixed upstream + patch -p1 -i "${srcdir}"/important-performance-bugfix.patch + cd ${srcdir} mkdir build cd build diff --git a/extra/kdebase-workspace/important-performance-bugfix.patch b/extra/kdebase-workspace/important-performance-bugfix.patch new file mode 100644 index 000000000..a34c77e5c --- /dev/null +++ b/extra/kdebase-workspace/important-performance-bugfix.patch @@ -0,0 +1,91 @@ +commit e142a1a142cbc8b87f021223e6abc947f456a7f9 +Author: Thomas Lübking <thomas.luebking@gmail.com> +Date: Thu Sep 8 22:20:35 2011 +0200 + + replace non-const QVector::operator[] accesses with const ::at() to avoid maaany deep vecor copies + +diff --git a/kwin/effects.cpp b/kwin/effects.cpp +index e0c76cb..f5863fc0 100644 +--- a/kwin/effects.cpp ++++ b/kwin/effects.cpp +@@ -200,7 +200,7 @@ void EffectsHandlerImpl::reconfigure() + void EffectsHandlerImpl::prePaintScreen(ScreenPrePaintData& data, int time) + { + if (current_paint_screen < loaded_effects.size()) { +- loaded_effects[current_paint_screen++].second->prePaintScreen(data, time); ++ loaded_effects.at(current_paint_screen++).second->prePaintScreen(data, time); + --current_paint_screen; + } + // no special final code +@@ -209,7 +209,7 @@ void EffectsHandlerImpl::prePaintScreen(ScreenPrePaintData& data, int time) + void EffectsHandlerImpl::paintScreen(int mask, QRegion region, ScreenPaintData& data) + { + if (current_paint_screen < loaded_effects.size()) { +- loaded_effects[current_paint_screen++].second->paintScreen(mask, region, data); ++ loaded_effects.at(current_paint_screen++).second->paintScreen(mask, region, data); + --current_paint_screen; + } else + scene->finalPaintScreen(mask, region, data); +@@ -218,7 +218,7 @@ void EffectsHandlerImpl::paintScreen(int mask, QRegion region, ScreenPaintData& + void EffectsHandlerImpl::postPaintScreen() + { + if (current_paint_screen < loaded_effects.size()) { +- loaded_effects[current_paint_screen++].second->postPaintScreen(); ++ loaded_effects.at(current_paint_screen++).second->postPaintScreen(); + --current_paint_screen; + } + // no special final code +@@ -227,7 +227,7 @@ void EffectsHandlerImpl::postPaintScreen() + void EffectsHandlerImpl::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) + { + if (current_paint_window < loaded_effects.size()) { +- loaded_effects[current_paint_window++].second->prePaintWindow(w, data, time); ++ loaded_effects.at(current_paint_window++).second->prePaintWindow(w, data, time); + --current_paint_window; + } + // no special final code +@@ -236,7 +236,7 @@ void EffectsHandlerImpl::prePaintWindow(EffectWindow* w, WindowPrePaintData& dat + void EffectsHandlerImpl::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) + { + if (current_paint_window < loaded_effects.size()) { +- loaded_effects[current_paint_window++].second->paintWindow(w, mask, region, data); ++ loaded_effects.at(current_paint_window++).second->paintWindow(w, mask, region, data); + --current_paint_window; + } else + scene->finalPaintWindow(static_cast<EffectWindowImpl*>(w), mask, region, data); +@@ -245,7 +245,7 @@ void EffectsHandlerImpl::paintWindow(EffectWindow* w, int mask, QRegion region, + void EffectsHandlerImpl::paintEffectFrame(EffectFrame* frame, QRegion region, double opacity, double frameOpacity) + { + if (current_paint_effectframe < loaded_effects.size()) { +- loaded_effects[current_paint_effectframe++].second->paintEffectFrame(frame, region, opacity, frameOpacity); ++ loaded_effects.at(current_paint_effectframe++).second->paintEffectFrame(frame, region, opacity, frameOpacity); + --current_paint_effectframe; + } else { + const EffectFrameImpl* frameImpl = static_cast<const EffectFrameImpl*>(frame); +@@ -256,7 +256,7 @@ void EffectsHandlerImpl::paintEffectFrame(EffectFrame* frame, QRegion region, do + void EffectsHandlerImpl::postPaintWindow(EffectWindow* w) + { + if (current_paint_window < loaded_effects.size()) { +- loaded_effects[current_paint_window++].second->postPaintWindow(w); ++ loaded_effects.at(current_paint_window++).second->postPaintWindow(w); + --current_paint_window; + } + // no special final code +@@ -273,7 +273,7 @@ bool EffectsHandlerImpl::provides(Effect::Feature ef) + void EffectsHandlerImpl::drawWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) + { + if (current_draw_window < loaded_effects.size()) { +- loaded_effects[current_draw_window++].second->drawWindow(w, mask, region, data); ++ loaded_effects.at(current_draw_window++).second->drawWindow(w, mask, region, data); + --current_draw_window; + } else + scene->finalDrawWindow(static_cast<EffectWindowImpl*>(w), mask, region, data); +@@ -282,7 +282,7 @@ void EffectsHandlerImpl::drawWindow(EffectWindow* w, int mask, QRegion region, W + void EffectsHandlerImpl::buildQuads(EffectWindow* w, WindowQuadList& quadList) + { + if (current_build_quads < loaded_effects.size()) { +- loaded_effects[current_build_quads++].second->buildQuads(w, quadList); ++ loaded_effects.at(current_build_quads++).second->buildQuads(w, quadList); + --current_build_quads; + } + } diff --git a/extra/kdeplasma-applets-networkmanagement/PKGBUILD b/extra/kdeplasma-applets-networkmanagement/PKGBUILD index be8b6ac18..28849d7db 100644 --- a/extra/kdeplasma-applets-networkmanagement/PKGBUILD +++ b/extra/kdeplasma-applets-networkmanagement/PKGBUILD @@ -4,8 +4,8 @@ pkgname=kdeplasma-applets-networkmanagement epoch=1 -pkgver=git20110907 -_commit=d119e72811b25d167ee646d831b0aa4bb48f2a15 +pkgver=git20110911 +_commit=6028b72a14f7fa714e6b4b101d51a4fb4bda3168 pkgrel=1 pkgdesc="KDE control panel and widget network connections" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ optdepends=('mobile-broadband-provider-info: Database of mobile broadband servic 'openconnect: Cisco AnyConnect compatible VPN client') install=${pkgname}.install source=("${pkgname}-${pkgver}.tar.gz"::"http://quickgit.kde.org/?p=networkmanagement.git&a=snapshot&h=${_commit}") -md5sums=('54c37656f4795cef3cf69254758db094') +md5sums=('8c8d92af3409be5a4faac21b25d0b5d0') build() { cd "${srcdir}" diff --git a/extra/mod_dnssd/PKGBUILD b/extra/mod_dnssd/PKGBUILD index 7c1ddc18d..52a6e65e5 100644 --- a/extra/mod_dnssd/PKGBUILD +++ b/extra/mod_dnssd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: $ +# $Id: PKGBUILD 137844 2011-09-12 03:00:03Z eric $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: tardo <tardo@nagi-fanboi.net> # Contributor: William Rea <sillywilly@gmail.com> pkgname=mod_dnssd pkgver=0.6 -pkgrel=3 +pkgrel=4 pkgdesc="Zeroconf module for Apache2" arch=('i686' 'x86_64') url="http://0pointer.de/lennart/projects/mod_dnssd" @@ -16,8 +16,12 @@ md5sums=('bed3d95a98168bf0515922d1c05020c5') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-lynx || return 1 - make || return 1 + ./configure --prefix=/usr --disable-lynx + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" install -m755 -d "${pkgdir}/usr/lib/httpd/modules" - install -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/" || return 1 + install -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/" } diff --git a/extra/oxine/PKGBUILD b/extra/oxine/PKGBUILD index f1fb5eb5e..e3dc227bc 100644 --- a/extra/oxine/PKGBUILD +++ b/extra/oxine/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 59896 2009-11-29 15:47:18Z jgc $ +# $Id: PKGBUILD 137856 2011-09-12 03:56:43Z eric $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Rouslan Solomakhin <rouslan@localnet.com> # Contributor: dorphell <dorphell@archlinux.org> + pkgname=oxine pkgver=0.7.1 -pkgrel=3 -pkgdesc="oxine is a lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems." +pkgrel=4 +pkgdesc="A lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems" arch=('i686' 'x86_64') -depends=('xine-lib>=1.1.16.3' 'libexif>=0.6.17' 'eject' 'libcdio>=0.82' 'curl>=7.19.4' 'libxinerama' 'libsm' 'libxtst') -makedepends=('pkgconfig') -license=('GPL') url="http://oxine.sourceforge.net/" +license=('GPL') +depends=('xine-lib' 'libexif' 'eject' 'libcdio' 'curl' 'libxtst') source=(http://downloads.sourceforge.net/sourceforge/oxine/${pkgname}-${pkgver}.tar.gz) md5sums=('2a2d05ee21892624e35cf539e532c0dd') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-hal \ - --without-imagemagick --disable-gdkpixbuf || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + sed -i 's|#include <curl/types.h>||' configure src/download.c + ./configure --prefix=/usr --disable-hal --without-jsw --disable-extractor \ + --without-imagemagick --disable-gdkpixbuf --disable-weather + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/perl-socket6/PKGBUILD b/extra/perl-socket6/PKGBUILD new file mode 100644 index 000000000..be7ac34f0 --- /dev/null +++ b/extra/perl-socket6/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Generator : CPANPLUS::Dist::Arch 1.18 + +pkgname='perl-socket6' +pkgver='0.23' +pkgrel='1' +pkgdesc="getaddrinfo/getnameinfo support module" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Socket6' +source=('http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-0.23.tar.gz') +md5sums=('2c02adb13c449d48d232bb704ddbd492') +sha512sums=('39ced223ecdef89e6fa241031019bb5a73e63d2dfdaf3edb55bfea0cb81b91bea09f1cc26b2d15fa28d32227cc13cdb093c70f0ba346c9bdb523359de53d96f9') +_distdir="${srcdir}/Socket6-0.23" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD index 18c9a5570..54fac2ee4 100644 --- a/extra/php/PKGBUILD +++ b/extra/php/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 136443 2011-08-29 12:25:25Z pierre $ +# $Id: PKGBUILD 137805 2011-09-11 11:11:53Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgbase=php @@ -8,10 +8,8 @@ pkgname=('php' 'php-fpm' 'php-embed' 'php-pear' - 'php-curl' 'php-enchant' 'php-gd' - 'php-gmp' 'php-intl' 'php-ldap' 'php-mcrypt' @@ -25,13 +23,13 @@ pkgname=('php' 'php-xsl') pkgver=5.3.8 _suhosinver=5.3.7-0.9.10 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') license=('PHP') url='http://www.php.net' makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'sqlite3' 'unixodbc' 'net-snmp' 'libzip' 'enchant' 'file' 'freetds' - 'libmcrypt' 'tidyhtml' 'aspell' 'libtool' 'libpng' 'libjpeg' 'icu' + 'libmcrypt' 'tidyhtml' 'aspell' 'libltdl' 'libpng' 'libjpeg' 'icu' 'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'freetype2') source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2" "http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz" @@ -39,7 +37,7 @@ source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2" 'logrotate.d.php-fpm') md5sums=('704cd414a0565d905e1074ffdc1fadfb' '08582e502fed8221c6577042ca45ddb8' - '39eaa70d276fc3d45d6bcf6cd5ae1106' + '65606c606df97a0760dfe5aaf9893afc' 'dec2cbaad64e3abf4f0ec70e1de4e8e9' 'b01be5f816988fcee7e78225836e5e27' '09005dabd90c48ddd392b3dbf05f8a82' @@ -212,10 +210,10 @@ build() { package_php() { pkgdesc='An HTML-embedded scripting language' - depends=('pcre' 'libxml2' 'bzip2' 'openssl') - replaces=('php-fileinfo') - provides=('php-fileinfo') - conflicts=('php-fileinfo') + depends=('pcre' 'libxml2' 'bzip2' 'curl') + replaces=('php-fileinfo' 'php-gmp' 'php-curl') + provides=('php-fileinfo' 'php-gmp' 'php-curl') + conflicts=('php-fileinfo' 'php-gmp' 'php-curl') backup=('etc/php/php.ini') cd ${srcdir}/build-php @@ -228,19 +226,21 @@ package_php() { # remove static modules rm -f ${pkgdir}/usr/lib/php/modules/*.a # remove modules provided by sub packages - rm -f ${pkgdir}/usr/lib/php/modules/{curl,enchant,gd,gmp,intl,ldap,mcrypt,mssql,odbc,pdo_odbc,pgsql,pdo_pgsql,pspell,snmp,sqlite3,pdo_sqlite,tidy,xsl}.so + rm -f ${pkgdir}/usr/lib/php/modules/{enchant,gd,intl,ldap,mcrypt,mssql,odbc,pdo_odbc,pgsql,pdo_pgsql,pspell,snmp,sqlite3,pdo_sqlite,tidy,xsl}.so + # remove empty directory + rmdir ${pkgdir}/usr/include/php/include } package_php-cgi() { pkgdesc='CGI and FCGI SAPI for PHP' - depends=('php' 'pcre' 'libxml2') + depends=('php') install -D -m755 ${srcdir}/build-cgi/sapi/cgi/php-cgi ${pkgdir}/usr/bin/php-cgi } package_php-apache() { pkgdesc='Apache SAPI for PHP' - depends=('php' 'apache' 'pcre' 'libxml2') + depends=('php' 'apache') backup=('etc/httpd/conf/extra/php5_module.conf') install -D -m755 ${srcdir}/build-apache/libs/libphp5.so ${pkgdir}/usr/lib/httpd/modules/libphp5.so @@ -262,7 +262,7 @@ package_php-fpm() { package_php-embed() { pkgdesc='Embed SAPI for PHP' - depends=('php' 'pcre' 'libxml2') + depends=('php') install -D -m755 ${srcdir}/build-embed/libs/libphp5.so ${pkgdir}/usr/lib/libphp5.so install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/sapi/embed/php_embed.h ${pkgdir}/usr/include/php/sapi/embed/php_embed.h @@ -270,7 +270,7 @@ package_php-embed() { package_php-pear() { pkgdesc='PHP Extension and Application Repository' - depends=('php' 'bash') + depends=('php') backup=('etc/php/pear.conf') cd ${srcdir}/build-pear @@ -281,12 +281,6 @@ package_php-pear() { done < <(find ${pkgdir} -name '.*') } -package_php-curl() { - depends=('php' 'curl') - pkgdesc='curl module for PHP' - install -D -m755 ${srcdir}/build-php/modules/curl.so ${pkgdir}/usr/lib/php/modules/curl.so -} - package_php-enchant() { depends=('php' 'enchant') pkgdesc='enchant module for PHP' @@ -299,12 +293,6 @@ package_php-gd() { install -D -m755 ${srcdir}/build-php/modules/gd.so ${pkgdir}/usr/lib/php/modules/gd.so } -package_php-gmp() { - depends=('php' 'gmp') - pkgdesc='gmp module for PHP' - install -D -m755 ${srcdir}/build-php/modules/gmp.so ${pkgdir}/usr/lib/php/modules/gmp.so -} - package_php-intl() { depends=('php' 'icu') pkgdesc='intl module for PHP' @@ -318,7 +306,7 @@ package_php-ldap() { } package_php-mcrypt() { - depends=('php' 'libmcrypt' 'libtool') + depends=('php' 'libmcrypt' 'libltdl') pkgdesc='mcrypt module for PHP' install -D -m755 ${srcdir}/build-php/modules/mcrypt.so ${pkgdir}/usr/lib/php/modules/mcrypt.so } diff --git a/extra/php/php.ini.patch b/extra/php/php.ini.patch index 356e190b4..46c842921 100644 --- a/extra/php/php.ini.patch +++ b/extra/php/php.ini.patch @@ -81,7 +81,7 @@ +;extension=bcmath.so +;extension=bz2.so +;extension=calendar.so -+;extension=curl.so ++extension=curl.so +;extension=dba.so +;extension=enchant.so +;extension=exif.so @@ -92,7 +92,7 @@ +;extension=iconv.so +;extension=imap.so +;extension=intl.so -+;extension=json.so ++extension=json.so +;extension=ldap.so +;extension=mcrypt.so +;extension=mssql.so diff --git a/extra/unixodbc/PKGBUILD b/extra/unixodbc/PKGBUILD index fbb4bdc26..fa76fd234 100644 --- a/extra/unixodbc/PKGBUILD +++ b/extra/unixodbc/PKGBUILD @@ -1,29 +1,28 @@ -# $Id: PKGBUILD 78429 2010-04-23 18:51:55Z andyrtr $ +# $Id: PKGBUILD 137809 2011-09-11 11:42:08Z pierre $ # Maintainer: AndyRTR <andyrtr@archlinux.org> - # Contributor: Judd Vinet <jvinet@zeroflux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=unixodbc pkgver=2.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL2' 'LGPL2.1') url="http://www.unixodbc.org/" backup=('etc/odbc.ini' 'etc/odbcinst.ini') -depends=('readline>=6.0' 'libtool') +depends=('readline' 'libltdl') options=('!libtool') -source=(http://www.unixodbc.org/unixODBC-$pkgver.tar.gz) +source=("http://www.unixodbc.org/unixODBC-$pkgver.tar.gz") md5sums=('f2ad22cbdffe836c58987ed2332c2e99') build() { cd ${srcdir}/unixODBC-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc - make || return 1 + make } package() { cd ${srcdir}/unixODBC-${pkgver} - make DESTDIR=${pkgdir} install || return 1 + make DESTDIR=${pkgdir} install } diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD index ecaf308d2..15236bda8 100644 --- a/extra/xine-lib/PKGBUILD +++ b/extra/xine-lib/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 134420 2011-08-03 19:34:12Z eric $ +# $Id: PKGBUILD 137836 2011-09-11 23:43:47Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=xine-lib pkgver=1.1.19 -pkgrel=3 +pkgrel=4 pkgdesc="A multimedia playback engine" arch=('i686' 'x86_64') url="http://www.xine-project.org" license=('LGPL' 'GPL') -depends=('libgl' 'libxvmc' 'flac' 'ffmpeg' 'libxinerama') -makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'smbclient' 'mesa' 'libmodplug' +depends=('libgl' 'libxvmc' 'flac' 'ffmpeg' 'libxinerama' 'libmodplug') +makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'smbclient' 'mesa' 'v4l-utils' 'vcdimager' 'jack' 'gdk-pixbuf2' 'libpulse' 'speex' 'aalib') optdepends=('imagemagick: for using the imagemagick plugin' \ 'smbclient: for using the smb plugin' \ @@ -19,7 +19,6 @@ optdepends=('imagemagick: for using the imagemagick plugin' \ 'mesa: for using the opengl plugin' \ 'libpulse: for using the pulseaudio plugin' \ 'speex: for using the speex plugin' \ - 'libmodplug: for using the modplug plugin' \ 'v4l-utils: for using the v4l plugin' \ 'wavpack: for using the wavpack plugin' \ 'faad2: for using the faad plugin' \ |