summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ahcpd/PKGBUILD27
-rw-r--r--pcr/aqsis/PKGBUILD58
-rw-r--r--pcr/aqsis/aqsis.install14
-rw-r--r--pcr/babeld/PKGBUILD32
-rw-r--r--pcr/babeld/babeld.install18
-rw-r--r--pcr/batctl/PKGBUILD25
-rw-r--r--pcr/bsnes/PKGBUILD77
-rw-r--r--pcr/bsnes/bsnes.changelog487
-rw-r--r--pcr/bsnes/bsnes.install18
-rw-r--r--pcr/cinepaint-lts/LICENSE25
-rw-r--r--pcr/cinepaint-lts/PKGBUILD62
-rw-r--r--pcr/cinepaint-lts/cinepaint-libpng15.patch446
-rw-r--r--pcr/cinepaint-lts/cinepaint.install11
-rw-r--r--pcr/coin/PKGBUILD59
-rw-r--r--pcr/dropbear/PKGBUILD46
-rw-r--r--pcr/dropbear/dropbear-conf.d15
-rw-r--r--pcr/dropbear/dropbear-rc.d88
-rw-r--r--pcr/eigen3/PKGBUILD27
-rw-r--r--pcr/ffingerd/PKGBUILD27
-rw-r--r--pcr/ffingerd/finger.xinetd8
-rw-r--r--pcr/gimp-art/PKGBUILD105
-rw-r--r--pcr/gimp-art/gimp-splash-artwork.license13
-rw-r--r--pcr/gimp-art/gimp-splash-artwork.pngbin0 -> 375245 bytes
-rw-r--r--pcr/gimp-art/gimp.install12
-rw-r--r--pcr/glproto-git/PKGBUILD63
-rw-r--r--pcr/gmqcc-git/PKGBUILD53
-rw-r--r--pcr/gnuhealth/PKGBUILD41
-rw-r--r--pcr/gnun/PKGBUILD31
-rw-r--r--pcr/grass/PKGBUILD138
-rw-r--r--pcr/grass/grass-python2.patch327
-rw-r--r--pcr/grass/grass-tk86-fix.patch11
-rw-r--r--pcr/grass/grass.conf1
-rw-r--r--pcr/grass/grass.install26
-rw-r--r--pcr/grass/grass.sh4
-rwxr-xr-xpcr/higan-gtk/PKGBUILD73
-rwxr-xr-xpcr/higan-gtk/higan13
-rwxr-xr-xpcr/higan-gtk/higan.desktop8
-rwxr-xr-xpcr/higan-gtk/purify.desktop8
-rwxr-xr-xpcr/higan-qt/PKGBUILD79
-rwxr-xr-xpcr/higan-qt/higan13
-rwxr-xr-xpcr/higan-qt/higan.desktop8
-rwxr-xr-xpcr/higan-qt/purify.desktop8
-rw-r--r--pcr/idjc/PKGBUILD35
-rw-r--r--pcr/idjc/idjc.install11
-rw-r--r--pcr/idjc/idjc_0.8.4_configure.patch12
-rw-r--r--pcr/inadyn-opendns/PKGBUILD32
-rw-r--r--pcr/inadyn-opendns/inadyn-opendns.install17
-rw-r--r--pcr/inadyn-opendns/inadyn.rc-script38
-rw-r--r--pcr/inspircd/PKGBUILD68
-rw-r--r--pcr/inspircd/inspircd.install15
-rw-r--r--pcr/inspircd/inspircd.rcd54
-rw-r--r--pcr/inspircd/inspircd.service17
-rw-r--r--pcr/jack-rack/PKGBUILD34
-rw-r--r--pcr/libav-builder/PKGBUILD2
-rw-r--r--pcr/libav/PKGBUILD73
-rw-r--r--pcr/libdrm-git/COPYING48
-rw-r--r--pcr/libdrm-git/PKGBUILD106
-rw-r--r--pcr/libfreexl/PKGBUILD21
-rw-r--r--pcr/libnatpmp/PKGBUILD8
-rw-r--r--pcr/libowfat/PKGBUILD30
-rw-r--r--pcr/libowfat/libowfat.install39
-rw-r--r--pcr/libpurple-minimal/PKGBUILD46
-rw-r--r--pcr/libshout-idjc/PKGBUILD25
-rw-r--r--pcr/libspatialite/PKGBUILD24
-rw-r--r--pcr/libspnav/Makefile.in.diff19
-rw-r--r--pcr/libspnav/PKGBUILD24
-rw-r--r--pcr/lua-cyrussasl/PKGBUILD33
-rw-r--r--pcr/lua-cyrussasl/lua-cyrussasl.patch35
-rw-r--r--pcr/lua-ldap/PKGBUILD28
-rw-r--r--pcr/lua-ldap/lualdap-1.1.0-lua51.patch25
-rw-r--r--pcr/mediastreamer/PKGBUILD33
-rw-r--r--pcr/mediastreamer/mediastreamer-ffmpeg.patch57
-rw-r--r--pcr/mednafen-wip/PKGBUILD47
-rw-r--r--pcr/mesa-git/PKGBUILD1039
-rw-r--r--pcr/mini18n-git/PKGBUILD43
-rw-r--r--pcr/miniupnpd/PKGBUILD49
-rw-r--r--pcr/miniupnpd/miniupnpd.init51
-rw-r--r--pcr/miniupnpd/miniupnpd.systemd12
-rw-r--r--pcr/monkeysphere/PKGBUILD22
-rw-r--r--pcr/monkeysphere/monkeysphere.install43
-rw-r--r--pcr/multiwatch/PKGBUILD28
-rw-r--r--pcr/musescore/PKGBUILD46
-rw-r--r--pcr/musescore/desktop.patch12
-rw-r--r--pcr/musescore/mime.xml5
-rw-r--r--pcr/musescore/musescore.install12
-rw-r--r--pcr/musescore/paths.patch22
-rw-r--r--pcr/musescore/qmake-qt4.patch25
-rw-r--r--pcr/musescore/system_qscriptgenerator.patch11
-rw-r--r--pcr/netatalk/PKGBUILD43
-rw-r--r--pcr/netatalk/netatalk.changelog101
-rw-r--r--pcr/netatalk/netatalk.install20
-rw-r--r--pcr/nexuiz-data/PKGBUILD4
-rw-r--r--pcr/nexuiz/PKGBUILD6
-rw-r--r--pcr/olsrd/PKGBUILD31
-rwxr-xr-xpcr/olsrd/olsrd.install21
-rwxr-xr-xpcr/olsrd/rc.d.olsrd36
-rw-r--r--pcr/openjdk6/PKGBUILD132
-rw-r--r--pcr/openjdk6/disable-openjdk-Werror.diff147
-rw-r--r--pcr/openjdk6/disable_Werror.diff11
-rw-r--r--pcr/openjdk6/ecj-icedtea.patch893
-rw-r--r--pcr/openjdk6/fix_corba_cmds_path.diff29
-rw-r--r--pcr/openjdk6/fix_jdk_cmds_path.diff29
-rw-r--r--pcr/openjdk6/fontconfig-paths.diff134
-rw-r--r--pcr/openjdk6/nonreparenting-wm.diff60
-rw-r--r--pcr/openjdk6/openjdk6.install24
-rw-r--r--pcr/openjdk6/openjdk6.profile6
-rw-r--r--pcr/openjdk6/openjdk6.profile.csh6
-rw-r--r--pcr/openswan/PKGBUILD46
-rw-r--r--pcr/openswan/compile.patch11
-rwxr-xr-xpcr/openswan/openswan.rc.d43
-rw-r--r--pcr/opentracker/PKGBUILD67
-rw-r--r--pcr/opentracker/license.txt2
-rw-r--r--pcr/opentracker/opentracker.install17
-rw-r--r--pcr/opentracker/opentracker.rc.d37
-rw-r--r--pcr/opentracker/opentracker.service11
-rw-r--r--pcr/pandoc/PKGBUILD92
-rw-r--r--pcr/pandoc/SRCBUILD46
-rw-r--r--pcr/pandoc/citeproc-hs-pre-0.3.7.patch292
-rw-r--r--pcr/pmount/PKGBUILD15
-rw-r--r--pcr/poco/PKGBUILD44
-rw-r--r--pcr/python-renpy/ChangeLog32
-rw-r--r--pcr/python-renpy/PKGBUILD41
-rw-r--r--pcr/python-renpy/python2.diff8
-rw-r--r--pcr/python-renpy/renpy.diff20
-rw-r--r--pcr/python2-polib/PKGBUILD25
-rw-r--r--pcr/python2-potr/PKGBUILD39
-rw-r--r--pcr/python2-relatorio/PKGBUILD21
-rw-r--r--pcr/python2-renpy/PKGBUILD8
-rw-r--r--pcr/qgis/PKGBUILD65
-rw-r--r--pcr/qgis/qgis.desktop10
-rw-r--r--pcr/qtoctave/PKGBUILD31
-rw-r--r--pcr/qtoctave/qtoctave.install14
-rw-r--r--pcr/recutils/ChangeLog36
-rw-r--r--pcr/recutils/PKGBUILD44
-rw-r--r--pcr/recutils/recutils-1.5-glibc-2.16.patch29
-rw-r--r--pcr/recutils/recutils.install36
-rw-r--r--pcr/renpy/PKGBUILD21
-rw-r--r--pcr/rstudio-desktop/PKGBUILD38
-rw-r--r--pcr/rstudio-desktop/rstudio.install15
-rw-r--r--pcr/ruby-headers/PKGBUILD31
-rw-r--r--pcr/seeks/PKGBUILD65
-rw-r--r--pcr/seeks/conf.patch20
-rw-r--r--pcr/seeks/docbook2man.patch24
-rw-r--r--pcr/seeks/img_websearch.patch13
-rw-r--r--pcr/seeks/install18
-rw-r--r--pcr/seeks/logfile.patch29
-rwxr-xr-xpcr/seeks/seeks68
-rw-r--r--pcr/seeks/seeks.conf.d11
-rw-r--r--pcr/seeks/seeks.install12
-rw-r--r--pcr/seeks/seeks.logrotate6
-rw-r--r--pcr/seeks/seeks.rc.d57
-rw-r--r--pcr/seeks/seeksdaemon41
-rw-r--r--pcr/sipwitch/PKGBUILD32
-rw-r--r--pcr/skanlite/PKGBUILD30
-rw-r--r--pcr/sobby/PKGBUILD24
-rw-r--r--pcr/spacenavd/PKGBUILD30
-rw-r--r--pcr/spacenavd/spacenav.service10
-rw-r--r--pcr/spacenavd/spacenavd38
-rw-r--r--pcr/spatialindex/LICENSE9
-rw-r--r--pcr/spatialindex/PKGBUILD34
-rw-r--r--pcr/spectrum/PKGBUILD81
-rw-r--r--pcr/spectrum/gcc47.patch97
-rw-r--r--pcr/spectrum/logrotate.spectrum10
-rw-r--r--pcr/spectrum/spectrum.install45
-rw-r--r--pcr/spectrum/spectrum.tmpfiles1
-rw-r--r--pcr/spectrum/spectrum@.service14
-rw-r--r--pcr/spnavcfg/PKGBUILD21
-rw-r--r--pcr/squirm/PKGBUILD32
-rw-r--r--pcr/strongswan/PKGBUILD45
-rw-r--r--pcr/strongswan/strongswan.rc43
-rw-r--r--pcr/swig1/PKGBUILD29
-rw-r--r--pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch10
-rw-r--r--pcr/timekpr/PKGBUILD79
-rw-r--r--pcr/timekpr/timekpr.install24
-rw-r--r--pcr/timekpr/timekpr.service9
-rwxr-xr-xpcr/timekpr/timekprd.sh36
-rw-r--r--pcr/tokyotyrant/PKGBUILD33
-rw-r--r--pcr/tokyotyrant/tokyotyrant.conf21
-rw-r--r--pcr/tokyotyrant/tokyotyrant.rc41
-rw-r--r--pcr/trisquel-themes/PKGBUILD29
-rw-r--r--pcr/trytond/PKGBUILD31
-rw-r--r--pcr/trytond/trytond.install20
-rw-r--r--pcr/trytond/trytond.service10
-rw-r--r--pcr/uci/PKGBUILD42
-rw-r--r--pcr/uci/uci-0.8.0-lua5.1.patch31
-rw-r--r--pcr/wayland/PKGBUILD44
-rw-r--r--pcr/xonotic-git/PKGBUILD10
-rw-r--r--pcr/yabause-svn/PKGBUILD39
-rw-r--r--pcr/yabause/PKGBUILD26
-rw-r--r--pcr/yafaray-git/PKGBUILD130
190 files changed, 7592 insertions, 2163 deletions
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 <arch at lonewulf dot net>
+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/aqsis/PKGBUILD b/pcr/aqsis/PKGBUILD
new file mode 100644
index 000000000..706a0c042
--- /dev/null
+++ b/pcr/aqsis/PKGBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Former contributor: Gino Pezzin <pezzin@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=aqsis
+pkgver=1.8.2
+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
+
+ mkdir -p $srcdir/$pkgname-build
+ cd $srcdir/$pkgname-build
+
+ setarch $CARCH cmake "$srcdir"/$pkgname-$pkgver\
+ -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/$pkgname
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$pkgname-build
+ setarch $CARCH make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et:
+
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/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 <arch at lonewulf dot net>
+# Maintainer (Parabola): fauno <fauno@parabola.nu>
+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 <ndowens.aur at gmail dot com>
+# Maintainer: Thomas Weißschuh <thomas_weissschuh@lavabit.com>
+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/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] <niechift.dot.vex.at.gmail.dot.com>
-
-# 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 090-2 :
- Make sure to build bsnes purify with QT.
-
-2012-08-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 090-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Remove patch as filter/shader support has been removed.
-
-2012-04-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 088-1 :
- New upstream release.
-
-2012-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 087-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Update patch against the new source.
-
-2012-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 086-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Update patch against the new source.
-
-2012-01-02 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 085-1 :
- New upstream release.
-
-2011-12-28 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-3 :
- Enable custom CXXFLAGS by default.
- Fix build with QT 4.8.0.
-
-2011-11-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-2 :
- Update to reflect the silently updated source tarball.
-
-2011-11-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-1 :
- New upstream release.
- Fixed PKGBUILD changelog line to work with pacman 4.0 (thanks jpike).
-
-2011-10-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.082-1 :
- New upstream release.
-
-2011-08-12 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.081-1 :
- New upstream release.
-
-2011-06-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.080-1 :
- New upstream release.
-
- * gcc_4.6.0_build_fix.patch :
- Removed as it's no longer needed.
-
-2011-06-18 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.079-1 :
- New upstream release.
-
-2011-04-30 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.078-1 :
- New upstream release.
-
-2011-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.077-1 :
- New upstream release.
-
-2011-02-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.076-2 :
- Correct the sed expression that removes the lines that copies the
- cheats.xml file.
-
-2011-02-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.076-1 :
- New upstream release.
-
-2011-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.075-1 :
- Build and package snespurify.
-
-2011-01-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.074-1 :
- New upstream release.
- Switched to the phoenix ui as the qt port is now dead.
-
-2010-12-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.073-1 :
- New upstream release.
- snesreader/snesfilter removed.
-
-2010-10-23 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.072-1 :
- New upstream release.
-
-2010-10-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.071-1 :
- New upstream release.
-
-2010-09-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.070-1 :
- New upstream release.
-
-2010-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.069-1 :
- New upstream release.
-
-2010-09-05 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-3 :
- Added 'mesa' to makedepends to satisfy "GL/gl.h" dependency.
-
-2010-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-2 :
- Forgot to build the launcher.
-
-2010-08-21 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-1 :
- New upstream release.
-
- * gcc45_build_fix.patch:
- Removed as it's not needed anymore.
-
-2010-08-02 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.067-1 :
- New upstream release.
-
- * gcc45_build_fix.patch :
- Workaround a bug in GCC 4.5.x.
-
-2010-06-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.065-1 :
- New upstream release.
-
-2010-04-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.064-1 :
- New upstream release.
-
-2010-03-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.063-2 :
- New snesreader (snesreader_20100329.tar.bz2) that fixes libjma on 64-bit
- systems.
-
-2010-03-28 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.063-1 :
- New upstream release.
-
-2010-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.059-1 :
- New upstream release.
-
-2009-12-09 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.058-1 :
- New upstream release.
-
-2009-11-23 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.057-1 :
- New upstream release.
-
-2009-11-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.056-1 :
- New upstream release.
-
-2009-11-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.055-1 :
- New upstream release.
-
-2009-10-19 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.054-1 :
- New upstream release.
-
-2009-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.052-1 :
- New upstream release.
-
-2009-09-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.051-1 :
- New upstream release.
-
-2009-08-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.050-1 :
- New upstream release.
-
-2009-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.049-1 :
- New upstream release.
-
- * fix_black_lines.patch :
- Removed as it's not needed anymore.
-
-2009-07-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.048-1 :
- New upstream release.
-
-2009-06-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.047-2 :
- Added 'pkgconfig' to makedepends.
-
-2009-06-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.047-1 :
- New upstream release.
-
-2009-05-10 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.046-1 :
- New upstream release.
- Moved 'libxtst' to optdepends.
- Updated the name of the license to be correct.
-
-2009-04-19 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.045-1 :
- New upstream release.
- Added 'libxtst' to the dependency list.
-
-2009-03-31 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.042-1 :
- New upstream release.
-
-2009-03-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.041-1 :
- New upstream release.
-
-2009-03-09 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.039-1 :
- New upstream release.
-
-2008-12-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.038-1 :
- New upstream release.
- New audio driver for PulseAudio is disabled.
-
-2008-10-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.037a-1 :
- New upstream release.
-
-2008-09-18 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.036-2 :
- Adapted to the ChangeLog.proto provided by Pacman.
- Added missing dependency 'inputproto' (thanks cr7).
-
-2008-09-16 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.036-1 :
- New upstream release.
-
-2008-08-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.034-1 :
- New upstream release.
-
-2008-07-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.033-1 :
- New upstream release.
-
-2008-06-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.032a-1 :
- New upstream release.
-
-2008-04-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.031-1 :
- New upstream release.
-
-2008-03-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.030-1 :
- New upstream release.
-
-2008-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.029-1 :
- New upstream release.
-
- * bsnes-icon.patch :
- Removed as it's not needed anymore.
-
-2008-02-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.028.01-1 :
- New upstream release.
-
-2008-02-04 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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_<SIZE>.png :
- Removed the extracted icons introduced in 0.023-3 as bsnes now ships
- with an icon.
-
-2007-10-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.025-1 :
- New upstream release.
- Correct the license array, the quotation marks shouldn't be where they
- were.
-
- * bsnes_<SIZE>.png :
- Decreased filesizes using OptiPNG/advpng (~25% total reduction).
-
-2007-10-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.024-1 :
- New upstream release.
-
-2007-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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_<SIZE>.png :
- Added icons for the .desktop-file (extracted from bsnes resources).
-
-2007-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.023-1 :
- New upstream release.
-
-2007-08-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.022-2 :
- Added 'nasm' to makedepens for 'i686' and moved 'yasm' to makedepends
- for 'x86_64' only.
-
-2007-08-04 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 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
-}
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 <coadde@adinet.com.uy>
+
+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 <unistd.h>\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/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 <mail@eworm.de>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: mickele
+# Contributor: marcus fritzsch <fritschy@googlemail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrières <aurelien@cwb.IO>
+
+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 <Inventor\/C\/basic.h>/i #include <Inventor/C/errors/debugerror.h>" 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/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 <dragonlord@aur.archlinux.org>
+# Contributor: Jason Pierce <`echo 'moc tod liamg ta nosaj tod ecreip' | rev`>
+# Contributor: Jeremy Cowgar <jeremy@cowgar.com>
+
+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/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 <chirantan.ekbote at gmail.com>
+# Contributor: Kringel
+# This PKGBUILD is a modified version of eigen 2.x in extra/eigen
+# Maintainer: Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+
+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/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/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 <coadde@lavabit.com>
+
+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 <ze.lara@adinet.com.uy> and Márcio Silva <coadde@adinet.com.uy>
+Idea by André Silva <andre.paulista@adinet.com.uy>
+
+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
--- /dev/null
+++ b/pcr/gimp-art/gimp-splash-artwork.png
Binary files 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/glproto-git/PKGBUILD b/pcr/glproto-git/PKGBUILD
deleted file mode 100644
index fed5caa70..000000000
--- a/pcr/glproto-git/PKGBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Alexander Baldeck <alexander@archlinux.org>
-# Maintainer: kfgz <kfgz at interia pl>
-# Contributor: Cilyan Olowen <gaknar at gmail dot com>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=glproto-git
-pkgver=20120905
-pkgrel=1
-pkgdesc='X11 OpenGL extension wire protocol'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://xorg.freedesktop.org/
-license=(
- custom
-)
-provides=(
- ${pkgname%-git}
- glproto=1.4.15
-)
-makedepends=(
- git
- 'xorg-util-macros>=1.2'
-)
-conflicts=(
- ${pkgname%-git}
-)
-
-_gitroot=git://git.freedesktop.org/git/xorg/proto/${pkgname%-git}
-_gitname=${pkgname%-git}
-
-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
- ./autogen.sh --prefix=/usr
- 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}
-}
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 <matthiaskrgr _strange_curverd_character_ freedroid D0T org>
+
+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
+}
diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD
new file mode 100644
index 000000000..c7db21793
--- /dev/null
+++ b/pcr/gnuhealth/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+pkgname=gnuhealth
+pkgver=1.8.0
+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=('2273870ccd77a24ac21b398d095a29b5')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python2 fixes
+ export PYTHON=python2
+
+ # 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/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 <fauno@kiwwwi.com.ar>
+#
+
+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
+}
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 <syntaxerrormmm(at)gmail.com>
+
+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/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 <alucryd at gmail dot com>
+
+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;
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 <alucryd at gmail dot com>
+
+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;
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 <tobias [at] tonstrom [dot] de>
+# Contributor: GraveDigger
+# Contributor: Gaetan Bisson <bisson@archlinux.org>
+
+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/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 <Bug2000@gmail.com>
+# Maintainer: Bug <Bug2000@gmail.com>
+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 '==> <pid file="/var/run/inspircd/inspircd.pid">'
+ 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
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 <donvla@users.sourceforge.net>
+# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
+# Contributor: Berkus <berkus@madfire.net>
+# Contributor: Daniele Paolella <danielepaolella@email.it>
+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/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
diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD
index 6da6f14bd..05dd756c0 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
@@ -28,6 +28,7 @@ license=(
depends=(
alsa-lib
bzip2
+ freetype2
gsm
lame
libpulse
@@ -53,46 +54,48 @@ 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/av{conv,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
@@ -100,15 +103,11 @@ 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
+ echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf
}
# vim:set ts=2 sw=2 et:
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 94b7dca85..000000000
--- a/pcr/libdrm-git/PKGBUILD
+++ /dev/null
@@ -1,106 +0,0 @@
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=libdrm-git
-pkgver=$(LC_ALL=C date -u +%Y%m%d)
-_pkgver=2.4.39
-pkgrel=1
-pkgdesc='Userspace interface to kernel DRM services'
-arch=(
- i686
- x86_64
- mips64el
-)
-license=(
- MIT
-)
-depends=(
- libpciaccess
- )
-makedepends=(
- cairo
- git
- valgrind
-)
-options=(
- !libtool
-)
-url=http://dri.freedesktop.org/
-provides=(
- ${pkgname%-git}=$_pkgver
- ${pkgname%-git}-nouveau1
-)
-conflicts=(
- ${pkgname%-git}
- ${pkgname%-git}-new
- ${pkgname%-git}-nouveau
- ${pkgname%-git}-nouveau1
- ${pkgname%-git}-old
-)
-replaces=(
- ${pkgname%-git}-new
- ${pkgname%-git}-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
-
- 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
-
- ./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
-}
-
-check() {
- cd $srcdir/$_gitname-build
- 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}
-}
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 <brunogola at gmail dot com>
+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/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')
diff --git a/pcr/libowfat/PKGBUILD b/pcr/libowfat/PKGBUILD
new file mode 100644
index 000000000..a51638450
--- /dev/null
+++ b/pcr/libowfat/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributors:
+# Alexander Ulrich <a.ulrich@student.uni-tuebingen.de>
+# Mildred <silkensedai@online.fr>
+# henning mueller <henning@orgizm.net>
+
+pkgname=libowfat
+pkgver=0.29
+pkgrel=3
+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/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 <syllaur@gmail.com>
+# 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/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
+}
+
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 <bkgaley at gmail dot com>
+# Contributor: Pietro Zambelli <peter.zamb at gmail dot com>
+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/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 <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+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/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 <dbb.1@liqd.org>
+
+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<dir>)
+ 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
+
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 <andrea@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Adrià Arrufat <swiftscythe@gmail.com>
+
+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 <yann.diorcet@belledonne-communications.com>
+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;
+ */
diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD
deleted file mode 100644
index 7e9a5323b..000000000
--- a/pcr/mednafen-wip/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Maintainer: Hans-Kristian Arntzen <maister@archlinux.us>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Contributor: kagan <juanynie@mi.madritel.es>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-
-pkgbase=mednafen
-pkgname=mednafen-wip
-pkgver=0.9.27
-_pkgver=441
-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='http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
-sha1sums=5be7597bb8fc9c47ae434d4a0aab16e13230b916
-
-build() {
- cd $srcdir/$pkgbase
- setarch $CARCH ./configure --prefix=/usr
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgbase
- setarch $CARCH make DESTDIR=$pkgdir install
-}
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 <coadde@lavabit.com>
-
-_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
-}
diff --git a/pcr/mini18n-git/PKGBUILD b/pcr/mini18n-git/PKGBUILD
new file mode 100644
index 000000000..c55db7b7d
--- /dev/null
+++ b/pcr/mini18n-git/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Gustavo alvarez <sl1pkn07@gmail.com>
+
+pkgname=mini18n-git
+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')
+url="http://wiki.yabause.org/index.php5?title=Mini18n"
+license=('GPL')
+makedepends=('git' 'cmake')
+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
+}
+
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 <fauno@kiwwwi.com.ar>
+# Based on monkeysphere-git from
+# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
+# $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/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 <pdgiddie at gmail dot com>
+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:
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 <stefan-husmann@t-online.de
+# Contributor: Cristian Maureira <saint [at] archlinux.cl>
+# Contributor: Dr.Egg <rwhite @ archlinux . us>
+
+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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+<mime-type type="application/x-musescore">
+</mime-type>
+</mime-info>
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)
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 <mail at wodar dot de>
+# Contributor: William Udovich <nerdzrule7 at earthlink dot net>
+# Contributor: Farhan Yousaf <farhany at xaviya dot com>
+
+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/nexuiz-data/PKGBUILD b/pcr/nexuiz-data/PKGBUILD
index edd338097..f6d3ba62c 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=3
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 3b59cd617..1e3fdfbeb 100644
--- a/pcr/nexuiz/PKGBUILD
+++ b/pcr/nexuiz/PKGBUILD
@@ -8,10 +8,10 @@
pkgname=nexuiz
pkgver=2.5.2
_zipver=252
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
-pkgdesc="a free software first person shooter"
-url="http://www.nexuiz.com/"
+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')
makedepends=('mesa')
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 <sillywilly@gmail.com>
+# Maintainer: Claudio Pisa <clauz@ninux.org>
+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/openjdk6/PKGBUILD b/pcr/openjdk6/PKGBUILD
new file mode 100644
index 000000000..03cdba0aa
--- /dev/null
+++ b/pcr/openjdk6/PKGBUILD
@@ -0,0 +1,132 @@
+# $Id: PKGBUILD 178352 2013-02-20 17:00:42Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+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.1
+url='http://icedtea.classpath.org'
+arch=('i686' 'x86_64')
+license=('custom')
+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
+ 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
+ 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
+ jdk6-jaf-b20.zip)
+sha256sums=('db9dc14fa537fb22616fcd9e5b80758aa7baa66e0b6f8adfe3d5e80414574b4c'
+ 'a6cbeccc4f25f72a940b9ac0c3e05ece50edc16c1c13f7a1a82ee895563930e3'
+ '044c3877b15940ff04f8aa817337f2878a00cc89674854557f1a02f15b1802a0'
+ '490f696218c1fed9cb180680af883fe309b414fec232e9cec19645e12ad0b43c'
+ '229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3'
+ '78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012'
+ 'f5f59e121f7645ebc449bb13569fd924cbab3194e41db901f4fbe9dbd45720c5'
+ '7b2db65bfb9d5014e1522178d65cabf05dfa85e0926cde5648b5a338db376479'
+ '9ad943ceb3dbcdf45d72974fc3667886a7ed65c69ab9abc17be5412827551a7f'
+ '9c3c55c30729ec44fab14c3f3f841c273730c7467d8908a72f018bc9e9f65bd9'
+ 'eb4c7f4cf50f5f74b683857f707bd21ec3847267e2e5e3173f42a6910a024f97'
+ '26e2cd5a6034f08a685129c9412f487b9931fb0d556f1ccceab17bdb75a372cd'
+ '0c2d9116d6e550021994d6713a93621a9df685d2182996be3249ad812712b007'
+ '3e20fdcd17d4adee1cb2ddc3b15a39fe56b9a7837067487eedd40733adfea9c6'
+ '77bafb45d67cbdac59ae27b0cc85e38d849dcf5c4c4005f5b28b33f4f5b734ab')
+
+build() {
+
+ 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/
+ 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 patches/disable-openjdk-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=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 \
+ --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() {
+ 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
+
+ # 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
+}
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 <javadoc> task for javac
+ javadoc.jls3.url=http://java.sun.com/docs/books/jls/
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/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">
+ <compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
+ <compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/>
+ <src refid="src.dir.id"/>
+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">
+ <compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
+ <compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/>
+ <src refid="src.dir.id"/>
+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}">
++ <compilerarg line="-bootclasspath @{classes.dir}:${boot.java.home}/jre/lib/rt.jar"/>
+ <compilerarg value="-J-Xbootclasspath/p:@{javac.bootclasspath}"/>
+ <compilerarg line="${javac.version.opt}"/>
+ <compilerarg line="-Xlint"/>
+@@ -539,6 +540,7 @@
+ target="@{javac.target}"
+ debug="${javac.debug}"
+ debuglevel="${javac.debuglevel}">
++ <compilerarg line="-bootclasspath @{classes.dir}:${boot.java.home}/jre/lib/rt.jar"/>
+ <compilerarg value="-J-Xbootclasspath/p:@{javac.bootclasspath}"/>
+ <compilerarg value="-Xbootclasspath/p:@{classes.dir}"/>
+ <compilerarg line="${javac.no.jdk.warnings}"/>
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
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 <jan.fader@web.de>
+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
+
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 <pierre@archlinux.de>
+# Maintainer: Jonas Heinrich <onny@project-insanity.org>
+
+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 <erdgeist@erdgeist.org>
+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 <<EOM
+
+ Please be aware this package is built without accesslist support. Any
+ torrent announced to it will be tracked.
+
+ If you want this features you'll have to rebuild this package. There're
+ instructions on the PKGBUILD.
+
+ For more info check: http://erdgeist.org/arts/software/opentracker/
+
+EOM
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/pcr/opentracker/opentracker.rc.d b/pcr/opentracker/opentracker.rc.d
new file mode 100644
index 000000000..b1aa34c14
--- /dev/null
+++ b/pcr/opentracker/opentracker.rc.d
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+# general config
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/opentracker`
+
+case "$1" in
+ start)
+ stat_busy "Starting opentracker Daemon"
+ [ -z "$PID" ] && su nobody -s /bin/sh -c "/usr/bin/opentracker -f /etc/opentracker/config&"
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon opentracker
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping opentracker Daemon"
+ [ ! -z "$PID" ] && kill $PID &>/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/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD
new file mode 100644
index 000000000..74b1c77d9
--- /dev/null
+++ b/pcr/pandoc/PKGBUILD
@@ -0,0 +1,92 @@
+# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
+# Based on haskell-pandoc
+
+# Run `makepkg -sp SRCBUILD` if you want to update the source tarball
+
+pkgname=pandoc
+pkgver=1.10.1
+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 !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')
+md5sums=('bca5fa27ac593f24d18cd434289d4673'
+ '87a6a5fd1abfbe3199c5ff42742ff5f1'
+ '0d5b6d7adf6fdcea52dcbb7b62368b19')
+
+# PKGBUILD functions
+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"
+
+ case $_hkpkg in
+ $pkgname-$pkgver)
+ HOME=${srcdir}/${pkgname}-${pkgver} \
+ cabal configure --flags='-library blaze_html_0_5' \
+ --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 <BUILDORDER
+
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}-${pkgver}
+
+ 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..."
+ find ${pkgdir} -iname lib -print0 | xargs -0 rm -rvf
+
+# EC is unfree and makes Parabola TeXLive cry
+# besides, it's unneeded
+ 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 {} \;
+
+ msg2 "Installing licenses"
+ install -d ${pkgdir}/usr/share
+ cp -rv ${srcdir}/build/usr/share/doc ${pkgdir}/usr/share/
+}
diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD
new file mode 100644
index 000000000..4c7f5de8d
--- /dev/null
+++ b/pcr/pandoc/SRCBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
+# Based on haskell-pandoc
+
+pkgname=pandoc
+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
+pkgrel=1
+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 blaze-html-${_blaze_html} ${pkgname}-${pkgver}
+
+ msg2 "Getting the dependency build order"
+# Ignore the cabal messages
+ HOME=${srcdir}/${pkgname}-${pkgver} \
+ cabal install --flags="blaze_html_0_5" --dry-run file-embed ${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/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 <andrea.rossato@unitn.it>
+ * fix issue #28
+ add support for generating links to the DOI database.
+Thu Nov 8 21:05:02 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * fix issue #35
+Thu Nov 8 18:24:16 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * a simple script for creating tests
+Thu Nov 8 18:21:56 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * fix a bug in convertQuoted which was producing stack overflows with long strings
+Thu Nov 8 17:27:38 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * fix editJsonInput in order to read the native JSON bibliographic data format
+Thu Nov 8 14:03:26 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * fix issue #37
+Fri Oct 26 18:45:09 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ * bump version number
+Fri Oct 26 13:53:20 ART 2012 Andrea Rossato <andrea.rossato@unitn.it>
+ 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:
++
++ <a href="http://dx.doi.org/10.1038/171737a0">10.1038/171737a0</a>
++
+ ### 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
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')
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 <grumiche at integrityit dot com dot br>
+# Contributor: nozog
+# Contributor: davidhjelm
+# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
+# 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/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 <alexanderr at gmx dot com>
-
- * 6.14.1-1 :
- new upstream release.
- added renpy.diff.
-
-2012-22-07 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-3 :
- fixed build with latest ffmpeg at cost of sound.
-
-2012-26-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-2 :
- moved python-pygame from makedepends to depends.
-
-2012-20-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-1 :
- new upstream release.
-
-2012-07-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.11-1 :
- new upstream release.
- moved python-pygame dependency form renpy to python-renpy.
-
-2011-22-03 AlexanderR <alexanderr at gmx dot com>
-
- * 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 <rvacheva at nxt dot ru>
-# Contributor: zhn <zhangn1985 AT gmail com>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-
-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 = &params;
- 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;
diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD
new file mode 100644
index 000000000..ae282a2d8
--- /dev/null
+++ b/pcr/python2-polib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=1.0.0
+pkgrel=1
+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=('62a7662c3fd3eddcabba61107b6baae3')
+
+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-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 <mail@akurei.me> 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')
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 <florian.walch@gmx.at>
+# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net>
+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/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() {
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 <vmlinuz386@yahoo.com.ar>
+# 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/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 <mschu.dev at gmail>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+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
+}
+
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 <sven.wick@gmx.de> 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 <dev@fedux.org>
+# Contributor: Sven Wick <sven.wick@gmx.de>
+#
+# 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:
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 <rvacheva at nxt dot ru>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
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"
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 <tdy@archlinux.info>
+# Contributor: Ben Ward <benjamin.ward@bathspa.org>
+
+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:
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 <fauno@kiwwwi.com.ar>
+# Contributor: Hilton Medeiros <medeiros.hilton at gmail dot com>
+
+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 <cxflann.h> by <cv.h>
+ 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 <cxflann.h>
++#include <cv.h>
+
+ #include <iostream>
+ #include <fstream>
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 <andre.paulista@adinet.com.uy>
+
+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/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 <antkoul at gmail dot com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+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
+}
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 <schnouki@schnouki.net>
+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/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 <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+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/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 <lantald at Gmx dot com>
+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:
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 <clement@archivel.fr>
+# Contributor: Sonny Piers <sonny.piers@gmail.com>
+# Contributor: Tim Besard <tim.besard@gmail.com>
+# Contributor: miniature <miniature@archlinux.us>
+
+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 <unistd.h>
+ #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 <sys/param.h>
++#include <unistd.h>
+ #ifdef BSD
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+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 <typename octet_iterator>
++ 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<uint8_t>(cp);
++ else if (cp < 0x800) { // two octets
++ *(result++) = static_cast<uint8_t>((cp >> 6) | 0xc0);
++ *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
++ }
++ else if (cp < 0x10000) { // three octets
++ *(result++) = static_cast<uint8_t>((cp >> 12) | 0xe0);
++ *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80);
++ *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
++ }
++ else if (cp <= internal::CODE_POINT_MAX) { // four octets
++ *(result++) = static_cast<uint8_t>((cp >> 18) | 0xf0);
++ *(result++) = static_cast<uint8_t>(((cp >> 12)& 0x3f) | 0x80);
++ *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80);
++ *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
++ }
++ else
++ throw invalid_code_point(cp);
++
++ return result;
++ }
++
+ template <typename octet_iterator, typename output_iterator>
+ output_iterator replace_invalid(octet_iterator start, octet_iterator end, output_iterator out, uint32_t replacement)
+ {
+@@ -104,35 +133,6 @@ namespace utf8
+ }
+
+ template <typename octet_iterator>
+- 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<uint8_t>(cp);
+- else if (cp < 0x800) { // two octets
+- *(result++) = static_cast<uint8_t>((cp >> 6) | 0xc0);
+- *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
+- }
+- else if (cp < 0x10000) { // three octets
+- *(result++) = static_cast<uint8_t>((cp >> 12) | 0xe0);
+- *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80);
+- *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
+- }
+- else if (cp <= internal::CODE_POINT_MAX) { // four octets
+- *(result++) = static_cast<uint8_t>((cp >> 18) | 0xf0);
+- *(result++) = static_cast<uint8_t>(((cp >> 12)& 0x3f) | 0x80);
+- *(result++) = static_cast<uint8_t>(((cp >> 6) & 0x3f) | 0x80);
+- *(result++) = static_cast<uint8_t>((cp & 0x3f) | 0x80);
+- }
+- else
+- throw invalid_code_point(cp);
+-
+- return result;
+- }
+-
+- template <typename octet_iterator>
+ 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
+
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 <jaham at gmx dot net>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+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/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 <archPackage@spider007.net>
+# Contributor: Spider.007 <archPackage@spider007.net>
+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
+}
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 <develniks at gmail dot com>
+# Contributor: danilo <gezuru at gmail dot com>
+# Contributor: Jason Begley <jayray at digitalgoat dot com>
+# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
+# Contributor: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
+# Contributor: 458italia <svenskaparadox [at] gmail dot com>
+# Maintainer: dkorzhevin <dkorzhevin at gmail dot com>
+
+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/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 <medeiros.hilton at gmail dot com>
+# Contributor: Jason Chu <jason@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+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"
+}
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..4d2af3bfd
--- /dev/null
+++ b/pcr/timekpr/PKGBUILD
@@ -0,0 +1,79 @@
+# Contributor: SanskritFritz (gmail)
+
+pkgname=timekpr
+pkgver=0.3.2
+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
+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')
+
+
+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
+
+ install -Dm0644 "${srcdir}/timekpr.service" "${pkgdir}/usr/lib/systemd/system/timekpr.service"
+}
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/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
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/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 <angvp@archlinux.org>
+# Contributor: Paul Sadauskas <psadauskas@gmail.com>
+
+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
diff --git a/pcr/trisquel-themes/PKGBUILD b/pcr/trisquel-themes/PKGBUILD
new file mode 100644
index 000000000..69aad1870
--- /dev/null
+++ b/pcr/trisquel-themes/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+
+pkgname=trisquel-themes
+pkgver=6.0
+_miniver="5.99-3"
+pkgrel=2
+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)
+md5sums=('8d81a535adade0e52a0c584c07f87a2a'
+ 'e448057b6e2d933916511c2c3d3585e1')
+
+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
+}
diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD
new file mode 100644
index 000000000..b270df368
--- /dev/null
+++ b/pcr/trytond/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Florian Walch <florian.walch@gmx.at>
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond
+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' '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'
+ '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.service')
+md5sums=('0dd81769fc18fe2d20e83de4f17cb10d'
+ '768e68c01cb5913e36ea89c67fc98038'
+ '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.service $pkgdir/usr/lib/systemd/system/trytond.service
+}
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.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/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 <fauno@kiwwwi.com.ar>
+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
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 <coadde@lavabit.com>
-
-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
-}
diff --git a/pcr/xonotic-git/PKGBUILD b/pcr/xonotic-git/PKGBUILD
index 2a032cd4a..0a2ec7dca 100644
--- a/pcr/xonotic-git/PKGBUILD
+++ b/pcr/xonotic-git/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Alexander Suhoverhov <cy at ngs dot ru>
pkgname=xonotic-git
-pkgver=20120718
+pkgver=20130214
pkgrel=1
pkgdesc="A free, fast-paced crossplatform first-person shooter"
arch=('i686' 'x86_64')
@@ -22,17 +22,17 @@ 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'
)
-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
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"
-}
diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD
deleted file mode 100644
index 255dee266..000000000
--- a/pcr/yabause/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Anton Shestakov <engored*ya.ru>
-# Contributor: Tiago Camargo <tcamargo@gmail.com>
-# Contributor: robb_force <robb_force@holybuffalo.net>
-pkgname=yabause
-pkgver=0.9.11.1
-pkgrel=1
-pkgdesc='A Sega Saturn emulator.'
-url='http://yabause.org/'
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('gtkglext' 'sdl' 'freeglut' 'glu')
-makedepends=('mesa')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('86c728fe3efda655a28c645714e4b8f4')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./autogen.sh
- ./configure --prefix=/usr LIBS="-lm"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD
new file mode 100644
index 000000000..22465488c
--- /dev/null
+++ b/pcr/yafaray-git/PKGBUILD
@@ -0,0 +1,130 @@
+# $Id$
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+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
+ 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....'
+
+ # 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
+ cd $srcdir/$_gitname-build
+
+ setarch $CARCH cmake -DCMAKE_INSTALL_PREFIX=/usr\
+ -DYAF_PY_VERSION=$_pyver\
+ -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver\
+ ../$_gitname
+
+ #-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
+}
+
+package_yafaray-git() {
+ cd $srcdir/$_gitname-build
+ setarch $CARCH make DESTDIR=$pkgdir install
+}
+
+package_yafaray-blender-exporter-git() {
+ pkgver=$pkgver.v$_bldver
+ pkgdesc='YafaRay exporter for Blender'
+ arch=any
+ depends=(
+ ${pkgname[0]}=$pkgver
+ "blender>=$_bldepoch:$_bldver"
+ )
+ optdepends=""
+ provides=(
+ ${pkgname[1]%-$_pkgflag}=$_pkgver.v$_bldver
+ )
+ conflicts=${pkgname[1]%-$_pkgflag}
+
+ cd $srcdir/$_gitnameexport
+
+ a=/usr/lib
+ b=usr/share/blender/$_bldver/scripts/addons/$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: