summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-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
17 files changed, 353 insertions, 0 deletions
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/