diff options
Diffstat (limited to 'community-staging')
33 files changed, 1645 insertions, 0 deletions
diff --git a/community-staging/compiz/PKGBUILD b/community-staging/compiz/PKGBUILD new file mode 100644 index 000000000..0d049ce7c --- /dev/null +++ b/community-staging/compiz/PKGBUILD @@ -0,0 +1,125 @@ +# $Id: PKGBUILD 17032 2010-05-17 11:13:51Z rvanharen $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Hussam Al-Tayeb ht990332@gmail.com +# Contributor: Khashayar Naderehvandi <khashayar [at] naderehvandi [dot] net> +# Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com> + +pkgbase=compiz +pkgname=('compiz-core' + 'compiz-decorator-kde' + 'compiz-decorator-gtk') +pkgver=0.8.8 +pkgrel=3 +pkgdesc="Composite manager for Aiglx and Xgl" +url="http://www.compiz.org/" +license=('GPL' 'LGPL' 'MIT') +arch=('i686' 'x86_64') +groups=('compiz' 'compiz-kde' 'compiz-gtk' 'compiz-fusion') +makedepends=('intltool' 'gnome-control-center' 'libwnck' 'kdebase-workspace' + 'startup-notification' 'librsvg' 'libgl' 'dbus' 'mesa' 'libxslt' 'fuse' 'metacity') +options=(!libtool !emptydirs) +conflicts=('compiz' 'compiz-core-git' 'compiz-git') +replaces=('compiz') +source=(http://releases.compiz.org/0.8.8/compiz-$pkgver.tar.gz compiz-build.patch) +sha1sums=('01d065db07f6fd6bcad51811ffba69221aff656e' + '148656352f8a20b3781ee185025c5c8d4b7d720f') + +build() +{ + cd "$srcdir/compiz-$pkgver" + patch -p1 -i ../compiz-build.patch + ./configure --prefix=/usr \ + --enable-gnome \ + --enable-gtk \ + --enable-metacity \ + --enable-gconf \ + --with-gconf-schema-file-dir=/etc/gconf/schemas \ + --enable-dbus \ + --enable-librsvg \ + --disable-kde \ + --enable-kde4 + + make +} + +package_compiz-core() +{ + + pkgdesc="Composite manager for Aiglx and Xgl" + depends=('startup-notification' 'librsvg' \ + 'libgl' 'dbus' 'mesa' 'libxslt' 'fuse') + + cd "$srcdir/compiz-$pkgver" + make DESTDIR="$pkgdir" install + + # remove stuff which is in one of the decorations + rm -rf "$pkgdir"/usr/bin/{gtk-window-decorator,kde4-window-decorator} + rm -rf "${pkgdir}"/usr/share/{applications,gnome,gnome-control-center} + rm -rf "${pkgdir}"/usr/lib/{window-manager-settings,pkgconfig/compiz-gconf.pc,compiz/libgconf*} + rm -rf "${pkgdir}"/etc + + # install MIT license + install -Dm644 "$srcdir/compiz-$pkgver/COPYING.MIT" \ + "$pkgdir/usr/share/licenses/compiz-core/COPYING.MIT" +} + +package_compiz-decorator-gtk() +{ + pkgdesc="Compiz decorator for GNOME" + depends=('gnome-control-center' 'libwnck' 'compiz-core' 'metacity') + install=compiz-decorator-gtk.install + + cd "$srcdir/compiz-$pkgver" + + pushd gtk + make DESTDIR="$pkgdir" install + install -Dm644 window-decorator/gwd.schemas \ + "$pkgdir/usr/share/gconf/schemas/gwd.schemas" + popd + + for i in dbus gconf ini inotify png regex svg glib kconfig + do + rm "$srcdir"/compiz-$pkgver/metadata/compiz-$i.schemas + done + + gconf-merge-schema \ + "${pkgdir}"/usr/share/gconf/schemas/compiz-decorator-gtk.schemas \ + "${srcdir}"/compiz-$pkgver/metadata/*.schemas + + make DESTDIR="$pkgdir" install + + # remove stuff which is in one of the other packages + rm -rf "${pkgdir}"/etc + rm -rf "$pkgdir"/usr/bin/{compiz,kde4-window-decorator} + rm -rf "$pkgdir"/usr/include + cd "$pkgdir"/usr/lib + rm libdecoration* + rm pkgconfig/{compiz-cube.pc,compiz-scale.pc,compiz.pc,libdecoration.pc} + cd "${pkgdir}"/usr/lib/compiz + rm $(ls --hide=*gconf*) + rm -rf "${pkgdir}"/usr/share/{compiz,locale} + + # install MIT license + install -Dm644 "$srcdir"/compiz-$pkgver/COPYING.MIT \ + "$pkgdir"/usr/share/licenses/compiz-decorator-gtk/COPYING.MIT +} + +package_compiz-decorator-kde() +{ + pkgdesc="Compiz decorator for KDE" + depends=('kdebase-workspace' 'compiz-core') + + cd "$srcdir"/compiz-$pkgver + make DESTDIR="$pkgdir" install + + # Let's remove stuff that are in compiz-core package or gtk decorator + rm -rf "$pkgdir"/usr/{include,lib} + rm -rf "$pkgdir"/usr/bin/{compiz,gtk-window-decorator} + rm -rf "${pkgdir}"/etc + rm -rf "${pkgdir}"/usr/share/{applications,gnome,gnome-control-center,locale,compiz} + + # install MIT license + install -Dm644 "$srcdir"/compiz-$pkgver/COPYING.MIT \ + "$pkgdir"/usr/share/licenses/compiz-decorator-kde/COPYING.MIT +} + diff --git a/community-staging/compiz/compiz-build.patch b/community-staging/compiz/compiz-build.patch new file mode 100644 index 000000000..f22a3fa21 --- /dev/null +++ b/community-staging/compiz/compiz-build.patch @@ -0,0 +1,18 @@ +diff -Naur compiz-0.8.8-orig/kde/window-decorator-kde4/window.cpp compiz-0.8.8/kde/window-decorator-kde4/window.cpp +--- compiz-0.8.8-orig/kde/window-decorator-kde4/window.cpp 2012-01-29 22:05:54.000000000 -0500 ++++ compiz-0.8.8/kde/window-decorator-kde4/window.cpp 2012-01-29 22:10:38.000000000 -0500 +@@ -986,10 +986,10 @@ + { + Atom atom = Atoms::compizWindowBlurDecor; + QRegion topQRegion, bottomQRegion, leftQRegion, rightQRegion; +- Region topRegion = NULL; +- Region bottomRegion = NULL; +- Region leftRegion = NULL; +- Region rightRegion = NULL; ++ ::Region topRegion = NULL; ++ ::Region bottomRegion = NULL; ++ ::Region leftRegion = NULL; ++ ::Region rightRegion = NULL; + int size = 0; + int w, h; + diff --git a/community-staging/compiz/compiz-decorator-gtk.install b/community-staging/compiz/compiz-decorator-gtk.install new file mode 100644 index 000000000..b3738fda9 --- /dev/null +++ b/community-staging/compiz/compiz-decorator-gtk.install @@ -0,0 +1,28 @@ +post_install() { + export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` + usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/gwd.schemas > /dev/null + usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/compiz-decorator-gtk.schemas > /dev/null + kill -s HUP `pidof usr/bin/gconfd-2` > /dev/null 2>&1 + update-desktop-database -q + +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` + usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/gconf/schemas/gwd.schemas >/dev/null + usr/bin/gconftool-2 --makefile-uninstall-rule usr/share/gconf/schemas/compiz-decorator-gtk.schemas > /dev/null +} + +post_remove() { + kill -s HUP `pidof usr/bin/gconfd-2` > /dev/null 2>&1 + update-desktop-database -q +} + diff --git a/community-staging/cwiid/PKGBUILD b/community-staging/cwiid/PKGBUILD new file mode 100644 index 000000000..89ecebc78 --- /dev/null +++ b/community-staging/cwiid/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 62957 2012-01-29 14:24:43Z jelle $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Wieland Hoffmann <the_mineo@web.de> +# Contributor: Birger Moellering <bmoellering@googlemail.com> + +pkgname=cwiid +pkgver=0.6.00 +pkgrel=10 +pkgdesc="Linux Nintendo Wiimote interface" +arch=('i686' 'x86_64') +url="http://abstrakraft.org/cwiid" +depends=('bluez' 'gtk2' 'python2') +makedepends=('flex' 'bison') +license=('GPL') +install=cwiid.install +source=("http://abstrakraft.org/cwiid/downloads/$pkgname-$pkgver.tgz" + 'bluez4.patch') +md5sums=('8d574afdeedc5e5309c87a72d744316a' + '19b288723d1f2b97a3e5288ab9de3313') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # bluez v4 compatibility + patch -Np1 -i "$srcdir/bluez4.patch" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-ldconfig \ + --with-python=python2 + + LDFLAGS+="$(pkg-config --libs bluez) -lrt -pthread" make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + chmod 644 "$pkgdir/usr/lib/libcwiid.a" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/cwiid/bluez4.patch b/community-staging/cwiid/bluez4.patch new file mode 100644 index 000000000..dbbc790c5 --- /dev/null +++ b/community-staging/cwiid/bluez4.patch @@ -0,0 +1,11 @@ +--- cwiid-0.6.00.orig/libcwiid/bluetooth.c.old 2008-09-30 16:52:55.000000000 -0500 ++++ cwiid-0.6.00.orig/libcwiid/bluetooth.c 2008-09-30 16:53:19.000000000 -0500 +@@ -122,7 +122,7 @@ + } + + /* timeout (10000) in milliseconds */ +- if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, ++ if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, + (*bdinfo)[bdinfo_count].name, 10000)) { + cwiid_err(NULL, "Bluetooth name read error"); + err = 1; diff --git a/community-staging/cwiid/cwiid.install b/community-staging/cwiid/cwiid.install new file mode 100644 index 000000000..05e698be7 --- /dev/null +++ b/community-staging/cwiid/cwiid.install @@ -0,0 +1,10 @@ +post_install() { + echo "==> In order to use wminput ensure you load the uinput kernel" + echo "==> module and have assigned correct access to /dev/uinput" +} + +post_upgrade() { + post_install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/emerald/PKGBUILD b/community-staging/emerald/PKGBUILD new file mode 100644 index 000000000..ced82dae0 --- /dev/null +++ b/community-staging/emerald/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 62984 2012-01-30 04:32:09Z ebelanger $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com> +# Contributor: nesl247 <nesl247@gmail.com> + +pkgname=emerald +pkgver=0.8.8 +pkgrel=2 +pkgdesc="Emerald window decorator" +arch=('i686' 'x86_64') +url="http://www.compiz.org" +license=('GPL') +depends=('compiz-core' 'libwnck' 'gtk2' 'libxres' 'shared-mime-info' 'xdg-utils' \ + 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool' 'pkg-config' 'gettext') +groups=('compiz-fusion' 'compiz-fusion-kde' 'compiz-fusion-gtk') +options=(!libtool) +conflicts=('emerald-git') +install=emerald.install +source=(http://releases.compiz-fusion.org/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('a5deb2ae135d1c4dac7b57b2a0415f320ae7c0aa') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + LIBS+="-lm -ldl" ./configure --prefix=/usr + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community-staging/emerald/deprecated_symbols.patch b/community-staging/emerald/deprecated_symbols.patch new file mode 100644 index 000000000..b32ce154a --- /dev/null +++ b/community-staging/emerald/deprecated_symbols.patch @@ -0,0 +1,114 @@ +From 30e3d45437b4285818ec016905151390c9604441 Mon Sep 17 00:00:00 2001 +From: ShadowKyogre <shadowkyogre@aim.com> +Date: Fri, 05 Nov 2010 01:53:24 +0000 +Subject: Fix deprecated symbols and incorrect decoration property setting + +--- +diff --git a/src/main.c b/src/main.c +index 5f0ec35..150da99 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -27,8 +27,8 @@ + #include <emerald.h> + #include <engine.h> + +-#define BASE_PROP_SIZE 12 +-#define QUAD_PROP_SIZE 9 ++//#define BASE_PROP_SIZE 12 ++//#define QUAD_PROP_SIZE 9 + + #ifndef DECOR_INTERFACE_VERSION + #define DECOR_INTERFACE_VERSION 0 +@@ -2457,7 +2457,7 @@ static gboolean get_window_prop(Window xwindow, Atom atom, Window * val) + gdk_error_trap_push(); + + type = None; +- result = XGetWindowProperty(gdk_display, ++ result = XGetWindowProperty(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), + xwindow, + atom, + 0, G_MAXLONG, +@@ -4246,10 +4246,10 @@ static void force_quit_dialog_realize(GtkWidget * dialog, void *data) + WnckWindow *win = data; + + gdk_error_trap_push(); +- XSetTransientForHint(gdk_display, ++ XSetTransientForHint(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), + GDK_WINDOW_XID(dialog->window), + wnck_window_get_xid(win)); +- XSync(gdk_display, FALSE); ++ XSync(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), FALSE); + gdk_error_trap_pop(); + } + +@@ -4262,11 +4262,11 @@ static char *get_client_machine(Window xwindow) + int format, result; + char *retval; + +- atom = XInternAtom(gdk_display, "WM_CLIENT_MACHINE", FALSE); ++ atom = XInternAtom(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), "WM_CLIENT_MACHINE", FALSE); + + gdk_error_trap_push(); + +- result = XGetWindowProperty(gdk_display, ++ result = XGetWindowProperty(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), + xwindow, atom, + 0, G_MAXLONG, + FALSE, XA_STRING, &type, &format, &nitems, +@@ -4318,8 +4318,8 @@ static void kill_window(WnckWindow * win) + } + + gdk_error_trap_push(); +- XKillClient(gdk_display, wnck_window_get_xid(win)); +- XSync(gdk_display, FALSE); ++ XKillClient(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), wnck_window_get_xid(win)); ++ XSync(GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), FALSE); + gdk_error_trap_pop(); + } + +@@ -4739,7 +4739,7 @@ static XFixed *create_gaussian_kernel(double radius, + + static int update_shadow(frame_settings * fs) + { +- Display *xdisplay = gdk_display; ++ Display *xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()); + XRenderPictFormat *format; + GdkPixmap *pixmap; + Picture src, dst, tmp; +-- +cgit v0.8.3.1-30-gff3a + +--- a/src/main.c.old 2010-12-07 19:56:08.633333370 +0100 ++++ a/src/main.c 2010-12-07 19:56:39.273333379 +0100 +@@ -3757,7 +3757,7 @@ + + static void hide_tooltip(void) + { +- if (GTK_WIDGET_VISIBLE(tip_window)) ++ if (gtk_widget_get_visible (tip_window)) + g_get_current_time(&tooltip_last_popdown); + + gtk_widget_hide(tip_window); + +--- emerald-0.8.4/libengine/themer.c 2009-10-13 20:56:23.000000000 -0400 ++++ emerald-0.8.4.new/libengine/themer.c 2010-03-10 +01:20:03.046827674 -0500 +@@ -461,7 +461,7 @@ + } + gdouble get_float(SettingItem * item) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + return gtk_spin_button_get_value((GtkSpinButton *)item->widget); + } + else { +@@ -647,7 +647,7 @@ + } + void set_float(SettingItem * item, gdouble f) + { +- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { ++ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) { + gtk_spin_button_set_value((GtkSpinButton *)item->widget, f); + } + else { + diff --git a/community-staging/emerald/emerald.install b/community-staging/emerald/emerald.install new file mode 100644 index 000000000..c2fa624ae --- /dev/null +++ b/community-staging/emerald/emerald.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-staging/flowcanvas/PKGBUILD b/community-staging/flowcanvas/PKGBUILD new file mode 100644 index 000000000..fe31327e7 --- /dev/null +++ b/community-staging/flowcanvas/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62969 2012-01-29 17:00:37Z svenstaro $ +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: Max a.k.a. Synthead <synthead@gmail.com> +# Contributor: christhemonkey <christhemonkey at gmail dot com> + +pkgname=flowcanvas +pkgver=0.7.1 +pkgrel=3 +pkgdesc="Gtkmm/Gnomecanvasmm widget for boxes-and-lines style environments" +arch=('i686' 'x86_64') +url="http://drobilla.net/software/flowcanvas/" +depends=('libgnomecanvasmm' 'graphviz') +makedepends=('boost' 'python2') +license=('GPL') +install=$pkgname.install +source=(http://download.drobilla.net/$pkgname-$pkgver.tar.bz2) +md5sums=('a4908f6385ce9fd2ce97c8caa823f053') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + python2 waf configure --prefix=/usr + python2 waf build $MAKEFLAGS +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python2 waf install --destdir="$pkgdir" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/flowcanvas/flowcanvas.install b/community-staging/flowcanvas/flowcanvas.install new file mode 100644 index 000000000..dbd9898d3 --- /dev/null +++ b/community-staging/flowcanvas/flowcanvas.install @@ -0,0 +1,13 @@ +post_install() { + \ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/gdal/PKGBUILD b/community-staging/gdal/PKGBUILD new file mode 100644 index 000000000..67efe927c --- /dev/null +++ b/community-staging/gdal/PKGBUILD @@ -0,0 +1,63 @@ +# $Id: PKGBUILD 62931 2012-01-29 11:24:59Z svenstaro $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=gdal +pkgver=1.9.0 +pkgrel=1 +pkgdesc="A translator library for raster geospatial data formats" +arch=('i686' 'x86_64') +url="http://www.gdal.org/" +license=('custom') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite3' 'libmysqlclient' 'postgresql-libs') +makedepends=('perl' 'swig') +optdepends=('postgresql: postgresql database support' + 'mysql: mysql database support' + 'perl: perl binding support' + 'swig: perl binding support') +options=('!libtool') +changelog=$pkgname.changelog +source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz + gdal-1.5.1-python-install.patch) +md5sums=('1853f3d8eb5232ae030abe007840cade' + '81afc1c26d29cee84aadb6924fe33861') + +build() { + export CFLAGS="$CFLAGS -fno-strict-aliasing" + + # bug 23654 + export LDFLAGS="$LDFLAGS -Wl,--as-needed" + + cd ${srcdir}/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + +# python2 fixes + sed -i 's_python python1.5_python2 python python1.5_' configure + for file in swig/python/{,osgeo/,samples/,scripts/}*.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + ./configure --prefix=/usr --with-netcdf --with-libtiff --with-sqlite3 \ + --with-geotiff --with-mysql --with-python --without-libtool --with-curl \ + --with-hdf5 --with-perl --with-geos --with-png + +# workaround for bug #13646 + sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt + sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile + install -d ${pkgdir}/usr/lib/python2.7/site-packages/ + + make +} + +package () { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install + +# install license + install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + +#FS15477 clean up junks + rm -f ${pkgdir}/usr/bin/*.dox +} diff --git a/community-staging/gdal/gdal-1.5.1-python-install.patch b/community-staging/gdal/gdal-1.5.1-python-install.patch new file mode 100644 index 000000000..8ec414d37 --- /dev/null +++ b/community-staging/gdal/gdal-1.5.1-python-install.patch @@ -0,0 +1,10 @@ +--- swig/python/GNUmakefile.orig 2010-04-24 01:22:07.000000000 +0200 ++++ swig/python/GNUmakefile 2010-05-05 19:14:58.000000000 +0200 +@@ -72,5 +72,5 @@ + ifeq ($(PY_HAVE_SETUPTOOLS),1) +- $(PYTHON) setup.py install ++ $(PYTHON) setup.py install --root=$(DESTDIR) + else +- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++ $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix) + endif diff --git a/community-staging/gdal/gdal.changelog b/community-staging/gdal/gdal.changelog new file mode 100644 index 000000000..c31121e1d --- /dev/null +++ b/community-staging/gdal/gdal.changelog @@ -0,0 +1,11 @@ +2011-02-19 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * gdal 1.8.0-1 + +2010-11-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.7.3 + +2010-06-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * FS#19946 fixed in 1.7.2-2 + +2010-05-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 1.7.2 diff --git a/community-staging/gliv/PKGBUILD b/community-staging/gliv/PKGBUILD new file mode 100644 index 000000000..157adabfb --- /dev/null +++ b/community-staging/gliv/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# Contributor: Ewoud Nuyts <ewoud.nuyts@gmail.com> + +pkgname=gliv +pkgver=1.9.7 +pkgrel=2 +pkgdesc="OpenGL image viewer" +arch=('i686' 'x86_64') +url="http://guichaz.free.fr/gliv/" +license=('GPL') +depends=('gtkglext') +changelog=$pkgname.changelog +source=(http://guichaz.free.fr/gliv/files/${pkgname}-${pkgver}.tar.bz2) +md5sums=('5f0fafaf41651da8882e88b3df062d02') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --mandir=/usr/share/man + sed -i 's:pixmaps |:pixmaps $(datadir)/applications |:;s:vendor=gnome:vendor=gnome --dir=$(datadir)/applications:' Makefile + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/gliv/gliv.changelog b/community-staging/gliv/gliv.changelog new file mode 100644 index 000000000..9b37dd5a9 --- /dev/null +++ b/community-staging/gliv/gliv.changelog @@ -0,0 +1,5 @@ +2010-12-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * gliv-1.9.7-1 + +2010-11-14 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * FS#21710 fixed in gliv-1.9.6-3 diff --git a/community-staging/hatari/PKGBUILD b/community-staging/hatari/PKGBUILD new file mode 100644 index 000000000..5127f3c2e --- /dev/null +++ b/community-staging/hatari/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 62935 2012-01-29 11:52:39Z svenstaro $ +# Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw> + +pkgname=hatari +pkgver=1.5.0 +pkgrel=2 +pkgdesc='An Atari ST and STE emulator' +arch=('i686' 'x86_64') +url='http://hatari.sourceforge.net/' +license=('GPL') +depends=('sdl' 'libpng') +makedepends=('cmake') +source=("http://download.berlios.de/hatari/${pkgname}-${pkgver}.tar.bz2") +md5sums=('16277cff73ec3a342b87b7b7ea3932f4') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/libgtksourceviewmm2/PKGBUILD b/community-staging/libgtksourceviewmm2/PKGBUILD new file mode 100644 index 000000000..0e7cd6e6b --- /dev/null +++ b/community-staging/libgtksourceviewmm2/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 62937 2012-01-29 11:55:17Z svenstaro $ +# Maintainer: Roman Kyrylych <roman@archlinux.org> +# Contributor: Roman Kyrylych <roman@archlinux.org> + +pkgname=libgtksourceviewmm2 +pkgver=2.10.1 +pkgrel=2 +pkgdesc='A C++ API for gtksourceview2' +arch=('i686' 'x86_64') +url='http://projects.gnome.org/gtksourceviewmm/' +license=('LGPL') +depends=('gtkmm' 'gtksourceview2') +makedepends=('doxygen' 'glibmm-docs') +options=('!libtool' '!emptydirs') +source=("http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.10/gtksourceviewmm-$pkgver.tar.bz2") +md5sums=('83d1b3dc061f02f4ff1766b37302058e') + +build() { + cd gtksourceviewmm-${pkgver} + + ./configure \ + --prefix=/usr + + make +} + +package() { + cd gtksourceviewmm-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-staging/performous/PKGBUILD b/community-staging/performous/PKGBUILD new file mode 100644 index 000000000..b9666e40a --- /dev/null +++ b/community-staging/performous/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 62921 2012-01-29 09:00:49Z lcarlier $ +# Maintainer : Laurent Carlier <lordheavym@gmail.com> +# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> + +pkgname=performous +pkgver=0.6.1 +pkgrel=12 +pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"' +arch=('i686' 'x86_64') +url="http://performous.org/" +license=('GPL') +depends=('boost-libs>=1.48' 'imagemagick' 'glew>=1.7.0' 'libxml++' 'portaudio' 'portmidi' 'opencv' 'librsvg') +#depends=('boost-libs>=1.48' 'sdl' 'jack' 'imagemagick' 'ffmpeg' 'glew>=1.7.0' 'libxml++' 'portaudio' 'portmidi' \ +# 'opencv' 'librsvg' 'libjpeg' 'libpng' 'cairo') +makedepends=('cmake' 'pkgconfig' 'help2man' 'boost>=1.48') +optdepends=('performous-freesongs: free songs for performous') +source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/Performous-$pkgver-Source.tar.bz2 + boost-filesystem-v3.patch + ffmpeg-0.8.patch::"http://performous.git.sourceforge.net/git/gitweb.cgi?p=performous/performous;a=patch;h=18449f6e56451f68b980c8359a4d1dc06f82db1a" + png15.patch) +md5sums=('451a759de77984b5a699e91107fe52e2' + '42a8c825d80b0de16bd5752d2a80e585' + 'ff0ffa681dfaa09c4f42133a65309bf0' + '89157d5e21b0efd09fcbeee299d23c7e') + +build() { + cd ${srcdir}/Performous-${pkgver}-Source + + # fix to built against boost 1.46 and later, upstream (git) now support v3 + patch -Np1 -i ../boost-filesystem-v3.patch + # fix with ffmpeg-0.8 + patch -Np1 -i ../ffmpeg-0.8.patch + # fix for libpng 1.5 + patch -Np1 -i ../png15.patch + + mkdir -p build + cd build + + # fix config loading with libxml++ + export LDFLAGS=${LDFLAGS/-Wl,--as-needed/} + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr .. + + make +} + +package() { + cd ${srcdir}/Performous-${pkgver}-Source/build + + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/performous/boost-filesystem-v3.patch b/community-staging/performous/boost-filesystem-v3.patch new file mode 100644 index 000000000..22dd07213 --- /dev/null +++ b/community-staging/performous/boost-filesystem-v3.patch @@ -0,0 +1,135 @@ +diff --git a/game/backgrounds.cc b/game/backgrounds.cc +index 7fd3cd0..cdedefb 100644 +--- a/game/backgrounds.cc ++++ b/game/backgrounds.cc +@@ -55,8 +55,13 @@ void Backgrounds::reload_internal(fs::path const& parent) { + for (fs::directory_iterator dirIt(parent), dirEnd; m_loading && dirIt != dirEnd; ++dirIt) { + fs::path p = dirIt->path(); + if (fs::is_directory(p)) { reload_internal(p); continue; } ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string name = p.leaf(); // File basename + std::string path = p.directory_string(); // Path without filename ++#else ++ std::string name = p.filename().string(); // File basename ++ std::string path = p.string(); // Path without filename ++#endif + path.erase(path.size() - name.size()); + if (!regex_match(name.c_str(), match, expression)) continue; + { +diff --git a/game/cache.cc b/game/cache.cc +index 69974e2..0f1edd0 100644 +--- a/game/cache.cc ++++ b/game/cache.cc +@@ -9,7 +9,11 @@ namespace cache { + fs::path constructSVGCacheFileName(fs::path const& svgfilename, double factor){ + fs::path cache_filename; + std::string const lod = (boost::format("%.2f") % factor).str(); ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string const cache_basename = svgfilename.filename() + ".cache_" + lod + ".png"; ++#else ++ std::string const cache_basename = svgfilename.filename().string() + ".cache_" + lod + ".png"; ++#endif + + if (isThemeResource(svgfilename)) { + std::string const theme_name = (config["game/theme"].s().empty() ? "default" : config["game/theme"].s()); +diff --git a/game/filemagic.hh b/game/filemagic.hh +index bf87ded..29e81fe 100644 +--- a/game/filemagic.hh ++++ b/game/filemagic.hh +@@ -71,7 +71,11 @@ namespace filemagic { + // For now, just check the extension an assume it's not lying. + + // Get file extension in lower case ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string ext = filename.extension(); ++#else ++ std::string ext = filename.extension().string(); ++#endif + // somehow this does not convert the extension to lower case: + //std::for_each(ext.begin(), ext.end(), static_cast<int(*)(int)>(std::tolower)); + std::transform(ext.begin(), ext.end(), ext.begin(), ::tolower ); +diff --git a/game/fs.cc b/game/fs.cc +index e34a784..767a7ab 100644 +--- a/game/fs.cc ++++ b/game/fs.cc +@@ -128,7 +128,11 @@ std::string getThemePath(std::string const& filename) { + + bool isThemeResource(fs::path filename){ + try { ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string themefile = getThemePath(filename.filename()); ++#else ++ std::string themefile = getThemePath(filename.filename().string()); ++#endif + return themefile == filename; + } catch (...) { return false; } + } +diff --git a/game/songparser-ini.cc b/game/songparser-ini.cc +index 38e163b..db15d79 100644 +--- a/game/songparser-ini.cc ++++ b/game/songparser-ini.cc +@@ -104,7 +104,11 @@ void SongParser::iniParseHeader() { + // Search the dir for the music files + for (boost::filesystem::directory_iterator dirIt(s.path), dirEnd; dirIt != dirEnd; ++dirIt) { + boost::filesystem::path p = dirIt->path(); ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string name = p.leaf(); // File basename (notes.txt) ++#else ++ std::string name = p.filename().string(); // File basename (notes.txt) ++#endif + if (regex_match(name.c_str(), match, midifile)) { + s.midifilename = name; + } else if (regex_match(name.c_str(), match, audiofile_background)) { +diff --git a/game/songparser.cc b/game/songparser.cc +index 2b7b9b4..ac9f3f6 100644 +--- a/game/songparser.cc ++++ b/game/songparser.cc +@@ -100,7 +100,11 @@ SongParser::SongParser(Song& s): + + for (boost::filesystem::directory_iterator dirIt(s.path), dirEnd; dirIt != dirEnd; ++dirIt) { + boost::filesystem::path p = dirIt->path(); ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string name = p.leaf(); // File basename ++#else ++ std::string name = p.filename().string(); // File basename ++#endif + if (m_song.cover.empty() && regex_match(name.c_str(), match, coverfile)) { + m_song.cover = name; + } else if (m_song.background.empty() && regex_match(name.c_str(), match, backgroundfile)) { +diff --git a/game/songs.cc b/game/songs.cc +index 62ab26d..afab383 100644 +--- a/game/songs.cc ++++ b/game/songs.cc +@@ -67,8 +67,13 @@ void Songs::reload_internal(fs::path const& parent) { + for (fs::directory_iterator dirIt(parent), dirEnd; m_loading && dirIt != dirEnd; ++dirIt) { + fs::path p = dirIt->path(); + if (fs::is_directory(p)) { reload_internal(p); continue; } ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string name = p.leaf(); // File basename (notes.txt) + std::string path = p.directory_string(); // Path without filename ++#else ++ std::string name = p.filename().string(); // File basename (notes.txt) ++ std::string path = p.string(); // Path without filename ++#endif + path.erase(path.size() - name.size()); + if (!regex_match(name.c_str(), match, expression)) continue; + try { +diff --git a/tools/ss_helpers.hh b/tools/ss_helpers.hh +index 58e19dc..8895d94 100644 +--- a/tools/ss_helpers.hh ++++ b/tools/ss_helpers.hh +@@ -10,7 +10,11 @@ extern "C" void xmlLogger(void* logger, char const* msg, ...) { if (logger) *(st + void enableXMLLogger(std::ostream& os = std::cerr) { xmlSetGenericErrorFunc(&os, xmlLogger); } + void disableXMLLogger() { xmlSetGenericErrorFunc(NULL, xmlLogger); } + ++#if BOOST_FILESYSTEM_VERSION < 3 + std::string filename(boost::filesystem::path const& p) { return *--p.end(); } ++#else ++std::string filename(boost::filesystem::path const& p) { return p.filename().string(); } ++#endif + + /** Fix Singstar's b0rked XML **/ + std::string xmlFix(std::vector<char> const& data) { +-- +1.7.4.1 + diff --git a/community-staging/performous/png15.patch b/community-staging/performous/png15.patch new file mode 100644 index 000000000..b6fb8fb14 --- /dev/null +++ b/community-staging/performous/png15.patch @@ -0,0 +1,33 @@ +diff -ur Performous-0.6.1-Source/cmake/Modules/FindPng.cmake Performous-0.6.1a-Source/cmake/Modules/FindPng.cmake +--- Performous-0.6.1-Source/cmake/Modules/FindPng.cmake 2010-10-31 17:05:44.000000000 +0100 ++++ Performous-0.6.1a-Source/cmake/Modules/FindPng.cmake 2012-01-29 01:07:56.339648832 +0100 +@@ -10,7 +10,7 @@ + + include(LibFindMacros) + +-libfind_pkg_check_modules(Png_PKGCONF Png) ++libfind_pkg_check_modules(Png_PKGCONF libpng) + + find_path(Png_INCLUDE_DIR + NAMES pngconf.h +@@ -18,7 +18,7 @@ + ) + + find_library(Png_LIBRARY +- NAMES png png12 png14 ++ NAMES png png12 png14 png15 + PATHS ${Png_PKGCONF_LIBRARY_DIRS} + ) + +diff -ur Performous-0.6.1-Source/game/image.hh Performous-0.6.1a-Source/game/image.hh +--- Performous-0.6.1-Source/game/image.hh 2010-10-31 17:05:43.000000000 +0100 ++++ Performous-0.6.1a-Source/game/image.hh 2012-01-29 01:44:16.050575186 +0100 +@@ -26,7 +26,7 @@ + } + void loadPNG_internal(png_structp pngPtr, png_infop infoPtr, std::ifstream& file, std::vector<unsigned char>& image, std::vector<png_bytep>& rows, unsigned& w, unsigned& h) { + if (setjmp(png_jmpbuf(pngPtr))) throw std::runtime_error("Reading PNG failed"); +- png_set_read_fn(pngPtr,(voidp)&file, readPngHelper); ++ png_set_read_fn(pngPtr, &file, readPngHelper); + png_read_info(pngPtr, infoPtr); + png_set_expand(pngPtr); // Expand everything to RGB(A) + png_set_strip_16(pngPtr); // Strip everything down to 8 bit/component diff --git a/community-staging/pidgin-libnotify/PKGBUILD b/community-staging/pidgin-libnotify/PKGBUILD new file mode 100644 index 000000000..500f5d532 --- /dev/null +++ b/community-staging/pidgin-libnotify/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com> +# Contributor: Hugo Doria <hugodoria@gmail.com> +# Contributor pidgin-libnotify: 3ED <kas1987@o2.pl> + +pkgname=pidgin-libnotify +pkgver=0.14 +pkgrel=5 +arch=('i686' 'x86_64') +pkgdesc="pidgin plugin that enables popups when someone logs in or messages you." +url="http://gaim-libnotify.sourceforge.net/" +license=('GPL') +depends=('pidgin' 'libnotify' 'perlxml' 'gettext' 'notification-daemon') +makedepends=('libtool' 'intltool') +replaces=('gaim-libnotify') +options=(!libtool) +source=(http://downloads.sourceforge.net/sourceforge/gaim-libnotify/$pkgname-$pkgver.tar.gz language_fixes.patch + pidgin-libnotify-0.14-libnotify-0.7.patch) +md5sums=('bfb5368b69c02d429b2b17c00a6673c0' + 'e9bdbb3c7faa61f062fc64277457b6c0' + '05538625f14d9f2c12adae5fa6a1fa26') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir/language_fixes.patch" + patch -p0 -i "$srcdir/pidgin-libnotify-0.14-libnotify-0.7.patch" + ./configure --prefix=/usr --disable-deprecated --disable-static + make + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/pidgin-libnotify/language_fixes.patch b/community-staging/pidgin-libnotify/language_fixes.patch new file mode 100644 index 000000000..6898b0483 --- /dev/null +++ b/community-staging/pidgin-libnotify/language_fixes.patch @@ -0,0 +1,536 @@ +diff -Naur pidgin-libnotify-0.14/po/de.po pidgin-libnotify-0.14/po-new/de.po +--- pidgin-libnotify-0.14/po/de.po 2010-03-09 18:20:47.365124617 +0100 ++++ pidgin-libnotify-0.14/po-new/de.po 2010-03-09 18:02:40.715216935 +0100 +@@ -48,7 +48,7 @@ + #: src/pidgin-libnotify.c:379 + #, c-format + msgid "%s signed off" +-msgstr "%s hat sich angemeldet" ++msgstr "%s hat sich abgemeldet" + + #: src/pidgin-libnotify.c:406 + #, c-format +diff -Naur pidgin-libnotify-0.14/po/et.po pidgin-libnotify-0.14/po-new/et.po +--- pidgin-libnotify-0.14/po/et.po 1970-01-01 01:00:00.000000000 +0100 ++++ pidgin-libnotify-0.14/po-new/et.po 2010-03-09 18:14:58.831811232 +0100 +@@ -0,0 +1,80 @@ ++# Pidgin-libnotify translation to Estonian language. ++# Copyright (C) 2009 The Gnome Translation Team. ++# This file is distributed under the same license as the pidgin-libnotify package. ++# Mattias Põldaru <mahfiaz gmail com>, 2009. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: Pdgin Libnotify\n" ++"Report-Msgid-Bugs-To: \n" ++"POT-Creation-Date: 2009-03-23 11:04+0200\n" ++"PO-Revision-Date: 2009-03-23 11:09+0300\n" ++"Last-Translator: Mattias Põldaru <mahfiaz gmail com>\n" ++"Language-Team: Gnome Estonian Translation Team <gnome-et@linux.ee>\n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=UTF-8\n" ++"Content-Transfer-Encoding: 8bit\n" ++"Plural-Forms: nplurals=2; plural = n!=1;\n" ++"X-Poedit-Language: Estonian\n" ++ ++#: ../src/pidgin-libnotify.c:57 ++msgid "New messages" ++msgstr "Uutele sõnumitele" ++ ++#: ../src/pidgin-libnotify.c:62 ++msgid "Only new conversations" ++msgstr "Ainult uutele vestlustele" ++ ++#: ../src/pidgin-libnotify.c:67 ++msgid "Ignore events from blocked users" ++msgstr "Blokitud kasutajaid eiratakse" ++ ++#: ../src/pidgin-libnotify.c:72 ++msgid "Buddy signs on" ++msgstr "Sõber logib sisse" ++ ++#: ../src/pidgin-libnotify.c:77 ++msgid "Buddy signs off" ++msgstr "Sõber logib välja" ++ ++#: ../src/pidgin-libnotify.c:82 ++msgid "Only when available" ++msgstr "Ainult siis, kui olekuks on saadaval" ++ ++#: ../src/pidgin-libnotify.c:320 ++msgid "Show" ++msgstr "Näita" ++ ++#: ../src/pidgin-libnotify.c:352 ++#, c-format ++msgid "%s signed on" ++msgstr "%s logis sisse" ++ ++#: ../src/pidgin-libnotify.c:384 ++#, c-format ++msgid "%s signed off" ++msgstr "%s logis välja" ++ ++#: ../src/pidgin-libnotify.c:411 ++#, c-format ++msgid "%s says:" ++msgstr "%s ütleb:" ++ ++#: ../src/pidgin-libnotify.c:577 ++msgid "Libnotify Popups" ++msgstr "Libnotify hüpikaknad" ++ ++#: ../src/pidgin-libnotify.c:578 ++msgid "Displays popups via libnotify." ++msgstr "Kuvab hüpikaknaid kasutades libnotify'd." ++ ++#: ../src/pidgin-libnotify.c:579 ++msgid "" ++"Pidgin-libnotify:\n" ++"Displays popups via libnotify." ++msgstr "" ++"Pidgin-libnotify:\n" ++"Kuvab hüpikaknaid kasutades libnotify'd." ++ ++ ++ +diff -Naur pidgin-libnotify-0.14/po/hu.po pidgin-libnotify-0.14/po-new/hu.po +--- pidgin-libnotify-0.14/po/hu.po 2007-06-30 20:53:22.000000000 +0200 ++++ pidgin-libnotify-0.14/po-new/hu.po 2010-03-09 18:13:38.721834227 +0100 +@@ -1,8 +1,7 @@ + msgid "" + msgstr "" +-"Project-Id-Version: \n" +-"Report-Msgid-Bugs-To: \n" +-"POT-Creation-Date: 2007-06-30 19:58+0000\n" ++"Project-Id-Version: pidgin-libnotify\n" ++"POT-Creation-Date: \n" + "PO-Revision-Date: 2006-11-01 18:33+0100\n" + "Last-Translator: Peter Avramucz <muczy@freestart.hu>\n" + "Language-Team: \n" +@@ -11,58 +10,58 @@ + "Content-Transfer-Encoding: 8bit\n" + "X-Poedit-Country: HUNGARY\n" + +-#: src/pidgin-libnotify.c:57 ++#: src/gaim-libnotify.c:57 + msgid "New messages" + msgstr "Új üzenetek" + +-#: src/pidgin-libnotify.c:62 ++#: src/gaim-libnotify.c:62 + msgid "Only new conversations" + msgstr "Csak az új beszélgetéseknél" + +-#: src/pidgin-libnotify.c:67 ++#: src/gaim-libnotify.c:67 + msgid "Ignore events from blocked users" + msgstr "Hagyja figyelmen kívűl a blokkolt felhasználókat" + +-#: src/pidgin-libnotify.c:72 ++#: src/gaim-libnotify.c:72 + msgid "Buddy signs on" + msgstr "Partner bejelentkezett" + +-#: src/pidgin-libnotify.c:77 ++#: src/gaim-libnotify.c:77 + msgid "Buddy signs off" + msgstr "Partner kijelentkezett" + +-#: src/pidgin-libnotify.c:315 ++#: src/gaim-libnotify.c:295 + msgid "Show" + msgstr "Mutasd" + +-#: src/pidgin-libnotify.c:347 ++#: src/gaim-libnotify.c:324 + #, c-format + msgid "%s signed on" + msgstr "%s bejelentkezett" + +-#: src/pidgin-libnotify.c:379 ++#: src/gaim-libnotify.c:353 + #, c-format + msgid "%s signed off" + msgstr "%s kijelentkezett" + +-#: src/pidgin-libnotify.c:406 ++#: src/gaim-libnotify.c:380 + #, c-format + msgid "%s says:" + msgstr "%s mondja:" + +-#: src/pidgin-libnotify.c:572 ++#: src/gaim-libnotify.c:543 + msgid "Libnotify Popups" + msgstr "Libnotify buborékok" + +-#: src/pidgin-libnotify.c:573 ++#: src/gaim-libnotify.c:544 + msgid "Displays popups via libnotify." + msgstr "Mutassa a buborékokat libnotify segítségével." + +-#: src/pidgin-libnotify.c:574 +-#, fuzzy ++#: src/gaim-libnotify.c:545 + msgid "" +-"Pidgin-libnotify:\n" ++"Gaim-libnotify:\n" + "Displays popups via libnotify." + msgstr "" + "Gaim-libnotify:\n" + "Mutassa a buborékokat libnotify segítségével." ++ +diff -Naur pidgin-libnotify-0.14/po/it.po pidgin-libnotify-0.14/po-new/it.po +--- pidgin-libnotify-0.14/po/it.po 2007-06-30 20:53:22.000000000 +0200 ++++ pidgin-libnotify-0.14/po-new/it.po 2010-03-09 18:03:34.565229551 +0100 +@@ -1,79 +1,78 @@ + # Italian (it) translation of gaim-libnotify. +-# Copyright (C) 2006, Marco Cabizza <marco87@gmail.com> +-# + # This file is distributed under the same license as gaim-libnotify. ++# Copyright (C) 2006, Marco Cabizza <marco87@gmail.com> ++# Copyright (C) 2009, The Free Software Foundation, Inc. ++# Gruppo traduzione italiano di Ubuntu, <gruppo-traduzione@ubuntu-it.org> ++# Milo Casagrande <milo@ubuntu.com> + # + msgid "" + msgstr "" + "Project-Id-Version: gaim-libnotify\n" + "Report-Msgid-Bugs-To: \n" +-"POT-Creation-Date: 2007-06-30 19:58+0000\n" +-"PO-Revision-Date: 2007-05-25 12:30-0300\n" +-"Last-Translator: Marco Cabizza <marco87@gmail.com>\n" ++"POT-Creation-Date: 2009-09-29 16:23+0000\n" ++"PO-Revision-Date: 2009-11-04 15:15+0000\n" ++"Last-Translator: Milo Casagrande <milo@casagrande.name>\n" + "Language-Team: \n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"Plural-Forms: nplurals=2; plural=n != 1;\n" ++"X-Launchpad-Export-Date: 2009-11-11 17:20+0000\n" ++"X-Generator: Launchpad (build Unknown)\n" + +-#: src/pidgin-libnotify.c:57 +-#, fuzzy ++#: ../src/pidgin-libnotify.c:95 + msgid "New messages" + msgstr "Nuovi messaggi" + +-#: src/pidgin-libnotify.c:62 ++#: ../src/pidgin-libnotify.c:100 + msgid "Only new conversations" +-msgstr "Solo le nuove finestre" ++msgstr "Solo nuove conversazioni" + +-#: src/pidgin-libnotify.c:67 ++#: ../src/pidgin-libnotify.c:105 + msgid "Ignore events from blocked users" +-msgstr "Ignora gli utenti bloccati" ++msgstr "Ignora eventi da utenti bloccati" + +-#: src/pidgin-libnotify.c:72 +-#, fuzzy ++#: ../src/pidgin-libnotify.c:110 + msgid "Buddy signs on" +-msgstr "%s entra" ++msgstr "Il conoscente si connette" + +-#: src/pidgin-libnotify.c:77 +-#, fuzzy ++#: ../src/pidgin-libnotify.c:115 + msgid "Buddy signs off" +-msgstr "%s entra" ++msgstr "Il conoscente si disconnette" + +-#: src/pidgin-libnotify.c:315 ++#: ../src/pidgin-libnotify.c:120 ++msgid "Only when available" ++msgstr "Solo quando disponibile" ++ ++#: ../src/pidgin-libnotify.c:125 ++msgid "Names to remove notifications for" ++msgstr "Nomi per cui rimuovere le notifiche" ++ ++#: ../src/pidgin-libnotify.c:505 + msgid "Show" + msgstr "Mostra" + +-#: src/pidgin-libnotify.c:347 +-#, c-format +-msgid "%s signed on" +-msgstr "%s è entrato" +- +-#: src/pidgin-libnotify.c:379 +-#, fuzzy, c-format +-msgid "%s signed off" +-msgstr "%s è entrato" +- +-#: src/pidgin-libnotify.c:406 +-#, c-format +-msgid "%s says:" +-msgstr "%s dice:" ++#: ../src/pidgin-libnotify.c:538 ++msgid "is online" ++msgstr "è in linea" ++ ++#: ../src/pidgin-libnotify.c:567 ++msgid "is offline" ++msgstr "non è in linea" + +-#: src/pidgin-libnotify.c:572 ++#: ../src/pidgin-libnotify.c:1399 + msgid "Libnotify Popups" +-msgstr "Popups di libnotify" ++msgstr "Notifiche di libnotify" + +-#: src/pidgin-libnotify.c:573 ++#: ../src/pidgin-libnotify.c:1400 + msgid "Displays popups via libnotify." +-msgstr "Mostra avvisi mediante libnotify." ++msgstr "Visualizza le notifiche mediante libnotify." + +-#: src/pidgin-libnotify.c:574 +-#, fuzzy ++#: ../src/pidgin-libnotify.c:1401 + msgid "" + "Pidgin-libnotify:\n" + "Displays popups via libnotify." + msgstr "" +-"Gaim-libnotify:\n" +-"Mostra avvisi mediante libnotify." ++"Pidgin-libnotify:\n" ++"Visualizza le notifiche mediante libnotify." + +-#~ msgid "Libnotify Interface" +-#~ msgstr "Interfaccia libnotify" ++ +diff -Naur pidgin-libnotify-0.14/po/nl.po pidgin-libnotify-0.14/po-new/nl.po +--- pidgin-libnotify-0.14/po/nl.po 2007-06-30 20:53:22.000000000 +0200 ++++ pidgin-libnotify-0.14/po-new/nl.po 2010-03-09 18:17:48.188461774 +0100 +@@ -31,12 +31,12 @@ + + #: src/pidgin-libnotify.c:72 + msgid "Buddy signs on" +-msgstr "Contactpersoon heeft zich aangemeld" ++msgstr "Contactpersoon meldt zich aan" + + #: src/pidgin-libnotify.c:77 + #, fuzzy + msgid "Buddy signs off" +-msgstr "Contactpersoon heeft zich aangemeld" ++msgstr "Contactpersoon meldt zich af" + + #: src/pidgin-libnotify.c:315 + msgid "Show" +@@ -50,7 +50,7 @@ + #: src/pidgin-libnotify.c:379 + #, fuzzy, c-format + msgid "%s signed off" +-msgstr "%s heeft zich aangemeld" ++msgstr "%s heeft zich afgemeld" + + #: src/pidgin-libnotify.c:406 + #, c-format +@@ -59,7 +59,7 @@ + + #: src/pidgin-libnotify.c:572 + msgid "Libnotify Popups" +-msgstr "" ++msgstr "Libnotify Popups" + + #: src/pidgin-libnotify.c:573 + msgid "Displays popups via libnotify." +@@ -71,7 +71,7 @@ + "Pidgin-libnotify:\n" + "Displays popups via libnotify." + msgstr "" +-"Gaim-libnotify:\n" ++"Pidgin-libnotify:\n" + "Toont popups via libnotify." + + #~ msgid "Libnotify Interface" +diff -Naur pidgin-libnotify-0.14/po/pl.po pidgin-libnotify-0.14/po-new/pl.po +--- pidgin-libnotify-0.14/po/pl.po 2008-12-14 18:03:42.000000000 +0100 ++++ pidgin-libnotify-0.14/po-new/pl.po 2010-03-09 18:09:47.555190702 +0100 +@@ -1,22 +1,18 @@ +-# Polish (pl) translation of gaim-libnotify +-# Copyright (C) 2006, Krzysztof Rosiński <kr@post.pl> +-# This file is distributed under the same license as the gaim-libnotify package. ++# translation of pl.po to Polish + # Krzysztof Rosiński <kr@post.pl>, 2006. + # Piotr Drąg <raven@pmail.pl>, 2007. + # + msgid "" + msgstr "" +-"Project-Id-Version: gaim-libnotify\n" ++"Project-Id-Version: pl\n" + "Report-Msgid-Bugs-To: \n" + "POT-Creation-Date: 2007-06-30 19:58+0000\n" +-"PO-Revision-Date: 2006-03-13 19:39+ZONE\n" ++"PO-Revision-Date: 2007-06-09 19:00+0200\n" + "Last-Translator: Piotr Drąg <raven@pmail.pl>\n" + "Language-Team: Polish <pl@li.org>\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +-"|| n%100>=20) ? 1 : 2);\n" + + #: src/pidgin-libnotify.c:57 + msgid "New messages" +@@ -73,3 +69,5 @@ + "Pidgin-libnotify:\n" + "Wyświetla powiadomienia przez libnotify." + ++ ++ +diff -Naur pidgin-libnotify-0.14/po/ro.po pidgin-libnotify-0.14/po-new/ro.po +--- pidgin-libnotify-0.14/po/ro.po 2007-06-30 20:53:22.000000000 +0200 ++++ pidgin-libnotify-0.14/po-new/ro.po 2010-03-09 18:14:01.732650658 +0100 +@@ -8,69 +8,66 @@ + msgstr "" + "Project-Id-Version: ro\n" + "Report-Msgid-Bugs-To: \n" +-"POT-Creation-Date: 2007-06-30 19:58+0000\n" +-"PO-Revision-Date: 2007-01-25 22:00+0200\n" +-"Last-Translator: Ion Alin <alyn3d@gmail.com>\n" +-"Language-Team: <ro@li.org>\n" ++"POT-Creation-Date: 2009-04-24 10:15+0000\n" ++"PO-Revision-Date: 2009-09-10 13:40+0000\n" ++"Last-Translator: Adi Roiban <adi@roiban.ro>\n" ++"Language-Team: <ro@li.org>\n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" +-"X-Generator: KBabel 1.11.4\n" +-"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +-"20)) ? 1 : 2;\n" ++"X-Launchpad-Export-Date: 2009-09-10 16:28+0000\n" ++"X-Generator: Launchpad (build Unknown)\n" + +-#: src/pidgin-libnotify.c:57 ++#: ../src/pidgin-libnotify.c:75 + msgid "New messages" + msgstr "Mesaje noi" + +-#: src/pidgin-libnotify.c:62 ++#: ../src/pidgin-libnotify.c:80 + msgid "Only new conversations" +-msgstr "Numai conversatii noi" ++msgstr "Doar conversațiile noi" + +-#: src/pidgin-libnotify.c:67 ++#: ../src/pidgin-libnotify.c:85 + msgid "Ignore events from blocked users" +-msgstr "Ignora evenimentele de la utilizatorii blocati" ++msgstr "Ignoră evenimentele de la utilizatorii blocați" + +-#: src/pidgin-libnotify.c:72 ++#: ../src/pidgin-libnotify.c:90 + msgid "Buddy signs on" +-msgstr "Userul este online" ++msgstr "Contact conectat" + +-#: src/pidgin-libnotify.c:77 ++#: ../src/pidgin-libnotify.c:95 + msgid "Buddy signs off" +-msgstr "Userul este offline" ++msgstr "Contact deconectat" + +-#: src/pidgin-libnotify.c:315 ++#: ../src/pidgin-libnotify.c:100 ++msgid "Only when available" ++msgstr "Doar când sunt disponibil(ă)" ++ ++#: ../src/pidgin-libnotify.c:454 + msgid "Show" +-msgstr "Arata" ++msgstr "Afișează" ++ ++#: ../src/pidgin-libnotify.c:487 ++msgid "is online" ++msgstr "s-a conectat" + +-#: src/pidgin-libnotify.c:347 +-#, c-format +-msgid "%s signed on" +-msgstr "%s este online" +- +-#: src/pidgin-libnotify.c:379 +-#, c-format +-msgid "%s signed off" +-msgstr "%s este offline" +- +-#: src/pidgin-libnotify.c:406 +-#, c-format +-msgid "%s says:" +-msgstr "%s spune:" ++#: ../src/pidgin-libnotify.c:516 ++msgid "is offline" ++msgstr "s-a deconectat" + +-#: src/pidgin-libnotify.c:572 ++#: ../src/pidgin-libnotify.c:1200 + msgid "Libnotify Popups" +-msgstr "Pop-up Libnotify" ++msgstr "Notificări libnotify" + +-#: src/pidgin-libnotify.c:573 ++#: ../src/pidgin-libnotify.c:1201 + msgid "Displays popups via libnotify." +-msgstr "Arata popup-uri via libnotify." ++msgstr "Afișează notificări via libnotify." + +-#: src/pidgin-libnotify.c:574 +-#, fuzzy ++#: ../src/pidgin-libnotify.c:1202 + msgid "" + "Pidgin-libnotify:\n" + "Displays popups via libnotify." + msgstr "" +-"Gaim-libnotify:\n" +-"Arata popup-uri via libnotify." ++"Pidgin-libnotify:\n" ++"Afișează notificări via libnotify." ++ ++ +diff -Naur pidgin-libnotify-0.14/po/ru.po pidgin-libnotify-0.14/po-new/ru.po +--- pidgin-libnotify-0.14/po/ru.po 2008-12-14 18:09:59.000000000 +0100 ++++ pidgin-libnotify-0.14/po-new/ru.po 2010-03-09 18:08:58.941861562 +0100 +@@ -7,11 +7,11 @@ + msgstr "" + "Project-Id-Version: gaim-libnotify\n" + "Report-Msgid-Bugs-To: \n" +-"POT-Creation-Date: 2007-06-30 19:58+0000\n" ++"POT-Creation-Date: 2009-08-07 18:45+0000\n" + "PO-Revision-Date: 2007-11-29 12:30-0300\n" + "Last-Translator: Dmitry Egorkin <egorkin@gmail.com>\n" + "Language-Team: Russian\n" +-"MIME-Version: 1.0\n" ++"MIME-Version: 1.1\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + "Plural-Forms: nplurals=2; plural=n != 1;\n" +@@ -43,12 +43,12 @@ + #: src/pidgin-libnotify.c:347 + #, c-format + msgid "%s signed on" +-msgstr "%s пришёл" ++msgstr "%s в сети" + + #: src/pidgin-libnotify.c:379 + #, c-format + msgid "%s signed off" +-msgstr "%s ушёл" ++msgstr "%s не в сети" + + #: src/pidgin-libnotify.c:406 + #, c-format +@@ -73,3 +73,5 @@ + + #~ msgid "Libnotify Interface" + #~ msgstr "Настройки libnotify" ++ ++ diff --git a/community-staging/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch b/community-staging/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch new file mode 100644 index 000000000..40e6c02b8 --- /dev/null +++ b/community-staging/pidgin-libnotify/pidgin-libnotify-0.14-libnotify-0.7.patch @@ -0,0 +1,18 @@ +--- src/pidgin-libnotify.c ++++ src/pidgin-libnotify.c +@@ -286,7 +286,15 @@ + g_free (tr_body); + return; + } ++#ifdef NOTIFY_CHECK_VERSION ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ notification = notify_notification_new (title, tr_body, NULL); ++#else + notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif ++#else ++ notification = notify_notification_new (title, tr_body, NULL, NULL); ++#endif + purple_debug_info (PLUGIN_ID, "notify(), new: " + "title: '%s', body: '%s', buddy: '%s'\n", + title, tr_body, best_name (buddy)); diff --git a/community-staging/pingus/ChangeLog b/community-staging/pingus/ChangeLog new file mode 100644 index 000000000..c182f92eb --- /dev/null +++ b/community-staging/pingus/ChangeLog @@ -0,0 +1,21 @@ +2010-03-18 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + + * pingus 0.7.2-8 + * Rebuilt against boost 1.41.0 + +2010-02-23 Eric Belanger <eric@archlinux.org> + + * pingus 0.7.2-7 + * Rebuilt against boost 1.42.0 + +2010-01-20 Eric Belanger <eric@archlinux.org> + + * pingus 0.7.2-6 + * Rebuilt against libpng 1.4/libjpeg 8 + +2009-07-13 Eric Belanger <eric@archlinux.org> + + * pingus 0.7.2-2 + * Rebuilt against boost 1.39 + * Added gcc 4.4 patch + * Added ChangeLog diff --git a/community-staging/pingus/PKGBUILD b/community-staging/pingus/PKGBUILD new file mode 100644 index 000000000..5740f6337 --- /dev/null +++ b/community-staging/pingus/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62941 2012-01-29 12:09:55Z lcarlier $ +# Maintainer: Eric Belanger <eric@archlinux.org> + +pkgname=pingus +pkgver=0.7.6 +pkgrel=2 +pkgdesc="A Lemmings clone, i.e. a level-based puzzle game." +arch=('i686' 'x86_64') +url="http://pingus.seul.org" +license=('GPL') +depends=('sdl_image' 'sdl_mixer' 'libgl' 'boost-libs>=1.48') +makedepends=('scons' 'boost>=1.48' 'mesa') +source=(http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 + pingus.desktop) +md5sums=('561798686f34d3fa4e69135d655f47ac' + '9eec34047bdcff49e08f41e81764e20c') +sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487' + '579a1144f161ce89e6e024cea37210149b89c0c0') + +build() { + cd ${pkgname}-${pkgver} + + scons prefix=/usr +} + +package() { + cd ${pkgname}-${pkgver} + + make install DESTDIR="${pkgdir}" PREFIX="/usr" + + install -D -m644 "${srcdir}/pingus.desktop" "${pkgdir}/usr/share/applications/pingus.desktop" +} diff --git a/community-staging/pingus/pingus.desktop b/community-staging/pingus/pingus.desktop new file mode 100644 index 000000000..276db36a4 --- /dev/null +++ b/community-staging/pingus/pingus.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Pingus +Comment=A free Lemmings[tm] clone +Exec=pingus +Terminal=false +Type=Application +Categories=Application;Game;LogicGame +Icon=/usr/share/pingus/images/core/editor/actions.png diff --git a/community-staging/tmw/PKGBUILD b/community-staging/tmw/PKGBUILD new file mode 100644 index 000000000..cc33a0a2d --- /dev/null +++ b/community-staging/tmw/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 62980 2012-01-29 22:37:04Z ebelanger $ +# Contributor: Bjorn Lindeijer <bjorn lindeijer nl> +# Maintainer: Mateusz Herych <heniekk@gmail.com> + +pkgname=tmw +pkgver=0.5.2 +pkgrel=2 +pkgdesc="The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG." +arch=('i686' 'x86_64') +url="http://themanaworld.org" +license=('GPL') +depends=('curl' 'guichan' 'sdl_image' 'libgl' 'libxml2' 'physfs' +'sdl_mixer' 'sdl_net' 'sdl_gfx' 'sdl_ttf') +makedepends=('cmake' 'mesa') +source=(http://downloads.sourceforge.net/sourceforge/themanaworld/$pkgname-$pkgver.tar.bz2) +md5sums=('c843ef420aced82db1e51fa14e80174a') + +build() { + cd "$srcdir" + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "$srcdir" + make DESTDIR="$pkgdir" install +} diff --git a/community-staging/tuxpaint/PKGBUILD b/community-staging/tuxpaint/PKGBUILD new file mode 100644 index 000000000..f3d2542d1 --- /dev/null +++ b/community-staging/tuxpaint/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 62975 2012-01-29 20:05:10Z ebelanger $ +# Maintainer: Mateusz Herych <heniekk@gmail.com> +# Contributor: Sergio Jovani Guzman <moret.sjg@gmail.com> +# Adopted: royrocks <royrocks13@gmail.com> +pkgname=tuxpaint +pkgver=0.9.21 +pkgrel=5 +pkgdesc="Tux Paint is a free drawing program designed for young children." +arch=('i686' 'x86_64') +url="http://www.tuxpaint.org" +license=('GPL') +backup=('etc/tuxpaint/tuxpaint.conf') +depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango' 'libpaper' 'librsvg') +source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz tuxpaint-0.9.21-libpng1.5.patch) +md5sums=('a88401d1860648098eeed819cff038fa' + '11d11119b3316c13f7b7a77048317bce') +sha1sums=('082a179a3cb44ee17af47421bc92125a890846e4' + '5595a65ebabc46bebd2d0670589effc8dbdd4e0c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fix + for file in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + done + + patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch + sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile + echo "Categories=Game;KidsGame;Graphics;RasterGraphics;" >> src/tuxpaint.desktop + make PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" GNOME_PREFIX=/usr X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" install + chmod -R 644 "$pkgdir"/usr/share/doc/tuxpaint-dev/* + chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html" +} diff --git a/community-staging/tuxpaint/tuxpaint-0.9.21-libpng1.5.patch b/community-staging/tuxpaint/tuxpaint-0.9.21-libpng1.5.patch new file mode 100644 index 000000000..25e80cd2a --- /dev/null +++ b/community-staging/tuxpaint/tuxpaint-0.9.21-libpng1.5.patch @@ -0,0 +1,19 @@ +http://tuxpaint.cvs.sourceforge.net/viewvc/tuxpaint/tuxpaint/src/tuxpaint.c?r1=1.828&r2=1.829 +No longer directly accessing PNG structure members directly, now using png_set_IHDR(). (Patch from SF.net Bug #3386433) + +--- src/tuxpaint.c 2011/07/29 21:27:39 1.828 ++++ src/tuxpaint.c 2011/08/08 17:59:12 1.829 +@@ -13425,12 +13425,7 @@ + { + png_init_io(png_ptr, fi); + +- info_ptr->width = surf->w; +- info_ptr->height = surf->h; +- info_ptr->bit_depth = 8; +- info_ptr->color_type = PNG_COLOR_TYPE_RGB; +- info_ptr->interlace_type = 1; +- info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */ ++ png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB, 1, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); + + png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr, + PNG_sRGB_INTENT_PERCEPTUAL); diff --git a/community-staging/warmux/PKGBUILD b/community-staging/warmux/PKGBUILD new file mode 100644 index 000000000..5a1ce20af --- /dev/null +++ b/community-staging/warmux/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 62923 2012-01-29 09:31:14Z lcarlier $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: pukyxd +# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> + +pkgname=warmux +pkgver=11.04.1 +pkgrel=4 +pkgdesc="A clone of the worms game" +arch=('i686' 'x86_64') +url="http://www.wormux.org/" +license=('GPL') +makedepends=('pkgconfig' 'libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2') +replaces=('wormux') +source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2 + include-zlib.patch + gcc-fix.patch) +md5sums=('26ff65c43a9bb61a3f0529c98b943e35' + 'c8285955e880f80e3c68312715a3061c' + '693176b72c9568c0c223be76ea7dd0d2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver/.1/}" + + # libpng 1.5 fix + patch -Np1 -i ../include-zlib.patch + # gcc fix + patch -Np1 -i ../gcc-fix.patch + + ./configure --prefix=/usr + make +} + +package() { + depends=('libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2' "warmux-data>=${pkgver/.1/}") + + cd "${srcdir}/${pkgname}-${pkgver/.1/}" + + make DESTDIR="${pkgdir}" install + rm -r ${pkgdir}/usr/share/warmux +} diff --git a/community-staging/warmux/gcc-fix.patch b/community-staging/warmux/gcc-fix.patch new file mode 100644 index 000000000..d4ceb0746 --- /dev/null +++ b/community-staging/warmux/gcc-fix.patch @@ -0,0 +1,25 @@ +## i-love-you-lordheavy.patch [diff] +diff -ru warmux-11.04/lib/warmux/action/action.cpp warmux-11.04-new/lib/warmux/action/action.cpp +--- warmux-11.04/lib/warmux/action/action.cpp 2011-04-28 21:03:14.000000000 +0200 ++++ warmux-11.04-new/lib/warmux/action/action.cpp 2012-01-29 09:51:16.680251815 +0100 +@@ -81,7 +81,7 @@ + } + + // Build an action from a network packet +-Action::Action(const char *buffer, DistantComputer* _creator) ++Action::Action(char *buffer, DistantComputer* _creator) + { + m_creator = _creator; + +diff -ru warmux-11.04/lib/warmux/include/WARMUX_action.h warmux-11.04-new/lib/warmux/include/WARMUX_action.h +--- warmux-11.04/lib/warmux/include/WARMUX_action.h 2011-04-28 21:03:13.000000000 +0200 ++++ warmux-11.04-new/lib/warmux/include/WARMUX_action.h 2012-01-29 09:52:14.246921833 +0100 +@@ -168,7 +168,7 @@ + Action(Action_t type, Double value1, Double value2); + + // Build an action from a network packet +- Action(const char* buffer, DistantComputer* _creator); ++ Action(char* buffer, DistantComputer* _creator); + + ~Action(); + diff --git a/community-staging/warmux/include-zlib.patch b/community-staging/warmux/include-zlib.patch new file mode 100644 index 000000000..c7e77aba1 --- /dev/null +++ b/community-staging/warmux/include-zlib.patch @@ -0,0 +1,11 @@ +diff -uNr warmux-11.04.orig/src/graphic/surface.cpp warmux-11.04/src/graphic/surface.cpp +--- warmux-11.04.orig/src/graphic/surface.cpp 2011-09-19 09:26:52.392650465 +0200 ++++ warmux-11.04/src/graphic/surface.cpp 2011-09-19 09:26:19.417648189 +0200 +@@ -25,6 +25,7 @@ + #include <SDL_image.h> + #include <SDL_rotozoom.h> + #include <png.h> ++#include <zlib.h> + + #include "graphic/surface.h" + #include "tool/math_tools.h" |