From 2ea707944099830979c0e409905b23150f1cdf3f Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Sun, 13 Jan 2013 13:01:13 -0200 Subject: drop python-renpy --- pcr/python-renpy/ChangeLog | 32 -------------------------------- pcr/python-renpy/PKGBUILD | 41 ----------------------------------------- pcr/python-renpy/python2.diff | 8 -------- pcr/python-renpy/renpy.diff | 20 -------------------- 4 files changed, 101 deletions(-) delete mode 100644 pcr/python-renpy/ChangeLog delete mode 100644 pcr/python-renpy/PKGBUILD delete mode 100644 pcr/python-renpy/python2.diff delete mode 100644 pcr/python-renpy/renpy.diff (limited to 'pcr') diff --git a/pcr/python-renpy/ChangeLog b/pcr/python-renpy/ChangeLog deleted file mode 100644 index 0a357d3db..000000000 --- a/pcr/python-renpy/ChangeLog +++ /dev/null @@ -1,32 +0,0 @@ -2012-28-07 AlexanderR - - * 6.14.1-1 : - new upstream release. - added renpy.diff. - -2012-22-07 AlexanderR - - * 6.13.12-3 : - fixed build with latest ffmpeg at cost of sound. - -2012-26-04 AlexanderR - - * 6.13.12-2 : - moved python-pygame from makedepends to depends. - -2012-20-04 AlexanderR - - * 6.13.12-1 : - new upstream release. - -2012-07-04 AlexanderR - - * 6.13.11-1 : - new upstream release. - moved python-pygame dependency form renpy to python-renpy. - -2011-22-03 AlexanderR - - * 16.13.9-2 : - added ChangeLog. - fixed corrupted images, caused by gcc optimization. diff --git a/pcr/python-renpy/PKGBUILD b/pcr/python-renpy/PKGBUILD deleted file mode 100644 index f7c16e9b9..000000000 --- a/pcr/python-renpy/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: AlexanderR -# Contributor: zhn -# Maintainer (Parabola): André Silva - -pkgname=python-renpy -pkgver=6.14.1 -pkgrel=2 -pkgdesc="Platform-dependant Ren'Py libraries." -arch=('i686' 'x86_64' 'mips64el') -license=('MIT') -url='http://www.renpy.org/' -depends=('ffmpeg' 'fribidi' 'glew' 'python2-pygame' 'mesa') -options=(!buildflags) -conflicts=("renpy<$pkgver" 'renpy64' 'renpy-bin') -# python-argparse is part of distribution since 2.7 -makedepends=('python2>=2.7' 'cython') -changelog=ChangeLog -source=("http://www.renpy.org/dl/$pkgver/renpy-${pkgver}-source.tar.bz2" - python2.diff - renpy.diff) - -md5sums=('16814530ba9ce1f2968bb8c8c785651b' - '19b861f4d934bfea817c161bf3ea1142' - '14f789d847dbd4278a2d5d74ab551e2d') - -build() { - cd "$srcdir"/renpy-${pkgver}-source - - #patch -p1 < ../python2.diff - patch -Rp1 < ../renpy.diff - - CFLAGS=-Os python2 module/setup.py build -} - -package(){ - cd "$srcdir"/renpy-${pkgver}-source - - # install python-renpy - CFLAGS=-Os python2 module/setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 - install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} diff --git a/pcr/python-renpy/python2.diff b/pcr/python-renpy/python2.diff deleted file mode 100644 index c1e68d87e..000000000 --- a/pcr/python-renpy/python2.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- a/module/setup.py.orig 2011-09-06 07:50:08.000000000 +0800 -+++ b/module/setup.py 2011-09-16 18:38:42.187110252 +0800 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - - import platform - import sys diff --git a/pcr/python-renpy/renpy.diff b/pcr/python-renpy/renpy.diff deleted file mode 100644 index 89a6b8c05..000000000 --- a/pcr/python-renpy/renpy.diff +++ /dev/null @@ -1,20 +0,0 @@ -diff -aur renpy-6.14.1-source.new/module/ffdecode.c renpy-6.14.1-source/module/ffdecode.c ---- renpy-6.14.1-source.new/module/ffdecode.c 2012-08-28 16:49:27.217523406 +1100 -+++ renpy-6.14.1-source/module/ffdecode.c 2012-08-26 15:28:30.000000000 +1100 -@@ -1152,6 +1152,7 @@ - AVFormatContext *ic; - int err, i, ret, video_index, audio_index; - AVPacket pkt1, *pkt = &pkt1; -+ AVFormatParameters params, *ap = ¶ms; - int codecs_locked = 0; - - // url_set_interrupt_cb(decode_interrupt_cb); -@@ -1161,6 +1162,8 @@ - is->video_stream = -1; - is->audio_stream = -1; - -+ memset(ap, 0, sizeof(*ap)); -+ - is->io_context = rwops_open(is->rwops); - - codecs_locked = 1; -- cgit v1.2.3 From 0a2af64c022c6cf9848cff751421a7bafa8dec03 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Wed, 16 Jan 2013 00:04:11 -0200 Subject: mednafen-wip: updating pkg --- pcr/mednafen-wip/PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD index 7e9a5323b..167a806e2 100644 --- a/pcr/mednafen-wip/PKGBUILD +++ b/pcr/mednafen-wip/PKGBUILD @@ -6,8 +6,9 @@ pkgbase=mednafen pkgname=mednafen-wip -pkgver=0.9.27 -_pkgver=441 +pkgflag=wip +pkgver=0.9.28 +_pkgver=450 pkgrel=1 pkgdesc='A command-line multi-system gaming emulator, WIP version' url="http://$pkgbase.sourceforge.net/" @@ -32,8 +33,8 @@ makedepends=( ) provides=$pkgbase conflicts=$pkgbase -source='http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&' -sha1sums=5be7597bb8fc9c47ae434d4a0aab16e13230b916 +source=$pkgbase-$pkgver-$pkgflag.tar.bz2::'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&' +sha1sums=6948b0f06d72f8056690d229581e94408d40c918 build() { cd $srcdir/$pkgbase -- cgit v1.2.3 From ab6724c5e86058455d6163046dd4c817d22059b6 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 16 Jan 2013 15:04:00 -0300 Subject: Moved to [pcr] --- pcr/pandoc/PKGBUILD | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++ pcr/pandoc/SRCBUILD | 45 +++++++++++++++++++++++++++++ ~fauno/pandoc/PKGBUILD | 77 -------------------------------------------------- ~fauno/pandoc/SRCBUILD | 45 ----------------------------- 4 files changed, 122 insertions(+), 122 deletions(-) create mode 100644 pcr/pandoc/PKGBUILD create mode 100644 pcr/pandoc/SRCBUILD delete mode 100644 ~fauno/pandoc/PKGBUILD delete mode 100644 ~fauno/pandoc/SRCBUILD (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD new file mode 100644 index 000000000..96f7015b9 --- /dev/null +++ b/pcr/pandoc/PKGBUILD @@ -0,0 +1,77 @@ +# Maintainer: Nicolas Reynolds +# Based on haskell-pandoc + +# Run `makepkg -sp SRCBUILD` if you want to update the source tarball + +pkgname=pandoc +pkgver=1.9.4.5 +pkgrel=4 +pkgdesc='Conversion between markup formats (no Haskell libs)' +url='http://johnmacfarlane.net/pandoc/' +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('ghc' 'sh' 'cabal-install') +options=(strip !makeflags !distcc) +source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} SRCBUILD) +conflicts=('haskell-pandoc') +optdepends=('texlive-most: for pdf creation') + +# PKGBUILD functions +build() { + mkdir -p ${srcdir}/{build,${pkgname}-${pkgver}} + cd ${srcdir}/${pkgname}-${pkgver} + + while read _hkpkg; do + pushd ${srcdir}/${pkgname}-${pkgver}/${_hkpkg} >/dev/null + + msg2 "Building $_hkpkg" + + case $_hkpkg in + $pkgname-$pkgver) + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal configure --flags='-library' \ + --prefix=/usr \ + --libdir=${srcdir}/build/usr/lib -v + + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal build + ;; + + citeproc-hs-*) + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal install --flags='embed_data_files' \ + --prefix=${srcdir}/build/usr -v + ;; + + *) + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal install --prefix=${srcdir}/build/usr + ;; + esac + + popd >/dev/null + done +# Based on haskell-pandoc + +pkgname=pandoc +pkgver=1.9.4.5 +# 0.3.6 fails with embed_data_files +_citeproc=0.3.5 +pkgrel=4 +pkgdesc='Conversion between markup formats (no Haskell libs)' +url='http://johnmacfarlane.net/pandoc/' +license=('GPL') +arch=('any') +makedepends=('ghc' 'sh' 'cabal-install') +source=() +options=(!strip) + +# PKGBUILD functions +build() { + mkdir -p ${srcdir}/{build,${pkgname}-${pkgver}} + cd ${srcdir}/${pkgname}-${pkgver} + + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal --verbose=3 update + + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal --verbose=3 fetch file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} + + msg2 "Getting the dependency build order" +# Ignore the cabal messages + HOME=${srcdir}/${pkgname}-${pkgver} \ + cabal install --dry-run file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER +} + +package() { + export PKGEXT=.src.tar.xz + export PKGDEST=${SRCDEST} + + mkdir -p ${pkgdir}/${pkgname}-${pkgver} + cd ${pkgdir}/${pkgname}-${pkgver} + + find ${srcdir}/${pkgname}-${pkgver} -iname '*.tar.?z' -a \! -iname '00-index.tar.gz' -exec \ + bsdtar xvf '{}' \; + + cp ${srcdir}/${pkgname}-${pkgver}/BUILDORDER . +} diff --git a/~fauno/pandoc/PKGBUILD b/~fauno/pandoc/PKGBUILD deleted file mode 100644 index 96f7015b9..000000000 --- a/~fauno/pandoc/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Maintainer: Nicolas Reynolds -# Based on haskell-pandoc - -# Run `makepkg -sp SRCBUILD` if you want to update the source tarball - -pkgname=pandoc -pkgver=1.9.4.5 -pkgrel=4 -pkgdesc='Conversion between markup formats (no Haskell libs)' -url='http://johnmacfarlane.net/pandoc/' -license=('GPL') -arch=('i686' 'x86_64') -makedepends=('ghc' 'sh' 'cabal-install') -options=(strip !makeflags !distcc) -source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} SRCBUILD) -conflicts=('haskell-pandoc') -optdepends=('texlive-most: for pdf creation') - -# PKGBUILD functions -build() { - mkdir -p ${srcdir}/{build,${pkgname}-${pkgver}} - cd ${srcdir}/${pkgname}-${pkgver} - - while read _hkpkg; do - pushd ${srcdir}/${pkgname}-${pkgver}/${_hkpkg} >/dev/null - - msg2 "Building $_hkpkg" - - case $_hkpkg in - $pkgname-$pkgver) - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal configure --flags='-library' \ - --prefix=/usr \ - --libdir=${srcdir}/build/usr/lib -v - - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal build - ;; - - citeproc-hs-*) - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --flags='embed_data_files' \ - --prefix=${srcdir}/build/usr -v - ;; - - *) - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --prefix=${srcdir}/build/usr - ;; - esac - - popd >/dev/null - done -# Based on haskell-pandoc - -pkgname=pandoc -pkgver=1.9.4.5 -# 0.3.6 fails with embed_data_files -_citeproc=0.3.5 -pkgrel=4 -pkgdesc='Conversion between markup formats (no Haskell libs)' -url='http://johnmacfarlane.net/pandoc/' -license=('GPL') -arch=('any') -makedepends=('ghc' 'sh' 'cabal-install') -source=() -options=(!strip) - -# PKGBUILD functions -build() { - mkdir -p ${srcdir}/{build,${pkgname}-${pkgver}} - cd ${srcdir}/${pkgname}-${pkgver} - - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal --verbose=3 update - - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal --verbose=3 fetch file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} - - msg2 "Getting the dependency build order" -# Ignore the cabal messages - HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --dry-run file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER -} - -package() { - export PKGEXT=.src.tar.xz - export PKGDEST=${SRCDEST} - - mkdir -p ${pkgdir}/${pkgname}-${pkgver} - cd ${pkgdir}/${pkgname}-${pkgver} - - find ${srcdir}/${pkgname}-${pkgver} -iname '*.tar.?z' -a \! -iname '00-index.tar.gz' -exec \ - bsdtar xvf '{}' \; - - cp ${srcdir}/${pkgname}-${pkgver}/BUILDORDER . -} -- cgit v1.2.3 From 0cebd4f8227080a80981c18e9d53430db2c175e0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 16 Jan 2013 16:29:40 -0300 Subject: Fixed build for ghc 7.6 --- pcr/pandoc/PKGBUILD | 5 ++++- pcr/pandoc/SRCBUILD | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 96f7015b9..3b3d97f86 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -5,7 +5,7 @@ pkgname=pandoc pkgver=1.9.4.5 -pkgrel=4 +pkgrel=5 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') @@ -75,3 +75,6 @@ md5sums=('5ccbf0a74bb8594e42f7c2448952680e' md5sums=('5ccbf0a74bb8594e42f7c2448952680e' '233ef5ec5bb7bc91c8cd9dbe09841558' 'e0f60926ed8bf5e8f592bb3aa649093b') +md5sums=('af01e55daded42fa54e8a2bb142c0a78' + '2e6916055ec2a2965596a08ea1e8d050' + '54b521d5c3ed5e2b53c4ca3206f6c941') diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD index 615a291f6..1eb01acc1 100644 --- a/pcr/pandoc/SRCBUILD +++ b/pcr/pandoc/SRCBUILD @@ -5,7 +5,9 @@ pkgname=pandoc pkgver=1.9.4.5 # 0.3.6 fails with embed_data_files _citeproc=0.3.5 -pkgrel=4 +# 0.4 doesn't work with ghc 7.6 +_blaze_html=0.5.1.3 +pkgrel=5 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') @@ -23,12 +25,12 @@ build() { cabal --verbose=3 update HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal --verbose=3 fetch file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} + cabal --verbose=3 fetch file-embed blaze-html-${_blaze_html} citeproc-hs-${_citeproc} ${pkgname}-${pkgver} msg2 "Getting the dependency build order" # Ignore the cabal messages HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --dry-run file-embed citeproc-hs-${_citeproc} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER + cabal install --dry-run file-embed blaze-html-${_blaze_html} citeproc-hs-${_citeproc} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER } package() { -- cgit v1.2.3 From 34b4ef355879aeff7b0f23ae7b2ae04d38233952 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 16 Jan 2013 16:30:34 -0300 Subject: Checksum cleanup --- pcr/pandoc/PKGBUILD | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 3b3d97f86..009d47398 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -69,12 +69,6 @@ package() { find ${pkgdir}/usr/share -type f -exec chmod 644 {} \; find ${pkgdir}/usr/share -type d -exec chmod 755 {} \; } -md5sums=('5ccbf0a74bb8594e42f7c2448952680e' - '233ef5ec5bb7bc91c8cd9dbe09841558' - 'e0f60926ed8bf5e8f592bb3aa649093b') -md5sums=('5ccbf0a74bb8594e42f7c2448952680e' - '233ef5ec5bb7bc91c8cd9dbe09841558' - 'e0f60926ed8bf5e8f592bb3aa649093b') md5sums=('af01e55daded42fa54e8a2bb142c0a78' - '2e6916055ec2a2965596a08ea1e8d050' + '96d0ba0d9060574e56e3f23c996d0e8e' '54b521d5c3ed5e2b53c4ca3206f6c941') -- cgit v1.2.3 From b6fba38485fbddb58ea021c9b532e7fea84404b1 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 18 Jan 2013 21:14:09 -0200 Subject: {glproto,libdrm}-git: update pkg --- pcr/glproto-git/PKGBUILD | 30 ++++++++++---------- pcr/libdrm-git/PKGBUILD | 73 +++++++++++++++++++++++------------------------- 2 files changed, 49 insertions(+), 54 deletions(-) (limited to 'pcr') diff --git a/pcr/glproto-git/PKGBUILD b/pcr/glproto-git/PKGBUILD index fed5caa70..0ff8f2840 100644 --- a/pcr/glproto-git/PKGBUILD +++ b/pcr/glproto-git/PKGBUILD @@ -4,8 +4,10 @@ # Contributor: Cilyan Olowen # Maintainer (Parabola): Márcio Silva +pkgbase=glproto pkgname=glproto-git -pkgver=20120905 +pkgver=$(LC_ALL=C date -u +%Y%m%d) +_pkgver=1.4.16 pkgrel=1 pkgdesc='X11 OpenGL extension wire protocol' arch=( @@ -14,23 +16,19 @@ arch=( mips64el ) url=http://xorg.freedesktop.org/ -license=( - custom -) +license=custom provides=( - ${pkgname%-git} - glproto=1.4.15 + $pkgbase + "$pkgbase=$_pkgver" ) +conflicts=$pkgbase makedepends=( git 'xorg-util-macros>=1.2' ) -conflicts=( - ${pkgname%-git} -) -_gitroot=git://git.freedesktop.org/git/xorg/proto/${pkgname%-git} -_gitname=${pkgname%-git} +_gitroot=git://git.freedesktop.org/git/xorg/proto/$pkgbase +_gitname=$pkgbase build() { cd $srcdir @@ -51,13 +49,13 @@ build() { msg 'Starting make...' cd $srcdir/$_gitname-build - ./autogen.sh --prefix=/usr - make + setarch $CARCH ./autogen.sh --prefix=/usr + setarch $CARCH make } package() { cd $srcdir/$_gitname-build - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git} - install -m644 COPYING $pkgdir/usr/share/licenses/${pkgname%-git} + setarch $CARCH make DESTDIR=$pkgdir install + install -m755 -d $pkgdir/usr/share/licenses/$pkgbase + install -m644 COPYING $pkgdir/usr/share/licenses/$pkgbase } diff --git a/pcr/libdrm-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD index 94b7dca85..fc4c80e8e 100644 --- a/pcr/libdrm-git/PKGBUILD +++ b/pcr/libdrm-git/PKGBUILD @@ -1,9 +1,10 @@ # Maintainer: Jan de Groot # Maintainer (Parabola): Márcio Silva +pkgbase=libdrm pkgname=libdrm-git pkgver=$(LC_ALL=C date -u +%Y%m%d) -_pkgver=2.4.39 +_pkgver=2.4.41 pkgrel=1 pkgdesc='Userspace interface to kernel DRM services' arch=( @@ -11,42 +12,32 @@ arch=( x86_64 mips64el ) -license=( - MIT -) -depends=( - libpciaccess - ) +license=custom +depends=libpciaccess makedepends=( cairo git valgrind ) -options=( - !libtool -) +options='!libtool' url=http://dri.freedesktop.org/ provides=( - ${pkgname%-git}=$_pkgver - ${pkgname%-git}-nouveau1 + $pkgbase=$_pkgver + $pkgbase-nouveau1 ) conflicts=( - ${pkgname%-git} - ${pkgname%-git}-new - ${pkgname%-git}-nouveau - ${pkgname%-git}-nouveau1 - ${pkgname%-git}-old + $pkgbase + $pkgbase-new + $pkgbase-nouveau + $pkgbase-nouveau1 + $pkgbase-old ) replaces=( - ${pkgname%-git}-new - ${pkgname%-git}-nouveau -) -source=( - COPYING -) -sha512sums=( - b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660 + $pkgbase-new + $pkgbase-nouveau ) +source=COPYING +sha512sums=b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660 _gitroot=git://git.freedesktop.org/git/mesa/drm _gitname=drm @@ -65,10 +56,11 @@ build() { msg 'GIT checkout done or server timeout' msg 'Starting build...' - rm -rf $srcdir}/$_gitname-build + rm -rf $srcdir/$_gitname-build git clone $srcdir/$_gitname $srcdir/$_gitname-build cd $srcdir/$_gitname-build + # no-pthread-stubs sed -i '/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)/d;/AC_SUBST(PTHREADSTUBS_CFLAGS)/d;/AC_SUBST(PTHREADSTUBS_LIBS)/d' \ configure.ac sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ @@ -82,25 +74,30 @@ build() { sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ radeon/Makefile.am - ./autogen.sh --prefix=/usr \ - --enable-exynos-experimental-api \ - --enable-intel \ - --enable-nouveau \ - --enable-omap-experimental-api \ - --enable-radeon \ - --enable-udev \ + # man/Makefile.in is missing + #sed -i '#^ man/Makefile#d' configure.ac + + # libtoolize --force + setarch $CARCH autoreconf --force --install + setarch $CARCH ./autogen.sh --prefix=/usr\ + --enable-exynos-experimental-api\ + --enable-intel\ + --enable-nouveau\ + --enable-omap-experimental-api\ + --enable-radeon\ + --enable-udev\ --enable-vmwgfx - make V=0 + setarch $CARCH make V=0 } check() { cd $srcdir/$_gitname-build - make -k check + setarch $CARCH make -k check } package() { cd $srcdir/$_gitname-build - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git} - install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-git} + setarch $CARCH make DESTDIR=$pkgdir install + install -m755 -d $pkgdir/usr/share/licenses/$pkgbase + install -m644 ../COPYING $pkgdir/usr/share/licenses/$pkgbase } -- cgit v1.2.3 From cea18d53526ff6dffa1f7434b7a241612aeb3c9f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 23 Jan 2013 11:32:33 -0300 Subject: Pandoc 1.10.0.4 --- pcr/pandoc/PKGBUILD | 35 +++- pcr/pandoc/SRCBUILD | 11 +- pcr/pandoc/citeproc-hs-pre-0.3.7.patch | 292 +++++++++++++++++++++++++++++++++ 3 files changed, 324 insertions(+), 14 deletions(-) create mode 100644 pcr/pandoc/citeproc-hs-pre-0.3.7.patch (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 009d47398..8f55464e8 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -4,15 +4,17 @@ # Run `makepkg -sp SRCBUILD` if you want to update the source tarball pkgname=pandoc -pkgver=1.9.4.5 -pkgrel=5 +pkgver=1.10.0.4 +pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') arch=('i686' 'x86_64') makedepends=('ghc' 'sh' 'cabal-install') -options=(strip !makeflags !distcc) -source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} SRCBUILD) +options=(strip !makeflags !distcc !emptydirs) +source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} + SRCBUILD + citeproc-hs-pre-0.3.7.patch) conflicts=('haskell-pandoc') optdepends=('texlive-most: for pdf creation') @@ -21,7 +23,17 @@ build() { mkdir -p ${srcdir}/{build,${pkgname}-${pkgver}} cd ${srcdir}/${pkgname}-${pkgver} +# Patches from the next citeproc-hs release +# These are needed because 0.3.6 with embed_data_files is broken +# darcs diff --from-tag=0.3.6 + pushd ${srcdir}/${pkgname}-${pkgver}/citeproc-hs-0.3.6 + patch -Np1 -i ${srcdir}/citeproc-hs-pre-0.3.7.patch + popd + while read _hkpkg; do +# Skip already built + [ -d ${srcdir}/build/usr/lib/$_hkpkg ] && continue + pushd ${srcdir}/${pkgname}-${pkgver}/${_hkpkg} >/dev/null msg2 "Building $_hkpkg" @@ -59,8 +71,10 @@ package() { runghc Setup.hs copy --destdir=${pkgdir}/ +# For some reason the library is installed anyway +# Remove all files and !emptydirs takes care of the rest msg2 "Removing lib files..." - rm -rfv ${pkgdir}/build + find ${pkgdir} -iname lib -print0 | xargs -0 rm -rvf # EC is unfree and makes Parabola TeXLive cry # besides, it's unneeded @@ -68,7 +82,12 @@ package() { find ${pkgdir}/usr/share -type f -exec chmod 644 {} \; find ${pkgdir}/usr/share -type d -exec chmod 755 {} \; + + msg2 "Installing licenses" + install -d ${pkgdir}/usr/share + cp -rv ${srcdir}/build/usr/share/doc ${pkgdir}/usr/share/ } -md5sums=('af01e55daded42fa54e8a2bb142c0a78' - '96d0ba0d9060574e56e3f23c996d0e8e' - '54b521d5c3ed5e2b53c4ca3206f6c941') +md5sums=('94c36d52ee6d7e33b16d75048f6617d3' + '2958854a387ea0845720e9456f814845' + 'd159a34656b7a1e13df5e6149b2f898b' + 'd389fc323eeaced767cea53edcfc0127') diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD index 1eb01acc1..c1cfbfa5c 100644 --- a/pcr/pandoc/SRCBUILD +++ b/pcr/pandoc/SRCBUILD @@ -2,12 +2,11 @@ # Based on haskell-pandoc pkgname=pandoc -pkgver=1.9.4.5 -# 0.3.6 fails with embed_data_files -_citeproc=0.3.5 +pkgver=1.10.0.4 # 0.4 doesn't work with ghc 7.6 +# Use blaze_html_0_5 flag in the future _blaze_html=0.5.1.3 -pkgrel=5 +pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') @@ -25,12 +24,12 @@ build() { cabal --verbose=3 update HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal --verbose=3 fetch file-embed blaze-html-${_blaze_html} citeproc-hs-${_citeproc} ${pkgname}-${pkgver} + cabal --verbose=3 fetch file-embed blaze-html-${_blaze_html} ${pkgname}-${pkgver} msg2 "Getting the dependency build order" # Ignore the cabal messages HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --dry-run file-embed blaze-html-${_blaze_html} citeproc-hs-${_citeproc} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER + cabal install --dry-run file-embed blaze-html-${_blaze_html} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER } package() { diff --git a/pcr/pandoc/citeproc-hs-pre-0.3.7.patch b/pcr/pandoc/citeproc-hs-pre-0.3.7.patch new file mode 100644 index 000000000..754a9ac2e --- /dev/null +++ b/pcr/pandoc/citeproc-hs-pre-0.3.7.patch @@ -0,0 +1,292 @@ +Fri Nov 9 09:31:27 ART 2012 Andrea Rossato + * fix issue #28 + add support for generating links to the DOI database. +Thu Nov 8 21:05:02 ART 2012 Andrea Rossato + * fix issue #35 +Thu Nov 8 18:24:16 ART 2012 Andrea Rossato + * a simple script for creating tests +Thu Nov 8 18:21:56 ART 2012 Andrea Rossato + * fix a bug in convertQuoted which was producing stack overflows with long strings +Thu Nov 8 17:27:38 ART 2012 Andrea Rossato + * fix editJsonInput in order to read the native JSON bibliographic data format +Thu Nov 8 14:03:26 ART 2012 Andrea Rossato + * fix issue #37 +Fri Oct 26 18:45:09 ART 2012 Andrea Rossato + * bump version number +Fri Oct 26 13:53:20 ART 2012 Andrea Rossato + tagged 0.3.6 +diff -rN -u old-citeproc-hs/README new-citeproc-hs/README +--- old-citeproc-hs/README 2013-01-22 22:19:52.097159333 -0300 ++++ new-citeproc-hs/README 2013-01-22 22:19:52.107159567 -0300 +@@ -169,6 +169,21 @@ + + Summer, 2001 (the season) + ++### The DOI variable ++ ++If the DOI variable is prefixed by a `doi:` like: ++ ++ doi = {doi:10.1038/171737a0} ++ ++the processor will generate a link and produce this pandoc native ++representation: ++ ++ Link [Str "10.1038/171737a0"] ("http://dx.doi.org/10.1038/171737a0", "10.1038/171737a0") ++ ++that produces a link like: ++ ++ 10.1038/171737a0 ++ + ### Running the test-suite + + To run the test suite, you first need to grab it with [mercurial] by +diff -rN -u old-citeproc-hs/citeproc-hs.cabal new-citeproc-hs/citeproc-hs.cabal +--- old-citeproc-hs/citeproc-hs.cabal 2013-01-22 22:19:52.103826157 -0300 ++++ new-citeproc-hs/citeproc-hs.cabal 2013-01-22 22:19:52.107159567 -0300 +@@ -1,5 +1,5 @@ + name: citeproc-hs +-version: 0.3.6 ++version: 0.3.7 + homepage: http://gorgias.mine.nu/repos/citeproc-hs/ + synopsis: A Citation Style Language implementation in Haskell + +diff -rN -u old-citeproc-hs/src/Text/CSL/Eval/Output.hs new-citeproc-hs/src/Text/CSL/Eval/Output.hs +--- old-citeproc-hs/src/Text/CSL/Eval/Output.hs 2013-01-22 22:19:52.097159333 -0300 ++++ new-citeproc-hs/src/Text/CSL/Eval/Output.hs 2013-01-22 22:19:52.123826603 -0300 +@@ -29,7 +29,11 @@ + appendOutput fm xs = if xs /= [] then [Output xs fm] else [] + + outputList :: Formatting -> Delimiter -> [Output] -> [Output] +-outputList fm d = appendOutput fm . addDelim d ++outputList fm d = appendOutput fm . addDelim d . map cleanOutput' ++ where ++ cleanOutput' o ++ | Output xs f <- o = Output (cleanOutput xs) f ++ | otherwise = rmEmptyOutput o + + cleanOutput :: [Output] -> [Output] + cleanOutput = flatten +@@ -37,12 +41,16 @@ + flatten [] = [] + flatten (o:os) + | ONull <- o = flatten os +- | Output [] _ <- o = flatten os +- | OStr [] _ <- o = flatten os +- | OUrl [] _ <- o = flatten os + | Output xs f <- o + , f == emptyFormatting = flatten xs ++ flatten os +- | otherwise = o : flatten os ++ | otherwise = rmEmptyOutput o : flatten os ++ ++rmEmptyOutput :: Output -> Output ++rmEmptyOutput o ++ | Output [] _ <- o = ONull ++ | OStr [] _ <- o = ONull ++ | OUrl t _ <- o = if null (fst t) then ONull else o ++ | otherwise = o + + addDelim :: String -> [Output] -> [Output] + addDelim d = foldr (\x xs -> if length xs < 1 then x : xs else check x xs) [] +diff -rN -u old-citeproc-hs/src/Text/CSL/Eval.hs new-citeproc-hs/src/Text/CSL/Eval.hs +--- old-citeproc-hs/src/Text/CSL/Eval.hs 2013-01-22 22:19:52.093825923 -0300 ++++ new-citeproc-hs/src/Text/CSL/Eval.hs 2013-01-22 22:19:52.120493193 -0300 +@@ -25,6 +25,7 @@ + import Control.Applicative ( (<$>) ) + import Control.Monad.State + import Data.Char ++import Data.List + import qualified Data.Map as M + import Data.Maybe + +@@ -153,7 +154,12 @@ + "title" -> formatTitle f fm + "locator" -> getLocVar >>= formatRange fm . snd + "url" -> getStringVar "url" >>= \k -> +- if null k then return [] else return [OUrl k fm] ++ if null k then return [] else return [OUrl (k,k) fm] ++ "doi" -> getStringVar "doi" >>= \d -> ++ if "doi:" `isPrefixOf` d ++ then let d' = drop 4 d in ++ return [OUrl ("http://dx.doi.org/" ++ d', d') fm] ++ else return [OStr d fm] + _ -> gets (env >>> options &&& abbrevs) >>= \(opts,as) -> + getVar [] (getFormattedValue opts as f fm s) s >>= \r -> + consumeVariable s >> return r +diff -rN -u old-citeproc-hs/src/Text/CSL/Input/Json.hs new-citeproc-hs/src/Text/CSL/Input/Json.hs +--- old-citeproc-hs/src/Text/CSL/Input/Json.hs 2013-01-22 22:19:52.100492747 -0300 ++++ new-citeproc-hs/src/Text/CSL/Input/Json.hs 2013-01-22 22:19:52.123826603 -0300 +@@ -106,6 +106,7 @@ + , JSObject js <- j = (camel s , JSArray (editDate $ fromJSObject js)) + | "family" <- s = ("familyName" , j) + | "suffix" <- s = ("nameSuffix" , j) ++ | "URL" <- s = ("url" , j) + | "edition" <- s = ("edition" , toString j) + | "volume" <- s = ("volume" , toString j) + | "issue" <- s = ("issue" , toString j) +@@ -122,7 +123,7 @@ + camel x + | '-':y:ys <- x = toUpper y : camel ys + | '_':y:ys <- x = toUpper y : camel ys +- | y:ys <- x = toLower y : camel ys ++ | y:ys <- x = y : camel ys + | otherwise = [] + + format (x:xs) = toUpper x : xs +diff -rN -u old-citeproc-hs/src/Text/CSL/Output/Pandoc.hs new-citeproc-hs/src/Text/CSL/Output/Pandoc.hs +--- old-citeproc-hs/src/Text/CSL/Output/Pandoc.hs 2013-01-22 22:19:52.100492747 -0300 ++++ new-citeproc-hs/src/Text/CSL/Output/Pandoc.hs 2013-01-22 22:19:52.123826603 -0300 +@@ -60,7 +60,7 @@ + | FS str fm <- fo = toPandoc fm $ toStr str + | FN str fm <- fo = toPandoc fm $ toStr $ rmZeros str + | FO fm xs <- fo = toPandoc fm $ rest xs +- | FUrl u fm <- fo = toPandoc fm [Link (toStr u) (u,u)] ++ | FUrl u fm <- fo = toPandoc fm [Link (toStr $ snd u) u] + | otherwise = [] + where + addSuffix f i +@@ -176,8 +176,10 @@ + | Quoted t inls <- i + , b = case headInline is of + [x] -> if isPunctuation x +- then Quoted t (reverseQuoted t inls ++ [Str [x]]) : clean' s b (tailInline is) +- else Quoted t (reverseQuoted t inls ) : clean' s b is ++ then if lastInline inls `elem` [".",",",";",":","!","?"] ++ then Quoted t (reverseQuoted t inls ) : clean' s b (tailInline is) ++ else Quoted t (reverseQuoted t inls ++ [Str [x]]) : clean' s b (tailInline is) ++ else Quoted t (reverseQuoted t inls) : clean' s b is + _ -> Quoted t (reverseQuoted t inls) : clean' s b is + | Quoted t inls <- i = Quoted t (reverseQuoted t inls) : clean' s b is + | otherwise = if lastInline [i] == headInline is && isPunct +@@ -232,7 +234,7 @@ + startWithPunct = and . map (`elem` ".,;:!?") . headInline + + convertQuoted :: Style -> [Inline] -> [Inline] +-convertQuoted s = proc convertQuoted' ++convertQuoted s = convertQuoted' + where + locale = let l = styleLocale s in case l of [x] -> x; _ -> Locale [] [] [] [] [] + getQuote x y = entityToChar . fst . fromMaybe (x,[]) . lookup (y,Long) . localeTermMap $ locale +diff -rN -u old-citeproc-hs/src/Text/CSL/Parser.hs new-citeproc-hs/src/Text/CSL/Parser.hs +--- old-citeproc-hs/src/Text/CSL/Parser.hs 2013-01-22 22:19:52.103826157 -0300 ++++ new-citeproc-hs/src/Text/CSL/Parser.hs 2013-01-22 22:19:52.120493193 -0300 +@@ -23,7 +23,6 @@ + #ifdef EMBED_DATA_FILES + import Data.FileEmbed + import qualified Data.ByteString as S +-import Data.ByteString.UTF8 ( toString ) + #else + import Paths_citeproc_hs ( getDataFileName ) + import System.Directory ( doesFileExist ) +@@ -69,7 +68,7 @@ + return s { styleLocale = mergeLocales (styleDefaultLocale s) l (styleLocale s)} + + #ifdef EMBED_DATA_FILES +-localeFiles :: [(FilePath, L.ByteString)] ++localeFiles :: [(FilePath, S.ByteString)] + localeFiles = $(embedDir "locales/") + #endif + +@@ -86,7 +85,7 @@ + | otherwise -> case lookup ("locales-" ++ take 5 x ++ ".xml") localeFiles of + Just x' -> return x' + _ -> error "could not load the locale file" +- return $ readXmlString xpLocale f ++ return $ readXmlString xpLocale $ L.fromChunks [f] + #else + f <- case s of + x | length x == 2 -> getDataFileName ("locales/locales-" ++ +diff -rN -u old-citeproc-hs/src/Text/CSL/Style.hs new-citeproc-hs/src/Text/CSL/Style.hs +--- old-citeproc-hs/src/Text/CSL/Style.hs 2013-01-22 22:19:52.093825923 -0300 ++++ new-citeproc-hs/src/Text/CSL/Style.hs 2013-01-22 22:19:52.120493193 -0300 +@@ -20,7 +20,7 @@ + , everywhere', everything, mkT, mkQ) + import qualified Data.Map as M + import Text.JSON +-import Text.Pandoc.Definition ( Inline ) ++import Text.Pandoc.Definition ( Inline, Target ) + + -- | The representation of a parsed CSL style. + data Style +@@ -309,8 +309,8 @@ + = FO Formatting [FormattedOutput] -- ^ List of 'FormatOutput' items + | FN String Formatting -- ^ Formatted number + | FS String Formatting -- ^ Formatted string +- | FUrl String Formatting -- ^ Formatted uniform resource locator (URL) + | FDel String -- ^ Delimeter string ++ | FUrl Target Formatting -- ^ Formatted URL + | FPan [Inline] -- ^ Pandoc inline elements + | FNull -- ^ Null formatting item + deriving ( Eq, Show ) +@@ -331,7 +331,7 @@ + | OContrib String String [Output] [Output] [[Output]] -- ^ The citation key, the role (author, editor, etc.), the contributor(s), + -- the output needed for year suf. disambiguation, and everything used for + -- name disambiguation. +- | OUrl String Formatting -- ^ A uniform resource locator (URL) ++ | OUrl Target Formatting -- ^ An URL + | OLoc [Output] Formatting -- ^ The citation's locator + | Output [Output] Formatting -- ^ Some nested 'Output' + deriving ( Eq, Ord, Show, Typeable, Data ) +diff -rN -u old-citeproc-hs/src/Text/CSL/Test.hs new-citeproc-hs/src/Text/CSL/Test.hs +--- old-citeproc-hs/src/Text/CSL/Test.hs 2013-01-22 22:19:52.103826157 -0300 ++++ new-citeproc-hs/src/Text/CSL/Test.hs 2013-01-22 22:19:52.120493193 -0300 +@@ -45,7 +45,8 @@ + import Text.CSL.Style + import Text.Pandoc.Definition + #ifdef EMBED_DATA_FILES +-import Data.ByteString.UTF8 ( toString ) ++import qualified Data.ByteString.Lazy as L ++import qualified Data.ByteString.UTF8 as U + import Text.CSL.Parser ( localeFiles ) + #else + import System.IO.Unsafe +@@ -217,7 +218,7 @@ + | otherwise -> take 5 x + #ifdef EMBED_DATA_FILES + ls <- case lookup ("locales-" ++ locale ++ ".xml") localeFiles of +- Just x' -> return $ readXmlString xpLocale (toString x') ++ Just x' -> return $ readXmlString xpLocale $ L.fromChunks [x'] + _ -> return $ Locale [] [] [] [] [] + #else + ls' <- getCachedLocale locale +diff -rN -u old-citeproc-hs/test/createTest.hs new-citeproc-hs/test/createTest.hs +--- old-citeproc-hs/test/createTest.hs 1969-12-31 21:00:00.000000000 -0300 ++++ new-citeproc-hs/test/createTest.hs 2013-01-22 22:19:52.123826603 -0300 +@@ -0,0 +1,37 @@ ++import System.Environment ++import Text.CSL ++import Text.CSL.Test ++import Text.JSON.Generic ++ ++main :: IO () ++main = do ++ args <- getArgs ++ case args of ++ [c,r] -> readStruff c r [] >>= putStrLn ++ _ -> error "usage: kljlkjljlkjlkjl" ++ ++readStruff :: String -> String -> String -> IO String ++readStruff c r s = do ++ c' <- readFile c ++ r' <- readBiblioFile r ++ return $ mode "citation" ++ result [] ++ citationItems r' ++ csl c' ++ input r' ++ ++mode :: String -> String ++mode s = ">>===== MODE =====>>\n" ++ s ++ "\n<<===== MODE =====<<\n\n" ++ ++result :: String -> String ++result s = ">>===== RESULT =====>>\n" ++ s ++ "\n<<===== RESULT =====<<\n\n" ++ ++citationItems :: [Reference] -> String ++citationItems l = ">>===== CITATION-ITEMS =====>>\n[\n [\n" ++ toId ++ ++ "\n ]\n]\n<<===== CITATION-ITEMS =====<<\n\n" ++ where ++ toId = foldr addComma [] toStringList ++ addComma x xs = if length xs < 1 then x ++ xs else x ++ ",\n" ++ xs ++ toStringList = flip map l $ \x -> " {\n \"id\": \"" ++ refId x ++ "\"\n }" ++ ++csl :: String -> String ++csl s = ">>===== CSL =====>>\n" ++ s ++ "<<===== CSL =====<<\n\n" ++ ++input :: [Reference] -> String ++input s = ">>===== INPUT =====>>\n" ++ encodeJSON s ++ "\n<<===== INPUT =====<<\n\n" +\ No newline at end of file -- cgit v1.2.3 From 060a5938b099fa248eda86b56658a31d54be7c28 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 23 Jan 2013 19:20:27 -0300 Subject: templates are under data/ now --- pcr/pandoc/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 8f55464e8..47c9788c9 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -78,7 +78,7 @@ package() { # EC is unfree and makes Parabola TeXLive cry # besides, it's unneeded - sed "/fontenc/d" -i ${pkgdir}/usr/share/${pkgname}-${pkgver}/templates/default.latex + sed "/fontenc/d" -i ${pkgdir}/usr/share/${pkgname}-${pkgver}/data/templates/default.latex find ${pkgdir}/usr/share -type f -exec chmod 644 {} \; find ${pkgdir}/usr/share -type d -exec chmod 755 {} \; -- cgit v1.2.3 From 899e1e7bfc144334edc0d2ccd8de072e6910c23a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 30 Jan 2013 23:30:14 -0200 Subject: hexchat-libre: adding new package for [pcr] repo --- pcr/hexchat-libre/PKGBUILD | 46 ++++++++++++++++++++++ pcr/hexchat-libre/hexchat.install | 8 ++++ pcr/hexchat-libre/no-firefox.patch | 16 ++++++++ pcr/hexchat-libre/remove-non-free-suggestion.patch | 12 ++++++ 4 files changed, 82 insertions(+) create mode 100644 pcr/hexchat-libre/PKGBUILD create mode 100644 pcr/hexchat-libre/hexchat.install create mode 100644 pcr/hexchat-libre/no-firefox.patch create mode 100644 pcr/hexchat-libre/remove-non-free-suggestion.patch (limited to 'pcr') diff --git a/pcr/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD new file mode 100644 index 000000000..26c353fb9 --- /dev/null +++ b/pcr/hexchat-libre/PKGBUILD @@ -0,0 +1,46 @@ +#Maintainer: TingPing tingping@tingping.se +#Maintainer (Parabola): André Silva + +_pkgname=hexchat +pkgname=hexchat-libre +pkgver=2.9.4 +pkgrel=2 +pkgdesc='A GTK+ based IRC client without non-free browser reference' +arch=('i686' 'x86_64' 'mips64el') +url='http://www.hexchat.org/' +license=('GPL') +options=('!libtool') +replaces=('hexchat') +conflicts=('hexchat') +provides=("hexchat=$pkgver") +depends=('gtk2' 'openssl' 'dbus-glib' 'hicolor-icon-theme' 'libnotify' 'libproxy') +makedepends=('perl' 'python2' 'tcl') +optdepends=('enchant: for spell check' + 'perl: for perl plugin' + 'tcl: for tcl plugin' + 'python2: for python plugin') +install="$_pkgname.install" +source=("https://github.com/downloads/hexchat/hexchat/hexchat-$pkgver.tar.xz" + 'remove-non-free-suggestion.patch' + 'no-firefox.patch') +md5sums=('5609cac7200fc91be57196501aaf07fa' + '978da875b73d9570134a1e87af54f94b' + '8934416304ed77161da0883d5b06e7b8') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" + patch -p1 -i "${srcdir}/no-firefox.patch" + mkdir m4 + chmod +x autogen.sh + ./autogen.sh + ./configure --prefix=/usr \ + --enable-openssl --enable-dbus --enable-nls --enable-ipv6 --enable-shm --enable-spell=static + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m644 "share/icons/hexchat.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/hexchat.svg" +} diff --git a/pcr/hexchat-libre/hexchat.install b/pcr/hexchat-libre/hexchat.install new file mode 100644 index 000000000..4b3df7505 --- /dev/null +++ b/pcr/hexchat-libre/hexchat.install @@ -0,0 +1,8 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo 'Read the FAQ if migrating from XChat - https://github.com/hexchat/hexchat/blob/master/share/doc/faq.md' +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/pcr/hexchat-libre/no-firefox.patch b/pcr/hexchat-libre/no-firefox.patch new file mode 100644 index 000000000..998ff4dca --- /dev/null +++ b/pcr/hexchat-libre/no-firefox.patch @@ -0,0 +1,16 @@ +diff -Nur hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c hexchat-2.9.4/src/fe-gtk/fe-gtk.c +--- hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/fe-gtk/fe-gtk.c 2013-01-30 23:06:38.670239405 -0200 +@@ -1039,8 +1039,10 @@ + return; + } + +- /* everything failed, what now? just try firefox */ +- if (try_browser ("firefox", NULL, url)) ++ /* everything failed, what now? just try iceweasel or icecat */ ++ if (try_browser ("iceweasel", NULL, url)) ++ return; ++ if (try_browser ("icecat", NULL, url)) + return; + + /* fresh out of ideas... */ diff --git a/pcr/hexchat-libre/remove-non-free-suggestion.patch b/pcr/hexchat-libre/remove-non-free-suggestion.patch new file mode 100644 index 000000000..a83a71f17 --- /dev/null +++ b/pcr/hexchat-libre/remove-non-free-suggestion.patch @@ -0,0 +1,12 @@ +diff -Nur hexchat-2.9.4.orig/src/common/hexchat.c hexchat-2.9.4/src/common/hexchat.c +--- hexchat-2.9.4.orig/src/common/hexchat.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/common/hexchat.c 2013-01-30 23:02:12.884864062 -0200 +@@ -618,7 +618,7 @@ + "NAME WII\n" "CMD quote WHOIS %2 %2\n\n"; + + static char defaultconf_urlhandlers[] = +- "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n"; ++ "" ""; + + #ifdef USE_SIGACTION + /* Close and open log files on SIGUSR1. Usefull for log rotating */ -- cgit v1.2.3 From 3ab4ff0273a4c345fdbc3903082d9de0fdd2f198 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Feb 2013 13:26:18 -0200 Subject: moving timekpr to [pcr] repo --- ...nitializes_lastNotified_before_it_is_used.patch | 10 +++ pcr/timekpr/PKGBUILD | 74 ++++++++++++++++++++++ pcr/timekpr/timekpr.install | 24 +++++++ pcr/timekpr/timekprd.sh | 36 +++++++++++ ...nitializes_lastNotified_before_it_is_used.patch | 10 --- ~emulatorman/timekpr/PKGBUILD | 74 ---------------------- ~emulatorman/timekpr/timekpr.install | 24 ------- ~emulatorman/timekpr/timekprd.sh | 36 ----------- 8 files changed, 144 insertions(+), 144 deletions(-) create mode 100644 pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch create mode 100644 pcr/timekpr/PKGBUILD create mode 100644 pcr/timekpr/timekpr.install create mode 100755 pcr/timekpr/timekprd.sh delete mode 100644 ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch delete mode 100644 ~emulatorman/timekpr/PKGBUILD delete mode 100644 ~emulatorman/timekpr/timekpr.install delete mode 100755 ~emulatorman/timekpr/timekprd.sh (limited to 'pcr') diff --git a/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch b/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch new file mode 100644 index 000000000..870a2670a --- /dev/null +++ b/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch @@ -0,0 +1,10 @@ +--- a/timekpr-client.py 2011-04-15 13:17:59.000000000 +0200 ++++ b/timekpr-client.py 2011-04-15 13:19:06.000000000 +0200 +@@ -40,6 +40,7 @@ + self.conffile = self.VAR['TIMEKPRDIR'] + '/' + self.username + self.limits, self.bfrom, self.bto = readusersettings(self.username, self.conffile) + self.timer = None ++ self.lastNotified = datetime.datetime.fromtimestamp(0); + self.checkLimits() + #Add a gobject loop to check limits: + self.timer = gobject.timeout_add(self.checkInterval * 1000, self.checkLimits) diff --git a/pcr/timekpr/PKGBUILD b/pcr/timekpr/PKGBUILD new file mode 100644 index 000000000..2196dd275 --- /dev/null +++ b/pcr/timekpr/PKGBUILD @@ -0,0 +1,74 @@ +# Contributor: SanskritFritz (gmail) + +pkgname=timekpr +pkgver=0.3.2 +pkgrel=8 +pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." +arch=('i686' 'x86_64') +url=https://launchpad.net/timekpr +license=('GPL') +depends=('python2') +source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz + timekprd.sh + Initializes_lastNotified_before_it_is_used.patch) +install='timekpr.install' +md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' + 'ab37e469034200c19b46a31d586bfe3e' + '23848ef2578571d7dc4871fbd15f41ed') + + +build() { + cd ${srcdir}/stable/gui/client + # https://bugs.launchpad.net/timekpr/+bug/761647 + patch -p1 < ${srcdir}/Initializes_lastNotified_before_it_is_used.patch +} + +package() { + install -dm755 $pkgdir/etc/{rc.d,timekpr,logrotate.d,xdg/autostart} + install -dm755 $pkgdir/usr/{bin,share/{doc/timekpr,timekpr,python-support/timekpr,pixmaps,applications,man/man8}} + install -dm755 $pkgdir/usr/share/locale/{da,de,fr,hu,nb,sv,fi}/LC_MESSAGES + install -dm755 $pkgdir/var/lib/timekpr + + cd $srcdir/stable + install -m644 etc/timekpr.conf $pkgdir/etc/ + install -m644 etc/logrotate.d/timekpr $pkgdir/etc/logrotate.d/ + sed -i "s/python/python2/" timekpr + install -m755 timekpr $pkgdir/usr/bin/ + sed -i "s/python/python2/" timekpr-gui + install -m755 timekpr-gui $pkgdir/usr/bin/ + sed -i "s/python/python2/" timekpr-client + install -m755 timekpr-client $pkgdir/usr/bin/ + install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekpr.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekpr-gui.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 gui/client/timekpr-client.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekprcommon.py $pkgdir/usr/share/python-support/timekpr/ + install -m644 gui/padlock-green.png $pkgdir/usr/share/timekpr/ + install -m644 gui/padlock-red.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr.glade $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr100x100.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr32x32.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr.xpm $pkgdir/usr/share/pixmaps/ + install -m644 debian/timekpr.desktop $pkgdir/usr/share/applications/ + install -m644 debian/timekpr-client.desktop $pkgdir/etc/xdg/autostart + install -m644 locale/da/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/da/LC_MESSAGES/ + install -m644 locale/de/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/de/LC_MESSAGES/ + install -m644 locale/fr/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fr/LC_MESSAGES/ + install -m644 locale/hu/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/hu/LC_MESSAGES/ + install -m644 locale/nb/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/nb/LC_MESSAGES/ + install -m644 locale/sv/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/sv/LC_MESSAGES/ + install -m644 locale/fi/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fi/LC_MESSAGES/ + install -m644 TODO.txt $pkgdir/usr/share/doc/timekpr + install -m644 README.txt $pkgdir/usr/share/doc/timekpr + install -m644 COPYRIGHT.txt $pkgdir/usr/share/doc/timekpr + install -m644 CONTRIBUTORS.txt $pkgdir/usr/share/doc/timekpr + install -m644 debian/changelog $pkgdir/usr/share/doc/timekpr + install -m644 doc/timekpr.8 $pkgdir/usr/share/man/man8 + + install -m755 debian/timekpr.postrm $pkgdir/usr/bin/ + install -m755 debian/timekpr.postinst $pkgdir/usr/bin/ + + cd $srcdir + install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd +} diff --git a/pcr/timekpr/timekpr.install b/pcr/timekpr/timekpr.install new file mode 100644 index 000000000..b01769c48 --- /dev/null +++ b/pcr/timekpr/timekpr.install @@ -0,0 +1,24 @@ + +post_install() { + /usr/bin/timekpr.postinst + + echo "Your su command (gksu|gksudo|kdesu|kdesudo etc) for starting timekpr-gui as root: " + read su_command; + sed -i "s/gksu/${su_command}/" "/usr/share/applications/timekpr.desktop" + + echo + echo "Start the timekpr daemon with '/etc/rc.d/timekprd start'" + echo "For permanent use put 'timekprd' into your DAEMONS array." +} + +post_upgrade() { + post_install +} + +pre_remove() { + /usr/bin/timekpr.postrm purge +} + +post_remove() { + echo "Remove the timekprd entry from your DAEMONS array." +} diff --git a/pcr/timekpr/timekprd.sh b/pcr/timekpr/timekprd.sh new file mode 100755 index 000000000..19e4a3af4 --- /dev/null +++ b/pcr/timekpr/timekprd.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -x -o %PPID /etc/rc.d/timekprd` +case "$1" in + start) + stat_busy "Starting timekpr" + [ -z "$PID" ] && /usr/bin/timekpr & + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon timekprd + stat_done + fi + ;; + stop) + stat_busy "Stopping timekpr" + [ ! -z "$PID" ] && killall --user root timekpr &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon timekprd + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch b/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch deleted file mode 100644 index 870a2670a..000000000 --- a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/timekpr-client.py 2011-04-15 13:17:59.000000000 +0200 -+++ b/timekpr-client.py 2011-04-15 13:19:06.000000000 +0200 -@@ -40,6 +40,7 @@ - self.conffile = self.VAR['TIMEKPRDIR'] + '/' + self.username - self.limits, self.bfrom, self.bto = readusersettings(self.username, self.conffile) - self.timer = None -+ self.lastNotified = datetime.datetime.fromtimestamp(0); - self.checkLimits() - #Add a gobject loop to check limits: - self.timer = gobject.timeout_add(self.checkInterval * 1000, self.checkLimits) diff --git a/~emulatorman/timekpr/PKGBUILD b/~emulatorman/timekpr/PKGBUILD deleted file mode 100644 index 2196dd275..000000000 --- a/~emulatorman/timekpr/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Contributor: SanskritFritz (gmail) - -pkgname=timekpr -pkgver=0.3.2 -pkgrel=8 -pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." -arch=('i686' 'x86_64') -url=https://launchpad.net/timekpr -license=('GPL') -depends=('python2') -source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz - timekprd.sh - Initializes_lastNotified_before_it_is_used.patch) -install='timekpr.install' -md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' - 'ab37e469034200c19b46a31d586bfe3e' - '23848ef2578571d7dc4871fbd15f41ed') - - -build() { - cd ${srcdir}/stable/gui/client - # https://bugs.launchpad.net/timekpr/+bug/761647 - patch -p1 < ${srcdir}/Initializes_lastNotified_before_it_is_used.patch -} - -package() { - install -dm755 $pkgdir/etc/{rc.d,timekpr,logrotate.d,xdg/autostart} - install -dm755 $pkgdir/usr/{bin,share/{doc/timekpr,timekpr,python-support/timekpr,pixmaps,applications,man/man8}} - install -dm755 $pkgdir/usr/share/locale/{da,de,fr,hu,nb,sv,fi}/LC_MESSAGES - install -dm755 $pkgdir/var/lib/timekpr - - cd $srcdir/stable - install -m644 etc/timekpr.conf $pkgdir/etc/ - install -m644 etc/logrotate.d/timekpr $pkgdir/etc/logrotate.d/ - sed -i "s/python/python2/" timekpr - install -m755 timekpr $pkgdir/usr/bin/ - sed -i "s/python/python2/" timekpr-gui - install -m755 timekpr-gui $pkgdir/usr/bin/ - sed -i "s/python/python2/" timekpr-client - install -m755 timekpr-client $pkgdir/usr/bin/ - install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekpr.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekpr-gui.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 gui/client/timekpr-client.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekprcommon.py $pkgdir/usr/share/python-support/timekpr/ - install -m644 gui/padlock-green.png $pkgdir/usr/share/timekpr/ - install -m644 gui/padlock-red.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr.glade $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr100x100.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr32x32.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr.xpm $pkgdir/usr/share/pixmaps/ - install -m644 debian/timekpr.desktop $pkgdir/usr/share/applications/ - install -m644 debian/timekpr-client.desktop $pkgdir/etc/xdg/autostart - install -m644 locale/da/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/da/LC_MESSAGES/ - install -m644 locale/de/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/de/LC_MESSAGES/ - install -m644 locale/fr/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fr/LC_MESSAGES/ - install -m644 locale/hu/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/hu/LC_MESSAGES/ - install -m644 locale/nb/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/nb/LC_MESSAGES/ - install -m644 locale/sv/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/sv/LC_MESSAGES/ - install -m644 locale/fi/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fi/LC_MESSAGES/ - install -m644 TODO.txt $pkgdir/usr/share/doc/timekpr - install -m644 README.txt $pkgdir/usr/share/doc/timekpr - install -m644 COPYRIGHT.txt $pkgdir/usr/share/doc/timekpr - install -m644 CONTRIBUTORS.txt $pkgdir/usr/share/doc/timekpr - install -m644 debian/changelog $pkgdir/usr/share/doc/timekpr - install -m644 doc/timekpr.8 $pkgdir/usr/share/man/man8 - - install -m755 debian/timekpr.postrm $pkgdir/usr/bin/ - install -m755 debian/timekpr.postinst $pkgdir/usr/bin/ - - cd $srcdir - install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd -} diff --git a/~emulatorman/timekpr/timekpr.install b/~emulatorman/timekpr/timekpr.install deleted file mode 100644 index b01769c48..000000000 --- a/~emulatorman/timekpr/timekpr.install +++ /dev/null @@ -1,24 +0,0 @@ - -post_install() { - /usr/bin/timekpr.postinst - - echo "Your su command (gksu|gksudo|kdesu|kdesudo etc) for starting timekpr-gui as root: " - read su_command; - sed -i "s/gksu/${su_command}/" "/usr/share/applications/timekpr.desktop" - - echo - echo "Start the timekpr daemon with '/etc/rc.d/timekprd start'" - echo "For permanent use put 'timekprd' into your DAEMONS array." -} - -post_upgrade() { - post_install -} - -pre_remove() { - /usr/bin/timekpr.postrm purge -} - -post_remove() { - echo "Remove the timekprd entry from your DAEMONS array." -} diff --git a/~emulatorman/timekpr/timekprd.sh b/~emulatorman/timekpr/timekprd.sh deleted file mode 100755 index 19e4a3af4..000000000 --- a/~emulatorman/timekpr/timekprd.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -x -o %PPID /etc/rc.d/timekprd` -case "$1" in - start) - stat_busy "Starting timekpr" - [ -z "$PID" ] && /usr/bin/timekpr & - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon timekprd - stat_done - fi - ;; - stop) - stat_busy "Stopping timekpr" - [ ! -z "$PID" ] && killall --user root timekpr &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon timekprd - stat_done - fi - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 -- cgit v1.2.3 From 984519b53d8ed46486460f632fbcf52c39ee6b57 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Feb 2013 16:23:26 -0200 Subject: timekpr-0.3.2-9: updating revision * Add timekpr.service for systemd --- pcr/timekpr/PKGBUILD | 7 ++++++- pcr/timekpr/timekpr.service | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 pcr/timekpr/timekpr.service (limited to 'pcr') diff --git a/pcr/timekpr/PKGBUILD b/pcr/timekpr/PKGBUILD index 2196dd275..4d2af3bfd 100644 --- a/pcr/timekpr/PKGBUILD +++ b/pcr/timekpr/PKGBUILD @@ -2,7 +2,7 @@ pkgname=timekpr pkgver=0.3.2 -pkgrel=8 +pkgrel=9 pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." arch=('i686' 'x86_64') url=https://launchpad.net/timekpr @@ -10,10 +10,13 @@ license=('GPL') depends=('python2') source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz timekprd.sh + timekpr.service Initializes_lastNotified_before_it_is_used.patch) +backup=('etc/timekpr.conf') install='timekpr.install' md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' 'ab37e469034200c19b46a31d586bfe3e' + '9e88ee02b5b8cb6b5e0730e3847c4217' '23848ef2578571d7dc4871fbd15f41ed') @@ -71,4 +74,6 @@ package() { cd $srcdir install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd + + install -Dm0644 "${srcdir}/timekpr.service" "${pkgdir}/usr/lib/systemd/system/timekpr.service" } diff --git a/pcr/timekpr/timekpr.service b/pcr/timekpr/timekpr.service new file mode 100644 index 000000000..b3ea6e211 --- /dev/null +++ b/pcr/timekpr/timekpr.service @@ -0,0 +1,9 @@ +[Unit] +Description=Keep control of computer usage +After=syslog.target systemd-user-sessions.service + +[Service] +ExecStart=/usr/bin/timekpr + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3 From e40a95d57c0fd2fb84dc1d63b79220683c053120 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 11 Feb 2013 14:27:39 -0500 Subject: Adding package gnun --- pcr/gnun/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/gnun/PKGBUILD (limited to 'pcr') diff --git a/pcr/gnun/PKGBUILD b/pcr/gnun/PKGBUILD new file mode 100644 index 000000000..2f1cbf40f --- /dev/null +++ b/pcr/gnun/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolás Reynolds +# + +pkgname=gnun +pkgver=0.4 +pkgrel=2 +arch=('any') +license=('GPL3') +pkgdesc="Build system for gnu.org translations" +url="http://www.gnu.org/software/gnun/" +depends=('guile' 'po4a' 'libxml2') +makedepends=('heirloom-mailx' 'cvs' 'svn') +optdepends=('cvs: for CVS support' + 'subversion: for Subversion support') +source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('3baf8a16cc017e6335e65975c7223ac8' + '9bd1bada0b07154cf3e1c1cf937194e7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --libexecdir=/usr/lib + + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install install-info +} -- cgit v1.2.3 From e8b14a6bbb147d5115fd59bd44b1c967211fdcbe Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 11 Feb 2013 16:12:41 -0500 Subject: Adding package recutils --- pcr/recutils/ChangeLog | 36 ++++++++++++++++++++++++ pcr/recutils/PKGBUILD | 44 ++++++++++++++++++++++++++++++ pcr/recutils/recutils-1.5-glibc-2.16.patch | 29 ++++++++++++++++++++ pcr/recutils/recutils.install | 36 ++++++++++++++++++++++++ 4 files changed, 145 insertions(+) create mode 100644 pcr/recutils/ChangeLog create mode 100644 pcr/recutils/PKGBUILD create mode 100644 pcr/recutils/recutils-1.5-glibc-2.16.patch create mode 100644 pcr/recutils/recutils.install (limited to 'pcr') diff --git a/pcr/recutils/ChangeLog b/pcr/recutils/ChangeLog new file mode 100644 index 000000000..02a3a418d --- /dev/null +++ b/pcr/recutils/ChangeLog @@ -0,0 +1,36 @@ +recutils (1.5-1) + + * New upstream release + - Version 1.5 (13 January 2012) + - The utilities will now ask interactively for a password + if it was not provided with the -s command line option. + This avoids security problems related to shell history files. + - Support for octal and hexadecimal numbers has been added. + They can be used in both the records and selection expressions. + - It is now possible to select a given number of random records + in many of the utilities using the -m command line option. + - The -n option now accepts a list of indexes, supporting ranges. + - The new -U (uniq) option for recsel removes duplicated fields + in the output records. + - The new -q option allows to quickly search for the desired record + without having to provide a complete selection expression. + - Auto generated fields are now considered integers by default. + This avoids repetitive patterns involving %auto and %type. + - Tab characters are now allowed in blank lines betwwen records. + - The API in rec.h is now better documented with comments, and improved. + - recfix now exits with an error status + if there is a parse error in some input file. + - The usage of the internal data structures has been _vastly_ improved, + resulting in a much faster operation. + - Internal cleanup and code factorization. + - Many, many, many bug fixes :D + * PKGBUILD + - commenting out "makedepends=(mdbtools)" for now + because the current "mdbtools" package from the AUR + is missing 'MDB_NOFLAGS' in the "mdbtools.h" file. + - all other dependencies to compile and run recutils + are already satisfied through the 'base' group. + * Added some examples + + -- Sven Wick Fri, 20 Jan 2012 16:04:02 +0100 + diff --git a/pcr/recutils/PKGBUILD b/pcr/recutils/PKGBUILD new file mode 100644 index 000000000..ddf47243a --- /dev/null +++ b/pcr/recutils/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Max Meyer +# Contributor: Sven Wick +# +# Please fork and send me a pull request for changes to package build file(s) +# Url: https://github.com/maxmeyer/archlinux-recutils +# + +pkgname=recutils +pkgver=1.5 +pkgrel=2 +pkgdesc="GNU tools and libraries to access human-editable, text-based databases." +arch=(i686 x86_64 mips64el) +url="http://www.gnu.org/software/recutils/" +license=('GPL3') +depends=(libgcrypt curl) +optdepends=("mdbtools: for processing M$ Access databases") +#options=() +install=recutils.install +changelog=ChangeLog +source=("http://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz" + "recutils-1.5-glibc-2.16.patch") +sha256sums=('7ed67e74468084f52ad9341e4b11c44e5fd9d5325b93b7eb2cb230c839ff5dec' + '28c169df3573748215a78b78793d45a09aeefc6194cf1185c7c0f11881eb289a') +options=(!libtool) + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i ${srcdir}/recutils-1.5-glibc-2.16.patch + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/recutils/recutils-1.5-glibc-2.16.patch b/pcr/recutils/recutils-1.5-glibc-2.16.patch new file mode 100644 index 000000000..8b4997f09 --- /dev/null +++ b/pcr/recutils/recutils-1.5-glibc-2.16.patch @@ -0,0 +1,29 @@ +--- recutils-1.5/lib/stdio.in.h ++++ recutils-1.5/lib/stdio.in.h +@@ -699,22 +699,11 @@ + # endif + #endif + +-#if @GNULIB_GETS@ +-# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef gets +-# define gets rpl_gets +-# endif +-_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1))); +-_GL_CXXALIAS_RPL (gets, char *, (char *s)); +-# else +-_GL_CXXALIAS_SYS (gets, char *, (char *s)); +-# undef gets +-# endif +-_GL_CXXALIASWARN (gets); + /* It is very rare that the developer ever has full control of stdin, +- so any use of gets warrants an unconditional warning. Assume it is +- always declared, since it is required by C89. */ ++ so any use of gets warrants an unconditional warning; besides, C11 ++ removed it. */ ++#undef gets ++#if HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif + diff --git a/pcr/recutils/recutils.install b/pcr/recutils/recutils.install new file mode 100644 index 000000000..245c7ae01 --- /dev/null +++ b/pcr/recutils/recutils.install @@ -0,0 +1,36 @@ +_infodir=/usr/share/info +_infofiles=( recutils.info.gz ) + +_mandir=/usr/share/man/man1 +_manfiles=( csv2rec.1.gz rec2csv.1.gz recdel.1.gz recfix.1.gz recfmt.1.gz recinf.1.gz recins.1.gz recsel.1.gz recset.1.gz) + +## arg 1: the new package version +post_install() { + [ -x /usr/bin/mandb ] || return 0 + for _file in ${_manfiles[@]}; do + mandb -f $_mandir/$_file + done + + [ -x /usr/bin/install-info ] || return 0 + for _file in ${_infofiles[@]}; do + install-info $_infodir/$_file $_infodir/dir #2> /dev/null + done +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x /usr/bin/mandb ] || return 0 + mandb + + [ -x /usr/bin/install-info ] || return 0 + for _file in ${_infofiles[@]}; do + install-info --delete $_infodir/$_file $_infodir/dir #2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 43d35bc1871d85dd4b236b9b7160a61b1d7b573a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 11 Feb 2013 16:55:16 -0500 Subject: Adding idjc, jack-rack and libshout-idjc in pcr --- pcr/idjc/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ pcr/idjc/idjc.install | 11 +++++++++++ pcr/idjc/idjc_0.8.4_configure.patch | 12 ++++++++++++ pcr/jack-rack/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ pcr/libshout-idjc/PKGBUILD | 25 +++++++++++++++++++++++++ 5 files changed, 117 insertions(+) create mode 100644 pcr/idjc/PKGBUILD create mode 100644 pcr/idjc/idjc.install create mode 100644 pcr/idjc/idjc_0.8.4_configure.patch create mode 100644 pcr/jack-rack/PKGBUILD create mode 100644 pcr/libshout-idjc/PKGBUILD (limited to 'pcr') diff --git a/pcr/idjc/PKGBUILD b/pcr/idjc/PKGBUILD new file mode 100644 index 000000000..0de01f4e3 --- /dev/null +++ b/pcr/idjc/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Tobias Luther +# Contributor: GraveDigger +# Contributor: Gaetan Bisson + +pkgname=idjc +pkgver=0.8.8 +pkgrel=1 +pkgdesc='Powerful yet easy-to-use source-client for individuals interested in streaming live radio shows over the Internet' +url='http://idjc.sourceforge.net/' +license=('GPL2') +arch=('i686' 'x86_64') +#depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'speex' 'dbus-python' 'imagemagick' 'twolame' 'libshout-idjc-git' 'mpg123') +depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg' 'flac' 'speex' 'libshout-idjc') +optdepends=('patchage' 'qjackctl') +makedepends=('pkgconfig') +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('a14ce4cc8c789fce55c7b98081743a4a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr PYTHON="/usr/bin/python2" --disable-libav + + make PYTHON="/usr/bin/python2" + +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" PYTHON="/usr/bin/python2" install + + sed -i 's|#! /usr/bin/python22.7|#! /usr/bin/python2|' ${pkgdir}/usr/bin/idjc +} diff --git a/pcr/idjc/idjc.install b/pcr/idjc/idjc.install new file mode 100644 index 000000000..9834cb7dd --- /dev/null +++ b/pcr/idjc/idjc.install @@ -0,0 +1,11 @@ +post_upgrade() { + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} diff --git a/pcr/idjc/idjc_0.8.4_configure.patch b/pcr/idjc/idjc_0.8.4_configure.patch new file mode 100644 index 000000000..9f1b3c5f0 --- /dev/null +++ b/pcr/idjc/idjc_0.8.4_configure.patch @@ -0,0 +1,12 @@ +diff -Naur idjc-0.8.4/configure idjc-0.8.4.new/configure +--- idjc-0.8.4/configure 2010-10-07 15:00:07.000000000 +0200 ++++ idjc-0.8.4.new/configure 2010-10-20 19:30:48.000000000 +0200 +@@ -5349,7 +5349,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mutagen" >&5 + $as_echo_n "checking for mutagen... " >&6; } +-python -c "import mutagen" &>/dev/null ++$PYTHON -c "import mutagen" &>/dev/null + if test $? -ne 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } diff --git a/pcr/jack-rack/PKGBUILD b/pcr/jack-rack/PKGBUILD new file mode 100644 index 000000000..26330bb2b --- /dev/null +++ b/pcr/jack-rack/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: DonVla +# Contributor: Patrick Leslie Polzer +# Contributor: Berkus +# Contributor: Daniele Paolella +pkgname=jack-rack +pkgver=1.4.7 +pkgrel=4 +pkgdesc="Effects rack for JACK" +url="http://jack-rack.sourceforge.net" +arch=('i686' 'x86_64') +license=('GPL') +depends=('jack' 'gtk2' 'libxml2' 'ladspa') +optdepends=('lash: LASH support' + 'raptor1: LRDF support' + 'liblrdf: LRDF support' + 'python2: ecarack') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) + +md5sums=('a29ef4001ee2916a1b758952c936adca') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr --enable-lash --disable-gnome + make LDFLAGS='-ldl -lm' +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install + sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' "${pkgdir}/usr/bin/ecarack" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/libshout-idjc/PKGBUILD b/pcr/libshout-idjc/PKGBUILD new file mode 100644 index 000000000..51578c420 --- /dev/null +++ b/pcr/libshout-idjc/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: fauno, based on the git version from +# Mantainer: M0Rf30 +pkgname=libshout-idjc +pkgver=2.3.0 +pkgrel=1 +pkgdesc="Libshout-idjc is libshout plus some extensions for IDJC." +arch=(i686 x86_64) +url="http://idjc.sourceforge.net/" +depends=('libvorbis' 'libtheora' 'speex') +options=('!libtool' '!emptydirs') +source=("http://downloads.sourceforge.net/project/idjc/${pkgname}/${pkgname}-${pkgver}.tar.gz") +license=('LGPL') +md5sums=('1b92ee05f42a957169a74a911cd94afc') + +build() { + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make LDFLAGS+=-lspeex +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="${pkgdir}" install +} + -- cgit v1.2.3 From 5bd15656af43bd3ded1f2b50cf6c2743e4618cac Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 12 Feb 2013 18:57:15 -0200 Subject: multiwatch: adding new package on [kernels] repo --- pcr/multiwatch/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/multiwatch/PKGBUILD (limited to 'pcr') diff --git a/pcr/multiwatch/PKGBUILD b/pcr/multiwatch/PKGBUILD new file mode 100644 index 000000000..2cf0bcc68 --- /dev/null +++ b/pcr/multiwatch/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Paul Dann +pkgname=multiwatch +pkgver='1.0.0' +pkgrel=1 +pkgdesc='Forks and watches multiple instances of a program in the same context' +arch=('i686' 'x86_64') +url="http://redmine.lighttpd.net/projects/multiwatch/wiki" +license=('MIT') +depends=('libev') +makedepends=('cmake') +source=("http://download.lighttpd.net/multiwatch/releases-1.x/multiwatch-$pkgver.tar.bz2") +md5sums=('87f74dbaf5318f2b2dce3d0bf9f5025c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + rm -rf build + mkdir build + cd build + cmake .. + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + install -Dm 755 multiwatch $pkgdir/usr/bin/multiwatch +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 30275df2071b48ef4c3d1a23039b4136c2359771 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 12 Feb 2013 21:50:11 -0500 Subject: Adding package uci to pcr --- pcr/uci/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ pcr/uci/uci-0.8.0-lua5.1.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 pcr/uci/PKGBUILD create mode 100644 pcr/uci/uci-0.8.0-lua5.1.patch (limited to 'pcr') diff --git a/pcr/uci/PKGBUILD b/pcr/uci/PKGBUILD new file mode 100644 index 000000000..41541fa07 --- /dev/null +++ b/pcr/uci/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Nicolás Reynolds +pkgname=uci +pkgver=0.8.0 +pkgrel=2 +pkgdesc="OpenWRT's Unified Configuration Interface" +arch=('i686' 'x86_64' 'mips64el') +url="https://openwrt.org" +license=('GPL2') +makedepends=('git' 'cmake' 'lua51') +source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz + uci-0.8.0-lua5.1.patch) +md5sums=('135bf6c4188b72c7fd7954f592b1e4e4' + '2c8f4d59b2b7adb990dcaa07e0ed484c') + +# source PKGBUILD; mksource +mksource() { + + if [ -d uci/.git ]; then + pushd uci; git pull; popd + else + git clone git://nbd.name/uci.git + fi + + cd uci/ + git archive --prefix=${pkgname}-${pkgver}/ v${pkgver} | \ + gzip -9 > ../${pkgname}-${pkgver}.tar.gz + cd .. +} + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/uci-0.8.0-lua5.1.patch + cmake . + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir}/ install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/uci/uci-0.8.0-lua5.1.patch b/pcr/uci/uci-0.8.0-lua5.1.patch new file mode 100644 index 000000000..d3e486f87 --- /dev/null +++ b/pcr/uci/uci-0.8.0-lua5.1.patch @@ -0,0 +1,31 @@ +--- uci-0.8.0.orig/lua/CMakeLists.txt 2011-07-19 15:39:56.000000000 -0500 ++++ uci-0.8.0/lua/CMakeLists.txt 2013-02-12 21:16:02.583984374 -0500 +@@ -4,7 +4,18 @@ + + SET(CMAKE_INSTALL_PREFIX /) + +-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..) ++IF(NOT LUA_CFLAGS) ++ FIND_PROGRAM(PKG_CONFIG pkg-config) ++ IF(PKG_CONFIG) ++ EXECUTE_PROCESS( ++ COMMAND pkg-config --silence-errors --cflags lua5.1 ++ OUTPUT_VARIABLE LUA_CFLAGS ++ OUTPUT_STRIP_TRAILING_WHITESPACE ++ ) ++ ENDIF() ++ENDIF() ++ ++ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I.. ${LUA_CFLAGS}) + LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) + + IF(APPLE) +@@ -13,7 +24,7 @@ + + IF(NOT LUAPATH) + EXECUTE_PROCESS( +- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" ++ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end" + OUTPUT_VARIABLE LUAPATH + RESULT_VARIABLE LUA_CHECK_RES + OUTPUT_STRIP_TRAILING_WHITESPACE -- cgit v1.2.3 From b03a7f3a39c200dd7a3879e2cfc6fa3c9664ca72 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 12 Feb 2013 23:24:03 -0500 Subject: Adding python2-polib, python2-relatorio and trytond --- pcr/python2-polib/PKGBUILD | 25 ++++++++++++++++++++ pcr/python2-relatorio/PKGBUILD | 21 +++++++++++++++++ pcr/trytond/PKGBUILD | 31 +++++++++++++++++++++++++ pcr/trytond/trytond.install | 20 ++++++++++++++++ pcr/trytond/trytond.rc | 52 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+) create mode 100644 pcr/python2-polib/PKGBUILD create mode 100644 pcr/python2-relatorio/PKGBUILD create mode 100644 pcr/trytond/PKGBUILD create mode 100644 pcr/trytond/trytond.install create mode 100644 pcr/trytond/trytond.rc (limited to 'pcr') diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD new file mode 100644 index 000000000..206bd9b4f --- /dev/null +++ b/pcr/python2-polib/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Esteban V. Carnevale + +pkgname=python2-polib +_pkgname='polib' +pkgver=0.7.0 +pkgrel=2 +pkgdesc='A library to manipulate gettext files' +url='http://polib.readthedocs.org/en/latest/index.html' +arch=('any') +license=('MIT') +depends=('python2') + +source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz") +md5sums=('958f8f81ade7d2484edc25b3989fe247') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD new file mode 100644 index 000000000..497a50920 --- /dev/null +++ b/pcr/python2-relatorio/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Florian Walch +# Maintainer: Thomas Bahn +pkgname=python2-relatorio +pkgver=0.5.6 +pkgrel=2 +pkgdesc="A templating library able to output odt and pdf files" +arch=('i686' 'x86_64' 'mips64el') +url="http://relatorio.openhex.org" +license=('GPL') +depends=('python2-genshi>=0.5' 'python2-lxml>=1.3.6') +makedepends=('python2-distribute') +source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz") + +build() { + cd $srcdir/relatorio-$pkgver + chmod 644 relatorio.egg-info/* + python2 setup.py install --root=$pkgdir +} + + +md5sums=('944fb60fadaff451ab6ee8818de516ad') diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD new file mode 100644 index 000000000..bae5d2f4e --- /dev/null +++ b/pcr/trytond/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Robin Baumgartner +pkgname=trytond +pkgver=2.4.0 +_pkgdir=2.4 +pkgrel=2 +pkgdesc="A three-tiers high-level general purpose application platform (server application)" +arch=('any') +url="http://www.tryton.org/" +license=('GPL3') +depends=('python2>=2.4' 'python2-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5' +'python2-polib') +optdepends=('python2-psycopg2: support for PostgreSQL database' + 'python2-pywebdav: support for WebDAV feature' + 'pydot: support for displaying workflow graphs' + 'python2-pytz: timezone support' + 'python2-pyopenssl: support for SSL connection') +makedepends=('python2-distribute') +install="trytond.install" +source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" + 'trytond.install' + 'trytond.rc') +md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4' + '768e68c01cb5913e36ea89c67fc98038' + '3ca6aff9b30a52bcf159be7ca630fb6e') + +build() { + cd $srcdir/$pkgname-$pkgver + python2 setup.py install --root=$pkgdir + install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf + install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond +} diff --git a/pcr/trytond/trytond.install b/pcr/trytond/trytond.install new file mode 100644 index 000000000..46d6daaba --- /dev/null +++ b/pcr/trytond/trytond.install @@ -0,0 +1,20 @@ +post_install() { + echo + echo "Adding tryton group... " + groupadd tryton + echo + echo "Adding tryton user... " + useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton + + echo "Note:" + echo "==> Please don't forget to configure your PostgreSQL database for the program." +} + +post_remove() { + echo "Removing tryton system user... " + userdel tryton && echo "trytond [done]" +} + +op=$1 +shift +[ "$(type -t "$op")" = "function" ] && $op "$@" diff --git a/pcr/trytond/trytond.rc b/pcr/trytond/trytond.rc new file mode 100644 index 000000000..a93172a58 --- /dev/null +++ b/pcr/trytond/trytond.rc @@ -0,0 +1,52 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond` +case "$1" in + start) + stat_busy "Starting Tryton server" + # handling log file + if [ ! -e /var/log/trytond/trytond.log ]; then + mkdir -p /var/log/trytond + touch /var/log/trytond/trytond.log + chown -R trytond:trytond /var/log/trytond + fi + # starting the daemon + if [ -z "$PID" ]; then + su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \ + --logfile=/var/log/trytond/trytond.log &> /dev/null &" + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon trytond + stat_done + fi + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping Tryton server" + if [ ! -z "$PID" ]; then + if [ $? -gt 0 ]; then + stat_fail + else + kill $PID &> /dev/null & + rm_daemon trytond + stat_done + fi + else + stat_fail + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 -- cgit v1.2.3 From c7c97acfa81072f1a9f05a67b2408afd4a15b9a7 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 14:59:19 -0200 Subject: pmount-0.9.23-7: updating revision --- pcr/pmount/PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/pmount/PKGBUILD b/pcr/pmount/PKGBUILD index a35dc01c8..46c2b0358 100644 --- a/pcr/pmount/PKGBUILD +++ b/pcr/pmount/PKGBUILD @@ -3,9 +3,9 @@ pkgname=pmount pkgver=0.9.23 -pkgrel=5 +pkgrel=7 pkgdesc="mount removable devices as normal user" -arch=(i686 x86_64) +arch=(i686 x86_64 mips64el) license=('GPL2') url="http://pmount.alioth.debian.org/" backup=('etc/pmount.allow') @@ -13,10 +13,15 @@ depends=('sysfsutils>=2.0.0-1' 'util-linux') makedepends=('intltool') source=( https://alioth.debian.org/frs/download.php/3310/${pkgname}-${pkgver}.tar.bz2 - 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount') + 'http://anonscm.debian.org/gitweb/?p=pmount/pmount-debian.git;a=blob_plain;f=debian/completion/pmount' + https://alioth.debian.org/tracker/download.php/31157/412979/313576/4753/fix-pmount-segfault.diff +) build() { + export CFLAGS="${CFLAGS} -fPIE -pie" + export CXXFLAGS="${CXXFLAGS} -fPIE -pie" cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/fix-pmount-segfault.diff ./configure --prefix=/usr --disable-hal \ --with-cryptsetup-prog=/usr/sbin/cryptsetup make @@ -26,6 +31,8 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 ${srcdir}/pmount ${pkgdir}/usr/share/bash-completion/completions/pmount + mkdir -p ${pkgdir}/media } md5sums=('db19f5bf3151b1b41705ec7bafa439d3' - '224f24127f8ab3605de8b9bcb433882f') + '224f24127f8ab3605de8b9bcb433882f' + '5b223bce1fb262bbb98c541725f5e985') -- cgit v1.2.3 From 50367f7542de9a8540e4759050a1581ffbae8576 Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 18:25:20 +0100 Subject: Remove bsnes because it change name --- pcr/bsnes/PKGBUILD | 77 -------- pcr/bsnes/bsnes.changelog | 487 ---------------------------------------------- pcr/bsnes/bsnes.install | 18 -- 3 files changed, 582 deletions(-) delete mode 100644 pcr/bsnes/PKGBUILD delete mode 100644 pcr/bsnes/bsnes.changelog delete mode 100644 pcr/bsnes/bsnes.install (limited to 'pcr') diff --git a/pcr/bsnes/PKGBUILD b/pcr/bsnes/PKGBUILD deleted file mode 100644 index 04c61bc30..000000000 --- a/pcr/bsnes/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Contributor: [vEX] - -# Split-package support hack for AUR. -pkgname='bsnes' - -true && pkgbase='bsnes' -true && pkgname=('bsnes' 'bsnes-purify') -pkgver=090 -pkgrel=2 -pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.' -arch=('i686' 'x86_64') -url='http://byuu.org/bsnes/' -license=('GPL3') -depends=('libao' 'libgl' 'libxv' 'openal' 'sdl' 'qt>=4.8.0') -makedepends=('pkgconfig' 'mesa') -install='bsnes.install' -changelog='bsnes.changelog' -source=('http://bsnes.googlecode.com/files/bsnes_v090-source.tar.xz') -md5sums=('c9642dae4255f5c6022b2217d64d3bc5') - -__base_path="${srcdir}/${pkgbase}_v${pkgver}-source" -# Build the accuracy profile (you can also choose 'performance' or 'compatibility'). -__profile='accuracy' - -build() { - cd "${__base_path}/${pkgname}" - - # Makefile hacks: - # Disable pulseaudio. - sed -e 's|audio.pulseaudio ||' \ - -e 's|audio.pulseaudiosimple ||' \ - -i 'target-ethos/Makefile' - # Don't copy the cheat file. - sed -e '/mkdir -p ~\/.config\/$(name)/{N;d}' \ - -e '/cp data\/cheats.xml/{N;d}' \ - -i 'target-ethos/Makefile' - # Don't use sudo - sed -e 's/sudo install/install/' \ - -i 'target-ethos/Makefile' - - # Fix building with QT >= 4.8.0. - moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - - # Compile bsnes. - make flags="$CXXFLAGS -I. -DPROFILE_${__profile^^}" compiler=gcc platform=x \ - profile=${__profile} phoenix=qt target=ethos - - # Compile purify. - cd "${__base_path}/purify" - moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp - sed -e 's|link := -s|link := -s -lX11|' -i 'Makefile' - make compiler=gcc platform=x phoenix=qt -} - -package_bsnes-purify() { - pkgver=01 - pkgdesc='ROM cleanup utility for bsnes.' - install='' - - cd "${__base_path}/purify" - install --directory "${pkgdir}/usr/bin" - install --mode=755 "${__base_path}/purify/purify" "${pkgdir}/usr/bin/${pkgbase}-purify" -} - -package_bsnes() { - pkgver=090 - pkgrel=2 - pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.' - url='http://byuu.org/bsnes/' - - cd "${__base_path}/${pkgname}" - make install profile=${__profile} DESTDIR="${pkgdir}" prefix=/usr - - # Install the user-profile into /usr/share/bsnes/profile. - install --directory "${pkgdir}/usr/share/${pkgname}/profile" - cp -R "${__base_path}/${pkgname}"/profile/* "${pkgdir}/usr/share/${pkgname}/profile" -} diff --git a/pcr/bsnes/bsnes.changelog b/pcr/bsnes/bsnes.changelog deleted file mode 100644 index 9328c9aee..000000000 --- a/pcr/bsnes/bsnes.changelog +++ /dev/null @@ -1,487 +0,0 @@ -2012-08-07 [vEX] - - * 090-2 : - Make sure to build bsnes purify with QT. - -2012-08-07 [vEX] - - * 090-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Remove patch as filter/shader support has been removed. - -2012-04-24 [vEX] - - * 088-1 : - New upstream release. - -2012-03-07 [vEX] - - * 087-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Update patch against the new source. - -2012-02-13 [vEX] - - * 086-1 : - New upstream release. - - * add-usr-share-fallback.patch : - Update patch against the new source. - -2012-01-02 [vEX] - - * 085-1 : - New upstream release. - -2011-12-28 [vEX] - - * 084-3 : - Enable custom CXXFLAGS by default. - Fix build with QT 4.8.0. - -2011-11-08 [vEX] - - * 084-2 : - Update to reflect the silently updated source tarball. - -2011-11-07 [vEX] - - * 084-1 : - New upstream release. - Fixed PKGBUILD changelog line to work with pacman 4.0 (thanks jpike). - -2011-10-14 [vEX] - - * 083-1 : - New upstream release. - Dropped the leading '0.' from the version number. - Compile and package filters/shaders. - Added commented block for compiling bsnes with the makepkg specified - flags (thanks MaMuS). - - * add-usr-share-fallback.patch : - Add fallback path to /usr/share/bsnes/ for finding filters/shaders - unless found in the bsnes basepath/userpath. - -2011-08-21 [vEX] - - * 0.082-1 : - New upstream release. - -2011-08-12 [vEX] - - * 0.081-1 : - New upstream release. - -2011-06-26 [vEX] - - * 0.080-1 : - New upstream release. - - * gcc_4.6.0_build_fix.patch : - Removed as it's no longer needed. - -2011-06-18 [vEX] - - * 0.079-2 : - Update sed command for preventing installation of cheats.xml to user - home directory - - * gcc_4.6.0_build_fix.patch : - Fix build errors with newest gcc 4.6.0 prerelease. - -2011-06-04 [vEX] - - * 0.079-1 : - New upstream release. - -2011-04-30 [vEX] - - * 0.078-1 : - New upstream release. - -2011-03-17 [vEX] - - * 0.077-1 : - New upstream release. - -2011-02-27 [vEX] - - * 0.076-2 : - Correct the sed expression that removes the lines that copies the - cheats.xml file. - -2011-02-25 [vEX] - - * 0.076-1 : - New upstream release. - -2011-02-13 [vEX] - - * 0.075-1 : - Build and package snespurify. - -2011-01-26 [vEX] - - * 0.075-1 : - New upstream release. - As the launcher for selecting profile is removed the PKGBUILD will now - build just the accuracy profile. Edit the PKGBUILD if you want to build - another profile. - -2011-01-11 [vEX] - - * 0.074-1 : - New upstream release. - Switched to the phoenix ui as the qt port is now dead. - -2010-12-25 [vEX] - - * 0.073-1 : - New upstream release. - snesreader/snesfilter removed. - -2010-10-23 [vEX] - - * 0.072-1 : - New upstream release. - -2010-10-22 [vEX] - - * 0.071-1 : - New upstream release. - -2010-09-26 [vEX] - - * 0.070-1 : - New upstream release. - -2010-09-25 [vEX] - - * 0.069-1 : - New upstream release. - -2010-09-05 [vEX] - - * 0.068-3 : - Added 'mesa' to makedepends to satisfy "GL/gl.h" dependency. - -2010-08-22 [vEX] - - * 0.068-2 : - Forgot to build the launcher. - -2010-08-21 [vEX] - - * 0.068-1 : - New upstream release. - - * gcc45_build_fix.patch: - Removed as it's not needed anymore. - -2010-08-02 [vEX] - - * 0.067-1 : - New upstream release. - - * gcc45_build_fix.patch : - Workaround a bug in GCC 4.5.x. - -2010-06-27 [vEX] - - * 0.065-1 : - New upstream release. - -2010-04-14 [vEX] - - * 0.064-1 : - New upstream release. - -2010-03-29 [vEX] - - * 0.063-2 : - New snesreader (snesreader_20100329.tar.bz2) that fixes libjma on 64-bit - systems. - -2010-03-28 [vEX] - - * 0.063-1 : - New upstream release. - -2010-02-08 [vEX] - - * 0.060-1 : - New upstream release. - Removed the optdepends list as they are now part of the same source - tarball and have been integrated into the PKGBUILD. You may remove those - plugins you don't want. - -2010-01-07 [vEX] - - * 0.059-1 : - New upstream release. - -2009-12-09 [vEX] - - * 0.058-1 : - New upstream release. - -2009-11-23 [vEX] - - * 0.057-1 : - New upstream release. - -2009-11-22 [vEX] - - * 0.056-1 : - New upstream release. - -2009-11-01 [vEX] - - * 0.055-1 : - New upstream release. - -2009-10-19 [vEX] - - * 0.054-1 : - New upstream release. - -2009-09-29 [vEX] - - * 0.052-1 : - New upstream release. - -2009-09-27 [vEX] - - * 0.051-1 : - New upstream release. - -2009-08-25 [vEX] - - * 0.050-1 : - New upstream release. - -2009-08-22 [vEX] - - * 0.049-1 : - New upstream release. - - * fix_black_lines.patch : - Removed as it's not needed anymore. - -2009-07-14 [vEX] - - * 0.048-2 : - Apply patch to fix "black lines" issue. - - * fix_black_lines.patch : - Fixes "Linux X-video driver shows a lot of black lines" as per the - bsnes v0.048 errata. - -2009-07-12 [vEX] - - * 0.048-1 : - New upstream release. - -2009-06-08 [vEX] - - * 0.047-2 : - Added 'pkgconfig' to makedepends. - -2009-06-07 [vEX] - - * 0.047-1 : - New upstream release. - -2009-05-10 [vEX] - - * 0.046-1 : - New upstream release. - Moved 'libxtst' to optdepends. - Updated the name of the license to be correct. - -2009-04-19 [vEX] - - * 0.045-1 : - New upstream release. - Added 'libxtst' to the dependency list. - -2009-03-31 [vEX] - - * 0.042-1 : - New upstream release. - -2009-03-15 [vEX] - - * 0.041-1 : - New upstream release. - -2009-03-09 [vEX] - - * 0.040-1 : - New upstream release. - Replaced 'gtk2' dependency with 'qt' as the GUI has been rewritten. - Replaced 'freealut' dependency with 'openal' which is more correct. - Removed 'inputproto' from dependency list as namcap says it's not needed - anymore. - - * bsnes.desktop: - Removed in favor of the one shipped with bsnes. - -2009-01-18 [vEX] - - * 0.039-1 : - New upstream release. - -2008-12-17 [vEX] - - * 0.038-1 : - New upstream release. - New audio driver for PulseAudio is disabled. - -2008-10-27 [vEX] - - * 0.037a-1 : - New upstream release. - -2008-09-18 [vEX] - - * 0.036-2 : - Adapted to the ChangeLog.proto provided by Pacman. - Added missing dependency 'inputproto' (thanks cr7). - -2008-09-16 [vEX] - - * 0.036-1 : - New upstream release. - -2008-08-24 [vEX] - - * 0.035-1 : - New upstream release. - Made PKGBUILD autodetect GCC version and if greater than 4.2.0 enable - the -mtune=native optimizations - -2008-08-13 [vEX] - - * 0.034-1 : - New upstream release. - -2008-07-29 [vEX] - - * 0.033-1 : - New upstream release. - -2008-06-01 [vEX] - - * 0.032a-1 : - New upstream release. - -2008-04-17 [vEX] - - * 0.031-1 : - New upstream release. - -2008-03-24 [vEX] - - * 0.030-1 : - New upstream release. - -2008-03-17 [vEX] - - * 0.029-1 : - New upstream release. - - * bsnes-icon.patch : - Removed as it's not needed anymore. - -2008-02-06 [vEX] - - * 0.028.01-1 : - New upstream release. - -2008-02-04 [vEX] - - * 0.028-1 : - New upstream release. - Frmo now on JMA support will be compiled in. - - * bsnes-icon.patch : - Added a patch to make bsnes window use the bsnes icon. - -2007-12-22 [vEX] - - * 0.027-1 : - New upstream release. - From now on GZIP/ZIP support will be compiled in. - JMA support is broken with the latest GCC. - - * bsnes-makefile.patch : - Removed patch since it has been merged upstream. - -2007-11-24 [vEX] - - * 0.026-1 : - New upstream release. - - * bsnes-makefile.patch : - Enables the use of custom install path instead of a fixed one, taken - from http://board.zsnes.com/phpBB2/viewtopic.php?p=155591#155591 (lots - of kudos to belegdol). - - * bsnes_.png : - Removed the extracted icons introduced in 0.023-3 as bsnes now ships - with an icon. - -2007-10-15 [vEX] - - * 0.025-1 : - New upstream release. - Correct the license array, the quotation marks shouldn't be where they - were. - - * bsnes_.png : - Decreased filesizes using OptiPNG/advpng (~25% total reduction). - -2007-10-01 [vEX] - - * 0.024-1 : - New upstream release. - -2007-09-29 [vEX] - - * 0.023-3 : - New upstream release. - Added an optional possibly speed increase option to the Makefile, as it - requires GCC >= 4.2.0 it's not enabled by default. - - * bsnes_.png : - Added icons for the .desktop-file (extracted from bsnes resources). - -2007-09-25 [vEX] - - * 0.023-2 : - Added a .desktop file - Small (PKGBUILD inline) patch to prevent the emulator idle stage consume - 100% CPU usage. - -2007-09-17 [vEX] - - * 0.023-1 : - New upstream release. - -2007-08-15 [vEX] - - * 0.022-2 : - Added 'nasm' to makedepens for 'i686' and moved 'yasm' to makedepends - for 'x86_64' only. - -2007-08-04 [vEX] - - * 0.022-1 : - New upstream release. - Added ChangeLog diff --git a/pcr/bsnes/bsnes.install b/pcr/bsnes/bsnes.install deleted file mode 100644 index 2e40f6bba..000000000 --- a/pcr/bsnes/bsnes.install +++ /dev/null @@ -1,18 +0,0 @@ -## arg 1: the new package version -post_install() { - post_upgrade -} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - echo 'As of 090 bsnes requires a new directory layout for the ROMs. You can' - echo 'use bsnes-purify to create it. You should also copy the ' - echo '/usr/share/bsnes/profile/ data into your ~/.config/bsnes/ folder unless' - echo 'you have already done so. It contains files that the emulator needs to' - echo 'function properly.' - - if [ "$(vercmp $2 090)" -lt 0 ]; then - echo 'The profile data changed with release 090, update your files.' - fi -} -- cgit v1.2.3 From 12d03d9b6dd31a4a0724286305ee6a950dd9633a Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 18:51:15 +0100 Subject: Exist mednafen --- pcr/mednafen-wip/PKGBUILD | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 pcr/mednafen-wip/PKGBUILD (limited to 'pcr') diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD deleted file mode 100644 index 167a806e2..000000000 --- a/pcr/mednafen-wip/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Hans-Kristian Arntzen -# Contributor: Angel 'angvp' Velasquez -# Contributor: kagan -# Maintainer (Parabola): Márcio Silva -# Maintainer (Parabola): André Silva - -pkgbase=mednafen -pkgname=mednafen-wip -pkgflag=wip -pkgver=0.9.28 -_pkgver=450 -pkgrel=1 -pkgdesc='A command-line multi-system gaming emulator, WIP version' -url="http://$pkgbase.sourceforge.net/" -license=GPL -arch=( - i686 - x86_64 - mips64el -) -depends=( - jack - 'libcdio>=0.83' - sdl-libre -) -optdepends=( - 'libgl: needed for opengl support' - 'glu: needed for opengl support' -) -makedepends=( - mesa - glu -) -provides=$pkgbase -conflicts=$pkgbase -source=$pkgbase-$pkgver-$pkgflag.tar.bz2::'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&' -sha1sums=6948b0f06d72f8056690d229581e94408d40c918 - -build() { - cd $srcdir/$pkgbase - setarch $CARCH ./configure --prefix=/usr - setarch $CARCH make -} - -package() { - cd $srcdir/$pkgbase - setarch $CARCH make DESTDIR=$pkgdir install -} -- cgit v1.2.3 From 95f573b1ef312568fd101511250475aa38e6270a Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 18:52:59 +0100 Subject: Exist in community --- pcr/wayland/PKGBUILD | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 pcr/wayland/PKGBUILD (limited to 'pcr') diff --git a/pcr/wayland/PKGBUILD b/pcr/wayland/PKGBUILD deleted file mode 100644 index a6f2566ec..000000000 --- a/pcr/wayland/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Márcio Silva - -pkgname=wayland -pkgver=0.95.0 -pkgrel=2 -pkgdesc='A modern display server.' -arch=( - i686 - x86_64 - mips64el -) -url=http://wayland.freedesktop.org -license=( - MIT -) -depends=( - expat - libffi -) -options=( - !libtool -) -conflicts=( - $pkgname-git -) -source=( - http://$pkgname.freedesktop.org/releases/$pkgname-$pkgver.tar.xz -) -sha1sums=( - 4a7e49256f3d4a61add3cf70d74f02abb5b243a2 -) - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/$pkgname - install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname -} -- cgit v1.2.3 From 5a31ee74fd54b7e49cc9f94b9513d0c80bf1efc8 Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 19:25:03 +0100 Subject: Add higan --- pcr/higan-gtk/PKGBUILD | 73 ++++++++++++++++++++++++++++++++++++++++++++ pcr/higan-gtk/higan | 13 ++++++++ pcr/higan-gtk/higan.desktop | 8 +++++ pcr/higan-gtk/purify.desktop | 8 +++++ 4 files changed, 102 insertions(+) create mode 100755 pcr/higan-gtk/PKGBUILD create mode 100755 pcr/higan-gtk/higan create mode 100755 pcr/higan-gtk/higan.desktop create mode 100755 pcr/higan-gtk/purify.desktop (limited to 'pcr') diff --git a/pcr/higan-gtk/PKGBUILD b/pcr/higan-gtk/PKGBUILD new file mode 100755 index 000000000..17d7469a6 --- /dev/null +++ b/pcr/higan-gtk/PKGBUILD @@ -0,0 +1,73 @@ +# Maintainer : Alucryd + +pkgname=higan-gtk +pkgver=092 +pkgrel=2 +pkgdesc="Nintendo multi-system emulator - GTK version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/higan/" +license=('GPL3') +depends=('xdialog' 'libpulse' 'libao' 'libgl' 'libxv' 'openal' 'sdl') +makedepends=('mesa') +optdepends=('beat: Delta patcher') +conflicts=('higan-qt') +source=("http://higan.googlecode.com/files/higan_v${pkgver}-source.tar.xz" "http://higan.googlecode.com/files/purify_v03-source.tar.xz" 'higan' 'higan.desktop' 'purify.desktop') +sha1sums=('a205005f118f6e138065af6e0d14ed990b8f1ce1' + '2aa16f492c879d2cc1d4ffa28f4729a5ed5bb1c3' + '931baedc3bbdd343d2decda72c13b7d0efdcba3c' + '55f4de0a65d6428840d013f9b003d88158c131c7' + '093643998a2fb676d795c316e35d49cf6293ce86') + +# Profiles (remove as needed) +_profiles="accuracy balanced performance" + +build() { +# Compile libananke + cd "${srcdir}"/purify_v03-source/ananke + make compiler=gcc platform=x phoenix=gtk + +# Compile purify + cd "${srcdir}"/purify_v03-source/purify + make compiler=gcc platform=x link='-s -lX11 -ldl -Wl,-export-dynamic' phoenix=gtk + +# Compile higan + cd "${srcdir}"/higan_v${pkgver}-source/higan + for _profile in ${_profiles} ; do + make compiler=gcc platform=x target=ethos phoenix=gtk profile=${_profile} + mv out/higan out/higan-${_profile} + make clean + done +} + +package() { +# Install common files + cd "${srcdir}"/higan_v${pkgver}-source + install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan}} + install -m 755 "${srcdir}"/higan "${pkgdir}"/usr/bin/higan + install -m 644 "${srcdir}"/higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop + install -m 644 higan/data/higan.png "${pkgdir}"/usr/share/pixmaps/higan.png + cp -dr --no-preserve=ownership higan/{profile/*,data/cheats.bml} "${pkgdir}"/usr/share/higan/ + cp -dr --no-preserve=ownership shaders "${pkgdir}/usr/share/higan/Video Shaders" + +# Fix some permissions + find "${pkgdir}"/usr/share/higan/ -type d -exec chmod 755 {} + + find "${pkgdir}"/usr/share/higan/ -type f -exec chmod 644 {} + + +# Install libananke + cd "${srcdir}"/purify_v03-source/ananke + install -m 644 libananke.so "${pkgdir}"/usr/lib/libananke.so.1 + ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so + +# Install purify + cd "${srcdir}"/purify_v03-source/purify + install -m 755 purify "${pkgdir}"/usr/bin/purify + install -m 644 "${srcdir}"/purify.desktop "${pkgdir}"/usr/share/applications/purify.desktop + +# Install higan + cd "${srcdir}"/higan_v${pkgver}-source/higan + for _profile in ${_profiles} ; do + install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile} + done +} + +# vim: ts=2 sw=2 et: diff --git a/pcr/higan-gtk/higan b/pcr/higan-gtk/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/pcr/higan-gtk/higan @@ -0,0 +1,13 @@ +#!/bin/sh + +# Shared folders workaround +cp -ru /usr/share/higan ~/.config/ + +# Check for profiles and prompt user with a GUI +[ -e /usr/bin/higan-accuracy ] && tag1=accuracy +[ -e /usr/bin/higan-balanced ] && tag2=balanced +[ -e /usr/bin/higan-performance ] && tag3=performance +profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)" + +# Launch selected profile +exec higan-$profile "$@" diff --git a/pcr/higan-gtk/higan.desktop b/pcr/higan-gtk/higan.desktop new file mode 100755 index 000000000..c9cd3c14b --- /dev/null +++ b/pcr/higan-gtk/higan.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=higan +Comment=Nintendo multi-system emulator +Exec=higan %u +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; diff --git a/pcr/higan-gtk/purify.desktop b/pcr/higan-gtk/purify.desktop new file mode 100755 index 000000000..354dc2849 --- /dev/null +++ b/pcr/higan-gtk/purify.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=purify +Comment=ROM purifier +Exec=/usr/bin/purify +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; -- cgit v1.2.3 From 592426342fe440467fe4f588b260d35bc507483a Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 19:48:57 +0100 Subject: Higan-qt --- pcr/higan-qt/PKGBUILD | 79 +++++++++++++++++++++++++++++++++++++++++++++ pcr/higan-qt/higan | 13 ++++++++ pcr/higan-qt/higan.desktop | 8 +++++ pcr/higan-qt/purify.desktop | 8 +++++ 4 files changed, 108 insertions(+) create mode 100755 pcr/higan-qt/PKGBUILD create mode 100755 pcr/higan-qt/higan create mode 100755 pcr/higan-qt/higan.desktop create mode 100755 pcr/higan-qt/purify.desktop (limited to 'pcr') diff --git a/pcr/higan-qt/PKGBUILD b/pcr/higan-qt/PKGBUILD new file mode 100755 index 000000000..42f7dd813 --- /dev/null +++ b/pcr/higan-qt/PKGBUILD @@ -0,0 +1,79 @@ +# Maintainer : Alucryd + +pkgname=higan-qt +pkgver=092 +pkgrel=2 +pkgdesc="Nintendo multi-system emulator - QT version" +arch=('i686' 'x86_64') +url="http://code.google.com/p/higan/" +license=('GPL3') +depends=('qt>=4.7.0' 'xdialog' 'libpulse' 'libao' 'libgl' 'libxv' 'openal' 'sdl') +makedepends=('mesa') +optdepends=('beat: Delta patcher') +conflicts=('higan-gtk') +source=("http://higan.googlecode.com/files/higan_v${pkgver}-source.tar.xz" "http://higan.googlecode.com/files/purify_v03-source.tar.xz" 'higan' 'higan.desktop' 'purify.desktop') +sha1sums=('a205005f118f6e138065af6e0d14ed990b8f1ce1' + '2aa16f492c879d2cc1d4ffa28f4729a5ed5bb1c3' + '931baedc3bbdd343d2decda72c13b7d0efdcba3c' + '55f4de0a65d6428840d013f9b003d88158c131c7' + '093643998a2fb676d795c316e35d49cf6293ce86') + +# Profiles (remove as needed) +_profiles="accuracy balanced performance" + +build() { +# QT 4.8.0 fix + cd "${srcdir}" + moc -i -Ipurify_v03-source/ananke/phoenix/qt/ -o purify_v03-source/ananke/phoenix/qt/platform.moc purify_v03-source/ananke/phoenix/qt/platform.moc.hpp + moc -i -Ipurify_v03-source/purify/phoenix/qt/ -o purify_v03-source/purify/phoenix/qt/platform.moc purify_v03-source/purify/phoenix/qt/platform.moc.hpp + moc -i -Ihigan_v${pkgver}-source/higan/phoenix/qt/ -o higan_v${pkgver}-source/higan/phoenix/qt/platform.moc higan_v${pkgver}-source/higan/phoenix/qt/platform.moc.hpp + +# Compile libananke + cd "${srcdir}"/purify_v03-source/ananke + make compiler=gcc platform=x phoenix=qt + +# Compile purify + cd "${srcdir}"/purify_v03-source/purify + make compiler=gcc platform=x link='-s -lX11 -ldl -Wl,-export-dynamic' phoenix=qt + +# Compile higan + cd "${srcdir}"/higan_v${pkgver}-source/higan + for _profile in ${_profiles} ; do + make compiler=gcc platform=x target=ethos phoenix=qt profile=${_profile} + mv out/higan out/higan-${_profile} + make clean + done +} + +package() { +# Install common files + cd "${srcdir}"/higan_v${pkgver}-source + install -dm 755 "${pkgdir}"/usr/{bin,lib,share/{applications,pixmaps,higan}} + install -m 755 "${srcdir}"/higan "${pkgdir}"/usr/bin/higan + install -m 644 "${srcdir}"/higan.desktop "${pkgdir}"/usr/share/applications/higan.desktop + install -m 644 higan/data/higan.png "${pkgdir}"/usr/share/pixmaps/higan.png + cp -dr --no-preserve=ownership higan/{profile/*,data/cheats.bml} "${pkgdir}"/usr/share/higan/ + cp -dr --no-preserve=ownership shaders "${pkgdir}/usr/share/higan/Video Shader"s + +# Fix some permissions + find "${pkgdir}"/usr/share/higan -type d -exec chmod 755 {} + + find "${pkgdir}"/usr/share/higan -type f -exec chmod 644 {} + + +# Install libananke + cd "${srcdir}"/purify_v03-source/ananke + install -m 644 libananke.so "${pkgdir}"/usr/lib/libananke.so.1 + ln -s /usr/lib/libananke.so.1 "${pkgdir}"/usr/lib/libananke.so + +# Install purify + cd "${srcdir}"/purify_v03-source/purify + install -m 755 purify "${pkgdir}"/usr/bin/purify + install -m 644 "${srcdir}"/purify.desktop "${pkgdir}"/usr/share/applications/purify.desktop + +# Install higan + cd "${srcdir}"/higan_v${pkgver}-source/higan + for _profile in ${_profiles} ; do + install -m 755 out/higan-${_profile} "${pkgdir}"/usr/bin/higan-${_profile} + done +} + +# vim: ts=2 sw=2 et: diff --git a/pcr/higan-qt/higan b/pcr/higan-qt/higan new file mode 100755 index 000000000..29fc0b7bb --- /dev/null +++ b/pcr/higan-qt/higan @@ -0,0 +1,13 @@ +#!/bin/sh + +# Shared folders workaround +cp -ru /usr/share/higan ~/.config/ + +# Check for profiles and prompt user with a GUI +[ -e /usr/bin/higan-accuracy ] && tag1=accuracy +[ -e /usr/bin/higan-balanced ] && tag2=balanced +[ -e /usr/bin/higan-performance ] && tag3=performance +profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)" + +# Launch selected profile +exec higan-$profile "$@" diff --git a/pcr/higan-qt/higan.desktop b/pcr/higan-qt/higan.desktop new file mode 100755 index 000000000..c9cd3c14b --- /dev/null +++ b/pcr/higan-qt/higan.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=higan +Comment=Nintendo multi-system emulator +Exec=higan %u +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; diff --git a/pcr/higan-qt/purify.desktop b/pcr/higan-qt/purify.desktop new file mode 100755 index 000000000..354dc2849 --- /dev/null +++ b/pcr/higan-qt/purify.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=purify +Comment=ROM purifier +Exec=/usr/bin/purify +Icon=higan +Terminal=false +Type=Application +Categories=Game;Emulator; -- cgit v1.2.3 From 3bfd68735da953cc1487ec8dd5b67ff77529d9ef Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 19:54:34 +0100 Subject: Delete yabause-svn --- pcr/yabause-svn/PKGBUILD | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 pcr/yabause-svn/PKGBUILD (limited to 'pcr') diff --git a/pcr/yabause-svn/PKGBUILD b/pcr/yabause-svn/PKGBUILD deleted file mode 100644 index e8996aa3a..000000000 --- a/pcr/yabause-svn/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -pkgname=yabause-svn -pkgver=3010 -pkgrel=1 -pkgdesc="A Sega Saturn emulator. (svn)" -arch=(i686 x86_64) -license=("GPL") -depends=(gtkglext sdl freeglut glu) -makedepends=(subversion mesa) -url="http://yabause.org/" -conflicts=(yabause yabause-qt yabause-qt-svn) -provides=(yabause) -_svntrunk="https://yabause.svn.sourceforge.net/svnroot/yabause/trunk" -_svnmod="yabause" - -build() { - cd "${srcdir}" - - if [ -d "${_svnmod}/.svn" ]; then - (cd "$_svnmod" && svn up -r $pkgver) - else - svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod - fi - - msg 'SVN checkout done or server timeout' - - rm -rf "${_svnmod}-build" - cp -r "$_svnmod" "${_svnmod}-build" - cd "${_svnmod}-build/yabause" - - ./autogen.sh - ./configure --prefix=/usr LIBS="-lm" - make -} - -package() { - cd "${srcdir}/${_svnmod}-build/yabause" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" -} -- cgit v1.2.3 From ebe7fbb2f37a501de828ecfa7f45f6f0b577450e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 16:04:45 -0200 Subject: xonotic-git-20120131-1: updating version --- pcr/xonotic-git/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/xonotic-git/PKGBUILD b/pcr/xonotic-git/PKGBUILD index 2a032cd4a..70d916535 100644 --- a/pcr/xonotic-git/PKGBUILD +++ b/pcr/xonotic-git/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Alexander Suhoverhov pkgname=xonotic-git -pkgver=20120718 +pkgver=20120131 pkgrel=1 pkgdesc="A free, fast-paced crossplatform first-person shooter" arch=('i686' 'x86_64') @@ -27,12 +27,12 @@ optdepends=( 'libtheora: recording in ogv' #'d0_blind_id-git: crypto libraries for player authentification' ) -provides=('xonotic' 'xonotic-data') -conflicts=('xonotic' 'xonotic-data') +provides=('xonotic') +conflicts=('xonotic') _gitroot="git://git.xonotic.org/xonotic/xonotic.git" _gitname="xonotic" -_releasename="git-AUR" +_releasename="git-PCR" _compression=5 # the jpeg and ogg variables can be modified, the function may also be skipped for raw data -- cgit v1.2.3 From 5d92d3eebd1835c8c3ff028880363a1b0564bb4a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 16:05:24 -0200 Subject: yabause-0.9.12-1: updating version --- pcr/yabause/PKGBUILD | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'pcr') diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD index 255dee266..0b80f72f9 100644 --- a/pcr/yabause/PKGBUILD +++ b/pcr/yabause/PKGBUILD @@ -1,26 +1,40 @@ -# Maintainer: Anton Shestakov +# Maintainer : Harley Laue +# Contributor: Hyacinthe Cartiaux +# Contributor: Anton Shestakov # Contributor: Tiago Camargo # Contributor: robb_force pkgname=yabause -pkgver=0.9.11.1 +pkgver=0.9.12 pkgrel=1 pkgdesc='A Sega Saturn emulator.' url='http://yabause.org/' license=('GPL') arch=('i686' 'x86_64') -depends=('gtkglext' 'sdl' 'freeglut' 'glu') -makedepends=('mesa') +makedepends=('cmake' 'mesa' 'glu') +depends=('sdl' 'qt' 'openal' 'freeglut') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('86c728fe3efda655a28c645714e4b8f4') +md5sums=('c7876c04489f8a1b59b3166598084cb8') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./autogen.sh - ./configure --prefix=/usr LIBS="-lm" + + [ -e build ] && rm -rf build + mkdir build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DYAB_PORTS=qt \ + -DYAB_MULTIBUILD=OFF \ + -DYAB_NETWORK=ON \ + -DYAB_OPTIMIZED_DMA=on \ + -DYAB_PERKEYNAME=ON \ + .. + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install } -- cgit v1.2.3 From 2da241898c61d817913e9cba201bcf9b6d8b873b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 16:05:54 -0200 Subject: yabause-git: adding new package to [pcr] repo --- pcr/yabause-git/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pcr/yabause-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD new file mode 100644 index 000000000..6f4d49d6c --- /dev/null +++ b/pcr/yabause-git/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Gustavo Alvarez +pkgname=yabause-git +pkgver=20130125 +pkgrel=1 +pkgdesc="A Sega Saturn emulator (GIT version)" +arch=('x86_64' 'i386') +url="http://yabause.org/" +license=('GPL') +conflicts=('yabause') +provides=('yabause') +depends=('mini18n-git' 'openal' 'sdl' 'freeglut') +makedepends=('git') + +#Enable QT or GTK +#_port=gtk +_port=qt + +[ "${_port}" = "qt" ] && depends+=('qt') +[ "${_port}" = "gtk" ] && depends+=('gtkglext') + +_gitroot="git://github.com/Guillaumito/yabause.git" +_gitname="yabause" + +build() { + cd "${srcdir}" + msg "Connecting to GIT server...." + + if [ -d "${_gitname}" ]; then + cd "${_gitname}" && git pull + msg "The local files are updated." + else + git clone --depth=1 "${_gitroot}" "${_gitname}" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "${srcdir}/${_gitname}-build" + cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" + cd "${srcdir}/${_gitname}-build/${_gitname}" + + LDFLAGS+=",-z,noexecstack" + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS="${_port}" -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON -DYAB_PERKEYNAME=ON + make +} + +package() { + cd "${srcdir}/${_gitname}-build/${_gitname}" + make DESTDIR="${pkgdir}/" install +} -- cgit v1.2.3 From 23f719d57b7c05ba9c96e3963923eb242a67bfe8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:17:08 -0200 Subject: yabause-git-20130125-1: fixing arquitecture --- pcr/yabause-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index 6f4d49d6c..0146533b3 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -3,7 +3,7 @@ pkgname=yabause-git pkgver=20130125 pkgrel=1 pkgdesc="A Sega Saturn emulator (GIT version)" -arch=('x86_64' 'i386') +arch=('x86_64' 'i686') url="http://yabause.org/" license=('GPL') conflicts=('yabause') -- cgit v1.2.3 From bd30f357b23085acd37c5833a1ef994f7a331f04 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:18:01 -0200 Subject: mini18n-git: adding new package to [pcr] repo --- pcr/mini18n-git/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pcr/mini18n-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD new file mode 100644 index 000000000..c5bd359e3 --- /dev/null +++ b/pcr/mini18n-git/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gustavo alvarez + +pkgname=mini18n-git +pkgver=20130125 +pkgrel=1 +pkgdesc="A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version)" +arch=('x86_64' 'i686') +url="http://wiki.yabause.org/index.php5?title=Mini18n" +license=('GPL') +makedepends=('git') +conficts=('mini18n') +provides=('mini18n') + +_gitroot="git://github.com/Guillaumito/yabause.git" +_gitname="mini18n" + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + if [ -d "${_gitname}" ]; then + cd "${_gitname}" && git pull origin + msg "The local files are updated." + else + git clone --depth=1 "${_gitroot}" "${_gitname}" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf "${srcdir}/${_gitname}-build" + cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" + cd "${srcdir}/${_gitname}-build/${_gitname}" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/${_gitname}-build/${_gitname}" + make DESTDIR="${pkgdir}/" install +} + -- cgit v1.2.3 From 8f66ece803a6eb3d478b90610eb8f2bc2999a0a4 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:22:53 -0200 Subject: mini18n-git: adding cmake on makedepends --- pcr/mini18n-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD index c5bd359e3..2f357075c 100644 --- a/pcr/mini18n-git/PKGBUILD +++ b/pcr/mini18n-git/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc="A a small and non-intrusive translation library designed for small memo arch=('x86_64' 'i686') url="http://wiki.yabause.org/index.php5?title=Mini18n" license=('GPL') -makedepends=('git') +makedepends=('git' 'cmake') conficts=('mini18n') provides=('mini18n') -- cgit v1.2.3 From f502f908c1caa02089c28257079895fbe63fba6a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:27:38 -0200 Subject: mini18n-git-20130213-1: updating version --- pcr/mini18n-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD index 2f357075c..c55db7b7d 100644 --- a/pcr/mini18n-git/PKGBUILD +++ b/pcr/mini18n-git/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Gustavo alvarez pkgname=mini18n-git -pkgver=20130125 +pkgver=20130213 pkgrel=1 pkgdesc="A a small and non-intrusive translation library designed for small memory and non-GNU systems. (GIT version)" arch=('x86_64' 'i686') -- cgit v1.2.3 From cafb56e065f42095b4a71cf4911003e55c56f592 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:38:14 -0200 Subject: yabause-git-20130213-1: updating version --- pcr/yabause-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index 0146533b3..bbd9feb2c 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Gustavo Alvarez pkgname=yabause-git -pkgver=20130125 +pkgver=20130213 pkgrel=1 pkgdesc="A Sega Saturn emulator (GIT version)" arch=('x86_64' 'i686') -- cgit v1.2.3 From aa2927bd16ce9523f142b470b90ff87c569a07a2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:45:53 -0200 Subject: yabause-git-20130213-1: adding cmake on makedepends --- pcr/yabause-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index bbd9feb2c..9c6094890 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -9,7 +9,7 @@ license=('GPL') conflicts=('yabause') provides=('yabause') depends=('mini18n-git' 'openal' 'sdl' 'freeglut') -makedepends=('git') +makedepends=('git' 'cmake') #Enable QT or GTK #_port=gtk -- cgit v1.2.3 From 0dfd5c7b96811934d690ef3084820e7abfc5e879 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 17:50:07 -0200 Subject: yabause-git-20130213-1: adding mesa and glu on makedepends --- pcr/yabause-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index 9c6094890..d2b351b36 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -9,7 +9,7 @@ license=('GPL') conflicts=('yabause') provides=('yabause') depends=('mini18n-git' 'openal' 'sdl' 'freeglut') -makedepends=('git' 'cmake') +makedepends=('git' 'cmake' 'mesa' 'glu') #Enable QT or GTK #_port=gtk -- cgit v1.2.3 From aa734c4a9ab1b3e10d8d942fe28118ea5329fe1c Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 13 Feb 2013 21:45:57 +0100 Subject: Update xonotic-git --- pcr/xonotic-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/xonotic-git/PKGBUILD b/pcr/xonotic-git/PKGBUILD index 70d916535..7075a33a8 100644 --- a/pcr/xonotic-git/PKGBUILD +++ b/pcr/xonotic-git/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Alexander Suhoverhov pkgname=xonotic-git -pkgver=20120131 +pkgver=20130213 pkgrel=1 pkgdesc="A free, fast-paced crossplatform first-person shooter" arch=('i686' 'x86_64') -- cgit v1.2.3 From 7e67cfd42b5e333fe2bb3086e2ad490129437176 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 22:39:07 -0200 Subject: gnuhealth-1.8.0-1: updating version and dependencies --- pcr/gnuhealth/PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++ pcr/trytond/PKGBUILD | 26 ++++++++++----------- pcr/trytond/trytond.rc | 52 ------------------------------------------ pcr/trytond/trytond.service | 10 ++++++++ social/gnuhealth/PKGBUILD | 46 ------------------------------------- social/trytond/PKGBUILD | 30 ------------------------ social/trytond/trytond.install | 20 ---------------- social/trytond/trytond.rc | 52 ------------------------------------------ 8 files changed, 69 insertions(+), 213 deletions(-) create mode 100644 pcr/gnuhealth/PKGBUILD delete mode 100644 pcr/trytond/trytond.rc create mode 100644 pcr/trytond/trytond.service delete mode 100644 social/gnuhealth/PKGBUILD delete mode 100644 social/trytond/PKGBUILD delete mode 100644 social/trytond/trytond.install delete mode 100644 social/trytond/trytond.rc (limited to 'pcr') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD new file mode 100644 index 000000000..10d059d4a --- /dev/null +++ b/pcr/gnuhealth/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: SpepS +# Maintainer (Parabola): André Silva + +pkgname=gnuhealth +pkgver=1.6.2 +pkgrel=1 +pkgdesc="A free Health and Hospital Information System" +arch=(any) +url="http://health.gnu.org/" +license=('GPL3') +depends=('trytond') +source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") +md5sums=('f36bb82a7a142c99da0218d9a889344c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fixes + export PYTHON=python2 + sed -i '/TRYTON_PATH/s/python/&2/' configure + + # makefile fixes + sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ + -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in + + # mv man file + mv health/man . + + ./configure --prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make MANTARGET="$pkgdir/usr/share/man/man1" \ + DESTDIR="$pkgdir/" install + + # man + install -Dm644 man/$pkgname.1 \ + "$pkgdir/usr/share/man/man1/$pkgname.1" + + # python2 fix + sed -i 's/env python/&2/' \ + `grep -rl 'env python' "$pkgdir"` +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD index bae5d2f4e..4b5c3c86d 100644 --- a/pcr/trytond/PKGBUILD +++ b/pcr/trytond/PKGBUILD @@ -1,31 +1,31 @@ +# Contributor: Florian Walch # Maintainer: Robin Baumgartner pkgname=trytond -pkgver=2.4.0 -_pkgdir=2.4 -pkgrel=2 +pkgver=2.6.3 +_pkgdir=2.6 +pkgrel=1 pkgdesc="A three-tiers high-level general purpose application platform (server application)" arch=('any') url="http://www.tryton.org/" license=('GPL3') -depends=('python2>=2.4' 'python2-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5' -'python2-polib') -optdepends=('python2-psycopg2: support for PostgreSQL database' - 'python2-pywebdav: support for WebDAV feature' +depends=('python2>=2.4' 'python-lxml' 'python2-egenix-mx-base' 'python-relatorio>=0.2.0' 'python2-genshi>=0.5' 'python2-polib') +optdepends=('python-psycopg2: support for PostgreSQL database' + 'python-pywebdav: support for WebDAV feature' 'pydot: support for displaying workflow graphs' - 'python2-pytz: timezone support' - 'python2-pyopenssl: support for SSL connection') + 'python-pytz: timezone support' + 'pyopenssl: support for SSL connection') makedepends=('python2-distribute') install="trytond.install" source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" 'trytond.install' - 'trytond.rc') -md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4' + 'trytond.service') +md5sums=('c1bc8517e11f030bcd338414eaefa3b0' '768e68c01cb5913e36ea89c67fc98038' - '3ca6aff9b30a52bcf159be7ca630fb6e') + 'b1535a8528dfd8f655624bf6faea6985') build() { cd $srcdir/$pkgname-$pkgver python2 setup.py install --root=$pkgdir install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf - install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond + install -D -m755 $startdir/trytond.service $pkgdir/usr/lib/systemd/system/trytond.service } diff --git a/pcr/trytond/trytond.rc b/pcr/trytond/trytond.rc deleted file mode 100644 index a93172a58..000000000 --- a/pcr/trytond/trytond.rc +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond` -case "$1" in - start) - stat_busy "Starting Tryton server" - # handling log file - if [ ! -e /var/log/trytond/trytond.log ]; then - mkdir -p /var/log/trytond - touch /var/log/trytond/trytond.log - chown -R trytond:trytond /var/log/trytond - fi - # starting the daemon - if [ -z "$PID" ]; then - su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \ - --logfile=/var/log/trytond/trytond.log &> /dev/null &" - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - stop) - stat_busy "Stopping Tryton server" - if [ ! -z "$PID" ]; then - if [ $? -gt 0 ]; then - stat_fail - else - kill $PID &> /dev/null & - rm_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/pcr/trytond/trytond.service b/pcr/trytond/trytond.service new file mode 100644 index 000000000..7d85691b3 --- /dev/null +++ b/pcr/trytond/trytond.service @@ -0,0 +1,10 @@ +[Unit] +Description=Tryton Server Daemon + +[Service] +Type=simple +User=tryton +ExecStart=/usr/bin/trytond + +[Install] +WantedBy=multi-user.target diff --git a/social/gnuhealth/PKGBUILD b/social/gnuhealth/PKGBUILD deleted file mode 100644 index 10d059d4a..000000000 --- a/social/gnuhealth/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Maintainer: SpepS -# Maintainer (Parabola): André Silva - -pkgname=gnuhealth -pkgver=1.6.2 -pkgrel=1 -pkgdesc="A free Health and Hospital Information System" -arch=(any) -url="http://health.gnu.org/" -license=('GPL3') -depends=('trytond') -source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") -md5sums=('f36bb82a7a142c99da0218d9a889344c') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # python2 fixes - export PYTHON=python2 - sed -i '/TRYTON_PATH/s/python/&2/' configure - - # makefile fixes - sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ - -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in - - # mv man file - mv health/man . - - ./configure --prefix=/usr -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make MANTARGET="$pkgdir/usr/share/man/man1" \ - DESTDIR="$pkgdir/" install - - # man - install -Dm644 man/$pkgname.1 \ - "$pkgdir/usr/share/man/man1/$pkgname.1" - - # python2 fix - sed -i 's/env python/&2/' \ - `grep -rl 'env python' "$pkgdir"` -} - -# vim:set ts=2 sw=2 et: diff --git a/social/trytond/PKGBUILD b/social/trytond/PKGBUILD deleted file mode 100644 index 237c599f9..000000000 --- a/social/trytond/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Robin Baumgartner -pkgname=trytond -pkgver=2.4.0 -_pkgdir=2.4 -pkgrel=1 -pkgdesc="A three-tiers high-level general purpose application platform (server application)" -arch=('any') -url="http://www.tryton.org/" -license=('GPL3') -depends=('python2>=2.4' 'python-lxml' 'python-egenix-mx-base' 'python-relatorio>=0.2.0' 'python-genshi>=0.5' 'python2-polib') -optdepends=('python-psycopg2: support for PostgreSQL database' - 'python-pywebdav: support for WebDAV feature' - 'pydot: support for displaying workflow graphs' - 'python-pytz: timezone support' - 'pyopenssl: support for SSL connection') -makedepends=('python2-distribute') -install="trytond.install" -source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" - 'trytond.install' - 'trytond.rc') -md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4' - '768e68c01cb5913e36ea89c67fc98038' - '3ca6aff9b30a52bcf159be7ca630fb6e') - -build() { - cd $srcdir/$pkgname-$pkgver - python2 setup.py install --root=$pkgdir - install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf - install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond -} diff --git a/social/trytond/trytond.install b/social/trytond/trytond.install deleted file mode 100644 index 46d6daaba..000000000 --- a/social/trytond/trytond.install +++ /dev/null @@ -1,20 +0,0 @@ -post_install() { - echo - echo "Adding tryton group... " - groupadd tryton - echo - echo "Adding tryton user... " - useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton - - echo "Note:" - echo "==> Please don't forget to configure your PostgreSQL database for the program." -} - -post_remove() { - echo "Removing tryton system user... " - userdel tryton && echo "trytond [done]" -} - -op=$1 -shift -[ "$(type -t "$op")" = "function" ] && $op "$@" diff --git a/social/trytond/trytond.rc b/social/trytond/trytond.rc deleted file mode 100644 index a93172a58..000000000 --- a/social/trytond/trytond.rc +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond` -case "$1" in - start) - stat_busy "Starting Tryton server" - # handling log file - if [ ! -e /var/log/trytond/trytond.log ]; then - mkdir -p /var/log/trytond - touch /var/log/trytond/trytond.log - chown -R trytond:trytond /var/log/trytond - fi - # starting the daemon - if [ -z "$PID" ]; then - su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \ - --logfile=/var/log/trytond/trytond.log &> /dev/null &" - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - stop) - stat_busy "Stopping Tryton server" - if [ ! -z "$PID" ]; then - if [ $? -gt 0 ]; then - stat_fail - else - kill $PID &> /dev/null & - rm_daemon trytond - stat_done - fi - else - stat_fail - fi - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 -- cgit v1.2.3 From 340aeb54beac0e5d86dbc1097c1904ecc9ec930b Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Thu, 14 Feb 2013 02:28:44 +0100 Subject: Add gmqcc-git --- pcr/gmqcc-git/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pcr/gmqcc-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/gmqcc-git/PKGBUILD b/pcr/gmqcc-git/PKGBUILD new file mode 100644 index 000000000..ab08b36ef --- /dev/null +++ b/pcr/gmqcc-git/PKGBUILD @@ -0,0 +1,53 @@ +# Contributor: matthiaskrgr + +pkgname=gmqcc-git +pkgver=20130214 +pkgrel=1 +pkgdesc="An Improved Quake C Compiler" +arch=('i686' 'x86_64') +depends=('glibc') +conflicts=('gmqcc') +provides=('gmqcc=0.2.4') +makedepends=('git') +url="https://github.com/graphitemaster/gmqcc.git" +license=('MIT') + +_gitroot="git://github.com/graphitemaster/gmqcc.git" +_gitname="gmqcc" + +build() { + cd $srcdir + msg "Connecting to the GIT server..." + if [[ -d $srcdir/$_gitname ]] ; then + cd $_gitname + msg "Removing build files..." + git clean -dfx + msg "Updating..." + git pull --no-tags + msg "The local files are updated." + else + msg "Cloning..." + git clone $_gitroot $_gitname --depth 1 + msg "Clone done." + fi + + msg "Starting compilation..." + cd "$srcdir"/"$_gitname" + + msg "Compiling..." + make +} + +check() { + cd "$srcdir"/"$_gitname" + make check +} + +package() { + cd "$srcdir"/"$_gitname" + msg "Compiling and installing to pkgdir this time..." + make install DESTDIR=$pkgdir PREFIX=/usr + msg "Compiling done." + + install -D LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE +} -- cgit v1.2.3 From d81eeefd01ab742141df2d3533e6b0ce2c604824 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 22:51:34 -0200 Subject: python2-polib-1.0.0-1: updating version --- pcr/python2-polib/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcr') diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD index 206bd9b4f..ae282a2d8 100644 --- a/pcr/python2-polib/PKGBUILD +++ b/pcr/python2-polib/PKGBUILD @@ -2,8 +2,8 @@ pkgname=python2-polib _pkgname='polib' -pkgver=0.7.0 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc='A library to manipulate gettext files' url='http://polib.readthedocs.org/en/latest/index.html' arch=('any') @@ -11,7 +11,7 @@ license=('MIT') depends=('python2') source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz") -md5sums=('958f8f81ade7d2484edc25b3989fe247') +md5sums=('62a7662c3fd3eddcabba61107b6baae3') build() { cd "${srcdir}/${_pkgname}-${pkgver}" -- cgit v1.2.3 From 34e3bdc7a6c21ad5e768c7c26a033084a73095b5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 23:35:37 -0200 Subject: trytond-2.6.3-1: udpating md5sum source --- pcr/trytond/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD index 4b5c3c86d..d15f3aaa1 100644 --- a/pcr/trytond/PKGBUILD +++ b/pcr/trytond/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc="A three-tiers high-level general purpose application platform (server a arch=('any') url="http://www.tryton.org/" license=('GPL3') -depends=('python2>=2.4' 'python-lxml' 'python2-egenix-mx-base' 'python-relatorio>=0.2.0' 'python2-genshi>=0.5' 'python2-polib') +depends=('python2>=2.4' 'python-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5' 'python2-polib') optdepends=('python-psycopg2: support for PostgreSQL database' 'python-pywebdav: support for WebDAV feature' 'pydot: support for displaying workflow graphs' @@ -19,7 +19,7 @@ install="trytond.install" source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz" 'trytond.install' 'trytond.service') -md5sums=('c1bc8517e11f030bcd338414eaefa3b0' +md5sums=('0dd81769fc18fe2d20e83de4f17cb10d' '768e68c01cb5913e36ea89c67fc98038' 'b1535a8528dfd8f655624bf6faea6985') -- cgit v1.2.3 From 9bc173ce43b3b6527873c4d30275cfce99cc1874 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 23:38:19 -0200 Subject: trytond-2.6.3-1: fixing trytond.service path on PKGBUILD --- pcr/trytond/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD index d15f3aaa1..b270df368 100644 --- a/pcr/trytond/PKGBUILD +++ b/pcr/trytond/PKGBUILD @@ -27,5 +27,5 @@ build() { cd $srcdir/$pkgname-$pkgver python2 setup.py install --root=$pkgdir install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf - install -D -m755 $startdir/trytond.service $pkgdir/usr/lib/systemd/system/trytond.service + install -D -m755 $srcdir/trytond.service $pkgdir/usr/lib/systemd/system/trytond.service } -- cgit v1.2.3 From 8d0f52f75dbef150f9d99547688120a1e92e9a8e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 13 Feb 2013 23:52:15 -0200 Subject: gnuhealth-1.8.0-1: updating version --- pcr/gnuhealth/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index 10d059d4a..ee75b2ee9 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer (Parabola): André Silva pkgname=gnuhealth -pkgver=1.6.2 +pkgver=1.8.0 pkgrel=1 pkgdesc="A free Health and Hospital Information System" arch=(any) @@ -10,7 +10,7 @@ url="http://health.gnu.org/" license=('GPL3') depends=('trytond') source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz") -md5sums=('f36bb82a7a142c99da0218d9a889344c') +md5sums=('2273870ccd77a24ac21b398d095a29b5') build() { cd "$srcdir/$pkgname-$pkgver" -- cgit v1.2.3 From 9e33e61c00e3da5565b47e16b6618ab98c9ea38f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 14 Feb 2013 00:26:09 -0200 Subject: gnuhealth-1.8.0-1: fixing some things on PKGBUILD --- pcr/gnuhealth/PKGBUILD | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pcr') diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD index ee75b2ee9..c7db21793 100644 --- a/pcr/gnuhealth/PKGBUILD +++ b/pcr/gnuhealth/PKGBUILD @@ -17,11 +17,6 @@ build() { # python2 fixes export PYTHON=python2 - sed -i '/TRYTON_PATH/s/python/&2/' configure - - # makefile fixes - sed -e '/install:/a\\tinstall -d $(DESTDIR)$(tryton_modules)/' \ - -e 's/$(tryton/$(DESTDIR)&/' -i Makefile.in # mv man file mv health/man . -- cgit v1.2.3 From e641167c9b4aa228ffa457d1f36a8f3ead098871 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 14 Feb 2013 12:22:13 -0200 Subject: drop unmaintained and undecessary mesa packages --- pcr/glproto-git/PKGBUILD | 61 --- pcr/libdrm-git/COPYING | 48 --- pcr/libdrm-git/PKGBUILD | 103 ----- pcr/mesa-git/PKGBUILD | 1039 ---------------------------------------------- 4 files changed, 1251 deletions(-) delete mode 100644 pcr/glproto-git/PKGBUILD delete mode 100644 pcr/libdrm-git/COPYING delete mode 100644 pcr/libdrm-git/PKGBUILD delete mode 100644 pcr/mesa-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/glproto-git/PKGBUILD b/pcr/glproto-git/PKGBUILD deleted file mode 100644 index 0ff8f2840..000000000 --- a/pcr/glproto-git/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Maintainer: Jan de Groot -# Contributor: Alexander Baldeck -# Maintainer: kfgz -# Contributor: Cilyan Olowen -# Maintainer (Parabola): Márcio Silva - -pkgbase=glproto -pkgname=glproto-git -pkgver=$(LC_ALL=C date -u +%Y%m%d) -_pkgver=1.4.16 -pkgrel=1 -pkgdesc='X11 OpenGL extension wire protocol' -arch=( - i686 - x86_64 - mips64el -) -url=http://xorg.freedesktop.org/ -license=custom -provides=( - $pkgbase - "$pkgbase=$_pkgver" -) -conflicts=$pkgbase -makedepends=( - git - 'xorg-util-macros>=1.2' -) - -_gitroot=git://git.freedesktop.org/git/xorg/proto/$pkgbase -_gitname=$pkgbase - -build() { - cd $srcdir - msg 'Connecting to git.freedesktop.org GIT server....' - - if [ -d $srcdir/$_gitname ] ; then - cd $_gitname && git pull origin - msg 'The local files are updated.' - else - git clone $_gitroot - fi - - msg 'GIT checkout done or server timeout' - - msg 'Creating build directory' - if [ -d $srcdir/$_gitname-build ]; then rm -rf $srcdir/$_gitname-build; fi - cp -R $srcdir/$_gitname $srcdir/$_gitname-build - - msg 'Starting make...' - cd $srcdir/$_gitname-build - setarch $CARCH ./autogen.sh --prefix=/usr - setarch $CARCH make -} - -package() { - cd $srcdir/$_gitname-build - setarch $CARCH make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/$pkgbase - install -m644 COPYING $pkgdir/usr/share/licenses/$pkgbase -} diff --git a/pcr/libdrm-git/COPYING b/pcr/libdrm-git/COPYING deleted file mode 100644 index 6e74c337c..000000000 --- a/pcr/libdrm-git/COPYING +++ /dev/null @@ -1,48 +0,0 @@ - Copyright 2005 Adam Jackson. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation on the rights to use, copy, modify, merge, - publish, distribute, sub license, and/or sell copies of the Software, - and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice (including the - next paragraph) shall be included in all copies or substantial - portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ------------------------------------------------------------------------- - - Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. - Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. - All Rights Reserved. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice (including the - next paragraph) shall be included in all copies or substantial - portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS - SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. diff --git a/pcr/libdrm-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD deleted file mode 100644 index fc4c80e8e..000000000 --- a/pcr/libdrm-git/PKGBUILD +++ /dev/null @@ -1,103 +0,0 @@ -# Maintainer: Jan de Groot -# Maintainer (Parabola): Márcio Silva - -pkgbase=libdrm -pkgname=libdrm-git -pkgver=$(LC_ALL=C date -u +%Y%m%d) -_pkgver=2.4.41 -pkgrel=1 -pkgdesc='Userspace interface to kernel DRM services' -arch=( - i686 - x86_64 - mips64el -) -license=custom -depends=libpciaccess -makedepends=( - cairo - git - valgrind -) -options='!libtool' -url=http://dri.freedesktop.org/ -provides=( - $pkgbase=$_pkgver - $pkgbase-nouveau1 -) -conflicts=( - $pkgbase - $pkgbase-new - $pkgbase-nouveau - $pkgbase-nouveau1 - $pkgbase-old -) -replaces=( - $pkgbase-new - $pkgbase-nouveau -) -source=COPYING -sha512sums=b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660 - -_gitroot=git://git.freedesktop.org/git/mesa/drm -_gitname=drm - -build() { - cd $srcdir - msg 'Connecting to GIT server....' - - if [[ -d $_gitname ]]; then - cd $_gitname && git pull origin - msg 'The local files are updated.' - else - git clone $_gitroot $_gitname - fi - - msg 'GIT checkout done or server timeout' - msg 'Starting build...' - - rm -rf $srcdir/$_gitname-build - git clone $srcdir/$_gitname $srcdir/$_gitname-build - cd $srcdir/$_gitname-build - - # no-pthread-stubs - sed -i '/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)/d;/AC_SUBST(PTHREADSTUBS_CFLAGS)/d;/AC_SUBST(PTHREADSTUBS_LIBS)/d' \ - configure.ac - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - exynos/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;/ @PTHREADSTUBS_LIBS@ /d' \ - intel/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - nouveau/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - omap/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - radeon/Makefile.am - - # man/Makefile.in is missing - #sed -i '#^ man/Makefile#d' configure.ac - - # libtoolize --force - setarch $CARCH autoreconf --force --install - setarch $CARCH ./autogen.sh --prefix=/usr\ - --enable-exynos-experimental-api\ - --enable-intel\ - --enable-nouveau\ - --enable-omap-experimental-api\ - --enable-radeon\ - --enable-udev\ - --enable-vmwgfx - setarch $CARCH make V=0 -} - -check() { - cd $srcdir/$_gitname-build - setarch $CARCH make -k check -} - -package() { - cd $srcdir/$_gitname-build - setarch $CARCH make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/$pkgbase - install -m644 ../COPYING $pkgdir/usr/share/licenses/$pkgbase -} diff --git a/pcr/mesa-git/PKGBUILD b/pcr/mesa-git/PKGBUILD deleted file mode 100644 index 0a63f43d8..000000000 --- a/pcr/mesa-git/PKGBUILD +++ /dev/null @@ -1,1039 +0,0 @@ -# Maintainer: Márcio Silva - -_d3d1x=false -_openvg=true -_va=false -_vdpau=true -_wayland=true -_xorg=true -_xvmc=true -pkgbase=mesa-git -pkgname=( - mesa-git -) -true && pkgname=( - khrplatform-devel-git - libcl-libre-git - libgbm-git - libgl-gallium-git - libgl-git - libglapi-git - libgles-git - osmesa-git - ati-dri-git - intel-gallium-dri-git - intel-dri-git - nouveau-dri-git - svga-dri-git - mesa-git -) -if [ $_openvg = true ]; then - pkgname+=( - libvg-git - ) -fi -if [ $_va = true ]; then - pkgname+=( - ati-va-git - soft-va-git - ) -fi -if [ $_vdpau = true ]; then - pkgname+=( - ati-vdpau-git - nouveau-vdpau-git - soft-vdpau-git - ) -fi -if [ $_wayland = true ]; then - pkgname+=( - libegl-wayland-git - ) -else - pkgname+=( - libegl-git - ) -fi -if [ $_xorg = true ]; then - pkgname+=( - ati-xorg-git - intel-xorg-git - nouveau-xorg-git - ) -fi -if [ $_xvmc = true ]; then - pkgname+=( - ati-xvmc-git - nouveau-xvmc-git - soft-xvmc-git - ) -fi -true && pkgver=9.0.0.git$(LC_ALL=C date -u +%Y%m%d) -true && pkgrel=1 -_mesaver=9.0 -_dricore=9.1 -arch=( - i686 - x86_64 - mips64el -) -makedepends=( - clang # needed for compilation - git # needed for git source - glproto-git # needed for compilation - imake # needed for compilation - libdrm-git # needed for compilation - libgbm-git # needed for 'make install' (ld error) - libgl-git # needed for 'make install' (ld error) - libxdamage # needed for compilation - libxml2 # needed for compilation - libxxf86vm # needed for compilation - llvm # for llvm support - python2 # needed for compilation -) -if [ $_d3d1x = true ]; then - makedepends+=( - wine - ) -fi -if [ $_openvg = true ]; then - makedepends+=( - libvg-git # needed for 'make install' (ld error) - ) -fi -if [ $_va = true ]; then - makedepends+=( - libva - ) -fi -if [ $_vdpau = true ]; then - makedepends+=( - libvdpau - ) -fi -if [ $_wayland = true ]; then - makedepends+=( - wayland - ) -fi -if [ $_xorg = true ]; then - makedepends+=( - xf86driproto - xorg-server-devel - ) -fi -if [ $_xvmc = true ]; then - makedepends+=( - libxvmc - ) -fi -license=( - MIT - Khronos - LGPL -) -url=http://mesa3d.sourceforge.net - -_gitroot=git://anongit.freedesktop.org/git/${pkgbase%-git}/${pkgbase%-git} -_gitname=${pkgbase%-git} - -build() { - msg 'Connecting to git.freedesktop.org GIT server....' - if [ -d $_gitname ] ; then - cd $_gitname && git pull origin - else - git clone $_gitroot --depth 1 - fi - msg 'GIT checkout done or server timeout' - msg 'Starting make...' - - cd $srcdir - - # Cleanup and prepare the build dir - [ -d build ] && rm -rf build - cp -r $_gitname build - cd build - - #cd $srcdir/Mesa-$pkgver - - if [ $_d3d1x = true ]; then - D3D1X_FLAG=--enable-d3d1x - fi - if [ $_openvg = true ]; then - OPENVG_FLAG=--enable-openvg - fi - if [ $_va = true ]; then - VA_FLAG=--enable-va - fi - if [ $_vdpau = true ]; then - VDPAU_FLAG=--enable-vdpau - fi - if [ $_wayland = true ]; then - WAYLAND_FLAG=--with-egl-platforms=drm,x11,wayland - fi - if [ $_xorg = true ]; then - XORG_FLAG=--enable-xorg - fi - if [ $_xvmc = true ]; then - XVMC_FLAG=--enable-xvmc - fi - - ./autogen.sh --prefix=/usr \ - $D3D1X_FLAG \ - --enable-dri \ - --enable-egl \ - --enable-gallium-egl \ - --enable-gallium-g3dvl \ - --enable-gallium-gbm \ - --enable-gallium-llvm \ - --enable-gbm \ - --enable-gles1 \ - --enable-gles2 \ - --enable-glx \ - --enable-glx-tls \ - --enable-opencl \ - --enable-opengl \ - $OPENVG_FLAG \ - --enable-osmesa \ - --enable-r600-llvm-compiler \ - --enable-shared-glapi \ - --enable-texture-float \ - $VA_FLAG \ - $VDPAU_FLAG \ - --enable-xa \ - $XORG_FLAG \ - $XVMC_FLAG \ - $WAYLAND_FLAG \ - --with-clang-libdir=/usr/lib \ - --with-dri-driverdir=/usr/lib/xorg/modules/dri \ - --with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \ - --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast - make V=0 -} - -package_khrplatform-devel-git() { - conflicts=( - khrplatform-devel - ) - provides=( - khrplatform-devel=$_mesaver - ) - pkgdesc='Khronos platform development package' - - cd $srcdir/build - install -m755 -d $pkgdir/usr/include/KHR - install -m755 -d $pkgdir/usr/share/licenses/khrplatform-devel - install -Dm644 include/KHR/khrplatform.h $pkgdir/usr/include/KHR - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/khrplatform-devel - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/khrplatform-devel -} - -package_libcl-libre-git() { - depends=( - gcc-libs - libdrm-git - libffi - libxcb - systemd - #udev - ) - conflicts=( - libcl - libcl-libre - ) - provides=( - libcl - libcl-libre - ) - replaces=( - libcl - ) - pkgdesc='A libre version of OpenCL library and ICD loader, (Mesa OpenCL)' - - make -C $srcdir/build/src/gallium/targets/opencl DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/opencl - install -m755 -d $pkgdir/usr/share/licenses/libcl - #install -Dm644 src/gallium/targets/opencl/libOpenCL.la $pkgdir/usr/lib - #install -Dm644 lib/libOpenCL.so* $pkgdir/usr/lib - #install -Dm644 src/gallium/targets/pipe-loader/*.so $pkgdir/usr/lib/opencl - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libcl - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libcl -} - -package_libegl-wayland-git() { - depends=( - khrplatform-devel-git - libgbm-git - libxext - libxfixes - wayland - ) - if [ $_openvg = true ]; then - depends+=( - libvg-git - ) - fi - conflicts=( - libegl - libegl-git - libegl-wayland - ) - provides=( - libegl=$_mesaver - libegl-git - libegl-wayland=$_mesaver - ) - pkgdesc='Mesa EGL libraries and headers, with wayland Support' - - make -C $srcdir/build/src/egl DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/egl-static DESTDIR=$pkgdir install - - cd $srcdir/build - rm -fvr $pkgdir/usr/include/KHR - #install -m755 -d $pkgdir/usr/include/EGL - #install -m755 -d $pkgdir/usr/lib/egl - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/doc/libegl - install -m755 -d $pkgdir/usr/share/licenses/libegl - #install -Dm644 include/EGL/* $pkgdir/usr/include/EGL - #install -Dm644 src/egl/main/libEGL.la $pkgdir/usr/lib - #install -Dm644 lib/libEGL.so* $pkgdir/usr/lib - #install -Dm644 src/egl/wayland/wayland-egl/libwayland-egl.la $pkgdir/usr/lib - #install -Dm644 lib/libwayland-egl.so* $pkgdir/usr/lib - #install -Dm644 lib/egl/egl_gallium.so $pkgdir/usr/lib/egl - #install -Dm644 src/egl/main/egl.pc $pkgdir/usr/lib/pkgconfig - #install -Dm644 src/egl/wayland/wayland-egl/wayland-egl.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/egl.html $pkgdir/usr/share/doc/libegl - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libegl - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libegl -} - -package_libegl-git() { - depends=( - khrplatform-devel-git - libgbm-git - libxext - libxfixes - ) - if [ $_openvg = true ]; then - depends+=( - libvg-git - ) - fi - conflicts=( - libegl - libegl-wayland - libegl-wayland-git - ) - provides=( - libegl=$_mesaver - libegl-wayland=$_mesaver - libegl-wayland-git - ) - pkgdesc='Mesa EGL libraries and headers' - - make -C $srcdir/build/src/egl DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/egl-static DESTDIR=$pkgdir install - - cd $srcdir/build - rm -fvr $pkgdir/usr/include/KHR - #install -m755 -d $pkgdir/usr/include/EGL - #install -m755 -d $pkgdir/usr/lib/egl - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/doc/libegl - install -m755 -d $pkgdir/usr/share/licenses/libegl - #install -Dm644 include/EGL/* $pkgdir/usr/include/EGL - #install -Dm644 src/egl/main/libEGL.la $pkgdir/usr/lib - #install -Dm644 lib/libEGL.so* $pkgdir/usr/lib - #install -Dm644 lib/egl/egl_gallium.so $pkgdir/usr/lib/egl - #install -Dm644 src/egl/main/egl.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/egl.html $pkgdir/usr/share/doc/libegl - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libegl - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libegl -} - -package_libgbm-git() { - depends=( - gcc-libs - libdrm-git - libffi - libglapi-git - libxcb - systemd - #udev - ) - conflicts=( - libgbm - ) - provides=( - libgbm=$_mesaver - ) - pkgdesc='Mesa GBM libraries and header' - - make -C $srcdir/build/src/gbm DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/gbm DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/include - #install -m755 -d $pkgdir/usr/lib/gbm - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/licenses/libgbm - #install -Dm644 src/gbm/main/gbm.h $pkgdir/usr/include - #install -Dm644 src/gbm/libgbm.la $pkgdir/usr/lib - #install -Dm644 lib/libgbm.so* $pkgdir/usr/lib - #install -Dm644 src/gallium/targets/gbm/gbm_gallium_drm.so $pkgdir/usr/lib/gbm - #install -Dm644 src/gallium/targets/pipe-loader/*.so $pkgdir/usr/lib/gbm - #install -Dm644 src/gbm/main/gbm.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libgbm - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libgbm -} - -package_libgl-gallium-git() { - depends=( - expat - gcc-libs - libdrm-git - libglapi-git - libxdamage - libxxf86vm - ) - conflicts=( - libgl - libgl-git - libgl-gallium - ) - provides=( - libgl=$_mesaver - libgl-git - libgl-gallium=$_mesaver - ) - pkgdesc='Mesa 3D OpenGL graphics library and DRI Gallium software rasterizer' - - make -C $srcdir/build/src/glx DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/dri-swrast DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/lib/xorg/modules/extensions - install -m755 -d $pkgdir/usr/share/doc/libgl - install -m755 -d $pkgdir/usr/share/licenses/libgl - #ln -s libdricore$_dricore.so.1.0.0 $pkgdir/usr/lib/libdricore.so - ln -s libglx.xorg $pkgdir/usr/lib/xorg/modules/extensions/libglx.so - #install -Dm644 src/glx/libGL.la $pkgdir/usr/lib - #install -Dm644 lib/libGL.so* $pkgdir/usr/lib - #install -Dm644 src/mesa/libdricore/libdricore$_dricore.la $pkgdir/usr/lib - #install -Dm644 lib/libdricore$_dricore.so* $pkgdir/usr/lib - #install -Dm644 lib/gallium/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/libGL.txt $pkgdir/usr/share/doc/libgl - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libgl - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libgl -} - -package_libgl-git() { - depends=( - expat - gcc-libs - libdrm-git - libglapi-git - libxdamage - libxxf86vm - ) - conflicts=( - libgl - libgl-gallium - libgl-gallium-git - ) - provides=( - libgl=$_mesaver - libgl-gallium=$_mesaver - libgl-gallium-git - ) - pkgdesc='Mesa 3D OpenGL graphics library and DRI software rasterizer' - - make -C $srcdir/build/src/glx DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/libdricore DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/drivers/dri/swrast DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/lib/xorg/modules/extensions - install -m755 -d $pkgdir/usr/share/doc/libgl - install -m755 -d $pkgdir/usr/share/licenses/libgl - #ln -s libdricore$_mesaver.so.1.0.0 $pkgdir/usr/lib/libdricore.so - ln -s libglx.xorg $pkgdir/usr/lib/xorg/modules/extensions/libglx.so - #install -Dm644 src/glx/libGL.la $pkgdir/usr/lib - #install -Dm644 lib/libGL.so* $pkgdir/usr/lib - #install -Dm644 src/mesa/libdricore/libdricore$_dricore.la $pkgdir/usr/lib - #install -Dm644 lib/libdricore$_dricore.so* $pkgdir/usr/lib - #install -Dm644 src/mesa/drivers/dri/swrast/swrast_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/swrast_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/libGL.txt $pkgdir/usr/share/doc/libgl - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libgl - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libgl -} - -package_libglapi-git() { - depends=( - glibc - ) - conflicts=( - libglapi - ) - provides=( - libglapi=$_mesaver - ) - pkgdesc='free implementation of the GL API -- shared library. The Mesa GL API module is responsible for dispatching all the gl* functions' - - make -C $srcdir/build/src/mapi/shared-glapi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib - install -m755 -d $pkgdir/usr/share/licenses/libglapi - #install -Dm644 src/mapi/shared-glapi/libglapi.la $pkgdir/usr/lib - #install -Dm644 lib/libglapi.so* $pkgdir/usr/lib - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libglapi - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libglapi -} - -package_libgles-git() { - depends=( - khrplatform-devel-git - libdrm-git - libglapi-git - ) - conflicts=( - libgles - ) - provides=( - libgles=$_mesaver - ) - pkgdesc='Mesa GLES libraries and headers' - - make -C $srcdir/build/src/mapi/es1api DESTDIR=$pkgdir install - make -C $srcdir/build/src/mapi/es2api DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/include/GLES - #install -m755 -d $pkgdir/usr/include/GLES2 - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/licenses/libgles - #install -Dm644 include/GLES/* $pkgdir/usr/include/GLES - #install -Dm644 include/GLES2/* $pkgdir/usr/include/GLES2 - #install -Dm644 src/mapi/es1api/libGLESv1_CM.la $pkgdir/usr/lib - #install -Dm644 src/mapi/es2api/libGLESv2.la $pkgdir/usr/lib - #install -Dm644 lib/libGLESv*.so* $pkgdir/usr/lib - #install -Dm644 src/mapi/es1api/glesv1_cm.pc $pkgdir/usr/lib/pkgconfig - #install -Dm644 src/mapi/es2api/glesv2.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libgles - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libgles -} - -package_libvg-git() { - depends=( - glibc - ) - conflicts=( - libvg - ) - provides=( - libvg=$_mesaver - ) - pkgdesc='Mesa OpenVG libraries and headers' - - make -C $srcdir/build/src/mapi/vgapi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/include/VG - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/doc/libvg - install -m755 -d $pkgdir/usr/share/licenses/libvg - #install -Dm644 include/VG/* $pkgdir/usr/include/VG - #install -Dm644 src/mapi/vgapi/libOpenVG.la $pkgdir/usr/lib - #install -Dm644 lib/libOpenVG.so* $pkgdir/usr/lib - #install -Dm644 src/mapi/vgapi/vg.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/openvg.html $pkgdir/usr/share/doc/libvg - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/libvg - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/libvg -} - -package_osmesa-git() { - depends=( - mesa-git - ) - conflicts=( - osmesa - ) - provides=( - osmesa=$_mesaver - ) - optdepends=( - 'opengl-man-pages: for the OpenGL API man pages' - ) - pkgdesc='Mesa 3D off-screen rendering library' - - make -C $srcdir/build/src/mesa/drivers/osmesa DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/pkgconfig - install -m755 -d $pkgdir/usr/share/doc/osmesa - install -m755 -d $pkgdir/usr/share/licenses/osmesa - #install -Dm644 src/mesa/drivers/osmesa/libOSMesa.la $pkgdir/usr/lib - #install -Dm644 lib/libOSMesa.so* $pkgdir/usr/lib - #install -Dm644 src/mesa/drivers/osmesa/osmesa.pc $pkgdir/usr/lib/pkgconfig - install -Dm644 docs/osmesa.html $pkgdir/usr/share/doc/osmesa - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/osmesa - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/osmesa -} - -package_ati-dri-git() { - depends=( - libgl-git - ) - conflicts=( - ati-dri - 'xf86-video-ati<6.9.0-6' - ) - provides=( - ati-dri=$_mesaver - ) - pkgdesc='Mesa DRI radeon/r200 + Gallium3D r300,r600,radeonsi drivers for AMD/ATI Radeon' - - # classic mesa driver for radeon,r200 - make -C $srcdir/build/src/mesa/drivers/dri/r200 DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/drivers/dri/radeon DESTDIR=$pkgdir install - # gallium3D driver for r300,r600,radeonsi - make -C $srcdir/build/src/gallium/targets/dri-r300 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/dri-r600 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/dri-radeonsi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/share/licenses/ati-dri - # classic mesa driver for radeon,r200 - #install -Dm644 src/mesa/drivers/dri/r200/r200_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/r200_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 src/mesa/drivers/dri/radeon/radeon_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/radeon_dri.so $pkgdir/usr/lib/xorg/modules/dri - # gallium3D driver for r300,r600,radeonsi - #install -Dm644 lib/gallium/r300_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/gallium/r600_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/gallium/radeonsi_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/ati-dri - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/ati-dri -} - -package_intel-gallium-dri-git() { - depends=( - libgl-git - ) - conflicts=( - intel-dri - intel-dri-git - intel-gallium-dri - ) - provides=( - intel-dri=$_mesaver - intel-dri-git - intel-gallium-dri=$_mesaver - ) - pkgdesc='Mesa DRI drivers for Intel, with i915 Gallium Driver )' - - make -C $srcdir/build/src/gallium/targets/dri-i915 DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/drivers/dri/i965 DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/share/licenses/intel-dri - #install -Dm644 src/gallium/targets/dri-i915/i915_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 src/mesa/drivers/dri/i965/i965_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/i965_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/intel-dri - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/intel-dri -} - -package_intel-dri-git() { - depends=( - libgl-git - ) - conflicts=( - intel-dri - intel-gallium-dri - intel-gallium-dri-git - ) - provides=( - intel-dri=$_mesaver - intel-gallium-dri=$_mesaver - intel-gallium-dri-git=$_mesaver - ) - pkgdesc='Mesa DRI drivers for Intel' - - make -C $srcdir/build/src/mesa/drivers/dri/i915 DESTDIR=$pkgdir install - make -C $srcdir/build/src/mesa/drivers/dri/i965 DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/share/licenses/intel-dri - #install -Dm644 src/mesa/drivers/dri/i915/i915_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 src/mesa/drivers/dri/i915/.libs/i915_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 src/mesa/drivers/dri/i965/i965_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/i965_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/intel-dri - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/intel-dri -} - -package_nouveau-dri-git() { - depends=( - libgl-git - ) - conflicts=( - nouveau-dri - ) - provides=( - nouveau-dri=$_mesaver - ) - pkgdesc='Mesa classic DRI + Gallium3D drivers for Nouveau' - - # classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so - make -C $srcdir/build/src/mesa/drivers/dri/nouveau DESTDIR=$pkgdir install - # gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so - make -C $srcdir/build/src/gallium/targets/dri-nouveau DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/share/licenses/nouveau-dri - #install -Dm644 src/mesa/drivers/dri/nouveau/nouveau_vieux_dri.la $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/nouveau_vieux_dri.so $pkgdir/usr/lib/xorg/modules/dri - #install -Dm644 lib/gallium/nouveau_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/nouveau-dri - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/nouveau-dri -} - -package_svga-dri-git() { - depends=( - libgl-git - ) - conflicts=( - svga-dri - ) - provides=( - svga-dri=$_mesaver - ) - pkgdesc='Free Gallium3D VMware guest GL driver' - - make -C $srcdir/build/src/gallium/targets/dri-vmwgfx DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/xa-vmwgfx DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/include - #install -m755 -d $pkgdir/usr/lib/pkgconfig - #install -m755 -d $pkgdir/usr/lib/xorg/modules/dri - install -m755 -d $pkgdir/usr/share/licenses/svga-dri - #install -Dm644 lib/gallium/libxatracker.so* $pkgdir/usr/lib - #install -Dm644 src/gallium/state_trackers/xa/xa_composite.h $pkgdir/usr/lib/include - #install -Dm644 src/gallium/state_trackers/xa/xa_context.h $pkgdir/usr/lib/include - #install -Dm644 src/gallium/state_trackers/xa/xa_tracker.h $pkgdir/usr/lib/include - #install -Dm644 src/gallium/targets/xa-vmwgfx/xatracker.pc $pkgdir/usr/lib/pkgconfig - #install -Dm644 lib/gallium/vmwgfx_dri.so $pkgdir/usr/lib/xorg/modules/dri - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/svga-dri - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/svga-dri -} - -package_ati-va-git() { - depends=( - glibc - ) - conflicts=( - ati-va - ) - provides=( - ati-va=$_mesaver - ) - pkgdesc='Mesa Gallium3D VA library for ATI' - - make -C $srcdir/build/src/gallium/targets/va-r300 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/va-r600 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/va-radeonsi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/va - install -m755 -d $pkgdir/usr/share/licenses/ati-va - #install -Dm644 lib/gallium/libva_r*00.so* $pkgdir/usr/lib/va - #install -Dm644 lib/gallium/libva_radeonsi.so* $pkgdir/usr/lib/va - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/ati-va - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/ati-va -} - -package_soft-va-git() { - depends=( - glibc - ) - conflicts=( - soft-va - ) - provides=( - soft-va=$_mesaver - ) - pkgdesc='Mesa Gallium3D VA library for Software Rasterizer' - - make -C $srcdir/build/src/gallium/targets/va-softpipe DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/va - install -m755 -d $pkgdir/usr/share/licenses/soft-va - #install -Dm644 lib/gallium/libva_softpipe.so* $pkgdir/usr/lib/va - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/soft-va - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/soft-va -} - -package_ati-vdpau-git() { - depends=( - gcc-libs - libdrm-git - libx11 - ) - conflicts=( - ati-vdpau - ) - provides=( - ati-vdpau=$_mesaver - ) - pkgdesc='Mesa Gallium3D VDPAU libraries for ATI' - - make -C $srcdir/build/src/gallium/targets/vdpau-r300 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/vdpau-r600 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/vdpau-radeonsi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/vdpau - install -m755 -d $pkgdir/usr/share/licenses/ati-vdpau - #install -Dm644 lib/gallium/libvdpau_r*00.so* $pkgdir/usr/lib/vdpau - #install -Dm644 lib/gallium/libvdpau_radeonsi.so* $pkgdir/usr/lib/vdpau - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/ati-vdpau - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/ati-vdpau -} - -package_nouveau-vdpau-git() { - depends=( - gcc-libs - libdrm-git - libx11 - ) - conflicts=( - nouveau-vdpau - ) - provides=( - nouveau-vdpau=$_mesaver - ) - pkgdesc='Mesa Gallium3D VDPAU library for Nouveau' - - make -C $srcdir/build/src/gallium/targets/vdpau-nouveau DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/vdpau - install -m755 -d $pkgdir/usr/share/licenses/nouveau-vdpau - #install -Dm644 lib/gallium/libvdpau_nouveau.so* $pkgdir/usr/lib/vdpau - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/nouveau-vdpau - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/nouveau-vdpau -} - -package_soft-vdpau-git() { - depends=( - gcc-libs - ) - conflicts=( - soft-vdpau - ) - provides=( - soft-vdpau=$_mesaver - ) - pkgdesc='Mesa Gallium3D VDPAU library for Software Rasterizer' - - make -C $srcdir/build/src/gallium/targets/vdpau-softpipe DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/vdpau - install -m755 -d $pkgdir/usr/share/licenses/soft-vdpau - #install -Dm644 lib/gallium/libvdpau_softpipe.so* $pkgdir/usr/lib/vdpau - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/soft-vdpau - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/soft-vdpau -} - -package_ati-xorg-git() { - depends=( - gcc-libs - libdrm-git - ) - conflicts=( - ati-xorg - ) - provides=( - ati-xorg=$_mesaver - ) - pkgdesc='Mesa Gallium3D Xorg Drivers for ATI' - - make -C $srcdir/build/src/gallium/targets/xorg-r300 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/xorg-r600 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/xorg-radeonsi DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/drivers - install -m755 -d $pkgdir/usr/share/licenses/ati-xorg - # gallium3D driver for r300,r600g,radeonsi - #install -Dm644 lib/gallium/r300_drv.so $pkgdir/usr/lib/xorg/modules/drivers - #install -Dm644 lib/gallium/r600g_drv.so $pkgdir/usr/lib/xorg/modules/drivers - #install -Dm644 lib/gallium/radeonsi_drv.so $pkgdir/usr/lib/xorg/modules/drivers - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/ati-xorg - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/ati-xorg -} - -package_intel-xorg-git() { - depends=( - gcc-libs - libdrm-git - ) - conflicts=( - intel-xorg - ) - provides=( - intel-xorg=$_mesaver - ) - pkgdesc='Mesa Gallium3D Xorg Drivers for Intel' - - make -C $srcdir/build/src/gallium/targets/xorg-i915 DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/drivers - install -m755 -d $pkgdir/usr/share/licenses/intel-xorg - #install -Dm644 lib/modesetting_drv.so $pkgdir/usr/lib/xorg/modules/drivers - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/intel-xorg - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/intel-xorg -} - -package_nouveau-xorg-git() { - depends=( - gcc-libs - libdrm-git - ) - conflicts=( - nouveau-xorg - ) - provides=( - nouveau-xorg=$_mesaver - ) - pkgdesc='Mesa Gallium3D Xorg Drivers for Nouveau' - - make -C $srcdir/build/src/gallium/targets/xorg-nouveau DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib/xorg/modules/drivers - install -m755 -d $pkgdir/usr/share/licenses/nouveau-xorg - #install -Dm644 lib/gallium/nouveau2_drv.so $pkgdir/usr/lib/xorg/modules/drivers - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/nouveau-xorg - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/nouveau-xorg -} - -package_ati-xvmc-git() { - depends=( - gcc-libs - libdrm-git - libxv - ) - conflicts=( - ati-xvmc - ) - provides=( - ati-xvmc=$_mesaver - ) - pkgdesc='Mesa Gallium3D XvMC libraries for ATI' - - make -C $srcdir/build/src/gallium/targets/xvmc-r300 DESTDIR=$pkgdir install - make -C $srcdir/build/src/gallium/targets/xvmc-r600 DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib - install -m755 -d $pkgdir/usr/share/licenses/ati-xvmc - #install -Dm644 lib/gallium/libXvMCr*00.so* $pkgdir/usr/lib - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/ati-xvmc - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/ati-xvmc -} - -package_nouveau-xvmc-git() { - depends=( - gcc-libs - libdrm-git - libxv - ) - conflicts=( - nouveau-xvmc - ) - provides=( - nouveau-xvmc=$_mesaver - ) - pkgdesc='Mesa Gallium3D XvMC library for Nouveau' - - make -C $srcdir/build/src/gallium/targets/xvmc-nouveau DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib - install -m755 -d $pkgdir/usr/share/licenses/nouveau-xvmc - #install -Dm644 lib/gallium/libXvMCnouveau.so* $pkgdir/usr/lib - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/nouveau-xvmc - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/nouveau-xvmc -} - -package_soft-xvmc-git() { - depends=( - gcc-libs - libdrm-git - libxv - ) - conflicts=( - soft-xvmc - ) - provides=( - soft-xvmc=$_mesaver - ) - pkgdesc='Mesa Gallium3D XvMC library for Software Rasterizer' - - make -C $srcdir/build/src/gallium/targets/xvmc-softpipe DESTDIR=$pkgdir install - - cd $srcdir/build - #install -m755 -d $pkgdir/usr/lib - install -m755 -d $pkgdir/usr/share/licenses/soft-xvmc - #install -Dm644 lib/gallium/libXvMCsoftpipe.so* $pkgdir/usr/lib - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/soft-xvmc - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/soft-xvmc -} - -package_mesa-git() { - depends=( - dri2proto - glproto-git - libglu-git - ) - optdepends=( - 'libcl: for OpenCL Graphics Video Hardware Support' - 'libegl-wayland-git: for Wayland Desktop Graphics' - 'opengl-man-pages: for the OpenGL API man pages' - ) - conflicts=( - mesa - ) - provides=( - mesa=$_mesaver - ) - pkgdesc='Mesa 3-D graphics libraries and include files' - - cd $srcdir/build - make DESTDIR=$pkgdir install - rm -fvr $pkgdir/usr/include/{EGL,GLES,GLES2,KHR,VG,gbm.h,xa_*.h} - rm -fvr $pkgdir/usr/lib/{egl,gbm,opencl,vdpau,xorg} - rm -fv $pkgdir/usr/lib/{libEGL*,libGL*,libGLESv*,libOSMesa*,libOpenCL*,libOpenVG*,libXvMC*,libdricore*,libgbm*,libglapi*,libwayland*,libxatracker.so*} - rm -fv $pkgdir/usr/lib/pkgconfig/{egl.pc,gbm.pc,glesv1_cm.pc,glesv2.pc,osmesa.pc,vg.pc,wayland-egl.pc,xatracker.pc} - install -m755 -d $pkgdir/usr/share/licenses/mesa - install -Dm644 docs/COPYING $pkgdir/usr/share/licenses/mesa - install -Dm644 docs/license.html $pkgdir/usr/share/licenses/mesa -} -- cgit v1.2.3 From 363454a11762dcdd286c5e45475ee343386b56d7 Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Fri, 15 Feb 2013 11:55:18 +0100 Subject: Update pkgbuild --- pcr/xonotic-git/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/xonotic-git/PKGBUILD b/pcr/xonotic-git/PKGBUILD index 7075a33a8..0a2ec7dca 100644 --- a/pcr/xonotic-git/PKGBUILD +++ b/pcr/xonotic-git/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Alexander Suhoverhov pkgname=xonotic-git -pkgver=20130213 +pkgver=20130214 pkgrel=1 pkgdesc="A free, fast-paced crossplatform first-person shooter" arch=('i686' 'x86_64') @@ -22,7 +22,7 @@ depends=( 'sdl' 'curl' ) -makedepends=('git' 'p7zip' 'zip' 'unzip' 'vorbis-tools' 'sdl' 'mesa' 'imagemagick') +makedepends=('git' 'p7zip' 'zip' 'unzip' 'vorbis-tools' 'sdl' 'mesa' 'imagemagick' 'gmqcc-git') optdepends=( 'libtheora: recording in ogv' #'d0_blind_id-git: crypto libraries for player authentification' -- cgit v1.2.3 From 3b2e0940912977aadb95b4b19f7f46c18b6ae93e Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Feb 2013 12:58:31 -0500 Subject: Adding poco, libpurple-minimal and spectrum to pcr --- pcr/libpurple-minimal/PKGBUILD | 46 +++++++++++++++++++ pcr/poco/PKGBUILD | 44 +++++++++++++++++++ pcr/spectrum/PKGBUILD | 81 ++++++++++++++++++++++++++++++++++ pcr/spectrum/gcc47.patch | 97 +++++++++++++++++++++++++++++++++++++++++ pcr/spectrum/logrotate.spectrum | 10 +++++ pcr/spectrum/spectrum.install | 45 +++++++++++++++++++ pcr/spectrum/spectrum.tmpfiles | 1 + pcr/spectrum/spectrum@.service | 14 ++++++ 8 files changed, 338 insertions(+) create mode 100644 pcr/libpurple-minimal/PKGBUILD create mode 100644 pcr/poco/PKGBUILD create mode 100644 pcr/spectrum/PKGBUILD create mode 100644 pcr/spectrum/gcc47.patch create mode 100644 pcr/spectrum/logrotate.spectrum create mode 100644 pcr/spectrum/spectrum.install create mode 100644 pcr/spectrum/spectrum.tmpfiles create mode 100644 pcr/spectrum/spectrum@.service (limited to 'pcr') diff --git a/pcr/libpurple-minimal/PKGBUILD b/pcr/libpurple-minimal/PKGBUILD new file mode 100644 index 000000000..5526879d1 --- /dev/null +++ b/pcr/libpurple-minimal/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Magicking +# Contributors: wzff BluePeppers n0nsense +pkgname=libpurple-minimal +pkgver=2.10.0 +pkgrel=3 +pkgdesc="minimal build of the pidgin IM library (no gstreamer, perl and X11 dependencies)" +arch=('i686' 'x86_64' 'mips64el') +url="http://developer.pidgin.im/wiki/WhatIsLibpurple" +license=('GPL') +depends=('glib2' 'gnutls' 'libxml2' 'libidn' 'nss' 'avahi') +makedepends=('make' 'intltool') +conflicts=('libpurple') +provides=("libpurple=${pkgver}") +source="http://downloads.sourceforge.net/pidgin/pidgin-${pkgver}.tar.gz" +md5sums=('b92f83f6f075d9cd814d3ccff9fd6cac') + +build(){ + cd $srcdir/pidgin-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-perl \ + --disable-gtkui \ + --disable-consoleui \ + --disable-sm \ + --disable-gestures \ + --disable-screensaver \ + --disable-startup-notification \ + --disable-schemas-install \ + --disable-tcl \ + --disable-tk \ + --disable-nls \ + --without-x \ + --disable-vv \ + --disable-gstreamer \ + --disable-meanwhile \ + --disable-dbus \ + --disable-doxygen \ + --with-system-ssl-certs=/etc/ssl/certs + make -C libpurple +} + +package() { + cd $srcdir/pidgin-${pkgver} + make -C libpurple DESTDIR=$pkgdir install +} + diff --git a/pcr/poco/PKGBUILD b/pcr/poco/PKGBUILD new file mode 100644 index 000000000..dad4788d1 --- /dev/null +++ b/pcr/poco/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Rodrigo Grumiche Silva +# Contributor: nozog +# Contributor: davidhjelm +# Contributor: Ray Kohler +# Contributor: Nathan Owe < ndowens04 at gmail dot com> + +pkgname=poco +pkgver=1.4.2p1 +pkgrel=2 +pkgdesc="C++ class libraries for network-centric, portable applications, +complete edition" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.pocoproject.org/" +license=('custom:boost') +depends=('unixodbc' 'libmysqlclient' 'openssl') +makedepends=('gcc' 'make' 'unixodbc' 'libmysqlclient' 'openssl' 'chrpath') +options=() +source=(http://downloads.sourceforge.net/poco/$pkgname-$pkgver-all.tar.bz2) + +build() { + cd $srcdir/$pkgname-$pkgver-all + ./configure --prefix=/usr --no-samples --no-tests + make +} + + +package() { + cd $srcdir/$pkgname-$pkgver-all + + make DESTDIR=$pkgdir install + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + #removing rpath information from binaries + chrpath -d $pkgdir/usr/bin/cpspc + chrpath -d $pkgdir/usr/bin/cpspcd + chrpath -d $pkgdir/usr/bin/f2cpspd + chrpath -d $pkgdir/usr/bin/f2cpsp + + #removing debugging libraries + rm $pkgdir/usr/lib/libPoco*d.so* +} + +md5sums=('752e5f5545377be24ee7c7b6b479fbbe') diff --git a/pcr/spectrum/PKGBUILD b/pcr/spectrum/PKGBUILD new file mode 100644 index 000000000..250840fb7 --- /dev/null +++ b/pcr/spectrum/PKGBUILD @@ -0,0 +1,81 @@ +# Maintainer: Clément Démoulins +# Contributor: Sonny Piers +# Contributor: Tim Besard +# Contributor: miniature + +pkgname=spectrum +pkgver=1.4.8 +pkgrel=4 +pkgdesc="XMPP libpurple transport/gateway." +arch=('i686' 'x86_64' 'mips64el') +url="http://spectrum.im" +license=('GPL') +depends=('gloox' 'libpurple-minimal' 'poco' 'python2' libev) +replaces=('spectrum-git') +makedepends=('cmake' 'gettext') +optdepends=('mysql: MySQL database backend support' + 'postgresql-libs: PostgreSQL database backend support' + 'sqlite3: SQLite database backend support' + 'libevent: support for libevent' + 'imagemagick: support for avatars synchronization with legacy networks' + + # Protocols plugins + 'mbpurple-svn: microblogging services support like Twitter or identi.ca/StatusNet' + 'msn-pecan: a different implementation of the MSN protocol for libpurple' + 'pidgin-facebookchat: Facebook support, with more features than Facebook XMPP server' + 'pidgin-sipe: SIPE protocol support' +) +backup=('etc/conf.d/spectrum') +install='spectrum.install' + +source=('https://github.com/downloads/hanzz/libtransport/spectrum-1.4.8.tar.gz' + 'logrotate.spectrum' + 'gcc47.patch' + 'spectrum@.service' + 'spectrum.tmpfiles') +md5sums=('edd88e1e70f86fe9aa4b43d787529a47' + '4f9cbfe3878fe5f4137d1bb5acc9e850' + '7a3de7e91d581b6c9119965ac34b9510' + '8abfd4926fec074847c4d28465af22bb' + '21dc715b3b2fb90c5349a12966277bc6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + msg "Starting make..." + + sed -i -e 's/${PYTHON_EXECUTABLE}/python2/g' CMakeLists.txt + patch -p1 < ../gcc47.patch + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . + make + + cd spectrumctl + python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Various needed folders -- correct permissions are set in spectrum.install + install -d "${pkgdir}/etc/spectrum" + install -d "${pkgdir}/var/log/spectrum" + install -d "${pkgdir}/var/lib/spectrum" + + # Install binaries and Python control script + make DESTDIR="${pkgdir}" install + + cd spectrumctl + python2 setup.py install --root="${pkgdir}" + + # Install initscript and logrotate config + install -Dm755 "${srcdir}/${pkgname}-${pkgver}/initscripts/archlinux/spectrum-rc.d" "${pkgdir}/etc/rc.d/spectrum" + install -Dm644 "${srcdir}/${pkgname}-${pkgver}/initscripts/archlinux/spectrum-conf.d" "${pkgdir}/etc/conf.d/spectrum" + install -Dm644 "${srcdir}/logrotate.spectrum" "${pkgdir}/etc/logrotate.d/spectrum" + + # Install systemd related files + install -Dm644 "${srcdir}/spectrum@.service" "${pkgdir}/usr/lib/systemd/system/spectrum@.service" + install -Dm644 "${srcdir}/spectrum.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/spectrum.conf" + + # Patch to use python2 + sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/spectrumctl" +} diff --git a/pcr/spectrum/gcc47.patch b/pcr/spectrum/gcc47.patch new file mode 100644 index 000000000..82cc58677 --- /dev/null +++ b/pcr/spectrum/gcc47.patch @@ -0,0 +1,97 @@ +diff -rupN spectrum-1.4.8/src/configinterface.cpp spectrum-1.4.8_gcc47/src/configinterface.cpp +--- spectrum-1.4.8/src/configinterface.cpp 2011-06-11 15:17:44.000000000 +0200 ++++ spectrum-1.4.8_gcc47/src/configinterface.cpp 2012-04-14 18:27:14.000000000 +0200 +@@ -18,6 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA + */ + ++#include + #include "configinterface.h" + #include "sys/un.h" + #include "sys/socket.h" +diff -rupN spectrum-1.4.8/src/spectrum_util.cpp spectrum-1.4.8_gcc47/src/spectrum_util.cpp +--- spectrum-1.4.8/src/spectrum_util.cpp 2011-06-11 15:17:44.000000000 +0200 ++++ spectrum-1.4.8_gcc47/src/spectrum_util.cpp 2012-04-14 18:26:33.000000000 +0200 +@@ -28,6 +28,7 @@ + #include "protocols/abstractprotocol.h" + #include "transport.h" + #include ++#include + #ifdef BSD + #include + #include +diff -rupN spectrum-1.4.8/src/utf8/checked.h spectrum-1.4.8_gcc47/src/utf8/checked.h +--- spectrum-1.4.8/src/utf8/checked.h 2010-10-08 09:15:22.000000000 +0200 ++++ spectrum-1.4.8_gcc47/src/utf8/checked.h 2012-04-14 18:26:31.000000000 +0200 +@@ -65,6 +65,35 @@ namespace utf8 + + /// The library API - functions intended to be called by the users + ++ template ++ octet_iterator append(uint32_t cp, octet_iterator result) ++ { ++ if (!internal::is_code_point_valid(cp)) ++ throw invalid_code_point(cp); ++ ++ if (cp < 0x80) // one octet ++ *(result++) = static_cast(cp); ++ else if (cp < 0x800) { // two octets ++ *(result++) = static_cast((cp >> 6) | 0xc0); ++ *(result++) = static_cast((cp & 0x3f) | 0x80); ++ } ++ else if (cp < 0x10000) { // three octets ++ *(result++) = static_cast((cp >> 12) | 0xe0); ++ *(result++) = static_cast(((cp >> 6) & 0x3f) | 0x80); ++ *(result++) = static_cast((cp & 0x3f) | 0x80); ++ } ++ else if (cp <= internal::CODE_POINT_MAX) { // four octets ++ *(result++) = static_cast((cp >> 18) | 0xf0); ++ *(result++) = static_cast(((cp >> 12)& 0x3f) | 0x80); ++ *(result++) = static_cast(((cp >> 6) & 0x3f) | 0x80); ++ *(result++) = static_cast((cp & 0x3f) | 0x80); ++ } ++ else ++ throw invalid_code_point(cp); ++ ++ return result; ++ } ++ + template + output_iterator replace_invalid(octet_iterator start, octet_iterator end, output_iterator out, uint32_t replacement) + { +@@ -104,35 +133,6 @@ namespace utf8 + } + + template +- octet_iterator append(uint32_t cp, octet_iterator result) +- { +- if (!internal::is_code_point_valid(cp)) +- throw invalid_code_point(cp); +- +- if (cp < 0x80) // one octet +- *(result++) = static_cast(cp); +- else if (cp < 0x800) { // two octets +- *(result++) = static_cast((cp >> 6) | 0xc0); +- *(result++) = static_cast((cp & 0x3f) | 0x80); +- } +- else if (cp < 0x10000) { // three octets +- *(result++) = static_cast((cp >> 12) | 0xe0); +- *(result++) = static_cast(((cp >> 6) & 0x3f) | 0x80); +- *(result++) = static_cast((cp & 0x3f) | 0x80); +- } +- else if (cp <= internal::CODE_POINT_MAX) { // four octets +- *(result++) = static_cast((cp >> 18) | 0xf0); +- *(result++) = static_cast(((cp >> 12)& 0x3f) | 0x80); +- *(result++) = static_cast(((cp >> 6) & 0x3f) | 0x80); +- *(result++) = static_cast((cp & 0x3f) | 0x80); +- } +- else +- throw invalid_code_point(cp); +- +- return result; +- } +- +- template + uint32_t next(octet_iterator& it, octet_iterator end) + { + uint32_t cp = 0; diff --git a/pcr/spectrum/logrotate.spectrum b/pcr/spectrum/logrotate.spectrum new file mode 100644 index 000000000..ae52ff156 --- /dev/null +++ b/pcr/spectrum/logrotate.spectrum @@ -0,0 +1,10 @@ +/var/log/spectrum/*.log { + notifempty + missingok + sharedscripts + postrotate + for P in /var/run/spectrum/*.pid; do + /bin/kill -HUP `cat "$P" 2>/dev/null` 2>/dev/null || true + done + endscript +} diff --git a/pcr/spectrum/spectrum.install b/pcr/spectrum/spectrum.install new file mode 100644 index 000000000..d3e0449fc --- /dev/null +++ b/pcr/spectrum/spectrum.install @@ -0,0 +1,45 @@ +# arg 1: the new package version +post_install() { + if [ -z "`grep '^spectrum:' /etc/group`" ]; then + groupadd -g 417 spectrum + fi + if [ -z "`grep '^spectrum:' /etc/passwd`" ]; then + useradd -u 417 -d /etc/spectrum -g spectrum -s /bin/false spectrum + fi + + chown spectrum:spectrum var/lib/spectrum + chown spectrum:spectrum var/log/spectrum + +cat << EOF + +==> Documentation: http://spectrum.im/ + +==> You must now customize the configuration file located in /etc/spectrum/. Copy and reconfigure for each seperate protocol. + +EOF + +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# arg 1: the old package version +post_remove() { + userdel spectrum + + paths=(/etc/spectrum /var/lib/spectrum /var/log/spectrum) + + first=true + for path in ${paths[@]}; do + if [ -d $path ]; then + if $first; then + first=false + echo "==> Leftover Paths:" + fi + echo "==> $path" + fi + done +} diff --git a/pcr/spectrum/spectrum.tmpfiles b/pcr/spectrum/spectrum.tmpfiles new file mode 100644 index 000000000..cabe97bc5 --- /dev/null +++ b/pcr/spectrum/spectrum.tmpfiles @@ -0,0 +1 @@ +d /run/spectrum 0750 spectrum spectrum - diff --git a/pcr/spectrum/spectrum@.service b/pcr/spectrum/spectrum@.service new file mode 100644 index 000000000..8e1338543 --- /dev/null +++ b/pcr/spectrum/spectrum@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Spectrum XMPP transport for %i +After=network.service prosody.service ejabberd.service + +[Service] +Type=forking +PIDFile=/run/spectrum/%i.pid +ExecStart=/usr/bin/spectrumctl --su=spectrum -c /etc/spectrum/%i.cfg start +ExecStop=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg stop +ExecReload=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg reload + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3 From 3e6467f21d721bd98fa72ec5b842a673f3d60549 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Feb 2013 15:14:50 -0500 Subject: Adding strongswan, tokyotyrant to pcr --- pcr/strongswan/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++ pcr/strongswan/strongswan.rc | 43 ++++++++++++++++++++++++++++++++++++++ pcr/tokyotyrant/PKGBUILD | 33 +++++++++++++++++++++++++++++ pcr/tokyotyrant/tokyotyrant.conf | 21 +++++++++++++++++++ pcr/tokyotyrant/tokyotyrant.rc | 41 ++++++++++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+) create mode 100644 pcr/strongswan/PKGBUILD create mode 100644 pcr/strongswan/strongswan.rc create mode 100644 pcr/tokyotyrant/PKGBUILD create mode 100644 pcr/tokyotyrant/tokyotyrant.conf create mode 100644 pcr/tokyotyrant/tokyotyrant.rc (limited to 'pcr') diff --git a/pcr/strongswan/PKGBUILD b/pcr/strongswan/PKGBUILD new file mode 100644 index 000000000..ed603e5c2 --- /dev/null +++ b/pcr/strongswan/PKGBUILD @@ -0,0 +1,45 @@ +# Contributor: nikicat +# Contributor: danilo +# Contributor: Jason Begley +# Contributor: Ray Kohler +# Contributor: Daniel Riedemann +# Contributor: 458italia +# Maintainer: dkorzhevin + +pkgname=strongswan +pkgver=5.0.1 +pkgrel=2 +pkgdesc="open source IPsec implementation" +url='http://www.strongswan.org' +license=("GPL") +arch=('i686' 'x86_64' 'mips64el') +depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite3') +conflicts=('openswan') +options=(!libtool) +backup=(etc/ipsec.conf etc/strongswan.conf) +source=(http://download.strongswan.org/${pkgname}-${pkgver}.tar.bz2 strongswan.rc::https://gist.github.com/raw/3106703/96d2ce9683f1e33ef14c679880ddc298e9673508/strongswan.rc) +md5sums=('58fdeb49f133139a58f4d8adafc69a16' + 'cf815adef48a1ffee34517380c731277') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} || return 1 + + ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-ipsecdir=/usr/lib/strongswan \ + --enable-sqlite \ + --enable-openssl --enable-curl \ + --enable-sql --enable-attr-sql \ + --enable-farp --enable-dhcp \ + --enable-eap-sim --enable-eap-sim-file --enable-eap-simaka-pseudonym \ + --enable-eap-simaka-reauth --enable-eap-identity --enable-eap-md5 \ + --enable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \ + --enable-eap-mschapv2 --enable-eap-radius --enable-xauth-eap \ + --enable-ha \ + --disable-mysql --disable-ldap || return 1 + + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + + install -d ${pkgdir}/etc/rc.d || return 1 + ln -s /usr/sbin/ipsec ${pkgdir}/etc/rc.d/ipsec || return 1 + install -Dm755 ${srcdir}/strongswan.rc ${pkgdir}/etc/rc.d/strongswan || return 1 +} diff --git a/pcr/strongswan/strongswan.rc b/pcr/strongswan/strongswan.rc new file mode 100644 index 000000000..58c99c092 --- /dev/null +++ b/pcr/strongswan/strongswan.rc @@ -0,0 +1,43 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting strongSwan IPsec" + /usr/sbin/ipsec start + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + add_daemon strongswan + fi + ;; + stop) + stat_busy "Stopping strongSwan IPsec" + /usr/sbin/ipsec stop + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + rm_daemon strongswan + fi + ;; + restart) + stat_busy "Restarting strongSwan IPsec" + /usr/sbin/ipsec restart + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + add_daemon strongswan + fi + ;; + status) + /usr/sbin/ipsec status + ;; + *) + echo "usage: $0 {start|stop|restart|status}" +esac + diff --git a/pcr/tokyotyrant/PKGBUILD b/pcr/tokyotyrant/PKGBUILD new file mode 100644 index 000000000..ea5c94e30 --- /dev/null +++ b/pcr/tokyotyrant/PKGBUILD @@ -0,0 +1,33 @@ +# # Maintainer: Angel Velasquez +# Contributor: Paul Sadauskas + +pkgname=tokyotyrant +pkgver=1.1.41 +pkgrel=3 +pkgdesc="Network interface to TokyoCabinet" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.fallabs.com" +license=('LGPL') +makedepends=('gcc>=3.1' 'make' 'pkgconfig') +depends=('zlib' 'bzip2' 'tokyocabinet>=1.4.27') +source=("http://fallabs.com/$pkgname/$pkgname-$pkgver.tar.gz" + "tokyotyrant.rc" + "tokyotyrant.conf") + +md5sums=('a47e58897bd1cbbac173d5a66cc32ae3' + '3ed9229c9cfb8e1b3055b814d5038799' + '2558846ece69d1f265ee1ba5728c39cd') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install + install -m 644 -D ${srcdir}/tokyotyrant.conf $pkgdir/etc/conf.d/ttserver + install -m 755 -D ${srcdir}/tokyotyrant.rc $pkgdir/etc/rc.d/ttserver +} + diff --git a/pcr/tokyotyrant/tokyotyrant.conf b/pcr/tokyotyrant/tokyotyrant.conf new file mode 100644 index 000000000..77c299a81 --- /dev/null +++ b/pcr/tokyotyrant/tokyotyrant.conf @@ -0,0 +1,21 @@ +# /etc/conf.d/ttserver: config file for /etc/init.d/ttserver + +# TCP port TokyoTyrant server should listen on +TYRANT_PORT="1978" + +# Location of the TokyoTyrant server database +# Also put addional options here, eg, #bnum +# See 'ttserver' man page +TYRANT_DB="/var/lib/tokyotyrant/tokyotyrant.tch" + +# Location of the TokyoTyrant server log file +TYRANT_LOG_FILE="/var/log/ttserver.log" + +# Location of the TokyoTyrant server PID file +TYRANT_PID_FILE="/var/run/ttserver.pid" + +# Pass extra options to TokyoTyrant server +# Example: TYRANT_EXTRA_OPTS="-ld" - enables logging of debug messages +# See the 'ttserver' man page for more +TYRANT_EXTRA_OPTS="" + diff --git a/pcr/tokyotyrant/tokyotyrant.rc b/pcr/tokyotyrant/tokyotyrant.rc new file mode 100644 index 000000000..eaecb0af0 --- /dev/null +++ b/pcr/tokyotyrant/tokyotyrant.rc @@ -0,0 +1,41 @@ +#!/bin/bash + +# source config +[ -f /etc/conf.d/ttserver ] && . /etc/conf.d/ttserver + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting TokyoTyrant Server" + /usr/bin/ttserver ${TYRANT_EXTRA_OPTS} -dmn -pid ${TYRANT_PID_FILE} -log ${TYRANT_LOG_FILE} -port ${TYRANT_PORT} ${TYRANT_DB} + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon ttserver + stat_done + fi + ;; + stop) + stat_busy "Stopping TokyoTyrant Server" + if [ -f $TYRANT_PID_FILE ]; then + pid=`cat "$TYRANT_PID_FILE"` + kill -TERM "$pid" + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon ttserver + stat_done + fi + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 -- cgit v1.2.3 From 49eec46aeb12ce8e0d269ef9a04d48b64b0b5628 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Feb 2013 20:59:24 -0500 Subject: Adding packages to pcr --- pcr/libowfat/PKGBUILD | 30 +++++++++++++++++++ pcr/libowfat/libowfat.install | 39 +++++++++++++++++++++++++ pcr/ruby-headers/PKGBUILD | 31 ++++++++++++++++++++ pcr/seeks/PKGBUILD | 65 +++++++++++++++++++++++++++++++++++++++++ pcr/seeks/conf.patch | 20 +++++++++++++ pcr/seeks/docbook2man.patch | 24 +++++++++++++++ pcr/seeks/img_websearch.patch | 13 +++++++++ pcr/seeks/install | 18 ++++++++++++ pcr/seeks/logfile.patch | 29 ++++++++++++++++++ pcr/seeks/seeks | 68 +++++++++++++++++++++++++++++++++++++++++++ pcr/seeks/seeks.conf.d | 11 +++++++ pcr/seeks/seeks.install | 12 ++++++++ pcr/seeks/seeks.logrotate | 6 ++++ pcr/seeks/seeks.rc.d | 57 ++++++++++++++++++++++++++++++++++++ pcr/seeks/seeksdaemon | 41 ++++++++++++++++++++++++++ pcr/sipwitch/PKGBUILD | 32 ++++++++++++++++++++ pcr/sobby/PKGBUILD | 24 +++++++++++++++ pcr/squirm/PKGBUILD | 32 ++++++++++++++++++++ 18 files changed, 552 insertions(+) create mode 100644 pcr/libowfat/PKGBUILD create mode 100644 pcr/libowfat/libowfat.install create mode 100644 pcr/ruby-headers/PKGBUILD create mode 100644 pcr/seeks/PKGBUILD create mode 100644 pcr/seeks/conf.patch create mode 100644 pcr/seeks/docbook2man.patch create mode 100644 pcr/seeks/img_websearch.patch create mode 100644 pcr/seeks/install create mode 100644 pcr/seeks/logfile.patch create mode 100755 pcr/seeks/seeks create mode 100644 pcr/seeks/seeks.conf.d create mode 100644 pcr/seeks/seeks.install create mode 100644 pcr/seeks/seeks.logrotate create mode 100644 pcr/seeks/seeks.rc.d create mode 100644 pcr/seeks/seeksdaemon create mode 100644 pcr/sipwitch/PKGBUILD create mode 100644 pcr/sobby/PKGBUILD create mode 100644 pcr/squirm/PKGBUILD (limited to 'pcr') diff --git a/pcr/libowfat/PKGBUILD b/pcr/libowfat/PKGBUILD new file mode 100644 index 000000000..e2602046d --- /dev/null +++ b/pcr/libowfat/PKGBUILD @@ -0,0 +1,30 @@ +# Contributors: +# Alexander Ulrich +# Mildred +# henning mueller + +pkgname=libowfat +pkgver=0.29 +pkgrel=2 +pkgdesc='GPL reimplementation of libdjb' +arch=(i686 x86_64 mips64el) +url=http://www.fefe.de/libowfat/ +depends=() +license=(GPL) +install=libowfat.install +source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2) +md5sums=(6bbee9a86506419657d87123b7a6f2c1) + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr/ LIBDIR=$pkgdir/usr/lib MAN3DIR=$pkgdir/usr/share/man/man3 install + + cd $pkgdir/usr/share/man/man3 + mv buffer.3 buffer-libowfat.3 +} +md5sums=('1187c6acf11429e7adb9ebe180f644bb') diff --git a/pcr/libowfat/libowfat.install b/pcr/libowfat/libowfat.install new file mode 100644 index 000000000..a08aef10c --- /dev/null +++ b/pcr/libowfat/libowfat.install @@ -0,0 +1,39 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + echo "The manpage buffer(3) was moved to buffer-libowfat(3) because + it conflicts with package openssl" +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* diff --git a/pcr/ruby-headers/PKGBUILD b/pcr/ruby-headers/PKGBUILD new file mode 100644 index 000000000..855c7ff38 --- /dev/null +++ b/pcr/ruby-headers/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: fauno +# Contributor: Hilton Medeiros + +pkgname=ruby-headers +_pkgname=ruby +pkgver=1.9.3_p385 +_pkgver=1.9.3-p385 +pkgrel=1 +pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug." +arch=('any') +url="http://www.ruby-lang.org/en/" +license=('GPL2' 'custom:Ruby') +depends=("ruby=$pkgver") +source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") + +build() { + /bin/true +} + +package() { + cd "$srcdir/$_pkgname-$_pkgver" + + # Just to make sure, since currently we have /usr/include/ruby-1.9.1 for ruby 1.9.2 + _hdrdir=`ruby -e "require 'rbconfig'; puts Config::CONFIG['rubyhdrdir']"` + + install -d "$pkgdir$_hdrdir/$_pkgname-$_pkgver" + install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +md5sums=('5ec9aff670f4912b0f6f0e11e855ef6c') diff --git a/pcr/seeks/PKGBUILD b/pcr/seeks/PKGBUILD new file mode 100644 index 000000000..32abb13f8 --- /dev/null +++ b/pcr/seeks/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Kete < kete at ninthfloor dot org > + +pkgname=seeks +pkgver=0.4.1 +pkgrel=6 +pkgdesc="A social decentralized internet overlay for collaborative searches" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.seeks-project.info/site/" +license=('AGPL3' 'LGPL' 'BSD') +backup=('etc/logrotate.d/seeks' + 'etc/conf.d/seeks' + 'etc/seeks/config') +depends=('curl' 'libevent>=2.0' 'libxml2' 'opencv' 'protobuf' 'icu' 'tokyotyrant') +makedepends=('pkg-config' 'docbook-xml' 'docbook2x') +source=("http://downloads.sourceforge.net/project/${pkgname}/hippy/${pkgname}-${pkgver}.tar.gz" +'seeks.conf.d' + 'seeks.rc.d' + 'img_websearch.patch' + 'conf.patch' + 'seeks.logrotate') +install=seeks.install + +build() { + cd "$srcdir/$pkgname-$pkgver" + # replace by + patch -p1 -i "$srcdir/img_websearch.patch" + + # linking issue with --as-needed linker flag, Cli not building with RC2 + LDFLAGS="-Wl,--no-as-needed" \ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-httpserv-plugin \ + --enable-extended-host-patterns + #--disable-cli \ + + sed -i s/,--as-needed,/,/ config.status + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check-local +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + # Patch config file to make seeks log in /var/log instead of ./ (needed for rc.d) + patch -p1 -i "$srcdir/conf.patch" + make DESTDIR="$pkgdir/" install + + install -D -m644 Licenses "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 ../seeks.conf.d "${pkgdir}/etc/conf.d/seeks" + install -D -m755 ../seeks.rc.d "${pkgdir}/etc/rc.d/seeks" + install -D -m600 ../seeks.logrotate "${pkgdir}/etc/logrotate.d/seeks" + install -d -m755 "${pkgdir}/var/log/seeks" + install -d -m755 "${pkgdir}/var/lib/seeks" +} + +# vim:set ts=2 sw=2 et: +md5sums=('2545192be5fa2e70d850f7395d039a0f' + 'ed29089d43873600726d570e63a5043d' + '72a00a931363edd2ed11c0072bfd5b10' + '2554e9f9f733d83203d0926e599e66db' + '71a99dafa726539b9de9055468e2f56c' + '5fbdf9c327999605b0f124132f27a27d') diff --git a/pcr/seeks/conf.patch b/pcr/seeks/conf.patch new file mode 100644 index 000000000..93e12c311 --- /dev/null +++ b/pcr/seeks/conf.patch @@ -0,0 +1,20 @@ +--- a/src/config 2011-11-13 15:21:14.000000000 +0100 ++++ b/src/config 2011-11-13 15:46:15.856186336 +0100 +@@ -148,7 +148,7 @@ + # + # No trailing "/", please. + # +-confdir . ++confdir /etc/seeks + # + # + # 2.2. templdir +@@ -193,7 +193,7 @@ + # + # No trailing "/", please. + # +-logdir . ++logdir /var/log/seeks + # + # + # 2.4. logfile diff --git a/pcr/seeks/docbook2man.patch b/pcr/seeks/docbook2man.patch new file mode 100644 index 000000000..c5de2e063 --- /dev/null +++ b/pcr/seeks/docbook2man.patch @@ -0,0 +1,24 @@ +--- seeks/configure 2011-07-30 15:16:27.000000000 +0200 ++++ seeks/configure.patch 2011-07-30 16:04:34.000000000 +0200 +@@ -16726,10 +16726,10 @@ PCRE_CFLAGS=`$PCRE_CONFIG --cflags` + + + #========================================================================== +-# Finding docbook2x-man ++# Finding docbook2man + #========================================================================== +-# Extract the first word of "docbook2x-man", so it can be a program name with args. +-set dummy docbook2x-man; ac_word=$2 ++# Extract the first word of "docbook2man", so it can be a program name with args. ++set dummy docbook2man; ac_word=$2 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } + if ${ac_cv_prog_docbook+:} false; then : +--- seeks/doc/Makefile.am 2011-07-30 16:51:14.000000000 +0200 ++++ seeks/doc/Makefile.am.patch 2011-07-30 16:55:58.000000000 +0200 +@@ -8,4 +8,4 @@ endif + + EXTRA_DIST=seeks.1.docbook + seeks.1: +- docbook2x-man ${srcdir}/seeks.1.docbook ++ docbook2man ${srcdir}/seeks.1.docbook diff --git a/pcr/seeks/img_websearch.patch b/pcr/seeks/img_websearch.patch new file mode 100644 index 000000000..94362e2fc --- /dev/null +++ b/pcr/seeks/img_websearch.patch @@ -0,0 +1,13 @@ +diff --git a/src/plugins/img_websearch/ocvsurf.cpp b/src/plugins/img_websearch/ocvsurf.cpp +index 5caa9dd..c3cccb4 100644 +--- a/src/plugins/img_websearch/ocvsurf.cpp ++++ b/src/plugins/img_websearch/ocvsurf.cpp +@@ -29,7 +29,7 @@ + #include "miscutil.h" + #include "errlog.h" + +-#include ++#include + + #include + #include diff --git a/pcr/seeks/install b/pcr/seeks/install new file mode 100644 index 000000000..35f383a3c --- /dev/null +++ b/pcr/seeks/install @@ -0,0 +1,18 @@ +post_install() { + getent group seeks >/dev/null || groupadd -r seeks + getent passwd seeks >/dev/null || useradd -r -c "Seeks daemon" -g seeks -M -d /var/run/seeks -s /bin/false seeks + passwd -l seeks &>/dev/null + touch var/log/seeks.log + chown seeks:log var/log/seeks.log + mkdir -p var/lib/seeks + touch var/lib/seeks/seeks.db + chown -R seeks:seeks var/lib/seeks +} + +pre_remove() { + getent passwd seeks &>/dev/null && userdel seeks >/dev/null + getent group seeks &>/dev/null && groupdel seeks >/dev/null + return 0 +} + + diff --git a/pcr/seeks/logfile.patch b/pcr/seeks/logfile.patch new file mode 100644 index 000000000..9f4ab9b02 --- /dev/null +++ b/pcr/seeks/logfile.patch @@ -0,0 +1,29 @@ +--- config 2011-10-21 10:42:20.000000000 +0200 ++++ config.patch 2011-11-17 18:48:48.914516206 +0100 +@@ -193,7 +193,7 @@ + # + # No trailing "/", please. + # +-logdir . ++logdir /var/log/ + # + # + # 2.4. logfile +@@ -239,7 +239,7 @@ + # Any log files must be writable by whatever user Seeks is + # being run as. + # +-logfile logfile ++logfile seeks.log + # + # + # 2.5. plugindir +@@ -377,7 +377,7 @@ + # Unset. This means the db is located in $HOME/.seeks/seeks_user.db + # as default location. + # +-# user-db-file /path/to/file.db ++user-db-file /var/lib/seeks/seeks.db + # + # 2.10. user-db-address + # ===================== diff --git a/pcr/seeks/seeks b/pcr/seeks/seeks new file mode 100755 index 000000000..01f34a432 --- /dev/null +++ b/pcr/seeks/seeks @@ -0,0 +1,68 @@ +#!/bin/bash + +daemon_name="seeks" + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/$daemon_name + +get_pid() { + pidof -o %PPID $daemon_name +} + +case "$1" in + start) + stat_busy "Starting $daemon_name daemon" + + PID=$(get_pid) + if [ -z "$PID" ]; then + [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid + # RUN + $daemon_name $SEEKS_ARGS 2> /dev/null + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + echo $(get_pid) > /var/run/$daemon_name.pid + add_daemon $daemon_name + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping $daemon_name daemon" + PID=$(get_pid) + # KILL + [ ! -z "$PID" ] && kill $PID &> /dev/null + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/$daemon_name.pid &> /dev/null + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + status) + stat_busy "Checking $daemon_name status"; + ck_status $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|restart|status}" +esac + +exit 0 diff --git a/pcr/seeks/seeks.conf.d b/pcr/seeks/seeks.conf.d new file mode 100644 index 000000000..c28382aca --- /dev/null +++ b/pcr/seeks/seeks.conf.d @@ -0,0 +1,11 @@ +# +# Arguments to be passed to the Seeks daemon +# + +# User +SEEKS_USER="seeks" +# Config file (default if empty) +SEEKS_CONFIG="" +# Args +SEEKS_ARGS="" + diff --git a/pcr/seeks/seeks.install b/pcr/seeks/seeks.install new file mode 100644 index 000000000..bf9849e78 --- /dev/null +++ b/pcr/seeks/seeks.install @@ -0,0 +1,12 @@ +post_install() { + getent group seeks >/dev/null || groupadd -r seeks + getent passwd seeks >/dev/null || useradd -r -c "Seeks daemon" -g seeks -M -d /var/lib/seeks -s /bin/false seeks + passwd -l seeks &>/dev/null + chown seeks:seeks var/log/seeks var/lib/seeks +} + +pre_remove() { + getent passwd seeks &>/dev/null && userdel seeks >/dev/null + getent group seeks &>/dev/null && groupdel seeks >/dev/null + return 0 +} diff --git a/pcr/seeks/seeks.logrotate b/pcr/seeks/seeks.logrotate new file mode 100644 index 000000000..98b411884 --- /dev/null +++ b/pcr/seeks/seeks.logrotate @@ -0,0 +1,6 @@ +/var/log/seeks/logfile { + missingok + notifempty + size 30k + create +} diff --git a/pcr/seeks/seeks.rc.d b/pcr/seeks/seeks.rc.d new file mode 100644 index 000000000..67de9251a --- /dev/null +++ b/pcr/seeks/seeks.rc.d @@ -0,0 +1,57 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/seeks + +PIDFILE="/var/run/seeks.pid" + +if [[ -f $PIDFILE ]]; then + read -r PID < "$PIDFILE" + + # prevent stale pidfiles from hanging around + if [[ ! -d /proc/$PID ]]; then + echo 'pid not found. deleteing stale pidfile' + unset PID + rm -f "$PIDFILE" + fi +fi + +case "$1" in + start) + stat_busy "Starting Seeks" + if [[ $PID ]]; then + stat_fail + exit 1 + fi + if /usr/bin/seeks --daemon --pidfile "$PIDFILE" --user $SEEKS_USER $SEEKS_ARGS $SEEKS_CONFIG 2>&1 > /dev/null; then + add_daemon seeks + stat_done + else + stat_fail + exit 1 + fi + ;; + stop) + stat_busy "Stopping Seeks" + if [[ ! $PID ]]; then + stat_fail + exit 1 + fi + if { kill $PID && rm -f "$PIDFILE"; } &>/dev/null; then + rm_daemon seeks + stat_done + else + stat_fail + exit 1 + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac + diff --git a/pcr/seeks/seeksdaemon b/pcr/seeks/seeksdaemon new file mode 100644 index 000000000..551197d28 --- /dev/null +++ b/pcr/seeks/seeksdaemon @@ -0,0 +1,41 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/seeks + +PID=`pidof -o %PPID /usr/bin/seeks` + +case "$1" in + start) + stat_busy "Starting seeks daemon" + [ -z "$PID" ] && /usr/bin/seeks $SEEKS_ARGS + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon seeks + stat_done + fi + ;; + + stop) + stat_busy "Stopping seeks daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon seeks + stat_done + fi + ;; + restart) + $0 stop + while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" + +esac +exit 0 + diff --git a/pcr/sipwitch/PKGBUILD b/pcr/sipwitch/PKGBUILD new file mode 100644 index 000000000..22852780c --- /dev/null +++ b/pcr/sipwitch/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Dan Serban +# Contributors: David Zaragoza, Andrea Scarpino +# Maintainer (Parabola): André Silva + +pkgname=sipwitch +pkgver=1.2.4 +pkgrel=2 +pkgdesc="A call and registration server for the SIP protocol" +arch=(i686 x86_64 mips64el) +url=http://www.gnutelephony.org/index.php/GNU_SIP_Witch +license=(GPL) +depends=(libexosip2 ucommon) +makedepends=(lynx) +options=('!libtool') +source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('6119cecb062ba4d0af18b427b01c41e2') + +build() +{ + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() +{ + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + mkdir -p "${pkgdir}"/etc/rc.d + touch "${pkgdir}"/etc/rc.d/"${pkgname}" +} + diff --git a/pcr/sobby/PKGBUILD b/pcr/sobby/PKGBUILD new file mode 100644 index 000000000..892d88cee --- /dev/null +++ b/pcr/sobby/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Thomas Jost +pkgname=sobby +pkgver=0.4.8 +pkgrel=2 +pkgdesc="Standalone obby server" +url="http://gobby.0x539.de/trac/" +license="GPL" +depends=('obby=0.4.8' 'libxml++') +makedepends=('pkgconfig' 'net6>=1.3.12') +arch=('i686' 'x86_64' 'mips64el') +source=(http://releases.0x539.de/sobby/sobby-$pkgver.tar.gz{,.sig}) + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} +md5sums=('1f7cf8c09cdeddbf2152843b28f73ce1' + '96822427ab95289ebb1520e6353c5d3c') diff --git a/pcr/squirm/PKGBUILD b/pcr/squirm/PKGBUILD new file mode 100644 index 000000000..a1249c39d --- /dev/null +++ b/pcr/squirm/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Spider.007 +# Contributor: Spider.007 +pkgname=squirm +pkgver=1.26 +pkgrel=2 +pkgdesc="Fast & configurable proxy redirector" +url="http://squirm.foote.com.au/" +source=("$url/$pkgname-$pkgver.tgz") +md5sums=('54ac1d208620ec1e4419f97315d38848') +license=('GPL2') +arch=('i686' 'x86_64' 'mips64el') + +build() { + cd $srcdir/$pkgname-$pkgver + + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver + +# make install uses a weird prefix + install -d $pkgdir/etc/squirm $pkgdir/var/log/squirm + install -Dm755 squirm $pkgdir/usr/bin/squirm + install -m644 squirm.conf.dist $pkgdir/etc/squirm/squirm.conf + install -m644 squirm.patterns.dist $pkgdir/etc/squirm/squirm.patterns + +# use absolute path files + sed -e "s,logs,/var/log/squirm,g" \ + -e "s,pattern ,& /etc/squirm/,g" \ + -i $pkgdir/etc/squirm/squirm.conf +} -- cgit v1.2.3 From 0174f5578fd28a78c48e99e1730fdae27c0fdb1b Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 16 Feb 2013 00:18:10 -0500 Subject: Adding packages to pcr --- pcr/miniupnpd/PKGBUILD | 49 +++++++++++++++++ pcr/miniupnpd/miniupnpd.init | 51 +++++++++++++++++ pcr/miniupnpd/miniupnpd.systemd | 12 ++++ pcr/monkeysphere/PKGBUILD | 22 ++++++++ pcr/monkeysphere/monkeysphere.install | 43 +++++++++++++++ pcr/netatalk/PKGBUILD | 43 +++++++++++++++ pcr/netatalk/netatalk.changelog | 101 ++++++++++++++++++++++++++++++++++ pcr/netatalk/netatalk.install | 20 +++++++ pcr/olsrd/PKGBUILD | 31 +++++++++++ pcr/olsrd/olsrd.install | 21 +++++++ pcr/olsrd/rc.d.olsrd | 36 ++++++++++++ pcr/openswan/PKGBUILD | 46 ++++++++++++++++ pcr/openswan/compile.patch | 11 ++++ pcr/openswan/openswan.rc.d | 43 +++++++++++++++ 14 files changed, 529 insertions(+) create mode 100644 pcr/miniupnpd/PKGBUILD create mode 100644 pcr/miniupnpd/miniupnpd.init create mode 100644 pcr/miniupnpd/miniupnpd.systemd create mode 100644 pcr/monkeysphere/PKGBUILD create mode 100644 pcr/monkeysphere/monkeysphere.install create mode 100644 pcr/netatalk/PKGBUILD create mode 100644 pcr/netatalk/netatalk.changelog create mode 100644 pcr/netatalk/netatalk.install create mode 100644 pcr/olsrd/PKGBUILD create mode 100755 pcr/olsrd/olsrd.install create mode 100755 pcr/olsrd/rc.d.olsrd create mode 100644 pcr/openswan/PKGBUILD create mode 100644 pcr/openswan/compile.patch create mode 100755 pcr/openswan/openswan.rc.d (limited to 'pcr') diff --git a/pcr/miniupnpd/PKGBUILD b/pcr/miniupnpd/PKGBUILD new file mode 100644 index 000000000..30108d4d5 --- /dev/null +++ b/pcr/miniupnpd/PKGBUILD @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: None +pkgname=miniupnpd +pkgver=1.7.20121005 +pkgrel=4 +pkgdesc="Lightweight UPnP IGD daemon" +arch=('i686' 'x86_64' 'mips64el') +url="http://miniupnp.free.fr" +license=('BSD') +backup=(etc/miniupnpd/miniupnpd.conf) +depends=('libnfnetlink') +source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.init miniupnpd.systemd) +sha1sums=('4579c4711a8455bf455f3757ac9ce0dc40088901' + 'c84031d7af122c5bede8609bcfa80bc31f2a5e61' + '9cf48feb98dadee8a566b2dc7811a95020ad3895') + +_ipt_arch_ver=$(pacman -Ss iptables | awk '/\/iptables/ { print $2 }') +depends+=("iptables=$_ipt_arch_ver") + +build() { + ipt_upstream_ver=iptables-${_ipt_arch_ver%%-*} + if [ ! -d $ipt_upstream_ver ]; then + curl -O "http://www.iptables.org/projects/iptables/files/${ipt_upstream_ver}.tar.bz2" + bsdtar -jxvf $ipt_upstream_ver.tar.bz2 + fi + + cd "$srcdir/$ipt_upstream_ver" + ./configure --enable-static + make + + cd "$srcdir/$pkgname-$pkgver" + make -f Makefile.linux config.h + IPTABLESPATH="$srcdir/$ipt_upstream_ver" make -f Makefile.linux +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -p "$pkgdir/usr/share/man/man8" + make PREFIX="$pkgdir/" -f Makefile.linux install + rm -r "${pkgdir}/etc/init.d" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm755 "${srcdir}/miniupnpd.init" "${pkgdir}/etc/rc.d/miniupnpd" + install -Dm644 "${srcdir}/miniupnpd.systemd" "${pkgdir}/usr/lib/systemd/system/miniupnpd.service" + sed -i 's:/sbin/iptables:/usr/sbin/iptables: + s:eth0:"`cat /etc/miniupnpd/miniupnpd.conf | '"awk -F= '/^ext_ifname/ { print \$2 }'"'`":' "${pkgdir}"/etc/miniupnpd/*.sh + sed -i -e "s/^uuid=[-0-9a-f]*/uuid=00000000-0000-0000-0000-000000000000/ + s/make genuuid/uuidgen/" "${pkgdir}/etc/miniupnpd/miniupnpd.conf" +} + diff --git a/pcr/miniupnpd/miniupnpd.init b/pcr/miniupnpd/miniupnpd.init new file mode 100644 index 000000000..e09ac3ade --- /dev/null +++ b/pcr/miniupnpd/miniupnpd.init @@ -0,0 +1,51 @@ +#!/bin/sh + +MINIUPNPD=/usr/sbin/miniupnpd +ARGS='-f /etc/miniupnpd/miniupnpd.conf' +PIDFILE='/var/run/miniupnpd.pid' +IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh +IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh + +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting MiniUPNPd" + + if ! pidof -o %PPID $MINIUPNPD &> /dev/null; then + rm -f "$PIDFILE" + fi + + $IPTABLES_CREATE > /dev/null 2>&1 + + PID="$(cat "$PIDFILE" 2> /dev/null)" + + if [ -z "$PID" ] && $MINIUPNPD $ARGS; then + add_daemon miniupnpd + stat_done + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping MiniUPNPd" + PID="$(cat "$PIDFILE" 2> /dev/null)" + if [ -n "$PID" ] && kill "$PID" &> /dev/null; then + rm -f "$PIDFILE" + rm_daemon miniupnpd + stat_done + else + stat_fail + fi + ;; + restart) + "$0" stop + sleep 1 + "$0" start + ;; + *) + echo "Usage: /etc/rc.d/miniupnpd {start|stop|restart}" + exit 2 + ;; +esac +exit 0 diff --git a/pcr/miniupnpd/miniupnpd.systemd b/pcr/miniupnpd/miniupnpd.systemd new file mode 100644 index 000000000..4c5aa77cc --- /dev/null +++ b/pcr/miniupnpd/miniupnpd.systemd @@ -0,0 +1,12 @@ +[Unit] +Description=Lightweight UPnP IGD daemon + +[Service] +ExecStartPre=/etc/miniupnpd/iptables_init.sh +ExecStart=/usr/sbin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d +ExecStopPost=/etc/miniupnpd/iptables_removeall.sh +PIDFile=/var/run/miniupnpd.pid +StandardOutput=null + +[Install] +WantedBy=network.target diff --git a/pcr/monkeysphere/PKGBUILD b/pcr/monkeysphere/PKGBUILD new file mode 100644 index 000000000..d274631eb --- /dev/null +++ b/pcr/monkeysphere/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: fauno +# Based on monkeysphere-git from +# Contributor: Olivier Mehani +# $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $ +pkgname=monkeysphere +pkgver=0.35 +pkgrel=4 +pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" +arch=('any') +url="http://web.monkeysphere.info/" +license=('GPL3') +depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1') +source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz) +install=monkeysphere.install +md5sums=('481ac14c9fdef0ccd1944c593bd4f517') + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + mkdir -p $pkgdir/var/lib/monkeysphere +} diff --git a/pcr/monkeysphere/monkeysphere.install b/pcr/monkeysphere/monkeysphere.install new file mode 100644 index 000000000..2013f9f41 --- /dev/null +++ b/pcr/monkeysphere/monkeysphere.install @@ -0,0 +1,43 @@ +#!/bin/sh +# $Id: monkeysphere.install 264 2010-11-10 00:57:53Z shtrom $ +# vim:set ts=2 sw=2 et: + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + echo ">>> Creating monkeysphere user and group and setting permissions..." + getent group monkeysphere >/dev/null || usr/sbin/groupadd monkeysphere + getent passwd monkeysphere >/dev/null || usr/sbin/useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere + +# Should be root:root for sshd to work + chown root:root /var/lib/monkeysphere +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { +# Should be root:root for sshd to work + chown root:root /var/lib/monkeysphere +} + +# arg 1: the old package version +pre_remove() { + usr/sbin/userdel monkeysphere &>/dev/null + (getent group monkeysphere >/dev/null && usr/sbin/groupdel monkeysphere &>/dev/null) || /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + diff --git a/pcr/netatalk/PKGBUILD b/pcr/netatalk/PKGBUILD new file mode 100644 index 000000000..e3d5b265e --- /dev/null +++ b/pcr/netatalk/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: SJ_UnderWater +# Based on netatalk package : +# Maintainer: Dominik Dingel +# Contributor: William Udovich +# Contributor: Farhan Yousaf + +pkgname=netatalk +pkgver=3.0.2 +pkgrel=1 +pkgdesc='A kernel-level implementation of AFP services' +arch=('i686' 'x86_64' 'mips64el') +url='http://netatalk.sourceforge.net' +license=('GPL') +depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent') +replaces=('netatalk-git' 'netatalk2') +backup=('etc/afp.conf' + 'etc/extmap.conf') +options=('!libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2) +md5sums=('b5f1c2c4b3a5e64f5bca219415aa1c75') + +build() { + cd $pkgname-$pkgver + msg2 'Fixing...' + sed -i -e 's:AC_CONFIG_SUBDIRS:#AC_CONFIG_SUBDIRS:' -e 's/x"linux/x"generic/' macros/netatalk.m4 + sed -i 's:/lib:/usr/lib:' distrib/initscripts/Makefile.{am,in} + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' {configure.ac,libevent/configure.in} + cp /usr/share/automake*/missing . + autoreconf -i >/dev/null + msg2 'Configuring...' + CFLAGS="-Wno-unused-result" ./configure --prefix=/usr --localstatedir=/var/state --sysconfdir=/etc --with-init-style=systemd \ + --with-cracklib --with-cnid-cdb-backend --enable-pgp-uam --with-libevent=no + sed -i -e s/-Ino// -e s/-Lno// etc/netatalk/Makefile + msg2 'Making...' + make >/dev/null +} +package() { + cd $pkgname-$pkgver + msg2 'Building...' + make DESTDIR="$pkgdir" install >/dev/null +} diff --git a/pcr/netatalk/netatalk.changelog b/pcr/netatalk/netatalk.changelog new file mode 100644 index 000000000..b1ada018b --- /dev/null +++ b/pcr/netatalk/netatalk.changelog @@ -0,0 +1,101 @@ +2012-10-08 SJ_UnderWater + + * 3.0.1-3 : + moved systemd from /etc + better rc.d install test + +2012-10-05 SJ_UnderWater + + * 3.0.1-2 : + removed rc.d references + +2012-10-04 SJ_UnderWater + + * 3.0.1-1 : + new version + moved to systemd + moved state to /var/db + +2012-07-14 SJ_UnderWater + + * 3.0-3 : + moved localstate dir + to /etc for historical + reasons + +2012-07-12 SJ_UnderWater + + * 3.0-2 : + disable bundled libevent + +2012-07-11 SJ_UnderWater + + * 3.0-1 : + updated to new release + DDP moved to new pkg + +2012-06-12 SJ_UnderWater + + * 2.2.3-4 : + added kill timing + +2012-06-04 SJ_UnderWater + + * 2.2.3-3 : + removed conflicting files + +2012-06-02 SJ_UnderWater + + * 2.2.3-2 : + Missing UAM links + +2012-05-29 SJ_UnderWater + + * 2.2.3-1 : + updated package version + allowing headers and m4 + +2012-05-01 SJ_UnderWater + + * 2.2.2-6 : + moved to .rc files + refactored PKGBUILD + install rc.d files + +2012-04-25 SJ_UnderWater + + * 2.2.2-5 : + init rebuild + fix dep check + fix get_pid + function relocation + +2012-04-21 SJ_UnderWater + + * 2.2.2-4 : + moved to package() + added backup + split backup + moved depends + +2012-04-08 SJ_UnderWater + + * 2.2.2-3 : + fixed extra dependencies + FHS compliance + NAMCAP checking + moved cups to optdepends + +2012-04-07 SJ_UnderWater + + * 2.2.2-2 : + added Install + changed "conflicts" with "replace" + cleaned up PKGBUILD + + * 2.2.2-1 : + added ChangeLog. + moved to split package format + bidirectional dependency-checking + moved to release package format + PKGBUILD compliance diff --git a/pcr/netatalk/netatalk.install b/pcr/netatalk/netatalk.install new file mode 100644 index 000000000..629586531 --- /dev/null +++ b/pcr/netatalk/netatalk.install @@ -0,0 +1,20 @@ +post_install() { + post_upgrade +} +post_upgrade() { + if [ -f /etc/rc.conf ] && [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then + echo '>>> Detected old netatalk daemon entries in'; + echo '>>> /etc/rc.conf, please replace these with'; + echo '>>> "netatalk" before restarting!'; + else echo '>>> Add "netatalk" to your DAEMONS list';fi + echo '>>>'; + if [ -f /etc/avahi/services/adisk.service ] || + [ -f /etc/avahi/services/afpd.service ];then + echo '>>> Detected old netatalk service files in'; + echo '>>> /etc/avahi/services, please delete these'; + echo '>>> before restarting!';fi + if [ -f /opt/netatalk/afp_signature.conf ] || + [ -f /opt/netatalk/afp_voluuid.conf ]; then + echo '>>> Found *.conf in /opt/netatalk, please'; + echo '>>> migrate these to /etc/netatalk before restarting';fi +} diff --git a/pcr/olsrd/PKGBUILD b/pcr/olsrd/PKGBUILD new file mode 100644 index 000000000..668e39cea --- /dev/null +++ b/pcr/olsrd/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: William Rea +# Maintainer: Claudio Pisa +pkgname=olsrd +pkgver=0.6.1 +pkgrel=2 +pkgdesc="OLSR routing daemon (RFC 3626)" +arch=(i686 x86_64 ppc mips64el) +url="http://www.olsr.org" +license=('BSD') +depends=('glibc') +makedepends=('bison') +backup=etc/olsrd.conf +install=olsrd.install +source=(http://www.olsr.org/releases/0.6/${pkgname}-${pkgver}.tar.bz2 rc.d.olsrd) +md5sums=('a75fc9b6252df5b5f49f13418fafeff1' 'bc3e393e0179ffff0a6d6c9d6a5c4b60') + +build() { + cd $srcdir/$pkgname-$pkgver + + CFLAGS+=" -fPIC " \ + make OS=linux build_all +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install_all + + install -D -m755 $srcdir/rc.d.olsrd $pkgdir/etc/rc.d/olsrd + install -D -m644 license.txt $pkgdir/usr/share/licenses/olsrd/LICENSE +} + diff --git a/pcr/olsrd/olsrd.install b/pcr/olsrd/olsrd.install new file mode 100755 index 000000000..f49372538 --- /dev/null +++ b/pcr/olsrd/olsrd.install @@ -0,0 +1,21 @@ +post_install() { +echo "--------------------------------------------------------------------" +echo " Remember to edit /etc/olsrd.conf to match your network settings." +echo "--------------------------------------------------------------------" +/bin/true +} + +post_upgrade() { +/bin/true +} + +pre_remove() { +/etc/rc.d/olsrd stop +/bin/true +} + +op=$1 +shift + +$op "$@" + diff --git a/pcr/olsrd/rc.d.olsrd b/pcr/olsrd/rc.d.olsrd new file mode 100755 index 000000000..d257e22ef --- /dev/null +++ b/pcr/olsrd/rc.d.olsrd @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/olsrd` +case "$1" in + start) + stat_busy "Starting OLSR Daemon" + [ -z "$PID" ] && /usr/sbin/olsrd -d 0 &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon olsrd + stat_done + fi + ;; + stop) + stat_busy "Stopping OLSR Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon olsrd + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 + diff --git a/pcr/openswan/PKGBUILD b/pcr/openswan/PKGBUILD new file mode 100644 index 000000000..bae970025 --- /dev/null +++ b/pcr/openswan/PKGBUILD @@ -0,0 +1,46 @@ +# Contributor: Jan Fader +pkgname=openswan +pkgver=2.6.36 +pkgrel=2 +pkgdesc="Open Source implementation of IPsec for the Linux operating system" +url="http://www.openswan.org" +license=('GPL' 'custom') +arch=('i686' 'x86_64' 'mips64el') +depends=('iproute' 'gmp' 'perl') +backup=(etc/ipsec.conf \ + etc/ipsec.d/policies/{block,clear,clear-or-private,private,private-or-clear}) +source=(http://www.openswan.org/download/openswan-$pkgver.tar.gz + openswan.rc.d + compile.patch) + +build() { + # Create /etc/rc.d for init script, and license directory + mkdir -p $pkgdir/{etc/rc.d,usr/share/licenses/openswan} + + cd $srcdir/openswan-$pkgver + patch -p1 -i $srcdir/compile.patch + + # Change install paths to Arch defaults + sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|' Makefile.inc + + make USE_XAUTH=true USE_OBJDIR=true programs +} + +package(){ + cd $srcdir/openswan-$pkgver + make DESTDIR=$pkgdir install + + # Change permissions in /var + chmod 755 $pkgdir/var/run/pluto + + # Copy License + cp LICENSE $pkgdir/usr/share/licenses/openswan + + # Install init script + install -Dm755 ../openswan.rc.d $pkgdir/etc/rc.d/openswan + # fix manpages + mv $pkgdir/usr/man $pkgdir/usr/share/ +} +md5sums=('b3a1733493520bb18729633b62ef8247' + '543d84162761b9cc9ec319e938c4dd2a' + '5540437bb334873da646e21ac9caa963') diff --git a/pcr/openswan/compile.patch b/pcr/openswan/compile.patch new file mode 100644 index 000000000..8ddff67f2 --- /dev/null +++ b/pcr/openswan/compile.patch @@ -0,0 +1,11 @@ +--- openswan-2.6.23/Makefile 2009-09-09 02:42:54.000000000 +0200 ++++ Makefile 2009-12-30 10:13:53.000000000 +0100 +@@ -12,6 +12,8 @@ + # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + # for more details. + # ++CFLAGS=-fno-strict-aliasing ++CXXFLAGS=-fno-strict-aliasing + + + OPENSWANSRCDIR?=$(shell pwd) diff --git a/pcr/openswan/openswan.rc.d b/pcr/openswan/openswan.rc.d new file mode 100755 index 000000000..30bd0d56e --- /dev/null +++ b/pcr/openswan/openswan.rc.d @@ -0,0 +1,43 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting Openswan IPsec" + /etc/rc.d/ipsec --start + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + add_daemon openswan + fi + ;; + stop) + stat_busy "Stopping Openswan IPsec" + /etc/rc.d/ipsec --stop + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + rm_daemon openswan + fi + ;; + restart) + stat_busy "Restarting Openswan IPsec" + /etc/rc.d/ipsec --restart + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + add_daemon openswan + fi + ;; + status) + /etc/rc.d/ipsec --status + ;; + *) + echo "usage: $0 {start|stop|restart|status}" +esac + -- cgit v1.2.3 From 98a7e894d8347b242611c2cfd44bdb0f81576080 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 17 Feb 2013 18:01:55 -0500 Subject: Adding lua-ldap and lua-cyrussasl to pcr --- pcr/lua-cyrussasl/PKGBUILD | 33 ++++++++++++++++++++++++++++++++ pcr/lua-cyrussasl/lua-cyrussasl.patch | 35 ++++++++++++++++++++++++++++++++++ pcr/lua-ldap/PKGBUILD | 28 +++++++++++++++++++++++++++ pcr/lua-ldap/lualdap-1.1.0-lua51.patch | 25 ++++++++++++++++++++++++ 4 files changed, 121 insertions(+) create mode 100644 pcr/lua-cyrussasl/PKGBUILD create mode 100644 pcr/lua-cyrussasl/lua-cyrussasl.patch create mode 100644 pcr/lua-ldap/PKGBUILD create mode 100644 pcr/lua-ldap/lualdap-1.1.0-lua51.patch (limited to 'pcr') diff --git a/pcr/lua-cyrussasl/PKGBUILD b/pcr/lua-cyrussasl/PKGBUILD new file mode 100644 index 000000000..bc2fa8a32 --- /dev/null +++ b/pcr/lua-cyrussasl/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Dwayne Bent + +pkgname=lua-cyrussasl +pkgver=1.0.0 +pkgrel=2 +pkgdesc="Lua bindings for Cyrus SASL library." +arch=('i686' 'x86_64' 'mips64el') +url="http://github.com/JorjBauer/lua-cyrussasl" +license=('BSD') +makedepends=('lua51' 'libsasl') +source=( + "lua-cyrussasl-$pkgver.tar.gz::https://github.com/JorjBauer/lua-cyrussasl/tarball/v$pkgver" + "lua-cyrussasl.patch" +) +md5sums=('40c94c06441e1e47640d81b125742969' + '838d383edc30f059ddae44cd564e0b82') + +build() { + cd $srcdir/*-lua-cyrussasl-* + patch -Np1 -i ${srcdir}/lua-cyrussasl.patch + make +} + +package() { + mkdir -p "$pkgdir/usr/lib/lua/5.1" + mkdir -p "$pkgdir/usr/share/licenses/lua-cyrussasl" + + cd $srcdir/*-lua-cyrussasl-* + + make DESTDIR=${pkgdir} install + install -m644 "LICENSE" "$pkgdir/usr/share/licenses/lua-cyrussasl/LICENSE" +} + diff --git a/pcr/lua-cyrussasl/lua-cyrussasl.patch b/pcr/lua-cyrussasl/lua-cyrussasl.patch new file mode 100644 index 000000000..e119ccb3b --- /dev/null +++ b/pcr/lua-cyrussasl/lua-cyrussasl.patch @@ -0,0 +1,35 @@ +--- lua-cyrussasl.orig/Makefile 2010-07-06 12:01:15.000000000 -0500 ++++ lua-cyrussasl/Makefile 2013-02-17 17:07:33.896240233 -0500 +@@ -4,12 +4,18 @@ + #LUAPATH=/usr/share/lua/5.1 + #CPATH=/usr/lib/lua/5.1 + ++# Linux (Arch Linux) ++CFLAGS=-g -O2 -fpic -I/usr/include/lua5.1 ++LDFLAGS=-O -shared -fpic -lsasl2 ++LUAPATH=/usr/share/lua/5.1 ++CPATH=/usr/lib/lua/5.1 ++ + # MacOS +-CFLAGS=-g -Wall -O2 +-LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 +-MACOSX_VERSION=10.5 +-LUAPATH=/usr/local/share/lua/5.1 +-CPATH=/usr/local/lib/lua/5.1 ++#CFLAGS=-g -Wall -O2 ++#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 ++#MACOSX_VERSION=10.5 ++#LUAPATH=/usr/local/share/lua/5.1 ++#CPATH=/usr/local/lib/lua/5.1 + + ######################################################### + # +@@ -28,7 +34,7 @@ + all: $(TARGET) + + install: $(TARGET) +- cp $(TARGET) $(CPATH) ++ cp $(TARGET) $(DESTDIR)$(CPATH) + + clean: + rm -f *.o *.so *~ diff --git a/pcr/lua-ldap/PKGBUILD b/pcr/lua-ldap/PKGBUILD new file mode 100644 index 000000000..5443f20ab --- /dev/null +++ b/pcr/lua-ldap/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=lua-ldap +_pkgname=lualdap +pkgver=1.1.0 +pkgrel=2 +pkgdesc="Simple interface from Lua to an LDAP client" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.keplerproject.org/lualdap" +license=('BSD') +makedepends=('lua51' 'libldap') +source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz + lualdap-1.1.0-lua51.patch) + +build() { + cd $srcdir/$_pkgname-$pkgver + patch -Np1 -i ${srcdir}/lualdap-1.1.0-lua51.patch + make LUA_INC=/usr/include/lua5.1 + +} + +package() { + cd $srcdir/$_pkgname-$pkgver + make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \ + LUA_VERSION_NUM=510 \ + install +} + +md5sums=('5e104520c3f1333f38817a9fa1e76681' + 'a7583456b721584ef222d97e49823a81') diff --git a/pcr/lua-ldap/lualdap-1.1.0-lua51.patch b/pcr/lua-ldap/lualdap-1.1.0-lua51.patch new file mode 100644 index 000000000..07059ae08 --- /dev/null +++ b/pcr/lua-ldap/lualdap-1.1.0-lua51.patch @@ -0,0 +1,25 @@ +--- lualdap-1.1.0.orig/config 2006-07-23 20:42:06.000000000 -0500 ++++ lualdap-1.1.0/config 2013-02-17 16:00:45.947143554 -0500 +@@ -1,10 +1,10 @@ + # Installation directories + # System's libraries directory (where binary libraries are installed) +-LUA_LIBDIR= /usr/local/lib/lua/5.0 ++LUA_LIBDIR= /usr/lib/lua/5.1 + # Lua includes directory +-LUA_INC= /usr/local/include ++LUA_INC= /usr/include + # OpenLDAP includes directory +-OPENLDAP_INC= /usr/local/include ++OPENLDAP_INC= /usr/include + # OpenLDAP library (an optional directory can be specified with -L) + OPENLDAP_LIB= -lldap + +@@ -13,7 +13,7 @@ + #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X + + # Lua version number (first and second digits of target version) +-LUA_VERSION_NUM= 500 ++LUA_VERSION_NUM= 510 + LIBNAME= $T.so.$V + COMPAT_DIR= ../compat/src + -- cgit v1.2.3 From 7f71b84a7ef03b8bb28c98baada0bf7361885e4c Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 17 Feb 2013 23:39:33 -0300 Subject: Updating to Trisquel 6 themes --- pcr/trisquel-themes/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/trisquel-themes/PKGBUILD (limited to 'pcr') diff --git a/pcr/trisquel-themes/PKGBUILD b/pcr/trisquel-themes/PKGBUILD new file mode 100644 index 000000000..f65f5c92b --- /dev/null +++ b/pcr/trisquel-themes/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: fauno + +pkgname=trisquel-themes +pkgver=6.0 +_miniver="5.99-2" +pkgrel=1 +pkgdesc="Themes from Trisquel, including GTK2, Metacity, XFWM and Openbox themes" +arch=('any') +url=http://trisquel.info +license=('GPL') +depends=() +optdepends=('gtk-engine-equinox: for Trisquel GTK2 theme') +source=(http://archive.trisquel.info/trisquel/pool/main/t/trisquel-gtk-theme/trisquel-gtk-theme_${pkgver}.tar.gz +http://archive.trisquel.info/trisquel/pool/main/t/trisquel-mini-data/trisquel-mini-data_${_miniver}.tar.gz) + +build() { + : +} + +package() { + install -d ${pkgdir}/usr/share/themes + + for trisquelsrc in trisquel-gtk-theme/data trisquel-mini-data; do + cp -R ${srcdir}/${trisquelsrc}/usr/share/themes/* \ + ${pkgdir}/usr/share/themes/ + done +} +md5sums=('8d81a535adade0e52a0c584c07f87a2a' + 'dd222c321374692f57e21c47aa70d402') -- cgit v1.2.3 From 0be78807ac1a050c88f847ef0e36f5cd4d9b5725 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 18 Feb 2013 17:31:52 -0500 Subject: Adding packages to pcr --- pcr/ahcpd/PKGBUILD | 27 ++++++++++ pcr/babeld/PKGBUILD | 32 +++++++++++ pcr/babeld/babeld.install | 18 +++++++ pcr/batctl/PKGBUILD | 25 +++++++++ pcr/dropbear/PKGBUILD | 46 ++++++++++++++++ pcr/dropbear/dropbear-conf.d | 15 ++++++ pcr/dropbear/dropbear-rc.d | 88 +++++++++++++++++++++++++++++++ pcr/ffingerd/PKGBUILD | 27 ++++++++++ pcr/ffingerd/finger.xinetd | 8 +++ pcr/inadyn-opendns/PKGBUILD | 32 +++++++++++ pcr/inadyn-opendns/inadyn-opendns.install | 17 ++++++ pcr/inadyn-opendns/inadyn.rc-script | 38 +++++++++++++ pcr/inspircd/PKGBUILD | 68 ++++++++++++++++++++++++ pcr/inspircd/inspircd.install | 15 ++++++ pcr/inspircd/inspircd.rcd | 54 +++++++++++++++++++ pcr/inspircd/inspircd.service | 17 ++++++ 16 files changed, 527 insertions(+) create mode 100644 pcr/ahcpd/PKGBUILD create mode 100644 pcr/babeld/PKGBUILD create mode 100644 pcr/babeld/babeld.install create mode 100644 pcr/batctl/PKGBUILD create mode 100644 pcr/dropbear/PKGBUILD create mode 100644 pcr/dropbear/dropbear-conf.d create mode 100644 pcr/dropbear/dropbear-rc.d create mode 100644 pcr/ffingerd/PKGBUILD create mode 100644 pcr/ffingerd/finger.xinetd create mode 100644 pcr/inadyn-opendns/PKGBUILD create mode 100644 pcr/inadyn-opendns/inadyn-opendns.install create mode 100644 pcr/inadyn-opendns/inadyn.rc-script create mode 100644 pcr/inspircd/PKGBUILD create mode 100644 pcr/inspircd/inspircd.install create mode 100644 pcr/inspircd/inspircd.rcd create mode 100644 pcr/inspircd/inspircd.service (limited to 'pcr') diff --git a/pcr/ahcpd/PKGBUILD b/pcr/ahcpd/PKGBUILD new file mode 100644 index 000000000..52c917bbc --- /dev/null +++ b/pcr/ahcpd/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yann Lopez +pkgname=ahcpd +pkgver=0.53 +pkgrel=2 +pkgdesc="Ad-Hoc Configuration Protocol" +arch=(i686 x86_64 mips64el) +url="http://www.pps.jussieu.fr/~jch/software/ahcp/" +license=('custom') +depends=('sh') +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's/\$(PREFIX)\/man/$(PREFIX)\/share\/man/g' Makefile + make PREFIX="/usr" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make install TARGET=${pkgdir} PREFIX=/usr + + install -d $pkgdir/usr/share/licenses/ahcpd + install -m 644 LICENCE $pkgdir/usr/share/licenses/ahcpd/ +} +md5sums=('a1a610bf20965aa522cd766bf3d5829a') diff --git a/pcr/babeld/PKGBUILD b/pcr/babeld/PKGBUILD new file mode 100644 index 000000000..dd132dd35 --- /dev/null +++ b/pcr/babeld/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (AUR): Yann Lopez +# Maintainer (Parabola): fauno +pkgname=babeld +pkgver=1.3.4 +pkgrel=2 +pkgdesc="Loop-free distance-vector routing protocol" +arch=(i686 x86_64 mips64el) +url="http://www.pps.jussieu.fr/~jch/software/babel/" +license=('custom') +depends=(glibc) +source=(http://www.pps.jussieu.fr/~jch/software/files/$pkgname-$pkgver.tar.gz{,.asc}) +install=babeld.install +md5sums=('37be1cbcc23cd00ee47efc9157c58795' + 'e2dfae49b497ba70c0c1014feae80f3a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -e "s,/man/,/share&,g" -i Makefile + + make PREFIX=/usr CFLAGS="$CFLAGS" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make PREFIX=/usr TARGET=$pkgdir install + + gzip -f $pkgdir/usr/share/man/man8/$pkgname.8 + + install -Dm 644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE +} diff --git a/pcr/babeld/babeld.install b/pcr/babeld/babeld.install new file mode 100644 index 000000000..686153617 --- /dev/null +++ b/pcr/babeld/babeld.install @@ -0,0 +1,18 @@ +compatibility_warning() { + echo "PLEASE NOTE:" + echo " " + echo "-------------------------------------------------------------" + echo " This version uses the IANA-allocated UDP port and multicast" + echo " group and is therefore incompatible with older versions." + echo "-------------------------------------------------------------" +} + +post_upgrade() { + major=$(echo $2 | cut -d '.' -f1) + minor=$(echo $2 | cut -d '.' -f2) + if [ $major -lt 1 ]; then + compatibility_warning + elif [ $major -eq 1 -a $minor -lt 1 ]; then + compatibility_warning + fi +} diff --git a/pcr/batctl/PKGBUILD b/pcr/batctl/PKGBUILD new file mode 100644 index 000000000..521537a50 --- /dev/null +++ b/pcr/batctl/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Nathan Owe +# Maintainer: Thomas Weißschuh +pkgname=batctl +pkgver=2012.3.0 +pkgrel=2 +pkgdesc="B.A.T.M.A.N. advanced control and management tool" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.open-mesh.net/" +license=('GPL') +depends=('glibc') +source=("http://downloads.open-mesh.net/batman/releases/batman-adv-${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}) + +build(){ + cd ${srcdir}/${pkgname}-${pkgver} + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} PREFIX=/usr install + +} + +# vim:set ts=2 sw=2 et: +md5sums=('fe9e6a3994539037b48afc5e3d31628c' + 'fdc6433ebc7fe59ce9eaec56dd843eb9') diff --git a/pcr/dropbear/PKGBUILD b/pcr/dropbear/PKGBUILD new file mode 100644 index 000000000..1e50534a3 --- /dev/null +++ b/pcr/dropbear/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Jaroslav Lichtblau +# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`> +# Contributor: Jeremy Cowgar + +pkgname=dropbear +pkgver=0.53.1 +pkgrel=2 +pkgdesc="Lightweight replacement for sshd" +arch=('i686' 'x86_64' 'mips64el') +url="http://matt.ucc.asn.au/dropbear/dropbear.html" +license=('custom:BSD' 'custom:PD') +depends=('zlib') +source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2 \ + $pkgname-conf.d \ + $pkgname-rc.d) +sha256sums=('e24d3cbecd3bc850b2b336b8eb50c845a285ceef8e22544938a582e163d36393' + 'eaec8cecae4476a660351ba9079c91b7c379146a22df881bd24b81af8f50d74c' + '29ab5438d15bfa727620fc04ec52ff55d676577b903c9261ce00bb291ae171a8') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + sed -i 's:usr/libexec/sftp:usr/lib/ssh/sftp:' options.h + + ./configure --prefix=/usr + LIBS="-lcrypt" make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make prefix=${pkgdir}/usr install + +#man pages + install -D -m644 dbclient.1 ${pkgdir}/usr/share/man/man1/dbclient.1 + install -D -m644 $pkgname.8 ${pkgdir}/usr/share/man/man8/$pkgname.8 + install -D -m644 dropbearkey.8 ${pkgdir}/usr/share/man/man8/dropbearkey.8 + +#configuration files + install -d ${pkgdir}/etc/$pkgname + install -D -m644 ${srcdir}/$pkgname-conf.d ${pkgdir}/etc/conf.d/$pkgname + install -D -m755 ${srcdir}/$pkgname-rc.d ${pkgdir}/etc/rc.d/$pkgname + +#license file + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/dropbear/dropbear-conf.d b/pcr/dropbear/dropbear-conf.d new file mode 100644 index 000000000..6f3b8f0c5 --- /dev/null +++ b/pcr/dropbear/dropbear-conf.d @@ -0,0 +1,15 @@ +# the TCP port that Dropbear listens on +DROPBEAR_PORT="127.0.0.1:22" # Default to local-only. + +# any additional arguments for Dropbear +DROPBEAR_EXTRA_ARGS="-w" # Default to no-root logins. + +# specify an optional banner file containing a message to be +# sent to clients before they connect, such as "/etc/issue.net" +DROPBEAR_BANNER="" + +# RSA hostkey file (default: /etc/dropbear/dropbear_rsa_host_key) +#DROPBEAR_RSAKEY="/etc/dropbear/dropbear_rsa_host_key" + +# DSS hostkey file (default: /etc/dropbear/dropbear_dss_host_key) +DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key" diff --git a/pcr/dropbear/dropbear-rc.d b/pcr/dropbear/dropbear-rc.d new file mode 100644 index 000000000..011880b3b --- /dev/null +++ b/pcr/dropbear/dropbear-rc.d @@ -0,0 +1,88 @@ +#!/bin/bash +daemon_name=dropbear + +. /etc/rc.conf +. /etc/rc.d/functions + +. /etc/conf.d/$daemon_name + +for port in $DROPBEAR_PORT; do + daemon_args="$daemon_args -p $port" +done + +[ ! -z $DROPBEAR_BANNER ] && daemon_args="$daemon_args -b $DROPBEAR_BANNER" +[ ! -z $DROPBEAR_DSSKEY ] && daemon_args="$daemon_args -d $DROPBEAR_DSSKEY" +[ ! -z $DROPBEAR_RSAKEY ] && daemon_args="$daemon_args -r $DROPBEAR_RSAKEY" +[ ! -z $DROPBEAR_EXTRA_ARGS ] && daemon_args="$daemon_args $DROPBEAR_EXTRA_ARGS" +[ -z $DROPBEAR_PIDFILE ] && DROPBEAR_PIDFILE="/var/run/$daemon_name.pid" +daemon_args="$daemon_args -P $DROPBEAR_PIDFILE" + +get_pid() { + PID='' + if [ -r $DROPBEAR_PIDFILE -a -f $DROPBEAR_PIDFILE -a -w $DROPBEAR_PIDFILE ]; then + if kill -0 "`< $DROPBEAR_PIDFILE`" &>/dev/null; then # kill -0 == "exit code indicates if a signal may be sent" + PID="`< $DROPBEAR_PIDFILE`" + else # may not send signals to dropbear, because it's probably not running => remove pidfile + rm -f $DROPBEAR_PIDFILE + fi + fi +} + +case "$1" in + start) + stat_busy "Starting $daemon_name" + get_pid + if [ -z "$PID" ]; then + printhl "Checking for hostkeys" + if [ ! -z $DROPBEAR_DSSKEY ]; then + [ ! -f $DROPBEAR_DSSKEY ] && dropbearkey -t dss -f $DROPBEAR_DSSKEY + fi; + if [ ! -z $DROPBEAR_RSAKEY ]; then + [ ! -f $DROPBEAR_RSAKEY ] && dropbearkey -t rsa -f $DROPBEAR_RSAKEY + fi; + + $daemon_name $daemon_args # Make it Go Joe! + if [ $? -gt 0 ]; then + stat_die + else + add_daemon $daemon_name + stat_done + fi + else + stat_die + fi + ;; + + stop) + stat_busy "Stopping $daemon_name" + + get_pid + [ ! -z "$PID" ] && kill $PID &> /dev/null # Be dead (please), I say! + if [ $? -gt 0 ]; then + stat_die + else + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + fingerprint) + stat_busy "Fingerprinting $daemon_name hostkeys" + if [ ! -z $DROPBEAR_DSSKEY ]; then + printhl "DSS/DSA Key $(dropbearkey -y -f $DROPBEAR_DSSKEY | grep Fingerprint)" + fi; + if [ ! -z $DROPBEAR_RSAKEY ]; then + printhl "RSA Key $(dropbearkey -y -f $DROPBEAR_RSAKEY | grep Fingerprint)" + fi; + ;; + + *) + echo "usage: $0 {start|stop|restart|fingerprint}" +esac +exit 0 diff --git a/pcr/ffingerd/PKGBUILD b/pcr/ffingerd/PKGBUILD new file mode 100644 index 000000000..5b43314d3 --- /dev/null +++ b/pcr/ffingerd/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=ffingerd +pkgver=1.28 +pkgrel=3 +pkgdesc="Secure finger daemon" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.fefe.de/ffingerd/" +license=('GPL2') +depends=('glibc' 'xinetd') +backup=('etc/xinetd.d/finger') +source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2 finger.xinetd) +md5sums=('fe207448745da07b4e393d8b8694658b' '2ca1a6b3f442a5c0c81fa03d265a203e') + +build() { + cd $srcdir/$pkgname-$pkgver + install -d $pkgdir/usr/sbin $pkgdir/usr/share/man/man8 + ./configure --prefix=/usr + + make +} + +package(){ + cd $srcdir/$pkgname-$pkgver + + make SBINDIR=$pkgdir/usr/sbin MANDIR=$pkgdir/usr/share/man install + + install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/ffinger +} diff --git a/pcr/ffingerd/finger.xinetd b/pcr/ffingerd/finger.xinetd new file mode 100644 index 000000000..36cd303b4 --- /dev/null +++ b/pcr/ffingerd/finger.xinetd @@ -0,0 +1,8 @@ +service finger +{ + socket_type = stream + wait = no + user = nobody + server = /usr/sbin/ffingerd + disable = yes +} diff --git a/pcr/inadyn-opendns/PKGBUILD b/pcr/inadyn-opendns/PKGBUILD new file mode 100644 index 000000000..37c13d49a --- /dev/null +++ b/pcr/inadyn-opendns/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Bug +# Maintainer: Bug +pkgname=inadyn-opendns +pkgver=1.99 +pkgrel=4 +pkgdesc="Simple dynamic DNS client with SSL support" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.opendns.com/account/dynamic_dns/downloads" +license=('GPL') +makedepends=('unzip') +depends=('curl') +conflicts=('inadyn') +provides=('inadyn') +backup=('etc/inadyn.conf') +install='inadyn-opendns.install' +source=("http://www.opendns.com/support/ddns_files/inadyn.source.v$pkgver.zip" + 'inadyn.rc-script') +md5sums=('0f2cf9c3ea3482c03e1c42f8480f1c55' + '73c61f9939546c28119242a1e12ffcff') + +build() { + cd "$srcdir/inadyn.source.v$pkgver" + + make || return 1 + + install -Dm755 bin/linux/inadyn $pkgdir/usr/sbin/inadyn + install -Dm644 man/inadyn.8 $pkgdir/usr/share/man/man8/inadyn.8 + install -Dm644 man/inadyn.conf.5 $pkgdir/usr/share/man/man5/inadyn.conf.5 + install -Dm644 readme.html $pkgdir/usr/share/doc/inadyn/readme.html + install -Dm755 $srcdir/inadyn.rc-script $pkgdir/etc/rc.d/inadyn + install -Dm644 inadyn.conf $pkgdir/etc/inadyn.conf +} diff --git a/pcr/inadyn-opendns/inadyn-opendns.install b/pcr/inadyn-opendns/inadyn-opendns.install new file mode 100644 index 000000000..e1a842430 --- /dev/null +++ b/pcr/inadyn-opendns/inadyn-opendns.install @@ -0,0 +1,17 @@ +post_install() { +/bin/true +echo Please remember to change the /etc/inadyn.conf file for your settings. +} + +post_upgrade() { +/bin/true +} + +pre_remove() { +/bin/true +} + +op=$1 +shift + +$op "$@" \ No newline at end of file diff --git a/pcr/inadyn-opendns/inadyn.rc-script b/pcr/inadyn-opendns/inadyn.rc-script new file mode 100644 index 000000000..2ee29d59e --- /dev/null +++ b/pcr/inadyn-opendns/inadyn.rc-script @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/inadyn` +case "$1" in + start) + stat_busy "Starting INADYN Daemon" + [ -z "$PID" ] && /usr/sbin/inadyn --background --input_file /etc/inadyn.conf >>/var/log/inadyn 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + PID=`pidof -o %PPID /usr/sbin/inadyn` + echo $PID >/var/run/inadyn.pid + add_daemon inadyn + stat_done + fi + ;; + stop) + stat_busy "Stopping INADYN Daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon inadyn + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 + diff --git a/pcr/inspircd/PKGBUILD b/pcr/inspircd/PKGBUILD new file mode 100644 index 000000000..3de3d5e57 --- /dev/null +++ b/pcr/inspircd/PKGBUILD @@ -0,0 +1,68 @@ +pkgname=inspircd +pkgver=2.0.8 +pkgrel=2 +pkgdesc='A lightweight IRC daemon' +arch=('x86_64' 'i686' 'mips64el') +url='http://www.inspircd.org/' +license=('GPL2') +depends=('perl') +makedepends=('pkg-config' 'libmysqlclient' 'postgresql' 'sqlite3' 'libldap' 'geoip' + 'tre' 'gnutls' 'openssl' 'libgcrypt') +optdepends=('gnutls: m_ssl_gnutls' + 'libgcrypt: m_ssl_gnutls' + 'openssl: m_ssl_openssl' + 'libmysqlclient: m_mysql' + 'pcre: m_regex_pcre' + 'postgresql: m_pgsql' + 'sqlite3: m_sqlite3' + 'libldap: m_ldapoper and m_ldapauth' + 'geoip: m_geoip' + 'tre: m_regex_tre') +install=inspircd.install + +source=(https://github.com/downloads/inspircd/inspircd/InspIRCd-$pkgver.tar.bz2 + inspircd.rcd inspircd.service) +sha1sums=('c8bcbc222df40bc8110cefdb4a1fee91ad7c73d1' + '59c4aa6929732fb076ca2be96a01385cae9e8484' + '667b28d0d086be6daad7a0c2f110c68e6526264e') + +build() { + cd "${srcdir}/inspircd" + + ./configure \ + --enable-extras=m_geoip.cpp \ + --enable-extras=m_ldapauth.cpp \ + --enable-extras=m_ldapoper.cpp \ + --enable-extras=m_mysql.cpp \ + --enable-extras=m_pgsql.cpp \ + --enable-extras=m_regex_pcre.cpp \ + --enable-extras=m_regex_posix.cpp \ + --enable-extras=m_regex_tre.cpp \ + --enable-extras=m_sqlite3.cpp + + ./configure \ + --prefix=/usr/lib/inspircd \ + --binary-dir=/usr/sbin \ + --module-dir=/usr/lib/inspircd/modules \ + --config-dir=/etc/inspircd \ + --enable-gnutls \ + --enable-openssl \ + --enable-epoll + + make +} + +package() { + install -Dm755 "${srcdir}"/inspircd.rcd "${pkgdir}"/etc/rc.d/inspircd + install -Dm644 "${srcdir}"/inspircd.service "${pkgdir}"/usr/lib/systemd/system/inspircd.service + install -o141 -g141 -dm750 "${pkgdir}/var/log/inspircd" + + cd "${srcdir}/inspircd" + make DESTDIR="$pkgdir" INSTUID=141 install + + mkdir -p "${pkgdir}"/usr/share/inspircd + mv "${pkgdir}"/etc/inspircd/examples "${pkgdir}"/usr/share/inspircd/examples + + rm -rf "${pkgdir}"/usr/lib/inspircd/logs + rm -rf "${pkgdir}"/usr/lib/inspircd/data +} diff --git a/pcr/inspircd/inspircd.install b/pcr/inspircd/inspircd.install new file mode 100644 index 000000000..ec97113f5 --- /dev/null +++ b/pcr/inspircd/inspircd.install @@ -0,0 +1,15 @@ +post_install() { + getent group inspircd &>/dev/null || groupadd -r -g 141 inspircd >/dev/null + getent passwd inspircd &>/dev/null || useradd -r -u 141 -g inspircd -d /var/lib/inspircd -s /bin/false -c inspircd inspircd >/dev/null + + echo '==> You will need to create a config file for inspircd' + echo '==> cp /etc/inspircd/inspircd.conf.example /etc/inspircd/inspircd.conf' + echo '==> You will need to change the pidfile. To do this you can insert the following into your config.' + echo '==> ' + echo '==> Remember to use absolute paths in your config directory and not relative paths like you would do with a user-based inspircd install.' +} + +post_remove() { + getent passwd inspircd &>/dev/null && userdel inspircd >/dev/null + getent group inspircd &>/dev/null && groupdel inspircd >/dev/null +} diff --git a/pcr/inspircd/inspircd.rcd b/pcr/inspircd/inspircd.rcd new file mode 100644 index 000000000..5dbd8198e --- /dev/null +++ b/pcr/inspircd/inspircd.rcd @@ -0,0 +1,54 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +get_pid() { + pidof /usr/sbin/inspircd +} + +case "$1" in + start) + stat_busy "Starting inspircd" + PID=$(get_pid) + if [ -z "$PID" ]; then + su -s /bin/sh -c '/usr/sbin/inspircd --logfile /var/log/inspircd/startup.log --config /etc/inspircd/inspircd.conf' 'inspircd' > /dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + add_daemon inspircd + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping inspircd" + PID=$(get_pid) + [ ! -z "$PID" ] && kill $PID + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm_daemon inspircd + stat_done + fi + ;; + + restart) + $0 stop + $0 start + ;; + + rehash|reload) + kill -HUP $(get_pid) + ;; + + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/pcr/inspircd/inspircd.service b/pcr/inspircd/inspircd.service new file mode 100644 index 000000000..83230b65c --- /dev/null +++ b/pcr/inspircd/inspircd.service @@ -0,0 +1,17 @@ +[Unit] +Description=InspIRCd IRC daemon +Requires=network.target +After=network.target + +[Service] +Type=forking +PIDFile=/var/lib/inspircd/inspircd.pid +ExecStart=/usr/lib/inspircd/inspircd start +ExecReload=/usr/lib/inspircd/inspircd rehash +ExecStop=/usr/lib/inspircd/inspircd stop +Restart=on-failure +User=inspircd +Group=inspircd + +[Install] +Alias=ircd.service -- cgit v1.2.3 From 7584562f4a10bc697cd236b243eedd1943291e08 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 21 Feb 2013 17:53:57 -0200 Subject: migrating all artistic pkg repo to pcr: * migrating aqsis, cinepaint-lts, gimp-art, libspnav, spacenavd, spnavcfg and yafaray-git to prc repo. --- artistic/aqsis/PKGBUILD | 33 -- artistic/aqsis/aqsis.install | 14 - artistic/cinepaint-lts/LICENSE | 25 -- artistic/cinepaint-lts/PKGBUILD | 62 ---- artistic/cinepaint-lts/cinepaint-libpng15.patch | 446 ------------------------ artistic/cinepaint-lts/cinepaint.install | 11 - artistic/gimp-art/PKGBUILD | 105 ------ artistic/gimp-art/gimp-splash-artwork.license | 13 - artistic/gimp-art/gimp-splash-artwork.png | Bin 375245 -> 0 bytes artistic/gimp-art/gimp.install | 12 - artistic/libspnav/Makefile.in.diff | 19 - artistic/libspnav/PKGBUILD | 24 -- artistic/spacenavd/PKGBUILD | 30 -- artistic/spacenavd/spacenav.service | 10 - artistic/spacenavd/spacenavd | 38 -- artistic/spnavcfg/PKGBUILD | 21 -- artistic/yafaray-git/PKGBUILD | 78 ----- artistic/yafaray-git/gcc47.patch | 10 - pcr/aqsis/PKGBUILD | 33 ++ pcr/aqsis/aqsis.install | 14 + pcr/cinepaint-lts/LICENSE | 25 ++ pcr/cinepaint-lts/PKGBUILD | 62 ++++ pcr/cinepaint-lts/cinepaint-libpng15.patch | 446 ++++++++++++++++++++++++ pcr/cinepaint-lts/cinepaint.install | 11 + pcr/gimp-art/PKGBUILD | 105 ++++++ pcr/gimp-art/gimp-splash-artwork.license | 13 + pcr/gimp-art/gimp-splash-artwork.png | Bin 0 -> 375245 bytes pcr/gimp-art/gimp.install | 12 + pcr/libspnav/Makefile.in.diff | 19 + pcr/libspnav/PKGBUILD | 24 ++ pcr/spacenavd/PKGBUILD | 30 ++ pcr/spacenavd/spacenav.service | 10 + pcr/spacenavd/spacenavd | 38 ++ pcr/spnavcfg/PKGBUILD | 21 ++ pcr/yafaray-git/PKGBUILD | 78 +++++ pcr/yafaray-git/gcc47.patch | 10 + 36 files changed, 951 insertions(+), 951 deletions(-) delete mode 100644 artistic/aqsis/PKGBUILD delete mode 100644 artistic/aqsis/aqsis.install delete mode 100644 artistic/cinepaint-lts/LICENSE delete mode 100644 artistic/cinepaint-lts/PKGBUILD delete mode 100644 artistic/cinepaint-lts/cinepaint-libpng15.patch delete mode 100644 artistic/cinepaint-lts/cinepaint.install delete mode 100644 artistic/gimp-art/PKGBUILD delete mode 100644 artistic/gimp-art/gimp-splash-artwork.license delete mode 100644 artistic/gimp-art/gimp-splash-artwork.png delete mode 100644 artistic/gimp-art/gimp.install delete mode 100644 artistic/libspnav/Makefile.in.diff delete mode 100644 artistic/libspnav/PKGBUILD delete mode 100644 artistic/spacenavd/PKGBUILD delete mode 100644 artistic/spacenavd/spacenav.service delete mode 100644 artistic/spacenavd/spacenavd delete mode 100644 artistic/spnavcfg/PKGBUILD delete mode 100644 artistic/yafaray-git/PKGBUILD delete mode 100644 artistic/yafaray-git/gcc47.patch create mode 100644 pcr/aqsis/PKGBUILD create mode 100644 pcr/aqsis/aqsis.install create mode 100644 pcr/cinepaint-lts/LICENSE create mode 100644 pcr/cinepaint-lts/PKGBUILD create mode 100644 pcr/cinepaint-lts/cinepaint-libpng15.patch create mode 100644 pcr/cinepaint-lts/cinepaint.install create mode 100644 pcr/gimp-art/PKGBUILD create mode 100644 pcr/gimp-art/gimp-splash-artwork.license create mode 100644 pcr/gimp-art/gimp-splash-artwork.png create mode 100644 pcr/gimp-art/gimp.install create mode 100644 pcr/libspnav/Makefile.in.diff create mode 100644 pcr/libspnav/PKGBUILD create mode 100644 pcr/spacenavd/PKGBUILD create mode 100644 pcr/spacenavd/spacenav.service create mode 100644 pcr/spacenavd/spacenavd create mode 100644 pcr/spnavcfg/PKGBUILD create mode 100644 pcr/yafaray-git/PKGBUILD create mode 100644 pcr/yafaray-git/gcc47.patch (limited to 'pcr') diff --git a/artistic/aqsis/PKGBUILD b/artistic/aqsis/PKGBUILD deleted file mode 100644 index 5a772503f..000000000 --- a/artistic/aqsis/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Lukas Jirkovsky -# Former contributor: Gino Pezzin -# Maintainer (Parabola): Márcio Silva -pkgname=aqsis -pkgver=1.8.2 -pkgrel=1 -pkgdesc="A high quality, photorealistic, 3D rendering solution" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.aqsis.org" -license=('GPL2') -optdepends=('qt: graphical interface' 'libgl: ptview') -depends=('boost-libs' 'openexr' 'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils') -makedepends=('cmake' 'boost' 'openexr' 'libpng' 'qt' 'mesa') -options=('!libtool') -install=aqsis.install -source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('399967e99f12cfbd1a7385c4e1d39c3b') - -build() { - cd "$srcdir"/$pkgname-$pkgver - - mkdir -p "$srcdir"/$pkgname-build - cd "$srcdir"/$pkgname-build - - cmake "$srcdir"/$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis - make -} - -package() { - cd "$srcdir"/$pkgname-build - make DESTDIR="$pkgdir" install -} diff --git a/artistic/aqsis/aqsis.install b/artistic/aqsis/aqsis.install deleted file mode 100644 index b2086e07b..000000000 --- a/artistic/aqsis/aqsis.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor/ - update-mime-database usr/share/mime > /dev/null - update-desktop-database -q -} -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - -# vim:set ts=2 sw=2 et: diff --git a/artistic/cinepaint-lts/LICENSE b/artistic/cinepaint-lts/LICENSE deleted file mode 100644 index 746207229..000000000 --- a/artistic/cinepaint-lts/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -Copyright (c) 2005, Kai-Uwe Behrmann -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution.ntributors may be used to endorse or promote - products derived from this software without specific prior written - permission. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/artistic/cinepaint-lts/PKGBUILD b/artistic/cinepaint-lts/PKGBUILD deleted file mode 100644 index c680ac904..000000000 --- a/artistic/cinepaint-lts/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: tobias [tobias.archlinux.org] -# Contributor: tobias [tobias.justdreams.de] -# Maintainer (Parabola): Márcio Silva - -pkgname=cinepaint-lts -pkgver=1.0 -pkgrel=1 -pkgdesc='Sophisticated graphics manipulation programm supporting > 8bit pictures' -arch=(i686 x86_64 mips64el) -license=(LGPL GPL MIT) -url=http://www.${pkgname%-lts}.org -depends=(gtk2 openexr lcms libxpm fltk ftgl libxxf86vm) -makedepends=(python2 gutenprint) -optdepends=( - 'python2: for python plug-ins' - 'gutenprint: for print plug-ins' - 'ghostscript: for pdf plug-ins' -) -conflicts=(${pkgname%-lts}) -provides=(${pkgname%-lts}) -options=(!libtool) -install=${pkgname%-lts}.install -source=( - http://sourceforge.net/projects/${pkgname%-lts}/files/CinePaint/${pkgname%-lts}-$pkgver.tgz - LICENSE - ${pkgname%-lts}-libpng15.patch -) -md5sums=( - 7dfdb005d246578392ac9bd500534804 - 169085743f667c250ea2e4022efecf5f - 6d3f65b72e0f1569a9efe1bcab1b8124 -) - -build() { - cd $srcdir/${pkgname%-lts} - - rm config.{sub,guess} - ln -s /usr/share/automake-1.12/config.sub config.sub - ln -s /usr/share/automake-1.12/config.guess config.guess - - patch -p1 -i ../${pkgname%-lts}-libpng15.patch - find plug-ins/pygimp -type f -exec sed -i 's#env python#env python2#' {} + - sed -i 's|$(LDFLAGS) -o|$(LDFLAGS) $(GTK_LIBS) -o|' lib/Makefile.in - sed -i -e '1 s/^/#include \n/' plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp - - sh autogen.sh - LIBS+="-lstdc++ -lm -lX11" ./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man \ - --enable-gtk2 --enable-pygimp --with-python=/usr/bin/python2 - sed -i 's/-Wl,,/-Wl,/' lib/fl_i18n/Makefile plug-ins/bracketing_to_hdr/Makefile \ - plug-ins/collect/Makefile plug-ins/icc_examin/icc_examin/Makefile plug-ins/pdf/Makefile - make -} - -package() { - cd $srcdir/${pkgname%-lts} - make DESTDIR=$pkgdir install - sed -i -e "s|-I$srcdir/${pkgname%-lts}||" -e "s|-I$srcdir/${pkgname%-lts}/lib||" -e "/lib${pkgname%-lts}.la/d" \ - -e "s|${srcdir}/${pkgname%-lts}/lib/.libs/\$dlname||" $pkgdir/usr/bin/${pkgname%-lts}tool - sed -i "s/${pkgname%-lts}.png/${pkgname%-lts}/" $pkgdir/usr/share/applications/${pkgname%-lts}.desktop - install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} diff --git a/artistic/cinepaint-lts/cinepaint-libpng15.patch b/artistic/cinepaint-lts/cinepaint-libpng15.patch deleted file mode 100644 index 619d9af42..000000000 --- a/artistic/cinepaint-lts/cinepaint-libpng15.patch +++ /dev/null @@ -1,446 +0,0 @@ -diff -Nur a/plug-ins/png/png.c b/plug-ins/png/png.c ---- a/plug-ins/png/png.c 2006-11-24 18:52:55.000000000 -0200 -+++ b/plug-ins/png/png.c 2012-10-12 01:07:56.452245955 -0200 -@@ -390,6 +390,16 @@ - gchar *progress; /* Title for progress display... */ - guchar alpha[256], /* Index -> Alpha */ - *alpha_ptr; /* Temporary pointer */ -+ png_byte color_type; -+ png_byte bit_depth; -+ png_colorp palette; -+ int num_palette; -+ png_charpp iccp_name; -+ int compression_type; -+ png_bytepp iccp_profile; -+ png_uint_32 iccp_proflen; -+ png_uint_32 width, height; -+ png_byte channels; - - /* - * PNG 0.89 and newer have a sane, forwards compatible constructor. -@@ -405,7 +415,7 @@ - info = (png_infop)calloc(sizeof(png_info), 1); - #endif /* PNG_LIBPNG_VER > 88 */ - -- if (setjmp (pp->jmpbuf)) -+ if (setjmp (png_jmpbuf(pp))) - { - g_message ("%s\nPNG error. File corrupted?", filename); - return image; -@@ -442,21 +452,26 @@ - */ - - png_read_info(pp, info); -+ color_type = png_get_color_type(pp, info); -+ width=png_get_image_width(pp, info); -+ height=png_get_image_height(pp, info); - - /* - * Latest attempt, this should be my best yet :) - */ - -+ bit_depth = png_get_bit_depth(pp, info); -+ - #ifndef WORDS_BIGENDIAN -- if(info->bit_depth == 16) -+ if(bit_depth == 16) - png_set_swap(pp); - #endif - -- if (info->color_type == PNG_COLOR_TYPE_GRAY && info->bit_depth < 8) { -+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - png_set_expand(pp); - } - -- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) { -+ if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8) { - png_set_packing(pp); - } - -@@ -464,8 +479,8 @@ - * Expand G+tRNS to GA, RGB+tRNS to RGBA - */ - -- if (info->color_type != PNG_COLOR_TYPE_PALETTE && -- (info->valid & PNG_INFO_tRNS)) { -+ if (color_type != PNG_COLOR_TYPE_PALETTE && -+ (png_get_valid(pp, info, PNG_INFO_tRNS))) { - png_set_expand(pp); - } - -@@ -482,7 +497,7 @@ - - #if PNG_LIBPNG_VER > 99 - if (png_get_valid(pp, info, PNG_INFO_tRNS) && -- info->color_type == PNG_COLOR_TYPE_PALETTE) -+ color_type == PNG_COLOR_TYPE_PALETTE) - { - png_get_tRNS(pp, info, &alpha_ptr, &num, NULL); - /* Copy the existing alpha values from the tRNS chunk */ -@@ -505,9 +520,9 @@ - - png_read_update_info(pp, info); - -- if(info->bit_depth==16) -+ if(bit_depth==16) - { -- switch (info->color_type) -+ switch (color_type) - { - case PNG_COLOR_TYPE_RGB : /* RGB */ - bpp = 6; -@@ -545,7 +560,7 @@ - } - else - { -- switch (info->color_type) -+ switch (color_type) - { - case PNG_COLOR_TYPE_RGB : /* RGB */ - bpp = 3; -@@ -582,7 +597,7 @@ - }; - } - -- image = gimp_image_new(info->width, info->height, image_type); -+ image = gimp_image_new(width, height, image_type); - if (image == -1) - { - g_message("Can't allocate new image\n%s", filename); -@@ -595,7 +610,7 @@ - * Create the "background" layer to hold the image... - */ - -- layer = gimp_layer_new(image, _("Background"), info->width, info->height, -+ layer = gimp_layer_new(image, _("Background"), width, height, - layer_type, 100, NORMAL_MODE); - gimp_image_add_layer(image, layer, 0); - -@@ -627,20 +642,21 @@ - - empty= 0; /* by default assume no full transparent palette entries */ - -- if (info->color_type & PNG_COLOR_MASK_PALETTE) { -+ if (color_type & PNG_COLOR_MASK_PALETTE) { - - #if PNG_LIBPNG_VER > 99 -+ png_get_PLTE(pp, info, &palette, &num_palette); - if (png_get_valid(pp, info, PNG_INFO_tRNS)) { - for (empty= 0; empty < 256 && alpha[empty] == 0; ++empty); - /* Calculates number of fully transparent "empty" entries */ - -- gimp_image_set_cmap(image, (guchar *) (info->palette + empty), -- info->num_palette - empty); -+ gimp_image_set_cmap(image, (guchar *) (palette + empty), -+ num_palette - empty); - } else { -- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette); -+ gimp_image_set_cmap(image, (guchar *)palette, num_palette); - } - #else -- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette); -+ gimp_image_set_cmap(image, (guchar *)palette, num_palette); - #endif /* PNG_LIBPNG_VER > 99 */ - - } -@@ -659,18 +675,19 @@ - */ - - tile_height = gimp_tile_height (); -- pixel = g_new(guchar, tile_height * info->width * bpp); -+ pixel = g_new(guchar, tile_height * width * bpp); - pixels = g_new(guchar *, tile_height); -+ channels=png_get_channels(pp, info); - -- if(info->bit_depth==16) -+ if(bit_depth==16) - { - for (i = 0; i < tile_height; i ++) -- pixels[i] = pixel + info->width * info->channels * i * 2; -+ pixels[i] = pixel + width * channels * i * 2; - } - else - { - for (i = 0; i < tile_height; i ++) -- pixels[i] = pixel + info->width * info->channels * i; -+ pixels[i] = pixel + width * channels * i; - } - - for (pass = 0; pass < num_passes; pass ++) -@@ -680,11 +697,11 @@ - */ - - for (begin = 0, end = tile_height; -- begin < info->height; -+ begin < height; - begin += tile_height, end += tile_height) - { -- if (end > info->height) -- end = info->height; -+ if (end > height) -+ end = height; - - num = end - begin; - -@@ -697,20 +714,21 @@ - gimp_pixel_rgn_set_rect(&pixel_rgn, pixel, 0, begin, - drawable->width, num); - -- gimp_progress_update(((double)pass + (double)end / (double)info->height) / -+ gimp_progress_update(((double)pass + (double)end / (double)height) / - (double)num_passes); - }; - }; - - #if defined(PNG_iCCP_SUPPORTED) - /* set icc profile */ -- if (info->iccp_proflen > 0) { -- gimp_image_set_icc_profile_by_mem (image, info->iccp_proflen, -- info->iccp_profile, -- ICC_IMAGE_PROFILE); -+ png_get_iCCP(pp, info, (png_charpp)iccp_name, &compression_type, iccp_profile, &iccp_proflen); -+ if (iccp_proflen > 0) { -+ gimp_image_set_icc_profile_by_mem (image, iccp_proflen, -+ (gchar *)iccp_profile, -+ ICC_IMAGE_PROFILE); - printf ("%s:%d %s() set embedded profile \"%s\"\n", - __FILE__,__LINE__,__func__, -- info->iccp_name); -+ (char *)iccp_name); - } - #endif - -@@ -808,6 +826,14 @@ - blue; /* Used for palette background */ - time_t cutime; /* Time since epoch */ - struct tm *gmt; /* GMT broken down */ -+ png_byte color_type; -+ png_byte bit_depth; -+ int filter_method=0; -+ png_colorp palette; -+ int num_palette; -+ png_charpp iccp_name; -+ png_uint_32 height; -+ int compression_type; - - /* - * PNG 0.89 and newer have a sane, forwards compatible constructor. -@@ -824,7 +850,7 @@ - info = (png_infop)calloc(sizeof(png_info), 1); - #endif /* PNG_LIBPNG_VER > 88 */ - -- if (setjmp (pp->jmpbuf)) -+ if (setjmp (png_jmpbuf(pp))) - { - g_message ("%s\nPNG error. Couldn't save image", filename); - return 0; -@@ -858,87 +884,75 @@ - type = gimp_drawable_type (drawable_ID); - - /* -- * Set the image dimensions, bit depth, interlacing and compression -- */ -- -- png_set_compression_level (pp, pngvals.compression_level); -- -- info->width = drawable->width; -- info->height = drawable->height; -- info->interlace_type = pngvals.interlaced; -- -- /* - * Set color type and remember bytes per pixel count - */ - - switch (type) - { - case RGB_IMAGE : -- info->color_type = PNG_COLOR_TYPE_RGB; -- info->bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_RGB; -+ bit_depth = 8; - bpp = 3; - break; - case RGBA_IMAGE : -- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA; -- info->bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_RGB_ALPHA; -+ bit_depth = 8; - bpp = 4; - break; - case GRAY_IMAGE : -- info->color_type = PNG_COLOR_TYPE_GRAY; -- info->bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_GRAY; -+ bit_depth = 8; - bpp = 1; - break; - case GRAYA_IMAGE : -- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA; -- info->bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_GRAY_ALPHA; -+ bit_depth = 8; - bpp = 2; - break; - case INDEXED_IMAGE : - bpp = 1; -- info->bit_depth = 8; -- info->color_type = PNG_COLOR_TYPE_PALETTE; -- info->valid |= PNG_INFO_PLTE; -- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors); -- info->num_palette= num_colors; -+ bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_PALETTE; -+ png_get_valid(pp, info, PNG_INFO_PLTE); -+ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors); - break; - case INDEXEDA_IMAGE : - bpp = 2; -- info->bit_depth = 8; -- info->color_type = PNG_COLOR_TYPE_PALETTE; -+ bit_depth = 8; -+ color_type = PNG_COLOR_TYPE_PALETTE; - respin_cmap (pp, info, image_ID); /* fix up transparency */ - break; - case U16_RGB_IMAGE : -- info->color_type = PNG_COLOR_TYPE_RGB; -- info->bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_RGB; -+ bit_depth = 16; - bpp = 6; - break; - case U16_RGBA_IMAGE : -- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA; -- info->bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_RGB_ALPHA; -+ bit_depth = 16; - bpp = 8; - break; - case U16_GRAY_IMAGE : -- info->color_type = PNG_COLOR_TYPE_GRAY; -- info->bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_GRAY; -+ bit_depth = 16; - bpp = 2; - break; - case U16_GRAYA_IMAGE : -- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA; -- info->bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_GRAY_ALPHA; -+ bit_depth = 16; - bpp = 4; - break; - case U16_INDEXED_IMAGE : - bpp = 2; -- info->bit_depth = 16; -- info->color_type = PNG_COLOR_TYPE_PALETTE; -- info->valid |= PNG_INFO_PLTE; -- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors); -- info->num_palette= num_colors; -+ bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_PALETTE; -+ png_get_valid(pp, info, PNG_INFO_PLTE); -+ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors); - break; - case U16_INDEXEDA_IMAGE : - bpp = 4; -- info->bit_depth = 16; -- info->color_type = PNG_COLOR_TYPE_PALETTE; -+ bit_depth = 16; -+ color_type = PNG_COLOR_TYPE_PALETTE; - respin_cmap (pp, info, image_ID); /* fix up transparency */ - break; - default: -@@ -950,16 +964,22 @@ - * Fix bit depths for (possibly) smaller colormap images - */ - -- if (info->valid & PNG_INFO_PLTE) { -- if (info->num_palette <= 2) -- info->bit_depth= 1; -- else if (info->num_palette <= 4) -- info->bit_depth= 2; -- else if (info->num_palette <= 16) -- info->bit_depth= 4; -+ if (png_get_valid(pp, info, PNG_INFO_PLTE)) { -+ png_get_PLTE(pp, info, &palette, &num_palette); -+ if (num_palette <= 2) -+ bit_depth= 1; -+ else if (num_palette <= 4) -+ bit_depth= 2; -+ else if (num_palette <= 16) -+ bit_depth= 4; - /* otherwise the default is fine */ - } - -+ png_set_compression_level (pp, pngvals.compression_level); -+ png_set_IHDR(pp, info, drawable->width, drawable->height, -+ bit_depth, color_type, pngvals.interlaced, compression_type, filter_method); -+ -+ - // write icc profile - #if defined(PNG_iCCP_SUPPORTED) - if (gimp_image_has_icc_profile (image_ID, ICC_IMAGE_PROFILE)) { -@@ -970,10 +990,10 @@ - ICC_IMAGE_PROFILE); - png_set_iCCP (pp, info, - gimp_image_get_icc_profile_description (image_ID, ICC_IMAGE_PROFILE), -- 0, buffer, size); -+ 0, (png_const_bytep)buffer, size); - printf ("%s:%d %s() embedd icc profile \"%s\"\n", - __FILE__,__LINE__,__func__, -- info->iccp_name); -+ (char *)iccp_name); - } - #endif - -@@ -1039,13 +1059,13 @@ - * Convert unpacked pixels to packed if necessary - */ - -- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) -+ if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8) - png_set_packing(pp); - - /* Set swapping for 16 bit per sample images */ - - #ifndef WORDS_BIGENDIAN -- if (info->bit_depth == 16) -+ if (bit_depth == 16) - png_set_swap(pp); - #endif - -@@ -1063,6 +1083,7 @@ - - gimp_pixel_rgn_init(&pixel_rgn, drawable, 0, 0, drawable->width, - drawable->height, FALSE, FALSE); -+ height=png_get_image_height(pp, info); - - for (pass = 0; pass < num_passes; pass ++) - { -@@ -1077,7 +1098,7 @@ - num = end - begin; - - gimp_pixel_rgn_get_rect (&pixel_rgn, pixel, 0, begin, drawable->width, num); -- if (info->valid & PNG_INFO_tRNS) { -+ if (png_get_valid(pp, info, PNG_INFO_tRNS)) { - for (i = 0; i < num; ++i) { - fixed= pixels[i]; - for (k = 0; k < drawable->width; ++k) { -@@ -1085,7 +1106,7 @@ - } - } - /* Forgot this case before, what if there are too many colors? */ -- } else if (info->valid & PNG_INFO_PLTE && bpp == 2) { -+ } else if (png_get_valid(pp, info, PNG_INFO_PLTE) && bpp == 2) { - for (i = 0; i < num; ++i) { - fixed= pixels[i]; - for (k = 0; k < drawable->width; ++k) { -@@ -1097,7 +1118,6 @@ - png_write_rows (pp, pixels, num); -- - gimp_progress_update (((double)pass + (double)end / -- (double)info->height) / (double)num_passes); -+ (double)height) / (double)num_passes); - }; - }; - diff --git a/artistic/cinepaint-lts/cinepaint.install b/artistic/cinepaint-lts/cinepaint.install deleted file mode 100644 index 5e5cfef4d..000000000 --- a/artistic/cinepaint-lts/cinepaint.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - update-desktop-database -q -} diff --git a/artistic/gimp-art/PKGBUILD b/artistic/gimp-art/PKGBUILD deleted file mode 100644 index 11c3b191b..000000000 --- a/artistic/gimp-art/PKGBUILD +++ /dev/null @@ -1,105 +0,0 @@ -# Maintainer (Parabola): Márcio Silva - -pkgname=gimp-art -pkgver=2.8.2 -pkgrel=2 -pkgdesc='GNU Image Manipulation Program (changed splash artwork)' -arch=( - i686 - x86_64 - mips64el -) -url=http://www.${pkgname%-art}.org/ -license=( - GPL - LGPL -) -depends=( - babl - dbus-glib - desktop-file-utils - gegl - hicolor-icon-theme - jasper - lcms - libexif - libmng - librsvg - libxmu - libxpm - libwmf - pygtk -) -makedepends=( - alsa-lib - curl - ghostscript - intltool - iso-codes - libwebkit - poppler-glib -) -optdepends=( - 'alsa-lib: for MIDI event controller module' - 'curl: for URI support' - 'ghostscript: for postscript support' - 'gutenprint: for sophisticated printing only as gimp has built-in cups print support' - 'libwebkit: for the help browser' - 'poppler-glib: for pdf support' -) -options=( - !libtool - !makeflags -) -conflicts=( - ${pkgname%-art} - ${pkgname%-art}-devel -) -provides=( - ${pkgname%-art}=$pkgver -) -install=${pkgname%-art}.install -source=( - ftp://ftp.${pkgname%-art}.org/pub/${pkgname%-art}/v${pkgver%.*}/${pkgname%-art}-$pkgver.tar.bz2 - ${pkgname%-art}-splash-artwork.png - ${pkgname%-art}-splash-artwork.license -) -sha512sums=( - 82a15072aba97d41a7dd74920f5db4e89442ff83841ac614f6fadfd964bdb8d3ae478ac0ba2e906bcf4569c8de00a1616fd6d626032f093060f28df3655d9111 - 1a2930e612b339f49aa85f98275c24202e056f2fff5c1fda94e662bfd45ed5b6226e6ab1947f3daf758f4e5106fd3f7e4f286d63b258f008b6a5d9e5cd6f0611 - d3f055ce278f25b33a6b11f3b031ae801206390fa1f62e3383daf35570e5f68b98ddfac30dea71d89d4916eaf3263e642ad06805c3175f620412e546784335ac -) - -build() { - cd $srcdir/${pkgname%-art}-$pkgver - - ## Add artwork splash image ## - install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.png \ - $srcdir/${pkgname%-art}-$pkgver/data/images/${pkgname%-art}-splash.png - - PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ - --enable-${pkgname%-art}-console \ - --enable-mp \ - --enable-python \ - --sysconfdir=/etc \ - --with-gif-compression=lzw \ - --with-libcurl \ - --without-aa \ - --without-gvfs - make -} - -package() { - cd $srcdir/${pkgname%-art}-$pkgver - make DESTDIR=$pkgdir install - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/${pkgname%-art}/${pkgver::2}0/plug-ins/*.py - - ## Add artwork splash license ## - install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.license \ - $pkgdir/usr/share/licenses/${pkgname%-art}/${pkgname%-art}-splash-artwork.license - - rm $pkgdir/usr/share/man/man1/$_pkgname-console.1 - ln -s ${pkgname%-art}-console-${pkgver%.*}.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}-console.1.gz - ln -s ${pkgname%-art}tool-${pkgver::2}0 $pkgdir/usr/bin/${pkgname%-art}tool - ln -sf ${pkgname%-art}tool-${pkgver::2}0.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}tool.1.gz -} diff --git a/artistic/gimp-art/gimp-splash-artwork.license b/artistic/gimp-art/gimp-splash-artwork.license deleted file mode 100644 index 64267a6c0..000000000 --- a/artistic/gimp-art/gimp-splash-artwork.license +++ /dev/null @@ -1,13 +0,0 @@ -GIMP LIBRE SPLASH LICENSE - -Logo and Effects is created by Zé Lara and Márcio Silva -Idea by André Silva - -The GIMP LIBRE splash screen is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. -To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send aletter to Creative Commons, 444 Castro Street, -Suite 900, Mountain View, California, 94041, USA. - -Sangeno Waterfall Picture is created by Abedinali from Wikimedia Commons under the Creative Commons CC0 1.0 Universal license (Public Domain). -To the extent possible under law, Abedinali from Wikimedia Commons has waived all copyright and related or neighboring rights to Sangeno Waterfall. -This work is published from: United States. -https://upload.wikimedia.org/wikipedia/commons/8/8b/Sangeno.jpg \ No newline at end of file diff --git a/artistic/gimp-art/gimp-splash-artwork.png b/artistic/gimp-art/gimp-splash-artwork.png deleted file mode 100644 index 76c9e8c94..000000000 Binary files a/artistic/gimp-art/gimp-splash-artwork.png and /dev/null differ diff --git a/artistic/gimp-art/gimp.install b/artistic/gimp-art/gimp.install deleted file mode 100644 index c317fbaca..000000000 --- a/artistic/gimp-art/gimp.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/artistic/libspnav/Makefile.in.diff b/artistic/libspnav/Makefile.in.diff deleted file mode 100644 index 4c93b9cb6..000000000 --- a/artistic/libspnav/Makefile.in.diff +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.in.orig 2009-04-18 00:12:45.000000000 +0200 -+++ Makefile.in 2009-04-18 00:16:06.000000000 +0200 -@@ -4,6 +4,7 @@ - lib_a = libspnav.a - soname = libspnav.so.0 - lib_so = $(soname).1 -+linkname = libspnav.so - - CC = gcc - AR = ar -@@ -34,6 +35,8 @@ - install: $(lib_a) $(lib_so) - cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) - cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) -+ ln -s $(lib_so) $(linkname) -+ cp -d $(linkname) $(PREFIX)/$(libdir)/$(linkname) - for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done - - .PHONY: uninstall diff --git a/artistic/libspnav/PKGBUILD b/artistic/libspnav/PKGBUILD deleted file mode 100644 index da0272ed7..000000000 --- a/artistic/libspnav/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Contributor: Jan Hambrecht -# Maintainer (Parabola): Márcio Silva - -pkgname=libspnav -pkgver=0.2.2 -pkgrel=3 -pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)." -arch=('i686' 'x86_64' 'mips64el') -url="http://spacenav.sourceforge.net/" -license=('GPL') -depends=('libx11') -source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz Makefile.in.diff) -md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae' - 'f9122ad4ca823e45bfa0538187df6270') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p0 < $srcdir/Makefile.in.diff - ./configure --prefix=$pkgdir/usr --disable-debug - make || return 1 - install -d $pkgdir/usr/lib - install -d $pkgdir/usr/include - make DESTDIR=$pkgdir install || return 1 -} diff --git a/artistic/spacenavd/PKGBUILD b/artistic/spacenavd/PKGBUILD deleted file mode 100644 index cf8a43c32..000000000 --- a/artistic/spacenavd/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Jan Hambrecht -# Maintainer (Parabola): Márcio Silva - -pkgname=spacenavd -pkgver=0.5 -pkgrel=2 -pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)." -arch=('i686' 'x86_64' 'mips64el') -url="http://spacenav.sourceforge.net/" -license=('GPL') -depends=('libx11') -backup=('etc/spnavrc') -source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz - spacenavd - spacenav.service) - -md5sums=('0bb21da5315bd376aa508157a9455aaa' - '27a739300d4de07920879af2d2bdd47f' - 'b404c8021254636b861651a7a48d17a6') - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=$pkgdir/usr - make || return 1 - make DESTDIR=$pkgdir install || return 1 - # for initscript service - install -D -m755 $srcdir/spacenavd $pkgdir/etc/rc.d/spacenavd || return 1 - # for systend service - install -D -m755 $srcdir/spacenav.service $pkgdir/usr/lib/systemd/system/spacenav.service || return 1 -} diff --git a/artistic/spacenavd/spacenav.service b/artistic/spacenavd/spacenav.service deleted file mode 100644 index 30e8019e9..000000000 --- a/artistic/spacenavd/spacenav.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Spacenavigator Daemon Service - -[Service] -Type=forking -ExecStart=/usr/bin/spacenavd - -[Install] -WantedBy=multi-user.target - diff --git a/artistic/spacenavd/spacenavd b/artistic/spacenavd/spacenavd deleted file mode 100644 index 61946197c..000000000 --- a/artistic/spacenavd/spacenavd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON=/usr/bin/spacenavd - -PID=`pidof -o %PPID $DAEMON` -case "$1" in - start) - stat_busy "Starting Spacenavigator Daemon" - [ -z "$PID" ] && $DAEMON - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon spacenavd - stat_done - fi - ;; - stop) - stat_busy "Stopping Spacenavigator Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon spacenavd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/artistic/spnavcfg/PKGBUILD b/artistic/spnavcfg/PKGBUILD deleted file mode 100644 index cbea06d01..000000000 --- a/artistic/spnavcfg/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Contributor: Jan Hambrecht -# Maintainer (Parabola): Márcio Silva - -pkgname=spnavcfg -pkgver=0.2.1 -pkgrel=1 -pkgdesc='A libre version of 3Dconnexion'\''s 3D input device drivers configuration' -arch=(i686 x86_64 mips64el) -url=http://spacenav.sourceforge.net/ -license=(GPL) -depends=(gtk2) -source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz) -sha512sums=(8cda7e8c9c2aa0875c6cf19e96ec47b9492acdcb110e9845f278ede44bee733876a56e2aa2d1198f54d8fecb978fcfe0a61e8f7b7fe19c2754eceec957172e34) - -build() { - cd $srcdir/$pkgname-$pkgver - sed -i -e 's/$(LDFLAGS)/$(LDFLAGS) -lX11/' Makefile.in - ./configure --prefix=$pkgdir/usr - make || return 1 - make DESTDIR=$pkgdir install || return 1 -} diff --git a/artistic/yafaray-git/PKGBUILD b/artistic/yafaray-git/PKGBUILD deleted file mode 100644 index 0c5d4f6e4..000000000 --- a/artistic/yafaray-git/PKGBUILD +++ /dev/null @@ -1,78 +0,0 @@ -# Maintainer: Lukas Jirkovsky -# Maintainer (Parabola): Márcio Silva -pkgname=yafaray-git -_blendver=2.62 -pkgver=20120420 -pkgrel=1 -pkgdesc="A libre software raytracing engine" -arch=('i686' 'x86_64') -url="http://www.yafaray.org/" -license=('LGPL2.1') -depends=('libxml2' 'openexr' 'libjpeg') -optdepends=('qt: QT GUI' 'python: Python bindings, Blender exporter') -makedepends=('cmake' 'git' 'qt' 'swig' 'python') -provides=('yafaray') -conflicts=('yafaray') -source=('gcc47.patch') -md5sums=('d99eb7db30885549687a8f7a775a582d') - -_gitroot=git://github.com/YafaRay/Core.git -_gitname=yafaray -_gitrootexport=git://github.com/YafaRay/Blender-2.5-Exporter.git -_gitnameexport=exporter - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - # core - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - cd .. - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - # exporter - if [[ -d "$_gitnameexport" ]]; then - cd "$_gitnameexport" && git pull origin - cd .. - msg "The local files are updated." - else - git clone "$_gitrootexport" "$_gitnameexport" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - if [ -e "$srcdir"/$_gitname-build ]; then - rm -rf "$srcdir"/$_gitname-build - fi - mkdir "$srcdir/$_gitname-build" - - patch -Np0 -i "$srcdir/gcc47.patch" - - cd "$srcdir/$_gitname-build" - - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DYAF_PY_VERSION=3.2 \ - -DYAF_BINDINGS_PY_DIR=/usr/lib/python3.2 \ - "../$_gitname" - make -} - -package() { - cd "$srcdir/$_gitname-build" - make DESTDIR="$pkgdir/" install - - # install exporter - cd "$srcdir/$_gitnameexport" - git checkout-index -a -f --prefix="$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/" - # create symlinks to make exporter fully work - install -d -m755 "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin" - ln -sf "/usr/lib/libyafaraycore.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafaraycore.so" - ln -sf "/usr/lib/libyafarayplugin.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafarayplugin.so" - ln -sf "/usr/lib/yafaray" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/plugins" -} - -# vim:set ts=2 sw=2 et: diff --git a/artistic/yafaray-git/gcc47.patch b/artistic/yafaray-git/gcc47.patch deleted file mode 100644 index 75775498b..000000000 --- a/artistic/yafaray-git/gcc47.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- yafaray.orig/src/yafraycore/scene.cc 2012-04-18 00:03:16.508415920 -0300 -+++ yafaray/src/yafraycore/scene.cc 2012-04-18 00:29:59.090117108 -0300 -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - - __BEGIN_YAFRAY - diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD new file mode 100644 index 000000000..5a772503f --- /dev/null +++ b/pcr/aqsis/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Lukas Jirkovsky +# Former contributor: Gino Pezzin +# Maintainer (Parabola): Márcio Silva +pkgname=aqsis +pkgver=1.8.2 +pkgrel=1 +pkgdesc="A high quality, photorealistic, 3D rendering solution" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.aqsis.org" +license=('GPL2') +optdepends=('qt: graphical interface' 'libgl: ptview') +depends=('boost-libs' 'openexr' 'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils') +makedepends=('cmake' 'boost' 'openexr' 'libpng' 'qt' 'mesa') +options=('!libtool') +install=aqsis.install +source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('399967e99f12cfbd1a7385c4e1d39c3b') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + mkdir -p "$srcdir"/$pkgname-build + cd "$srcdir"/$pkgname-build + + cmake "$srcdir"/$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis + make +} + +package() { + cd "$srcdir"/$pkgname-build + make DESTDIR="$pkgdir" install +} diff --git a/pcr/aqsis/aqsis.install b/pcr/aqsis/aqsis.install new file mode 100644 index 000000000..b2086e07b --- /dev/null +++ b/pcr/aqsis/aqsis.install @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor/ + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/cinepaint-lts/LICENSE b/pcr/cinepaint-lts/LICENSE new file mode 100644 index 000000000..746207229 --- /dev/null +++ b/pcr/cinepaint-lts/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) 2005, Kai-Uwe Behrmann +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution.ntributors may be used to endorse or promote + products derived from this software without specific prior written + permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/pcr/cinepaint-lts/PKGBUILD b/pcr/cinepaint-lts/PKGBUILD new file mode 100644 index 000000000..c680ac904 --- /dev/null +++ b/pcr/cinepaint-lts/PKGBUILD @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: tobias [tobias.archlinux.org] +# Contributor: tobias [tobias.justdreams.de] +# Maintainer (Parabola): Márcio Silva + +pkgname=cinepaint-lts +pkgver=1.0 +pkgrel=1 +pkgdesc='Sophisticated graphics manipulation programm supporting > 8bit pictures' +arch=(i686 x86_64 mips64el) +license=(LGPL GPL MIT) +url=http://www.${pkgname%-lts}.org +depends=(gtk2 openexr lcms libxpm fltk ftgl libxxf86vm) +makedepends=(python2 gutenprint) +optdepends=( + 'python2: for python plug-ins' + 'gutenprint: for print plug-ins' + 'ghostscript: for pdf plug-ins' +) +conflicts=(${pkgname%-lts}) +provides=(${pkgname%-lts}) +options=(!libtool) +install=${pkgname%-lts}.install +source=( + http://sourceforge.net/projects/${pkgname%-lts}/files/CinePaint/${pkgname%-lts}-$pkgver.tgz + LICENSE + ${pkgname%-lts}-libpng15.patch +) +md5sums=( + 7dfdb005d246578392ac9bd500534804 + 169085743f667c250ea2e4022efecf5f + 6d3f65b72e0f1569a9efe1bcab1b8124 +) + +build() { + cd $srcdir/${pkgname%-lts} + + rm config.{sub,guess} + ln -s /usr/share/automake-1.12/config.sub config.sub + ln -s /usr/share/automake-1.12/config.guess config.guess + + patch -p1 -i ../${pkgname%-lts}-libpng15.patch + find plug-ins/pygimp -type f -exec sed -i 's#env python#env python2#' {} + + sed -i 's|$(LDFLAGS) -o|$(LDFLAGS) $(GTK_LIBS) -o|' lib/Makefile.in + sed -i -e '1 s/^/#include \n/' plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp + + sh autogen.sh + LIBS+="-lstdc++ -lm -lX11" ./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man \ + --enable-gtk2 --enable-pygimp --with-python=/usr/bin/python2 + sed -i 's/-Wl,,/-Wl,/' lib/fl_i18n/Makefile plug-ins/bracketing_to_hdr/Makefile \ + plug-ins/collect/Makefile plug-ins/icc_examin/icc_examin/Makefile plug-ins/pdf/Makefile + make +} + +package() { + cd $srcdir/${pkgname%-lts} + make DESTDIR=$pkgdir install + sed -i -e "s|-I$srcdir/${pkgname%-lts}||" -e "s|-I$srcdir/${pkgname%-lts}/lib||" -e "/lib${pkgname%-lts}.la/d" \ + -e "s|${srcdir}/${pkgname%-lts}/lib/.libs/\$dlname||" $pkgdir/usr/bin/${pkgname%-lts}tool + sed -i "s/${pkgname%-lts}.png/${pkgname%-lts}/" $pkgdir/usr/share/applications/${pkgname%-lts}.desktop + install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/cinepaint-lts/cinepaint-libpng15.patch b/pcr/cinepaint-lts/cinepaint-libpng15.patch new file mode 100644 index 000000000..619d9af42 --- /dev/null +++ b/pcr/cinepaint-lts/cinepaint-libpng15.patch @@ -0,0 +1,446 @@ +diff -Nur a/plug-ins/png/png.c b/plug-ins/png/png.c +--- a/plug-ins/png/png.c 2006-11-24 18:52:55.000000000 -0200 ++++ b/plug-ins/png/png.c 2012-10-12 01:07:56.452245955 -0200 +@@ -390,6 +390,16 @@ + gchar *progress; /* Title for progress display... */ + guchar alpha[256], /* Index -> Alpha */ + *alpha_ptr; /* Temporary pointer */ ++ png_byte color_type; ++ png_byte bit_depth; ++ png_colorp palette; ++ int num_palette; ++ png_charpp iccp_name; ++ int compression_type; ++ png_bytepp iccp_profile; ++ png_uint_32 iccp_proflen; ++ png_uint_32 width, height; ++ png_byte channels; + + /* + * PNG 0.89 and newer have a sane, forwards compatible constructor. +@@ -405,7 +415,7 @@ + info = (png_infop)calloc(sizeof(png_info), 1); + #endif /* PNG_LIBPNG_VER > 88 */ + +- if (setjmp (pp->jmpbuf)) ++ if (setjmp (png_jmpbuf(pp))) + { + g_message ("%s\nPNG error. File corrupted?", filename); + return image; +@@ -442,21 +452,26 @@ + */ + + png_read_info(pp, info); ++ color_type = png_get_color_type(pp, info); ++ width=png_get_image_width(pp, info); ++ height=png_get_image_height(pp, info); + + /* + * Latest attempt, this should be my best yet :) + */ + ++ bit_depth = png_get_bit_depth(pp, info); ++ + #ifndef WORDS_BIGENDIAN +- if(info->bit_depth == 16) ++ if(bit_depth == 16) + png_set_swap(pp); + #endif + +- if (info->color_type == PNG_COLOR_TYPE_GRAY && info->bit_depth < 8) { ++ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { + png_set_expand(pp); + } + +- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) { ++ if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8) { + png_set_packing(pp); + } + +@@ -464,8 +479,8 @@ + * Expand G+tRNS to GA, RGB+tRNS to RGBA + */ + +- if (info->color_type != PNG_COLOR_TYPE_PALETTE && +- (info->valid & PNG_INFO_tRNS)) { ++ if (color_type != PNG_COLOR_TYPE_PALETTE && ++ (png_get_valid(pp, info, PNG_INFO_tRNS))) { + png_set_expand(pp); + } + +@@ -482,7 +497,7 @@ + + #if PNG_LIBPNG_VER > 99 + if (png_get_valid(pp, info, PNG_INFO_tRNS) && +- info->color_type == PNG_COLOR_TYPE_PALETTE) ++ color_type == PNG_COLOR_TYPE_PALETTE) + { + png_get_tRNS(pp, info, &alpha_ptr, &num, NULL); + /* Copy the existing alpha values from the tRNS chunk */ +@@ -505,9 +520,9 @@ + + png_read_update_info(pp, info); + +- if(info->bit_depth==16) ++ if(bit_depth==16) + { +- switch (info->color_type) ++ switch (color_type) + { + case PNG_COLOR_TYPE_RGB : /* RGB */ + bpp = 6; +@@ -545,7 +560,7 @@ + } + else + { +- switch (info->color_type) ++ switch (color_type) + { + case PNG_COLOR_TYPE_RGB : /* RGB */ + bpp = 3; +@@ -582,7 +597,7 @@ + }; + } + +- image = gimp_image_new(info->width, info->height, image_type); ++ image = gimp_image_new(width, height, image_type); + if (image == -1) + { + g_message("Can't allocate new image\n%s", filename); +@@ -595,7 +610,7 @@ + * Create the "background" layer to hold the image... + */ + +- layer = gimp_layer_new(image, _("Background"), info->width, info->height, ++ layer = gimp_layer_new(image, _("Background"), width, height, + layer_type, 100, NORMAL_MODE); + gimp_image_add_layer(image, layer, 0); + +@@ -627,20 +642,21 @@ + + empty= 0; /* by default assume no full transparent palette entries */ + +- if (info->color_type & PNG_COLOR_MASK_PALETTE) { ++ if (color_type & PNG_COLOR_MASK_PALETTE) { + + #if PNG_LIBPNG_VER > 99 ++ png_get_PLTE(pp, info, &palette, &num_palette); + if (png_get_valid(pp, info, PNG_INFO_tRNS)) { + for (empty= 0; empty < 256 && alpha[empty] == 0; ++empty); + /* Calculates number of fully transparent "empty" entries */ + +- gimp_image_set_cmap(image, (guchar *) (info->palette + empty), +- info->num_palette - empty); ++ gimp_image_set_cmap(image, (guchar *) (palette + empty), ++ num_palette - empty); + } else { +- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette); ++ gimp_image_set_cmap(image, (guchar *)palette, num_palette); + } + #else +- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette); ++ gimp_image_set_cmap(image, (guchar *)palette, num_palette); + #endif /* PNG_LIBPNG_VER > 99 */ + + } +@@ -659,18 +675,19 @@ + */ + + tile_height = gimp_tile_height (); +- pixel = g_new(guchar, tile_height * info->width * bpp); ++ pixel = g_new(guchar, tile_height * width * bpp); + pixels = g_new(guchar *, tile_height); ++ channels=png_get_channels(pp, info); + +- if(info->bit_depth==16) ++ if(bit_depth==16) + { + for (i = 0; i < tile_height; i ++) +- pixels[i] = pixel + info->width * info->channels * i * 2; ++ pixels[i] = pixel + width * channels * i * 2; + } + else + { + for (i = 0; i < tile_height; i ++) +- pixels[i] = pixel + info->width * info->channels * i; ++ pixels[i] = pixel + width * channels * i; + } + + for (pass = 0; pass < num_passes; pass ++) +@@ -680,11 +697,11 @@ + */ + + for (begin = 0, end = tile_height; +- begin < info->height; ++ begin < height; + begin += tile_height, end += tile_height) + { +- if (end > info->height) +- end = info->height; ++ if (end > height) ++ end = height; + + num = end - begin; + +@@ -697,20 +714,21 @@ + gimp_pixel_rgn_set_rect(&pixel_rgn, pixel, 0, begin, + drawable->width, num); + +- gimp_progress_update(((double)pass + (double)end / (double)info->height) / ++ gimp_progress_update(((double)pass + (double)end / (double)height) / + (double)num_passes); + }; + }; + + #if defined(PNG_iCCP_SUPPORTED) + /* set icc profile */ +- if (info->iccp_proflen > 0) { +- gimp_image_set_icc_profile_by_mem (image, info->iccp_proflen, +- info->iccp_profile, +- ICC_IMAGE_PROFILE); ++ png_get_iCCP(pp, info, (png_charpp)iccp_name, &compression_type, iccp_profile, &iccp_proflen); ++ if (iccp_proflen > 0) { ++ gimp_image_set_icc_profile_by_mem (image, iccp_proflen, ++ (gchar *)iccp_profile, ++ ICC_IMAGE_PROFILE); + printf ("%s:%d %s() set embedded profile \"%s\"\n", + __FILE__,__LINE__,__func__, +- info->iccp_name); ++ (char *)iccp_name); + } + #endif + +@@ -808,6 +826,14 @@ + blue; /* Used for palette background */ + time_t cutime; /* Time since epoch */ + struct tm *gmt; /* GMT broken down */ ++ png_byte color_type; ++ png_byte bit_depth; ++ int filter_method=0; ++ png_colorp palette; ++ int num_palette; ++ png_charpp iccp_name; ++ png_uint_32 height; ++ int compression_type; + + /* + * PNG 0.89 and newer have a sane, forwards compatible constructor. +@@ -824,7 +850,7 @@ + info = (png_infop)calloc(sizeof(png_info), 1); + #endif /* PNG_LIBPNG_VER > 88 */ + +- if (setjmp (pp->jmpbuf)) ++ if (setjmp (png_jmpbuf(pp))) + { + g_message ("%s\nPNG error. Couldn't save image", filename); + return 0; +@@ -858,87 +884,75 @@ + type = gimp_drawable_type (drawable_ID); + + /* +- * Set the image dimensions, bit depth, interlacing and compression +- */ +- +- png_set_compression_level (pp, pngvals.compression_level); +- +- info->width = drawable->width; +- info->height = drawable->height; +- info->interlace_type = pngvals.interlaced; +- +- /* + * Set color type and remember bytes per pixel count + */ + + switch (type) + { + case RGB_IMAGE : +- info->color_type = PNG_COLOR_TYPE_RGB; +- info->bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_RGB; ++ bit_depth = 8; + bpp = 3; + break; + case RGBA_IMAGE : +- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA; +- info->bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_RGB_ALPHA; ++ bit_depth = 8; + bpp = 4; + break; + case GRAY_IMAGE : +- info->color_type = PNG_COLOR_TYPE_GRAY; +- info->bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_GRAY; ++ bit_depth = 8; + bpp = 1; + break; + case GRAYA_IMAGE : +- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA; +- info->bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_GRAY_ALPHA; ++ bit_depth = 8; + bpp = 2; + break; + case INDEXED_IMAGE : + bpp = 1; +- info->bit_depth = 8; +- info->color_type = PNG_COLOR_TYPE_PALETTE; +- info->valid |= PNG_INFO_PLTE; +- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors); +- info->num_palette= num_colors; ++ bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_PALETTE; ++ png_get_valid(pp, info, PNG_INFO_PLTE); ++ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors); + break; + case INDEXEDA_IMAGE : + bpp = 2; +- info->bit_depth = 8; +- info->color_type = PNG_COLOR_TYPE_PALETTE; ++ bit_depth = 8; ++ color_type = PNG_COLOR_TYPE_PALETTE; + respin_cmap (pp, info, image_ID); /* fix up transparency */ + break; + case U16_RGB_IMAGE : +- info->color_type = PNG_COLOR_TYPE_RGB; +- info->bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_RGB; ++ bit_depth = 16; + bpp = 6; + break; + case U16_RGBA_IMAGE : +- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA; +- info->bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_RGB_ALPHA; ++ bit_depth = 16; + bpp = 8; + break; + case U16_GRAY_IMAGE : +- info->color_type = PNG_COLOR_TYPE_GRAY; +- info->bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_GRAY; ++ bit_depth = 16; + bpp = 2; + break; + case U16_GRAYA_IMAGE : +- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA; +- info->bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_GRAY_ALPHA; ++ bit_depth = 16; + bpp = 4; + break; + case U16_INDEXED_IMAGE : + bpp = 2; +- info->bit_depth = 16; +- info->color_type = PNG_COLOR_TYPE_PALETTE; +- info->valid |= PNG_INFO_PLTE; +- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors); +- info->num_palette= num_colors; ++ bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_PALETTE; ++ png_get_valid(pp, info, PNG_INFO_PLTE); ++ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap(image_ID, &num_colors), num_colors); + break; + case U16_INDEXEDA_IMAGE : + bpp = 4; +- info->bit_depth = 16; +- info->color_type = PNG_COLOR_TYPE_PALETTE; ++ bit_depth = 16; ++ color_type = PNG_COLOR_TYPE_PALETTE; + respin_cmap (pp, info, image_ID); /* fix up transparency */ + break; + default: +@@ -950,16 +964,22 @@ + * Fix bit depths for (possibly) smaller colormap images + */ + +- if (info->valid & PNG_INFO_PLTE) { +- if (info->num_palette <= 2) +- info->bit_depth= 1; +- else if (info->num_palette <= 4) +- info->bit_depth= 2; +- else if (info->num_palette <= 16) +- info->bit_depth= 4; ++ if (png_get_valid(pp, info, PNG_INFO_PLTE)) { ++ png_get_PLTE(pp, info, &palette, &num_palette); ++ if (num_palette <= 2) ++ bit_depth= 1; ++ else if (num_palette <= 4) ++ bit_depth= 2; ++ else if (num_palette <= 16) ++ bit_depth= 4; + /* otherwise the default is fine */ + } + ++ png_set_compression_level (pp, pngvals.compression_level); ++ png_set_IHDR(pp, info, drawable->width, drawable->height, ++ bit_depth, color_type, pngvals.interlaced, compression_type, filter_method); ++ ++ + // write icc profile + #if defined(PNG_iCCP_SUPPORTED) + if (gimp_image_has_icc_profile (image_ID, ICC_IMAGE_PROFILE)) { +@@ -970,10 +990,10 @@ + ICC_IMAGE_PROFILE); + png_set_iCCP (pp, info, + gimp_image_get_icc_profile_description (image_ID, ICC_IMAGE_PROFILE), +- 0, buffer, size); ++ 0, (png_const_bytep)buffer, size); + printf ("%s:%d %s() embedd icc profile \"%s\"\n", + __FILE__,__LINE__,__func__, +- info->iccp_name); ++ (char *)iccp_name); + } + #endif + +@@ -1039,13 +1059,13 @@ + * Convert unpacked pixels to packed if necessary + */ + +- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) ++ if (color_type == PNG_COLOR_TYPE_PALETTE && bit_depth < 8) + png_set_packing(pp); + + /* Set swapping for 16 bit per sample images */ + + #ifndef WORDS_BIGENDIAN +- if (info->bit_depth == 16) ++ if (bit_depth == 16) + png_set_swap(pp); + #endif + +@@ -1063,6 +1083,7 @@ + + gimp_pixel_rgn_init(&pixel_rgn, drawable, 0, 0, drawable->width, + drawable->height, FALSE, FALSE); ++ height=png_get_image_height(pp, info); + + for (pass = 0; pass < num_passes; pass ++) + { +@@ -1077,7 +1098,7 @@ + num = end - begin; + + gimp_pixel_rgn_get_rect (&pixel_rgn, pixel, 0, begin, drawable->width, num); +- if (info->valid & PNG_INFO_tRNS) { ++ if (png_get_valid(pp, info, PNG_INFO_tRNS)) { + for (i = 0; i < num; ++i) { + fixed= pixels[i]; + for (k = 0; k < drawable->width; ++k) { +@@ -1085,7 +1106,7 @@ + } + } + /* Forgot this case before, what if there are too many colors? */ +- } else if (info->valid & PNG_INFO_PLTE && bpp == 2) { ++ } else if (png_get_valid(pp, info, PNG_INFO_PLTE) && bpp == 2) { + for (i = 0; i < num; ++i) { + fixed= pixels[i]; + for (k = 0; k < drawable->width; ++k) { +@@ -1097,7 +1118,6 @@ + png_write_rows (pp, pixels, num); +- + gimp_progress_update (((double)pass + (double)end / +- (double)info->height) / (double)num_passes); ++ (double)height) / (double)num_passes); + }; + }; + diff --git a/pcr/cinepaint-lts/cinepaint.install b/pcr/cinepaint-lts/cinepaint.install new file mode 100644 index 000000000..5e5cfef4d --- /dev/null +++ b/pcr/cinepaint-lts/cinepaint.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q +} diff --git a/pcr/gimp-art/PKGBUILD b/pcr/gimp-art/PKGBUILD new file mode 100644 index 000000000..11c3b191b --- /dev/null +++ b/pcr/gimp-art/PKGBUILD @@ -0,0 +1,105 @@ +# Maintainer (Parabola): Márcio Silva + +pkgname=gimp-art +pkgver=2.8.2 +pkgrel=2 +pkgdesc='GNU Image Manipulation Program (changed splash artwork)' +arch=( + i686 + x86_64 + mips64el +) +url=http://www.${pkgname%-art}.org/ +license=( + GPL + LGPL +) +depends=( + babl + dbus-glib + desktop-file-utils + gegl + hicolor-icon-theme + jasper + lcms + libexif + libmng + librsvg + libxmu + libxpm + libwmf + pygtk +) +makedepends=( + alsa-lib + curl + ghostscript + intltool + iso-codes + libwebkit + poppler-glib +) +optdepends=( + 'alsa-lib: for MIDI event controller module' + 'curl: for URI support' + 'ghostscript: for postscript support' + 'gutenprint: for sophisticated printing only as gimp has built-in cups print support' + 'libwebkit: for the help browser' + 'poppler-glib: for pdf support' +) +options=( + !libtool + !makeflags +) +conflicts=( + ${pkgname%-art} + ${pkgname%-art}-devel +) +provides=( + ${pkgname%-art}=$pkgver +) +install=${pkgname%-art}.install +source=( + ftp://ftp.${pkgname%-art}.org/pub/${pkgname%-art}/v${pkgver%.*}/${pkgname%-art}-$pkgver.tar.bz2 + ${pkgname%-art}-splash-artwork.png + ${pkgname%-art}-splash-artwork.license +) +sha512sums=( + 82a15072aba97d41a7dd74920f5db4e89442ff83841ac614f6fadfd964bdb8d3ae478ac0ba2e906bcf4569c8de00a1616fd6d626032f093060f28df3655d9111 + 1a2930e612b339f49aa85f98275c24202e056f2fff5c1fda94e662bfd45ed5b6226e6ab1947f3daf758f4e5106fd3f7e4f286d63b258f008b6a5d9e5cd6f0611 + d3f055ce278f25b33a6b11f3b031ae801206390fa1f62e3383daf35570e5f68b98ddfac30dea71d89d4916eaf3263e642ad06805c3175f620412e546784335ac +) + +build() { + cd $srcdir/${pkgname%-art}-$pkgver + + ## Add artwork splash image ## + install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.png \ + $srcdir/${pkgname%-art}-$pkgver/data/images/${pkgname%-art}-splash.png + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --enable-${pkgname%-art}-console \ + --enable-mp \ + --enable-python \ + --sysconfdir=/etc \ + --with-gif-compression=lzw \ + --with-libcurl \ + --without-aa \ + --without-gvfs + make +} + +package() { + cd $srcdir/${pkgname%-art}-$pkgver + make DESTDIR=$pkgdir install + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/lib/${pkgname%-art}/${pkgver::2}0/plug-ins/*.py + + ## Add artwork splash license ## + install -Dm644 $srcdir/${pkgname%-art}-splash-artwork.license \ + $pkgdir/usr/share/licenses/${pkgname%-art}/${pkgname%-art}-splash-artwork.license + + rm $pkgdir/usr/share/man/man1/$_pkgname-console.1 + ln -s ${pkgname%-art}-console-${pkgver%.*}.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}-console.1.gz + ln -s ${pkgname%-art}tool-${pkgver::2}0 $pkgdir/usr/bin/${pkgname%-art}tool + ln -sf ${pkgname%-art}tool-${pkgver::2}0.1.gz $pkgdir/usr/share/man/man1/${pkgname%-art}tool.1.gz +} diff --git a/pcr/gimp-art/gimp-splash-artwork.license b/pcr/gimp-art/gimp-splash-artwork.license new file mode 100644 index 000000000..64267a6c0 --- /dev/null +++ b/pcr/gimp-art/gimp-splash-artwork.license @@ -0,0 +1,13 @@ +GIMP LIBRE SPLASH LICENSE + +Logo and Effects is created by Zé Lara and Márcio Silva +Idea by André Silva + +The GIMP LIBRE splash screen is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. +To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send aletter to Creative Commons, 444 Castro Street, +Suite 900, Mountain View, California, 94041, USA. + +Sangeno Waterfall Picture is created by Abedinali from Wikimedia Commons under the Creative Commons CC0 1.0 Universal license (Public Domain). +To the extent possible under law, Abedinali from Wikimedia Commons has waived all copyright and related or neighboring rights to Sangeno Waterfall. +This work is published from: United States. +https://upload.wikimedia.org/wikipedia/commons/8/8b/Sangeno.jpg \ No newline at end of file diff --git a/pcr/gimp-art/gimp-splash-artwork.png b/pcr/gimp-art/gimp-splash-artwork.png new file mode 100644 index 000000000..76c9e8c94 Binary files /dev/null and b/pcr/gimp-art/gimp-splash-artwork.png differ diff --git a/pcr/gimp-art/gimp.install b/pcr/gimp-art/gimp.install new file mode 100644 index 000000000..c317fbaca --- /dev/null +++ b/pcr/gimp-art/gimp.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/libspnav/Makefile.in.diff b/pcr/libspnav/Makefile.in.diff new file mode 100644 index 000000000..4c93b9cb6 --- /dev/null +++ b/pcr/libspnav/Makefile.in.diff @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2009-04-18 00:12:45.000000000 +0200 ++++ Makefile.in 2009-04-18 00:16:06.000000000 +0200 +@@ -4,6 +4,7 @@ + lib_a = libspnav.a + soname = libspnav.so.0 + lib_so = $(soname).1 ++linkname = libspnav.so + + CC = gcc + AR = ar +@@ -34,6 +35,8 @@ + install: $(lib_a) $(lib_so) + cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a) + cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so) ++ ln -s $(lib_so) $(linkname) ++ cp -d $(linkname) $(PREFIX)/$(libdir)/$(linkname) + for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done + + .PHONY: uninstall diff --git a/pcr/libspnav/PKGBUILD b/pcr/libspnav/PKGBUILD new file mode 100644 index 000000000..da0272ed7 --- /dev/null +++ b/pcr/libspnav/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Jan Hambrecht +# Maintainer (Parabola): Márcio Silva + +pkgname=libspnav +pkgver=0.2.2 +pkgrel=3 +pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)." +arch=('i686' 'x86_64' 'mips64el') +url="http://spacenav.sourceforge.net/" +license=('GPL') +depends=('libx11') +source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz Makefile.in.diff) +md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae' + 'f9122ad4ca823e45bfa0538187df6270') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -p0 < $srcdir/Makefile.in.diff + ./configure --prefix=$pkgdir/usr --disable-debug + make || return 1 + install -d $pkgdir/usr/lib + install -d $pkgdir/usr/include + make DESTDIR=$pkgdir install || return 1 +} diff --git a/pcr/spacenavd/PKGBUILD b/pcr/spacenavd/PKGBUILD new file mode 100644 index 000000000..cf8a43c32 --- /dev/null +++ b/pcr/spacenavd/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Jan Hambrecht +# Maintainer (Parabola): Márcio Silva + +pkgname=spacenavd +pkgver=0.5 +pkgrel=2 +pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)." +arch=('i686' 'x86_64' 'mips64el') +url="http://spacenav.sourceforge.net/" +license=('GPL') +depends=('libx11') +backup=('etc/spnavrc') +source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz + spacenavd + spacenav.service) + +md5sums=('0bb21da5315bd376aa508157a9455aaa' + '27a739300d4de07920879af2d2bdd47f' + 'b404c8021254636b861651a7a48d17a6') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=$pkgdir/usr + make || return 1 + make DESTDIR=$pkgdir install || return 1 + # for initscript service + install -D -m755 $srcdir/spacenavd $pkgdir/etc/rc.d/spacenavd || return 1 + # for systend service + install -D -m755 $srcdir/spacenav.service $pkgdir/usr/lib/systemd/system/spacenav.service || return 1 +} diff --git a/pcr/spacenavd/spacenav.service b/pcr/spacenavd/spacenav.service new file mode 100644 index 000000000..30e8019e9 --- /dev/null +++ b/pcr/spacenavd/spacenav.service @@ -0,0 +1,10 @@ +[Unit] +Description=Spacenavigator Daemon Service + +[Service] +Type=forking +ExecStart=/usr/bin/spacenavd + +[Install] +WantedBy=multi-user.target + diff --git a/pcr/spacenavd/spacenavd b/pcr/spacenavd/spacenavd new file mode 100644 index 000000000..61946197c --- /dev/null +++ b/pcr/spacenavd/spacenavd @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +DAEMON=/usr/bin/spacenavd + +PID=`pidof -o %PPID $DAEMON` +case "$1" in + start) + stat_busy "Starting Spacenavigator Daemon" + [ -z "$PID" ] && $DAEMON + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon spacenavd + stat_done + fi + ;; + stop) + stat_busy "Stopping Spacenavigator Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon spacenavd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/pcr/spnavcfg/PKGBUILD b/pcr/spnavcfg/PKGBUILD new file mode 100644 index 000000000..cbea06d01 --- /dev/null +++ b/pcr/spnavcfg/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Jan Hambrecht +# Maintainer (Parabola): Márcio Silva + +pkgname=spnavcfg +pkgver=0.2.1 +pkgrel=1 +pkgdesc='A libre version of 3Dconnexion'\''s 3D input device drivers configuration' +arch=(i686 x86_64 mips64el) +url=http://spacenav.sourceforge.net/ +license=(GPL) +depends=(gtk2) +source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz) +sha512sums=(8cda7e8c9c2aa0875c6cf19e96ec47b9492acdcb110e9845f278ede44bee733876a56e2aa2d1198f54d8fecb978fcfe0a61e8f7b7fe19c2754eceec957172e34) + +build() { + cd $srcdir/$pkgname-$pkgver + sed -i -e 's/$(LDFLAGS)/$(LDFLAGS) -lX11/' Makefile.in + ./configure --prefix=$pkgdir/usr + make || return 1 + make DESTDIR=$pkgdir install || return 1 +} diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD new file mode 100644 index 000000000..0c5d4f6e4 --- /dev/null +++ b/pcr/yafaray-git/PKGBUILD @@ -0,0 +1,78 @@ +# Maintainer: Lukas Jirkovsky +# Maintainer (Parabola): Márcio Silva +pkgname=yafaray-git +_blendver=2.62 +pkgver=20120420 +pkgrel=1 +pkgdesc="A libre software raytracing engine" +arch=('i686' 'x86_64') +url="http://www.yafaray.org/" +license=('LGPL2.1') +depends=('libxml2' 'openexr' 'libjpeg') +optdepends=('qt: QT GUI' 'python: Python bindings, Blender exporter') +makedepends=('cmake' 'git' 'qt' 'swig' 'python') +provides=('yafaray') +conflicts=('yafaray') +source=('gcc47.patch') +md5sums=('d99eb7db30885549687a8f7a775a582d') + +_gitroot=git://github.com/YafaRay/Core.git +_gitname=yafaray +_gitrootexport=git://github.com/YafaRay/Blender-2.5-Exporter.git +_gitnameexport=exporter + +build() { + cd "$srcdir" + msg "Connecting to GIT server...." + + # core + if [[ -d "$_gitname" ]]; then + cd "$_gitname" && git pull origin + cd .. + msg "The local files are updated." + else + git clone "$_gitroot" "$_gitname" + fi + # exporter + if [[ -d "$_gitnameexport" ]]; then + cd "$_gitnameexport" && git pull origin + cd .. + msg "The local files are updated." + else + git clone "$_gitrootexport" "$_gitnameexport" + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + if [ -e "$srcdir"/$_gitname-build ]; then + rm -rf "$srcdir"/$_gitname-build + fi + mkdir "$srcdir/$_gitname-build" + + patch -Np0 -i "$srcdir/gcc47.patch" + + cd "$srcdir/$_gitname-build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DYAF_PY_VERSION=3.2 \ + -DYAF_BINDINGS_PY_DIR=/usr/lib/python3.2 \ + "../$_gitname" + make +} + +package() { + cd "$srcdir/$_gitname-build" + make DESTDIR="$pkgdir/" install + + # install exporter + cd "$srcdir/$_gitnameexport" + git checkout-index -a -f --prefix="$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/" + # create symlinks to make exporter fully work + install -d -m755 "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin" + ln -sf "/usr/lib/libyafaraycore.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafaraycore.so" + ln -sf "/usr/lib/libyafarayplugin.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafarayplugin.so" + ln -sf "/usr/lib/yafaray" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/plugins" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/yafaray-git/gcc47.patch b/pcr/yafaray-git/gcc47.patch new file mode 100644 index 000000000..75775498b --- /dev/null +++ b/pcr/yafaray-git/gcc47.patch @@ -0,0 +1,10 @@ +--- yafaray.orig/src/yafraycore/scene.cc 2012-04-18 00:03:16.508415920 -0300 ++++ yafaray/src/yafraycore/scene.cc 2012-04-18 00:29:59.090117108 -0300 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + __BEGIN_YAFRAY + -- cgit v1.2.3 From 370ca9d9a962d24f8bb23f2e1db767981e9f8eef Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 22 Feb 2013 15:41:20 -0200 Subject: nexuiz-2.5.2-2.1: changing incorrect upstream URL to Nexuiz GPL website --- pcr/nexuiz/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 3b59cd617..1d1d513d4 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,10 +8,10 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=2 +pkgrel=2.1 arch=('i686' 'x86_64') pkgdesc="a free software first person shooter" -url="http://www.nexuiz.com/" +url="http://www.alientrap.org/games/nexuiz/" license=("GPL") depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'nexuiz-data' 'libpng>=1.4.0') makedepends=('mesa') -- cgit v1.2.3 From 79cd6118a232da04e20f969bf181dbd09e2e67df Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 23 Feb 2013 02:27:56 -0200 Subject: nexuiz: fixing description --- pcr/nexuiz/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 1d1d513d4..5c3b50899 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,9 +8,9 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=2.1 +pkgrel=2.2 arch=('i686' 'x86_64') -pkgdesc="a free software first person shooter" +pkgdesc="A free software first person shooter" url="http://www.alientrap.org/games/nexuiz/" license=("GPL") depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'nexuiz-data' 'libpng>=1.4.0') -- cgit v1.2.3 From cf9b40b518ad76591b8cf4faddafa1890aa7f163 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 23 Feb 2013 16:40:50 -0200 Subject: hexchat-libre-2.9.4-2.1: branding to Parabola --- pcr/hexchat-libre/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD index 26c353fb9..489fb0c91 100644 --- a/pcr/hexchat-libre/PKGBUILD +++ b/pcr/hexchat-libre/PKGBUILD @@ -4,8 +4,8 @@ _pkgname=hexchat pkgname=hexchat-libre pkgver=2.9.4 -pkgrel=2 -pkgdesc='A GTK+ based IRC client without non-free browser reference' +pkgrel=2.1 +pkgdesc='A GTK+ based IRC client without non-free browser reference (Parabola rebranded)' arch=('i686' 'x86_64' 'mips64el') url='http://www.hexchat.org/' license=('GPL') @@ -29,6 +29,7 @@ md5sums=('5609cac7200fc91be57196501aaf07fa' build() { cd "$srcdir/$_pkgname-$pkgver" + sed -i -e 's#ArchLinux#Parabola GNU/Linux-libre#' plugins/sysinfo/parse.c patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" patch -p1 -i "${srcdir}/no-firefox.patch" mkdir m4 -- cgit v1.2.3 From 4d2d33bb989a2860e863ce198e0a185c3a03af4b Mon Sep 17 00:00:00 2001 From: aurelien Date: Mon, 25 Feb 2013 15:28:21 +0100 Subject: + coin eigen3 swig1 --- pcr/coin/PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ pcr/eigen3/PKGBUILD | 27 ++++++++++++++++++++++++ pcr/swig1/PKGBUILD | 29 ++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 pcr/coin/PKGBUILD create mode 100644 pcr/eigen3/PKGBUILD create mode 100644 pcr/swig1/PKGBUILD (limited to 'pcr') diff --git a/pcr/coin/PKGBUILD b/pcr/coin/PKGBUILD new file mode 100644 index 000000000..c584949c9 --- /dev/null +++ b/pcr/coin/PKGBUILD @@ -0,0 +1,59 @@ +# Contributor: Christian Hesse +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: mickele +# Contributor: marcus fritzsch +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrières + +pkgname=coin +pkgver=3.1.3 +pkgrel=9 +pkgdesc='A high-level 3D graphics toolkit on top of OpenGL' +url='http://www.coin3d.org/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('mesa' 'expat') +makedepends=('doxygen') +optdepends=('openal: sound/dynamic linking support' + 'fontconfig: dynamic linking support' + 'zlib: dynamic linking support' + 'freetype2: dynamic linking support' + 'js: dynamic linking support' + 'simage: image format support') +options=('!libtool') +source=("https://bitbucket.org/Coin3D/coin/downloads/Coin-${pkgver}.tar.gz") + +build() { + cd Coin-${pkgver} + + # fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667139 + sed -i "/#include /i #include " include/Inventor/SbBasic.h + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-optimization \ + --enable-3ds-import \ + --enable-javascript-api \ + --enable-threadsafe \ + --enable-exceptions \ + --enable-man \ + --with-mesa \ + --disable-debug \ + --enable-shared \ + --disable-maintainer-mode \ + --disable-dependency-tracking \ + --enable-system-expat + + make +} + +package() { + cd Coin-${pkgver} + + make DESTDIR=${pkgdir} install + + # final adjustments + for _FILE in threads deprecated errors events ; do + mv "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3" + done +} diff --git a/pcr/eigen3/PKGBUILD b/pcr/eigen3/PKGBUILD new file mode 100644 index 000000000..a1e186325 --- /dev/null +++ b/pcr/eigen3/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Chirantan Ekbote +# Contributor: Kringel +# This PKGBUILD is a modified version of eigen 2.x in extra/eigen +# Maintainer: Parabola GNU / Linux-libre Aurélien Desbrières + +pkgname=eigen3 +pkgver=3.1.2 +pkgrel=1 +pkgdesc="Eigen is a lightweight C++ template library for vector and matrix math, a.k.a. linear algebra." +arch=('any') +url='http://eigen.tuxfamily.org' +license=('MPL2') +makedepends=('cmake' 'pkgconfig') +source=("${pkgname}-${pkgver}.tar.bz2::http://bitbucket.org/eigen/eigen/get/${pkgver}.tar.bz2") + +build() { + mkdir -p "$srcdir"/build + cd "$srcdir"/build + cmake ../eigen-eigen-* \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr +} + +package() { + cd "$srcdir"/build + make DESTDIR="$pkgdir" install +} diff --git a/pcr/swig1/PKGBUILD b/pcr/swig1/PKGBUILD new file mode 100644 index 000000000..4cb83afd2 --- /dev/null +++ b/pcr/swig1/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Hilton Medeiros +# Contributor: Jason Chu +# Contributor: Tom Newsom +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=swig1 +_pkgname=swig +pkgver=1.3.40 +pkgrel=1 +pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)" +arch=('i686' 'x86_64') +url="http://www.swig.org/" +license=('custom') +depends=('gcc-libs' 'zlib') +conflicts=('swig' 'swig-pantheon') +provides=('swig') +source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} -- cgit v1.2.3 From 155ca5fb8c8648f8a69295097a0044380291917a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 26 Feb 2013 02:22:43 -0200 Subject: nexuiz and nexuiz-data: fixing url --- pcr/nexuiz-data/PKGBUILD | 4 ++-- pcr/nexuiz/PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD index edd338097..619da3465 100644 --- a/pcr/nexuiz-data/PKGBUILD +++ b/pcr/nexuiz-data/PKGBUILD @@ -9,11 +9,11 @@ pkgname=nexuiz-data _pkgsourcename=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=1 +pkgrel=1.1 arch=('any') pkgdesc="Nexuiz game data" conflicts=('nexuiz<2.5.1-3') -url="http://www.nexuiz.com/" +url="http://www.alientrap.org/games/nexuiz" license=("GPL") source=(http://downloads.sourceforge.net/${_pkgsourcename}/${_pkgsourcename}-${_zipver}.zip) md5sums=('d750bc328e58df8492f8d88bdcf818cb') diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 5c3b50899..0dc56d81b 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,10 +8,10 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=2.2 +pkgrel=2.3 arch=('i686' 'x86_64') pkgdesc="A free software first person shooter" -url="http://www.alientrap.org/games/nexuiz/" +url="http://www.alientrap.org/games/nexuiz" license=("GPL") depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'nexuiz-data' 'libpng>=1.4.0') makedepends=('mesa') -- cgit v1.2.3 From b09ba89b0befbf21eb7e34f8526f2d21e50bbd5c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 26 Feb 2013 10:44:58 -0200 Subject: nexuiz-data: fixing release version --- pcr/nexuiz-data/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD index 619da3465..3fd9c28d2 100644 --- a/pcr/nexuiz-data/PKGBUILD +++ b/pcr/nexuiz-data/PKGBUILD @@ -9,7 +9,7 @@ pkgname=nexuiz-data _pkgsourcename=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=1.1 +pkgrel=2.1 arch=('any') pkgdesc="Nexuiz game data" conflicts=('nexuiz<2.5.1-3') -- cgit v1.2.3 From fdd75af71b67bef60b30bc9b3758e49b4df8f45b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 26 Feb 2013 10:49:12 -0200 Subject: nexuiz and nexuiz-data: fixing release --- pcr/nexuiz-data/PKGBUILD | 2 +- pcr/nexuiz/PKGBUILD | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD index 3fd9c28d2..f6d3ba62c 100644 --- a/pcr/nexuiz-data/PKGBUILD +++ b/pcr/nexuiz-data/PKGBUILD @@ -9,7 +9,7 @@ pkgname=nexuiz-data _pkgsourcename=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=2.1 +pkgrel=3 arch=('any') pkgdesc="Nexuiz game data" conflicts=('nexuiz<2.5.1-3') diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 0dc56d81b..1e3fdfbeb 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,7 +8,7 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=2.3 +pkgrel=3 arch=('i686' 'x86_64') pkgdesc="A free software first person shooter" url="http://www.alientrap.org/games/nexuiz" -- cgit v1.2.3 From 67eca30b49babc2299f85afd2433e024c85ac546 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Tue, 26 Feb 2013 19:36:57 +0100 Subject: Add skanlite from AUR to pcr. --- pcr/skanlite/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/skanlite/PKGBUILD (limited to 'pcr') diff --git a/pcr/skanlite/PKGBUILD b/pcr/skanlite/PKGBUILD new file mode 100644 index 000000000..42a164785 --- /dev/null +++ b/pcr/skanlite/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: birdflesh +# Contributor: Andrea Scarpino +# Contributor: Pierre Schmitz + +pkgname=skanlite +pkgver=1.0 +pkgrel=1 +pkgdesc="Image Scanning Application for KDE" +arch=('i686' 'x86_64') +url='http://www.kde.org/applications/graphics/skanlite' +license=('GPL') +depends=('kdebase-runtime' 'libksane') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2") +md5sums=('e22b2719f134d2483591082026961bf5') + +build() { + cd "$srcdir" + mkdir build + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir/build" + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3 From b647326309d23d4dcf741e9a45d53718fe97ad1e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Mar 2013 14:08:12 -0200 Subject: yabause{,-git}: replace qt to qt4 on depends --- pcr/yabause-git/PKGBUILD | 8 ++++---- pcr/yabause/PKGBUILD | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index d2b351b36..be35af75e 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Gustavo Alvarez pkgname=yabause-git -pkgver=20130213 +pkgver=20130301 pkgrel=1 pkgdesc="A Sega Saturn emulator (GIT version)" arch=('x86_64' 'i686') @@ -11,11 +11,11 @@ provides=('yabause') depends=('mini18n-git' 'openal' 'sdl' 'freeglut') makedepends=('git' 'cmake' 'mesa' 'glu') -#Enable QT or GTK +#Enable QT4 or GTK #_port=gtk -_port=qt +_port=qt4 -[ "${_port}" = "qt" ] && depends+=('qt') +[ "${_port}" = "qt4" ] && depends+=('qt4') [ "${_port}" = "gtk" ] && depends+=('gtkglext') _gitroot="git://github.com/Guillaumito/yabause.git" diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD index 0b80f72f9..bf5aca5f3 100644 --- a/pcr/yabause/PKGBUILD +++ b/pcr/yabause/PKGBUILD @@ -5,13 +5,13 @@ # Contributor: robb_force pkgname=yabause pkgver=0.9.12 -pkgrel=1 +pkgrel=2 pkgdesc='A Sega Saturn emulator.' url='http://yabause.org/' license=('GPL') arch=('i686' 'x86_64') makedepends=('cmake' 'mesa' 'glu') -depends=('sdl' 'qt' 'openal' 'freeglut') +depends=('sdl' 'qt4' 'openal' 'freeglut') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") md5sums=('c7876c04489f8a1b59b3166598084cb8') -- cgit v1.2.3 From 7d8a3b92014606c9fbd15f4b544d254d3fea576a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Mar 2013 16:54:06 -0200 Subject: yabause-git: fixing some errors related qt on PKGBUILD --- pcr/yabause-git/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD index be35af75e..6de78f4eb 100644 --- a/pcr/yabause-git/PKGBUILD +++ b/pcr/yabause-git/PKGBUILD @@ -11,11 +11,11 @@ provides=('yabause') depends=('mini18n-git' 'openal' 'sdl' 'freeglut') makedepends=('git' 'cmake' 'mesa' 'glu') -#Enable QT4 or GTK +#Enable QT or GTK #_port=gtk -_port=qt4 +_port=qt -[ "${_port}" = "qt4" ] && depends+=('qt4') +[ "${_port}" = "qt" ] && depends+=('qt4') [ "${_port}" = "gtk" ] && depends+=('gtkglext') _gitroot="git://github.com/Guillaumito/yabause.git" -- cgit v1.2.3 From b1270f2756f2b7374293358d6d09cc4b1302fbea Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Sun, 3 Mar 2013 16:18:14 +0100 Subject: updated qtoctave for qt4 dependency --- pcr/qtoctave/PKGBUILD | 31 +++++++++++++++++++++++++++++++ pcr/qtoctave/qtoctave.install | 14 ++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 pcr/qtoctave/PKGBUILD create mode 100644 pcr/qtoctave/qtoctave.install (limited to 'pcr') diff --git a/pcr/qtoctave/PKGBUILD b/pcr/qtoctave/PKGBUILD new file mode 100644 index 000000000..d84dfa3a2 --- /dev/null +++ b/pcr/qtoctave/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Michael Schubert +# Contributor: Ronald van Haren +# Contributor: Stefan Husmann + +pkgname=qtoctave +pkgver=0.10.1 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc="Qt4 frontend for octave" +url="https://forja.rediris.es/projects/csl-qtoctave/" +license=('GPL2') +depends=('qt4' 'octave' 'hicolor-icon-theme') +makedepends=('cmake') +source=("http://forja.rediris.es/frs/download.php/2054/${pkgname}-${pkgver}.tar.gz") +md5sums=('f23afd8eb850b950f51b65f256a83835') +install="qtoctave.install" +options=('!libtool' '!emptydirs') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i "s/lrelease/lrelease-qt4/" qtoctave/src/CMakeLists.txt + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_BUILD_TYPE=RELEASE . + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/pcr/qtoctave/qtoctave.install b/pcr/qtoctave/qtoctave.install new file mode 100644 index 000000000..28fdb48fb --- /dev/null +++ b/pcr/qtoctave/qtoctave.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + -- cgit v1.2.3 From ec8a352dd3205e81af6a72738739f67901403c8e Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 4 Mar 2013 03:25:35 -0200 Subject: libav: updating pkg --- pcr/libav/PKGBUILD | 69 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 33 deletions(-) (limited to 'pcr') diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD index 6da6f14bd..f09097b84 100644 --- a/pcr/libav/PKGBUILD +++ b/pcr/libav/PKGBUILD @@ -13,8 +13,8 @@ if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then pkgname=libav fi -pkgver=0.8.4 -pkgrel=3 +pkgver=9.3 +pkgrel=1 pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux$staticdesc" arch=( i686 @@ -53,46 +53,49 @@ source=( http://$pkgbase.org/releases/$pkgbase-$pkgver.tar.gz ) sha512sums=( - d402c7d586708e29b92340c4d03d8431fe607f0b88c2762cc95671786cdb9a7221968164b571e11086b53b2169f3a657c6106dc769c04a1a035429d011e72610 + de3aaa571fed67d22ec2a0c53599af56684afa38445cf67fd09d26c23eeded5a184d045f472d414815d17783b421f937fd3d9565637e20f2050aaaf0081164fe ) build() { cd $pkgbase-$pkgver - ./configure \ - --prefix=/opt/$pkgname \ - --enable-libmp3lame \ - --enable-libvorbis \ - --enable-libxvid \ - --enable-libx264 \ - --enable-libvpx \ - --enable-libtheora \ - --enable-libgsm \ - --enable-libspeex \ - --enable-postproc \ - --enable-shared \ - --enable-x11grab \ - --enable-libopencore_amrnb \ - --enable-libopencore_amrwb \ - --enable-libschroedinger \ - --enable-libopenjpeg \ - --enable-librtmp \ - --enable-libpulse \ - --enable-gpl \ - --enable-version3 \ - --enable-runtime-cpudetect \ - --disable-debug \ - --enable-static + [[ $static == false ]] && sttcv=disable || sttcv=enable - make - make tools/qt-faststart - make doc/ffmpeg.1 - make doc/av{play,server}.1 + ./configure\ + --prefix=/opt/$pkgname\ + --disable-debug\ + --$sttcv-static\ + --enable-avresample\ + --enable-gpl\ + --enable-libfreetype\ + --enable-libgsm\ + --enable-libmp3lame\ + --enable-libopencore_amrnb\ + --enable-libopencore_amrwb\ + --enable-libopenjpeg\ + --enable-libpulse\ + --enable-librtmp\ + --enable-libschroedinger\ + --enable-libspeex\ + --enable-libtheora\ + --enable-libvorbis\ + --enable-libvpx\ + --enable-libx264\ + --enable-libxvid\ + --enable-runtime-cpudetect\ + --enable-shared\ + --enable-version3\ + --enable-x11grab + + setarch $CARCH make + setarch $CARCH make tools/qt-faststart + setarch $CARCH make doc/ffmpeg.1 + setarch $CARCH make doc/av{play,server}.1 } package() { cd $pkgbase-$pkgver - make DESTDIR=$pkgdir install install-man + setarch $CARCH make DESTDIR=$pkgdir install install-man install -m755 -d $pkgdir/etc/ld.so.conf.d install -m755 -d $pkgdir/usr/bin install -m755 -d $pkgdir/usr/share/man/man1 @@ -108,7 +111,7 @@ package() { ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1 ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1 ln -s /opt/$pkgname/share/man/man1/ffmpeg.1 $pkgdir/usr/share/man/man1/ffmpeg-$pkgname.1 - echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf + echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf } # vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 52fbd5781ceaff2cd64887f556ec085350a09887 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 4 Mar 2013 05:05:08 -0200 Subject: libav: fixing some details to build correctly --- pcr/libav/PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'pcr') diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD index f09097b84..05dd756c0 100644 --- a/pcr/libav/PKGBUILD +++ b/pcr/libav/PKGBUILD @@ -28,6 +28,7 @@ license=( depends=( alsa-lib bzip2 + freetype2 gsm lame libpulse @@ -89,8 +90,7 @@ build() { setarch $CARCH make setarch $CARCH make tools/qt-faststart - setarch $CARCH make doc/ffmpeg.1 - setarch $CARCH make doc/av{play,server}.1 + setarch $CARCH make doc/av{conv,play,server}.1 } package() { @@ -103,14 +103,10 @@ package() { ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag - ln -s /opt/$pkgname/bin/avserver $pkgdir/usr/bin/avserver$pkgflag - ln -s /opt/$pkgname/bin/ffmpeg $pkgdir/usr/bin/ffmpeg-$pkgname ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1 ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1 ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$pkgflag.1 - ln -s /opt/$pkgname/share/man/man1/ffmpeg.1 $pkgdir/usr/share/man/man1/ffmpeg-$pkgname.1 echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf } -- cgit v1.2.3 From 3ba5abf108ad5868c3c5b1fc8fba9e4bd935044c Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 4 Mar 2013 14:42:34 -0200 Subject: libav-builder: updating pkg --- pcr/libav-builder/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD index 372243b2a..5f7168f86 100644 --- a/pcr/libav-builder/PKGBUILD +++ b/pcr/libav-builder/PKGBUILD @@ -8,7 +8,7 @@ elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; t pkgname=libav-builder fi pkgflag=builder -pkgver=0.8.4 +pkgver=9.3 pkgrel=1 pkgdesc="Link files on /usr/include and /usr/lib dir (ONLY FOR BUILD OTHERS PACKAGES)" arch=any -- cgit v1.2.3 From dd25eddecf9eea5ae3f38a82ce9b0e9bda407ddf Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 4 Mar 2013 14:16:51 -0300 Subject: Adding license --- pcr/libnatpmp/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pcr') diff --git a/pcr/libnatpmp/PKGBUILD b/pcr/libnatpmp/PKGBUILD index 0fa0ff469..f3306e87d 100644 --- a/pcr/libnatpmp/PKGBUILD +++ b/pcr/libnatpmp/PKGBUILD @@ -3,14 +3,15 @@ pkgname=libnatpmp pkgver=20120821 -pkgrel=1 +pkgrel=2 pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://miniupnp.free.fr/libnatpmp.html" license=('custom:BSD') depends=('glibc') makedepends=() source=(http://miniupnp.free.fr/files/download.php?file=libnatpmp-$pkgver.tar.gz) +md5sums=('d2b9c2dedba3a00deb0e7589982ceced') build() { cd "$srcdir/$pkgname-$pkgver" @@ -24,5 +25,6 @@ package() { # Needed by some packages install -m 644 getgateway.h declspec.h "$pkgdir/usr/include/libnatpmp" + + install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } -md5sums=('22a1225b890471a7750a9bf26eb863f7') -- cgit v1.2.3 From 46b509238b8d24a7a6ac29579abcbc9b8d2dbf09 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 4 Mar 2013 15:44:26 -0200 Subject: python2-renpy: updating pkg --- pcr/python2-renpy/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD index 4d6611548..b5891747d 100644 --- a/pcr/python2-renpy/PKGBUILD +++ b/pcr/python2-renpy/PKGBUILD @@ -5,8 +5,8 @@ pkgname=python2-renpy pkgflag=renpy -pkgver=6.14.1 -pkgrel=3 +pkgver=6.15.0 +pkgrel=1 pkgdesc="Platform-dependant Ren'Py libraries." arch=( i686 @@ -43,8 +43,8 @@ source=( "http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2" ) -md5sums=( - 16814530ba9ce1f2968bb8c8c785651b +sha512sums=( + 8ad2299a61d0e2e2c0c08d441459b28a09a3244dfcf173957e3bbbf2d9eb64087c12c05e62438dca815116d9582a136c50d5cceb33796146adc4d9508ac630b1 ) build() { -- cgit v1.2.3 From c966173453d8a83aaa6b71dcdb15ff22b24f14f1 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Mon, 4 Mar 2013 16:02:51 -0200 Subject: renpy: updating pkg --- pcr/renpy/PKGBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'pcr') diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD index 89c07a433..0baad307c 100644 --- a/pcr/renpy/PKGBUILD +++ b/pcr/renpy/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: AlexanderR +# Maintainer (Parabola): Márcio Silva pkgname=renpy -pkgver=6.14.1 +pkgver=6.15.0 pkgrel=1 pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools." arch=('any') @@ -20,12 +21,14 @@ source=("http://www.renpy.org/dl/$pkgver/renpy-$pkgver-source.tar.bz2" 'python2.diff' 'renpy-launcher.sh') -md5sums=('16814530ba9ce1f2968bb8c8c785651b' - 'a9beb35fa6c6d8af7ba5d2a764c33158' - 'd206d24b78e207a2c3b603fef14ac47f' - '8b9922e26e567248a2a5adc1d0cdfdd4' - '0476b16220e6faeb031e1dbfe45249b4' - 'dfa92cdecc15e5c1ddee387fbbbb2d9c') +sha512sums=( + 8ad2299a61d0e2e2c0c08d441459b28a09a3244dfcf173957e3bbbf2d9eb64087c12c05e62438dca815116d9582a136c50d5cceb33796146adc4d9508ac630b1 + 1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5 + 2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df + bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09 + 3ae0627b8c12658f530f7d7a6a1e9226aee3e387c9ac011f00a4b5ed7394115c3b653f7a4a45c6ee2ef102fb584df1cec36f306eceff3d18aac49b5aad4a9fab + 727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7 +) build() { cd "$srcdir/renpy-$pkgver-source" @@ -33,7 +36,7 @@ build() { patch -p1 < ../python2.diff # fonts are provided by ttf-dejavu - rm common/DejaVuSans.ttf common/DejaVuSans.txt + rm $pkgname/common/DejaVuSans.ttf $pkgname/common/DejaVuSans.txt } package(){ @@ -47,7 +50,7 @@ package(){ cd renpy-$pkgver-source - cp -r launcher renpy common renpy.py template the_question tutorial "$pkgdir/usr/share/$pkgname" + cp -r launcher $pkgname{,.py} template the_question tutorial "$pkgdir/usr/share/$pkgname" cp -r doc/* "$pkgdir/usr/share/doc/$pkgname" install -D -m644 launcher/game/logo.png "$pkgdir/usr/share/pixmaps/${pkgname}.png" install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -- cgit v1.2.3 From ab2f81d0a256e56d3aeb0ec09e53496aba39b3a2 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 6 Mar 2013 01:27:25 -0300 Subject: Upgrade pandoc to 1.10.1 --- pcr/pandoc/PKGBUILD | 21 ++++++++++----------- pcr/pandoc/SRCBUILD | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) (limited to 'pcr') diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD index 47c9788c9..74b1c77d9 100644 --- a/pcr/pandoc/PKGBUILD +++ b/pcr/pandoc/PKGBUILD @@ -4,7 +4,7 @@ # Run `makepkg -sp SRCBUILD` if you want to update the source tarball pkgname=pandoc -pkgver=1.10.0.4 +pkgver=1.10.1 pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libs)' url='http://johnmacfarlane.net/pandoc/' @@ -13,10 +13,13 @@ arch=('i686' 'x86_64') makedepends=('ghc' 'sh' 'cabal-install') options=(strip !makeflags !distcc !emptydirs) source=(https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig} - SRCBUILD - citeproc-hs-pre-0.3.7.patch) + SRCBUILD) +# citeproc-hs-pre-0.3.7.patch) conflicts=('haskell-pandoc') optdepends=('texlive-most: for pdf creation') +md5sums=('bca5fa27ac593f24d18cd434289d4673' + '87a6a5fd1abfbe3199c5ff42742ff5f1' + '0d5b6d7adf6fdcea52dcbb7b62368b19') # PKGBUILD functions build() { @@ -26,9 +29,9 @@ build() { # Patches from the next citeproc-hs release # These are needed because 0.3.6 with embed_data_files is broken # darcs diff --from-tag=0.3.6 - pushd ${srcdir}/${pkgname}-${pkgver}/citeproc-hs-0.3.6 - patch -Np1 -i ${srcdir}/citeproc-hs-pre-0.3.7.patch - popd +# pushd ${srcdir}/${pkgname}-${pkgver}/citeproc-hs-0.3.6 +# patch -Np1 -i ${srcdir}/citeproc-hs-pre-0.3.7.patch +# popd while read _hkpkg; do # Skip already built @@ -41,7 +44,7 @@ build() { case $_hkpkg in $pkgname-$pkgver) HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal configure --flags='-library' \ + cabal configure --flags='-library blaze_html_0_5' \ --prefix=/usr \ --libdir=${srcdir}/build/usr/lib -v @@ -87,7 +90,3 @@ package() { install -d ${pkgdir}/usr/share cp -rv ${srcdir}/build/usr/share/doc ${pkgdir}/usr/share/ } -md5sums=('94c36d52ee6d7e33b16d75048f6617d3' - '2958854a387ea0845720e9456f814845' - 'd159a34656b7a1e13df5e6149b2f898b' - 'd389fc323eeaced767cea53edcfc0127') diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD index c1cfbfa5c..4c7f5de8d 100644 --- a/pcr/pandoc/SRCBUILD +++ b/pcr/pandoc/SRCBUILD @@ -2,7 +2,7 @@ # Based on haskell-pandoc pkgname=pandoc -pkgver=1.10.0.4 +pkgver=1.10.1 # 0.4 doesn't work with ghc 7.6 # Use blaze_html_0_5 flag in the future _blaze_html=0.5.1.3 @@ -29,7 +29,7 @@ build() { msg2 "Getting the dependency build order" # Ignore the cabal messages HOME=${srcdir}/${pkgname}-${pkgver} \ - cabal install --dry-run file-embed blaze-html-${_blaze_html} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER + cabal install --flags="blaze_html_0_5" --dry-run file-embed ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER } package() { -- cgit v1.2.3 From b01e176d9cb045610c45b9479b13b7e6320c6dd5 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Thu, 7 Mar 2013 20:03:30 +0100 Subject: Add newest openjdk6 from Arch. Not built nor tested. It is needed for Android and Replicant development. --- pcr/openjdk6/PKGBUILD | 184 ++++++++++++++++++++++++++++++++++ pcr/openjdk6/disable_Werror.diff | 11 ++ pcr/openjdk6/fix_corba_cmds_path.diff | 29 ++++++ pcr/openjdk6/fix_jdk_cmds_path.diff | 29 ++++++ pcr/openjdk6/fontconfig-paths.diff | 134 +++++++++++++++++++++++++ pcr/openjdk6/nonreparenting-wm.diff | 60 +++++++++++ pcr/openjdk6/openjdk6.install | 24 +++++ pcr/openjdk6/openjdk6.profile | 6 ++ pcr/openjdk6/openjdk6.profile.csh | 6 ++ 9 files changed, 483 insertions(+) create mode 100644 pcr/openjdk6/PKGBUILD create mode 100644 pcr/openjdk6/disable_Werror.diff create mode 100644 pcr/openjdk6/fix_corba_cmds_path.diff create mode 100644 pcr/openjdk6/fix_jdk_cmds_path.diff create mode 100644 pcr/openjdk6/fontconfig-paths.diff create mode 100644 pcr/openjdk6/nonreparenting-wm.diff create mode 100644 pcr/openjdk6/openjdk6.install create mode 100644 pcr/openjdk6/openjdk6.profile create mode 100644 pcr/openjdk6/openjdk6.profile.csh (limited to 'pcr') diff --git a/pcr/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD new file mode 100644 index 000000000..b552f272c --- /dev/null +++ b/pcr/openjdk6/PKGBUILD @@ -0,0 +1,184 @@ +# $Id: PKGBUILD 178352 2013-02-20 17:00:42Z andyrtr $ +# Maintainer: Andreas Radke +# Contributor: Jan de Groot + +pkgname=('openjdk6' 'openjdk6-src') +pkgbase="openjdk6" +_javaver=6 +_icedteaver=1.12.3 +_openjdk_version=b27 +_openjdk_date=26_oct_2012 +pkgver=${_javaver}.${_openjdk_version}_${_icedteaver} +pkgrel=1 +url='http://icedtea.classpath.org' +arch=('i686' 'x86_64') +license=('custom') +makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2' + 'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxt' 'nss' 'libxslt' + 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6' 'inetutils' 'wget') +options=('!emptydirs') +source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar.gz{,.sig} + http://download.java.net/openjdk/jdk6/promoted/${_openjdk_version}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz + http://icedtea.classpath.org/download/drops/jaxp144_04.zip + http://icedtea.classpath.org/download/drops/jdk6-jaxws2_1_6-2011_06_13.zip + http://icedtea.classpath.org/download/drops/jdk6-jaf-b20.zip + fix_jdk_cmds_path.diff + fix_corba_cmds_path.diff + fontconfig-paths.diff + nonreparenting-wm.diff + disable_Werror.diff + openjdk6.profile + openjdk6.profile.csh) +noextract=(openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz + jaxp144_04.zip + jdk6-jaxws2_1_6-2011_06_13.zip + jdk6-jaf-b20.zip) +sha256sums=('db9dc14fa537fb22616fcd9e5b80758aa7baa66e0b6f8adfe3d5e80414574b4c' + 'a6cbeccc4f25f72a940b9ac0c3e05ece50edc16c1c13f7a1a82ee895563930e3' + '044c3877b15940ff04f8aa817337f2878a00cc89674854557f1a02f15b1802a0' + '490f696218c1fed9cb180680af883fe309b414fec232e9cec19645e12ad0b43c' + '229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3' + '78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012' + 'f5f59e121f7645ebc449bb13569fd924cbab3194e41db901f4fbe9dbd45720c5' + '7b2db65bfb9d5014e1522178d65cabf05dfa85e0926cde5648b5a338db376479' + '9ad943ceb3dbcdf45d72974fc3667886a7ed65c69ab9abc17be5412827551a7f' + '9c3c55c30729ec44fab14c3f3f841c273730c7467d8908a72f018bc9e9f65bd9' + 'eb4c7f4cf50f5f74b683857f707bd21ec3847267e2e5e3173f42a6910a024f97' + '26e2cd5a6034f08a685129c9412f487b9931fb0d556f1ccceab17bdb75a372cd' + '0c2d9116d6e550021994d6713a93621a9df685d2182996be3249ad812712b007') + +build() { + + unset JAVA_HOME + unset CLASSPATH + + [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh + + _javaver=6 + _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk + + cd ${srcdir}/icedtea6-${_icedteaver} + + ln -s ${srcdir}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz . + + cp ${srcdir}/*.diff ${srcdir}/icedtea6-${_icedteaver}/patches/ + + autoreconf -i + + export DISTRIBUTION_PATCHES="patches/fix_jdk_cmds_path.diff patches/fontconfig-paths.diff patches/fix_corba_cmds_path.diff patches/nonreparenting-wm.diff patches/disable_Werror.diff" + + export ALT_PARALLEL_COMPILE_JOBS="${MAKEFLAGS/-j}" + export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}" + unset MAKEFLAGS + + ./configure --with-parallel-jobs=${HOTSPOT_BUILD_JOBS} \ + --with-ant-home=/usr/share/java/apache-ant \ + --with-pkgversion=ArchLinux-${pkgver}-${pkgrel}-$CARCH \ + --with-jaxp-drop-zip=${srcdir}/jaxp144_04.zip \ + --with-jaxws-drop-zip=${srcdir}/jdk6-jaxws2_1_6-2011_06_13.zip \ + --with-jaf-drop-zip=${srcdir}/jdk6-jaf-b20.zip \ + --disable-bootstrap \ + --with-abs-install-dir=${_jvmdir} + LD_PRELOAD="" make +} + +package_openjdk6() { + pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.' + backup=(etc/profile.d/openjdk6.sh) + depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7') + optdepends=('icedtea-web: web browser plugin + Java Web Start' + 'alsa-lib: for sound' + 'giflib: for gif format support') + conflicts=('java-environment' 'java-runtime') + provides=('java-environment=6' 'java-runtime=6' 'java-runtime-headless=6') + install=openjdk6.install + + if [ "${CARCH}" = "x86_64" ]; then + _arch=amd64 + else + _arch=i586 + fi + + _javaver=6 + _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk + + cd ${srcdir}/icedtea6-${_icedteaver} + install -m755 -d ${pkgdir}/${_jvmdir}/jre + + pushd ${srcdir}/icedtea6-${_icedteaver}/openjdk.build/j2sdk-image + + # Install main files. + cp -a bin include lib ${pkgdir}/${_jvmdir}/ + cp -a jre/bin jre/lib ${pkgdir}/${_jvmdir}/jre/ + + mv ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.Ubuntu.properties.src \ + ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.properties.src + mv ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.Ubuntu.bfc \ + ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.bfc + rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.bfc + rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.properties.src + + # Install man pages. + install -m755 -d ${pkgdir}/usr/share/man/man1 + install -m644 man/man1/*.1 ${pkgdir}/usr/share/man/man1/ + + # Install demos and samples. + cp -a demo ${pkgdir}/${_jvmdir}/ + install -m755 -d sample/rmi + mv bin/java-rmi.cgi sample/rmi + cp -a sample ${pkgdir}/${_jvmdir}/ + popd + + # Install icons and menu entries. + for s in 16 24 32 48 ; do + install -m755 -d ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps + install -m644 openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \ + ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps/java.png + done + + # Install desktop files. + install -m755 -d ${pkgdir}/usr/share/applications + install -m644 {jconsole,policytool}.desktop ${pkgdir}/usr/share/applications + + # link binaries into /usr/bin + install -m755 -d ${pkgdir}/usr/bin + pushd ${pkgdir}/${_jvmdir}/bin + for file in *; do + ln -sf ${_jvmdir}/bin/${file} \ + ${pkgdir}/usr/bin + done + popd + + # link JKS keystore from ca-certificates-java + rm -f ${pkgdir}/${_jvmdir}/jre/lib/security/cacerts + ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}/${_jvmdir}/jre/lib/security/cacerts" + + # set some variables + install -m755 -d ${pkgdir}/etc/profile.d + install -m755 ${srcdir}/openjdk6.profile ${pkgdir}/etc/profile.d/openjdk6.sh + install -m755 ${srcdir}/openjdk6.profile.csh ${pkgdir}/etc/profile.d/openjdk6.csh + + # install license + install -Dm644 ${srcdir}//icedtea6-${_icedteaver}/openjdk/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} + +package_openjdk6-src() { + pkgdesc='Free Java environment based on OpenJDK 6.0 Source Bundle' + depends=('openjdk6') + + if [ "${CARCH}" = "x86_64" ]; then + _arch=amd64 + else + _arch=i586 + fi + + _javaver=6 + _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk + + cd ${srcdir}/icedtea6-${_icedteaver} + install -m755 -d ${pkgdir}/${_jvmdir}/jre + + pushd ${srcdir}/icedtea6-${_icedteaver}/openjdk.build/j2sdk-image + # Install src.zip file + cp -a src.zip ${pkgdir}/${_jvmdir}/ +} diff --git a/pcr/openjdk6/disable_Werror.diff b/pcr/openjdk6/disable_Werror.diff new file mode 100644 index 000000000..fa8887a10 --- /dev/null +++ b/pcr/openjdk6/disable_Werror.diff @@ -0,0 +1,11 @@ +--- openjdk/hotspot/make/linux/makefiles/gcc.make 2012-06-07 16:30:51.000000000 +0200 ++++ openjdk/hotspot/make/linux/makefiles/gcc.make.new 2012-06-14 15:32:44.967695139 +0200 +@@ -150,7 +150,7 @@ + endif + + # Compiler warnings are treated as errors +-WARNINGS_ARE_ERRORS = -Werror ++#WARNINGS_ARE_ERRORS = -Werror + + # Except for a few acceptable ones + # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit diff --git a/pcr/openjdk6/fix_corba_cmds_path.diff b/pcr/openjdk6/fix_corba_cmds_path.diff new file mode 100644 index 000000000..7a3db9567 --- /dev/null +++ b/pcr/openjdk6/fix_corba_cmds_path.diff @@ -0,0 +1,29 @@ +--- openjdk/corba/make/common/shared/Defs-utils.gmk.old 2008-04-13 13:26:12.000000000 +0300 ++++ openjdk/corba/make/common/shared/Defs-utils.gmk 2008-04-14 15:35:13.000000000 +0300 +@@ -76,7 +76,7 @@ + CHMOD = $(UTILS_COMMAND_PATH)chmod + CMP = $(UTILS_USR_BIN_PATH)cmp + COMM = $(UTILS_USR_BIN_PATH)comm +-COMPRESS = $(UTILS_USR_BIN_PATH)compress ++COMPRESS = $(UTILS_COMMAND_PATH)compress + CP = $(UTILS_COMMAND_PATH)cp + CPIO = $(UTILS_COMMAND_PATH)cpio + CUT = $(UTILS_USR_BIN_PATH)cut +@@ -125,7 +125,7 @@ + TAIL = $(UTILS_USR_BIN_PATH)tail + TAR = $(UTILS_COMMAND_PATH)tar + TEST = $(UTILS_USR_BIN_PATH)test +-TOUCH = $(UTILS_COMMAND_PATH)touch ++TOUCH = $(UTILS_USR_BIN_PATH)touch + TR = $(UTILS_USR_BIN_PATH)tr + TRUE = $(UTILS_COMMAND_PATH)true + UNAME = $(UTILS_COMMAND_PATH)uname +@@ -176,7 +176,7 @@ + # others have it in /usr/bin. + SORT=$(firstword $(wildcard $(UTILS_COMMAND_PATH)sort) \ + $(wildcard $(UTILS_USR_BIN_PATH)sort)) +- NAWK = $(USRBIN_PATH)gawk ++ NAWK = $(UTILS_COMMAND_PATH)gawk + # Intrinsic unix command, with backslash-escaped character interpretation + ECHO = /bin/echo -e + # These are really in UTILS_USR_BIN_PATH on Linux (only sccs is not) diff --git a/pcr/openjdk6/fix_jdk_cmds_path.diff b/pcr/openjdk6/fix_jdk_cmds_path.diff new file mode 100644 index 000000000..bd37dd4ba --- /dev/null +++ b/pcr/openjdk6/fix_jdk_cmds_path.diff @@ -0,0 +1,29 @@ +--- openjdk/jdk/make/common/shared/Defs-utils.gmk.old 2008-04-13 13:33:23.000000000 +0300 ++++ openjdk/jdk/make/common/shared/Defs-utils.gmk 2008-04-14 15:37:34.000000000 +0300 +@@ -89,7 +89,7 @@ + CHMOD = $(UTILS_COMMAND_PATH)chmod + CMP = $(UTILS_USR_BIN_PATH)cmp + COMM = $(UTILS_USR_BIN_PATH)comm +-COMPRESS = $(UTILS_USR_BIN_PATH)compress ++COMPRESS = $(UTILS_COMMAND_PATH)compress + CP = $(UTILS_COMMAND_PATH)cp + CPIO = $(UTILS_COMMAND_PATH)cpio + CUT = $(UTILS_USR_BIN_PATH)cut +@@ -137,7 +137,7 @@ + TAIL = $(UTILS_USR_BIN_PATH)tail + TAR = $(UTILS_COMMAND_PATH)tar + TEST = $(UTILS_USR_BIN_PATH)test +-TOUCH = $(UTILS_COMMAND_PATH)touch ++TOUCH = $(UTILS_USR_BIN_PATH)touch + TR = $(UTILS_USR_BIN_PATH)tr + TRUE = $(UTILS_COMMAND_PATH)true + UNAME = $(UTILS_COMMAND_PATH)uname +@@ -178,7 +178,7 @@ + BASENAME=$(firstword $(wildcard $(UTILS_COMMAND_PATH)basename) \ + $(wildcard $(UTILS_USR_BIN_PATH)basename)) + +- NAWK = $(USRBIN_PATH)gawk ++ NAWK = $(UTILS_COMMAND_PATH)gawk + # Intrinsic unix command, with backslash-escaped character interpretation + ECHO = /bin/echo -e + # These are really in UTILS_USR_BIN_PATH on Linux (only sccs is not) diff --git a/pcr/openjdk6/fontconfig-paths.diff b/pcr/openjdk6/fontconfig-paths.diff new file mode 100644 index 000000000..fa08db629 --- /dev/null +++ b/pcr/openjdk6/fontconfig-paths.diff @@ -0,0 +1,134 @@ +--- openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties 2009-05-29 22:45:23.024341869 +0000 ++++ openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties.new 2009-05-29 22:55:13.681366890 +0000 +@@ -275,73 +275,61 @@ + + # Font File Names + +-filename.DejaVu_Sans=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf +-filename.DejaVu_Sans_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf +-filename.DejaVu_Sans_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf +-filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf +- +-filename.DejaVu_Sans_Mono=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf +-filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf +-filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf +-filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf +- +-filename.DejaVu_Serif=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf +-filename.DejaVu_Serif_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf +-filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf +-filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldOblique.ttf +- +-filename.AR_PL_UMing_CN=/usr/share/fonts/truetype/arphic/uming.ttc +-filename.AR_PL_UMing_HK=/usr/share/fonts/truetype/arphic/uming.ttc +-filename.AR_PL_UMing_TW=/usr/share/fonts/truetype/arphic/uming.ttc +-filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/truetype/arphic/uming.ttf +- +-filename.WenQuanYi_Zen_Hei=/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf +-filename.Baekmuk_Batang=/usr/share/fonts/truetype/baekmuk/batang.ttf +-filename.UnBatang=/usr/share/fonts/truetype/unfonts/UnBatang.ttf +-filename.UnBatang_Bold=/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf +-filename.Baekmuk_Gulim=/usr/share/fonts/truetype/baekmuk/gulim.ttf +-filename.UnDotum=/usr/share/fonts/truetype/unfonts/UnDotum.ttf +-filename.UnDotum_Bold=/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf +-filename.Kochi_Gothic=/usr/share/fonts/truetype/kochi/kochi-gothic.ttf +-filename.Sazanami_Gothic=/usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf +-filename.Kochi_Mincho=/usr/share/fonts/truetype/kochi/kochi-mincho.ttf +-filename.Sazanami_Mincho=/usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf +-filename.VL_Gothic=/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf +-filename.VL_PGothic=/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf +- +-filename.Lohit_Bengali=/usr/share/fonts/truetype/ttf-bengali-fonts/lohit_bn.ttf +-filename.Lohit_Gujarati=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_gu.ttf +-filename.Lohit_Hindi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_hi.ttf +-filename.Lohit_Kannda=/usr/share/fonts/truetype/ttf-kannada-fonts/lohit_kn.ttf +-#filename.Lohit_Malayalam=/usr/share/fonts/lohit-malayalam/lohit_ml.ttf +-filename.Lohit_Oriya=/usr/share/fonts/truetype/ttf-oriya-fonts/lohit_or.ttf +-filename.Lohit_Punjabi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_pa.ttf +-filename.Lohit_Tamil=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_ta.ttf +-filename.Lohit_Telugu=/usr/share/fonts/truetype/ttf-telugu-fonts/lohit_te.ttf +-filename.LKLUG=/usr/share/fonts/truetype/ttf-sinhala-lklug/lklug.ttf +- +-filename.LuxiSans-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisr.ttf +-filename.LuxiSans-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisb.ttf +-filename.LuxiSans-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisri.ttf +-filename.LuxiSans-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisbi.ttf +-filename.LuxiMono-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximr.ttf +-filename.LuxiMono-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximb.ttf +-filename.LuxiMono-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximri.ttf +-filename.LuxiMono-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximbi.ttf +-filename.LuxiSerif-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirr.ttf +-filename.LuxiSerif-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirb.ttf +-filename.LuxiSerif-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirri.ttf +-filename.LuxiSerif-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirbi.ttf +- +-# AWT X11 font paths +-awtfontpath.latin-1=/usr/share/fonts/X11/Type1 +-awtfontpath.umingcn=/usr/share/fonts/truetype/arphic +-awtfontpath.uminghk=/usr/share/fonts/truetype/arphic +-awtfontpath.umingtw=/usr/share/fonts/truetype/arphic +-awtfontpath.shanheisun=/usr/share/fonts/truetype/arphic +-awtfontpath.wqy-zenhei=/usr/share/fonts/truetype/wqy +-awtfontpath.japanese-kochi=/usr/share/fonts/truetype/kochi +-awtfontpath.japanese-sazanami=/usr/share/fonts/truetype/sazanami +-awtfontpath.japanese-vlgothic=/usr/share/fonts/truetype/vlgothic +-awtfontpath.korean-baekmuk=/usr/share/fonts/truetype/baekmuk +-awtfontpath.korean-un=/usr/share/fonts/truetype/unfonts ++filename.DejaVu_Sans=/usr/share/fonts/TTF/DejaVuSans.ttf ++filename.DejaVu_Sans_Bold=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf ++filename.DejaVu_Sans_Oblique=/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf ++filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf ++ ++filename.DejaVu_Sans_Mono=/usr/share/fonts/TTF/DejaVuSansMono.ttf ++filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf ++filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf ++filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf ++ ++filename.DejaVu_Serif=/usr/share/fonts/TTF/DejaVuSerif.ttf ++filename.DejaVu_Serif_Bold=/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf ++filename.DejaVu_Serif_Oblique=/usr/share/fonts/TTF/DejaVuSerif-Oblique.ttf ++filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSerif-BoldOblique.ttf ++ ++filename.AR_PL_UMing_CN=/usr/share/fonts/TTF/uming.ttc ++filename.AR_PL_UMing_HK=/usr/share/fonts/TTF/uming.ttc ++filename.AR_PL_UMing_TW=/usr/share/fonts/TTF/uming.ttc ++filename.AR_PL_ShanHeiSun_Uni=/usr/share/TTF/uming.ttf ++ ++filename.WenQuanYi_Zen_Hei=/usr/share/fonts/TTF/wqy-zenhei.ttf ++filename.Baekmuk_Batang=/usr/share/fonts/TTF/batang.ttf ++filename.UnBatang=/usr/share/fonts/TTF/UnBatang.ttf ++filename.UnBatang_Bold=/usr/share/fonts/TTF/UnBatangBold.ttf ++filename.Baekmuk_Gulim=/usr/share/fonts/TTF/gulim.ttf ++filename.UnDotum=/usr/share/fonts/TTF/UnDotum.ttf ++filename.UnDotum_Bold=/usr/share/fonts/TTF/UnDotumBold.ttf ++filename.Kochi_Gothic=/usr/share/fonts/TTF/kochi-gothic.ttf ++filename.Sazanami_Gothic=/usr/share/fonts/TTF/sazanami-gothic.ttf ++filename.Kochi_Mincho=/usr/share/fonts/TTF/kochi-mincho.ttf ++filename.Sazanami_Mincho=/usr/share/fonts/TTF/sazanami-mincho.ttf ++filename.VL_Gothic=/usr/share/fonts/TTF/VL-Gothic-Regular.ttf ++filename.VL_PGothic=/usr/share/fonts/TTF/VL-PGothic-Regular.ttf ++ ++filename.Lohit_Bengali=/usr/share/fonts/TTF/lohit_bn.ttf ++filename.Lohit_Gujarati=/usr/share/fonts/TTF/lohit_gu.ttf ++filename.Lohit_Hindi=/usr/share/fonts/TTF/lohit_hi.ttf ++filename.Lohit_Kannda=/usr/share/fonts/TTF/lohit_kn.ttf ++#filename.Lohit_Malayalam=/usr/share/fonts/TTF/lohit_ml.ttf ++filename.Lohit_Oriya=/usr/share/fonts/TTF/lohit_or.ttf ++filename.Lohit_Punjabi=/usr/share/fonts/TTF/lohit_pa.ttf ++filename.Lohit_Tamil=/usr/share/fonts/TTF/lohit_ta.ttf ++filename.Lohit_Telugu=/usr/share/fonts/TTF/lohit_te.ttf ++filename.LKLUG=/usr/share/fonts/TTF/lklug.ttf ++ ++filename.LuxiSans-Regular=/usr/share/fonts/TTF/luxisr.ttf ++filename.LuxiSans-Bold=/usr/share/fonts/TTF/luxisb.ttf ++filename.LuxiSans-Oblique=/usr/share/fonts/TTF/luxisri.ttf ++filename.LuxiSans-BoldOblique=/usr/share/fonts/TTF/luxisbi.ttf ++filename.LuxiMono-Regular=/usr/share/fonts/TTF/luximr.ttf ++filename.LuxiMono-Bold=/usr/share/fonts/TTF/luximb.ttf ++filename.LuxiMono-Oblique=/usr/share/fonts/TTF/luximri.ttf ++filename.LuxiMono-BoldOblique=/usr/share/fonts/TTF/luximbi.ttf ++filename.LuxiSerif-Regular=/usr/share/fonts/TTF/luxirr.ttf ++filename.LuxiSerif-Bold=/usr/share/fonts/TTF/luxirb.ttf ++filename.LuxiSerif-Oblique=/usr/share/fonts/TTF/luxirri.ttf ++filename.LuxiSerif-BoldOblique=/usr/share/fonts/TTF/luxirbi.ttf ++ diff --git a/pcr/openjdk6/nonreparenting-wm.diff b/pcr/openjdk6/nonreparenting-wm.diff new file mode 100644 index 000000000..65fa66e89 --- /dev/null +++ b/pcr/openjdk6/nonreparenting-wm.diff @@ -0,0 +1,60 @@ +diff --git a/jdk/src/solaris/classes/sun/awt/X11/XWM.java b/jdk/src/solaris/classes/sun/awt/X11/XWM.java +index 68d1ff7..878327e 100644 +--- openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java ++++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java +@@ -99,7 +99,8 @@ + METACITY_WM = 11, + COMPIZ_WM = 12, + LG3D_WM = 13, +- MUTTER_WM = 14; ++ MUTTER_WM = 14, ++ OTHER_NONREPARENTING_WM = 15; + public String toString() { + switch (WMID) { + case NO_WM: +@@ -564,7 +567,7 @@ class XWM implements MWMConstants, XUtilConstants { + } + + static boolean isNonReparentingWM() { +- return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM); ++ return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.OTHER_NONREPARENTING_WM); + } + + /* +@@ -764,9 +767,17 @@ class XWM implements MWMConstants, XUtilConstants { + * supports WIN or _NET wm spec. + */ + else if (l_net_protocol.active()) { +- awt_wmgr = XWM.OTHER_WM; ++ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { ++ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; ++ } else { ++ awt_wmgr = XWM.OTHER_WM; ++ } + } else if (win.active()) { +- awt_wmgr = XWM.OTHER_WM; ++ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { ++ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; ++ } else { ++ awt_wmgr = XWM.OTHER_WM; ++ } + } + /* + * Check for legacy WMs. +@@ -777,6 +788,8 @@ class XWM implements MWMConstants, XUtilConstants { + awt_wmgr = XWM.MOTIF_WM; + } else if (isOpenLook()) { + awt_wmgr = XWM.OPENLOOK_WM; ++ } else if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { ++ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; + } else { + awt_wmgr = XWM.OTHER_WM; + } +@@ -1298,6 +1311,7 @@ class XWM implements MWMConstants, XUtilConstants { + res = new Insets(28, 6, 6, 6); + break; + case NO_WM: ++ case OTHER_NONREPARENTING_WM: + case LG3D_WM: + res = zeroInsets; + break; diff --git a/pcr/openjdk6/openjdk6.install b/pcr/openjdk6/openjdk6.install new file mode 100644 index 000000000..653c8fe2f --- /dev/null +++ b/pcr/openjdk6/openjdk6.install @@ -0,0 +1,24 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + if [ ! -f /etc/ssl/certs/java/cacerts ]; then + /usr/sbin/init-jks-keystore + fi + echo "when you use a non-reparenting window manager" + echo "set _JAVA_AWT_WM_NONREPARENTING=1 in" + echo "/etc/profile.d/openjdk6.sh" +# update-desktop-database -q +} + +post_upgrade() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + if [ ! -f /etc/ssl/certs/java/cacerts ]; then + /usr/sbin/init-jks-keystore + fi +# update-desktop-database -q +} + + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null +# update-desktop-database -q +} diff --git a/pcr/openjdk6/openjdk6.profile b/pcr/openjdk6/openjdk6.profile new file mode 100644 index 000000000..9da4421ef --- /dev/null +++ b/pcr/openjdk6/openjdk6.profile @@ -0,0 +1,6 @@ +export J2SDKDIR=/usr/lib/jvm/java-6-openjdk +export J2REDIR=$J2SDKDIR/jre +export JAVA_HOME=/usr/lib/jvm/java-6-openjdk + +# enable this for non-reparenting window managers +#export _JAVA_AWT_WM_NONREPARENTING=1 diff --git a/pcr/openjdk6/openjdk6.profile.csh b/pcr/openjdk6/openjdk6.profile.csh new file mode 100644 index 000000000..3cb15fd49 --- /dev/null +++ b/pcr/openjdk6/openjdk6.profile.csh @@ -0,0 +1,6 @@ +setenv J2SDKDIR "/usr/lib/jvm/java-6-openjdk" +setenv J2REDIR "$J2SDKDIR/jre" +setenv JAVA_HOME "/usr/lib/jvm/java-6-openjdk" + +# enable this for non-reparenting window managers +#setenv _JAVA_AWT_WM_NONREPARENTING 1 -- cgit v1.2.3 From 988469173e69f36c6df439075e71aee0447cc89f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 7 Mar 2013 18:36:16 -0200 Subject: yabause: add qt parameters on PKGBUILD --- pcr/yabause/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD index bf5aca5f3..c65bcbe2f 100644 --- a/pcr/yabause/PKGBUILD +++ b/pcr/yabause/PKGBUILD @@ -5,7 +5,7 @@ # Contributor: robb_force pkgname=yabause pkgver=0.9.12 -pkgrel=2 +pkgrel=3 pkgdesc='A Sega Saturn emulator.' url='http://yabause.org/' license=('GPL') @@ -24,6 +24,7 @@ build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \ -DYAB_PORTS=qt \ -DYAB_MULTIBUILD=OFF \ -DYAB_NETWORK=ON \ -- cgit v1.2.3 From 1204ece8cf4d8a7df35b48879b7537457e3b5ed0 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 8 Mar 2013 04:07:07 -0200 Subject: aqsis: rebuild pkg --- pcr/aqsis/PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 20 deletions(-) (limited to 'pcr') diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD index 5a772503f..7739e5330 100644 --- a/pcr/aqsis/PKGBUILD +++ b/pcr/aqsis/PKGBUILD @@ -1,33 +1,56 @@ # Maintainer: Lukas Jirkovsky # Former contributor: Gino Pezzin # Maintainer (Parabola): Márcio Silva + pkgname=aqsis pkgver=1.8.2 -pkgrel=1 -pkgdesc="A high quality, photorealistic, 3D rendering solution" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.aqsis.org" -license=('GPL2') -optdepends=('qt: graphical interface' 'libgl: ptview') -depends=('boost-libs' 'openexr' 'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils') -makedepends=('cmake' 'boost' 'openexr' 'libpng' 'qt' 'mesa') -options=('!libtool') -install=aqsis.install -source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('399967e99f12cfbd1a7385c4e1d39c3b') +pkgrel=2 +pkgdesc='A high quality, photorealistic, 3D rendering solution' +arch=( + i686 + x86_64 + mips64el +) +url="http://www.$pkgname.org" +license=GPL2 +optdepends=( + 'qt4: graphical interface' + 'mesa-libgl: ptview' +) +depends=( + boost-libs + desktop-file-utils + hicolor-icon-theme + openexr + shared-mime-info +) +makedepends=( + boost + cmake + libpng + mesa + qt4 +) +options='!libtool' +install=$pkgname.install +source=http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz +md5sums='399967e99f12cfbd1a7385c4e1d39c3b' build() { - cd "$srcdir"/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver - mkdir -p "$srcdir"/$pkgname-build - cd "$srcdir"/$pkgname-build + mkdir -p $srcdir/$pkgname-build + cd $srcdir/$pkgname-build - cmake "$srcdir"/$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis - make + setarch $CARCH cmake "$srcdir"/$pkgname-$pkgver\ + -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/$pkgname + setarch $CARCH make } package() { - cd "$srcdir"/$pkgname-build - make DESTDIR="$pkgdir" install + cd $srcdir/$pkgname-build + setarch $CARCH make DESTDIR=$pkgdir install } + +# vim:set ts=2 sw=2 et: + -- cgit v1.2.3 From 13418ddfee36b7260ca11870df7611ad26f01aff Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 8 Mar 2013 04:16:35 -0200 Subject: aqsis: fixing typo --- pcr/aqsis/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD index 7739e5330..8945d0adb 100644 --- a/pcr/aqsis/PKGBUILD +++ b/pcr/aqsis/PKGBUILD @@ -31,9 +31,9 @@ makedepends=( mesa qt4 ) -options='!libtool' +options=('!libtool') install=$pkgname.install -source=http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz" md5sums='399967e99f12cfbd1a7385c4e1d39c3b' build() { -- cgit v1.2.3 From 4c9bb54c04602e83b1bd709f971745f654c1c2d5 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 8 Mar 2013 05:02:00 -0200 Subject: aqsis: fixing typo --- pcr/aqsis/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD index 8945d0adb..706a0c042 100644 --- a/pcr/aqsis/PKGBUILD +++ b/pcr/aqsis/PKGBUILD @@ -31,7 +31,9 @@ makedepends=( mesa qt4 ) -options=('!libtool') +options=( + '!libtool' +) install=$pkgname.install source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz" md5sums='399967e99f12cfbd1a7385c4e1d39c3b' -- cgit v1.2.3 From 84afef49fb98338992aa7fd00d86728fd44ddd9a Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 8 Mar 2013 06:17:46 -0200 Subject: yafaray-git: updating pkg --- pcr/yafaray-git/PKGBUILD | 159 +++++++++++++++++++++++++++++--------------- pcr/yafaray-git/gcc47.patch | 10 --- 2 files changed, 105 insertions(+), 64 deletions(-) delete mode 100644 pcr/yafaray-git/gcc47.patch (limited to 'pcr') diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD index 0c5d4f6e4..e60fe8324 100644 --- a/pcr/yafaray-git/PKGBUILD +++ b/pcr/yafaray-git/PKGBUILD @@ -1,78 +1,129 @@ -# Maintainer: Lukas Jirkovsky -# Maintainer (Parabola): Márcio Silva -pkgname=yafaray-git -_blendver=2.62 -pkgver=20120420 +# $Id$ +# Maintainer: Márcio Silva + +pkgbase=yafaray +pkgname=( + yafaray-git + yafaray-blender-exporter-git +) +_pkgflag=git +pkgver=$(LC_ALL=C date -u +%Y%m%d) +_pkgver=1.2 +_bldver=2.66 +_bldepoch=6 +_pyver=3.3 pkgrel=1 -pkgdesc="A libre software raytracing engine" -arch=('i686' 'x86_64') -url="http://www.yafaray.org/" -license=('LGPL2.1') -depends=('libxml2' 'openexr' 'libjpeg') -optdepends=('qt: QT GUI' 'python: Python bindings, Blender exporter') -makedepends=('cmake' 'git' 'qt' 'swig' 'python') -provides=('yafaray') -conflicts=('yafaray') -source=('gcc47.patch') -md5sums=('d99eb7db30885549687a8f7a775a582d') - -_gitroot=git://github.com/YafaRay/Core.git -_gitname=yafaray -_gitrootexport=git://github.com/YafaRay/Blender-2.5-Exporter.git +pkgdesc='A libre software raytracing engine' +arch=( + i686 + x86_64 + mips64el +) +url="http://www.$pkgbase.org" +license=LGPL2.1 +depends=( + freetype2 + libjpeg + libxml2 + openexr +) +optdepends=( + 'python: Python bindings' + 'qt4: QT GUI' + #'ruby: Ruby bindings' + 'yafaray-blender-exporter-git: Blender exporter' +) +makedepends=( + cmake + git + python + qt4 + #ruby-headers + swig +) +provides=( + $pkgbase=$_pkgver +) +conflicts=$pkgbase + +_gitroot="https://github.com/YafaRay/Core.git" +_gitname=$pkgbase +_gitrootexport="https://github.com/YafaRay/Blender-Exporter.git" _gitnameexport=exporter build() { - cd "$srcdir" - msg "Connecting to GIT server...." + cd $srcdir + msg 'Connecting to GIT server....' # core - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin + if [[ -d $_gitname ]]; then + cd $_gitname && git pull origin cd .. - msg "The local files are updated." + msg 'The local files are updated.' else - git clone "$_gitroot" "$_gitname" + git clone $_gitroot $_gitname fi # exporter - if [[ -d "$_gitnameexport" ]]; then - cd "$_gitnameexport" && git pull origin + if [[ -d $_gitnameexport ]]; then + cd $_gitnameexport && git pull origin cd .. - msg "The local files are updated." + msg 'The local files are updated.' else - git clone "$_gitrootexport" "$_gitnameexport" + git clone $_gitrootexport $_gitnameexport fi - msg "GIT checkout done or server timeout" - msg "Starting build..." + msg 'GIT checkout done or server timeout' + msg 'Starting build...' - if [ -e "$srcdir"/$_gitname-build ]; then - rm -rf "$srcdir"/$_gitname-build + if [ -e $srcdir/$_gitname-build ]; then + rm -rf $srcdir/$_gitname-build fi - mkdir "$srcdir/$_gitname-build" + mkdir $srcdir/$_gitname-build + cd $srcdir/$_gitname-build - patch -Np0 -i "$srcdir/gcc47.patch" + setarch $CARCH cmake -DCMAKE_INSTALL_PREFIX=/usr\ + -DYAF_PY_VERSION=$_pyver\ + -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver\ + ../$_gitname - cd "$srcdir/$_gitname-build" + #-DWITH_YAF_PY_BINDINGS=ON\ + #-DBLENDER_ADDON=ON\ + #-DBLENDER_EXPORTER_BRANCH=master\ + #-DWITH_YAF_RUBY_BINDINGS=ON\ + #-DYAF_USER_INCLUDE_DIRS=/usr/include/ruby-1.9.1/$CARCH-linux\ + + setarch $CARCH make +} - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DYAF_PY_VERSION=3.2 \ - -DYAF_BINDINGS_PY_DIR=/usr/lib/python3.2 \ - "../$_gitname" - make +package_yafaray-git() { + cd $srcdir/$_gitname-build + setarch $CARCH make DESTDIR=$pkgdir install } -package() { - cd "$srcdir/$_gitname-build" - make DESTDIR="$pkgdir/" install - - # install exporter - cd "$srcdir/$_gitnameexport" - git checkout-index -a -f --prefix="$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/" - # create symlinks to make exporter fully work - install -d -m755 "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin" - ln -sf "/usr/lib/libyafaraycore.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafaraycore.so" - ln -sf "/usr/lib/libyafarayplugin.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafarayplugin.so" - ln -sf "/usr/lib/yafaray" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/plugins" +package_yafaray-blender-exporter-git() { + pkgver=$pkgver.v$_bldver + pkgdesc='YafaRay exporter for Blender' + arch=any + depends=( + $pkgbase=$pkgver + "blender>=$_bldepoch:$_bldver" + ) + provides=( + ${pkgname[1]%-$_pkgflag}=$_pkgver.v$_bldver + ) + conflicts=${pkgname[1]%-$_pkgflag} + + cd $srcdir/$_gitnameexport + + a=/usr/lib + b=usr/share/blender/$bldver/scripts/addon/$pkgbase/bin + + git checkout-index -a -f --prefix=$pkgdir/${b%bin} + + install -d -m755 $pkgdir/$b + ln -sf $a/lib${pkgbase}core.so $pkgdir/$b/lib${pkgbase}core.so + ln -sf $a/lib${pkgbase}plugin.so $pkgdir/$b/lib${pkgbase}plugin.so + ln -sf $a/$pkgbase $pkgdir/$b/plugins } # vim:set ts=2 sw=2 et: diff --git a/pcr/yafaray-git/gcc47.patch b/pcr/yafaray-git/gcc47.patch deleted file mode 100644 index 75775498b..000000000 --- a/pcr/yafaray-git/gcc47.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- yafaray.orig/src/yafraycore/scene.cc 2012-04-18 00:03:16.508415920 -0300 -+++ yafaray/src/yafraycore/scene.cc 2012-04-18 00:29:59.090117108 -0300 -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - - __BEGIN_YAFRAY - -- cgit v1.2.3 From 89f16d2624658bd3ef91fa87dba296d605af4794 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 8 Mar 2013 06:46:43 -0200 Subject: yafaray-git: fixing typo --- pcr/yafaray-git/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD index e60fe8324..22465488c 100644 --- a/pcr/yafaray-git/PKGBUILD +++ b/pcr/yafaray-git/PKGBUILD @@ -105,9 +105,10 @@ package_yafaray-blender-exporter-git() { pkgdesc='YafaRay exporter for Blender' arch=any depends=( - $pkgbase=$pkgver + ${pkgname[0]}=$pkgver "blender>=$_bldepoch:$_bldver" ) + optdepends="" provides=( ${pkgname[1]%-$_pkgflag}=$_pkgver.v$_bldver ) @@ -116,7 +117,7 @@ package_yafaray-blender-exporter-git() { cd $srcdir/$_gitnameexport a=/usr/lib - b=usr/share/blender/$bldver/scripts/addon/$pkgbase/bin + b=usr/share/blender/$_bldver/scripts/addons/$pkgbase/bin git checkout-index -a -f --prefix=$pkgdir/${b%bin} -- cgit v1.2.3 From df35e59e97ae0eafea382369e4c4f86b425424bf Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sat, 9 Mar 2013 19:43:58 +0100 Subject: Fix some openjdk6 build errors when using jdk7-openjdk to bootstrap it. --- pcr/openjdk6/PKGBUILD | 33 +- pcr/openjdk6/disable-openjdk-Werror.diff | 147 +++++ pcr/openjdk6/ecj-icedtea.patch | 893 +++++++++++++++++++++++++++++++ 3 files changed, 1061 insertions(+), 12 deletions(-) create mode 100644 pcr/openjdk6/disable-openjdk-Werror.diff create mode 100644 pcr/openjdk6/ecj-icedtea.patch (limited to 'pcr') diff --git a/pcr/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD index b552f272c..8c70bb72a 100644 --- a/pcr/openjdk6/PKGBUILD +++ b/pcr/openjdk6/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Andreas Radke # Contributor: Jan de Groot -pkgname=('openjdk6' 'openjdk6-src') +pkgname=('openjdk6-old' 'openjdk6-old-src') pkgbase="openjdk6" _javaver=6 _icedteaver=1.12.3 @@ -15,7 +15,7 @@ arch=('i686' 'x86_64') license=('custom') makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2' 'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxt' 'nss' 'libxslt' - 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6' 'inetutils' 'wget') + 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'java-environment' 'inetutils' 'wget') options=('!emptydirs') source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar.gz{,.sig} http://download.java.net/openjdk/jdk6/promoted/${_openjdk_version}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz @@ -28,7 +28,9 @@ source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar nonreparenting-wm.diff disable_Werror.diff openjdk6.profile - openjdk6.profile.csh) + openjdk6.profile.csh + disable-openjdk-Werror.diff + ecj-icedtea.patch) noextract=(openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz jaxp144_04.zip jdk6-jaxws2_1_6-2011_06_13.zip @@ -45,11 +47,12 @@ sha256sums=('db9dc14fa537fb22616fcd9e5b80758aa7baa66e0b6f8adfe3d5e80414574b4c' '9c3c55c30729ec44fab14c3f3f841c273730c7467d8908a72f018bc9e9f65bd9' 'eb4c7f4cf50f5f74b683857f707bd21ec3847267e2e5e3173f42a6910a024f97' '26e2cd5a6034f08a685129c9412f487b9931fb0d556f1ccceab17bdb75a372cd' - '0c2d9116d6e550021994d6713a93621a9df685d2182996be3249ad812712b007') + '0c2d9116d6e550021994d6713a93621a9df685d2182996be3249ad812712b007' + '3e20fdcd17d4adee1cb2ddc3b15a39fe56b9a7837067487eedd40733adfea9c6' + '77bafb45d67cbdac59ae27b0cc85e38d849dcf5c4c4005f5b28b33f4f5b734ab') build() { - unset JAVA_HOME unset CLASSPATH [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh @@ -62,10 +65,11 @@ build() { ln -s ${srcdir}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz . cp ${srcdir}/*.diff ${srcdir}/icedtea6-${_icedteaver}/patches/ + cp ${srcdir}/ecj-icedtea.patch ${srcdir}/icedtea6-${_icedteaver}/patches/ecj/icedtea.patch autoreconf -i - export DISTRIBUTION_PATCHES="patches/fix_jdk_cmds_path.diff patches/fontconfig-paths.diff patches/fix_corba_cmds_path.diff patches/nonreparenting-wm.diff patches/disable_Werror.diff" + export DISTRIBUTION_PATCHES="patches/fix_jdk_cmds_path.diff patches/fontconfig-paths.diff patches/fix_corba_cmds_path.diff patches/nonreparenting-wm.diff patches/disable_Werror.diff patches/disable-openjdk-Werror.diff" export ALT_PARALLEL_COMPILE_JOBS="${MAKEFLAGS/-j}" export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}" @@ -73,16 +77,21 @@ build() { ./configure --with-parallel-jobs=${HOTSPOT_BUILD_JOBS} \ --with-ant-home=/usr/share/java/apache-ant \ - --with-pkgversion=ArchLinux-${pkgver}-${pkgrel}-$CARCH \ + --with-pkgversion=Parabola-${pkgver}-${pkgrel}-$CARCH \ --with-jaxp-drop-zip=${srcdir}/jaxp144_04.zip \ --with-jaxws-drop-zip=${srcdir}/jdk6-jaxws2_1_6-2011_06_13.zip \ --with-jaf-drop-zip=${srcdir}/jdk6-jaf-b20.zip \ - --disable-bootstrap \ - --with-abs-install-dir=${_jvmdir} + --enable-bootstrap \ + --with-abs-install-dir=${_jvmdir} \ + --with-jdk-home="$JAVA_HOME" + + # Java 7 compilers give more warnings. + find . -name '*.gmk' -or -name 'Makefile' | xargs sed -i 's/-Werror//' + LD_PRELOAD="" make } -package_openjdk6() { +package_openjdk6-old() { pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.' backup=(etc/profile.d/openjdk6.sh) depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7') @@ -162,9 +171,9 @@ package_openjdk6() { install -Dm644 ${srcdir}//icedtea6-${_icedteaver}/openjdk/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } -package_openjdk6-src() { +package_openjdk6-old-src() { pkgdesc='Free Java environment based on OpenJDK 6.0 Source Bundle' - depends=('openjdk6') + depends=('openjdk6-old') if [ "${CARCH}" = "x86_64" ]; then _arch=amd64 diff --git a/pcr/openjdk6/disable-openjdk-Werror.diff b/pcr/openjdk6/disable-openjdk-Werror.diff new file mode 100644 index 000000000..2fbecaffe --- /dev/null +++ b/pcr/openjdk6/disable-openjdk-Werror.diff @@ -0,0 +1,147 @@ +diff -ru openjdk.orig/corba/make/common/Defs-linux.gmk openjdk/corba/make/common/Defs-linux.gmk +--- openjdk.orig/corba/make/common/Defs-linux.gmk 2013-03-09 18:42:00.271861055 +0100 ++++ openjdk/corba/make/common/Defs-linux.gmk 2013-03-09 18:42:10.322026218 +0100 +@@ -130,13 +130,6 @@ + GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(GCC_INHIBIT) + + # +-# Treat compiler warnings as errors, if warnings not allowed +-# +-ifeq ($(COMPILER_WARNINGS_FATAL),true) +- GCC_WARNINGS += -Werror +-endif +- +-# + # Misc compiler options + # + ifeq ($(ARCH),ppc) +diff -ru openjdk.orig/corba/make/common/shared/Defs-java.gmk openjdk/corba/make/common/shared/Defs-java.gmk +--- openjdk.orig/corba/make/common/shared/Defs-java.gmk 2013-03-09 18:42:00.271861055 +0100 ++++ openjdk/corba/make/common/shared/Defs-java.gmk 2013-03-09 18:42:10.342026563 +0100 +@@ -100,9 +100,6 @@ + ifeq ($(DEBUG_CLASSFILES),true) + JAVACFLAGS += -g + endif +-ifeq ($(COMPILER_WARNINGS_FATAL), true) +- JAVACFLAGS += -Werror +-endif + + NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true + JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS) +@@ -173,12 +170,6 @@ + # can bootstrap itself. + # + +-# The javac options supplied to the boot javac is limited. This compiler +-# should only be used to build the 'make/tools' sources, which are not +-# class files that end up in the classes directory. +-ifeq ($(COMPILER_WARNINGS_FATAL), true) +- BOOT_JAVACFLAGS += -Werror +-endif + BOOT_SOURCE_LANGUAGE_VERSION = 5 + BOOT_TARGET_CLASS_VERSION = 5 + BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION) +diff -ru openjdk.orig/jdk/make/common/Defs-linux.gmk openjdk/jdk/make/common/Defs-linux.gmk +--- openjdk.orig/jdk/make/common/Defs-linux.gmk 2013-03-09 18:42:00.891871222 +0100 ++++ openjdk/jdk/make/common/Defs-linux.gmk 2013-03-09 18:42:10.342026563 +0100 +@@ -140,13 +140,6 @@ + GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(GCC_INHIBIT) + + # +-# Treat compiler warnings as errors, if warnings not allowed +-# +-ifeq ($(COMPILER_WARNINGS_FATAL),true) +- GCC_WARNINGS += -Werror +-endif +- +-# + # Misc compiler options + # + ifeq ($(ARCH),ppc) +diff -ru openjdk.orig/jdk/make/common/shared/Defs-java.gmk openjdk/jdk/make/common/shared/Defs-java.gmk +--- openjdk.orig/jdk/make/common/shared/Defs-java.gmk 2013-03-09 18:42:00.891871222 +0100 ++++ openjdk/jdk/make/common/shared/Defs-java.gmk 2013-03-09 18:42:10.342026563 +0100 +@@ -107,9 +107,6 @@ + ifeq ($(DEBUG_CLASSFILES),true) + JAVACFLAGS += -g + endif +-ifeq ($(COMPILER_WARNINGS_FATAL), true) +- JAVACFLAGS += -Werror +-endif + + # Add the source level (currently all source is 1.5, should this be 1.6?) + LANGUAGE_VERSION = -source 1.5 +@@ -180,13 +177,6 @@ + # can bootstrap itself. + # + +-# The javac options supplied to the boot javac is limited. This compiler +-# should only be used to build the 'make/tools' sources, which are not +-# class files that end up in the classes directory. +-ifeq ($(COMPILER_WARNINGS_FATAL), true) +- BOOT_JAVACFLAGS += -Werror +-endif +- + BOOT_SOURCE_LANGUAGE_VERSION = 5 + BOOT_TARGET_CLASS_VERSION = 5 + BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION) +diff -ru openjdk.orig/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile +--- openjdk.orig/jdk/make/java/nio/Makefile 2013-03-09 18:42:00.881871058 +0100 ++++ openjdk/jdk/make/java/nio/Makefile 2013-03-09 18:42:10.342026563 +0100 +@@ -31,7 +31,7 @@ + PACKAGE = java.nio + LIBRARY = nio + PRODUCT = java +-OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror ++OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial + include $(BUILDDIR)/common/Defs.gmk + + NIO_SRC = $(SHARE_SRC)/classes/java/nio +diff -ru openjdk.orig/jdk/make/java/sun_nio/Makefile openjdk/jdk/make/java/sun_nio/Makefile +--- openjdk.orig/jdk/make/java/sun_nio/Makefile 2013-03-09 18:42:00.871870894 +0100 ++++ openjdk/jdk/make/java/sun_nio/Makefile 2013-03-09 18:42:10.342026563 +0100 +@@ -31,7 +31,7 @@ + PACKAGE = sun.nio + PRODUCT = sun + +-OTHER_JAVACFLAGS += -Xlint:serial -Werror ++OTHER_JAVACFLAGS += -Xlint:serial + include $(BUILDDIR)/common/Defs.gmk + + # +diff -ru openjdk.orig/jdk/make/sun/native2ascii/Makefile openjdk/jdk/make/sun/native2ascii/Makefile +--- openjdk.orig/jdk/make/sun/native2ascii/Makefile 2013-03-09 18:42:00.891871222 +0100 ++++ openjdk/jdk/make/sun/native2ascii/Makefile 2013-03-09 18:42:10.342026563 +0100 +@@ -30,7 +30,7 @@ + BUILDDIR = ../.. + PACKAGE = sun.tools.native2ascii + PRODUCT = sun +-OTHER_JAVACFLAGS += -Xlint:serial -Werror ++OTHER_JAVACFLAGS += -Xlint:serial + include $(BUILDDIR)/common/Defs.gmk + + # +diff -ru openjdk.orig/jdk/make/sun/nio/Makefile openjdk/jdk/make/sun/nio/Makefile +--- openjdk.orig/jdk/make/sun/nio/Makefile 2013-03-09 18:42:00.891871222 +0100 ++++ openjdk/jdk/make/sun/nio/Makefile 2013-03-09 18:42:10.342026563 +0100 +@@ -35,7 +35,7 @@ + # This re-directs all the class files to a separate location + CLASSDESTDIR = $(TEMPDIR)/classes + +-OTHER_JAVACFLAGS += -Xlint:serial -Werror ++OTHER_JAVACFLAGS += -Xlint:serial + include $(BUILDDIR)/common/Defs.gmk + + # +diff -ru openjdk.orig/langtools/make/build.properties openjdk/langtools/make/build.properties +--- openjdk.orig/langtools/make/build.properties 2013-03-09 18:42:00.311861690 +0100 ++++ openjdk/langtools/make/build.properties 2013-03-09 18:43:04.542923328 +0100 +@@ -68,7 +68,7 @@ + # set the following to -version to verify the versions of javac being used + javac.version.opt = + # in time, there should be no exceptions to -Xlint:all +-javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial -Werror ++javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial + + # options for the task for javac + javadoc.jls3.url=http://java.sun.com/docs/books/jls/ diff --git a/pcr/openjdk6/ecj-icedtea.patch b/pcr/openjdk6/ecj-icedtea.patch new file mode 100644 index 000000000..1af1365bf --- /dev/null +++ b/pcr/openjdk6/ecj-icedtea.patch @@ -0,0 +1,893 @@ +diff -Nru openjdk-ecj.orig/corba/make/com/sun/corba/se/Makefile openjdk-ecj/corba/make/com/sun/corba/se/Makefile +--- openjdk-ecj.orig/corba/make/com/sun/corba/se/Makefile 2010-05-26 09:31:18.000000000 +0100 ++++ openjdk-ecj/corba/make/com/sun/corba/se/Makefile 2012-01-18 21:43:04.134185695 +0000 +@@ -42,7 +42,7 @@ + # the rmic iiop backend needs some classes that are part of the impl/util + # package. These classes use log wrappers, so they must be built after + # pept and before rmi. +-SUBDIRS = sources pept corespi core spi impl rmi ++SUBDIRS = org pept corespi core spi impl rmi + all build clean clobber:: + $(SUBDIRS-loop) + +diff -Nru openjdk-ecj.orig/corba/make/com/sun/corba/se/org/Makefile openjdk-ecj/corba/make/com/sun/corba/se/org/Makefile +--- openjdk-ecj.orig/corba/make/com/sun/corba/se/org/Makefile 1970-01-01 01:00:00.000000000 +0100 ++++ openjdk-ecj/corba/make/com/sun/corba/se/org/Makefile 2012-01-18 21:43:04.146185899 +0000 +@@ -0,0 +1,38 @@ ++# ++# Copyright 2001-2005 Sun Microsystems, Inc. All Rights Reserved. ++# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ++# ++# This code is free software; you can redistribute it and/or modify it ++# under the terms of the GNU General Public License version 2 only, as ++# published by the Free Software Foundation. Sun designates this ++# particular file as subject to the "Classpath" exception as provided ++# by Sun in the LICENSE file that accompanied this code. ++# ++# This code is distributed in the hope that it will be useful, but WITHOUT ++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++# version 2 for more details (a copy is included in the LICENSE file that ++# accompanied this code). ++# ++# You should have received a copy of the GNU General Public License version ++# 2 along with this work; if not, write to the Free Software Foundation, ++# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ++# ++# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, ++# CA 95054 USA or visit www.sun.com if you need additional information or ++# have any questions. ++# ++ ++BUILDDIR = ../../../../.. ++PACKAGE = com.sun.corba.se ++PRODUCT = org ++ ++include $(BUILDDIR)/common/Defs.gmk ++ ++FILES_java=\ ++ com/sun/corba/se/org/omg/CORBA/ORB.java ++ ++# ++# Include ++# ++include $(BUILDDIR)/common/Classes.gmk +diff -Nru openjdk-ecj.orig/corba/make/com/sun/corba/se/sources/Makefile openjdk-ecj/corba/make/com/sun/corba/se/sources/Makefile +--- openjdk-ecj.orig/corba/make/com/sun/corba/se/sources/Makefile 2010-05-26 09:31:18.000000000 +0100 ++++ openjdk-ecj/corba/make/com/sun/corba/se/sources/Makefile 1970-01-01 01:00:00.000000000 +0100 +@@ -1,224 +0,0 @@ +-# +-# Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. +-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +-# +-# This code is free software; you can redistribute it and/or modify it +-# under the terms of the GNU General Public License version 2 only, as +-# published by the Free Software Foundation. Oracle designates this +-# particular file as subject to the "Classpath" exception as provided +-# by Oracle in the LICENSE file that accompanied this code. +-# +-# This code is distributed in the hope that it will be useful, but WITHOUT +-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +-# version 2 for more details (a copy is included in the LICENSE file that +-# accompanied this code). +-# +-# You should have received a copy of the GNU General Public License version +-# 2 along with this work; if not, write to the Free Software Foundation, +-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +-# +-# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +-# or visit www.oracle.com if you need additional information or have any +-# questions. +-# +- +-BUILDDIR = ../../../../.. +- +-PACKAGE = com.sun.corba.se +-PRODUCT = org +- +-include $(BUILDDIR)/common/Defs.gmk +- +-# +-# Rules +-# +-all: build +- +-build: portableactivation.idl.compile logwrapper.generate logresource.generate +- +-clean clobber:: portableactivation.idl.clean +- +-# +-# Files +-# +-CORBA_JMK_DIRECTORY=$(TOPDIR)/make/com/sun/corba/minclude/ +-include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_PortableActivationIDL.jmk +-include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_impl_logging.jmk +- +-FILES_java += com/sun/corba/se/org/omg/CORBA/ORB.java +- +-# +-# Dirs +-# +- +-SRC_DIR = $(SHARE_SRC)/classes +-CORBA_IDL_DIR = $(SRC_DIR)/org/omg/PortableServer +-PI_IDL_DIR = $(SRC_DIR)/org/omg/PortableInterceptor +- +-ACTIVATIONFILEDIR = $(GENSRCDIR)/com/sun/corba/se/spi/activation +-PORTABLEACTIVATIONFILEDIR = $(GENSRCDIR)/com/sun/corba/se/PortableActivationIDL +-LOG_GENDIRECTORY = $(GENSRCDIR)/com/sun/corba/se/impl/logging +- +-# +-# IDLs +-# +- +-ACTIVATION.IDL = $(SRC_DIR)/com/sun/corba/se/spi/activation/activation.idl +-PORTABLEACTIVATION.IDL = $(SRC_DIR)/com/sun/corba/se/PortableActivationIDL/activation.idl +- +- +-# +-# .mc files +-# +-ACTIVATION.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Activation.mc +-IOR.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/IOR.mc +-INTERCEPTORS.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Interceptors.mc +-NAMING.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Naming.mc +-OMG.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/OMG.mc +-ORBUTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/ORBUtil.mc +-POA.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/POA.mc +-UTIL.MC = $(SRC_DIR)/com/sun/corba/se/spi/logging/data/Util.mc +- +-MC_GENERATE_CLASS = make-class +-MC_GENERATE_LOG_RB = make-resource +- +-JSCHEME_GENERATE_CLASS = $(BOOT_JAVA_CMD) com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_CLASS) +-JSCHEME_GENERATE_LOG_RB = $(BOOT_JAVA_CMD) com.sun.tools.corba.se.logutil.MC $(MC_GENERATE_LOG_RB) +- +- +-# +-# Activation +-# +- +-ACTIVATIONFILES = $(com_sun_corba_se_spi_activation_java:%=$(GENSRCDIR)/%) +- +-$(ACTIVATIONFILES): $(ACTIVATION.IDL) +- $(IDLJ) -td $(GENSRCDIR) -i $(ACTIVATIONFILEDIR) -fall -oldImplBase -pkgPrefix activation com.sun.corba.se.spi $(ACTIVATION.IDL) +- +-activation.idl.compile: $(ACTIVATIONFILES) +- +-activation.idl.clean: +- $(RM) -f $(ACTIVATIONFILES) +- +-# +-# PortableActivationIDL +-# +- +-PORTABLEACTIVATIONFILES = $(com_sun_corba_se_PortableActivationIDL_java:%=$(GENSRCDIR)/%) +- +-PORTABLEACTIVATION_INCLUDES = -i $(CORBA_IDL_DIR) -i $(PI_IDL_DIR) +- +-PORTABLEACTIVATION_PKG_PREFIXES = -pkgPrefix PortableInterceptor org.omg \ +- -pkgPrefix PortableActivationIDL com.sun.corba.se \ +- -pkgPrefix Dynamic org.omg \ +- -pkgPrefix IOP org.omg +- +-# REVISIT: remove -oldImplBase +-$(PORTABLEACTIVATIONFILES): $(PORTABLEACTIVATION.IDL) +- $(IDLJ) -td $(GENSRCDIR) $(PORTABLEACTIVATION_INCLUDES) $(PORTABLEACTIVATION_PKG_PREFIXES) -fall -oldImplBase -corba 3.0 -D CORBA3 $(PORTABLEACTIVATION.IDL) +- +-portableactivation.idl.compile: $(PORTABLEACTIVATIONFILES) +- +-portableactivation.idl.clean: +- $(RM) -f $(PORTABLEACTIVATIONFILES) +- +-# +-# Generate LogWrapper classes +-# +-logwrapper.generate: \ +- $(LOG_GENDIRECTORY)/ActivationSystemException.java \ +- $(LOG_GENDIRECTORY)/IORSystemException.java \ +- $(LOG_GENDIRECTORY)/InterceptorsSystemException.java \ +- $(LOG_GENDIRECTORY)/NamingSystemException.java \ +- $(LOG_GENDIRECTORY)/OMGSystemException.java \ +- $(LOG_GENDIRECTORY)/ORBUtilSystemException.java \ +- $(LOG_GENDIRECTORY)/POASystemException.java \ +- $(LOG_GENDIRECTORY)/UtilSystemException.java +- +-$(LOG_GENDIRECTORY)/ActivationSystemException.java : $(ACTIVATION.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(ACTIVATION.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/IORSystemException.java : $(IOR.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(IOR.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/InterceptorsSystemException.java : $(INTERCEPTORS.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/NamingSystemException.java : $(NAMING.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(NAMING.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/OMGSystemException.java : $(OMG.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(OMG.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/ORBUtilSystemException.java : $(ORBUTIL.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(ORBUTIL.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/POASystemException.java : $(POA.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(POA.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/UtilSystemException.java : $(UTIL.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_CLASS) $(UTIL.MC) $(LOG_GENDIRECTORY) +- +-logresource.generate: $(LOG_GENDIRECTORY)/LogStrings.properties +- +-$(LOG_GENDIRECTORY)/LogStrings.properties: \ +- $(LOG_GENDIRECTORY)/ActivationSystemException.resource \ +- $(LOG_GENDIRECTORY)/IORSystemException.resource \ +- $(LOG_GENDIRECTORY)/InterceptorsSystemException.resource \ +- $(LOG_GENDIRECTORY)/NamingSystemException.resource \ +- $(LOG_GENDIRECTORY)/OMGSystemException.resource \ +- $(LOG_GENDIRECTORY)/ORBUtilSystemException.resource \ +- $(LOG_GENDIRECTORY)/POASystemException.resource \ +- $(LOG_GENDIRECTORY)/UtilSystemException.resource +- $(CAT) $(LOG_GENDIRECTORY)/*.resource > $(LOG_GENDIRECTORY)/LogStrings.properties +- +-$(LOG_GENDIRECTORY)/ActivationSystemException.resource : $(ACTIVATION.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(ACTIVATION.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/IORSystemException.resource : $(IOR.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(IOR.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/InterceptorsSystemException.resource : $(INTERCEPTORS.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(INTERCEPTORS.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/NamingSystemException.resource : $(NAMING.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(NAMING.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/OMGSystemException.resource : $(OMG.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(OMG.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/ORBUtilSystemException.resource : $(ORBUTIL.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(ORBUTIL.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/POASystemException.resource : $(POA.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(POA.MC) $(LOG_GENDIRECTORY) +- +-$(LOG_GENDIRECTORY)/UtilSystemException.resource : $(UTIL.MC) +- $(prep-target) +- $(JSCHEME_GENERATE_LOG_RB) $(UTIL.MC) $(LOG_GENDIRECTORY) +- +- +-.PHONY: all build clean clobber \ +- activation.idl.compile activation.idl.clean \ +- portableactivation.idl.compile portableactivation.idl.clean +- +-# +-# Include +-# +-include $(BUILDDIR)/common/Rules.gmk +diff -Nru openjdk-ecj.orig/corba/make/common/Defs.gmk openjdk-ecj/corba/make/common/Defs.gmk +--- openjdk-ecj.orig/corba/make/common/Defs.gmk 2011-01-10 21:21:55.000000000 +0000 ++++ openjdk-ecj/corba/make/common/Defs.gmk 2012-01-18 21:43:04.146185899 +0000 +@@ -53,6 +53,13 @@ + + _OUTPUTDIR=$(TOPDIR)/build/$(PLATFORM)-$(ARCH) + ++ ++ifdef ALT_LANGTOOLS_DIST ++ LANGTOOLS_DIST :=$(call FullPath,$(ALT_LANGTOOLS_DIST)) ++else ++ LANGTOOLS_DIST = ++endif ++ + # + # Get platform definitions + # +@@ -118,8 +125,6 @@ + # for build tool jar files + BUILDTOOLJARDIR = $(OUTPUTDIR)/btjars + ABS_BUILDTOOLJARDIR = $(ABS_OUTPUTDIR)/btjars +-# for generated java source files +-GENSRCDIR = $(OUTPUTDIR)/gensrc + # for generated C source files (not javah) + GENNATIVESRCDIR = $(OUTPUTDIR)/gennativesrc + # for imported source files +@@ -220,7 +225,7 @@ + # We define an intermediate variable for Java files because + # we use its value later to help define $SOURCEPATH + +-VPATH0.java = $(GENSRCDIR)$(CLASSPATH_SEPARATOR)$(PLATFORM_SRC)/classes$(CLASSPATH_SEPARATOR)$(SHARE_SRC)/classes ++VPATH0.java = $(GENSRCDIR)$(CLASSPATH_SEPARATOR)$(SHARE_SRC)/classes + VPATH.java = $(VPATH0.java) + vpath %.java $(VPATH.java) + vpath %.class $(CLASSBINDIR) +diff -Nru openjdk-ecj.orig/corba/make/common/Defs-linux.gmk openjdk-ecj/corba/make/common/Defs-linux.gmk +--- openjdk-ecj.orig/corba/make/common/Defs-linux.gmk 2012-01-18 16:50:50.977002556 +0000 ++++ openjdk-ecj/corba/make/common/Defs-linux.gmk 2012-01-18 21:43:04.146185899 +0000 +@@ -271,7 +271,7 @@ + # + VM_NAME = server + JVMLIB = -L$(BOOTDIR)/jre/lib/$(LIBARCH)/$(VM_NAME) -ljvm +-JAVALIB = -L$(BOOTDIR)/jre/lib/$(LIBARCH) -ljava $(JVMLIB) ++JAVALIB = -L$(BOOTDIR)/jre/lib/$(LIBARCH) -L$(dir $(shell $(if $(GCJ),$(GCJ),$(subst gcc,gcj,$(CC))) --print-file-name=libgcj.so)) -lgcj $(JVMLIB) + + # + # We want to privatize JVM symbols on Solaris. This is so the user can +diff -Nru openjdk-ecj.orig/corba/make/common/shared/Defs-java.gmk openjdk-ecj/corba/make/common/shared/Defs-java.gmk +--- openjdk-ecj.orig/corba/make/common/shared/Defs-java.gmk 2012-01-18 16:50:57.569109033 +0000 ++++ openjdk-ecj/corba/make/common/shared/Defs-java.gmk 2012-01-18 21:43:04.150185964 +0000 +@@ -116,35 +116,17 @@ + CLASS_VERSION = -target $(TARGET_CLASS_VERSION) + JAVACFLAGS += $(CLASS_VERSION) + JAVACFLAGS += -encoding ascii +-JAVACFLAGS += -classpath $(BOOTDIR)/lib/tools.jar ++JAVACFLAGS += -classpath $(LANGTOOLS_DIST)/lib/classes.jar + JAVACFLAGS += $(OTHER_JAVACFLAGS) + + # Needed for javah +-JAVAHFLAGS += -bootclasspath $(CLASSBINDIR) ++JAVAHFLAGS += -bootclasspath $(CLASSBINDIR):$(ICEDTEA_RT):$(ICEDTEA_JCE):$(CLASSDESTDIR) + +-# Langtools +-ifdef LANGTOOLS_DIST +- JAVAC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javac.jar +- JAVAH_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javah.jar +- JAVADOC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javadoc.jar +- DOCLETS_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/doclets.jar +- JAVAC_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVAC_JAR)" \ +- -jar $(JAVAC_JAR) $(JAVACFLAGS) +- JAVAH_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVAH_JAR)$(CLASSPATH_SEPARATOR)$(JAVADOC_JAR)$(CLASSPATH_SEPARATOR)$(JAVAC_JAR)" \ +- -jar $(JAVAH_JAR) $(JAVAHFLAGS) +- JAVADOC_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVADOC_JAR)$(CLASSPATH_SEPARATOR)$(JAVAC_JAR)$(CLASSPATH_SEPARATOR)$(DOCLETS_JAR)" \ +- -jar $(JAVADOC_JAR) +-else +- # If no explicit tools, use boot tools (add VM flags in this case) +- JAVAC_CMD = $(JAVA_TOOLS_DIR)/javac $(JAVAC_JVM_FLAGS) \ ++# If no explicit tools, use boot tools (add VM flags in this case) ++JAVAC_CMD = $(JAVA_TOOLS_DIR)/javac $(JAVAC_JVM_FLAGS) \ + $(JAVACFLAGS) +- JAVAH_CMD = $(JAVA_TOOLS_DIR)/javah \ ++JAVAH_CMD = $(JAVA_TOOLS_DIR)/javah \ + $(JAVAHFLAGS) +- JAVADOC_CMD = $(JAVA_TOOLS_DIR)/javadoc $(JAVA_TOOLS_FLAGS:%=-J%) +-endif + + # Override of what javac to use (see deploy workspace) + ifdef JAVAC +diff -Nru openjdk-ecj.orig/corba/make/org/omg/sources/Makefile openjdk-ecj/corba/make/org/omg/sources/Makefile +--- openjdk-ecj.orig/corba/make/org/omg/sources/Makefile 2010-05-26 09:31:18.000000000 +0100 ++++ openjdk-ecj/corba/make/org/omg/sources/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -93,8 +93,6 @@ + POAHELHOLFILES = $(POA_GENERATED_HELP_HOL_java:%=$(GENSRCDIR)/%) + + $(POAGENERATEDFILES):: $(POA.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i "$(SRC_DIR)/org/omg/PortableServer" -i "$(SRC_DIR)/org/omg/PortableInterceptor" -corba 3.0 -fall -pkgPrefix PortableServer org.omg $(POA.IDL) +- $(RM) -r $(POAHELHOLFILES) + + poa.compile: $(POAGENERATEDFILES) + +@@ -110,10 +108,6 @@ + + # Generating and deleting unused files to reduce images size + $(DYNANYFILES): $(DYNAMIC_ANY.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" $(DYNANY_IDLJ_FLAGS) $(DYNAMIC_ANY.IDL) +- $(RM) $(DYNANY_DIR)/*POA* +- $(RM) $(DYNANY_DIR)/*Holder* +- $(RM) $(DYNANYDELETEFILES) + + dynany.compile: $(DYNANYFILES) + +@@ -125,12 +119,6 @@ + TR_IDLJ_FLAGS =-i "$(SRC_DIR)/org/omg/PortableInterceptor" -i "$(SRC_DIR)/org/omg/PortableServer" -i "$(SRC_DIR)/org/omg/CosTransactions" + + $(TRGENERATEDFILES):: $(COSTRANSACTIONS.IDL) $(COSTSINTEROP.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fall -pkgPrefix CORBA org.omg -pkgPrefix CosTransactions org.omg $(COSTRANSACTIONS.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fall -pkgPrefix CORBA org.omg -pkgPrefix CosTSInteroperation org.omg $(COSTSINTEROP.IDL) +-# $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fall -pkgPrefix CORBA org.omg $(TRANSACTIONS.IDL) +-# $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fallTIE -pkgPrefix CORBA org.omg $(TRANSACTIONS.IDL) +-# $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fall -pkgPrefix CORBA org.omg $(TRANSACTIONS.IDL) +-# $(IDLJ) -td "$(GENSRCDIR)" $(TR_IDLJ_FLAGS) -D CORBA3 -corba 3.0 -fallTIE -pkgPrefix CORBA org.omg $(TRANSACTIONS.IDL) + + tr.compile: $(TRGENERATEDFILES) + +@@ -144,7 +132,6 @@ + # _NamingContextImplBase.java and _BindingIteratorImplBase.java files + # to GENSRC directory. Note that these two classes are deprecated. + $(NSGENERATEDFILES): $(NAMESERVICE.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i $(NAMESERVICEDIR) -fall -pkgPrefix CosNaming org.omg $(NAMESERVICE.IDL) + + ns.compile: $(NSGENERATEDFILES) + +@@ -156,8 +143,6 @@ + IOPDELETEFILES = $(IOP_TO_DELETE_FILES:%=$(GENSRCDIR)/%) + + $(IOPGENERATEDFILES):: $(IOP.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i "$(SRC_DIR)/org/omg/PortableInterceptor" -i $(CORBA_IDL_DIR) -fall -corba 3.0 -D CORBA3 -pkgPrefix IOP org.omg $(IOP.IDL) +- $(RM) -r $(IOPDELETEFILES) + + iop.compile: $(IOPGENERATEDFILES) + +@@ -169,8 +154,6 @@ + CORBAXDUPLICATEFILES = $(CORBA_DUPLICATE_java:%=$(GENSRCDIR)/%) + + $(CORBAXGENERATEDFILES):: $(CORBAX.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i "$(SRC_DIR)/org/omg/PortableInterceptor" -i $(CORBA_IDL_DIR) -fall -corba 3.0 $(CORBAX.IDL) +- $(RM) $(CORBAXDUPLICATEFILES) + + corbax.compile: $(CORBAXGENERATEDFILES) + +@@ -181,7 +164,6 @@ + MESSAGINGGENERATEDFILES = $(Messaging_java:%=$(GENSRCDIR)/%) + + $(MESSAGINGGENERATEDFILES):: $(MESSAGING.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i "$(SRC_DIR)/org/omg/PortableInterceptor" -i $(CORBA_IDL_DIR) -fall -corba 3.0 -pkgPrefix Messaging org.omg $(MESSAGING.IDL) + + messaging.compile: $(MESSAGINGGENERATEDFILES) + +@@ -195,8 +177,6 @@ + PIHELHOLFILES = $(PI_GENERATED_HELP_HOL_java:%=$(GENSRCDIR)/%) + + $(PIGENERATEDFILES):: $(INTERCEPTORS.IDL) +- $(IDLJ) -td "$(GENSRCDIR)" -i "$(SRC_DIR)/org/omg/PortableInterceptor" -i $(CORBA_IDL_DIR) -fall -pkgPrefix PortableInterceptor org.omg -pkgPrefix Dynamic org.omg -pkgPrefix IOP org.omg -corba 3.0 -D CORBA3 $(INTERCEPTORS.IDL) +- $(RM) $(PIHELHOLFILES) + + pi.compile: $(PIGENERATEDFILES) + +diff -Nru openjdk-ecj.orig/corba/make/sun/rmi/corbalogsources/Makefile openjdk-ecj/corba/make/sun/rmi/corbalogsources/Makefile +--- openjdk-ecj.orig/corba/make/sun/rmi/corbalogsources/Makefile 2010-05-26 09:31:18.000000000 +0100 ++++ openjdk-ecj/corba/make/sun/rmi/corbalogsources/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -172,7 +172,6 @@ + ACTIVATIONFILES = $(com_sun_corba_se_spi_activation_java:%=$(GENSRCDIR)/%) + + $(ACTIVATIONFILES): $(ACTIVATION.IDL) +- $(IDLJ) -td $(GENSRCDIR) -i $(ACTIVATIONFILEDIR) -fall -oldImplBase -pkgPrefix activation com.sun.corba.se.spi $(ACTIVATION.IDL) + + activation.idl.compile: $(ACTIVATIONFILES) + +@@ -195,7 +194,6 @@ + + # REVISIT: remove -oldImplBase + $(PORTABLEACTIVATIONFILES): $(PORTABLEACTIVATION.IDL) +- $(IDLJ) -td $(GENSRCDIR) $(PORTABLEACTIVATION_INCLUDES) $(PORTABLEACTIVATION_PKG_PREFIXES) -fall -oldImplBase -corba 3.0 -D CORBA3 $(PORTABLEACTIVATION.IDL) + + portableactivation.idl.compile: $(PORTABLEACTIVATIONFILES) + +diff -Nru openjdk-ecj.orig/jaxp/build.xml openjdk-ecj/jaxp/build.xml +--- openjdk-ecj.orig/jaxp/build.xml 2011-01-10 21:21:59.000000000 +0000 ++++ openjdk-ecj/jaxp/build.xml 2012-01-18 21:43:04.150185964 +0000 +@@ -131,7 +131,8 @@ + memoryMaximumSize="${javac.memoryMaximumSize}" + source="${javac.source}" + debug="${javac.debug}" +- target="${javac.target}"> ++ target="${javac.target}" ++ executable="${jdk.home}/bin/javac"> + + + +diff -Nru openjdk-ecj.orig/jaxws/build.xml openjdk-ecj/jaxws/build.xml +--- openjdk-ecj.orig/jaxws/build.xml 2011-01-10 21:22:02.000000000 +0000 ++++ openjdk-ecj/jaxws/build.xml 2012-01-18 21:43:04.150185964 +0000 +@@ -131,7 +131,8 @@ + memoryMaximumSize="${javac.memoryMaximumSize}" + source="${javac.source}" + debug="${javac.debug}" +- target="${javac.target}"> ++ target="${javac.target}" ++ executable="${jdk.home}/bin/javac"> + + + +diff -Nru openjdk-ecj.orig/jdk/make/common/BuildToolJar.gmk openjdk-ecj/jdk/make/common/BuildToolJar.gmk +--- openjdk-ecj.orig/jdk/make/common/BuildToolJar.gmk 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/common/BuildToolJar.gmk 2012-01-18 21:43:04.150185964 +0000 +@@ -43,7 +43,8 @@ + @$(prep-target) + @$(MKDIR) -p $(BUILDTOOLCLASSDIR) + $(BOOT_JAVAC_CMD) -d $(BUILDTOOLCLASSDIR) \ +- -sourcepath $(BUILDTOOL_SOURCE_ROOT) $(BUILDTOOL_MAIN_SOURCE_FILE) ++ -sourcepath $(BUILDTOOL_SOURCE_ROOT) -classpath $(ICEDTEA_RT) \ ++ $(BUILDTOOL_MAIN_SOURCE_FILE) + $(BOOT_JAR_CMD) cfm $@ $(BUILDTOOL_MANIFEST_FILE) \ + -C $(BUILDTOOLCLASSDIR) $(PKGDIR) \ + $(JAR_JFLAGS) || $(RM) $@ +diff -Nru openjdk-ecj.orig/jdk/make/common/Release.gmk openjdk-ecj/jdk/make/common/Release.gmk +--- openjdk-ecj.orig/jdk/make/common/Release.gmk 2012-01-18 16:51:03.177199616 +0000 ++++ openjdk-ecj/jdk/make/common/Release.gmk 2012-01-18 21:43:04.150185964 +0000 +@@ -649,10 +649,23 @@ + $(RES_JAR_ARGLIST): $(RES_JAR_FILELIST) + $(prep-target) + $(SED) -e "s@^@-C $(CLASSBINDIR) @" $< > $@ +-$(RESOURCES_JAR): $(RES_JAR_ARGLIST) $(JAR_MANIFEST_FILE) ++$(RESOURCES_JAR): \ ++ $(if $(JAR_KNOWS_ATFILE),$(RES_JAR_FILELIST),$(RES_JAR_ARGLIST)) \ ++ $(JAR_MANIFEST_FILE) + $(prep-target) ++ifneq (,$(JAR_KNOWS_ATFILE)) ++ (cd $(CLASSBINDIR) && \ + $(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \ +- @$(RES_JAR_ARGLIST) $(JAR_JFLAGS) ++ $(JAR_JFLAGS) @$(RES_JAR_FILELIST)) ++else ifneq (,$(JAR_ACCEPTS_STDIN_LIST)) ++ (cd $(CLASSBINDIR) && $(CAT) $(RES_JAR_FILELIST) | \ ++ $(BOOT_JAR_CMD) c0mf@ $(JAR_MANIFEST_FILE) $@ \ ++ $(JAR_JFLAGS)) ++else ++ (cd $(CLASSBINDIR) && \ ++ $(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \ ++ $(JAR_JFLAGS) `cat $(RES_JAR_FILELIST)`) ++endif + @$(java-vm-cleanup) + + # Create jsse.jar containing SunJSSE implementation classes +@@ -708,10 +721,22 @@ + $(RT_JAR_ARGLIST): $(RT_JAR_FILELIST) + $(prep-target) + $(SED) -e "s@^@-C $(CLASSBINDIR) @" $< > $@ +-$(RT_JAR): $(RT_JAR_ARGLIST) $(JAR_MANIFEST_FILE) ++$(RT_JAR): $(if $(JAR_KNOWS_ATFILE),$(RT_JAR_FILELIST),$(RT_JAR_ARGLIST)) \ ++ $(JAR_MANIFEST_FILE) + $(prep-target) ++ifneq (,$(JAR_KNOWS_ATFILE)) ++ (cd $(CLASSBINDIR) && \ + $(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \ +- @$(RT_JAR_ARGLIST) $(JAR_JFLAGS) ++ $(JAR_JFLAGS) @$(RT_JAR_FILELIST)) ++else ifneq (,$(JAR_ACCEPTS_STDIN_LIST)) ++ (cd $(CLASSBINDIR) && $(CAT) $(RT_JAR_FILELIST) | \ ++ $(BOOT_JAR_CMD) c0mf@ $(JAR_MANIFEST_FILE) $@ \ ++ $(JAR_JFLAGS)) ++else ++ (cd $(CLASSBINDIR) && \ ++ $(BOOT_JAR_CMD) c0mf $(JAR_MANIFEST_FILE) $@ \ ++ $(JAR_JFLAGS) `$(CAT) $(RT_JAR_FILELIST)`) ++endif + @$(java-vm-cleanup) + + # Meta-index construction to make core class loaders lazier +@@ -942,19 +967,6 @@ + @$(java-vm-cleanup) + $(CP) $(LIBDIR)/tools.jar $(JDK_IMAGE_DIR)/lib/tools.jar + @# +- @# lib/ct.sym +- @# +- $(MKDIR) -p $(OUTPUTDIR)/symbols/META-INF/sym +- $(JAVAC_CMD) -XDprocess.packages -proc:only \ +- -processor com.sun.tools.javac.sym.CreateSymbols \ +- -Acom.sun.tools.javac.sym.Jar=$(RT_JAR) \ +- -Acom.sun.tools.javac.sym.Dest=$(OUTPUTDIR)/symbols/META-INF/sym/rt.jar \ +- $(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) +- $(BOOT_JAR_CMD) c0f $(LIBDIR)/ct.sym \ +- -C $(OUTPUTDIR)/symbols META-INF $(JAR_JFLAGS) +- @$(java-vm-cleanup) +- $(CP) $(LIBDIR)/ct.sym $(JDK_IMAGE_DIR)/lib/ct.sym +- @# + @# CORBA supported orb.idl and ir.idl should be copied to lib + @# + $(CP) $(LIBDIR)/orb.idl $(JDK_IMAGE_DIR)/lib/orb.idl +@@ -1023,16 +1035,6 @@ + $(CP) $(PLATFORM_SRC)/bin/java_md.h $(JDK_IMAGE_DIR)/src/launcher + $(CD) $(JDK_IMAGE_DIR)/src && $(ZIPEXE) -qr ../src.zip * + $(RM) -r $(JDK_IMAGE_DIR)/src +- @# +- @# demo, include +- @# +- $(CP) -r -f $(DEMODIR) $(JDK_IMAGE_DIR) +- $(CP) -r -f $(SAMPLEDIR) $(JDK_IMAGE_DIR) +- $(CP) -r $(INCLUDEDIR) $(JDK_IMAGE_DIR) +- @# +- @# Swing BeanInfo generation +- @# +- $(CD) javax/swing/beaninfo && $(MAKE) swing-1.2-beans + ifneq ($(PLATFORM), windows) + $(call copy-man-pages,$(JDK_IMAGE_DIR),$(JDK_MAN_PAGES)) + endif # !windows +diff -Nru openjdk-ecj.orig/jdk/make/common/Rules.gmk openjdk-ecj/jdk/make/common/Rules.gmk +--- openjdk-ecj.orig/jdk/make/common/Rules.gmk 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/common/Rules.gmk 2012-01-18 21:43:04.150185964 +0000 +@@ -235,8 +235,9 @@ + $(ECHO) "# Java sources to be compiled: (listed in file $(JAVA_SOURCE_LIST))"; \ + $(CAT) $(JAVA_SOURCE_LIST); \ + $(ECHO) "# Running javac:"; \ +- $(ECHO) $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \ +- $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \ ++ $(ECHO) $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -bootclasspath "$(ICEDTEA_RT):$(ICEDTEA_JCE):$(CLASSDESTDIR)" \ ++ -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \ ++ $(JAVAC_CMD) -sourcepath "$(SOURCEPATH)" -bootclasspath "$(ICEDTEA_RT):$(ICEDTEA_JCE):$(CLASSDESTDIR)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \ + fi + @$(java-vm-cleanup) + +@@ -302,6 +303,8 @@ + $(JAVAH_CMD) -d $(CLASSHDRDIR)/ \ + $(CLASSES.export) $(subst $$,\$$,$(EXPORTED_inner)) + @$(java-vm-cleanup) ++ -mv $(CLASSHDRDIR)/java_lang_ClassLoader\$$NativeLibrary.h \ ++ $(CLASSHDRDIR)/java_lang_ClassLoader_NativeLibrary.h + @$(TOUCH) $@ + + classheaders.clean: +diff -Nru openjdk-ecj.orig/jdk/make/common/shared/Defs-java.gmk openjdk-ecj/jdk/make/common/shared/Defs-java.gmk +--- openjdk-ecj.orig/jdk/make/common/shared/Defs-java.gmk 2012-01-18 16:50:57.569109033 +0000 ++++ openjdk-ecj/jdk/make/common/shared/Defs-java.gmk 2012-01-18 21:43:04.150185964 +0000 +@@ -124,34 +124,18 @@ + JAVACFLAGS += $(OTHER_JAVACFLAGS) + + # Needed for javah +-JAVAHFLAGS += -bootclasspath $(CLASSBINDIR) ++JAVAHFLAGS += -bootclasspath $(CLASSBINDIR):$(ICEDTEA_RT):$(CLASSDESTDIR) + + # Needed for JAVADOC and BOOT_JAVACFLAGS + NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true + + # Langtools +-ifdef LANGTOOLS_DIST +- JAVAC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javac.jar +- JAVAH_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javah.jar +- JAVADOC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javadoc.jar +- DOCLETS_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/doclets.jar +- JAVAC_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVAC_JAR)" \ +- -jar $(JAVAC_JAR) $(JAVACFLAGS) +- JAVAH_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVAH_JAR)$(CLASSPATH_SEPARATOR)$(JAVADOC_JAR)$(CLASSPATH_SEPARATOR)$(JAVAC_JAR)" \ +- -jar $(JAVAH_JAR) $(JAVAHFLAGS) +- JAVADOC_CMD = $(BOOT_JAVA_CMD) \ +- "-Xbootclasspath/p:$(JAVADOC_JAR)$(CLASSPATH_SEPARATOR)$(JAVAC_JAR)$(CLASSPATH_SEPARATOR)$(DOCLETS_JAR)" \ +- -jar $(JAVADOC_JAR) +-else +- # If no explicit tools, use boot tools (add VM flags in this case) +- JAVAC_CMD = $(JAVA_TOOLS_DIR)/javac $(JAVAC_JVM_FLAGS) \ ++# If no explicit tools, use boot tools (add VM flags in this case) ++JAVAC_CMD = $(JAVA_TOOLS_DIR)/javac $(JAVAC_JVM_FLAGS) \ + $(JAVACFLAGS) +- JAVAH_CMD = $(JAVA_TOOLS_DIR)/javah \ ++JAVAH_CMD = $(JAVA_TOOLS_DIR)/javah \ + $(JAVAHFLAGS) +- JAVADOC_CMD = $(JAVA_TOOLS_DIR)/javadoc $(JAVA_TOOLS_FLAGS:%=-J%) +-endif ++JAVADOC_CMD = $(JAVA_TOOLS_DIR)/javadoc $(JAVA_TOOLS_FLAGS:%=-J%) + + # Override of what javac to use (see deploy workspace) + ifdef JAVAC +diff -Nru openjdk-ecj.orig/jdk/make/java/nio/Makefile openjdk-ecj/jdk/make/java/nio/Makefile +--- openjdk-ecj.orig/jdk/make/java/nio/Makefile 2012-01-18 16:50:50.576996095 +0000 ++++ openjdk-ecj/jdk/make/java/nio/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -31,7 +31,7 @@ + PACKAGE = java.nio + LIBRARY = nio + PRODUCT = java +-OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial ++OTHER_JAVACFLAGS += -Xlint:serial + include $(BUILDDIR)/common/Defs.gmk + + NIO_SRC = $(SHARE_SRC)/classes/java/nio +diff -Nru openjdk-ecj.orig/jdk/make/java/text/Makefile openjdk-ecj/jdk/make/java/text/Makefile +--- openjdk-ecj.orig/jdk/make/java/text/Makefile 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/java/text/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -80,8 +80,8 @@ + -sourcepath $(TEXT_SRCDIR) \ + $(TEXT_SOURCES) + $(MKDIR) -p $(TEXT_CLASSDIR) +- $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \ +- -jar $(GENERATEBREAKITERATORDATA_JARFILE) \ ++ $(BOOT_JAVA_CMD) -cp $(TEXT_CLASSES):$(GENERATEBREAKITERATORDATA_JARFILE):$(ICEDTEA_CLS_DIR) \ ++ build.tools.generatebreakiteratordata.GenerateBreakIteratorData \ + -o $(TEXT_CLASSDIR) \ + -spec $(UNICODEDATA)/UnicodeData.txt + @$(java-vm-cleanup) +diff -Nru openjdk-ecj.orig/jdk/make/Makefile openjdk-ecj/jdk/make/Makefile +--- openjdk-ecj.orig/jdk/make/Makefile 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -247,7 +247,7 @@ + + all build:: sanity-all post-sanity-all + +-SUBDIRS = tools java javax org sun sunw com jpda mkdemo mksample launchers ++SUBDIRS = tools java javax org sun sunw com jpda mksample launchers + all build:: + $(SUBDIRS-loop) + +diff -Nru openjdk-ecj.orig/jdk/make/sun/awt/Makefile openjdk-ecj/jdk/make/sun/awt/Makefile +--- openjdk-ecj.orig/jdk/make/sun/awt/Makefile 2012-01-18 16:50:52.313024135 +0000 ++++ openjdk-ecj/jdk/make/sun/awt/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -438,10 +438,9 @@ + COMPILEFONTCONFIG_JARFILE = $(BUILDTOOLJARDIR)/compilefontconfig.jar + + $(LIBDIR)/%.bfc: $(FONTCONFIGS_SRC)/$(FONTCONFIGS_SRC_PREFIX)%.properties \ +- $(COMPILEFONTCONFIG_JARFILE) +- $(prep-target) +- $(BOOT_JAVA_CMD) -jar $(COMPILEFONTCONFIG_JARFILE) $< $@ +- $(CHMOD) 444 $(@) ++ $(COMPILEFONTCONFIG_JARFILE) ++ $(CP) -f $(GENSRCDIR)/fontconfig/* $(LIBDIR) ++ $(CHMOD) 444 $(LIBDIR)/*.bfc + @$(java-vm-cleanup) + + fontconfigs.clean : +diff -Nru openjdk-ecj.orig/jdk/make/sun/javazic/Makefile openjdk-ecj/jdk/make/sun/javazic/Makefile +--- openjdk-ecj.orig/jdk/make/sun/javazic/Makefile 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/sun/javazic/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -62,7 +62,8 @@ + $(WORKDIR)/$(MAPFILE): $(BUILDTOOLJARDIR)/javazic.jar $(TZFILES) + $(RM) -r $(@D) + $(prep-target) +- $(BOOT_JAVA_CMD) -jar $(BUILDTOOLJARDIR)/javazic.jar -V "$(TZDATA_VER)" -d $(WORKDIR) $(TZFILES) ++ $(BOOT_JAVA_CMD) -cp $(ICEDTEA_CLS_DIR):$(BUILDTOOLJARDIR)/javazic.jar \ ++ build.tools.javazic.Main -V "$(TZDATA_VER)" -d $(WORKDIR) $(TZFILES) + @$(java-vm-cleanup) + + $(INSTALLDIR)/$(MAPFILE): $(WORKDIR)/$(MAPFILE) +diff -Nru openjdk-ecj.orig/jdk/make/sun/text/Makefile openjdk-ecj/jdk/make/sun/text/Makefile +--- openjdk-ecj.orig/jdk/make/sun/text/Makefile 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/sun/text/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -85,8 +85,9 @@ + $(BOOT_JAVAC_CMD) -d $(TEXT_CLASSES) \ + -sourcepath $(TEXT_SRCDIR) \ + $(BIRULES) $(BIINFO) +- $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \ +- -jar $(GENERATEBREAKITERATORDATA_JARFILE) \ ++ $(BOOT_JAVA_CMD) \ ++ -cp $(TEXT_CLASSES):$(ICEDTEA_CLS_DIR):$(GENERATEBREAKITERATORDATA_JARFILE) \ ++ build.tools.generatebreakiteratordata.GenerateBreakIteratorData \ + -o $(CLASSDESTDIR)/sun/text/resources \ + -spec $(UNICODEDATA)/UnicodeData.txt \ + -language th +diff -Nru openjdk-ecj.orig/jdk/make/sun/xawt/Makefile openjdk-ecj/jdk/make/sun/xawt/Makefile +--- openjdk-ecj.orig/jdk/make/sun/xawt/Makefile 2012-01-18 16:51:03.393203105 +0000 ++++ openjdk-ecj/jdk/make/sun/xawt/Makefile 2012-01-18 21:43:04.150185964 +0000 +@@ -301,11 +301,7 @@ + + TEMPDIR_CLASSES = $(TEMPDIR)/classes + +-$(TEMPDIR_CLASSES)/sun/awt/X11/ToBin.class: ToBin.java +- @$(prep-target) +- $(BOOT_JAVAC_CMD) -d $(TEMPDIR_CLASSES) $< +- +-$(TEMPDIR)/.gen_icons: $(TEMPDIR_CLASSES)/sun/awt/X11/ToBin.class $(ICONS) ++$(TEMPDIR)/.gen_icons: $(ICONS) + $(prep-target) + for i in $(ICONS); do \ + filename=`basename $$i`; \ +@@ -315,22 +311,14 @@ + $(ECHO) "package sun.awt.X11;" >> $$classname ; \ + $(ECHO) "public class XAWTIcon32_$$name {" >> $$classname; \ + $(ECHO) "public static int[] $$name = { " >> $$classname; \ +- $(CAT) $$i | \ +- $(BOOT_JAVA_CMD) -cp $(TEMPDIR_CLASSES) \ +- -Dawt.toolkit=sun.awt.motif.MToolkit \ +- -Djava.awt.headless=true \ +- sun.awt.X11.ToBin >> $$classname; \ ++ $(ECHO) "0,0" >> $$classname ; \ + $(ECHO) "}; }" >> $$classname; \ +- classname=$(GEN_DIR)/XAWTIcon64_$$name.java; \ ++ classname=$(GEN_DIR)/XAWTIcon64_$$name.java; \ + $(RM) $$classname; \ + $(ECHO) "package sun.awt.X11;" >> $$classname ; \ + $(ECHO) "public class XAWTIcon64_$$name {" >> $$classname; \ + $(ECHO) "public static long[] $$name = { " >> $$classname; \ +- $(CAT) $$i | \ +- $(BOOT_JAVA_CMD) -cp $(TEMPDIR_CLASSES) \ +- -Dawt.toolkit=sun.awt.motif.MToolkit \ +- -Djava.awt.headless=true \ +- sun.awt.X11.ToBin >> $$classname; \ ++ $(ECHO) "0,0" >> $$classname ; \ + $(ECHO) "}; }" >> $$classname; \ + done + $(TOUCH) $@ +diff -Nru openjdk-ecj.orig/jdk/make/tools/src/build/tools/generatecharacter/GenerateCharacter.java openjdk-ecj/jdk/make/tools/src/build/tools/generatecharacter/GenerateCharacter.java +--- openjdk-ecj.orig/jdk/make/tools/src/build/tools/generatecharacter/GenerateCharacter.java 2011-01-07 21:32:51.000000000 +0000 ++++ openjdk-ecj/jdk/make/tools/src/build/tools/generatecharacter/GenerateCharacter.java 2012-01-18 21:43:04.150185964 +0000 +@@ -647,9 +647,6 @@ + throws FileNotFoundException, IOException { + BufferedReader in = new BufferedReader(new FileReader(theTemplateFileName)); + PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(theOutputFileName))); +- out.println(commentStart + +- " This file was generated AUTOMATICALLY from a template file " + +- new java.util.Date() + commentEnd); + int marklen = commandMarker.length(); + LOOP: while(true) { + try { +@@ -876,7 +873,6 @@ + // liu : Add a comment showing the source of this table + result.append(commentStart + " The following tables and code generated using:" + + commentEnd + "\n "); +- result.append(commentStart + ' ' + commandLineDescription + commentEnd + "\n "); + + if (plane == 0 && bLatin1 == false) { + genCaseMapTableDeclaration(result); +diff -Nru openjdk-ecj.orig/jdk/src/share/classes/java/lang/Double.java openjdk-ecj/jdk/src/share/classes/java/lang/Double.java +--- openjdk-ecj.orig/jdk/src/share/classes/java/lang/Double.java 2011-01-07 21:32:53.000000000 +0000 ++++ openjdk-ecj/jdk/src/share/classes/java/lang/Double.java 2012-01-18 21:43:04.150185964 +0000 +@@ -76,7 +76,7 @@ + * {@code 0x1.fffffffffffffP+1023} and also equal to + * {@code Double.longBitsToDouble(0x7fefffffffffffffL)}. + */ +- public static final double MAX_VALUE = 0x1.fffffffffffffP+1023; // 1.7976931348623157e+308 ++ public static final double MAX_VALUE = 1.7976931348623157e+308; + + /** + * A constant holding the smallest positive normal value of type +@@ -86,7 +86,7 @@ + * + * @since 1.6 + */ +- public static final double MIN_NORMAL = 0x1.0p-1022; // 2.2250738585072014E-308 ++ public static final double MIN_NORMAL = 2.2250738585072014E-308; + + /** + * A constant holding the smallest positive nonzero value of type +@@ -95,7 +95,7 @@ + * {@code 0x0.0000000000001P-1022} and also equal to + * {@code Double.longBitsToDouble(0x1L)}. + */ +- public static final double MIN_VALUE = 0x0.0000000000001P-1022; // 4.9e-324 ++ public static final double MIN_VALUE = 4.9e-324; + + /** + * Maximum exponent a finite {@code double} variable may have. +diff -Nru openjdk-ecj.orig/jdk/src/share/classes/java/lang/Float.java openjdk-ecj/jdk/src/share/classes/java/lang/Float.java +--- openjdk-ecj.orig/jdk/src/share/classes/java/lang/Float.java 2011-01-07 21:32:53.000000000 +0000 ++++ openjdk-ecj/jdk/src/share/classes/java/lang/Float.java 2012-01-18 21:43:04.150185964 +0000 +@@ -76,7 +76,7 @@ + * {@code 0x1.fffffeP+127f} and also equal to + * {@code Float.intBitsToFloat(0x7f7fffff)}. + */ +- public static final float MAX_VALUE = 0x1.fffffeP+127f; // 3.4028235e+38f ++ public static final float MAX_VALUE = 3.4028235e+38f; + + /** + * A constant holding the smallest positive normal value of type +@@ -86,7 +86,7 @@ + * + * @since 1.6 + */ +- public static final float MIN_NORMAL = 0x1.0p-126f; // 1.17549435E-38f ++ public static final float MIN_NORMAL = 1.17549435E-38f; + + /** + * A constant holding the smallest positive nonzero value of type +@@ -94,7 +94,7 @@ + * hexadecimal floating-point literal {@code 0x0.000002P-126f} + * and also equal to {@code Float.intBitsToFloat(0x1)}. + */ +- public static final float MIN_VALUE = 0x0.000002P-126f; // 1.4e-45f ++ public static final float MIN_VALUE = 1.4e-45f; + + /** + * Maximum exponent a finite {@code float} variable may have. It +diff -Nru openjdk-ecj.orig/langtools/make/build.xml openjdk-ecj/langtools/make/build.xml +--- openjdk-ecj.orig/langtools/make/build.xml 2011-02-17 23:26:23.000000000 +0000 ++++ openjdk-ecj/langtools/make/build.xml 2012-01-18 21:43:04.150185964 +0000 +@@ -523,6 +523,7 @@ + includeAntRuntime="no" + source="@{javac.source}" + target="@{javac.target}"> ++ + + + +@@ -539,6 +540,7 @@ + target="@{javac.target}" + debug="${javac.debug}" + debuglevel="${javac.debuglevel}"> ++ + + + -- cgit v1.2.3 From 6700d50623903ce22f3243ed969a7d461d5fc919 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 12 Mar 2013 01:45:04 -0300 Subject: remove yabause due that package was included on community repo on archlinux --- pcr/yabause/PKGBUILD | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 pcr/yabause/PKGBUILD (limited to 'pcr') diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD deleted file mode 100644 index c65bcbe2f..000000000 --- a/pcr/yabause/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer : Harley Laue -# Contributor: Hyacinthe Cartiaux -# Contributor: Anton Shestakov -# Contributor: Tiago Camargo -# Contributor: robb_force -pkgname=yabause -pkgver=0.9.12 -pkgrel=3 -pkgdesc='A Sega Saturn emulator.' -url='http://yabause.org/' -license=('GPL') -arch=('i686' 'x86_64') -makedepends=('cmake' 'mesa' 'glu') -depends=('sdl' 'qt4' 'openal' 'freeglut') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('c7876c04489f8a1b59b3166598084cb8') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - [ -e build ] && rm -rf build - mkdir build - cd build - cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \ - -DYAB_PORTS=qt \ - -DYAB_MULTIBUILD=OFF \ - -DYAB_NETWORK=ON \ - -DYAB_OPTIMIZED_DMA=on \ - -DYAB_PERKEYNAME=ON \ - .. - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}/build" - make DESTDIR="${pkgdir}" install -} -- cgit v1.2.3 From 2e6373ca0bd24c0da7d888f03068af2b2eeb2ede Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 12 Mar 2013 01:50:34 -0300 Subject: yabause-git removed due that yabause was included on archlinux --- pcr/yabause-git/PKGBUILD | 50 ------------------------------------------------ 1 file changed, 50 deletions(-) delete mode 100644 pcr/yabause-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD deleted file mode 100644 index 6de78f4eb..000000000 --- a/pcr/yabause-git/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Gustavo Alvarez -pkgname=yabause-git -pkgver=20130301 -pkgrel=1 -pkgdesc="A Sega Saturn emulator (GIT version)" -arch=('x86_64' 'i686') -url="http://yabause.org/" -license=('GPL') -conflicts=('yabause') -provides=('yabause') -depends=('mini18n-git' 'openal' 'sdl' 'freeglut') -makedepends=('git' 'cmake' 'mesa' 'glu') - -#Enable QT or GTK -#_port=gtk -_port=qt - -[ "${_port}" = "qt" ] && depends+=('qt4') -[ "${_port}" = "gtk" ] && depends+=('gtkglext') - -_gitroot="git://github.com/Guillaumito/yabause.git" -_gitname="yabause" - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d "${_gitname}" ]; then - cd "${_gitname}" && git pull - msg "The local files are updated." - else - git clone --depth=1 "${_gitroot}" "${_gitname}" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "${srcdir}/${_gitname}-build" - cp -R "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build" - cd "${srcdir}/${_gitname}-build/${_gitname}" - - LDFLAGS+=",-z,noexecstack" - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DYAB_PORTS="${_port}" -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON -DYAB_PERKEYNAME=ON - make -} - -package() { - cd "${srcdir}/${_gitname}-build/${_gitname}" - make DESTDIR="${pkgdir}/" install -} -- cgit v1.2.3 From 142c794d4d452388c27355da3b47c02bf49846ac Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 12 Mar 2013 12:42:16 -0300 Subject: trisquel mini 5.99-3 --- pcr/trisquel-themes/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/trisquel-themes/PKGBUILD b/pcr/trisquel-themes/PKGBUILD index f65f5c92b..69aad1870 100644 --- a/pcr/trisquel-themes/PKGBUILD +++ b/pcr/trisquel-themes/PKGBUILD @@ -2,8 +2,8 @@ pkgname=trisquel-themes pkgver=6.0 -_miniver="5.99-2" -pkgrel=1 +_miniver="5.99-3" +pkgrel=2 pkgdesc="Themes from Trisquel, including GTK2, Metacity, XFWM and Openbox themes" arch=('any') url=http://trisquel.info @@ -12,6 +12,8 @@ depends=() optdepends=('gtk-engine-equinox: for Trisquel GTK2 theme') source=(http://archive.trisquel.info/trisquel/pool/main/t/trisquel-gtk-theme/trisquel-gtk-theme_${pkgver}.tar.gz http://archive.trisquel.info/trisquel/pool/main/t/trisquel-mini-data/trisquel-mini-data_${_miniver}.tar.gz) +md5sums=('8d81a535adade0e52a0c584c07f87a2a' + 'e448057b6e2d933916511c2c3d3585e1') build() { : @@ -25,5 +27,3 @@ package() { ${pkgdir}/usr/share/themes/ done } -md5sums=('8d81a535adade0e52a0c584c07f87a2a' - 'dd222c321374692f57e21c47aa70d402') -- cgit v1.2.3 From 62ce2d47a819bb21d3e462fc5e56cdfde3aab621 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 12 Mar 2013 16:04:04 -0300 Subject: Upgraded, it was missing on repos --- pcr/libowfat/PKGBUILD | 2 +- pcr/opentracker/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++ pcr/opentracker/license.txt | 2 + pcr/opentracker/opentracker.install | 17 +++++++++ pcr/opentracker/opentracker.rc.d | 37 +++++++++++++++++++ pcr/opentracker/opentracker.service | 11 ++++++ social/opentracker/PKGBUILD | 67 ---------------------------------- social/opentracker/license.txt | 2 - social/opentracker/opentracker.install | 17 --------- social/opentracker/opentracker.rc.d | 37 ------------------- social/opentracker/opentracker.service | 11 ------ 11 files changed, 135 insertions(+), 135 deletions(-) create mode 100644 pcr/opentracker/PKGBUILD create mode 100644 pcr/opentracker/license.txt create mode 100644 pcr/opentracker/opentracker.install create mode 100644 pcr/opentracker/opentracker.rc.d create mode 100644 pcr/opentracker/opentracker.service delete mode 100644 social/opentracker/PKGBUILD delete mode 100644 social/opentracker/license.txt delete mode 100644 social/opentracker/opentracker.install delete mode 100644 social/opentracker/opentracker.rc.d delete mode 100644 social/opentracker/opentracker.service (limited to 'pcr') diff --git a/pcr/libowfat/PKGBUILD b/pcr/libowfat/PKGBUILD index e2602046d..a51638450 100644 --- a/pcr/libowfat/PKGBUILD +++ b/pcr/libowfat/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libowfat pkgver=0.29 -pkgrel=2 +pkgrel=3 pkgdesc='GPL reimplementation of libdjb' arch=(i686 x86_64 mips64el) url=http://www.fefe.de/libowfat/ diff --git a/pcr/opentracker/PKGBUILD b/pcr/opentracker/PKGBUILD new file mode 100644 index 000000000..d2b9a3703 --- /dev/null +++ b/pcr/opentracker/PKGBUILD @@ -0,0 +1,67 @@ +# Contributor: Pierre Schmitz +# Maintainer: Jonas Heinrich + +pkgname=opentracker +pkgver=20130312 +pkgrel=1 +pkgdesc='An open and free bittorrent tracker (open mode)' +arch=('i686' 'x86_64' 'mips64el') +url='http://erdgeist.org/arts/software/opentracker/' +license=('custom:Beer' 'GPL') +makedepends=('libowfat' 'cvs') +depends=('bash' 'zlib') +backup=('etc/opentracker/config') +source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"{,.sig} +'opentracker.service' +'license.txt') +md5sums=('64956fd9bc7b453b4862b8ba15a27511' + '0217a2aeaee2b75017c13cdf86a245f2' + '3c638b71d5ecb65fb7964796975b2078' + '865211941e882c0aff5d36a22ac9efaa') + +_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot' +_cvsmod='opentracker' + +mksource() { + pushd "${srcdir}" + msg 'Connecting to CVS server....' + if [ -d ${_cvsmod}/CVS ]; then + cd ${_cvsmod} + cvs -z3 update -d + else + cvs -z3 -d ${_cvsroot} co -f ${_cvsmod} + cd ${_cvsmod} + fi + + msg 'CVS checkout done or server timeout' + popd + + tar czf ${pkgname}-${pkgver}.tar.gz ${_cvsmod}/ +} + +build() { + cd "${srcdir}/${_cvsmod}" + msg 'Starting make...' + + sed -e 's|# tracker.rootdir /usr/local/etc/opentracker|tracker.rootdir /etc/opentracker|' \ + -e 's|# access.stats 192.168.0.23|access.stats 127.0.0.1|' \ + -i opentracker.conf.sample + +# See Makefile for available features + make PREFIX=/usr \ + LIBOWFAT_HEADERS=/usr/includes \ + LIBOWFAT_LIBRARY=/usr/lib \ + FEATURES="-DWANT_SYSLOGS -DDEBUG_HTTPERROR" +} + +package(){ + cd "${srcdir}/${_cvsmod}" + + install -D -m 755 opentracker $pkgdir/usr/bin/opentracker + install -D -m 644 opentracker.conf.sample $pkgdir/etc/opentracker/config + install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/opentracker/license.txt + + # Create opentracker service + mkdir -p "$pkgdir/usr/lib/systemd/system/" + install -m 644 "$srcdir/opentracker.service" "$pkgdir/usr/lib/systemd/system/" +} diff --git a/pcr/opentracker/license.txt b/pcr/opentracker/license.txt new file mode 100644 index 000000000..ff1bb40f5 --- /dev/null +++ b/pcr/opentracker/license.txt @@ -0,0 +1,2 @@ +This software was written by Dirk Engling +It is considered beerware. Prost. Skol. Cheers or whatever. diff --git a/pcr/opentracker/opentracker.install b/pcr/opentracker/opentracker.install new file mode 100644 index 000000000..59f6f6ebe --- /dev/null +++ b/pcr/opentracker/opentracker.install @@ -0,0 +1,17 @@ +post_install() { + cat </dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon opentracker + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/pcr/opentracker/opentracker.service b/pcr/opentracker/opentracker.service new file mode 100644 index 000000000..5f1b887ea --- /dev/null +++ b/pcr/opentracker/opentracker.service @@ -0,0 +1,11 @@ +[Unit] +Description=OpenTracker Daemon +After=network.target + +[Service] +User=nobody +ExecStart=/usr/bin/opentracker -f /etc/opentracker/config +ExecStop=/bin/kill -INT $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/social/opentracker/PKGBUILD b/social/opentracker/PKGBUILD deleted file mode 100644 index 5ecf00b3a..000000000 --- a/social/opentracker/PKGBUILD +++ /dev/null @@ -1,67 +0,0 @@ -# Contributor: Pierre Schmitz -# Maintainer: Jonas Heinrich - -pkgname=opentracker -pkgver=20130126 -pkgrel=1 -pkgdesc='An open and free bittorrent tracker (open mode)' -arch=('i686' 'x86_64' 'mips64el') -url='http://erdgeist.org/arts/software/opentracker/' -license=('custom:Beer' 'GPL') -makedepends=('libowfat' 'cvs') -depends=('bash' 'zlib') -backup=('etc/opentracker/config') -source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"{,.sig} -'opentracker.service' -'license.txt') - -_cvsroot=':pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot' -_cvsmod='opentracker' - -mksource() { - pushd "${srcdir}" - msg 'Connecting to CVS server....' - if [ -d ${_cvsmod}/CVS ]; then - cd ${_cvsmod} - cvs -z3 update -d - else - cvs -z3 -d ${_cvsroot} co -f ${_cvsmod} - cd ${_cvsmod} - fi - - msg 'CVS checkout done or server timeout' - popd - - tar czf ${pkgname}-${pkgver}.tar.gz ${_cvsmod}/ -} - -build() { - cd "${srcdir}/${_cvsmod}" - msg 'Starting make...' - - sed -e 's|# tracker.rootdir /usr/local/etc/opentracker|tracker.rootdir /etc/opentracker|' \ - -e 's|# access.stats 192.168.0.23|access.stats 127.0.0.1|' \ - -i opentracker.conf.sample - -# See Makefile for available features - make PREFIX=/usr \ - LIBOWFAT_HEADERS=/usr/includes \ - LIBOWFAT_LIBRARY=/usr/lib \ - FEATURES="-DWANT_SYSLOGS -DDEBUG_HTTPERROR" -} - -package(){ - cd "${srcdir}/${_cvsmod}" - - install -D -m 755 opentracker $pkgdir/usr/bin/opentracker - install -D -m 644 opentracker.conf.sample $pkgdir/etc/opentracker/config - install -D -m 644 $srcdir/license.txt $pkgdir/usr/share/licenses/opentracker/license.txt - - # Create opentracker service - mkdir -p "$pkgdir/usr/lib/systemd/system/" - install -m 644 "$srcdir/opentracker.service" "$pkgdir/usr/lib/systemd/system/" -} -md5sums=('702a05fc2c205c6367a7e95334d8e152' - '3c80785c33c97dffe6f119417865a309' - '3c638b71d5ecb65fb7964796975b2078' - '865211941e882c0aff5d36a22ac9efaa') diff --git a/social/opentracker/license.txt b/social/opentracker/license.txt deleted file mode 100644 index ff1bb40f5..000000000 --- a/social/opentracker/license.txt +++ /dev/null @@ -1,2 +0,0 @@ -This software was written by Dirk Engling -It is considered beerware. Prost. Skol. Cheers or whatever. diff --git a/social/opentracker/opentracker.install b/social/opentracker/opentracker.install deleted file mode 100644 index 59f6f6ebe..000000000 --- a/social/opentracker/opentracker.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - cat </dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon opentracker - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac diff --git a/social/opentracker/opentracker.service b/social/opentracker/opentracker.service deleted file mode 100644 index 5f1b887ea..000000000 --- a/social/opentracker/opentracker.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=OpenTracker Daemon -After=network.target - -[Service] -User=nobody -ExecStart=/usr/bin/opentracker -f /etc/opentracker/config -ExecStop=/bin/kill -INT $MAINPID - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3 From e1a9a599638f8e61a3dcdbed92f9ee25ce4d0394 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 15 Mar 2013 11:02:12 -0300 Subject: QGIS --- pcr/grass/PKGBUILD | 138 +++++++++++++++++ pcr/grass/grass-python2.patch | 327 +++++++++++++++++++++++++++++++++++++++++ pcr/grass/grass-tk86-fix.patch | 11 ++ pcr/grass/grass.conf | 1 + pcr/grass/grass.install | 26 ++++ pcr/grass/grass.sh | 4 + pcr/libfreexl/PKGBUILD | 21 +++ pcr/libspatialite/PKGBUILD | 24 +++ pcr/qgis/PKGBUILD | 65 ++++++++ pcr/qgis/qgis.desktop | 10 ++ pcr/spatialindex/LICENSE | 9 ++ pcr/spatialindex/PKGBUILD | 34 +++++ 12 files changed, 670 insertions(+) create mode 100644 pcr/grass/PKGBUILD create mode 100644 pcr/grass/grass-python2.patch create mode 100644 pcr/grass/grass-tk86-fix.patch create mode 100644 pcr/grass/grass.conf create mode 100644 pcr/grass/grass.install create mode 100644 pcr/grass/grass.sh create mode 100644 pcr/libfreexl/PKGBUILD create mode 100644 pcr/libspatialite/PKGBUILD create mode 100644 pcr/qgis/PKGBUILD create mode 100644 pcr/qgis/qgis.desktop create mode 100644 pcr/spatialindex/LICENSE create mode 100644 pcr/spatialindex/PKGBUILD (limited to 'pcr') diff --git a/pcr/grass/PKGBUILD b/pcr/grass/PKGBUILD new file mode 100644 index 000000000..aa32f8ca8 --- /dev/null +++ b/pcr/grass/PKGBUILD @@ -0,0 +1,138 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: Emiliano Vavassori + +pkgname=grass +pkgver=6.4.2 +pkgrel=5 +pkgdesc='Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization.' +arch=('i686' 'x86_64') +url='http://grass.osgeo.org/' +license=('GPL') +depends=('cfitsio' 'fftw' 'gdal' 'glu' 'libjpeg' 'libpng' 'libtiff' 'libxmu' 'mesa' 'python2' 'postgresql' 'proj' 'tcl' 'tk' 'wxpython' 'xorg-server') +makedepends=('freetype2') +optdepends=('sqlite3: sqlite3 database interface' + 'mysql: mysql database interface' + 'r: R language interface' + 'blas: required for GMATH library' + 'lapack: required for GMATH library' + 'cairo: cairo support' + 'ffmpeg: ffmpeg support' + 'lesstif: motif support') +options=('!libtool' '!makeflags') +install='grass.install' +source=("http://grass.osgeo.org/grass64/source/${pkgname}-${pkgver}.tar.gz" + "grass.sh" + "grass.conf" + "grass-python2.patch" + "grass-tk86-fix.patch") +md5sums=('d3398d6b1e3a2ef19cfb6e39a5ae9919' + '23da2e9399b3c5504851dec37821abe1' + '6103480c2a1adc19a50b9e925e5e6d4c' + '8717c73e7d262b1cff44d35ce80c50bb' + 'b7cb69248a387f70dabd5ce20b8297dc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Replacing previous python2 fixes with a patch. + # Thanks to Gunther Schulz to have reported a possible bug in the patching. + patch -p1 -i "${srcdir}/grass-python2.patch" + + # Solves build issue reported here: + # http://trac.osgeo.org/grass/ticket/1843 + patch -p1 -i "${srcdir}/grass-tk86-fix.patch" + + # the following exports are probably not needed + export PYTHON=python2 + export DOXNAME=python2 + export GRASS_python=python2 + + # Enabling 64bit support - EGV + if [ "$CARCH" = "x86_64" ]; then + ENABLE64BIT="--enable-64bit" + else + ENABLE64BIT="--disable-64bit" + fi + + # see ${srcdir}/grass-6.4.0/REQUIREMENTS.html for options + # GLw is hard disabled, since no package in Archlinux can provide it - EGV + ./configure ${ENABLE64BIT} \ + --prefix=/opt \ + --enable-64bit \ + --enable-W11 \ + --with-jpeg \ + --with-tiff \ + --with-png \ + --with-tcltk \ + --with-opengl \ + --with-fftw \ + --with-postgres \ + --with-freetype \ + --with-freetype-includes=/usr/include/freetype2 \ + --without-glw \ + --with-nls \ + --with-gdal \ + --with-geos \ + --with-proj-includes=/usr/include \ + --with-proj-libs=/usr/lib \ + --with-proj-share=/usr/share/proj \ + --with-python=/usr/bin/python2-config \ + --with-wxwidgets=/usr/bin/wx-config + + # sqlite3 support + # --with-sqlite \ + + # mysql support + # --with-mysql \ + # --with-mysql-includes=/usr/include/mysql \ + + # blas support + # --with-blas \ + + # lapack support + # --with-lapack \ + + make + + # some more potential problems nvm, works without, but save for future use if problems arrise + #cd ${pkgdir}/opt/grass-${pkgver} + #sed -i 's/PYTHON = python/PYTHON = python2/' include/Make/Python.make + #sed -i 's/GRASS_PYTHON=python/GRASS_PYTHON=python2/' etc/Init.sh +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make \ + INST_DIR=${pkgdir}/opt/grass-${pkgver} \ + BINDIR=${pkgdir}/usr/bin \ + install + + # fix $GISBASE path + sed -i "s|GISBASE=${pkgdir}/opt/grass-${pkgver}|GISBASE=/opt/grass-${pkgver}|g" \ + ${pkgdir}/usr/bin/grass64 + + # install profile.d file + install -D ${srcdir}/grass.sh \ + ${pkgdir}/etc/profile.d/grass.sh + + # install some freedesktop.org compatibility + install -D -m644 gui/icons/grass.desktop \ + ${pkgdir}/usr/share/applications/grass.desktop + + sed -i -e 's/grass65/grass64/' -e 's_/usr/share/icons_/usr/share/pixmaps_' \ + ${pkgdir}/usr/share/applications/grass.desktop + + install -D -m644 gui/icons/grass-48x48.png \ + ${pkgdir}/usr/share/pixmaps/grass-48x48.png + + install -D -m644 ${srcdir}/grass.conf \ + ${pkgdir}/etc/ld.so.conf.d/grass.conf + + # install g.html2man which is needed for some extensions + # FS#25705 - [grass] g.html2man is not installed into package directory + # https://bugs.archlinux.org/task/25705 + # most likely upstream problem which will be fixed in a version later than 6.4.1 + cp -r ./tools/g.html2man ${pkgdir}/opt/${pkgname}-${pkgver}/tools +} diff --git a/pcr/grass/grass-python2.patch b/pcr/grass/grass-python2.patch new file mode 100644 index 000000000..ee35949b5 --- /dev/null +++ b/pcr/grass/grass-python2.patch @@ -0,0 +1,327 @@ +diff -ur grass-6.4.2/doc/python/example_ctypes.py grass-6.4.2-new/doc/python/example_ctypes.py +--- grass-6.4.2/doc/python/example_ctypes.py 2010-04-17 14:15:26.000000000 +0200 ++++ grass-6.4.2-new/doc/python/example_ctypes.py 2012-08-16 09:33:01.480497320 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + import os, sys, subprocess + from ctypes import * + grass = CDLL("libgrass_gis.so") +diff -ur grass-6.4.2/general/g.parser/test.py grass-6.4.2-new/general/g.parser/test.py +--- grass-6.4.2/general/g.parser/test.py 2009-07-23 23:08:41.000000000 +0200 ++++ grass-6.4.2-new/general/g.parser/test.py 2012-08-16 09:33:01.513831191 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + # g.parser demo script for python programing + +diff -ur grass-6.4.2/gui/scripts/g.change.gui.py grass-6.4.2-new/gui/scripts/g.change.gui.py +--- grass-6.4.2/gui/scripts/g.change.gui.py 2009-05-30 07:36:32.000000000 +0200 ++++ grass-6.4.2-new/gui/scripts/g.change.gui.py 2012-08-16 09:33:04.353875090 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ############################################################################ + # +diff -ur grass-6.4.2/gui/scripts/g.extension.py grass-6.4.2-new/gui/scripts/g.extension.py +--- grass-6.4.2/gui/scripts/g.extension.py 2012-02-18 18:28:29.000000000 +0100 ++++ grass-6.4.2-new/gui/scripts/g.extension.py 2012-08-16 09:33:04.393875703 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ############################################################################ + # +diff -ur grass-6.4.2/gui/scripts/g.extension.rebuild.all.py grass-6.4.2-new/gui/scripts/g.extension.rebuild.all.py +--- grass-6.4.2/gui/scripts/g.extension.rebuild.all.py 2012-02-01 10:26:11.000000000 +0100 ++++ grass-6.4.2-new/gui/scripts/g.extension.rebuild.all.py 2012-08-16 09:33:04.320541242 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ############################################################################ + # +diff -ur grass-6.4.2/gui/scripts/v.type_wrapper.py grass-6.4.2-new/gui/scripts/v.type_wrapper.py +--- grass-6.4.2/gui/scripts/v.type_wrapper.py 2009-05-30 07:36:32.000000000 +0200 ++++ grass-6.4.2-new/gui/scripts/v.type_wrapper.py 2012-08-16 09:33:04.287207393 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: v.type_wrapper.py (v.type wrapper script) +diff -ur grass-6.4.2/gui/wxpython/gui_modules/menuform.py grass-6.4.2-new/gui/wxpython/gui_modules/menuform.py +--- grass-6.4.2/gui/wxpython/gui_modules/menuform.py 2012-01-04 10:55:50.000000000 +0100 ++++ grass-6.4.2-new/gui/wxpython/gui_modules/menuform.py 2012-08-16 09:33:03.000520822 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + """ + @brief Construct simple wx.Python GUI from a GRASS command interface + description. +diff -ur grass-6.4.2/gui/wxpython/scripts/d.rast3d.py grass-6.4.2-new/gui/wxpython/scripts/d.rast3d.py +--- grass-6.4.2/gui/wxpython/scripts/d.rast3d.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/d.rast3d.py 2012-08-16 09:33:04.083870925 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # + ############################################################################ + # +diff -ur grass-6.4.2/gui/wxpython/scripts/p.cmd.py grass-6.4.2-new/gui/wxpython/scripts/p.cmd.py +--- grass-6.4.2/gui/wxpython/scripts/p.cmd.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/p.cmd.py 2012-08-16 09:33:03.870534267 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: p.cmd +diff -ur grass-6.4.2/gui/wxpython/scripts/p.db.py grass-6.4.2-new/gui/wxpython/scripts/p.db.py +--- grass-6.4.2/gui/wxpython/scripts/p.db.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/p.db.py 2012-08-16 09:33:04.047203667 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: p.db +diff -ur grass-6.4.2/gui/wxpython/scripts/p.mon.py grass-6.4.2-new/gui/wxpython/scripts/p.mon.py +--- grass-6.4.2/gui/wxpython/scripts/p.mon.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/p.mon.py 2012-08-16 09:33:03.940535364 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: p.mon +diff -ur grass-6.4.2/gui/wxpython/scripts/p.rast.py grass-6.4.2-new/gui/wxpython/scripts/p.rast.py +--- grass-6.4.2/gui/wxpython/scripts/p.rast.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/p.rast.py 2012-08-16 09:33:04.013869835 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: p.rast +diff -ur grass-6.4.2/gui/wxpython/scripts/p.vect.py grass-6.4.2-new/gui/wxpython/scripts/p.vect.py +--- grass-6.4.2/gui/wxpython/scripts/p.vect.py 2010-10-17 19:15:32.000000000 +0200 ++++ grass-6.4.2-new/gui/wxpython/scripts/p.vect.py 2012-08-16 09:33:03.980535999 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ############################################################################ + # + # MODULE: p.vect +diff -ur grass-6.4.2/imagery/i.atcorr/create_iwave.py grass-6.4.2-new/imagery/i.atcorr/create_iwave.py +--- grass-6.4.2/imagery/i.atcorr/create_iwave.py 2010-12-22 12:09:24.000000000 +0100 ++++ grass-6.4.2-new/imagery/i.atcorr/create_iwave.py 2012-08-16 09:33:04.430542943 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + """ + Created on Sat Mar 27 11:35:32 2010 + +diff -ur grass-6.4.2/include/Make/Platform.make.in grass-6.4.2-new/include/Make/Platform.make.in +--- grass-6.4.2/include/Make/Platform.make.in 2010-11-08 08:23:48.000000000 +0100 ++++ grass-6.4.2-new/include/Make/Platform.make.in 2012-08-16 09:33:35.484354613 +0200 +@@ -217,7 +217,7 @@ + USE_CAIRO = @USE_CAIRO@ + + #Python +-PYTHON = python ++PYTHON = python2 + PYTHONINC = @PYTHONINC@ + PYTHONCFLAGS = @PYTHONCFLAGS@ + PYTHONLDFLAGS = @PYTHONLDFLAGS@ +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/ctypedescs.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/ctypedescs.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/ctypedescs.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/ctypedescs.py 2012-08-16 09:33:04.987218247 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ''' + ctypesgencore.ctypedescs contains classes to represent a C type. All of them +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/descriptions.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/descriptions.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/descriptions.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/descriptions.py 2012-08-16 09:33:04.883883291 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + ctypesgencore.descriptions contains classes to represent a description of a +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/expressions.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/expressions.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/expressions.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/expressions.py 2012-08-16 09:33:05.023885450 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ''' + The expressions module contains classes to represent an expression. The main +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/__init__.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/__init__.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/__init__.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/__init__.py 2012-08-16 09:33:04.920550527 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + Ctypesgencore is the module that contains the main body of ctypesgen - in fact, +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/messages.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/messages.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/messages.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/messages.py 2012-08-16 09:33:04.503877428 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + ctypesgencore.messages contains functions to display status, error, or warning +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/options.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/options.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/options.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/options.py 2012-08-16 09:33:04.707213885 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + All of the components of ctypegencore require an argument called "options". +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cdeclarations.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cdeclarations.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cdeclarations.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cdeclarations.py 2012-08-16 09:33:05.393891162 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ''' + This file contains classes that represent C declarations. cparser produces +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cgrammar.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cgrammar.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cgrammar.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cgrammar.py 2012-08-16 09:33:05.433891816 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + '''This is a yacc grammar for C. + +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cparser.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cparser.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/cparser.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/cparser.py 2012-08-16 09:33:05.213888390 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ''' + Parse a C source file. +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/ctypesparser.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/ctypesparser.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/ctypesparser.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/ctypesparser.py 2012-08-16 09:33:05.093886533 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + ''' + ctypesgencore.parser.ctypesparser contains a class, CtypesParser, which is a +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py 2012-08-16 09:33:05.473892425 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + DataCollectingParser subclasses ctypesparser.CtypesParser and builds Description +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/__init__.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/__init__.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/__init__.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/__init__.py 2012-08-16 09:33:05.283889499 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + This package parses C header files and generates lists of functions, typedefs, +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/pplexer.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/pplexer.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/pplexer.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/pplexer.py 2012-08-16 09:33:05.180554533 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + '''Preprocess a C source file using gcc and convert the result into + a token stream +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/preprocessor.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/preprocessor.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/parser/preprocessor.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/parser/preprocessor.py 2012-08-16 09:33:05.250555640 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + '''Preprocess a C source file using gcc and convert the result into + a token stream +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/printer/__init__.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/printer/__init__.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/printer/__init__.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/printer/__init__.py 2012-08-16 09:33:04.640546189 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + This module is the backend to ctypesgen; it contains classes to +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/printer/printer.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/printer/printer.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/printer/printer.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/printer/printer.py 2012-08-16 09:33:04.537211279 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import os, sys, time + from ctypesgencore.descriptions import * +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/dependencies.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/dependencies.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/dependencies.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/dependencies.py 2012-08-16 09:33:04.743881125 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + The dependencies module determines which descriptions depend on which other +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/__init__.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/__init__.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/__init__.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/__init__.py 2012-08-16 09:33:04.810548840 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + This module contains functions to operate on the DeclarationCollection produced +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/operations.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/operations.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/operations.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/operations.py 2012-08-16 09:33:04.847216053 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + """ + The operations module contains various functions to process the +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/pipeline.py grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/pipeline.py +--- grass-6.4.2/lib/python/ctypes/ctypesgencore/processor/pipeline.py 2011-04-13 14:57:45.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgencore/processor/pipeline.py 2012-08-16 09:33:04.777214964 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + import ctypes, re, os + from ctypesgencore.processor.operations import * +diff -ur grass-6.4.2/lib/python/ctypes/ctypesgen.py grass-6.4.2-new/lib/python/ctypes/ctypesgen.py +--- grass-6.4.2/lib/python/ctypes/ctypesgen.py 2011-04-13 14:57:46.000000000 +0200 ++++ grass-6.4.2-new/lib/python/ctypes/ctypesgen.py 2012-08-16 09:33:05.573893972 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + def find_names_in_modules(modules): + names = set() diff --git a/pcr/grass/grass-tk86-fix.patch b/pcr/grass/grass-tk86-fix.patch new file mode 100644 index 000000000..f0dbb7c2b --- /dev/null +++ b/pcr/grass/grass-tk86-fix.patch @@ -0,0 +1,11 @@ +--- grass-6.4.2/visualization/nviz/src/draw.c 2008-12-19 21:29:59.000000000 +0100 ++++ grass-6.4.2/visualization/nviz/src/draw_new.c 2013-01-21 22:22:09.819456565 +0100 +@@ -32,7 +32,7 @@ + void CancelFunc_Hook(void) + { + if (cancel_script != NULL) { +- TkCopyAndGlobalEval(cancel_interp, cancel_script); ++ Tcl_EvalEx(cancel_interp, cancel_script, -1, TCL_EVAL_GLOBAL); + } + } + diff --git a/pcr/grass/grass.conf b/pcr/grass/grass.conf new file mode 100644 index 000000000..bb4964d93 --- /dev/null +++ b/pcr/grass/grass.conf @@ -0,0 +1 @@ +/opt/grass/lib diff --git a/pcr/grass/grass.install b/pcr/grass/grass.install new file mode 100644 index 000000000..878ea0186 --- /dev/null +++ b/pcr/grass/grass.install @@ -0,0 +1,26 @@ +## arg 1: the new package version +post_install() { + pkgver=${1%-*} + + # Create symlink for version workaround. + ln -sf /opt/grass-${pkgver} /opt/grass + + echo 'Please relogin for required variables to be set from /etc/profile.d/grass.sh' +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + pkgver=${1%-*} + + # Updating symlink for new version + ln -sf /opt/grass-${pkgver} /opt/grass +} + +## arg 1: the old package version +pre_remove() { + # Removing cruft symlink + rm -f /opt/grass +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/grass/grass.sh b/pcr/grass/grass.sh new file mode 100644 index 000000000..e36980c16 --- /dev/null +++ b/pcr/grass/grass.sh @@ -0,0 +1,4 @@ +export GISBASE=/opt/grass +export PATH=$PATH:$GISBASE/bin:$GISBASE/scripts +export MANPATH=$MANPATH:$GISBASE/man +export GRASS_PYTHON=python2 diff --git a/pcr/libfreexl/PKGBUILD b/pcr/libfreexl/PKGBUILD new file mode 100644 index 000000000..69d94ce99 --- /dev/null +++ b/pcr/libfreexl/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Bruno Gola +pkgname=libfreexl +pkgver=1.0.0e +pkgrel=1 +pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet." +arch=('i686' 'x86_64') +url="https://www.gaia-gis.it/fossil/freexl/index" +license=('MPL') +source=("http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-$pkgver.tar.gz") + +build() { + cd "$srcdir/freexl-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/freexl-$pkgver" + make DESTDIR="$pkgdir/" install +} +md5sums=('9b494d42a079e63afbb9dc0915e8fb56') diff --git a/pcr/libspatialite/PKGBUILD b/pcr/libspatialite/PKGBUILD new file mode 100644 index 000000000..24c775fd8 --- /dev/null +++ b/pcr/libspatialite/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Brian Galey +# Contributor: Pietro Zambelli +pkgname=libspatialite +pkgver=4.0.0 +pkgrel=1 +pkgdesc="SQLite extension to support spatial data types and operations" +arch=('i686' 'x86_64') +url="https://www.gaia-gis.it/fossil/libspatialite/index" +license=('MPL') +depends=('geos' 'proj' 'sqlite3' 'libfreexl') +options=('!libtool') +source=("http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz") +md5sums=('8040ce4e39913e7d284675c0f15d270d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/qgis/PKGBUILD b/pcr/qgis/PKGBUILD new file mode 100644 index 000000000..7a305285c --- /dev/null +++ b/pcr/qgis/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Lantald < lantald at gmx.com +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: Gerardo Exequiel Pozzi +# Contributor: Eric Forgeot < http://esclinux.tk > + +pkgname=qgis +pkgver=1.8.0 +pkgrel=5 +pkgdesc='Quantum GIS is a Geographic Information System (GIS) that supports vector, raster & database formats' +url='http://qgis.org/' +license=('GPL') +arch=('i686' 'x86_64') +# update to http://www.qgis.org/wiki/Building_QGIS_from_Source#Overview +depends=('libmysqlclient' 'postgresql-libs' 'sqlite3' 'jasper' 'curl' 'pyqt' 'python2' 'python2-pyqt' 'giflib' 'cfitsio' 'qwt' 'gdal' 'flex' 'bison' 'libspatialite' 'spatialindex') +makedepends=('cmake' 'grass' 'gsl' 'postgis' 'netcdf' 'fcgi' 'python2-sip') +optdepends=('postgis: postgis support and SPIT plugin' + 'fcgi: qgis mapserver' + 'python2-sip: python-support' + 'grass: grass plugin' + 'gsl: georeferencer') +options=('!makeflags') +source=("http://qgis.org/downloads/qgis-${pkgver}.tar.bz2" + 'qgis.desktop') + +md5sums=('1d60520f81d7763c026d0af887ac9a05' + '8ab66039f2aba519b92f52272ec3c13e') + +build() { + # Fix insecure RPATH is weird, but just works ;) + # echo "os.system(\"sed -i '/^LFLAGS/s|-Wl,-rpath,.\+ ||g' gui/Makefile core/Makefile\")" >> python/configure.py.in + #cd qgis-${pkgver} + + rm -rf build + mkdir build + cd build + + cmake ../qgis-${pkgver} \ + -DENABLE_TESTS=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DGRASS_PREFIX=/opt/grass \ + -DQGIS_MANUAL_SUBDIR=share/man \ + -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \ + -DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \ + -DQT_QMAKE_EXECUTABLE=qmake4 + + make +} + +package() { + cd build + + make DESTDIR=${pkgdir} install + + # create a more user-friendly application name link + ln -s /usr/bin/qgis $pkgdir/usr/bin/quantum-gis + + # install some freedesktop.org compatibility + install -D -m644 ${srcdir}/qgis.desktop \ + ${pkgdir}/usr/share/applications/qgis.desktop +} diff --git a/pcr/qgis/qgis.desktop b/pcr/qgis/qgis.desktop new file mode 100644 index 000000000..c3db5ad08 --- /dev/null +++ b/pcr/qgis/qgis.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Quantum GIS +GenericName="GIS" +Comment="Geographic Information System (GIS) that supports vector, raster & database formats" +Exec=/usr/bin/qgis +Icon=/usr/share/qgis/images/icons/qgis-icon.png +Terminal=false +MultipleArgs=false +Type=Application +Categories=Application;Science diff --git a/pcr/spatialindex/LICENSE b/pcr/spatialindex/LICENSE new file mode 100644 index 000000000..888f4e789 --- /dev/null +++ b/pcr/spatialindex/LICENSE @@ -0,0 +1,9 @@ +Permission is hereby granted, free of charge, to any person obtaining acopy of this software and associated documentation files (the "Software"),to deal in the Software without restriction, including without limitationthe rights to use, copy, modify, merge, publish, distribute, sublicense,and/or sell copies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/pcr/spatialindex/PKGBUILD b/pcr/spatialindex/PKGBUILD new file mode 100644 index 000000000..ac2e1122e --- /dev/null +++ b/pcr/spatialindex/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Lantald +pkgname=spatialindex +pkgver=1.8.0 +pkgrel=1 +pkgdesc="An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries." +arch=('i686' 'x86_64') +url="http://libspatialindex.github.com/" +license=('MIT') +depends=(gcc-libs) +provides=(spatialindex) +conflicts=(libspatialindex-git) +source=("http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz" + 'LICENSE') +md5sums=('aa78e2c641c472df257f49cd140669c4' + '6a9a7d8158edbf1529ca46aae5a76752') + +build() { + cd "$srcdir/$pkgname-src-$pkgver/" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-src-$pkgver/" + make -k check +} + +package() { + cd "$srcdir/$pkgname-src-$pkgver/" + make DESTDIR="$pkgdir/" install + install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 2c19d0fb7195ca5116c876abb1d8348db10f24b8 Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Sat, 16 Mar 2013 23:15:51 +0100 Subject: add rstudio-desktop pakage --- pcr/rstudio-desktop/PKGBUILD | 38 +++++++++++++++++++++++++++++++++++++ pcr/rstudio-desktop/rstudio.install | 15 +++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 pcr/rstudio-desktop/PKGBUILD create mode 100644 pcr/rstudio-desktop/rstudio.install (limited to 'pcr') diff --git a/pcr/rstudio-desktop/PKGBUILD b/pcr/rstudio-desktop/PKGBUILD new file mode 100644 index 000000000..569df2b33 --- /dev/null +++ b/pcr/rstudio-desktop/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: TDY +# Contributor: Ben Ward + +pkgname=rstudio-desktop +pkgver=0.97.332 +_commit=e65a459 +pkgrel=1 +pkgdesc="A powerful and productive user interface for R" +arch=('i686' 'x86_64') +url="http://www.rstudio.org/" +license=('AGPL') +depends=('r>=2.11.1' 'qtwebkit' 'boost-libs>=1.50' 'shared-mime-info') +makedepends=('git' 'cmake>=2.8' 'boost>=1.50' 'java-environment' 'apache-ant' 'unzip' 'openssl' 'pam' 'wget') +install=rstudio.install +source=($pkgname-$pkgver.tgz::https://github.com/rstudio/rstudio/tarball/v$pkgver) +md5sums=('0197506486c76ed1bff71a534072e0e9') + +build() { + cd "$srcdir/rstudio-rstudio-$_commit/dependencies/common" + sh install-gwt + sh install-dictionaries + sh install-mathjax + + rm -rf "$srcdir/rstudio-rstudio-$_commit/build" + install -dm755 "$srcdir/rstudio-rstudio-$_commit/build" + cd "$srcdir/rstudio-rstudio-$_commit/build" + cmake -DRSTUDIO_TARGET=Desktop \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr/lib/rstudio .. +} + +package() { + cd "$srcdir/rstudio-rstudio-$_commit/build" + make DESTDIR="$pkgdir/" install + install -Dm644 ../COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/rstudio-desktop/rstudio.install b/pcr/rstudio-desktop/rstudio.install new file mode 100644 index 000000000..d0192c8c0 --- /dev/null +++ b/pcr/rstudio-desktop/rstudio.install @@ -0,0 +1,15 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + post_install "$1" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From 55f42c86ab5e8509098cc9763975b58bf9ce6504 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 21 Mar 2013 12:11:44 -0300 Subject: OTR: python implementation --- pcr/python2-potr/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pcr/python2-potr/PKGBUILD (limited to 'pcr') diff --git a/pcr/python2-potr/PKGBUILD b/pcr/python2-potr/PKGBUILD new file mode 100644 index 000000000..39613ad95 --- /dev/null +++ b/pcr/python2-potr/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Michael Düll PGP-Key: AAAEE882 + +pkgname=python2-potr +pkgver=1.0.0beta6 +pkgrel=3 +pkgdesc="This is a pure Python OTR implementation; it does not bind to libotr." +arch=(any) +url="https://github.com/afflux/pure-python-otr" +license=('LGPL') +depends=('python2' 'python2-crypto') +conflicts=('python-potr-git' 'python-potr') +replaces=('python-potr') +options=(!emptydirs) +source=("https://github.com/afflux/pure-python-otr/tarball/${pkgver}") + +PYTHON=`which python2` + +build() { + cd $srcdir/afflux* + set_python2 + $PYTHON ./setup.py build +} + +package() { + cd $srcdir/afflux* + $PYTHON ./setup.py install --root=$pkgdir/ +} + +# To use python2 instead of default python v3. +set_python2() { + for file in $(find . -name '*.py' -print); do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' "${file}" + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${file}" + done +} + + +# vim:set ts=2 sw=2 et: +sha512sums=('323ad31e782409b7bd93539dfc0088de8b114075b88de81123b732aff609fbb2a2c06221c52266225ce54e20e9856b25759bae84c93244a1258ccba3825c8b1c') -- cgit v1.2.3 From 5e76c95e0fd01b276497d60d5fbd94658f6d7a68 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sun, 31 Mar 2013 14:13:36 +0200 Subject: openjdk6-old changes for future builds. --- pcr/openjdk6/PKGBUILD | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD index 8c70bb72a..7b6505b86 100644 --- a/pcr/openjdk6/PKGBUILD +++ b/pcr/openjdk6/PKGBUILD @@ -81,7 +81,6 @@ build() { --with-jaxp-drop-zip=${srcdir}/jaxp144_04.zip \ --with-jaxws-drop-zip=${srcdir}/jdk6-jaxws2_1_6-2011_06_13.zip \ --with-jaf-drop-zip=${srcdir}/jdk6-jaf-b20.zip \ - --enable-bootstrap \ --with-abs-install-dir=${_jvmdir} \ --with-jdk-home="$JAVA_HOME" @@ -95,10 +94,9 @@ package_openjdk6-old() { pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.' backup=(etc/profile.d/openjdk6.sh) depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7') - optdepends=('icedtea-web: web browser plugin + Java Web Start' - 'alsa-lib: for sound' + optdepends=('alsa-lib: for sound' 'giflib: for gif format support') - conflicts=('java-environment' 'java-runtime') + conflicts=('java-environment' 'java-runtime' 'jre7-openjdk-headless') provides=('java-environment=6' 'java-runtime=6' 'java-runtime-headless=6') install=openjdk6.install -- cgit v1.2.3 From 6b660a7f29bfc8157d33874c17b202d10173ec27 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sun, 31 Mar 2013 18:33:29 +0200 Subject: Rebuild openjdk6-old without unneeded features. - don't build openjdk6-old-src - don't provide man pages or /usr/bin symlinks to avoid conflicts with jdk7-openjdk - rebuild using itself --- pcr/openjdk6/PKGBUILD | 83 ++++++++------------------------------------------- 1 file changed, 12 insertions(+), 71 deletions(-) (limited to 'pcr') diff --git a/pcr/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD index 7b6505b86..03cdba0aa 100644 --- a/pcr/openjdk6/PKGBUILD +++ b/pcr/openjdk6/PKGBUILD @@ -2,20 +2,26 @@ # Maintainer: Andreas Radke # Contributor: Jan de Groot -pkgname=('openjdk6-old' 'openjdk6-old-src') +pkgname='openjdk6-old' pkgbase="openjdk6" _javaver=6 _icedteaver=1.12.3 _openjdk_version=b27 _openjdk_date=26_oct_2012 pkgver=${_javaver}.${_openjdk_version}_${_icedteaver} -pkgrel=1 +pkgrel=1.1 url='http://icedtea.classpath.org' arch=('i686' 'x86_64') license=('custom') -makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2' - 'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxt' 'nss' 'libxslt' - 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'java-environment' 'inetutils' 'wget') +pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.' +backup=(etc/profile.d/openjdk6.sh) +depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7') +makedepends=('alsa-lib' 'giflib' 'libxp' 'gtk2' + 'nspr' 'zlib' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'libxslt' + 'apache-ant' 'autoconf' 'unzip' 'rhino' 'mercurial' 'zip' 'cpio' 'openjdk6-old' 'inetutils' 'wget') +optdepends=('alsa-lib: for sound' + 'giflib: for gif format support') +install=openjdk6.install options=('!emptydirs') source=(http://icedtea.classpath.org/download/source/icedtea6-${_icedteaver}.tar.gz{,.sig} http://download.java.net/openjdk/jdk6/promoted/${_openjdk_version}/openjdk-6-src-${_openjdk_version}-${_openjdk_date}.tar.gz @@ -90,16 +96,7 @@ build() { LD_PRELOAD="" make } -package_openjdk6-old() { - pkgdesc='Free Java environment based on OpenJDK 6.0 with IcedTea6 replacing binary plugs.' - backup=(etc/profile.d/openjdk6.sh) - depends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'libxt' 'nss' 'libjpeg' 'freetype2' 'libxrender' 'libpng>=1.5.7') - optdepends=('alsa-lib: for sound' - 'giflib: for gif format support') - conflicts=('java-environment' 'java-runtime' 'jre7-openjdk-headless') - provides=('java-environment=6' 'java-runtime=6' 'java-runtime-headless=6') - install=openjdk6.install - +package() { if [ "${CARCH}" = "x86_64" ]; then _arch=amd64 else @@ -125,41 +122,6 @@ package_openjdk6-old() { rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.bfc rm -f ${pkgdir}/${_jvmdir}/jre/lib/fontconfig.*.properties.src - # Install man pages. - install -m755 -d ${pkgdir}/usr/share/man/man1 - install -m644 man/man1/*.1 ${pkgdir}/usr/share/man/man1/ - - # Install demos and samples. - cp -a demo ${pkgdir}/${_jvmdir}/ - install -m755 -d sample/rmi - mv bin/java-rmi.cgi sample/rmi - cp -a sample ${pkgdir}/${_jvmdir}/ - popd - - # Install icons and menu entries. - for s in 16 24 32 48 ; do - install -m755 -d ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps - install -m644 openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \ - ${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps/java.png - done - - # Install desktop files. - install -m755 -d ${pkgdir}/usr/share/applications - install -m644 {jconsole,policytool}.desktop ${pkgdir}/usr/share/applications - - # link binaries into /usr/bin - install -m755 -d ${pkgdir}/usr/bin - pushd ${pkgdir}/${_jvmdir}/bin - for file in *; do - ln -sf ${_jvmdir}/bin/${file} \ - ${pkgdir}/usr/bin - done - popd - - # link JKS keystore from ca-certificates-java - rm -f ${pkgdir}/${_jvmdir}/jre/lib/security/cacerts - ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}/${_jvmdir}/jre/lib/security/cacerts" - # set some variables install -m755 -d ${pkgdir}/etc/profile.d install -m755 ${srcdir}/openjdk6.profile ${pkgdir}/etc/profile.d/openjdk6.sh @@ -168,24 +130,3 @@ package_openjdk6-old() { # install license install -Dm644 ${srcdir}//icedtea6-${_icedteaver}/openjdk/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } - -package_openjdk6-old-src() { - pkgdesc='Free Java environment based on OpenJDK 6.0 Source Bundle' - depends=('openjdk6-old') - - if [ "${CARCH}" = "x86_64" ]; then - _arch=amd64 - else - _arch=i586 - fi - - _javaver=6 - _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk - - cd ${srcdir}/icedtea6-${_icedteaver} - install -m755 -d ${pkgdir}/${_jvmdir}/jre - - pushd ${srcdir}/icedtea6-${_icedteaver}/openjdk.build/j2sdk-image - # Install src.zip file - cp -a src.zip ${pkgdir}/${_jvmdir}/ -} -- cgit v1.2.3 From fa0a3ef780274f9b17a10b70baafec02798b389a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 2 Apr 2013 17:47:42 -0300 Subject: hexchat-libre: updating version and move to [libre] repo due that hexchat from archlinux that is not free was included on community repo --- libre/hexchat-libre/PKGBUILD | 57 ++++++++++++++++++++++ libre/hexchat-libre/hexchat.install | 14 ++++++ libre/hexchat-libre/no-firefox.patch | 16 ++++++ .../hexchat-libre/remove-non-free-suggestion.patch | 12 +++++ pcr/hexchat-libre/PKGBUILD | 47 ------------------ pcr/hexchat-libre/hexchat.install | 8 --- pcr/hexchat-libre/no-firefox.patch | 16 ------ pcr/hexchat-libre/remove-non-free-suggestion.patch | 12 ----- 8 files changed, 99 insertions(+), 83 deletions(-) create mode 100644 libre/hexchat-libre/PKGBUILD create mode 100644 libre/hexchat-libre/hexchat.install create mode 100644 libre/hexchat-libre/no-firefox.patch create mode 100644 libre/hexchat-libre/remove-non-free-suggestion.patch delete mode 100644 pcr/hexchat-libre/PKGBUILD delete mode 100644 pcr/hexchat-libre/hexchat.install delete mode 100644 pcr/hexchat-libre/no-firefox.patch delete mode 100644 pcr/hexchat-libre/remove-non-free-suggestion.patch (limited to 'pcr') diff --git a/libre/hexchat-libre/PKGBUILD b/libre/hexchat-libre/PKGBUILD new file mode 100644 index 000000000..82bfe1cec --- /dev/null +++ b/libre/hexchat-libre/PKGBUILD @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Maxime Gauduin +# Contributor: TingPing +# Maintainer (Parabola): André Silva + +_pkgname=hexchat +pkgname=hexchat-libre +pkgver=2.9.5 +pkgrel=3 +pkgdesc="A popular and easy to use graphical IRC (chat) client, without non-free browser reference (Parabola rebranded)" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.hexchat.org/" +license=('GPL') +options=('!libtool') +depends=('desktop-file-utils' 'gtkspell' 'hicolor-icon-theme' 'libnotify' 'libproxy' 'pciutils') +makedepends=('perl' 'python2') +optdepends=('enchant: Spell check' + 'perl: Perl plugin' + 'python2: Python plugin') +install="${_pkgname}.install" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("https://github.com/downloads/hexchat/hexchat/hexchat-$pkgver.tar.xz" + 'remove-non-free-suggestion.patch' + 'no-firefox.patch') +sha256sums=('11dfd0fbfb88d8dbb38f631fab8a7dffbb179f7f7dafe316953ed6f513ac623d' + '61040cb2a369b1b8801509c88019d68d1ab4c2505b1dfd859de1a4c22503f02d' + 'de338821e1a8790a6fbdba2ce41d323002f51e3ae3e99ee8d815fcf087197e45') + +build() { + cd "${srcdir}"/${_pkgname}-${pkgver}" + +# Rebrand to Parabola + sed -i -e 's#ArchLinux#Parabola GNU/Linux-libre#' plugins/sysinfo/parse.c + +# Remove non-free browser references + patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" + patch -p1 -i "${srcdir}/no-firefox.patch" + +# Build + ./autogen.sh + ./configure --prefix=/usr --enable-{shm,spell=gtkspell,textfe} + make +} + +package() { + cd "${srcdir}"/${_pkgname}-${pkgver} + +# Install + make DESTDIR="$pkgdir" install + +# IRC Mime Types + desktop-file-edit --add-mime-type='x-scheme-handler/irc;x-scheme-handler/ircs' --set-key=Exec --set-value='sh -c "hexchat --existing --url %u || exec hexchat"' "$pkgdir/usr/share/applications/hexchat.desktop" +} + +# vim: ts=2 sw=2 et: diff --git a/libre/hexchat-libre/hexchat.install b/libre/hexchat-libre/hexchat.install new file mode 100644 index 000000000..214da2ef9 --- /dev/null +++ b/libre/hexchat-libre/hexchat.install @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -ftq usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim: ts=2 sw=2 et: diff --git a/libre/hexchat-libre/no-firefox.patch b/libre/hexchat-libre/no-firefox.patch new file mode 100644 index 000000000..998ff4dca --- /dev/null +++ b/libre/hexchat-libre/no-firefox.patch @@ -0,0 +1,16 @@ +diff -Nur hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c hexchat-2.9.4/src/fe-gtk/fe-gtk.c +--- hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/fe-gtk/fe-gtk.c 2013-01-30 23:06:38.670239405 -0200 +@@ -1039,8 +1039,10 @@ + return; + } + +- /* everything failed, what now? just try firefox */ +- if (try_browser ("firefox", NULL, url)) ++ /* everything failed, what now? just try iceweasel or icecat */ ++ if (try_browser ("iceweasel", NULL, url)) ++ return; ++ if (try_browser ("icecat", NULL, url)) + return; + + /* fresh out of ideas... */ diff --git a/libre/hexchat-libre/remove-non-free-suggestion.patch b/libre/hexchat-libre/remove-non-free-suggestion.patch new file mode 100644 index 000000000..a83a71f17 --- /dev/null +++ b/libre/hexchat-libre/remove-non-free-suggestion.patch @@ -0,0 +1,12 @@ +diff -Nur hexchat-2.9.4.orig/src/common/hexchat.c hexchat-2.9.4/src/common/hexchat.c +--- hexchat-2.9.4.orig/src/common/hexchat.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/common/hexchat.c 2013-01-30 23:02:12.884864062 -0200 +@@ -618,7 +618,7 @@ + "NAME WII\n" "CMD quote WHOIS %2 %2\n\n"; + + static char defaultconf_urlhandlers[] = +- "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n"; ++ "" ""; + + #ifdef USE_SIGACTION + /* Close and open log files on SIGUSR1. Usefull for log rotating */ diff --git a/pcr/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD deleted file mode 100644 index 489fb0c91..000000000 --- a/pcr/hexchat-libre/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -#Maintainer: TingPing tingping@tingping.se -#Maintainer (Parabola): André Silva - -_pkgname=hexchat -pkgname=hexchat-libre -pkgver=2.9.4 -pkgrel=2.1 -pkgdesc='A GTK+ based IRC client without non-free browser reference (Parabola rebranded)' -arch=('i686' 'x86_64' 'mips64el') -url='http://www.hexchat.org/' -license=('GPL') -options=('!libtool') -replaces=('hexchat') -conflicts=('hexchat') -provides=("hexchat=$pkgver") -depends=('gtk2' 'openssl' 'dbus-glib' 'hicolor-icon-theme' 'libnotify' 'libproxy') -makedepends=('perl' 'python2' 'tcl') -optdepends=('enchant: for spell check' - 'perl: for perl plugin' - 'tcl: for tcl plugin' - 'python2: for python plugin') -install="$_pkgname.install" -source=("https://github.com/downloads/hexchat/hexchat/hexchat-$pkgver.tar.xz" - 'remove-non-free-suggestion.patch' - 'no-firefox.patch') -md5sums=('5609cac7200fc91be57196501aaf07fa' - '978da875b73d9570134a1e87af54f94b' - '8934416304ed77161da0883d5b06e7b8') - -build() { - cd "$srcdir/$_pkgname-$pkgver" - sed -i -e 's#ArchLinux#Parabola GNU/Linux-libre#' plugins/sysinfo/parse.c - patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" - patch -p1 -i "${srcdir}/no-firefox.patch" - mkdir m4 - chmod +x autogen.sh - ./autogen.sh - ./configure --prefix=/usr \ - --enable-openssl --enable-dbus --enable-nls --enable-ipv6 --enable-shm --enable-spell=static - make -} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - make DESTDIR="$pkgdir" install - install -D -m644 "share/icons/hexchat.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/hexchat.svg" -} diff --git a/pcr/hexchat-libre/hexchat.install b/pcr/hexchat-libre/hexchat.install deleted file mode 100644 index 4b3df7505..000000000 --- a/pcr/hexchat-libre/hexchat.install +++ /dev/null @@ -1,8 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - echo 'Read the FAQ if migrating from XChat - https://github.com/hexchat/hexchat/blob/master/share/doc/faq.md' -} - -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} diff --git a/pcr/hexchat-libre/no-firefox.patch b/pcr/hexchat-libre/no-firefox.patch deleted file mode 100644 index 998ff4dca..000000000 --- a/pcr/hexchat-libre/no-firefox.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Nur hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c hexchat-2.9.4/src/fe-gtk/fe-gtk.c ---- hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c 2012-11-11 07:08:30.000000000 -0200 -+++ hexchat-2.9.4/src/fe-gtk/fe-gtk.c 2013-01-30 23:06:38.670239405 -0200 -@@ -1039,8 +1039,10 @@ - return; - } - -- /* everything failed, what now? just try firefox */ -- if (try_browser ("firefox", NULL, url)) -+ /* everything failed, what now? just try iceweasel or icecat */ -+ if (try_browser ("iceweasel", NULL, url)) -+ return; -+ if (try_browser ("icecat", NULL, url)) - return; - - /* fresh out of ideas... */ diff --git a/pcr/hexchat-libre/remove-non-free-suggestion.patch b/pcr/hexchat-libre/remove-non-free-suggestion.patch deleted file mode 100644 index a83a71f17..000000000 --- a/pcr/hexchat-libre/remove-non-free-suggestion.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur hexchat-2.9.4.orig/src/common/hexchat.c hexchat-2.9.4/src/common/hexchat.c ---- hexchat-2.9.4.orig/src/common/hexchat.c 2012-11-11 07:08:30.000000000 -0200 -+++ hexchat-2.9.4/src/common/hexchat.c 2013-01-30 23:02:12.884864062 -0200 -@@ -618,7 +618,7 @@ - "NAME WII\n" "CMD quote WHOIS %2 %2\n\n"; - - static char defaultconf_urlhandlers[] = -- "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n"; -+ "" ""; - - #ifdef USE_SIGACTION - /* Close and open log files on SIGUSR1. Usefull for log rotating */ -- cgit v1.2.3 From cedcb7fc457bd0519c90d0e9748cce7ee4ff5714 Mon Sep 17 00:00:00 2001 From: Jorge López Seijas Date: Wed, 3 Apr 2013 21:05:49 +0200 Subject: Add musescore to pcr repo --- pcr/musescore/PKGBUILD | 46 +++++++++++++++++++++++++++++ pcr/musescore/desktop.patch | 12 ++++++++ pcr/musescore/mime.xml | 5 ++++ pcr/musescore/musescore.install | 12 ++++++++ pcr/musescore/paths.patch | 22 ++++++++++++++ pcr/musescore/qmake-qt4.patch | 25 ++++++++++++++++ pcr/musescore/system_qscriptgenerator.patch | 11 +++++++ 7 files changed, 133 insertions(+) create mode 100644 pcr/musescore/PKGBUILD create mode 100644 pcr/musescore/desktop.patch create mode 100644 pcr/musescore/mime.xml create mode 100644 pcr/musescore/musescore.install create mode 100644 pcr/musescore/paths.patch create mode 100644 pcr/musescore/qmake-qt4.patch create mode 100644 pcr/musescore/system_qscriptgenerator.patch (limited to 'pcr') diff --git a/pcr/musescore/PKGBUILD b/pcr/musescore/PKGBUILD new file mode 100644 index 000000000..8acfecfeb --- /dev/null +++ b/pcr/musescore/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Stefan Husmann +# Contributor: Dr.Egg + +pkgname=musescore +pkgver=1.3 +pkgrel=3 +pkgdesc="A music score editor written in Qt" +arch=('i686' 'x86_64') +url="http://www.musescore.org/en/" +license=('GPL') +depends=('shared-mime-info' 'qtscriptgenerator' 'portaudio') +makedepends=('cmake' 'doxygen') +optdepends=('jack') +install=musescore.install +source=("http://downloads.sourceforge.net/mscore/mscore-${pkgver}.tar.bz2" +paths.patch system_qscriptgenerator.patch mime.xml qmake-qt4.patch desktop.patch) +md5sums=('e5fde2bef0d40ee7542e1f515a3919d1' + '28f61c298f53214adacbc8d43f9c43e9' + '51e590842a92cdea7efa01fd60fe715c' + '969696178e56de36f9af37d7da61baaa' + 'a9e1d9c1a891810172245c6021682258' + 'c8f37720422ae1e1a0fa02b284bd00ed') + +build() { + cd $srcdir/mscore-${pkgver} + export QT_PLUGINS_DIR=/usr/lib/qt4/plugins + [ -d build ] && make clean + patch -p1 < $srcdir/system_qscriptgenerator.patch + patch -p1 < $srcdir/paths.patch + patch -p1 < $srcdir/desktop.patch + patch -p1 < $srcdir/qmake-qt4.patch + make PREFIX=/usr release +} + +package() { + cd $srcdir/mscore-${pkgver} + make PREFIX=/usr DESTDIR="$pkgdir" install + cd $pkgdir/usr/share/mscore-$pkgver/man + install -d $pkgdir/usr/share/doc/$pkgname + cp * $pkgdir/usr/share/doc/$pkgname/ + cd ../.. + rm -r $pkgdir/usr/share/mscore-$pkgver/man + install -Dm644 $srcdir/mime.xml \ + $pkgdir/usr/share/mime/packages/x-musescore.xml +} diff --git a/pcr/musescore/desktop.patch b/pcr/musescore/desktop.patch new file mode 100644 index 000000000..46beefc93 --- /dev/null +++ b/pcr/musescore/desktop.patch @@ -0,0 +1,12 @@ +diff -Naur mscore-1.2.old/mscore/packaging/mscore.desktop mscore-1.2.new/mscore/packaging/mscore.desktop +--- mscore-1.2.old/mscore/packaging/mscore.desktop 2013-01-20 14:54:27.000000000 +0100 ++++ mscore-1.2.new/mscore/packaging/mscore.desktop 2013-01-20 14:55:11.000000000 +0100 +@@ -3,7 +3,7 @@ + Comment=WYSIWYG Music score typesetter + Comment[ru]=Визуальный редактор нотных партитур + Exec=mscore +-GenericName=mscore ++GenericName=MuseScore + GenericName[ru]=MuseScore + Icon=mscore + Name=MuseScore diff --git a/pcr/musescore/mime.xml b/pcr/musescore/mime.xml new file mode 100644 index 000000000..a46de9f41 --- /dev/null +++ b/pcr/musescore/mime.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/pcr/musescore/musescore.install b/pcr/musescore/musescore.install new file mode 100644 index 000000000..6da0990dc --- /dev/null +++ b/pcr/musescore/musescore.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database /usr/share/mime/ +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/musescore/paths.patch b/pcr/musescore/paths.patch new file mode 100644 index 000000000..a1e43a93d --- /dev/null +++ b/pcr/musescore/paths.patch @@ -0,0 +1,22 @@ +diff -Naur musescore-svn.orig//mscore/mscore/mscore.cpp musescore-svn.new//mscore/mscore/mscore.cpp +--- musescore-svn.orig//mscore/mscore/mscore.cpp 2010-06-16 23:10:27.000000000 +0200 ++++ musescore-svn.new//mscore/mscore/mscore.cpp 2010-06-16 23:13:59.000000000 +0200 +@@ -919,15 +919,15 @@ + if (debugMode) + printf("open handbook for language <%s>\n", qPrintable(lang)); + +- QFileInfo mscoreHelp(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); ++ QFileInfo mscoreHelp(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); + if (!mscoreHelp.isReadable()) { + if (debugMode) { + printf("cannot open doc <%s>\n", qPrintable(mscoreHelp.filePath())); + } + lang = lang.left(2); +- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); ++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); + if(!mscoreHelp.isReadable()){ +- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-en.pdf")); ++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-en.pdf")); + if (!mscoreHelp.isReadable()) { + QString info(tr("MuseScore handbook not found at: \n")); + info += mscoreHelp.filePath(); diff --git a/pcr/musescore/qmake-qt4.patch b/pcr/musescore/qmake-qt4.patch new file mode 100644 index 000000000..27c50d8b3 --- /dev/null +++ b/pcr/musescore/qmake-qt4.patch @@ -0,0 +1,25 @@ +diff -Naur mscore-1.3.orig/Makefile mscore-1.3.new/Makefile +--- mscore-1.3.orig/Makefile 2013-03-05 18:41:00.000000000 +0100 ++++ mscore-1.3.new/Makefile 2013-03-05 18:55:46.000000000 +0100 +@@ -34,6 +34,7 @@ + cd build; \ + cmake -DCMAKE_BUILD_TYPE=RELEASE \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ ++ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \ + ../mscore; \ + make lrelease; \ + make -j ${CPUS}; \ +diff -Naur mscore-1.3.orig/mscore/CMakeLists.txt mscore-1.3.new/mscore/CMakeLists.txt +--- mscore-1.3.orig/mscore/CMakeLists.txt 2013-03-05 18:41:27.000000000 +0100 ++++ mscore-1.3.new/mscore/CMakeLists.txt 2013-03-05 18:54:35.000000000 +0100 +@@ -427,8 +427,8 @@ + + add_custom_target(lrelease + COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro +- COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/locale/*.ts +- COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts ++ COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/locale/*.ts ++ COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) + diff --git a/pcr/musescore/system_qscriptgenerator.patch b/pcr/musescore/system_qscriptgenerator.patch new file mode 100644 index 000000000..6deef6ec9 --- /dev/null +++ b/pcr/musescore/system_qscriptgenerator.patch @@ -0,0 +1,11 @@ +diff -Naur mscore-1.3.orig/mscore/CMakeLists.txt mscore-1.3.new/mscore/CMakeLists.txt +--- mscore-1.3.orig/mscore/CMakeLists.txt 2011-12-23 20:22:29.000000000 +0100 ++++ mscore-1.3.new/mscore/CMakeLists.txt 2011-12-23 20:36:37.000000000 +0100 +@@ -31,6 +31,6 @@ + set(GCC_VISIBILITY TRUE) # requires gcc 4.x? + set(HAS_AUDIOFILE TRUE) # requires libsndfile + +-set(BUILD_SCRIPTGEN TRUE) #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib) ++set(BUILD_SCRIPTGEN FALSE) #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib) + set(STATIC_SCRIPT_BINDINGS FALSE) + set(USE_SSE FALSE) -- cgit v1.2.3 From e490f51ccc2251f982346294d39cc08d9c03bfa9 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 3 Apr 2013 19:42:19 -0300 Subject: linphone: adding package to [pcr] repo due that is unstable on archlinux --- pcr/linphone/ChangeLog | 33 +++++++++++++++++++++++++++++++++ pcr/linphone/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 pcr/linphone/ChangeLog create mode 100644 pcr/linphone/PKGBUILD (limited to 'pcr') diff --git a/pcr/linphone/ChangeLog b/pcr/linphone/ChangeLog new file mode 100644 index 000000000..d87628505 --- /dev/null +++ b/pcr/linphone/ChangeLog @@ -0,0 +1,33 @@ +2008-10-16 Jaroslav Lichtblau +* v3.0.0 build for x86_64 + +2008-08-23 Darwin Bautista +* linphone 2.1.1-3 +* Fixed build against ffmpeg 20080715 + +2008-04-20 Darwin Bautista +* linphone 2.1.1-2 +* Fixed md5sums + +2008-02-24 Darwin Bautista +* linphone 2.1.1-1 +* New upstream release +* makedeps: added 'perlxml' +* Use internal ortp + +2007-12-02 Darwin Bautista +* linphone 2.0.1-1 +* New upstream release + +2007-11-21 Darwin Bautista +* linphone 2.0.0-1 +* New upstream release +* depends=(): added 'libexosip2', remove 'libosip2' +* Bumped minimum required version of dependencies + +2007-11-16 Darwin Bautista +* linphone 1.7.1-1 +* New upstream release +* Revamped PKGBUILD +* Fixed dependencies +* Use external ortp diff --git a/pcr/linphone/PKGBUILD b/pcr/linphone/PKGBUILD new file mode 100644 index 000000000..420576fc8 --- /dev/null +++ b/pcr/linphone/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Darwin Bautista + +pkgname=linphone +pkgver=3.5.2 +pkgrel=4.1 +pkgdesc="A Voice-over-IP phone" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.linphone.org/index.php/eng" +license=('GPL') +depends=('alsa-lib' 'ffmpeg=1:1.2' 'gtk2' 'libexosip2' 'speex' 'libv4l' 'libglade' 'v4l-utils' + 'libpulse' 'libxv' 'mediastreamer' 'ortp' 'libzrtpcpp' 'bcg729') +makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite') +optdepends=('pulseaudio') +options=('!libtool' '!emptydirs') +source=("http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/linphone-$pkgver.tar.gz") +md5sums=('4be6e940372dba1f6793aef849c1ff0d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export PKG_CONFIG=/usr/bin/pkg-config + unset SGML_CATALOG_FILES + ./configure --prefix=/usr --disable-static --enable-ipv6 --enable-video \ + --enable-alsa --enable-pulseaudio --disable-artsc --disable-strict \ + --libexecdir=/usr/lib/$pkgname \ + --enable-external-mediastreamer \ + --enable-external-ortp \ + --enable-zrtp + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3 From 7432fd8392f223766c0177a073e00ba38fdf04df Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 4 Apr 2013 02:48:35 -0300 Subject: linphone was reverted to community due that the problem is related to mediagstreamer => https://bugs.archlinux.org/task/34594 --- pcr/linphone/ChangeLog | 33 --------------------------------- pcr/linphone/PKGBUILD | 36 ------------------------------------ 2 files changed, 69 deletions(-) delete mode 100644 pcr/linphone/ChangeLog delete mode 100644 pcr/linphone/PKGBUILD (limited to 'pcr') diff --git a/pcr/linphone/ChangeLog b/pcr/linphone/ChangeLog deleted file mode 100644 index d87628505..000000000 --- a/pcr/linphone/ChangeLog +++ /dev/null @@ -1,33 +0,0 @@ -2008-10-16 Jaroslav Lichtblau -* v3.0.0 build for x86_64 - -2008-08-23 Darwin Bautista -* linphone 2.1.1-3 -* Fixed build against ffmpeg 20080715 - -2008-04-20 Darwin Bautista -* linphone 2.1.1-2 -* Fixed md5sums - -2008-02-24 Darwin Bautista -* linphone 2.1.1-1 -* New upstream release -* makedeps: added 'perlxml' -* Use internal ortp - -2007-12-02 Darwin Bautista -* linphone 2.0.1-1 -* New upstream release - -2007-11-21 Darwin Bautista -* linphone 2.0.0-1 -* New upstream release -* depends=(): added 'libexosip2', remove 'libosip2' -* Bumped minimum required version of dependencies - -2007-11-16 Darwin Bautista -* linphone 1.7.1-1 -* New upstream release -* Revamped PKGBUILD -* Fixed dependencies -* Use external ortp diff --git a/pcr/linphone/PKGBUILD b/pcr/linphone/PKGBUILD deleted file mode 100644 index 420576fc8..000000000 --- a/pcr/linphone/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Contributor: Darwin Bautista - -pkgname=linphone -pkgver=3.5.2 -pkgrel=4.1 -pkgdesc="A Voice-over-IP phone" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.linphone.org/index.php/eng" -license=('GPL') -depends=('alsa-lib' 'ffmpeg=1:1.2' 'gtk2' 'libexosip2' 'speex' 'libv4l' 'libglade' 'v4l-utils' - 'libpulse' 'libxv' 'mediastreamer' 'ortp' 'libzrtpcpp' 'bcg729') -makedepends=('pkgconfig' 'perlxml' 'intltool' 'sgmltools-lite') -optdepends=('pulseaudio') -options=('!libtool' '!emptydirs') -source=("http://download-mirror.savannah.gnu.org/releases/linphone/3.5.x/sources/linphone-$pkgver.tar.gz") -md5sums=('4be6e940372dba1f6793aef849c1ff0d') - -build() { - cd "$srcdir/$pkgname-$pkgver" - export PKG_CONFIG=/usr/bin/pkg-config - unset SGML_CATALOG_FILES - ./configure --prefix=/usr --disable-static --enable-ipv6 --enable-video \ - --enable-alsa --enable-pulseaudio --disable-artsc --disable-strict \ - --libexecdir=/usr/lib/$pkgname \ - --enable-external-mediastreamer \ - --enable-external-ortp \ - --enable-zrtp - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install -} -- cgit v1.2.3 From 7d4e98b2d6f2fd4d42ebb55105bab8a05e34ab94 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 6 Apr 2013 08:09:02 -0300 Subject: mediastreamer: add new package to [pcr] due that is unstable for linphone package --- pcr/mediastreamer/PKGBUILD | 33 ++++++++++++++++ pcr/mediastreamer/mediastreamer-ffmpeg.patch | 57 ++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 pcr/mediastreamer/PKGBUILD create mode 100644 pcr/mediastreamer/mediastreamer-ffmpeg.patch (limited to 'pcr') diff --git a/pcr/mediastreamer/PKGBUILD b/pcr/mediastreamer/PKGBUILD new file mode 100644 index 000000000..e55ace473 --- /dev/null +++ b/pcr/mediastreamer/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Sergej Pupykin +# Contributor: Adrià Arrufat + +pkgname=mediastreamer +pkgver=2.8.2 +pkgrel=4.1 +pkgdesc="A library written in C that allows you to create and run audio and video streams" +arch=('i686' 'x86_64') +url="http://www.linphone.org/" +license=('GPL') +depends=('ortp' 'speex' 'ffmpeg=1:1.2' 'v4l-utils' 'libxv' 'libpulse') +makedepends=('intltool') +options=('!libtool') +source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig} + mediastreamer-ffmpeg.patch) +md5sums=('e51ea9d5fce1396b374d10473dfbadec' + '805da7def98f367e621363fa0c951fe8' + '553d5d47ea4a8c8dfeabdc0281849d5f') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + patch -p1 -i "${srcdir}"/mediastreamer-ffmpeg.patch + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} diff --git a/pcr/mediastreamer/mediastreamer-ffmpeg.patch b/pcr/mediastreamer/mediastreamer-ffmpeg.patch new file mode 100644 index 000000000..3304e9f56 --- /dev/null +++ b/pcr/mediastreamer/mediastreamer-ffmpeg.patch @@ -0,0 +1,57 @@ +commit f586917ea4d66f9ba8910f0967a8830e54d50784 +Author: Yann Diorcet +Date: Tue Jun 5 11:07:48 2012 +0200 + + Fixes for new versions of ffmpeg + +diff --git a/src/h264dec.c b/src/h264dec.c +index c4a84ee..5229b5e 100644 +--- a/src/h264dec.c ++++ b/src/h264dec.c +@@ -45,7 +45,9 @@ typedef struct _DecData{ + static void ffmpeg_init(){ + static bool_t done=FALSE; + if (!done){ ++#ifdef FF_API_AVCODEC_INIT + avcodec_init(); ++#endif + avcodec_register_all(); + done=TRUE; + } +diff --git a/src/videoenc.c b/src/videoenc.c +index 21d016f..fb35760 100644 +--- a/src/videoenc.c ++++ b/src/videoenc.c +@@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + static bool_t avcodec_initialized=FALSE; + ++#ifndef FF_I_TYPE ++#define FF_I_TYPE AV_PICTURE_TYPE_I ++#endif ++ + #ifdef ENABLE_LOG_FFMPEG + + void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl) +@@ -53,7 +57,9 @@ void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl) + + void ms_ffmpeg_check_init(){ + if(!avcodec_initialized){ ++#ifdef FF_API_AVCODEC_INIT + avcodec_init(); ++#endif + avcodec_register_all(); + avcodec_initialized=TRUE; + #ifdef ENABLE_LOG_FFMPEG +@@ -300,10 +306,10 @@ static void prepare_h263(EncState *s){ + if (s->profile==0){ + s->codec=CODEC_ID_H263; + }else{ ++ /* + c->flags|=CODEC_FLAG_H263P_UMV; + c->flags|=CODEC_FLAG_AC_PRED; + c->flags|=CODEC_FLAG_H263P_SLICE_STRUCT; +- /* + c->flags|=CODEC_FLAG_OBMC; + c->flags|=CODEC_FLAG_AC_PRED; + */ -- cgit v1.2.3