summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ahcpd/PKGBUILD27
-rw-r--r--pcr/aqsis/PKGBUILD33
-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/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/hexchat-libre/PKGBUILD5
-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/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/nexuiz-data/PKGBUILD4
-rw-r--r--pcr/nexuiz/PKGBUILD6
-rw-r--r--pcr/qtoctave/PKGBUILD31
-rw-r--r--pcr/qtoctave/qtoctave.install14
-rw-r--r--pcr/skanlite/PKGBUILD30
-rw-r--r--pcr/spacenavd/PKGBUILD30
-rw-r--r--pcr/spacenavd/spacenav.service10
-rw-r--r--pcr/spacenavd/spacenavd38
-rw-r--r--pcr/spnavcfg/PKGBUILD21
-rw-r--r--pcr/swig1/PKGBUILD29
-rw-r--r--pcr/trisquel-themes/PKGBUILD29
-rw-r--r--pcr/yabause-git/PKGBUILD4
-rw-r--r--pcr/yabause/PKGBUILD4
-rw-r--r--pcr/yafaray-git/PKGBUILD78
-rw-r--r--pcr/yafaray-git/gcc47.patch10
50 files changed, 1830 insertions, 11 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..5a772503f
--- /dev/null
+++ b/pcr/aqsis/PKGBUILD
@@ -0,0 +1,33 @@
+# 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=1
+pkgdesc="A high quality, photorealistic, 3D rendering solution"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.aqsis.org"
+license=('GPL2')
+optdepends=('qt: graphical interface' 'libgl: ptview')
+depends=('boost-libs' 'openexr' 'hicolor-icon-theme' 'shared-mime-info' 'desktop-file-utils')
+makedepends=('cmake' 'boost' 'openexr' 'libpng' 'qt' 'mesa')
+options=('!libtool')
+install=aqsis.install
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-source/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('399967e99f12cfbd1a7385c4e1d39c3b')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ mkdir -p "$srcdir"/$pkgname-build
+ cd "$srcdir"/$pkgname-build
+
+ cmake "$srcdir"/$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc/aqsis
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-build
+ make DESTDIR="$pkgdir" install
+}
diff --git a/pcr/aqsis/aqsis.install b/pcr/aqsis/aqsis.install
new file mode 100644
index 000000000..b2086e07b
--- /dev/null
+++ b/pcr/aqsis/aqsis.install
@@ -0,0 +1,14 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor/
+ update-mime-database usr/share/mime > /dev/null
+ update-desktop-database -q
+}
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/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/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/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD
index 26c353fb9..489fb0c91 100644
--- a/pcr/hexchat-libre/PKGBUILD
+++ b/pcr/hexchat-libre/PKGBUILD
@@ -4,8 +4,8 @@
_pkgname=hexchat
pkgname=hexchat-libre
pkgver=2.9.4
-pkgrel=2
-pkgdesc='A GTK+ based IRC client without non-free browser reference'
+pkgrel=2.1
+pkgdesc='A GTK+ based IRC client without non-free browser reference (Parabola rebranded)'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.hexchat.org/'
license=('GPL')
@@ -29,6 +29,7 @@ md5sums=('5609cac7200fc91be57196501aaf07fa'
build() {
cd "$srcdir/$_pkgname-$pkgver"
+ sed -i -e 's#ArchLinux#Parabola GNU/Linux-libre#' plugins/sysinfo/parse.c
patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch"
patch -p1 -i "${srcdir}/no-firefox.patch"
mkdir m4
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/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/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/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/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/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/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/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/trisquel-themes/PKGBUILD b/pcr/trisquel-themes/PKGBUILD
new file mode 100644
index 000000000..f65f5c92b
--- /dev/null
+++ b/pcr/trisquel-themes/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+
+pkgname=trisquel-themes
+pkgver=6.0
+_miniver="5.99-2"
+pkgrel=1
+pkgdesc="Themes from Trisquel, including GTK2, Metacity, XFWM and Openbox themes"
+arch=('any')
+url=http://trisquel.info
+license=('GPL')
+depends=()
+optdepends=('gtk-engine-equinox: for Trisquel GTK2 theme')
+source=(http://archive.trisquel.info/trisquel/pool/main/t/trisquel-gtk-theme/trisquel-gtk-theme_${pkgver}.tar.gz
+http://archive.trisquel.info/trisquel/pool/main/t/trisquel-mini-data/trisquel-mini-data_${_miniver}.tar.gz)
+
+build() {
+ :
+}
+
+package() {
+ install -d ${pkgdir}/usr/share/themes
+
+ for trisquelsrc in trisquel-gtk-theme/data trisquel-mini-data; do
+ cp -R ${srcdir}/${trisquelsrc}/usr/share/themes/* \
+ ${pkgdir}/usr/share/themes/
+ done
+}
+md5sums=('8d81a535adade0e52a0c584c07f87a2a'
+ 'dd222c321374692f57e21c47aa70d402')
diff --git a/pcr/yabause-git/PKGBUILD b/pcr/yabause-git/PKGBUILD
index d2b351b36..6de78f4eb 100644
--- a/pcr/yabause-git/PKGBUILD
+++ b/pcr/yabause-git/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=yabause-git
-pkgver=20130213
+pkgver=20130301
pkgrel=1
pkgdesc="A Sega Saturn emulator (GIT version)"
arch=('x86_64' 'i686')
@@ -15,7 +15,7 @@ makedepends=('git' 'cmake' 'mesa' 'glu')
#_port=gtk
_port=qt
-[ "${_port}" = "qt" ] && depends+=('qt')
+[ "${_port}" = "qt" ] && depends+=('qt4')
[ "${_port}" = "gtk" ] && depends+=('gtkglext')
_gitroot="git://github.com/Guillaumito/yabause.git"
diff --git a/pcr/yabause/PKGBUILD b/pcr/yabause/PKGBUILD
index 0b80f72f9..bf5aca5f3 100644
--- a/pcr/yabause/PKGBUILD
+++ b/pcr/yabause/PKGBUILD
@@ -5,13 +5,13 @@
# Contributor: robb_force <robb_force@holybuffalo.net>
pkgname=yabause
pkgver=0.9.12
-pkgrel=1
+pkgrel=2
pkgdesc='A Sega Saturn emulator.'
url='http://yabause.org/'
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('cmake' 'mesa' 'glu')
-depends=('sdl' 'qt' 'openal' 'freeglut')
+depends=('sdl' 'qt4' 'openal' 'freeglut')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('c7876c04489f8a1b59b3166598084cb8')
diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD
new file mode 100644
index 000000000..0c5d4f6e4
--- /dev/null
+++ b/pcr/yafaray-git/PKGBUILD
@@ -0,0 +1,78 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
+pkgname=yafaray-git
+_blendver=2.62
+pkgver=20120420
+pkgrel=1
+pkgdesc="A libre software raytracing engine"
+arch=('i686' 'x86_64')
+url="http://www.yafaray.org/"
+license=('LGPL2.1')
+depends=('libxml2' 'openexr' 'libjpeg')
+optdepends=('qt: QT GUI' 'python: Python bindings, Blender exporter')
+makedepends=('cmake' 'git' 'qt' 'swig' 'python')
+provides=('yafaray')
+conflicts=('yafaray')
+source=('gcc47.patch')
+md5sums=('d99eb7db30885549687a8f7a775a582d')
+
+_gitroot=git://github.com/YafaRay/Core.git
+_gitname=yafaray
+_gitrootexport=git://github.com/YafaRay/Blender-2.5-Exporter.git
+_gitnameexport=exporter
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ # core
+ if [[ -d "$_gitname" ]]; then
+ cd "$_gitname" && git pull origin
+ cd ..
+ msg "The local files are updated."
+ else
+ git clone "$_gitroot" "$_gitname"
+ fi
+ # exporter
+ if [[ -d "$_gitnameexport" ]]; then
+ cd "$_gitnameexport" && git pull origin
+ cd ..
+ msg "The local files are updated."
+ else
+ git clone "$_gitrootexport" "$_gitnameexport"
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting build..."
+
+ if [ -e "$srcdir"/$_gitname-build ]; then
+ rm -rf "$srcdir"/$_gitname-build
+ fi
+ mkdir "$srcdir/$_gitname-build"
+
+ patch -Np0 -i "$srcdir/gcc47.patch"
+
+ cd "$srcdir/$_gitname-build"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DYAF_PY_VERSION=3.2 \
+ -DYAF_BINDINGS_PY_DIR=/usr/lib/python3.2 \
+ "../$_gitname"
+ make
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ make DESTDIR="$pkgdir/" install
+
+ # install exporter
+ cd "$srcdir/$_gitnameexport"
+ git checkout-index -a -f --prefix="$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/"
+ # create symlinks to make exporter fully work
+ install -d -m755 "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin"
+ ln -sf "/usr/lib/libyafaraycore.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafaraycore.so"
+ ln -sf "/usr/lib/libyafarayplugin.so" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/libyafarayplugin.so"
+ ln -sf "/usr/lib/yafaray" "$pkgdir/usr/share/blender/$_blendver/scripts/addons/yafaray/bin/plugins"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/yafaray-git/gcc47.patch b/pcr/yafaray-git/gcc47.patch
new file mode 100644
index 000000000..75775498b
--- /dev/null
+++ b/pcr/yafaray-git/gcc47.patch
@@ -0,0 +1,10 @@
+--- yafaray.orig/src/yafraycore/scene.cc 2012-04-18 00:03:16.508415920 -0300
++++ yafaray/src/yafraycore/scene.cc 2012-04-18 00:29:59.090117108 -0300
+@@ -39,6 +39,7 @@
+ #include <iostream>
+ #include <limits>
+ #include <sstream>
++#include <unistd.h>
+
+ __BEGIN_YAFRAY
+