From 81ee1980feda43043eaebae2c596ae116a21f6e5 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 19 Feb 2012 23:15:25 +0000 Subject: Sun Feb 19 23:15:25 UTC 2012 --- community/apvlv/PKGBUILD | 27 +- community/ascii/PKGBUILD | 17 +- community/autocutsel/PKGBUILD | 4 +- community/bonnie++/PKGBUILD | 2 +- community/bullet/PKGBUILD | 2 +- community/ccd2iso/PKGBUILD | 10 +- community/codeblocks/PKGBUILD | 28 +- community/codeblocks/codeblocks.install | 3 +- community/csfml/PKGBUILD | 4 +- community/cuetools/PKGBUILD | 4 +- community/ekg2/PKGBUILD | 40 +- community/galculator/PKGBUILD | 7 +- community/gimp-plugin-fblur/PKGBUILD | 4 +- community/gimp-plugin-lqr/PKGBUILD | 6 +- community/gimp-plugin-wavelet-denoise/PKGBUILD | 13 +- .../gimp-plugin-wavelet-denoise/libm_buildfix.diff | 10 + community/gtkwave/PKGBUILD | 6 +- community/haveged/PKGBUILD | 4 +- community/jbig2dec/PKGBUILD | 6 +- community/kmymoney/PKGBUILD | 22 +- community/libaio/PKGBUILD | 9 +- community/libcss/PKGBUILD | 37 +- community/libiptcdata/PKGBUILD | 4 +- community/libparserutils/PKGBUILD | 22 +- community/libwapcaplet/PKGBUILD | 34 +- community/linuxdcpp/PKGBUILD | 2 +- community/lxrandr/PKGBUILD | 8 +- community/mdf2iso/ChangeLog | 9 + community/mdf2iso/PKGBUILD | 33 + community/mdf2iso/lfs.patch | 683 +++++++++++++++++++++ community/menu-cache/PKGBUILD | 6 +- community/mpdscribble/PKGBUILD | 21 +- community/mtpfs/PKGBUILD | 6 +- community/multipath-tools/PKGBUILD | 12 +- community/mumble/PKGBUILD | 4 +- community/ngircd/PKGBUILD | 39 +- community/nrg2iso/PKGBUILD | 4 +- community/oidentd/PKGBUILD | 22 +- community/openbox/PKGBUILD | 9 +- community/openssh-askpass/PKGBUILD | 9 +- community/patchutils/PKGBUILD | 4 +- community/pokerth/PKGBUILD | 8 +- community/preload/PKGBUILD | 10 +- community/premake/PKGBUILD | 10 +- community/protobuf/PKGBUILD | 2 +- community/qgo/PKGBUILD | 34 +- community/sfml/PKGBUILD | 10 +- community/start-stop-daemon/PKGBUILD | 9 +- community/supertux/PKGBUILD | 2 +- community/teeworlds/PKGBUILD | 2 +- community/tint2/PKGBUILD | 13 +- community/xdg-user-dirs/PKGBUILD | 12 +- community/xonotic/PKGBUILD | 48 ++ community/xonotic/xonotic-glx.desktop | 11 + community/xonotic/xonotic-sdl.desktop | 11 + 55 files changed, 1117 insertions(+), 261 deletions(-) create mode 100644 community/gimp-plugin-wavelet-denoise/libm_buildfix.diff create mode 100644 community/mdf2iso/ChangeLog create mode 100644 community/mdf2iso/PKGBUILD create mode 100644 community/mdf2iso/lfs.patch create mode 100644 community/xonotic/PKGBUILD create mode 100644 community/xonotic/xonotic-glx.desktop create mode 100644 community/xonotic/xonotic-sdl.desktop (limited to 'community') diff --git a/community/apvlv/PKGBUILD b/community/apvlv/PKGBUILD index 2b1e7cc8a..23bdcb7a6 100644 --- a/community/apvlv/PKGBUILD +++ b/community/apvlv/PKGBUILD @@ -1,27 +1,23 @@ -# $Id: PKGBUILD 56937 2011-10-17 08:19:53Z ibiru $ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 64830 2012-02-18 15:59:14Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Brad Fanella # Contributor: Stefan Husmann # Contributor: tocer.deng pkgname=apvlv -pkgver=0.1.2 -pkgrel=2 +pkgver=0.1.4 +pkgrel=1 pkgdesc="A PDF Viewer which behaves like Vim" arch=('i686' 'x86_64') url="http://naihe2010.github.com/apvlv/" license=('GPL') depends=('gtk2' 'cairo' 'poppler-glib' 'djvulibre') -source=(https://github.com/downloads/naihe2010/$pkgname/$pkgname-${pkgver}-Source.tar.gz apvlv-poppler015.patch poppler-gdk.patch) -md5sums=('381d83aa9c253fac5e0be165fca39222' - '308b17a563ed470ea47d408f324ab745' - '076d794ab865e9bd53a5dfd2db1eaa8b') - -makedepends=('cmake') +makedepends=('cmake' 'libwebkit') +source=("ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz") +md5sums=('5518b842715f1a9e7d3c8d2b7ed16342') build() { - cd $srcdir/$pkgname-$pkgver-Source - patch -Np1 -i $srcdir/apvlv-poppler015.patch - patch -Np1 -i $srcdir/poppler-gdk.patch + cd "$srcdir"/$pkgname-$pkgver mkdir -p build cd build @@ -31,8 +27,9 @@ build() { -DAPVLV_WITH_UMD=no .. make } + package() { - cd $srcdir/$pkgname-$pkgver-Source/build + cd "$srcdir"/$pkgname-$pkgver/build - make DESTDIR=$pkgdir install + make DESTDIR="$pkgdir" install } diff --git a/community/ascii/PKGBUILD b/community/ascii/PKGBUILD index 243e6aafe..608a6fb5d 100644 --- a/community/ascii/PKGBUILD +++ b/community/ascii/PKGBUILD @@ -4,29 +4,30 @@ pkgname=ascii pkgver=3.11 -pkgrel=1 +pkgrel=2 pkgdesc="Utility for conversion between various byte representations and the ASCII character table" arch=('i686' 'x86_64') url="http://www.catb.org/~esr/ascii" license=('BSD') +depends=('glibc') source=("http://www.catb.org/~esr/ascii/ascii-${pkgver}.tar.gz") md5sums=('ba8a9392f8aa8c6b7a52923fba870579') build() { - cd ascii-${pkgver} + cd ${pkgname}-${pkgver} make } package() { - cd ascii-${pkgver} + cd ${pkgname}-${pkgver} - install -D ascii \ - ${pkgdir}/usr/bin/ascii + install -D ${pkgname} \ + ${pkgdir}/usr/bin/${pkgname} - install -D -m644 ascii.1 \ - ${pkgdir}/usr/share/man/man1/ascii.1 + install -D -m644 ${pkgname}.1 \ + ${pkgdir}/usr/share/man/man1/${pkgname}.1 install -D -m644 COPYING \ - ${pkgdir}/usr/share/licenses/ascii/LICENSE + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } diff --git a/community/autocutsel/PKGBUILD b/community/autocutsel/PKGBUILD index 452350efe..6e39cc60d 100644 --- a/community/autocutsel/PKGBUILD +++ b/community/autocutsel/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 45035 2011-04-14 10:45:17Z shusmann $ +# $Id: PKGBUILD 64911 2012-02-18 20:21:56Z jelle $ # Contributor: Tom Killian # Contributor: Nikos Kouremenos (zeppelin) kourem at gmail dot com # Maintainer: Stefan Husmann pkgname=autocutsel pkgver=0.9.0 -pkgrel=6 +pkgrel=7 pkgdesc="synchronizes the two copy/paste buffers mainly used by X applications" arch=('i686' 'x86_64') depends=('libxaw') diff --git a/community/bonnie++/PKGBUILD b/community/bonnie++/PKGBUILD index 8a32091ac..39cdd64a6 100644 --- a/community/bonnie++/PKGBUILD +++ b/community/bonnie++/PKGBUILD @@ -4,7 +4,7 @@ pkgname=bonnie++ pkgver=1.03e -pkgrel=5 +pkgrel=6 pkgdesc="Based on the Bonnie hard drive benchmark by Tim Bray" arch=('i686' 'x86_64') url="http://www.coker.com.au/bonnie++/" diff --git a/community/bullet/PKGBUILD b/community/bullet/PKGBUILD index 5d06ff88a..55cfd001d 100644 --- a/community/bullet/PKGBUILD +++ b/community/bullet/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 64748 2012-02-18 03:50:45Z svenstaro $ +# $Id: PKGBUILD 64798 2012-02-18 05:40:50Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Christoph Zeiler diff --git a/community/ccd2iso/PKGBUILD b/community/ccd2iso/PKGBUILD index 999e55d53..c3a56f762 100644 --- a/community/ccd2iso/PKGBUILD +++ b/community/ccd2iso/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 21840 2010-07-17 17:46:20Z dgriffiths $ +# $Id: PKGBUILD 64917 2012-02-18 20:36:05Z jelle $ # Contributor: Giovanni Scafora # Contributor: Shinlun Hsieh # Maintainer: Daniel J Griffiths pkgname=ccd2iso pkgver=0.3 -pkgrel=6 +pkgrel=7 pkgdesc="Converts CCD/IMG CloneCD images to ISO format" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/ccd2iso" @@ -17,12 +17,12 @@ md5sums=('a7df1c46cb710f2fc8ebd88c2e64ce65') build() { cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr || return 1 - make || return 1 + ./configure --prefix=/usr + make } package() { cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install || return 1 + make DESTDIR=${pkgdir} install } diff --git a/community/codeblocks/PKGBUILD b/community/codeblocks/PKGBUILD index a9ac9ff41..478c452c4 100644 --- a/community/codeblocks/PKGBUILD +++ b/community/codeblocks/PKGBUILD @@ -1,31 +1,33 @@ +# Maintainer: Bartłomiej Piotrowski # Contributor: Robert Hollencamp # Contributor: Daniel J Griffiths -# Maintainer: Stefan Husmann +# Contributor: Stefan Husmann pkgname=codeblocks pkgver=10.05 -pkgrel=1 +pkgrel=2 pkgdesc="An open source and cross-platform C/C++ IDE" arch=('i686' 'x86_64') url="http://www.codeblocks.org" license=('GPL3') -depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info') +depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info' 'desktop-file-utils' 'gtk-update-icon-cache') makedepends=('zip') options=('!libtool') -source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-1debian-src.tar.bz2) -md5sums=('57e41b33a37f2677e432b47e89e939e3') +source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-src.tar.bz2) +md5sums=('ab077d562e98b0586f2f86c14cb773ba') install=codeblocks.install build() { - cd $srcdir/src || return 1 - tar xf ${pkgname}_${pkgver}-1.tar.gz || return 1 - cd $pkgname-$pkgver - ./bootstrap || return 1 - ./configure --prefix=/usr --with-contrib-plugins=all || return 1 - make || return 1 + cd "$srcdir/$pkgname-$pkgver-release" + + LDFLAGS+=' -lX11' + ./bootstrap + ./configure --prefix=/usr --with-contrib-plugins=all + make } + package() { - cd $srcdir/src/$pkgname-$pkgver || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd "$srcdir/$pkgname-$pkgver-release" + make DESTDIR="$pkgdir" install } diff --git a/community/codeblocks/codeblocks.install b/community/codeblocks/codeblocks.install index 01fc3ccb2..04d31f75b 100644 --- a/community/codeblocks/codeblocks.install +++ b/community/codeblocks/codeblocks.install @@ -3,6 +3,7 @@ pkgname=codeblocks post_install() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-mime-database usr/share/mime + update-desktop-database -q ln -s /usr/lib/libwxflatnotebook.so /usr/lib/libwxflatnotebook.so.0 ln -s /usr/lib/libwxchartctrl.so /usr/lib/libwxchartctrl.so.0 ln -s /usr/lib/libwxcustombutton.so /usr/lib/libwxcustombutton.so.0 @@ -21,5 +22,5 @@ post_upgrade() { pre_remove() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-mime-database usr/share/mime + update-desktop-database -q } - diff --git a/community/csfml/PKGBUILD b/community/csfml/PKGBUILD index d3e3c309c..1c082b678 100644 --- a/community/csfml/PKGBUILD +++ b/community/csfml/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 56326 2011-10-05 16:28:36Z svenstaro $ +# $Id: PKGBUILD 64966 2012-02-19 01:53:06Z svenstaro $ # Maintainer: Sven-Hendrik Haase pkgname=csfml @@ -6,7 +6,7 @@ pkgname=csfml _git=true if [[ "${_git}" = "true" ]]; then - pkgver=1.99.git20110917 + pkgver=1.99.git20120219 fi pkgrel=1 diff --git a/community/cuetools/PKGBUILD b/community/cuetools/PKGBUILD index 6626f9944..439ce866c 100644 --- a/community/cuetools/PKGBUILD +++ b/community/cuetools/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 25196 2010-09-02 15:17:46Z stativ $ +# $Id: PKGBUILD 64846 2012-02-18 17:42:48Z stativ $ # Maintainer: Lukas Jirkovsky pkgname=cuetools pkgver=1.3.1 -pkgrel=4 +pkgrel=5 pkgdesc="Set of utilities for working with cue files and toc files" arch=('i686' 'x86_64') url="http://developer.berlios.de/projects/cuetools/" diff --git a/community/ekg2/PKGBUILD b/community/ekg2/PKGBUILD index ed73f1dc5..6ff0846bf 100644 --- a/community/ekg2/PKGBUILD +++ b/community/ekg2/PKGBUILD @@ -1,40 +1,40 @@ -# $Id: PKGBUILD 54443 2011-08-18 15:06:14Z bluewind $ -# Maintainer: Mateusz Herych +# $Id: PKGBUILD 64838 2012-02-18 16:54:04Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Mateusz Herych pkgname=ekg2 pkgver=0.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client" arch=('i686' 'x86_64') url="http://ekg2.org/" license=('GPL') -depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib' 'gpgme') +depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib') optdepends=( 'xosd: for xosd support' 'sqlite3: sqlite support' 'gtk2: gtk support') provides=('ekg2-unicode') -source=(http://pl.ekg2.org/ekg2-$pkgver.tar.gz) -md5sums=('652e492fcf72281a42c3e5960347516e') +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('68fc05b432c34622df6561eaabef5a40') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-libgadu \ - --with-xosd \ - --enable-unicode \ - --enable-shared \ - --without-gpg + --sysconfdir=/etc \ + --with-libgadu \ + --with-xosd \ + --enable-unicode \ + --enable-shared \ + --without-gpg make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - rm -rf $pkgdir/usr/lib/perl5/core_perl/perllocal.pod - mv $pkgdir/usr/libexec/ioctld $pkgdir/usr/lib/ekg2/ioctld - rm -rf $pkgdir/usr/libexec - chmod -R 755 $pkgdir/usr/lib/perl5 + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod + mv "$pkgdir"/usr/libexec/ioctld "$pkgdir"/usr/lib/ekg2/ioctld + rm -rf "$pkgdir"/usr/libexec + chmod -R 755 "$pkgdir"/usr/lib/perl5 } -md5sums=('68fc05b432c34622df6561eaabef5a40') diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD index 58a85a7e7..e2c37b07c 100644 --- a/community/galculator/PKGBUILD +++ b/community/galculator/PKGBUILD @@ -1,10 +1,10 @@ -# Maintainer: Bartłomiej Piotrowski +# Maintainer: Bartłomiej Piotrowski # Contributor: SpepS # Contributor: Alexander Fehr pkgname=galculator pkgver=1.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="GTK+ based scientific calculator" arch=('i686' 'x86_64') url="http://galculator.sourceforge.net/" @@ -17,7 +17,8 @@ md5sums=('d30e6fbf5947bb1c873bc9d5a21046f1') build() { cd "$srcdir/$pkgname-$pkgver" - + + LDFLAGS+=' -lm' ./configure --prefix=/usr make } diff --git a/community/gimp-plugin-fblur/PKGBUILD b/community/gimp-plugin-fblur/PKGBUILD index 1332871e0..4d995bf23 100644 --- a/community/gimp-plugin-fblur/PKGBUILD +++ b/community/gimp-plugin-fblur/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 33116 2010-11-22 16:16:08Z stativ $ +# $Id: PKGBUILD 64848 2012-02-18 17:49:48Z stativ $ # Maintainer: Lukas Jirkovsky pkgname=gimp-plugin-fblur pkgver=3.2.6 -pkgrel=2 +pkgrel=3 pkgdesc="Makes out of focus with luminosity and depth" arch=('i686' 'x86_64') url="http://registry.gimp.org/node/1444" diff --git a/community/gimp-plugin-lqr/PKGBUILD b/community/gimp-plugin-lqr/PKGBUILD index dc95c85c4..56697466c 100644 --- a/community/gimp-plugin-lqr/PKGBUILD +++ b/community/gimp-plugin-lqr/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 30842 2010-10-21 15:11:10Z stativ $ +# $Id: PKGBUILD 64850 2012-02-18 17:54:47Z stativ $ # Maintainer: Lukas Jirkovsky # Contributor: Andreas Schönfelder pkgname=gimp-plugin-lqr pkgver=0.7.1 -pkgrel=3 +pkgrel=4 pkgdesc="Plugin for The GIMP providing Liquid Rescale" arch=('i686' 'x86_64') url="http://liquidrescale.wikidot.com/" license=('GPL') -depends=('gimp' 'liblqr>=0.4.1') +depends=('gimp' 'liblqr') makedepends=('intltool') source=(http://liquidrescale.wikidot.com/local--files/en:download-page-sources/gimp-lqr-plugin-$pkgver.tar.bz2) md5sums=('d7ee28b16bdbd9f46bc9f21cf5deb487') diff --git a/community/gimp-plugin-wavelet-denoise/PKGBUILD b/community/gimp-plugin-wavelet-denoise/PKGBUILD index 965c516d1..9e17c8bfe 100644 --- a/community/gimp-plugin-wavelet-denoise/PKGBUILD +++ b/community/gimp-plugin-wavelet-denoise/PKGBUILD @@ -1,27 +1,30 @@ -# $Id: PKGBUILD 25244 2010-09-02 17:48:35Z stativ $ +# $Id: PKGBUILD 64853 2012-02-18 18:05:29Z stativ $ # Maintainer: Lukas Jirkovsky pkgname=gimp-plugin-wavelet-denoise pkgver=0.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Tool to reduce noise in each channel of an image separately" arch=('i686' 'x86_64') url="http://registry.gimp.org/node/4235" license=('GPL') depends=('gimp') source=(http://registry.gimp.org/files/wavelet-denoise-$pkgver.tar.gz \ - po_install.diff) + po_install.diff libm_buildfix.diff) md5sums=('a02862026857575cdf81b24477e42f4b' - '4de9e41a535f200c2502f0dd8458c43e') + '4de9e41a535f200c2502f0dd8458c43e' + '46940ecd5970bc4b0d4b38de89f8efbf') build() { cd "$srcdir/wavelet-denoise-$pkgver" - patch -Np1 < ../po_install.diff + patch -Np1 < ../po_install.diff || true + patch -Np1 < ../libm_buildfix.diff || true make } package() { cd "$srcdir/wavelet-denoise-$pkgver" + install -Dvm755 src/wavelet-denoise \ "$pkgdir"/usr/lib/gimp/2.0/plug-ins/wavelet-denoise cd po diff --git a/community/gimp-plugin-wavelet-denoise/libm_buildfix.diff b/community/gimp-plugin-wavelet-denoise/libm_buildfix.diff new file mode 100644 index 000000000..4a832a69b --- /dev/null +++ b/community/gimp-plugin-wavelet-denoise/libm_buildfix.diff @@ -0,0 +1,10 @@ +diff -rup wavelet-denoise-0.3.1/src/Makefile wavelet-denoise-0.3.1.new/src/Makefile +--- wavelet-denoise-0.3.1/src/Makefile 2008-12-14 12:19:28.000000000 +0100 ++++ wavelet-denoise-0.3.1.new/src/Makefile 2012-02-18 19:01:22.264677086 +0100 +@@ -1,5 +1,5 @@ + CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags) +-LIBS = $(shell gimptool-2.0 --libs) ++LIBS = -lm $(shell gimptool-2.0 --libs) + PLUGIN = wavelet-denoise + SOURCES = plugin.c colorspace.c denoise.c wavelet.c events.c interface.c + HEADERS = plugin.h interface.h messages.h diff --git a/community/gtkwave/PKGBUILD b/community/gtkwave/PKGBUILD index b1e8de26d..1db2fa2bd 100644 --- a/community/gtkwave/PKGBUILD +++ b/community/gtkwave/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 63473 2012-02-04 15:51:42Z kkeen $ +# $Id: PKGBUILD 64826 2012-02-18 13:49:20Z kkeen $ # Maintainer: Kyle Keen # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Jared Casper pkgname=gtkwave -pkgver=3.3.31 +pkgver=3.3.32 pkgrel=1 pkgdesc='A wave viewer which reads LXT, LXT2, VZT, GHW and VCD/EVCD files' arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ depends=('bzip2' 'xz' 'gtk2') makedepends=('gperf') install='gtkwave.install' source=("http://gtkwave.sourceforge.net/gtkwave-${pkgver}.tar.gz") -md5sums=('bbe65da9010a0037f9b5d0dd9da63e30') +md5sums=('716bba48c1898e39c81b43118e192ac3') build() { cd "${srcdir}/gtkwave-${pkgver}" diff --git a/community/haveged/PKGBUILD b/community/haveged/PKGBUILD index e3a60bdb9..118750b7b 100644 --- a/community/haveged/PKGBUILD +++ b/community/haveged/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: pootzko pkgname=haveged -pkgver=1.3a +pkgver=1.4 pkgrel=1 pkgdesc="A simple entropy daemon." arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL') depends=('bash') source=(${url}/${pkgname}-${pkgver}.tar.gz haveged) -md5sums=('dad8b95c6eafcec7eb42eb8454e60a0d' +md5sums=('39a03d4b8a4225706f78dbef3f623b0e' '264b725be5271288b40f363d7cfc6b68') build() { diff --git a/community/jbig2dec/PKGBUILD b/community/jbig2dec/PKGBUILD index d51159ecb..ea49b8be4 100644 --- a/community/jbig2dec/PKGBUILD +++ b/community/jbig2dec/PKGBUILD @@ -1,7 +1,9 @@ +# $Id: PKGBUILD 64909 2012-02-18 20:14:11Z bpiotrowski $ # Maintainer: Stefan Husmann + pkgname=jbig2dec pkgver=0.11 -pkgrel=2 +pkgrel=3 pkgdesc="decoder implementation of the JBIG2 image compression format" arch=('x86_64' 'i686') url="http://jbig2dec.sourceforge.net/" @@ -19,4 +21,4 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install -} \ No newline at end of file +} diff --git a/community/kmymoney/PKGBUILD b/community/kmymoney/PKGBUILD index 87a39c562..6d88e6f64 100644 --- a/community/kmymoney/PKGBUILD +++ b/community/kmymoney/PKGBUILD @@ -1,12 +1,13 @@ -# $Id: PKGBUILD 58094 2011-11-06 14:12:09Z lcarlier $ +# $Id: PKGBUILD 64897 2012-02-18 19:53:56Z lcarlier $ # Maintainer: Jaroslav Lichtblau +# Maintainer: Laurent Carlier # Contributor: Vamp898 # Contributor: Jaroslaw Swierczynski # Contributor: Eric Belanger # Contributor: Todd Maynard pkgname=kmymoney -pkgver=4.6.1 +pkgver=4.6.2 pkgrel=1 pkgdesc="Personal finance manager for KDE which operates similarly to MS-Money or Quicken" arch=('i686' 'x86_64') @@ -18,23 +19,28 @@ replaces=('kmymoney2') install=$pkgname.install changelog=$pkgname.changelog options=('!makeflags') -source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.bz2) -sha256sums=('5fcab9c4f1b5868aabb816a87c61cb025e69a191f6cb218cce3f29f0c1c1b77a') +source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.bz2 +qt4.8.patch::https://projects.kde.org/projects/extragear/office/kmymoney/repository/revisions/c736b6f08e77df72d58c5b836b7b04f6098737df/diff/libkdchart/src/KDChartBackgroundAttributes.cpp?format=diff) +sha256sums=('add8acba2f0d4c212ac1c7fbbdad2fd43a24caceed586b13d90dcd2a20a12b75' + '7612b490400dbd4f80ff27bd328f8603a22279c81bb3004e53f48545dbd359ae') build() { - cd ${srcdir} + cd ${srcdir}/${pkgname}-${pkgver} + + # Qt 4.8 fix - fixed upstream + patch -Np1 -i ../qt4.8.patch mkdir build cd build - cmake ../${pkgname}-${pkgver} \ + cmake ../ \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RELEASE - make + make VERBOSE=1 } package() { - cd ${srcdir}/build + cd ${srcdir}/${pkgname}-${pkgver}/build make DESTDIR=${pkgdir} install } diff --git a/community/libaio/PKGBUILD b/community/libaio/PKGBUILD index d3c3023ec..717473564 100644 --- a/community/libaio/PKGBUILD +++ b/community/libaio/PKGBUILD @@ -1,14 +1,15 @@ -# Maintainer: Thomas S Hatch +# Maintainer: Bartłomiej Piotrowski +# Contributor: Thomas S Hatch pkgname=libaio pkgver=0.3.109 -pkgrel=5 +pkgrel=6 pkgdesc="The Linux-native asynchronous I/O facility (aio) library" arch=('i686' 'x86_64') url="http://lse.sourceforge.net/io/aio.html" license=('LGPL') -source=(ftp://ftp.kernel.org/pub/linux/libs/aio/$pkgname-$pkgver.tar.bz2) -md5sums=('14f3a22fc14118a48be80ab5ea974f49') +source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz) +md5sums=('435a5b16ca6198eaf01155263d855756') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/libcss/PKGBUILD b/community/libcss/PKGBUILD index f0411f553..a05aac7a3 100644 --- a/community/libcss/PKGBUILD +++ b/community/libcss/PKGBUILD @@ -1,30 +1,33 @@ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 64859 2012-02-18 18:11:23Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Brad Fanella # Contributor: Daniel J Griffiths pkgname=libcss -pkgver=0.1.0 -pkgrel=2 -pkgdesc="A CSS parser and selection engine." +pkgver=0.1.1 +pkgrel=1 +pkgdesc="CSS parser and selection engine" arch=('i686' 'x86_64') url="http://www.netsurf-browser.org/projects/libcss/" license=('MIT') depends=('libparserutils' 'libwapcaplet') -source=(http://www.netsurf-browser.org/projects/releases/libcss-${pkgver}-src.tar.gz) -md5sums=('47b9bba60fffe16ecebeba578c89fd40') +source=("http://www.netsurf-browser.org/projects/releases/libcss-$pkgver-src.tar.gz") +sha256sums=('383c424c1f7134be67e22a7a633e31d47ba6b87aba835a4e73eca893aa01c0a0') build() { - cd ${srcdir}/${pkgname}-${pkgver}-src - - export CFLAGS="-Wno-error=unused-but-set-variable" - - make PREFIX=/usr COMPONENT_TYPE="lib-shared" - make PREFIX=/usr COMPONENT_TYPE="lib-static" + cd "$srcdir/$pkgname-$pkgver" + + export CFLAGS="-Wno-error=unused-but-set-variable" + make PREFIX=/usr COMPONENT_TYPE="lib-shared" + make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd ${srcdir}/${pkgname}-${pkgver}-src - - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + cd "$srcdir/$pkgname-$pkgver" + + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: diff --git a/community/libiptcdata/PKGBUILD b/community/libiptcdata/PKGBUILD index 0f40d86f3..88fd20f62 100644 --- a/community/libiptcdata/PKGBUILD +++ b/community/libiptcdata/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 26399 2010-09-15 11:01:44Z stativ $ +# $Id: PKGBUILD 64858 2012-02-18 18:11:08Z stativ $ # Maintainer: Lukas Jirkovsky pkgname=libiptcdata pkgver=1.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="Library for manipulating the IPTC metadata" arch=('i686' 'x86_64') url="http://libiptcdata.sourceforge.net/" diff --git a/community/libparserutils/PKGBUILD b/community/libparserutils/PKGBUILD index e9cd85e1b..a082bb807 100644 --- a/community/libparserutils/PKGBUILD +++ b/community/libparserutils/PKGBUILD @@ -1,20 +1,22 @@ -# $Id: PKGBUILD 56213 2011-10-03 13:57:53Z arodseth $ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 64884 2012-02-18 19:31:38Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Brad Fanella # Contributor: Paulo Matias # Contributor: Daniel J Griffiths + pkgname=libparserutils pkgver=0.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Library for building efficient parsers" arch=('x86_64' 'i686') url="http://www.netsurf-browser.org/projects/libparserutils" license=('MIT') -source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz") +source=("http://www.netsurf-browser.org/projects/releases/$pkgname-$pkgver-src.tar.gz") depends=('glibc') -md5sums=('4f228516863de33f33f7f4258315867e') +sha256sums=('8b79ba58d6fa63fa9c74b71482d93f2c5b2c22badac77265f3cc47f3f603f87d') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" sed 's:-Wall::' -i Makefile make PREFIX=/usr COMPONENT_TYPE="lib-shared" @@ -22,11 +24,11 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } # vim:set ts=2 sw=2 et: diff --git a/community/libwapcaplet/PKGBUILD b/community/libwapcaplet/PKGBUILD index 6dc92c5ce..4eb5dd94e 100644 --- a/community/libwapcaplet/PKGBUILD +++ b/community/libwapcaplet/PKGBUILD @@ -1,27 +1,31 @@ +# $Id: PKGBUILD 64868 2012-02-18 18:47:16Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Brad Fanella # Contributor: Daniel J Griffiths -# Maintainer: Brad Fanella pkgname=libwapcaplet pkgver=0.1.0 -pkgrel=2 -pkgdesc="A string internment library with rapid string comparison." -arch=('i686' 'x86_64') +pkgrel=3 +pkgdesc="String internment library with rapid string comparison" +arch=('x86_64' 'i686') url="http://www.netsurf-browser.org/projects/libwapcaplet/" license=('MIT') -source=(http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz) -md5sums=('c21975b81bcdafa60ad6b97b95925efe') +source=("http://www.netsurf-browser.org/projects/releases/$pkgname-$pkgver-src.tar.gz") +sha256sums=('e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7') build() { - cd "${srcdir}"/${pkgname}-${pkgver}-src - - make PREFIX=/usr COMPONENT_TYPE="lib-shared" - make PREFIX=/usr COMPONENT_TYPE="lib-static" + cd "$srcdir/$pkgname-$pkgver-src" + + make PREFIX=/usr COMPONENT_TYPE="lib-shared" + make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd "${srcdir}"/${pkgname}-${pkgver}-src - - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" - make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + cd "$srcdir/$pkgname-$pkgver-src" + + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: diff --git a/community/linuxdcpp/PKGBUILD b/community/linuxdcpp/PKGBUILD index fe546fdfc..28f0261c0 100644 --- a/community/linuxdcpp/PKGBUILD +++ b/community/linuxdcpp/PKGBUILD @@ -5,7 +5,7 @@ pkgname=linuxdcpp pkgver=1.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="A Gtk+ Direct Connect client based on DC++." url="https://launchpad.net/linuxdcpp/" license=('GPL') diff --git a/community/lxrandr/PKGBUILD b/community/lxrandr/PKGBUILD index 85ea3c7b0..8ea63dc27 100644 --- a/community/lxrandr/PKGBUILD +++ b/community/lxrandr/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 52615 2011-07-26 12:18:23Z spupykin $ +# $Id: PKGBUILD 64887 2012-02-18 19:34:23Z bpiotrowski $ # Maintainer: Sergej Pupykin # Maintainer: Geoffroy Carrier pkgname=lxrandr pkgver=0.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Monitor configuration tool (part of LXDE)" arch=('i686' 'x86_64') license=('GPL2') @@ -19,5 +19,9 @@ build() { cd "$srcdir/$pkgname-$pkgver" [ -f Makefile ] || ./configure --sysconfdir=/etc --prefix=/usr make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } diff --git a/community/mdf2iso/ChangeLog b/community/mdf2iso/ChangeLog new file mode 100644 index 000000000..c206c3cde --- /dev/null +++ b/community/mdf2iso/ChangeLog @@ -0,0 +1,9 @@ +2007-06-29 tardo +* Rebuilt with LFS patch + +2007-06-29 Georg Grabler (STiAT) +* Added lfs.patch (long file system support) for images > 4GB + +2007-06-28 tardo +* Built for x86_64 + diff --git a/community/mdf2iso/PKGBUILD b/community/mdf2iso/PKGBUILD new file mode 100644 index 000000000..b58c51413 --- /dev/null +++ b/community/mdf2iso/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 64842 2012-02-18 17:37:56Z lcarlier $ +# Contributor: Jeff Mickey +# Contributor: Henrik Ronellenfitsch +# Maintainer: Daniel J Griffiths + +pkgname=mdf2iso +pkgver=0.3.0 +pkgrel=5 +pkgdesc="Converts Alcohol 120% .mdf files to .iso files" +arch=('x86_64' 'i686') +url="http://mdf2iso.berlios.de/" +license=('GPL') +depends=('glibc') +source=("http://download.berlios.de/mdf2iso/$pkgname-$pkgver-src.tar.bz2" + "lfs.patch") +sha256sums=('7b6622c58bc6a5111eba719d2b55cdfab54cbb26f3aea98b7e5db0eb0062be84' + 'a15878b4b6c3e9484fbf8685220e482359cabc4d8039ffaf2a581175c381677d') + +build() { + cd "$srcdir/$pkgname" + + patch -p1 < ../lfs.patch + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/mdf2iso/lfs.patch b/community/mdf2iso/lfs.patch new file mode 100644 index 000000000..5ff62c0ba --- /dev/null +++ b/community/mdf2iso/lfs.patch @@ -0,0 +1,683 @@ +Only in mdf2iso/src: .deps +Only in mdf2iso.new/src: .kdbgrc.mdf2iso +diff -bur mdf2iso/src/Makefile.am mdf2iso.new/src/Makefile.am +--- mdf2iso/src/Makefile.am 2005-05-19 11:24:11.000000000 +0200 ++++ mdf2iso.new/src/Makefile.am 2005-07-31 17:47:36.000000000 +0200 +@@ -1,2 +1,3 @@ + bin_PROGRAMS = mdf2iso + mdf2iso_SOURCES = mdf2iso.c ++AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall +diff -bur mdf2iso/src/Makefile.in mdf2iso.new/src/Makefile.in +--- mdf2iso/src/Makefile.in 2005-05-22 21:42:09.000000000 +0200 ++++ mdf2iso.new/src/Makefile.in 2005-07-31 17:49:16.000000000 +0200 +@@ -136,6 +136,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + mdf2iso_SOURCES = mdf2iso.c ++AM_CFLAGS = -D_FILE_OFFSET_BITS=64 -Wall + all: all-am + + .SUFFIXES: +@@ -149,9 +150,9 @@ + exit 1;; \ + esac; \ + done; \ +- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ ++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ + cd $(top_srcdir) && \ +- $(AUTOMAKE) --foreign src/Makefile ++ $(AUTOMAKE) --gnu src/Makefile + .PRECIOUS: Makefile + Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ +diff -bur mdf2iso/src/mdf2iso.c mdf2iso.new/src/mdf2iso.c +--- mdf2iso/src/mdf2iso.c 2005-05-22 21:52:08.000000000 +0200 ++++ mdf2iso.new/src/mdf2iso.c 2005-07-31 19:41:56.000000000 +0200 +@@ -1,4 +1,4 @@ +- /* $Id: mdf2iso.c, 22/05/05 ++/* $Id: mdf2iso.c, 22/05/05 + + Copyright (C) 2004,2005 Salvatore Santagati + +@@ -16,19 +16,14 @@ + along with this program; if not, write to the + Free Software Foundation, Inc., + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +- */ ++*/ + + #include + #include + #include + #include + +-#define VERSION "0.3.0" +- +-/* Support Large File */ +- +-#define _FILE_OFFSET_BITS 64 +- ++#define VERSION "0.3.1" + + + const char SYNC_HEADER[12] = { (char) 0x00, +@@ -83,14 +78,21 @@ + (char) 0x00 + }; + ++#define ISO9660 0 ++#define SYNC 1 ++#define SYNC_MDF 2 ++#define MDF_AUDIO 3 ++#define UNKNOWN -1 + +-void +-toc_file (char *destfilename, int sub) ++int toc_file (char *destfilename, int sub) + { +- char destfiletoc[1024], destfiledat[1024]; ++ int ret=0; ++ char *destfiletoc; ++ char *destfiledat; + FILE *ftoc; +- strcpy (destfiletoc, destfilename); +- strcpy (destfiledat, destfilename); ++ ++ destfiletoc=strdup(destfilename); ++ destfiledat=strdup(destfilename); + strcpy (destfiletoc + strlen (destfilename) - 4, ".toc"); + strcpy (destfiledat + strlen (destfilename) - 4, ".dat"); + +@@ -100,11 +102,8 @@ + fprintf (ftoc, "// Track 1\n"); + fprintf (ftoc, "TRACK MODE1_RAW"); + +- if (sub == 1) +- fprintf (ftoc, " RW_RAW\n"); +- +- else +- fprintf (ftoc, "\n"); ++ if (sub == 1) fprintf (ftoc, " RW_RAW\n"); ++ else fprintf (ftoc, "\n"); + + fprintf (ftoc, "NO COPY\n"); + fprintf (ftoc, "DATAFILE \"%s\"\n", destfiledat); +@@ -114,26 +113,27 @@ + } + else + { +- printf ("%s\n", strerror (errno)); +- exit (EXIT_FAILURE); ++ printf ("Error opening %s for output: %s\n",destfiletoc,strerror(errno)); ++ ret=-1; + }; +- ++ free(destfiletoc); ++ free(destfiledat); ++ return ret; + } + +-int +-number_file (char *destfilename) ++/* ++int number_file (char *destfilename) + { + int i = 1, test_mdf = 0; + int n_mdf; + char mdf[2], destfilemdf[2354]; + FILE *fsource; ++ + strcpy (destfilemdf, destfilename); + strcpy (destfilemdf + strlen (destfilename) - 1, ".0"); + for (i = 0; test_mdf == 0; i++) +- + { + if ((fsource = fopen (destfilemdf, "rb")) != NULL) +- + { + printf ("\nCheck : "); + sprintf (mdf, "md%d", i); +@@ -141,203 +141,219 @@ + printf ("%s, ", destfilemdf); + fclose (fsource); + } +- + else + { + test_mdf = 1; + } +- }; ++ } + printf ("\r \n"); + n_mdf = i - 1; + return (n_mdf); + } ++*/ + +-void +-cuesheets (char *destfilename) ++int cuesheets (char *destfilename) + { +- char destfilecue[1024], destfilebin[1024]; ++ int ret=0; ++ char *destfilecue; ++ char *destfilebin; + FILE *fcue; +- strcpy (destfilecue, destfilename); +- strcpy (destfilebin, destfilename); ++ ++ destfilecue=strdup(destfilename); ++ destfilebin=strdup(destfilename); + strcpy (destfilecue + strlen (destfilename) - 4, ".cue"); + strcpy (destfilebin + strlen (destfilename) - 4, ".bin"); +- fcue = fopen (destfilecue, "w"); ++ if ((fcue = fopen (destfilecue, "w"))!=NULL) ++ { + fprintf (fcue, "FILE \"%s\" BINARY\n", destfilebin); + fprintf (fcue, "TRACK 1 MODE1/2352\n"); + fprintf (fcue, "INDEX 1 00:00:00\n"); + rename (destfilename, destfilebin); + printf ("Create Cuesheets : %s\n", destfilecue); + fclose (fcue); ++ } ++ else ++ { ++ printf ("Error opening %s for output: %s\n",destfilecue,strerror(errno)); ++ ret=-1; ++ } ++ return ret; + } + +-void +-main_percent (int percent_bar) ++int previous_percent=-1; ++void main_percent (int percent_bar) ++// Prints a progress bar, takes a percentage as argument. + { +- int progress_bar, progress_space; ++ //int progress_bar, progress_space; ++ ++ if (percent_bar==previous_percent) return; // Nothing changed, don't waste CPU cycles. ++ ++ printf("%3d%% [:%.*s>%.*s:]\r",percent_bar,20-(percent_bar/5)," ", ++ percent_bar/5,"===================="); ++ /* + printf ("%d%% [:", percent_bar); +- for (progress_bar = 1; progress_bar <= (int) (percent_bar / 5); +- progress_bar++) ++ for (progress_bar = 1; progress_bar <= (int) (percent_bar / 5); progress_bar++) + printf ("="); + printf (">"); + +- for (progress_space = 0; progress_space < (20 - progress_bar); +- progress_space++) +- printf (" "); ++ for (; progress_bar <= 20; ++progress_bar) printf (" "); + printf (":]\r"); ++ */ + } + +-void +-usage () ++void usage () ++// Prints the command line syntax + { +- printf ("mdf2iso v%s by Salvatore Santagati\n", VERSION); +- printf ("Web : http//mdf2iso.berlios.de\n"); +- printf ("Email : salvatore.santagati@gmail.com\n"); +- printf ("Irc : irc.freenode.net #ignus\n"); +- printf ("Note : iodellavitanonhocapitouncazzo\n"); +- printf ("License : released under the GNU GPL v2 or later\n\n"); ++ printf (" Web : http//mdf2iso.berlios.de\n"); ++ printf (" Email : salvatore.santagati@gmail.com\n"); ++ printf (" Irc : irc.freenode.net #ignus\n"); ++ printf (" Note : iodellavitanonhocapitouncazzo\n\n"); + printf ("Usage :\n"); +- printf ("mdf2iso [OPTION] [BASENAME.MDF] [DESTINATION]\n\n"); +- printf ("OPTION\n"); +- printf ("\t--toc Generate toc file\n"); +- printf ("\t--cue Generate cue file\n"); +- printf ("\t--help display this notice\n\n"); ++ printf ("mdf2iso [--cue|--toc|--help] [destfile]\n\n"); ++ printf ("Options:\n"); ++ printf (" --toc Generate toc/dat files\n"); ++ printf (" --cue Generate cue/bin files\n"); ++ printf (" --help Display this notice\n"); ++ printf (" sourcefile\tFilename of the .mdf file to be converted\n"); ++ printf (" destfile\tFilename of the target ISO9660 file.\n"\ ++ "\t\tIf none given, one is derived from sourcefile.\n\n"); + } + +-int +-main (int argc, char **argv) ++char mdftype(FILE *f) ++/* returns ++ -1 for unknown ++ 0 for ISO9660 ++ 1 for SYNC ++ 2 for SYNC MDF ++ 3 for MDF Audio ++ (see #defines above) ++*/ + { +- int seek_ecc, sector_size, seek_head, sector_data, n_mdf; ++ char buf[12]; ++ ++ fseek(f, 32768, SEEK_SET); ++ fread(buf, sizeof (char), 8, f); ++ if (!memcmp (ISO_9660, buf, 8)) return ISO9660; // File is ISO9660 ++ ++ fseek(f, 0L, SEEK_SET); ++ fread(buf, sizeof (char), 12, f); ++ ++ fseek (f, 2352, SEEK_SET); ++ ++ if (!memcmp (SYNC_HEADER, buf, 12)) // Has SYNC_HEADER ++ { ++ fread (buf, sizeof (char), 12, f); ++ if (!memcmp (SYNC_HEADER_MDF, buf, 12)) return SYNC_MDF; // File is SYNC MDF ++ if (!memcmp (SYNC_HEADER, buf, 12)) return SYNC; // File is SYNC ++ } ++ else // Does not have SYNC_HEADER ++ { ++ fread(buf, sizeof (char), 12, f); ++ if (!memcmp (SYNC_HEADER_MDF_AUDIO, buf, 12)) return MDF_AUDIO; // File is MDF Audio ++ } ++ ++ // Reached a point where nothing else matters. ++ return UNKNOWN; // Unknown format ++} ++ ++ ++// === Main program code === ++ ++int main (int argc, char **argv) ++{ ++ int seek_ecc, sector_size, seek_head, sector_data;//, n_mdf; + int cue = 0, cue_mode = 0, sub = 1, toc = 0, sub_toc = 0; + int opts = 0; +- double size_iso, write_iso; +- long percent = 0; +- long i, source_length, progressbar; +- char buf[2448], destfilename[2354]; ++ long i, source_length; ++ char buf[2448]; ++ char *destfilename=NULL; ++ char *basefilename=NULL; + FILE *fdest, *fsource; + ++ // Print identification ++ printf ("mdf2iso v%s by Salvatore Santagati\n", VERSION); ++ printf ("Licensed under GPL v2 or later\n"); + +- if (argc < 2) + ++ // *** Process command line options *** ++ ++ if (argc < 2) + { +- usage (); +- exit (EXIT_FAILURE); ++ // Not enough parameters; print help ++ usage(); ++ exit(EXIT_FAILURE); + } + +- else +- +- { ++ // Search for options --cue and --toc + for (i = 0; i < argc; i++) +- + { +- + if (!strcmp (argv[i], "--help")) +- + { + usage (); + exit (EXIT_SUCCESS); + } + if (!strcmp (argv[i], "--cue")) +- + { + cue = 1; + opts++; + } + if (!strcmp (argv[i], "--toc")) +- + { + toc = 1; + opts++; + } + } + +- if ((cue == 1) && (toc == 1)) +- +- { +- usage (); +- exit (EXIT_FAILURE); +- } +- if ((opts == 1) && (argc <= 2)) +- ++ // Catch impossible parameter combinations ++ if (((cue == 1) && (toc == 1)) || ++ ((opts == 1) && (argc <= 2))) + { +- usage (); +- exit (EXIT_FAILURE); ++ usage(); ++ exit(EXIT_FAILURE); + } + ++ // Get the base filename ++ basefilename=argv[1+opts]; // simple pointer, but makes life easier. + ++ // Get the destination filename + if (argc >= (3 + opts)) +- strcpy (destfilename, argv[2 + opts]); +- +- else +- +- { +- strcpy (destfilename, argv[1 + opts]); +- if (strlen (argv[1 + cue]) < 5 +- || strcmp (destfilename + strlen (argv[1 + opts]) - 4, ".mdf")) +- strcpy (destfilename + strlen (argv[1 + opts]), ".iso"); +- ++ // The destination filename is explicitly entered at the prompt ++ destfilename=strdup(argv[2 + opts]); + else +- strcpy (destfilename + strlen (argv[1 + opts]) - 4, ".iso"); +- } +- if ((fsource = fopen (argv[1 + opts], "rb")) != NULL) +- + { +- fseek (fsource, 32768, SEEK_CUR); +- fread (buf, sizeof (char), 8, fsource); +- if (memcmp (ISO_9660, buf, 8)) +- ++ // Derive destination filename from the basename: ++ // If basename is "*.mdf" use "*.iso" als destname ++ // otherwise simply append ".iso" to the basename to create destname. ++ destfilename=strdup(basefilename); ++ i=strlen(destfilename); // Reusing 'i' here as temporary variable ++ if (i < 5 || strcmp(destfilename + i - 4, ".mdf")) + { +- fseek (fsource, 0L, SEEK_SET); +- fread (buf, sizeof (char), 12, fsource); +- if (!memcmp (SYNC_HEADER, buf, 12)) +- +- { +- fseek (fsource, 0L, SEEK_SET); +- fseek (fsource, 2352, SEEK_CUR); +- fread (buf, sizeof (char), 12, fsource); +- if (!memcmp (SYNC_HEADER_MDF, buf, 12)) +- +- { +- if (cue == 1) +- { +- cue_mode = 1; +- +- /* BAD SECTOR TO NORMAL IMAGE */ +- seek_ecc = 96; +- sector_size = 2448; +- sector_data = 2352; +- seek_head = 0; +- } +- +- else if (toc == 0) +- +- { +- +- /*BAD SECTOR */ +- seek_ecc = 384; +- sector_size = 2448; +- sector_data = 2048; +- seek_head = 16; ++ destfilename=realloc(destfilename,i+5); ++ strcat(destfilename, ".iso"); + } +- + else +- +- { +- +- /*BAD SECTOR */ +- seek_ecc = 0; +- sector_size = 2448; +- sector_data = 2448; +- seek_head = 0; +- sub_toc = 1; +- } ++ strcpy(destfilename + i - 3, "iso"); + } + +- else ++ // *** Preprocess basefile *** + ++ // Try opening basefile ++ if ((fsource = fopen(basefilename, "rb")) == NULL) + { +- if (!memcmp (SYNC_HEADER, buf, 12)) ++ free(destfilename); ++ printf ("Could not open %s: %s\n", basefilename, strerror(errno)); ++ exit (EXIT_FAILURE); ++ } + ++ // Determine filetype & set some stuff accordingly (or exit) ++ switch (mdftype(fsource)) + { ++ case ISO9660: ++ printf("%s is already ISO9660.\n",basefilename); ++ fclose(fsource); ++ free(destfilename); ++ exit(EXIT_SUCCESS); ++ case SYNC: + if (cue == 1) + { + cue_mode = 1; +@@ -348,129 +364,134 @@ + seek_head = 0; + } + if (toc == 0) +- + { +- + /*NORMAL IMAGE */ + seek_ecc = 288; + sector_size = 2352; + sector_data = 2048; + seek_head = 16; + } +- + else +- + { + seek_ecc = 0; + sector_size = 2352; + sector_data = 2352; + seek_head = 0; + } +- } +- +- else +- +- { +- printf ("Sorry I don't know this format :(\n"); +- exit (EXIT_FAILURE); +- } +- } +- } +- +- else +- ++ break; ++ case SYNC_MDF: ++ if (cue == 1) + { +- fseek (fsource, 0L, SEEK_SET); +- fseek (fsource, 2352, SEEK_CUR); +- fread (buf, sizeof (char), 12, fsource); +- if (memcmp (SYNC_HEADER_MDF_AUDIO, buf, 12)) ++ cue_mode = 1; + ++ /* BAD SECTOR TO NORMAL IMAGE */ ++ seek_ecc = 96; ++ sector_size = 2448; ++ sector_data = 2352; ++ seek_head = 0; ++ } ++ else if (toc == 0) + { +- printf ("Sorry I don't know this format :(\n"); +- exit (EXIT_FAILURE); ++ /*BAD SECTOR */ ++ seek_ecc = 384; ++ sector_size = 2448; ++ sector_data = 2048; ++ seek_head = 16; + } +- + else +- + { +- ++ /*BAD SECTOR */ ++ seek_ecc = 0; ++ sector_size = 2448; ++ sector_data = 2448; ++ seek_head = 0; ++ sub_toc = 1; ++ } ++ break; ++ case MDF_AUDIO: + /*BAD SECTOR AUDIO */ + seek_head = 0; + sector_size = 2448; + seek_ecc = 96; + sector_data = 2352; + cue = 0; ++ break; ++ default:printf("Unknown format for %s.\n",basefilename); ++ fclose(fsource); ++ free(destfilename); ++ exit (EXIT_FAILURE); + } +- } +- if ((fdest = fopen (destfilename, "wb")) != NULL); + +- else ++ // *** Create destination file *** ++ ++ // Try opening the destination file for output ++ if ((fdest = fopen (destfilename, "wb")) == NULL) + { +- printf ("%s\n", strerror (errno)); ++ printf ("Unable to open %s for output: %s\n",destfilename,strerror(errno)); ++ free(destfilename); ++ fclose(fsource); + exit (EXIT_FAILURE); +- }; ++ } ++ ++ + fseek (fsource, 0L, SEEK_END); + source_length = ftell (fsource) / sector_size; +- size_iso = (int) (source_length * sector_data); +- progressbar = 100 / source_length; + fseek (fsource, 0L, SEEK_SET); +- + { + for (i = 0; i < source_length; i++) +- + { + fseek (fsource, seek_head, SEEK_CUR); +- if (fread (buf, sizeof (char), sector_data, fsource)); +- +- else ++ if (fread(buf, sizeof (char), sector_data, fsource)!=sector_data) + { +- printf ("%s\n", strerror (errno)); ++ printf ("Error reading from %s: %s\n",basefilename, strerror (errno)); ++ fclose(fsource); ++ fclose(fdest); ++ remove(destfilename); ++ free(destfilename); + exit (EXIT_FAILURE); +- }; +- if (fwrite (buf, sizeof (char), sector_data, fdest)); +- +- else ++ } ++ if (fwrite (buf, sizeof (char), sector_data, fdest)!=sector_data) + { +- printf ("%s\n", strerror (errno)); ++ printf ("Error writing to %s: %s\n",destfilename, strerror (errno)); ++ fclose(fsource); ++ fclose(fdest); ++ remove(destfilename); ++ free(destfilename); + exit (EXIT_FAILURE); +- }; ++ } + fseek (fsource, seek_ecc, SEEK_CUR); +- write_iso = (int) (sector_data * i); +- if (i != 0) +- percent = (int) (write_iso * 100 / size_iso); +- main_percent (percent); +- }} printf ("100%%[:====================:]\n"); ++ main_percent(i*100/source_length); ++ } ++ } printf ("100%% [:=====================:]\n"); + + fclose (fsource); + fclose (fdest); + +- if (cue == 1) +- cuesheets (destfilename); +- if (toc == 1) +- toc_file (destfilename, sub_toc); ++ // *** create Toc or Cue file is requested *** ++ if (cue == 1) if (cuesheets(destfilename)) ++ { ++ free(destfilename); ++ exit(EXIT_FAILURE); ++ } ++ if (toc == 1) if (toc_file(destfilename, sub_toc)) ++ { ++ free(destfilename); ++ exit(EXIT_FAILURE); ++ } + if ((toc == 0) && (cue == 0)) +- printf ("Create iso9660: %s\n", destfilename); ++ printf("Created iso9660: %s\n", destfilename); ++ ++ free(destfilename); + + exit (EXIT_SUCCESS); +- } + +- else +- printf ("This is file iso9660 ;)\n"); ++/* + n_mdf = number_file (destfilename) - 1; +- /* if (n_mdf > 1) +- ++ / * if (n_mdf > 1) + { + printf ("\rDetect %d md* file and now emerge this\n", n_mdf); + } +- */ ++ * / + fclose (fsource); +- exit (EXIT_SUCCESS); +- } +- +- else +- { +- printf ("%s\n", strerror (errno)); +- exit (EXIT_FAILURE); +- }; +- } ++ exit (EXIT_SUCCESS);*/ + } diff --git a/community/menu-cache/PKGBUILD b/community/menu-cache/PKGBUILD index 693f22de8..da0470b74 100644 --- a/community/menu-cache/PKGBUILD +++ b/community/menu-cache/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 49034 2011-06-09 21:26:14Z andrea $ +# $Id: PKGBUILD 64889 2012-02-18 19:36:00Z bpiotrowski $ # Maintainer: Angel Velasquez # Maintainer: Juergen Hoetzel pkgname=menu-cache pkgver=0.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Caches to speed up freedesktop.org's application menus use." arch=('i686' 'x86_64') license=('GPL2') @@ -24,6 +24,6 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } diff --git a/community/mpdscribble/PKGBUILD b/community/mpdscribble/PKGBUILD index d59e15732..29398e037 100644 --- a/community/mpdscribble/PKGBUILD +++ b/community/mpdscribble/PKGBUILD @@ -1,10 +1,11 @@ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Maintainer: Bartłomiej Piotrowski +# Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: evr # Contributor: Luiz Ribeiro pkgname=mpdscribble pkgver=0.22 -pkgrel=2 +pkgrel=3 pkgdesc='An mpd client which submits track info to last.fm' url='http://mpd.wikia.com/wiki/Client:Mpdscribble' arch=('i686' 'x86_64') @@ -30,16 +31,16 @@ build() { package() { cd mpdscribble-${pkgver} - make DESTDIR=${pkgdir} install + make DESTDIR="${pkgdir}" install - install -D ${srcdir}/mpdscribble \ - ${pkgdir}/etc/rc.d/mpdscribble + install -D "${srcdir}"/mpdscribble \ + "${pkgdir}"/etc/rc.d/mpdscribble # default config is really an example - install -D -m644 ${pkgdir}/etc/mpdscribble.conf \ - ${pkgdir}/usr/share/mpdscribble/mpdscribble.conf.example - rm -f ${pkgdir}/etc/mpdscribble.conf + install -D -m644 "${pkgdir}"/etc/mpdscribble.conf \ + "${pkgdir}"/usr/share/mpdscribble/mpdscribble.conf.example + rm -f "${pkgdir}"/etc/mpdscribble.conf - install -d ${pkgdir}/var/cache/mpdscribble - touch ${pkgdir}/var/cache/mpdscribble/mpdscribble.cache + install -d "${pkgdir}"/var/cache/mpdscribble + touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache } diff --git a/community/mtpfs/PKGBUILD b/community/mtpfs/PKGBUILD index 96766ddf9..89b1c25a9 100644 --- a/community/mtpfs/PKGBUILD +++ b/community/mtpfs/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 55836 2011-09-23 12:06:39Z lcarlier $ +# $Id: PKGBUILD 64861 2012-02-18 18:17:04Z lcarlier $ # Maintainer: Laurent Carlier # Contributor: yugrotavele # Contributor: Anton Pirogov googlemail.com> pkgname=mtpfs pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="A FUSE filesystem that supports reading and writing from any MTP device" arch=('i686' 'x86_64') url="http://www.adebenham.com/mtpfs/" license=('GPL3') depends=('libmtp' 'glib2' 'libid3tag' 'fuse' 'libmad') -makedepends=('pkg-config' 'namcap') +makedepends=('pkg-config') source=(http://www.adebenham.com/debian/${pkgname}-${pkgver}.tar.gz) md5sums=('7d62fdfdb59d87d115e2f804d0dc7f85') diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD index ca99de9c5..bf4c18da8 100644 --- a/community/multipath-tools/PKGBUILD +++ b/community/multipath-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 59357 2011-11-23 20:31:03Z andrea $ +# $Id: PKGBUILD 64893 2012-02-18 19:44:21Z bpiotrowski $ # Maintainer: # Contributor: Thomas S Hatch # Contributor: Michael P @@ -6,7 +6,7 @@ pkgname=multipath-tools pkgver=0.4.9 -pkgrel=4 +pkgrel=5 pkgdesc="Multipath Tools For Linux" arch=('i686' 'x86_64') url="http://christophe.varoqui.free.fr/" @@ -37,11 +37,11 @@ build() { } package() { - cd $srcdir + cd "$srcdir" make LIB="lib" DESTDIR="$pkgdir" install - install -D -m 644 $srcdir/multipath.conf $pkgdir/etc/multipath.conf - install -D -m 644 $srcdir/multipath.conf.annotated $pkgdir/etc/multipath.conf.annotated - install -D -m 755 $srcdir/multipathd.rc $pkgdir/etc/rc.d/multipathd + install -D -m 644 "$srcdir"/multipath.conf "$pkgdir"/etc/multipath.conf + install -D -m 644 "$srcdir"/multipath.conf.annotated "$pkgdir"/etc/multipath.conf.annotated + install -D -m 755 "$srcdir"/multipathd.rc "$pkgdir"/etc/rc.d/multipathd } diff --git a/community/mumble/PKGBUILD b/community/mumble/PKGBUILD index 7628a460b..c14554706 100644 --- a/community/mumble/PKGBUILD +++ b/community/mumble/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 46129 2011-05-04 05:39:59Z svenstaro $ +# $Id: PKGBUILD 64801 2012-02-18 06:36:47Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Lauri Niskanen # Contributor: Sebastian.Salich@gmx.de @@ -9,7 +9,7 @@ pkgname=mumble pkgver=1.2.3 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64') pkgdesc="A voice chat application similar to TeamSpeak" license=('GPL') diff --git a/community/ngircd/PKGBUILD b/community/ngircd/PKGBUILD index fa3c151d6..6f2a90d52 100644 --- a/community/ngircd/PKGBUILD +++ b/community/ngircd/PKGBUILD @@ -1,31 +1,38 @@ -# $Id: PKGBUILD 56891 2011-10-16 05:54:18Z bpiotrowski $ +# $Id: PKGBUILD 64813 2012-02-18 11:01:32Z arodseth $ # Maintainer: Mateusz Herych +# Contributor: Alexander Rødseth pkgname=ngircd pkgver=18 -pkgrel=1 +pkgrel=2 pkgdesc="Next Generation IRC Daemon" -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') backup=(etc/ngircd.conf) url="http://ngircd.barton.de/" license=('GPL') depends=('openssl' 'libident') -source=(http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz ngircd.sh) -md5sums=('4958c8b2d128cf3e9888af3f782892a1' - '6d2e9f1bbb4a3a7349da0dcd3f6d8dc3') +source=("http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz" + ngircd.sh) +sha256sums=('b24a9cc3e9d32e845836d01e33fd2cfbbe2ecb5c86b6c0d0bc3178229e8472dc' + 'f8c28546090af8ce67471b9b4d577f6926007615356dd11afd2bc16f61d698d5') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --with-ident \ - --with-openssl - make + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --with-ident \ + --with-openssl \ + --enable-ipv6 + make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - install -D -m 755 ../ngircd.sh $pkgdir/etc/rc.d/ngircd + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm 755 ../ngircd.sh "$pkgdir/etc/rc.d/ngircd" } + +# vim:set ts=2 sw=2 et: diff --git a/community/nrg2iso/PKGBUILD b/community/nrg2iso/PKGBUILD index 493bfb4ff..e9e155f50 100644 --- a/community/nrg2iso/PKGBUILD +++ b/community/nrg2iso/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 25073 2010-08-30 17:39:20Z ibiru $ +# $Id: PKGBUILD 64934 2012-02-18 21:26:21Z jelle $ # Contributor: Giovanni Scafora # Contributor: Pointer # Maintainer: Daniel J Griffiths pkgname=nrg2iso pkgver=0.4 -pkgrel=7 +pkgrel=8 pkgdesc="Utility for converting CD or DVD image generated by Nero Burning Rom to ISO format" arch=('i686' 'x86_64') url="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html" diff --git a/community/oidentd/PKGBUILD b/community/oidentd/PKGBUILD index da509f959..b2eed2962 100644 --- a/community/oidentd/PKGBUILD +++ b/community/oidentd/PKGBUILD @@ -1,33 +1,33 @@ -# $Id: PKGBUILD 24924 2010-08-29 18:14:02Z mherych $ +# $Id: PKGBUILD 64895 2012-02-18 19:49:45Z bpiotrowski $ # Maintainer: simo # Maintainer: Mateusz Herych # Contributor: Tom Newsom pkgname=oidentd pkgver=2.0.8 -pkgrel=4 -pkgdesc="oidentd is an ident (rfc1413 compliant) daemon that runs on Linux" +pkgrel=5 +pkgdesc="An ident (rfc1413 compliant) daemon that runs on Linux" arch=('i686' 'x86_64') url="http://dev.ojnk.net/" license=('GPL') -depends=('glibc') +depends=('glibc' 'bash') source=(http://downloads.sourceforge.net/sourceforge/ojnk/oidentd-$pkgver.tar.gz - oidentd.rc - oidentd.default) + oidentd.rc + oidentd.default) md5sums=('c3d9a56255819ef8904b867284386911' '93cbf742cdd0b053f67482273d715f25' '603307525771724b0f55a2c34fbc3f3e') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr make - make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install } package() { - cd $srcdir/$pkgname-$pkgver - install -D -m 755 $srcdir/$pkgname.rc $pkgdir/etc/rc.d/oidentd - install -D -m 644 $srcdir/$pkgname.default $pkgdir/etc/conf.d/oidentd + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install + install -D -m 755 "$srcdir"/$pkgname.rc "$pkgdir"/etc/rc.d/oidentd + install -D -m 644 "$srcdir"/$pkgname.default "$pkgdir"/etc/conf.d/oidentd } diff --git a/community/openbox/PKGBUILD b/community/openbox/PKGBUILD index 9241dabf8..7c990c9fa 100644 --- a/community/openbox/PKGBUILD +++ b/community/openbox/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 54954 2011-08-29 00:03:04Z bfanella $ -# Maintainer: Brad Fanella +# $Id: PKGBUILD 64899 2012-02-18 19:57:32Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Brad Fanella # Contributor: Andrea Scarpino # Contributor: tobias pkgname=openbox pkgver=3.5.0 -pkgrel=4 +pkgrel=5 pkgdesc="A window manager for the X11 windowing system" arch=('i686' 'x86_64') url="http://openbox.org" @@ -34,7 +35,7 @@ build() { --with-x \ --enable-startup-notification \ --sysconfdir=/etc \ - --libexecdir=/usr/lib/openbox + --libexecdir=/usr/lib/openbox make } diff --git a/community/openssh-askpass/PKGBUILD b/community/openssh-askpass/PKGBUILD index 0c535b58e..8b5f5919c 100644 --- a/community/openssh-askpass/PKGBUILD +++ b/community/openssh-askpass/PKGBUILD @@ -3,8 +3,8 @@ # Contributor: Massimiliano Torromeo pkgname=openssh-askpass -pkgver=1.3.2 -pkgrel=2 +pkgver=1.3.3 +pkgrel=1 pkgdesc='A plasma-like passphrase dialog for ssh' arch=('i686' 'x86_64') url='http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=openssh-askpass&full=1' @@ -18,6 +18,9 @@ source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/$pkgname-$p build() { cd "$srcdir/$pkgname-$pkgver" ./autogen.sh --prefix=/usr --with-qt-dir=/usr --bindir=/usr/lib/openssh + + # fixes linking error: CompositeEngine.o: undefined reference to symbol 'XRenderFindVisualFormat' + sed -i 's|-lQtCore -lQtGui|-lQtCore -lQtGui -lXrender -lX11|' Makefile make } package() { @@ -26,5 +29,5 @@ package() { install -Dm755 ../$pkgname.sh "$pkgdir/etc/profile.d/$pkgname.sh" } -md5sums=('f4ed7ed95c727d1c3963007d9d24bdb8' +md5sums=('717375e71d95469de334cbf7fade8699' '961738244318f3723ba99cdcaac91a21') diff --git a/community/patchutils/PKGBUILD b/community/patchutils/PKGBUILD index 3e5ae4270..f0ea1b885 100644 --- a/community/patchutils/PKGBUILD +++ b/community/patchutils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 39649 2011-02-14 10:25:55Z lcarlier $ +# $Id: PKGBUILD 64864 2012-02-18 18:22:36Z lcarlier $ # Contributor: Aurelien Foret # Maintainer: Douglas Soares de Andrade pkgname=patchutils pkgver=0.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="A small collection of programs that operate on patch files" license=('GPL') url="http://cyberelk.net/tim/patchutils/" diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD index ce2265250..65762544e 100644 --- a/community/pokerth/PKGBUILD +++ b/community/pokerth/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 63424 2012-02-02 19:11:13Z bpiotrowski $ +# $Id: PKGBUILD 64956 2012-02-18 23:33:35Z svenstaro $ # Maintainer: Mateusz Herych # Maintainer: Bartłomiej Piotrowski # Contributor: Vasco Costa pkgname=pokerth _realname=PokerTH -pkgver=0.9.2 +pkgver=0.9.3 pkgrel=1 pkgdesc="Poker game written in C++/QT4" arch=('i686' 'x86_64') @@ -15,13 +15,15 @@ depends=('curl' 'boost-libs>=1.43.0' 'gsasl' 'gnutls' 'qt' 'sdl_mixer' 'libircclient' 'tinyxml') makedepends=('boost') source=(http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2) -md5sums=('d1855713756be9072b275ee3754a4ff0') +md5sums=('09d173512f723441f288b2844e3c68cb') build() { cd "$srcdir/$_realname-$pkgver-src" sed -i 's/QMAKE_CXXFLAGS += -std=gnu++0x/QMAKE_CXXFLAGS += -std=gnu++0x -DBOOST_FILESYSTEM_VERSION=2/' *.pro + sed -i '23 i #include ' src/net/common/ircthread.cpp + # fix g++: error: unrecognized option '-no_dead_strip_inits_and_terms' sed \ -e 's/QMAKE_LFLAGS += -no_dead_strip_inits_and_terms//' \ diff --git a/community/preload/PKGBUILD b/community/preload/PKGBUILD index f3c9a1c18..c24bb52a2 100644 --- a/community/preload/PKGBUILD +++ b/community/preload/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 55344 2011-09-10 09:19:46Z andrea $ +# $Id: PKGBUILD 64901 2012-02-18 20:00:16Z bpiotrowski $ # Maintainer: # Contributor: Jaroslaw Swierczynski # Contributor: William Rea pkgname=preload pkgver=0.6.4 -pkgrel=3 +pkgrel=4 arch=('i686' 'x86_64') pkgdesc="Makes applications run faster by prefetching binaries and shared objects" url="http://sourceforge.net/projects/preload" @@ -23,9 +23,9 @@ md5sums=('10786287b55afd3a2b433b4f898809f4' build() { cd "${srcdir}"/$pkgname-$pkgver ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var make } diff --git a/community/premake/PKGBUILD b/community/premake/PKGBUILD index 2281aa188..20b85f40e 100644 --- a/community/premake/PKGBUILD +++ b/community/premake/PKGBUILD @@ -1,25 +1,25 @@ -# $Id: PKGBUILD 64782 2012-02-18 04:43:05Z svenstaro $ +# $Id: PKGBUILD 64914 2012-02-18 20:33:48Z lfleischer $ # Maintainer: Sven-Hendrik Haase # Contributor: revel # Contributor: Marcos J. S. Magalhaes pkgname=premake pkgver=4.3 -pkgrel=2 +pkgrel=3 pkgdesc="A simple build configuration and project generation tool using lua" arch=('i686' 'x86_64') url="http://industriousone.com/premake" license=('BSD') provides=("premake4") -source=(http://downloads.sourceforge.net/project/premake/Premake/$pkgver/premake-$pkgver-src.zip) +source=("http://downloads.sourceforge.net/project/premake/Premake/$pkgver/premake-$pkgver-src.zip") md5sums=('8cfafee76f9665c93b2e9ad15b015eb7') build() { - cd $srcdir/premake-$pkgver/build/gmake.unix + cd "$srcdir/premake-$pkgver/build/gmake.unix" make } package() { - install -Dm755 $srcdir/premake-$pkgver/bin/release/premake4 ${pkgdir}/usr/bin + install -Dm755 "$srcdir/premake-$pkgver/bin/release/premake4" "${pkgdir}/usr/bin/premake4" } diff --git a/community/protobuf/PKGBUILD b/community/protobuf/PKGBUILD index 8a5c3b2df..860fe5a06 100644 --- a/community/protobuf/PKGBUILD +++ b/community/protobuf/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=protobuf pkgname=('protobuf' 'protobuf-python') pkgver=2.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="A way of encoding structured data in an efficient yet extensible format" arch=('i686' 'x86_64') url="http://code.google.com/p/protobuf/" diff --git a/community/qgo/PKGBUILD b/community/qgo/PKGBUILD index 595c07c70..88a1c96f0 100644 --- a/community/qgo/PKGBUILD +++ b/community/qgo/PKGBUILD @@ -1,34 +1,36 @@ -# $Id: PKGBUILD 56296 2011-10-05 06:31:10Z andrea $ -# Maintainer: +# $Id: PKGBUILD 64872 2012-02-18 19:23:28Z arodseth $ +# Maintainer: Alexander Rødseth # Contributor: Douglas Soares de Andrade pkgname=qgo pkgver=1.5.4 -_realver=1.5.4-r3 -pkgrel=4 -pkgdesc="A Go client and full featured SGF editor" -arch=('i686' 'x86_64') +pkgrel=5 +pkgdesc="Go client and full featured SGF editor" +arch=('x86_64' 'i686') url="http://qgo.sourceforge.net/" license=('GPL') depends=('qt3' 'libsm') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-${_realver}.tar.gz" +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-r3.tar.gz" 'gcc43.patch' 'gcc45.patch') -md5sums=('f8f9a6288b7854932bb2666a58631988' - '1e242ff9c3b46bcebfda0d7ae3aef2fa' - '58de47198a50dedb029acbe28bd3bb1b') +sha256sums=('ddfb66ada7027b844838895061f266bda03b327e8dfec2ee2782e14748bac104' + 'f6ddd28325523e3d5aabac2284334c73114dd823e00bf282aae2646982206e78' + '7f94acfe58d75b57d55bab5b296a801d48f54c8e12dfc1556cd1586abebd3580') build() { - . /etc/profile.d/qt3.sh + cd "$srcdir/$pkgname-$pkgver" - cd $srcdir/$pkgname-$pkgver - patch -Np1 -i "${srcdir}"/gcc43.patch - patch -Np1 -i "${srcdir}"/gcc45.patch + . /etc/profile.d/qt3.sh + patch -Np1 -i "$srcdir/gcc43.patch" + patch -Np1 -i "$srcdir/gcc45.patch" ./configure --prefix=/usr make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD index 4d2318966..d1dca50bc 100644 --- a/community/sfml/PKGBUILD +++ b/community/sfml/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 55899 2011-09-24 16:49:39Z stephane $ +# $Id: PKGBUILD 64959 2012-02-18 23:40:37Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Ondrej Martinak @@ -7,7 +7,7 @@ pkgname=sfml _git=true if [[ "${_git}" = "true" ]]; then - pkgver=1.99.git20110917 + pkgver=1.99.git20120219 fi pkgrel=1 @@ -51,10 +51,12 @@ build() { package() { cd "$srcdir/$_gitname-build/build" + make DESTDIR="$pkgdir/" install - install -Dm644 ../license.txt \ - ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/share/cmake-2.8/Modules/FindSFML.cmake" + + install -Dm644 ../license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE make clean } diff --git a/community/start-stop-daemon/PKGBUILD b/community/start-stop-daemon/PKGBUILD index b469afe43..a9ba3f285 100644 --- a/community/start-stop-daemon/PKGBUILD +++ b/community/start-stop-daemon/PKGBUILD @@ -1,17 +1,18 @@ -# $Id$ -# Maintainer: Sebastien Luttringer +# $Id: PKGBUILD 64840 2012-02-18 17:37:14Z seblu $ +# Maintainer: Sébastien Luttringer # Contributor: Soup # Contributor: Vladimir Koshelenko pkgname=start-stop-daemon -pkgver=1.15.8.11 +pkgver=1.15.8.12 pkgrel=1 pkgdesc='Start and stop system daemon programs' arch=('i686' 'x86_64') license=('GPL2') url='http://packages.qa.debian.org/d/dpkg.html' +depends=('glibc') source=("http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_$pkgver.tar.bz2") -md5sums=('58a1a3ab86ab3220e469cb75f6fb6d7c') +md5sums=('0cd6f20a574d0df31298e70fc3b26173') build() { cd dpkg-$pkgver diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD index 60606f57c..9d6b2ecc0 100644 --- a/community/supertux/PKGBUILD +++ b/community/supertux/PKGBUILD @@ -5,7 +5,7 @@ pkgname=supertux pkgver=0.3.3 -pkgrel=4 +pkgrel=5 pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games" arch=('i686' 'x86_64') url="http://super-tux.sourceforge.net/" diff --git a/community/teeworlds/PKGBUILD b/community/teeworlds/PKGBUILD index 4263f59c7..b104310ef 100644 --- a/community/teeworlds/PKGBUILD +++ b/community/teeworlds/PKGBUILD @@ -7,7 +7,7 @@ pkgname=teeworlds pkgver=0.6.1 _bamver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="A multiplayer 2D shooter" arch=('i686' 'x86_64') url="http://teeworlds.com" diff --git a/community/tint2/PKGBUILD b/community/tint2/PKGBUILD index cdafa8d73..09bc4aff4 100644 --- a/community/tint2/PKGBUILD +++ b/community/tint2/PKGBUILD @@ -1,9 +1,11 @@ +# $Id: PKGBUILD 64903 2012-02-18 20:04:04Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski # Contributor: Blue Peppers -# Maintainer: Stefan Husmann< stefan-husmann@t-online.de> +# Contributor: Stefan Husmann< stefan-husmann@t-online.de> pkgname=tint2 pkgver=0.11 -pkgrel=4 +pkgrel=5 pkgdesc="A basic, good-looking task manager for WMs" arch=('i686' 'x86_64') url="http://code.google.com/p/tint2/" @@ -20,7 +22,7 @@ md5sums=('6fc5731e7425125fa84a2add5cef4bff' '6cfcad028f1bd2f69812167f5395f890') build() { - cd $srcdir/$pkgname-${pkgver} + cd "$srcdir/$pkgname-${pkgver}" # add support for power_now battery attribute (fixes FS#21954) patch -Np0 -i ../add-power-now-support.patch @@ -34,7 +36,8 @@ build() { cmake -DCMAKE_INSTALL_PREFIX=/usr ../ make } + package() { - cd $srcdir/$pkgname-${pkgver}/build - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-${pkgver}/build" + make DESTDIR="$pkgdir" install } diff --git a/community/xdg-user-dirs/PKGBUILD b/community/xdg-user-dirs/PKGBUILD index 3c1fa8353..f96ef4606 100644 --- a/community/xdg-user-dirs/PKGBUILD +++ b/community/xdg-user-dirs/PKGBUILD @@ -3,8 +3,8 @@ pkgname=xdg-user-dirs pkgver=0.14 -pkgrel=1 -pkgdesc="tool to help manage 'well known' user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames. " +pkgrel=2 +pkgdesc="Tool to help manage 'well known' user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames. " arch=('i686' 'x86_64') depends=('sh') makedepends=('gawk') @@ -13,12 +13,14 @@ license=('GPL') source=(http://user-dirs.freedesktop.org/releases/$pkgname-$pkgver.tar.gz) md5sums=('dc496ecde0e6a1e959bd8a38643f28fd') backup=('etc/xdg/user-dirs.conf' 'etc/xdg/user-dirs.defaults') + build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc make } + package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } diff --git a/community/xonotic/PKGBUILD b/community/xonotic/PKGBUILD new file mode 100644 index 000000000..659282e24 --- /dev/null +++ b/community/xonotic/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Alexander Suhoverhov +pkgname=xonotic +pkgver=0.5.0 +pkgrel=1 +pkgdesc="A free, fast-paced crossplatform first-person shooter" +arch=('i686' 'x86_64') +url="http://xonotic.org" +license=('GPL') +depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'libpng>=1.4.0' 'xonotic-data') +makedepends=('unzip' 'mesa') +source=("http://dl.xonotic.org/xonotic-${pkgver}-source.zip" + "xonotic-glx.desktop" + "xonotic-sdl.desktop") +md5sums=('7382f195386b8e51df65e57e6be413e5' + '914c7b9163e92b35f0ab57fdb1653ac5' + 'da7d812ff231c9332cd694b39757adda') + +build() { + # compile Xonotic-flavored fteqcc + #make -C Xonotic/source/fteqcc + + # compile QuakeC game code + #( cd Xonotic/source/qcsrc/server && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + #( cd Xonotic/source/qcsrc/client && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + #( cd Xonotic/source/qcsrc/menu && ../../fteqcc/fteqcc.bin -O3 -Ono-c -Ono-cs ) + + # compile engine + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 cl-release + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sdl-release + make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sv-release +} + +package() { + cd $srcdir/Xonotic + + # binaries + install -Dm755 source/darkplaces/darkplaces-dedicated $pkgdir/usr/bin/xonotic-dedicated + install -Dm755 source/darkplaces/darkplaces-glx $pkgdir/usr/bin/xonotic-glx + install -Dm755 source/darkplaces/darkplaces-sdl $pkgdir/usr/bin/xonotic-sdl + + # convenience files + mkdir -p $pkgdir/usr/share/applications + install -Dm644 $srcdir/*.desktop -t $pkgdir/usr/share/applications + install -Dm644 $srcdir/Xonotic/misc/logos/icons_png/xonotic_512.png $pkgdir/usr/share/pixmaps/xonotic.png +} + +# vim: ts=2:sw=2 et: diff --git a/community/xonotic/xonotic-glx.desktop b/community/xonotic/xonotic-glx.desktop new file mode 100644 index 000000000..9f9e78cc1 --- /dev/null +++ b/community/xonotic/xonotic-glx.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=2.5 +Encoding=UTF-8 +Name=Xonotic (GLX) +Comment=a free open-source first person shooter +Icon=/usr/share/pixmaps/xonotic.png +Exec=/usr/bin/xonotic-glx +Terminal=false +StartupNotify=false +Categories=Game; diff --git a/community/xonotic/xonotic-sdl.desktop b/community/xonotic/xonotic-sdl.desktop new file mode 100644 index 000000000..32b37f2c5 --- /dev/null +++ b/community/xonotic/xonotic-sdl.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=2.5 +Encoding=UTF-8 +Name=Xonotic (SDL) +Comment=a free open-source first person shooter +Icon=/usr/share/pixmaps/xonotic.png +Exec=/usr/bin/xonotic-sdl +Terminal=false +StartupNotify=false +Categories=Game; -- cgit v1.2.3-54-g00ecf