summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-31 01:32:52 -0800
committerroot <root@rshg054.dnsready.net>2012-12-31 01:32:52 -0800
commitf503701b04bfc3fbec13acce2abfa9e8df56d2c0 (patch)
tree33bd1091aa34d345417508caf21775abea68437c
parent0af0753417e7e506da08650bda80804d0b50e660 (diff)
Mon Dec 31 01:32:43 PST 2012
-rw-r--r--community/aria2/PKGBUILD6
-rw-r--r--community/awesome/PKGBUILD24
-rw-r--r--community/gambas3/PKGBUILD9
-rw-r--r--community/gambas3/gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch45
-rw-r--r--community/ldc/PKGBUILD15
-rw-r--r--community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch25
-rw-r--r--community/multipath-tools/PKGBUILD14
-rw-r--r--extra/llvm/PKGBUILD38
-rw-r--r--extra/llvm/enable-lto.patch6
-rw-r--r--extra/opengtl/PKGBUILD36
-rw-r--r--extra/opengtl/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch38
-rw-r--r--pcr/chm2pdf/PKGBUILD22
-rw-r--r--pcr/emacs-newlisp/PKGBUILD24
-rw-r--r--pcr/emacs-newlisp/emacs-newlisp.install26
-rw-r--r--pcr/newlisp/PKGBUILD26
-rw-r--r--pcr/newlisp/newlisp.install20
-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/renpy/ChangeLog30
-rw-r--r--pcr/renpy/PKGBUILD57
-rw-r--r--pcr/renpy/python2.diff8
-rw-r--r--pcr/renpy/renpy-launcher.sh4
-rw-r--r--pcr/renpy/renpy.csh1
-rw-r--r--pcr/renpy/renpy.desktop12
-rw-r--r--pcr/renpy/renpy.install21
-rw-r--r--pcr/renpy/renpy.sh1
28 files changed, 552 insertions, 57 deletions
diff --git a/community/aria2/PKGBUILD b/community/aria2/PKGBUILD
index d2db209b0..3d992c031 100644
--- a/community/aria2/PKGBUILD
+++ b/community/aria2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 80774 2012-12-03 15:26:20Z bpiotrowski $
+# $Id: PKGBUILD 81793 2012-12-30 11:33:11Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Angel Velasquez <angvp@archlinux.org>
@@ -6,7 +6,7 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=aria2
-pkgver=1.16.0
+pkgver=1.16.1
pkgrel=1
pkgdesc='Download utility that supports HTTP(S), FTP, BitTorrent, and Metalink'
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ license=('GPL')
depends=('gnutls' 'libxml2' 'sqlite' 'c-ares' 'ca-certificates')
checkdepends=('cppunit')
source=(http://downloads.sourceforge.net/aria2/aria2-${pkgver}.tar.bz2)
-md5sums=('0a8e1dbfe1725a02de8271589d622739')
+md5sums=('ad7e0575ce4a480eb54030e1d348e076')
build() {
cd $pkgname-$pkgver
diff --git a/community/awesome/PKGBUILD b/community/awesome/PKGBUILD
index 873b1483d..a2d473592 100644
--- a/community/awesome/PKGBUILD
+++ b/community/awesome/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 81099 2012-12-12 00:47:25Z eric $
+# $Id: PKGBUILD 81796 2012-12-30 13:27:20Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: xduugu
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Vesa Kaihlavirta
pkgname=awesome
-pkgver=3.4.13
-pkgrel=2
+pkgver=3.5
+pkgrel=1
pkgdesc='Highly configurable framework window manager'
arch=('i686' 'x86_64')
url='http://awesome.naquadah.org/'
@@ -14,10 +14,12 @@ license=('GPL2')
depends=(
'cairo'
'dbus'
+ 'gdk-pixbuf2'
'imlib2'
- 'libev'
+ 'lgi'
+ 'libxcursor'
'libxdg-basedir'
- 'lua51'
+ 'lua'
'pango'
'startup-notification'
'xcb-util-image'
@@ -30,9 +32,8 @@ makedepends=(
'cmake'
'docbook-xsl'
'doxygen'
- 'gperf'
'imagemagick'
- 'lua51-doc'
+ 'ldoc'
'xmlto'
)
optdepends=(
@@ -44,12 +45,17 @@ optdepends=(
provides=('notification-daemon')
source=("$url/download/$pkgname-$pkgver.tar.xz"
"$pkgname.desktop")
-md5sums=('8449fde51c08ca69fe4c5bb831b3c618'
+md5sums=('ce998f19c80bd98f8d119a91f53526df'
'0fdbeec43d211c6750041d7e37611a6a')
build() {
cd $pkgname-$pkgver
- make CMAKE_ARGS=' -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=RELEASE'
+ cmake \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONFDIR=/etc \
+ -DLUA_LIBRARY=/usr/lib/liblua.so.5.2
+ make
}
package() {
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD
index b5aaec5e6..b6dbc39b9 100644
--- a/community/gambas3/PKGBUILD
+++ b/community/gambas3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 80351 2012-11-20 13:26:38Z lcarlier $
+# $Id: PKGBUILD 81800 2012-12-30 15:21:02Z foutrelis $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor : sebikul <sebikul@gmail.com>
@@ -15,7 +15,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba
'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc'
'gambas3-gb-xml-xslt' 'gambas3-gb-web')
pkgver=3.3.4
-pkgrel=1.1
+pkgrel=2
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
url="http://gambas.sourceforge.net/"
@@ -30,14 +30,19 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils
'gmime' 'glu')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2"
+ 'gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch'
'gambas3-script.install' 'gambas3-runtime.install')
md5sums=('ec3971de80901737dcc614059f441848'
+ '85b6b02bccd022bf0879fcbf21e83567'
'b284be39d147ec799f1116a6abc068b4'
'6d9e080b66443e7246387b1716d24e31')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
+ # Fix build with LLVM 3.2
+ patch -Np1 -i ${srcdir}/gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch
+
./reconf-all
./configure --prefix=/usr -C
diff --git a/community/gambas3/gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch b/community/gambas3/gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch
new file mode 100644
index 000000000..61224b9b0
--- /dev/null
+++ b/community/gambas3/gambas3-3.3.4-fix-ftbfs-with-llvm-3.2.patch
@@ -0,0 +1,45 @@
+diff -upr gambas3-3.3.4.orig/gb.jit/src/jit_codegen.cpp gambas3-3.3.4/gb.jit/src/jit_codegen.cpp
+--- gambas3-3.3.4.orig/gb.jit/src/jit_codegen.cpp 2012-09-25 17:04:41.000000000 +0300
++++ gambas3-3.3.4/gb.jit/src/jit_codegen.cpp 2012-12-25 03:55:54.000000000 +0200
+@@ -3614,7 +3614,7 @@ void TryExpression::codegen(){
+ create_gep(temp_errcontext1, TARGET_BITS, 0, TARGET_BITS, 0));
+
+ llvm::Function* f = llvm::cast<llvm::Function>(get_global_function(_setjmp, 'i', "p"));
+- f->addFnAttr(llvm::Attribute::ReturnsTwice);
++ f->addFnAttr(llvm::Attributes::ReturnsTwice);
+
+ llvm::Value* setjmp_return = builder->CreateCall(f, jmpbuf);
+
+@@ -3665,7 +3665,7 @@ void LargeTryExpression::codegen(){
+ create_gep(temp_errcontext2, TARGET_BITS, 0, TARGET_BITS, 0));
+
+ llvm::Function* f = llvm::cast<llvm::Function>(get_global_function(_setjmp, 'i', "p"));
+- f->addFnAttr(llvm::Attribute::ReturnsTwice);
++ f->addFnAttr(llvm::Attributes::ReturnsTwice);
+
+ llvm::Value* setjmp_return = builder->CreateCall(f, jmpbuf);
+
+diff -upr gambas3-3.3.4.orig/gb.jit/src/jit_gambas_pass.cpp gambas3-3.3.4/gb.jit/src/jit_gambas_pass.cpp
+--- gambas3-3.3.4.orig/gb.jit/src/jit_gambas_pass.cpp 2012-09-25 17:04:41.000000000 +0300
++++ gambas3-3.3.4/gb.jit/src/jit_gambas_pass.cpp 2012-12-25 03:38:36.000000000 +0200
+@@ -25,7 +25,7 @@
+
+ #include "llvm/Pass.h"
+ #include "llvm/Function.h"
+-#include "llvm/Support/IRBuilder.h"
++#include "llvm/IRBuilder.h"
+ #include "llvm/Support/raw_ostream.h"
+
+ #include "main.h"
+diff -upr gambas3-3.3.4.orig/gb.jit/src/jit.h gambas3-3.3.4/gb.jit/src/jit.h
+--- gambas3-3.3.4.orig/gb.jit/src/jit.h 2012-09-25 17:04:41.000000000 +0300
++++ gambas3-3.3.4/gb.jit/src/jit.h 2012-12-25 03:38:23.000000000 +0200
+@@ -39,7 +39,7 @@
+ #include "llvm/Support/TargetSelect.h"
+ #include "llvm/Support/ManagedStatic.h"
+ #include "llvm/Support/raw_ostream.h"
+-#include "llvm/Support/IRBuilder.h"
++#include "llvm/IRBuilder.h"
+ #include "llvm/Support/DynamicLibrary.h"
+ #include "llvm/Support/CFG.h"
+ #include "llvm/PassManager.h"
diff --git a/community/ldc/PKGBUILD b/community/ldc/PKGBUILD
index 7418a0219..4db3ef56e 100644
--- a/community/ldc/PKGBUILD
+++ b/community/ldc/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 81323 2012-12-17 23:11:03Z svenstaro $
+# $Id: PKGBUILD 81801 2012-12-30 15:21:03Z foutrelis $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=ldc
-pkgver=20121218
+pkgver=20121225
pkgrel=1
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
arch=('i686' 'x86_64')
@@ -10,8 +10,8 @@ license=('BSD')
depends=('llvm' 'libconfig')
makedepends=('git' 'cmake')
backup=('etc/ldc2.conf')
-source=()
-md5sums=()
+source=(fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch)
+md5sums=('0dacd8e4b8f88030c107dbb2a35bcc42')
_gitroot=git://github.com/ldc-developers/ldc.git
_gitname=ldc
@@ -37,7 +37,10 @@ build() {
rm -rf "$srcdir/$_gitname-build"
git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
-
+
+ # llvm/Support/IRBuilder.h was relocated in LLVM 3.2
+ patch -Np1 -i "$srcdir/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch"
+
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -49,7 +52,7 @@ build() {
package() {
cd "$srcdir/$_gitname-build"
-
+
cd build
make DESTDIR=$pkgdir install
cd ..
diff --git a/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch b/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
new file mode 100644
index 000000000..f5977e4a4
--- /dev/null
+++ b/community/ldc/fix-llvm-IRBuilder.h-include-when-using-LLVM-3.2.patch
@@ -0,0 +1,25 @@
+From 984207e348fe9ef1444cbec897cb8c429859a9c0 Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos@foutrelis.com>
+Date: Tue, 25 Dec 2012 04:55:30 +0200
+Subject: [PATCH] Fix llvm/IRBuilder.h include when using LLVM 3.2
+
+---
+ gen/passes/GarbageCollect2Stack.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gen/passes/GarbageCollect2Stack.cpp b/gen/passes/GarbageCollect2Stack.cpp
+index f20bdd4..9927615 100644
+--- a/gen/passes/GarbageCollect2Stack.cpp
++++ b/gen/passes/GarbageCollect2Stack.cpp
+@@ -27,7 +27,7 @@
+ #include "llvm/Intrinsics.h"
+ #include "llvm/Support/CallSite.h"
+ #include "llvm/Support/CommandLine.h"
+-#if LDC_LLVM_VER >= 303
++#if LDC_LLVM_VER >= 302
+ #include "llvm/IRBuilder.h"
+ #else
+ #include "llvm/Support/IRBuilder.h"
+--
+1.8.0.2
+
diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD
index 542e6df3e..cdea88434 100644
--- a/community/multipath-tools/PKGBUILD
+++ b/community/multipath-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 80194 2012-11-17 14:32:27Z bpiotrowski $
+# $Id: PKGBUILD 81789 2012-12-30 08:24:14Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Thomas S Hatch <thatch45 ar gmail dot com>
# Contributor: Michael P <ptchinster@archlinux.us>
@@ -6,7 +6,7 @@
pkgname=multipath-tools
pkgver=0.4.9
-pkgrel=11
+pkgrel=12
pkgdesc='Multipath tools for Linux'
arch=('i686' 'x86_64')
url="http://christophe.varoqui.free.fr/"
@@ -14,7 +14,7 @@ license=('GPL')
depends=('bash' 'libaio' 'device-mapper')
backup=('etc/multipath.conf' 'etc/multipath.conf.annotated')
install=multipath-tools.install
-options=(!emptydirs !strip)
+options=(!emptydirs)
source=(http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2
rc.d service multipath.conf multipath.conf.annotated
fix-build.patch buffer-overflows.patch log_enquery_overflow.patch
@@ -45,11 +45,15 @@ build() {
}
package() {
- make LIB='usr/lib' DESTDIR="$pkgdir" bindir='/usr/bin' libudevdir='/usr/lib/udev' install
+ make LIB='usr/lib' \
+ DESTDIR="$pkgdir" \
+ bindir='/usr/bin' \
+ libudevdir='/usr/lib/udev' install
+
install -Dm644 multipath.conf "$pkgdir"/etc/multipath.conf
install -Dm644 multipath.conf.annotated "$pkgdir"/etc/multipath.conf.annotated
install -Dm755 rc.d "$pkgdir"/etc/rc.d/multipathd
install -Dm644 service "$pkgdir"/usr/lib/systemd/system/multipathd.service
- find $pkgdir -type f -exec sed 's/sbin/bin/g' -i {} \;
+ sed -i 's/sbin/bin/g' "$pkgdir"/usr/lib/udev/rules.d/*.rules
}
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 271602b72..8792ca4fd 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 171485 2012-11-18 02:09:02Z foutrelis $
+# $Id: PKGBUILD 173973 2012-12-30 15:30:36Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -10,12 +10,12 @@
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
-pkgver=3.1
-pkgrel=6
+pkgver=3.2
+pkgrel=2
arch=('i686' 'x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
-makedepends=('libffi' 'python2' 'ocaml')
+makedepends=('libffi' 'python2' 'ocaml' 'python-sphinx')
source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.gz
http://llvm.org/releases/$pkgver/clang-$pkgver.src.tar.gz
http://dev.archlinux.org/~foutrelis/sources/compiler-rt/compiler-rt-$pkgver.src.tar.xz
@@ -25,19 +25,17 @@ source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.gz
clang-pure64.patch
enable-lto.patch
llvm-3.1-fix-debug-line-info.patch
- clang-3.1-fix-libprofile_rt.a-location.patch
- clang-3.1-fix-lwg-2141.patch)
-sha256sums=('1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab'
- 'ff63e215dcd3e2838ffdea38502f8d35bab17e487f3c3799579961e452d5a786'
- '563d8a5ef86123ed8775e115ad7f90c1aa3e80f70b4e587f1bccab2c10753558'
+ clang-3.1-fix-libprofile_rt.a-location.patch)
+sha256sums=('125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343'
+ '2aaaf03f7c0f6b16fe97ecc81247dc2bf2d4bec7620a77cc74670b7e07ff5658'
+ 'a9a6b73a1bd5fc763f3b3826a6ce796cb150042d37d319e06e72d3d9778aaac1'
'312574e655f9a87784ca416949c505c452b819fad3061f2cde8aced6540a19a3'
'597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48'
'3074df5322900e087377a8e03a02115463ccc0011c25917c2f06df11facd9b92'
'288a82fbff17bc554f5863734246500e637882af33ee8511019d5e0d6cd20524'
- 'f7145e203ffb4ce2c01976027f7840a9520e5341a9945f2459b6b11e5422d5b7'
+ 'fe3969d9ec93263814d9892a15b6a1eb60ad756fe7c3985a45d8cd82bc9b7a7b'
'db1f1aadebbc4c4232bdad49fb9b7dc61eac727085c63154b870fa9ce64fd18d'
- '0d32ad283566357ca1bfbeb4cbe6b0b961943b79d3d718ed0435101c05629137'
- 'a3ac405a983643c9cb9081692a3f4d28e5d19571fa12b0517fb2b1f2acab0ad0')
+ '0d32ad283566357ca1bfbeb4cbe6b0b961943b79d3d718ed0435101c05629137')
build() {
cd "$srcdir/$pkgname-$pkgver.src"
@@ -83,13 +81,13 @@ build() {
patch -d tools/clang -Np1 -i \
"$srcdir/clang-3.1-fix-libprofile_rt.a-location.patch"
- # Fix FS#32731: [clang] 3.1 fails to compile libstdc++ <chrono> 4.7.2
- patch -d tools/clang -Np0 -i "$srcdir/clang-3.1-fix-lwg-2141.patch"
-
# Fix FS#31098: LLVM 3.1 produces invalid debug information
# http://llvm.org/bugs/show_bug.cgi?id=13211
patch -Np1 -i "$srcdir/llvm-3.1-fix-debug-line-info.patch"
+ # Drop "svn" suffix from version string
+ sed -i 's/3\.2svn/3.2/g' configure
+
# Apply strip option to configure
_optimized_switch="enable"
[[ $(check_option strip) == n ]] && _optimized_switch="disable"
@@ -118,6 +116,8 @@ build() {
--$_optimized_switch-optimized
make REQUIRES_RTTI=1
+ make -C docs -f Makefile.sphinx man
+ make -C docs -f Makefile.sphinx html
}
package_llvm() {
@@ -166,6 +166,14 @@ package_llvm() {
done
fi
+ # Install man pages
+ install -d "$pkgdir/usr/share/man/man1"
+ cp docs/_build/man/*.1 "$pkgdir/usr/share/man/man1/"
+
+ # Install html docs
+ cp -r docs/_build/html/* "$pkgdir/usr/share/doc/llvm/html/"
+ rm -r "$pkgdir/usr/share/doc/llvm/html/_sources"
+
install -Dm644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
diff --git a/extra/llvm/enable-lto.patch b/extra/llvm/enable-lto.patch
index 3205fbf69..9f43e657e 100644
--- a/extra/llvm/enable-lto.patch
+++ b/extra/llvm/enable-lto.patch
@@ -19,14 +19,12 @@ Index: lib/Driver/Tools.cpp
// Tell the linker to load the plugin. This has to come before AddLinkerInputs
// as gold requires -plugin to come before any -plugin-opt that -Wl might
// forward.
-- if (D.IsUsingLTO(Args) || Args.hasArg(options::OPT_use_gold_plugin)) {
-+ // if (D.IsUsingLTO(Args) || Args.hasArg(options::OPT_use_gold_plugin)) {
+ if (D.IsUsingLTO(Args) || Args.hasArg(options::OPT_use_gold_plugin)) {
CmdArgs.push_back("-plugin");
- std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so";
+ std::string Plugin = ToolChain.getDriver().Dir + "/../lib/llvm/LLVMgold.so";
CmdArgs.push_back(Args.MakeArgString(Plugin));
-- }
-+ // }
+ }
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs);
}
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index fd46570ce..227a66368 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -1,32 +1,42 @@
-# $Id: PKGBUILD 169817 2012-10-30 10:47:49Z foutrelis $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# $Id: PKGBUILD 173974 2012-12-30 15:30:38Z foutrelis $
+# Maintainer:
+# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andries Radu <admiral0@live.it>
pkgname=opengtl
pkgver=0.9.17
-pkgrel=1
-pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
+pkgrel=2
+pkgdesc="A set of libraries for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
url="http://www.opengtl.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gcc-libs' 'llvm')
makedepends=('cmake' 'libpng')
optdepends=('libpng: for using the png extension')
-source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2)
-sha1sums=('10369bd11109312466389b3b050469dd69e54d2b')
+source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2
+ opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch)
+sha256sums=('89a37394fe71f2e771d7230333c86b93706f0083f86a58a86a670bca7e4f905e'
+ 'd3e12d964c927e6f659df00e6210815c803c9126b34e9e92d4ccfebd6d30c8d7')
build() {
- cd "${srcdir}"
+ cd "$srcdir"
+
+ # Fix build with LLVM 3.2
+ patch -d OpenGTL-$pkgver -Np1 -i \
+ "$srcdir/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch"
+
mkdir build
cd build
- cmake ../OpenGTL-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
+ cmake ../OpenGTL-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON
make
}
package() {
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/opengtl/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch b/extra/opengtl/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
new file mode 100644
index 000000000..c148c88bb
--- /dev/null
+++ b/extra/opengtl/opengtl-0.9.17-fix-ftbfs-with-llvm-3.2.patch
@@ -0,0 +1,38 @@
+diff -upr OpenGTL-0.9.17.orig/CMakeLists.txt OpenGTL-0.9.17/CMakeLists.txt
+--- OpenGTL-0.9.17.orig/CMakeLists.txt 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/CMakeLists.txt 2012-12-25 03:00:30.000000000 +0200
+@@ -47,8 +47,8 @@ configure_file(config-endian.h.cmake ${C
+
+ find_package(LLVM REQUIRED)
+
+-if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL "3.0" ) ) # There is no way with MSVC to know the llvm version
+- message(FATAL_ERROR "LLVM 3.0 or 3.1 is required.")
++if( NOT MSVC AND NOT LLVM_VERSION STREQUAL "3.2" ) # There is no way with MSVC to know the llvm version
++ message(FATAL_ERROR "LLVM 3.2 is required.")
+ endif()
+
+ if(MSVC)
+diff -upr OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp
+--- OpenGTL-0.9.17.orig/OpenCTL/OpenCTL/Program.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenCTL/OpenCTL/Program.cpp 2012-12-25 02:59:17.000000000 +0200
+@@ -29,7 +29,7 @@
+ #include <llvm/PassManager.h>
+ #include <llvm/Analysis/LoopPass.h>
+ #include <llvm/Analysis/Verifier.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/GlobalVariable.h>
+
+ // GTLCore
+diff -upr OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp
+--- OpenGTL-0.9.17.orig/OpenGTL/GTLCore/ModuleData_p.cpp 2012-06-04 17:51:43.000000000 +0300
++++ OpenGTL-0.9.17/OpenGTL/GTLCore/ModuleData_p.cpp 2012-12-25 02:59:34.000000000 +0200
+@@ -23,7 +23,7 @@
+
+ #include <llvm/Module.h>
+ #include <llvm/PassManager.h>
+-#include <llvm/Target/TargetData.h>
++#include <llvm/DataLayout.h>
+ #include <llvm/Target/TargetMachine.h>
+ #include <llvm/Analysis/Verifier.h>
+ #include <llvm/Transforms/Utils/Cloning.h>
diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD
new file mode 100644
index 000000000..16586e732
--- /dev/null
+++ b/pcr/chm2pdf/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Rodrigo Coacci <rcoacci@gmail.com>
+# Contributor: fes0
+# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+
+pkgname=chm2pdf
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A simple Python script that converts CHM files into PDF files."
+arch=('any')
+license=('GPL2')
+url="http://code.google.com/p/chm2pdf/"
+depends=('chmlib' 'python2' 'python2-pychm' 'htmldoc')
+optdepends=('beautiful-soup: A Python HTML/XML parser designed for quick turnaround projects like screen-scraping')
+source=('http://chm2pdf.googlecode.com/files/chm2pdf-0.9.1.tar.gz')
+
+
+build() {
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $srcdir/$pkgname-$pkgver/chm2pdf
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$startdir/pkg
+}
+
diff --git a/pcr/emacs-newlisp/PKGBUILD b/pcr/emacs-newlisp/PKGBUILD
new file mode 100644
index 000000000..25dcbc219
--- /dev/null
+++ b/pcr/emacs-newlisp/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Jan Kròávek <wamba@centrum.cz>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=emacs-newlisp
+pkgver=0.25
+pkgrel=5
+arch=('any')
+pkgdesc="Emacs mode for Newlisp."
+url="http://artfulcode.net/projects"
+depends=('emacs')
+makedepends=('unzip')
+license=('GPL')
+source=(http://www.artfulcode.net/wp-content/uploads/2008/12/newlisp-mode.zip)
+noextract=newlisp-mode.zip
+install=emacs-newlisp.install
+
+build() {
+ cd $srcdir
+ unzip -quo newlisp-mode.zip || return 1
+ cd $srcdir/newlisp-mode || return 1
+ install -d $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+ install -Dm644 *.el $pkgdir/usr/share/emacs/site-lisp/newlisp-mode
+}
diff --git a/pcr/emacs-newlisp/emacs-newlisp.install b/pcr/emacs-newlisp/emacs-newlisp.install
new file mode 100644
index 000000000..640e19d16
--- /dev/null
+++ b/pcr/emacs-newlisp/emacs-newlisp.install
@@ -0,0 +1,26 @@
+# vim: set ft=sh:
+post_install() {
+ echo "
+=> Autoloading:
+ ------------
+ In your .emacs or .init.el
+ (add-to-list 'load-path (expand-file-name \"/usr/share/emacs/site-lisp/newlisp-mode\"))
+ (add-to-list 'auto-mode-alist '(\"\\\\.lsp\\\\'\" . newlisp-mode))
+ (autoload 'newlisp-mode \"newlisp\" \"Turn on NewLisp mode\" t)
+ (turn-on-font-lock)
+
+=> Newlisp is started with the Emacs command M-x newlisp-mode."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*
diff --git a/pcr/newlisp/PKGBUILD b/pcr/newlisp/PKGBUILD
new file mode 100644
index 000000000..a53106390
--- /dev/null
+++ b/pcr/newlisp/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: scrawler <scrawler@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@cwb.IO>
+
+pkgname=newlisp
+pkgver=10.4.5
+pkgrel=1
+pkgdesc="newLISP is a LISP like, general purpose scripting language."
+url="http://www.newlisp.org"
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('readline')
+optdepends=('openjdk6')
+options=('docs')
+source=(http://newlisp.org/downloads/$pkgname-$pkgver.tgz)
+install=$pkgname.install
+
+build() {
+cd $srcdir/$pkgname-$pkgver
+./configure
+[ $CARCH = "x86_64" ] && make -f makefile_linuxLP64_utf8
+[ $CARCH = "i686" ] && make -f makefile_linux_utf8
+install -d $pkgdir/usr/bin
+install -d $pkgdir/usr/share/man/man1
+make bindir=$pkgdir/usr/bin mandir=$pkgdir/usr/share/man \
+datadir=$pkgdir/usr/share install
+}
diff --git a/pcr/newlisp/newlisp.install b/pcr/newlisp/newlisp.install
new file mode 100644
index 000000000..2c7fd8481
--- /dev/null
+++ b/pcr/newlisp/newlisp.install
@@ -0,0 +1,20 @@
+pre_install() {
+ rm /usr/bin/newlisp
+}
+
+post_install() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_upgrade() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+
+post_upgrade() {
+ ln -sf /usr/bin/newlisp-10.4.5 /usr/bin/newlisp
+}
+
+pre_remove() {
+[[ -f /usr/bin/newlisp ]] && rm /usr/bin/newlisp
+}
+
diff --git a/pcr/python-renpy/ChangeLog b/pcr/python-renpy/ChangeLog
new file mode 100644
index 000000000..0a357d3db
--- /dev/null
+++ b/pcr/python-renpy/ChangeLog
@@ -0,0 +1,32 @@
+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
new file mode 100644
index 000000000..f7c16e9b9
--- /dev/null
+++ b/pcr/python-renpy/PKGBUILD
@@ -0,0 +1,41 @@
+# 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
new file mode 100644
index 000000000..c1e68d87e
--- /dev/null
+++ b/pcr/python-renpy/python2.diff
@@ -0,0 +1,8 @@
+--- 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
new file mode 100644
index 000000000..89a6b8c05
--- /dev/null
+++ b/pcr/python-renpy/renpy.diff
@@ -0,0 +1,20 @@
+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/renpy/ChangeLog b/pcr/renpy/ChangeLog
new file mode 100644
index 000000000..566d97fa9
--- /dev/null
+++ b/pcr/renpy/ChangeLog
@@ -0,0 +1,30 @@
+2012-28-07 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.14.1-1 :
+ new upstream release.
+ removed optdepends.
+ removed jedit-external.diff (does not work anymore).
+
+2012-23-04 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.12-1 :
+ Added notice abot RENPY_BASE usage to renpy.install.
+
+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.
+
+2012-16-03 AlexanderR <alexanderr at gmx dot com>
+
+ * 6.13.9-1 :
+ re-split package python-renpy into two. added ChangeLog.
+ added jedit-external.diff to split jedit into optdepends.
+ added profile.d scripts to export RENPY_BASE.
+ added icon, launcher script and .desktop file.
+ creation of link from /usr/share/renpy/doc to /usr/share/doc/renpy.
diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD
new file mode 100644
index 000000000..89c07a433
--- /dev/null
+++ b/pcr/renpy/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: AlexanderR <rvacheva at nxt dot ru>
+
+pkgname=renpy
+pkgver=6.14.1
+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')
+license=('MIT')
+url='http://www.renpy.org/'
+# is ttf-dejavu required by renpy or games itself?
+depends=("python-renpy=$pkgver" 'ttf-dejavu')
+options=(!strip !zipman)
+conflicts=('renpy-bin' 'renpy64')
+replaces=('renpy64')
+install=renpy.install
+changelog=ChangeLog
+source=("http://www.renpy.org/dl/$pkgver/renpy-$pkgver-source.tar.bz2"
+ "${pkgname}.desktop"
+ "${pkgname}."{sh,csh}
+ 'python2.diff'
+ 'renpy-launcher.sh')
+
+md5sums=('16814530ba9ce1f2968bb8c8c785651b'
+ 'a9beb35fa6c6d8af7ba5d2a764c33158'
+ 'd206d24b78e207a2c3b603fef14ac47f'
+ '8b9922e26e567248a2a5adc1d0cdfdd4'
+ '0476b16220e6faeb031e1dbfe45249b4'
+ 'dfa92cdecc15e5c1ddee387fbbbb2d9c')
+
+build() {
+ cd "$srcdir/renpy-$pkgver-source"
+
+ patch -p1 < ../python2.diff
+
+ # fonts are provided by ttf-dejavu
+ rm common/DejaVuSans.ttf common/DejaVuSans.txt
+}
+
+package(){
+ mkdir -p "$pkgdir/"{usr/share/{$pkgname,doc/$pkgname},etc/profile.d}
+
+ cd "$srcdir"
+
+ install -m755 ${pkgname}.{sh,csh} "$pkgdir/etc/profile.d"
+ install -D -m755 $pkgname-launcher.sh "$pkgdir/usr/bin/$pkgname"
+ install -D -m644 ${pkgname}.desktop "$pkgdir/usr/share/applications/${pkgname}.desktop"
+
+ cd renpy-$pkgver-source
+
+ cp -r launcher renpy common renpy.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"
+
+ chgrp -R games "$pkgdir"/usr/share/renpy/{the_question,tutorial}
+ chmod g+w "$pkgdir"/usr/share/renpy/{the_question,tutorial}
+}
diff --git a/pcr/renpy/python2.diff b/pcr/renpy/python2.diff
new file mode 100644
index 000000000..9153659a2
--- /dev/null
+++ b/pcr/renpy/python2.diff
@@ -0,0 +1,8 @@
+--- renpy-6.13.9/renpy.py 2012-01-16 01:48:05.000000000 +1100
++++ renpy-6.13.9.new/renpy.py 2012-03-16 05:36:41.406170787 +1100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ #@PydevCodeAnalysisIgnore
+ # Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
+ #
diff --git a/pcr/renpy/renpy-launcher.sh b/pcr/renpy/renpy-launcher.sh
new file mode 100644
index 000000000..605c0c1fd
--- /dev/null
+++ b/pcr/renpy/renpy-launcher.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+mkdir -p ~/renpy_projects
+cd ~/renpy_projects
+exec env python2 -OO /usr/share/renpy/renpy.py "$@"
diff --git a/pcr/renpy/renpy.csh b/pcr/renpy/renpy.csh
new file mode 100644
index 000000000..71269b48c
--- /dev/null
+++ b/pcr/renpy/renpy.csh
@@ -0,0 +1 @@
+setenv RENPY_BASE /usr/share/renpy/
diff --git a/pcr/renpy/renpy.desktop b/pcr/renpy/renpy.desktop
new file mode 100644
index 000000000..5cd64ea94
--- /dev/null
+++ b/pcr/renpy/renpy.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Ren'Py
+GenericName= renpy
+GenericName[fr]= renpy
+Comment=A programming language and runtime, intended to ease the creation of visual-novel type games.
+Comment[fr]=Un langage de programmation et un exécutable conçus pour faciliter la création de jeux de type "visual-novel"
+Icon=renpy.png
+Exec=renpy
+Categories=Game;AdventureGame;
+
diff --git a/pcr/renpy/renpy.install b/pcr/renpy/renpy.install
new file mode 100644
index 000000000..9630a255f
--- /dev/null
+++ b/pcr/renpy/renpy.install
@@ -0,0 +1,21 @@
+post_install() {
+ ln -sf "/usr/share/doc/renpy" "/usr/share/renpy/doc"
+
+ cat << EOF
+This package sets global environment variable RENPY_BASE, forcing all RenPy
+games, including incompatible ones, to use system-wide interpreter. Undefine
+this variable to launch games, you downloaded somewhere, with their built-in
+versions of interpreter.
+
+To run two example games: The Question and RenPy Tutorial you should be
+member of "games" group.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm "/usr/share/renpy/doc"
+}
diff --git a/pcr/renpy/renpy.sh b/pcr/renpy/renpy.sh
new file mode 100644
index 000000000..32b2e6d29
--- /dev/null
+++ b/pcr/renpy/renpy.sh
@@ -0,0 +1 @@
+export RENPY_BASE=/usr/share/renpy/