summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/apvlv/PKGBUILD15
-rw-r--r--community/apvlv/poppler-gdk.patch150
-rw-r--r--community/atanks/PKGBUILD25
-rw-r--r--community/calibre/PKGBUILD4
-rw-r--r--community/collectd/PKGBUILD18
-rw-r--r--community/devil/PKGBUILD23
-rw-r--r--community/dumb/PKGBUILD6
-rw-r--r--community/epdfview/PKGBUILD6
-rw-r--r--community/gambas2/PKGBUILD11
-rw-r--r--community/gambas2/poppler-0.18.patch40
-rw-r--r--community/gambas3/PKGBUILD22
-rw-r--r--community/gpsbabel/PKGBUILD17
-rw-r--r--community/grafx2/PKGBUILD43
-rw-r--r--community/grafx2/grafx2.desktop11
-rw-r--r--community/grafx2/grafx2.install14
-rw-r--r--community/gummi/PKGBUILD2
-rw-r--r--community/libfm/PKGBUILD32
-rw-r--r--community/libfm/libfm.install15
-rw-r--r--community/libmirage/PKGBUILD6
-rw-r--r--community/pcmanfm/PKGBUILD27
-rw-r--r--community/pdf2djvu/PKGBUILD9
-rw-r--r--community/pdf2svg/PKGBUILD10
-rw-r--r--community/perl-xml-libxslt/PKGBUILD24
-rwxr-xr-xcommunity/python2-cheetah/PKGBUILD32
-rw-r--r--community/python2-poppler/PKGBUILD8
-rw-r--r--community/tnftp/PKGBUILD9
-rw-r--r--community/tvision/PKGBUILD10
-rw-r--r--community/zathura/PKGBUILD6
28 files changed, 485 insertions, 110 deletions
diff --git a/community/apvlv/PKGBUILD b/community/apvlv/PKGBUILD
index 335b36144..2b1e7cc8a 100644
--- a/community/apvlv/PKGBUILD
+++ b/community/apvlv/PKGBUILD
@@ -1,28 +1,31 @@
-# $Id: PKGBUILD 55080 2011-09-02 08:40:53Z andrea $
+# $Id: PKGBUILD 56937 2011-10-17 08:19:53Z ibiru $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: tocer.deng <tocer.deng@gmail.com>
pkgname=apvlv
pkgver=0.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="A PDF Viewer which behaves like Vim"
arch=('i686' 'x86_64')
url="http://naihe2010.github.com/apvlv/"
license=('GPL')
-depends=('poppler-glib' 'djvulibre')
-source=(https://github.com/downloads/naihe2010/$pkgname/$pkgname-${pkgver}-Source.tar.gz apvlv-poppler015.patch)
+depends=('gtk2' 'cairo' 'poppler-glib' 'djvulibre')
+source=(https://github.com/downloads/naihe2010/$pkgname/$pkgname-${pkgver}-Source.tar.gz apvlv-poppler015.patch poppler-gdk.patch)
md5sums=('381d83aa9c253fac5e0be165fca39222'
- '308b17a563ed470ea47d408f324ab745')
+ '308b17a563ed470ea47d408f324ab745'
+ '076d794ab865e9bd53a5dfd2db1eaa8b')
makedepends=('cmake')
build() {
cd $srcdir/$pkgname-$pkgver-Source
patch -Np1 -i $srcdir/apvlv-poppler015.patch
+ patch -Np1 -i $srcdir/poppler-gdk.patch
+
mkdir -p build
cd build
-
+
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAPVLV_WITH_UMD=no ..
diff --git a/community/apvlv/poppler-gdk.patch b/community/apvlv/poppler-gdk.patch
new file mode 100644
index 000000000..ab487cf1c
--- /dev/null
+++ b/community/apvlv/poppler-gdk.patch
@@ -0,0 +1,150 @@
+diff -ruN apvlv-0.1.2-Source/src/ApvlvFile.cpp apvlv-0.1.2-Source.new/src/ApvlvFile.cpp
+--- apvlv-0.1.2-Source/src/ApvlvFile.cpp 2011-10-10 14:23:19.205606984 +0200
++++ apvlv-0.1.2-Source.new/src/ApvlvFile.cpp 2011-10-10 14:21:50.870952455 +0200
+@@ -29,6 +29,10 @@
+ #include "ApvlvUtil.hpp"
+ #include "ApvlvView.hpp"
+
++#ifndef POPPLER_WITH_GDK
++#include "poppler-gdk.h"
++#endif
++
+ #ifdef HAVE_LIBUMD
+ #define LIBUMD_ENABLE_GTK
+ #include <umd.h>
+diff -ruN apvlv-0.1.2-Source/src/poppler-gdk.h apvlv-0.1.2-Source.new/src/poppler-gdk.h
+--- apvlv-0.1.2-Source/src/poppler-gdk.h 1970-01-01 01:00:00.000000000 +0100
++++ apvlv-0.1.2-Source.new/src/poppler-gdk.h 2011-10-10 14:22:06.077846565 +0200
+@@ -0,0 +1,132 @@
++#include <goo/gtypes.h>
++
++static void
++copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,
++ GdkPixbuf *pixbuf)
++{
++ int cairo_width, cairo_height, cairo_rowstride;
++ unsigned char *pixbuf_data, *dst, *cairo_data;
++ int pixbuf_rowstride, pixbuf_n_channels;
++ unsigned int *src;
++ int x, y;
++
++ cairo_width = cairo_image_surface_get_width (surface);
++ cairo_height = cairo_image_surface_get_height (surface);
++ cairo_rowstride = cairo_image_surface_get_stride (surface);
++ cairo_data = cairo_image_surface_get_data (surface);
++
++ pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
++ pixbuf_rowstride = gdk_pixbuf_get_rowstride (pixbuf);
++ pixbuf_n_channels = gdk_pixbuf_get_n_channels (pixbuf);
++
++ if (cairo_width > gdk_pixbuf_get_width (pixbuf))
++ cairo_width = gdk_pixbuf_get_width (pixbuf);
++ if (cairo_height > gdk_pixbuf_get_height (pixbuf))
++ cairo_height = gdk_pixbuf_get_height (pixbuf);
++ for (y = 0; y < cairo_height; y++)
++ {
++ src = (unsigned int *) (cairo_data + y * cairo_rowstride);
++ dst = pixbuf_data + y * pixbuf_rowstride;
++ for (x = 0; x < cairo_width; x++)
++ {
++ dst[0] = (*src >> 16) & 0xff;
++ dst[1] = (*src >> 8) & 0xff;
++ dst[2] = (*src >> 0) & 0xff;
++ if (pixbuf_n_channels == 4)
++ dst[3] = (*src >> 24) & 0xff;
++ dst += pixbuf_n_channels;
++ src++;
++ }
++ }
++}
++
++static void
++_poppler_page_render_to_pixbuf (PopplerPage *page,
++ int src_x, int src_y,
++ int src_width, int src_height,
++ double scale,
++ int rotation,
++ GBool printing,
++ GdkPixbuf *pixbuf)
++{
++ cairo_t *cr;
++ cairo_surface_t *surface;
++
++ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
++ src_width, src_height);
++ cr = cairo_create (surface);
++ cairo_save (cr);
++ switch (rotation) {
++ case 90:
++ cairo_translate (cr, src_x + src_width, -src_y);
++ break;
++ case 180:
++ cairo_translate (cr, src_x + src_width, src_y + src_height);
++ break;
++ case 270:
++ cairo_translate (cr, -src_x, src_y + src_height);
++ break;
++ default:
++ cairo_translate (cr, -src_x, -src_y);
++ }
++
++ if (scale != 1.0)
++ cairo_scale (cr, scale, scale);
++
++ if (rotation != 0)
++ cairo_rotate (cr, rotation * G_PI / 180.0);
++
++ if (printing)
++ poppler_page_render_for_printing (page, cr);
++ else
++ poppler_page_render (page, cr);
++ cairo_restore (cr);
++
++ cairo_set_operator (cr, CAIRO_OPERATOR_DEST_OVER);
++ cairo_set_source_rgb (cr, 1., 1., 1.);
++ cairo_paint (cr);
++
++ cairo_destroy (cr);
++
++ copy_cairo_surface_to_pixbuf (surface, pixbuf);
++ cairo_surface_destroy (surface);
++}
++
++/**
++ * poppler_page_render_to_pixbuf:
++ * @page: the page to render from
++ * @src_x: x coordinate of upper left corner
++ * @src_y: y coordinate of upper left corner
++ * @src_width: width of rectangle to render
++ * @src_height: height of rectangle to render
++ * @scale: scale specified as pixels per point
++ * @rotation: rotate the document by the specified degree
++ * @pixbuf: pixbuf to render into
++ *
++ * First scale the document to match the specified pixels per point,
++ * then render the rectangle given by the upper left corner at
++ * (src_x, src_y) and src_width and src_height.
++ * This function is for rendering a page that will be displayed.
++ * If you want to render a page that will be printed use
++ * poppler_page_render_to_pixbuf_for_printing() instead
++ *
++ * Deprecated: 0.16
++ **/
++void
++poppler_page_render_to_pixbuf (PopplerPage *page,
++ int src_x, int src_y,
++ int src_width, int src_height,
++ double scale,
++ int rotation,
++ GdkPixbuf *pixbuf)
++{
++ g_return_if_fail (POPPLER_IS_PAGE (page));
++ g_return_if_fail (scale > 0.0);
++ g_return_if_fail (pixbuf != NULL);
++
++ _poppler_page_render_to_pixbuf (page, src_x, src_y,
++ src_width, src_height,
++ scale, rotation,
++ gFalse,
++ pixbuf);
++}
diff --git a/community/atanks/PKGBUILD b/community/atanks/PKGBUILD
index df575a001..3cc5b8da4 100644
--- a/community/atanks/PKGBUILD
+++ b/community/atanks/PKGBUILD
@@ -1,43 +1,32 @@
-# $Id: PKGBUILD 48863 2011-06-06 21:45:37Z tdziedzic $
+# $Id: PKGBUILD 56999 2011-10-18 03:48:36Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
# Contributor: Charlie Cox <ccoxiv@yahoo.com>
pkgname=atanks
-pkgver=5.0
+pkgver=5.2
pkgrel=1
pkgdesc="Atomic Tanks"
url="http://atanks.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('sed')
-depends=('allegro>=4.4.0.1' 'gcc-libs')
+depends=('allegro4>=4.4.0.1' 'gcc-libs')
source=("http://downloads.sourceforge.net/project/atanks/atanks/atanks-${pkgver}/atanks-${pkgver}.tar.gz")
-md5sums=('1978fabfb5ab2c33bd079eb492ee4362')
+md5sums=('05bedbb7b3f50831a30b47f7776c8c1a')
build() {
cd atanks-${pkgver}
-
- #debug messages fix
- #sed -i '/lines->Display_All(TRUE)/d' src/files.cpp
- #sed -i '/Scroll Offset:/d' src/files.cpp
- #sed -i '/T offset:/d' src/files.cpp
- #
- #sed -i '1,1i#include <sys/stat.h>' src/files.cpp
-
make
}
package() {
cd atanks-${pkgver}
-
- make PREFIX=${pkgdir}/usr/ INSTALL="install -c" install
+ make DESTDIR=${pkgdir} INSTALL="install -c" install
sed -i 's/^Name=atanks/Name=Atomic Tanks/' atanks.desktop
sed -i 's/^Categories=Game;/Categories=Game;StrategyGame;/' atanks.desktop
- install -Dm644 atanks.desktop \
- $pkgdir/usr/share/applications/atanks.desktop
- install -Dm644 atanks.png \
- $pkgdir/usr/share/pixmaps/atanks.png
+ install -Dm644 atanks.desktop $pkgdir/usr/share/applications/atanks.desktop
+ install -Dm644 atanks.png $pkgdir/usr/share/pixmaps/atanks.png
}
diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD
index 0824f557d..1af42aa52 100644
--- a/community/calibre/PKGBUILD
+++ b/community/calibre/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 56837 2011-10-14 14:47:09Z giovanni $
+# $Id: PKGBUILD 56939 2011-10-17 08:20:07Z ibiru $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
pkgname=calibre
pkgver=0.8.22
-pkgrel=1
+pkgrel=2
pkgdesc="Ebook management application"
arch=('i686' 'x86_64')
url="http://calibre-ebook.com/"
diff --git a/community/collectd/PKGBUILD b/community/collectd/PKGBUILD
index a0abac0c4..da196a7eb 100644
--- a/community/collectd/PKGBUILD
+++ b/community/collectd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 56117 2011-10-02 02:52:22Z ebelanger $
+# $Id: PKGBUILD 56935 2011-10-17 07:29:09Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
pkgname=collectd
-pkgver=5.0.0
-pkgrel=7
+pkgver=5.0.1
+pkgrel=1
pkgdesc='Daemon which collects system performance statistics periodically'
arch=('i686' 'x86_64')
url='http://collectd.org/'
@@ -42,13 +42,9 @@ makedepends=('curl' 'libdbi' 'libesmtp' 'libgcrypt' 'iptables' 'libmemcached'
depends=('libtool')
source=("${url}files/${pkgname}-${pkgver}.tar.gz"
- 'libnotify-0.7.patch'
- 'yajl-2.x.patch'
'libperl.patch'
'rc.d')
-sha1sums=('026e5121348f0e525dedb3844fe61c7713994bb7'
- 'f6fed097c16f6c9c90b9a32a5b8e48d54b35b337'
- 'd3854c39c9596b4f6dcf67a9eb8decea4d17120d'
+sha1sums=('ec1bf97d21a27d9b53b20f7dc4fb61441b4e42e0'
'b221352447b2d42cade4a65ced322bcff8a40366'
'0f441718d5519cb043b1130e5a1d0379078adbcc')
@@ -60,10 +56,6 @@ build() {
patch -p1 -i ../libperl.patch
autoconf
- sed -i 's/ipt_error_target/bozo_error_target/g' src/owniptc/libiptc.c
- patch -p1 -i ../libnotify-0.7.patch
- patch -p1 -i ../yajl-2.x.patch
-
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -71,8 +63,6 @@ build() {
--enable-static=no \
--with-python=/usr/bin/python2
- sed -i 's/ -Werror//g' */Makefile* */*/Makefile*
-
make all
}
diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD
index 061b8cc64..1fad2201e 100644
--- a/community/devil/PKGBUILD
+++ b/community/devil/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 64433 2010-01-20 12:05:44Z ibiru $
+# $Id: PKGBUILD 57001 2011-10-18 03:48:42Z ebelanger $
# Maintainer: damir <damir@archlinux.org>
# Contributor: TheHoff <forums>
pkgname=devil
pkgver=1.7.8
-pkgrel=6
+pkgrel=7
pkgdesc="Library for reading several different image formats"
arch=('i686' 'x86_64')
url="http://openil.sourceforge.net/"
-depends=('allegro>=4.4.0.1' 'sdl' 'libpng>=1.4.0' 'libmng>=1.0.10-3' 'freeglut'
- 'jasper>=1.900.1-4' 'lcms>=1.18-3' 'openexr')
+depends=('allegro4' 'sdl' 'libpng' 'libmng' 'freeglut'
+ 'jasper' 'lcms' 'openexr')
makedepends=('bash')
options=('!libtool' '!docs')
license=('GPL')
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
+md5sums=('7918f215524589435e5ec2e8736d5e1d'
+ '0f839ccefd43b0ee8b4b3f99806147fc')
build() {
cd $srcdir/devil-$pkgver
- patch -Np1 -i $srcdir/libpng14.patch || return 1
- # configure and build
+ patch -Np1 -i $srcdir/libpng14.patch
+
./configure --prefix=/usr --enable-ILU --enable-ILUT --enable-opengl --enable-sdl
- make || return 1
+ make
+}
+
+package() {
+ cd $srcdir/devil-$pkgver
+
make prefix=$pkgdir/usr install
}
-md5sums=('7918f215524589435e5ec2e8736d5e1d'
- '0f839ccefd43b0ee8b4b3f99806147fc')
diff --git a/community/dumb/PKGBUILD b/community/dumb/PKGBUILD
index 3652f34cc..c8701a37b 100644
--- a/community/dumb/PKGBUILD
+++ b/community/dumb/PKGBUILD
@@ -1,15 +1,15 @@
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
-# Contributor: Bjørn Lindeijer <bjorn lindeijer nl>
+# Contributor: Bjørn Lindeijer <bjorn lindeijer nl>
pkgname=dumb
pkgver=0.9.3
-pkgrel=4
+pkgrel=5
pkgdesc="An IT, XM, S3M and MOD player library"
arch=('i686' 'x86_64')
license=('custom:dumb' 'GPL')
url="http://dumb.sourceforge.net/"
-depends=('glibc' 'allegro')
+depends=('glibc' 'allegro4')
source=(http://downloads.sourceforge.net/sourceforge/dumb/$pkgname-$pkgver.tar.gz)
md5sums=('f48da5b990aa8aa822d3b6a951baf5c2')
diff --git a/community/epdfview/PKGBUILD b/community/epdfview/PKGBUILD
index 90d7d3dc6..fb88c3d81 100644
--- a/community/epdfview/PKGBUILD
+++ b/community/epdfview/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 48161 2011-05-29 11:36:51Z schuay $
+# $Id: PKGBUILD 56941 2011-10-17 08:20:15Z ibiru $
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Tom K <tomk@runbox.com>
# Contributor: Thayer Williams <thayer@archlinux.org>
pkgname=epdfview
pkgver=0.1.8
-pkgrel=1
+pkgrel=2
pkgdesc="A free lightweight PDF document viewer."
url="http://www.emma-soft.com/projects/epdfview/"
arch=('i686' 'x86_64')
license=('GPL')
-depends=('poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme')
+depends=('poppler-glib' 'desktop-file-utils' 'hicolor-icon-theme' 'gtk2')
makedepends=('pkgconfig')
install='epdfview.install'
source=("http://www.emma-soft.com/projects/${pkgname}/chrome/site/releases/${pkgname}-${pkgver}.tar.bz2"
diff --git a/community/gambas2/PKGBUILD b/community/gambas2/PKGBUILD
index 80d18e1bd..16ba15cd5 100644
--- a/community/gambas2/PKGBUILD
+++ b/community/gambas2/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 48045 2011-05-27 17:00:59Z lcarlier $
+# $Id: PKGBUILD 56943 2011-10-17 08:20:39Z ibiru $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Biru Ionut <ionut@archlinux.ro>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -20,13 +20,13 @@ pkgname=('gambas2-meta' 'gambas2-runtime' 'gambas2-devel' 'gambas2-ide' 'gambas2
'gambas2-gb-sdl-sound' 'gambas2-gb-settings' 'gambas2-gb-v4l' 'gambas2-gb-vb'
'gambas2-gb-web' 'gambas2-gb-xml' 'gambas2-gb-xml-rpc' 'gambas2-gb-xml-xslt')
pkgver=2.23.1
-pkgrel=1
+pkgrel=2
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
url="http://gambas.sourceforge.net"
depends=('libffi' 'bzip2' 'libfbclient' 'zlib' 'kdelibs3' 'libgl' 'gtk2' 'librsvg' 'xdg-utils'
'postgresql-libs>=8.4.1' 'libmysqlclient' 'unixodbc' 'sqlite2' 'sqlite3'
- 'curl' 'poppler' 'sdl_mixer' 'sdl_image' 'libxtst' 'pcre' 'omniorb' 'libxft'
+ 'curl' 'poppler-glib' 'sdl_mixer' 'sdl_image' 'libxtst' 'pcre' 'omniorb' 'libxft'
'libxcursor' 'libsm')
makedepends=('intltool' 'mysql' 'postgresql')
license=('GPL2')
@@ -36,10 +36,12 @@ replaces=('gambas2')
conflicts=('gambas2')
source=(http://downloads.sourceforge.net/gambas/$pkgbase-$pkgver.tar.bz2
'fix-gbi-gba-path.patch' 'db.firebird.gcc-4.6.0-fix.patch'
+ 'poppler-0.18.patch'
'gambas2-script.install' 'gambas2-runtime.install')
md5sums=('ff8d2c1f310222c150b114e7ce247dfd'
'9dda03a1bbfb7e7ba8b6a4ae91b6752b'
'ac9703b390502ed3242c8d34485c9236'
+ 'a551b4b216bbdb3489f3c264bf73ee66'
'870ff5b4b33cd75aa9c290539e6fdd5d'
'ab5667175c4945282d2f40a35d0e9e5b')
_gbfiles="${srcdir}/$pkgbase-$pkgver/main/gbc"
@@ -70,6 +72,7 @@ build() {
patch -Np1 -i "${srcdir}/fix-gbi-gba-path.patch"
# merged upstream
patch -Np3 -i "${srcdir}/db.firebird.gcc-4.6.0-fix.patch"
+ patch -Np2 -i "${srcdir}/poppler-0.18.patch"
./reconf-all
##
@@ -677,7 +680,7 @@ package_gambas2-gb-pcre() {
}
package_gambas2-gb-pdf() {
- depends=('gambas2-runtime' 'poppler')
+ depends=('gambas2-runtime' 'poppler-glib')
pkgdesc="Gambas2 PDF component"
cd ${srcdir}/${pkgbase}-${pkgver}/gb.pdf
diff --git a/community/gambas2/poppler-0.18.patch b/community/gambas2/poppler-0.18.patch
new file mode 100644
index 000000000..fbcc430bf
--- /dev/null
+++ b/community/gambas2/poppler-0.18.patch
@@ -0,0 +1,40 @@
+--- gambas/trunk/gb.pdf/configure.ac 2010/07/14 01:50:18 3038
++++ gambas/trunk/gb.pdf/configure.ac 2011/08/09 10:43:30 3997
+@@ -22,6 +22,8 @@
+ AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_8, $((1-$?)), Poppler version >= 0.8)
+ pkg-config --atleast-version=0.11.3 poppler
+ AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_11_3, $((1-$?)), Poppler version >= 0.11.3)
++ pkg-config --atleast-version=0.17.0 poppler
++ AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_17, $((1-$?)), Poppler version >= 0.17)
+ fi
+
+ AC_OUTPUT( \
+
+--- gambas/trunk/gb.pdf/src/CPdfDocument.cpp 2011/06/03 00:51:09 3870
++++ gambas/trunk/gb.pdf/src/CPdfDocument.cpp 2011/08/09 10:43:30 3997
+@@ -44,6 +44,7 @@
+ #include <Outline.h>
+ #include <Link.h>
+ #include <Gfx.h>
++#include <glib/poppler-features.h>
+
+ /*****************************************************************************
+
+@@ -956,12 +957,17 @@
+ Bookmarks of a PDF page
+
+ ******************************************************************************/
++
+ void aux_fill_links(void *_object)
+ {
++ #if POPPLER_VERSION_0_17
++ THIS->links = new Links (THIS->page->getAnnots (THIS->doc->getCatalog()));
++ #else
+ Object obj;
+
+ THIS->links = new Links (THIS->page->getAnnots (&obj),THIS->doc->getCatalog()->getBaseURI ());
+ obj.free();
++ #endif
+ }
+
+ BEGIN_PROPERTY (PDFPAGELINKS_count)
diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD
index ee33c221c..50b0dacda 100644
--- a/community/gambas3/PKGBUILD
+++ b/community/gambas3/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 55911 2011-09-24 19:25:08Z lcarlier $
+# $Id: PKGBUILD 56945 2011-10-17 08:20:48Z ibiru $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgbase=gambas3
@@ -12,7 +12,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba
'gambas3-gb-pdf' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit'
'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal'
'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web')
-pkgver=2.99.4
+pkgver=2.99.5
pkgrel=1
pkgdesc="A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
@@ -27,7 +27,7 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils
options=('!emptydirs' '!makeflags')
source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2"
'gambas3-script.install' 'gambas3-runtime.install')
-md5sums=('4f918a701a862c7755b35d6eba988dad'
+md5sums=('dfa16f5208463e81ba8ca801948c353a'
'b284be39d147ec799f1116a6abc068b4'
'b5cc403990f31b8ea1c5cf37366d3d29')
@@ -424,6 +424,8 @@ package_gambas3-gb-form() {
make XDG_UTILS='' DESTDIR="${pkgdir}" install
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" install
##
cd ${srcdir}/${pkgbase}-${pkgver}/comp
@@ -434,6 +436,8 @@ package_gambas3-gb-form() {
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
rm -r ${pkgdir}/usr/share/gambas3/control/{gb.db*,gb.form.*,gb.report}
rm -r ${pkgdir}/usr/lib/gambas3/gb.{[c-e]*,[m-w]*,form.{d*,m*,s*}}
rm -r ${pkgdir}/usr/share/gambas3/info/gb.{[c-e]*,[m-w]*,form.{d*,m*,s*}}
@@ -449,6 +453,8 @@ package_gambas3-gb-form-dialog() {
make XDG_UTILS='' DESTDIR="${pkgdir}" install
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" install
##
cd ${srcdir}/${pkgbase}-${pkgver}/comp
@@ -459,6 +465,8 @@ package_gambas3-gb-form-dialog() {
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
rm -r ${pkgdir}/usr/share/gambas3/control
rm -r ${pkgdir}/usr/lib/gambas3/gb.{[c-e]*,[m-w]*,form.{c*,g*,m*,s*}}
rm -r ${pkgdir}/usr/share/gambas3/info/gb.{[c-e]*,[m-w]*,form.{i*,l*,m*,s*}}
@@ -474,6 +482,8 @@ package_gambas3-gb-form-mdi() {
make XDG_UTILS='' DESTDIR="${pkgdir}" install
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" install
##
cd ${srcdir}/${pkgbase}-${pkgver}/comp
@@ -484,6 +494,8 @@ package_gambas3-gb-form-mdi() {
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
rm -r ${pkgdir}/usr/share/gambas3/control/{gb.db*,gb.form,gb.report}
rm -r ${pkgdir}/usr/lib/gambas3/gb.{[c-e]*,[m-w]*,form.{c*,d*,g*,s*}}
rm -r ${pkgdir}/usr/share/gambas3/info/gb.{[c-e]*,[m-w]*,form.{i*,l*,d*,s*}}
@@ -497,6 +509,8 @@ package_gambas3-gb-form-stock() {
## Workaround for splitting
cd ${srcdir}/${pkgbase}-${pkgver}/main
make XDG_UTILS='' DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
+ make XDG_UTILS='' DESTDIR="${pkgdir}" install
##
cd ${srcdir}/${pkgbase}-${pkgver}/comp
@@ -505,7 +519,7 @@ package_gambas3-gb-form-stock() {
## Workaround for splitting
cd ${srcdir}/${pkgbase}-${pkgver}/main
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
- cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4
+ cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk
make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall
rm -r ${pkgdir}/usr/lib/gambas3/gb.{eval*,[m-w]*}
rm -r ${pkgdir}/usr/share/gambas3/info/gb.{eval*,[m-w]*}
diff --git a/community/gpsbabel/PKGBUILD b/community/gpsbabel/PKGBUILD
index 25f5551c9..f5fb0b6c6 100644
--- a/community/gpsbabel/PKGBUILD
+++ b/community/gpsbabel/PKGBUILD
@@ -1,30 +1,37 @@
-# $Id: PKGBUILD 38742 2011-01-31 16:53:59Z spupykin $
+# $Id: PKGBUILD 56961 2011-10-17 10:14:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=gpsbabel
pkgver=1.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="Reads, writes, and manipulates GPS waypoints in a variety of formats"
arch=('i686' 'x86_64')
url="http://www.gpsbabel.org"
license=('GPL')
depends=('libusb-compat' 'expat')
-makedepends=('fop')
+makedepends=('fop' 'qt' 'libxml2' 'libxslt')
+optdepends=('qt')
options=('docs')
source=(gpsbabel-$pkgver.tar.gz::http://archlinux-stuff.googlecode.com/files/gpsbabel-$pkgver.tar.gz)
md5sums=('76ea9f7852be2e98aa18976c4697ca93')
build() {
cd $srcdir/gpsbabel-$pkgver
- mkdir -p $pkgdir/usr/bin
./configure --prefix=/usr
-
make
make doc
+ (cd gui && qmake && make)
+}
+
+package() {
+ cd $srcdir/gpsbabel-$pkgver
make DESTDIR=$pkgdir install
+ # GUI
+ install -Dm755 gui/objects/gpsbabelfe-bin ${pkgdir}/usr/bin/gpsbabelfe-bin
+
# Header install
mkdir -p $pkgdir/usr/include/gpsbabel
cp {defs.h,queue.h,gbtypes.h,filterdefs.h,cet.h,cet_util.h,garmin_tables.h} \
diff --git a/community/grafx2/PKGBUILD b/community/grafx2/PKGBUILD
new file mode 100644
index 000000000..0eb3d0696
--- /dev/null
+++ b/community/grafx2/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Simon Parzer <simon.parzer@gmail.com>
+pkgname=grafx2
+pkgver=2.3
+pkgrel=1
+pkgdesc="Pixelart-oriented painting program (for pixling)"
+arch=('x86_64' 'i686')
+url="http://code.google.com/p/grafx2/"
+license=('GPL2')
+install=grafx2.install
+depends=('sdl_ttf' 'sdl_image' 'lua' 'desktop-file-utils')
+source=("http://grafx2.googlecode.com/files/${pkgname}-${pkgver}.1781-src.tgz"
+ "${pkgname}.desktop")
+md5sums=('916a35c4762e85b4210a1041fbbfd830'
+ '73d1cb00b7529de5cbab5c8f00640fbc')
+
+build() {
+ cd "${srcdir}/${pkgname}/src"
+
+ msg2 "Compiling..."
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/src"
+
+ msg2 "Packaging files..."
+ make prefix="/usr" DESTDIR="${pkgdir}" install
+ msg2 "Packaging shortcut..."
+ install -Dm644 "${srcdir}/${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ msg2 "Packaging documentation..."
+ install -Dm644 "${srcdir}/${pkgname}/doc/README.txt" \
+ "${pkgdir}/usr/share/doc/${pkgname}/readme.txt"
+ msg2 "Packaging license..."
+ install -Dm644 "${srcdir}/${pkgname}/doc/gpl-2.0.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ msg2 "Cleaning up..."
+ rmdir ${pkgdir}/usr/share/grafx2/scripts/libs
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/grafx2/grafx2.desktop b/community/grafx2/grafx2.desktop
new file mode 100644
index 000000000..fcd6e71fb
--- /dev/null
+++ b/community/grafx2/grafx2.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+GenericName=GrafX2
+Name=GrafX2
+Exec=grafx2 %U
+TryExec=grafx2
+Icon=grafx2
+Terminal=false
+Type=Application
+Categories=Graphics;2DGraphics;RasterGraphics;
+MimeType=image/bmp;image/gif;image/png;image/x-tga;image/tiff;
diff --git a/community/grafx2/grafx2.install b/community/grafx2/grafx2.install
new file mode 100644
index 000000000..ef816a666
--- /dev/null
+++ b/community/grafx2/grafx2.install
@@ -0,0 +1,14 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/gummi/PKGBUILD b/community/gummi/PKGBUILD
index 9a79506b8..dc4b902b2 100644
--- a/community/gummi/PKGBUILD
+++ b/community/gummi/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gummi
pkgver=0.5.8
-pkgrel=2
+pkgrel=3
pkgdesc='Simple LaTex editor for GTK users'
arch=('i686' 'x86_64')
url='http://gummi.midnightcoding.org/'
diff --git a/community/libfm/PKGBUILD b/community/libfm/PKGBUILD
new file mode 100644
index 000000000..e56647780
--- /dev/null
+++ b/community/libfm/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor: Unknown47 <unknown47r@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=libfm
+pkgver=0.1.16
+pkgrel=2
+pkgdesc="the core of next generation file manager PCManFM"
+url="http://pcmanfm.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+groups=('lxde')
+options=('!libtool')
+install=libfm.install
+depends=('gtk2' 'menu-cache' 'shared-mime-info' 'udisks' 'desktop-file-utils')
+source=(http://downloads.sourceforge.net/pcmanfm/$pkgname-$pkgver.tar.gz)
+md5sums=('c09bce415ff6dc2dd835e28aeddeabe3')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i -e "s|docs/Makefile docs/reference/Makefile docs/reference/libfm/Makefile ||" configure
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-udisks \
+ --with-gnu-ld
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/libfm/libfm.install b/community/libfm/libfm.install
new file mode 100644
index 000000000..076da308e
--- /dev/null
+++ b/community/libfm/libfm.install
@@ -0,0 +1,15 @@
+post_install() {
+ usr/bin/update-mime-database usr/share/mime > /dev/null
+ usr/bin/update-desktop-database -q
+ usr/bin/gio-querymodules usr/lib/gio/modules
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+
diff --git a/community/libmirage/PKGBUILD b/community/libmirage/PKGBUILD
index ae35a957a..b0d1ba02b 100644
--- a/community/libmirage/PKGBUILD
+++ b/community/libmirage/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 27101 2010-09-17 14:57:55Z mherych $
+# $Id: PKGBUILD 56986 2011-10-17 16:29:39Z bpiotrowski $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
pkgname=libmirage
-pkgver=1.3.0
+pkgver=1.4.0
pkgrel=1
pkgdesc="CD-ROM image (B6T/CCD/CDI/CUE/ISO/MDS/NRG/TOC) access library"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ depends=('glib2' 'libsndfile')
makedepends=('bison' 'flex')
source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz)
options=(!libtool)
-md5sums=('a223f9fd648e194c72f3809fbb0de63d')
+md5sums=('cd6cc75e1b76a0ef72821b30168c94d9')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/pcmanfm/PKGBUILD b/community/pcmanfm/PKGBUILD
new file mode 100644
index 000000000..0a7ef3a33
--- /dev/null
+++ b/community/pcmanfm/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Unknown47 <unknown47r@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=pcmanfm
+pkgver=0.9.9
+pkgrel=1
+pkgdesc="File manager of the LXDE Desktop"
+arch=('i686' 'x86_64')
+url="http://pcmanfm.sourceforge.net/"
+license=('GPL')
+groups=('lxde')
+depends=('gtk2' 'desktop-file-utils' 'libfm=0.1.16' 'lxmenu-data')
+makedepends=('intltool' 'pkgconfig')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.gz)
+md5sums=('f31ed6defb600f7046a456220d8efa3a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --sysconfdir=/etc --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/pdf2djvu/PKGBUILD b/community/pdf2djvu/PKGBUILD
index 468fc4c67..1daa3890a 100644
--- a/community/pdf2djvu/PKGBUILD
+++ b/community/pdf2djvu/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 45044 2011-04-14 15:13:18Z jelle $
+# $Id: PKGBUILD 56949 2011-10-17 08:21:01Z ibiru $
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
pkgname=pdf2djvu
-pkgver=0.7.7
+pkgver=0.7.11
pkgrel=1
pkgdesc="Creates DjVu files from PDF files"
arch=('i686' 'x86_64')
url="http://pdf2djvu.googlecode.com"
license=('GPL')
-depends=('poppler' 'djvulibre' 'libxslt')
+depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs')
makedepends=('pstreams')
source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
-md5sums=('85c594881ff864d5aceaa88e833d3107')
+md5sums=('cdc0cbb46512aaf7109d6ebc7aef1a7a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -25,3 +25,4 @@ package() {
make install DESTDIR=${pkgdir}
install -Dm644 doc/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1
}
+md5sums=('37c3d5a31c155bc65a39912da4c6bce1')
diff --git a/community/pdf2svg/PKGBUILD b/community/pdf2svg/PKGBUILD
index 9e149aa3c..c15c7af0f 100644
--- a/community/pdf2svg/PKGBUILD
+++ b/community/pdf2svg/PKGBUILD
@@ -4,14 +4,13 @@
pkgname=pdf2svg
pkgver=0.2.1
-pkgrel=5
-pkgdesc="A pdf to svg convertor"
+pkgrel=6
+pkgdesc="A pdf to svg converter"
arch=('i686' 'x86_64')
url="http://www.cityinthesky.co.uk/pdf2svg.html"
license=('GPL')
-depends=('poppler-glib')
-source=("http://www.cityinthesky.co.uk/files/$pkgname-$pkgver.tar.gz")
-md5sums=('59b3b9768166f73b77215e95d91f0a9d')
+depends=('poppler-glib' 'gtk2' 'glib2')
+source=("http://www.cityinthesky.co.uk/_media/opensource/$pkgname-$pkgver.tar.gz")
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -25,3 +24,4 @@ package() {
}
+md5sums=('59b3b9768166f73b77215e95d91f0a9d')
diff --git a/community/perl-xml-libxslt/PKGBUILD b/community/perl-xml-libxslt/PKGBUILD
index 708898b9e..4c0b21e74 100644
--- a/community/perl-xml-libxslt/PKGBUILD
+++ b/community/perl-xml-libxslt/PKGBUILD
@@ -1,30 +1,30 @@
-# Id:$
+# $Id: PKGBUILD 56997 2011-10-18 03:35:07Z ebelanger $
# Maintainer: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-xml-libxslt
-pkgver=1.70
-pkgrel=6
-pkgdesc="Interface to the gnome libxslt library "
+pkgver=1.73
+pkgrel=1
+pkgdesc="Interface to the gnome libxslt library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/XML-LibXSLT"
license=('GPL')
depends=('perl-xml-libxml' 'libxslt')
-source=(http://www.cpan.org/authors/id/P/PA/PAJAS/XML-LibXSLT-$pkgver.tar.gz)
-md5sums=('c63a7913999de076e5c911810f69b392')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz)
+md5sums=('99b372c85cae773a073d4387e305c29c')
build() {
- cd $srcdir/XML-LibXSLT-$pkgver
+ cd "$srcdir/XML-LibXSLT-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
-check () {
- cd $srcdir/XML-LibXSLT-$pkgver
+check() {
+ cd "$srcdir/XML-LibXSLT-$pkgver"
make test
}
package() {
- cd $srcdir/XML-LibXSLT-$pkgver
- make install DESTDIR=$pkgdir
+ cd "$srcdir/XML-LibXSLT-$pkgver"
+ make install DESTDIR="$pkgdir"
}
-
diff --git a/community/python2-cheetah/PKGBUILD b/community/python2-cheetah/PKGBUILD
new file mode 100755
index 000000000..24ba9e35d
--- /dev/null
+++ b/community/python2-cheetah/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 56977 2011-10-17 13:24:23Z jelle $
+# Contributor: James Rayner <james@archlinux.org>
+# Contributor: Todd Maynard <arch@toddmaynard.com>
+
+pkgname=python2-cheetah
+pkgver=2.4.4
+pkgrel=3
+pkgdesc="A Python-powered template engine and code generator"
+arch=('i686' 'x86_64')
+url="http://www.cheetahtemplate.org/"
+license=('custom')
+depends=('python2' 'python-markdown')
+makedepends=('python2-distribute')
+optdepends=('python2-pygments: for the CodeHighlighter filter')
+provides=('cheetah' 'python-cheetah')
+conflicts=('cheetah' 'python-cheetah')
+source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz)
+md5sums=('853917116e731afbc8c8a43c37e6ddba')
+
+build() {
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/Cheetah-${pkgver}"
+ python2 setup.py install --root="${pkgdir}"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ find $pkgdir/usr/lib/python2.7/site-packages/Cheetah/ -name '*.py' | \
+ xargs sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|"
+}
diff --git a/community/python2-poppler/PKGBUILD b/community/python2-poppler/PKGBUILD
index 5dae427ec..2b93c0bf0 100644
--- a/community/python2-poppler/PKGBUILD
+++ b/community/python2-poppler/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 42185 2011-03-15 10:57:39Z jelle $
+# $Id: PKGBUILD 56953 2011-10-17 08:21:15Z ibiru $
# Maintainer: Ray Rashif <schiv@archlinux.org
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=python2-poppler
_realname=pypoppler
pkgver=0.12.1
-pkgrel=4
+pkgrel=5
pkgdesc="Python 2.x bindings for Poppler"
arch=('i686' 'x86_64')
url="https://launchpad.net/poppler-python"
license=('GPL')
-depends=('pygtk' 'poppler-glib')
+depends=('pygtk' 'poppler-glib' 'glib2' 'freetype2')
provides=('pypoppler' 'python-poppler')
conflicts=('python-poppler')
replaces=('python-poppler')
-options=(!libtool force)
+options=(!libtool)
source=(http://launchpad.net/poppler-python/trunk/development/+download/$_realname-$pkgver.tar.gz
pypoppler-0.12.1-poppler-0.16.0.patch)
md5sums=('1a89e5ed3042afc81bbd4d02e0cf640a'
diff --git a/community/tnftp/PKGBUILD b/community/tnftp/PKGBUILD
index 1be576c02..6ca660613 100644
--- a/community/tnftp/PKGBUILD
+++ b/community/tnftp/PKGBUILD
@@ -1,24 +1,23 @@
-# $Id: PKGBUILD 20856 2010-07-12 13:13:46Z spupykin $
+# $Id: PKGBUILD 56963 2011-10-17 10:15:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com>
pkgname=tnftp
pkgver=20100108
-pkgrel=1
+pkgrel=2
pkgdesc="NetBSD FTP client with several advanced features"
arch=('i686' 'x86_64')
url="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
license=('BSD')
depends=('ncurses' 'dante')
-conflicts=('inetutils')
source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/$pkgname-$pkgver.tar.gz)
md5sums=('192aac255abd515d7d4cc9b397dc0cba')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --enable-editcomplete
- make || return 1
- make install DESTDIR=$pkgdir || return 1
+ make
+ make install DESTDIR=$pkgdir
install -Dm755 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
diff --git a/community/tvision/PKGBUILD b/community/tvision/PKGBUILD
index 2363dde33..a07df4e45 100644
--- a/community/tvision/PKGBUILD
+++ b/community/tvision/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 23701 2010-08-14 23:06:10Z spupykin $
+# $Id: PKGBUILD 57007 2011-10-18 03:49:00Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=tvision
pkgver=2.2.1_r1
-pkgrel=1
+pkgrel=2
pkgdesc="turbo vision library port (console interface)"
arch=(i686 x86_64)
url="http://tvision.sourceforge.net"
license=("GPL")
-depends=(gpm gcc-libs libxmu allegro)
+depends=(gpm gcc-libs libxmu)
options=('!makeflags')
source=("http://downloads.sourceforge.net/project/tvision/UNIX/2.2.1%20CVS20100714%20Source%20and%20Debian%205.0/rhtvision_${pkgver/_r/-}.tar.gz"
tvision-build-fix.patch)
@@ -18,10 +18,8 @@ md5sums=('46b815d86bbbb2f9b112b11f63e2f5a6'
build() {
cd $srcdir/$pkgname
-
patch -p1 <$srcdir/tvision-build-fix.patch
-
./configure --prefix=/usr --include=/usr/include
- make || return 1
+ make
make prefix=$pkgdir/usr install
}
diff --git a/community/zathura/PKGBUILD b/community/zathura/PKGBUILD
index 1bea4c391..9aef3ce41 100644
--- a/community/zathura/PKGBUILD
+++ b/community/zathura/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 54972 2011-08-29 09:50:03Z spupykin $
+# $Id: PKGBUILD 56955 2011-10-17 08:21:21Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ML <neldoreth>
pkgname=zathura
pkgver=0.0.8.4
-pkgrel=2
+pkgrel=4
pkgdesc="a PDF viewer"
arch=('i686' 'x86_64')
url="http://zathura.pwmt.org"
@@ -26,4 +26,6 @@ package() {
cd $srcdir/zathura-$pkgver
make install DESTDIR=$pkgdir
install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ mkdir -p $pkgdir/etc/bash_completion.d/
+ echo "complete -f -X '!*.[pf]df' zathura" >$pkgdir/etc/bash_completion.d/zathura
}