From 705d29694fd61c47a57ccec531e73d87a2960021 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 19 Nov 2012 02:25:52 -0800 Subject: Mon Nov 19 02:22:26 PST 2012 --- community/cgminer/PKGBUILD | 7 +- community/couchdb/PKGBUILD | 4 +- community/dee/PKGBUILD | 6 +- community/dwdiff/PKGBUILD | 4 +- community/fcitx/PKGBUILD | 7 +- community/fcitx/fcitx-gtk2.install | 4 +- community/filezilla/PKGBUILD | 6 +- community/gambas3/PKGBUILD | 14 +- ...t-crash-on-missing-invalid-DISPLAY-envvar.patch | 75 +++ community/ibus-qt/PKGBUILD | 23 +- community/libfbclient/PKGBUILD | 16 +- community/lxsession/PKGBUILD | 30 +- .../lxsession-0.4.6.1-logind-support.patch | 608 +++++++++++++++++++++ community/mapnik/PKGBUILD | 4 +- community/mod_wsgi2/PKGBUILD | 33 ++ community/mod_wsgi2/mod_wsgi2.install | 14 + community/openntpd/PKGBUILD | 4 +- community/openntpd/openntpd.install | 3 - community/openttd/PKGBUILD | 4 +- community/parrot/PKGBUILD | 4 +- community/pion-net/PKGBUILD | 4 +- community/rygel/PKGBUILD | 12 +- community/uzbl/PKGBUILD | 7 +- community/yaz/PKGBUILD | 4 +- 24 files changed, 823 insertions(+), 74 deletions(-) create mode 100644 community/ibus-qt/0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch create mode 100644 community/lxsession/lxsession-0.4.6.1-logind-support.patch create mode 100644 community/mod_wsgi2/PKGBUILD create mode 100644 community/mod_wsgi2/mod_wsgi2.install (limited to 'community') diff --git a/community/cgminer/PKGBUILD b/community/cgminer/PKGBUILD index 4cd780f39..62770c769 100644 --- a/community/cgminer/PKGBUILD +++ b/community/cgminer/PKGBUILD @@ -1,12 +1,13 @@ +# $Id: PKGBUILD 80252 2012-11-18 13:12:00Z fyan $ # Maintainer: Felix Yan # Contributor: monson # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: David Manouchehri pkgname=cgminer -pkgver=2.9.3 +pkgver=2.9.4 _build= -pkgrel=3 +pkgrel=1 pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." url='http://forum.bitcoin.org/index.php?topic=28402.0' license=('GPL3') @@ -49,7 +50,7 @@ package() { sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf } -md5sums=('f386036c72861f7b2c130de6ed990d33' +md5sums=('ad6cbea352948cd84bb4109665918a4d' 'fe4a243fabe24608f5c05e40f0f118f6' 'ee39698273671fee0e98d4af16014c36' 'c2bb974adf92cc234fbf0136ebcb355d') diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD index b6c03e3d5..959f4b6d8 100644 --- a/community/couchdb/PKGBUILD +++ b/community/couchdb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 78310 2012-10-17 14:02:05Z spupykin $ +# $Id: PKGBUILD 80235 2012-11-18 10:29:50Z andrea $ # Maintainer: Sergej Pupykin # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua # Contributor: Michael Fellinger pkgname=couchdb pkgver=1.2.0 -pkgrel=5 +pkgrel=6 pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" arch=('i686' 'x86_64') url="http://couchdb.apache.org" diff --git a/community/dee/PKGBUILD b/community/dee/PKGBUILD index 6400d7956..19cb7576d 100644 --- a/community/dee/PKGBUILD +++ b/community/dee/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 78182 2012-10-17 10:23:20Z allan $ +# $Id: PKGBUILD 80236 2012-11-18 10:29:58Z andrea $ # Maintainer: Balló György pkgname=dee pkgver=1.0.14 -pkgrel=2 +pkgrel=3 pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus" arch=('i686' 'x86_64') url="https://launchpad.net/dee" @@ -18,7 +18,7 @@ build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --disable-tests \ + --disable-static \ PYTHON=python2 make } diff --git a/community/dwdiff/PKGBUILD b/community/dwdiff/PKGBUILD index 1242ff2ba..620f4ab66 100644 --- a/community/dwdiff/PKGBUILD +++ b/community/dwdiff/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 76393 2012-09-17 08:46:08Z spupykin $ +# $Id: PKGBUILD 80237 2012-11-18 10:30:05Z andrea $ # Maintainer: Sergej Pupykin pkgname=dwdiff pkgver=2.0.4 -pkgrel=1 +pkgrel=2 pkgdesc="A front-end for the diff program that operates at the word level instead of the line level" arch=('i686' 'x86_64') url="http://os.ghalkes.nl/dwdiff.html" diff --git a/community/fcitx/PKGBUILD b/community/fcitx/PKGBUILD index e3be09540..77f532c14 100644 --- a/community/fcitx/PKGBUILD +++ b/community/fcitx/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 79645 2012-11-10 00:57:49Z ebelanger $ -# Maintainer: Andrea Scarpino +# $Id: PKGBUILD 80275 2012-11-19 02:35:00Z fyan $ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino # Contributor: csslayer pkgbase=fcitx pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt') pkgver=4.2.6.1 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url="http://code.google.com/p/fcitx/" license=('GPL') diff --git a/community/fcitx/fcitx-gtk2.install b/community/fcitx/fcitx-gtk2.install index 7503c05eb..2bdfac388 100644 --- a/community/fcitx/fcitx-gtk2.install +++ b/community/fcitx/fcitx-gtk2.install @@ -1,5 +1,7 @@ post_install() { - usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + if res="$(usr/bin/gtk-query-immodules-2.0)"; then + echo "$res" > etc/gtk-2.0/gtk.immodules + fi } post_upgrade() { diff --git a/community/filezilla/PKGBUILD b/community/filezilla/PKGBUILD index 04215a50a..7f1af6b30 100644 --- a/community/filezilla/PKGBUILD +++ b/community/filezilla/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 79793 2012-11-12 19:21:34Z bluewind $ +# $Id: PKGBUILD 80261 2012-11-18 19:11:09Z jelle $ # Contributor: Alexander Fehr # Maintainer: Daniel J Griffiths pkgname=filezilla -pkgver=3.6.0 +pkgver=3.6.0.1 pkgrel=1 pkgdesc="Fast and reliable FTP, FTPS and SFTP client" arch=('i686' 'x86_64') @@ -12,7 +12,6 @@ license=('GPL') depends=('dbus-core' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite') install=filezilla.install source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2") -md5sums=('02efc41e87ff4abe1e6ec07ae5bd4d83') build() { cd "${pkgname}-${pkgver}" @@ -32,3 +31,4 @@ package() { make DESTDIR="${pkgdir}" install } +md5sums=('90839d05bf52e27e8f4a33adceb3ae5c') diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD index 71c2eb3c3..fc6743a42 100644 --- a/community/gambas3/PKGBUILD +++ b/community/gambas3/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78930 2012-10-27 23:44:36Z ebelanger $ +# $Id: PKGBUILD 80268 2012-11-18 23:01:13Z lcarlier $ # Maintainer: Laurent Carlier # Contributor : sebikul @@ -14,8 +14,8 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba '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-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') -pkgver=3.3.3 -pkgrel=3 +pkgver=3.3.4 +pkgrel=1 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net/" @@ -27,12 +27,11 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils 'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'libxtst' 'pcre' 'qtwebkit' 'libxcursor' 'libsm' 'dbus-core' 'libxml2' 'libxslt' 'libgnome-keyring' 'gsl' 'gstreamer0.10' 'gstreamer0.10-base' 'gtkglext' 'ncurses' 'llvm' - 'gmime' 'glu' 'pangox-compat') -# pangox-compat to remove when added in gtkglext package dependency + 'gmime' 'glu') options=('!emptydirs') source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2" 'gambas3-script.install' 'gambas3-runtime.install') -md5sums=('18902ae2bbd0d66d165503aba7e89474' +md5sums=('105bb5010533052acee97395ec1c64fe' 'b284be39d147ec799f1116a6abc068b4' '6d9e080b66443e7246387b1716d24e31') @@ -634,8 +633,7 @@ package_gambas3-gb-gtk() { } package_gambas3-gb-gtk-opengl() { - depends=('gambas3-gb-gtk' 'gambas3-gb-opengl' 'gtkglext' 'glu' 'pangox-compat') -# pangox-compat to remove when added in gtkglext package dependency + depends=('gambas3-gb-gtk' 'gambas3-gb-opengl' 'gtkglext' 'glu') pkgdesc="GTK+ toolkit OpenGL component" ## workaround for splitting diff --git a/community/ibus-qt/0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch b/community/ibus-qt/0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch new file mode 100644 index 000000000..eab3a51fe --- /dev/null +++ b/community/ibus-qt/0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch @@ -0,0 +1,75 @@ +From fab6dc760edc39b9b4e561cfbf21b38c4fa86234 Mon Sep 17 00:00:00 2001 +From: Peter Wu +Date: Tue, 4 Sep 2012 19:40:08 +0200 +Subject: [PATCH] Do not crash on missing/invalid DISPLAY envvar. + +- Check whether the passed DISPLAY environment variable contains ":". + +- Fallback to "-display" parameter passed to QApplication. +--- + src/CMakeLists.txt | 2 ++ + src/qibusbus.cpp | 23 ++++++++++++++++------- + 2 files changed, 18 insertions(+), 7 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 2ad5588..8866ac0 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -92,9 +92,11 @@ set_target_properties( + target_link_libraries( + ibus-qt + debug ${QT_QTCORE_LIBRARY_DEBUG} ++ debug ${QT_QTGUI_LIBRARY_DEBUG} + debug ${QT_QTDBUS_LIBRARY_DEBUG} + debug ${QT_QTXML_LIBRARY_DEBUG} + optimized ${QT_QTCORE_LIBRARY_RELEASE} ++ optimized ${QT_QTGUI_LIBRARY_RELEASE} + optimized ${QT_QTDBUS_LIBRARY_RELEASE} + optimized ${QT_QTXML_LIBRARY_RELEASE} + ${DBUS_LIBRARIES} +diff --git a/src/qibusbus.cpp b/src/qibusbus.cpp +index 6a45d65..ed8248a 100644 +--- a/src/qibusbus.cpp ++++ b/src/qibusbus.cpp +@@ -12,7 +12,8 @@ + #include "qibusbus.h" + #include "qibusibusproxy.h" + #include "qibusdbusproxy.h" +- ++#include ++#include + + namespace IBus { + /** +@@ -121,15 +122,23 @@ QString + Bus::getSocketPath (void) + { + QString display = getenv ("DISPLAY"); +- QStringList strs = display.split(":"); + QString hostname = "unix"; + QString display_number = "0"; ++ /* fallback when -display is passed to QApplication with no DISPLAY env */ ++ if (display == NULL) { ++ Display * dpy = QX11Info::display(); ++ if (dpy) ++ display = XDisplayString(dpy); ++ } ++ if (display != NULL && display.contains(':')) { ++ QStringList strs = display.split(":"); + +- if (!strs[0].isEmpty()) +- hostname = strs[0]; +- strs = strs[1].split("."); +- if (!strs[0].isEmpty()) +- display_number = strs[0]; ++ if (!strs[0].isEmpty()) ++ hostname = strs[0]; ++ strs = strs[1].split("."); ++ if (!strs[0].isEmpty()) ++ display_number = strs[0]; ++ } + + QString path = + QDir::homePath() + +-- +1.7.12 diff --git a/community/ibus-qt/PKGBUILD b/community/ibus-qt/PKGBUILD index 36013ae21..aed97d135 100644 --- a/community/ibus-qt/PKGBUILD +++ b/community/ibus-qt/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 69758 2012-04-23 09:15:08Z ibiru $ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# $Id: PKGBUILD 80239 2012-11-18 10:30:25Z andrea $ +# Maintainer: Felix Yan +# Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: garion < garion @ mailoo.org > # Contributor: leemars pkgname=ibus-qt pkgver=1.3.1 -pkgrel=5 +pkgrel=6 pkgdesc='IBus qt library and IBus qt input method plugin' arch=('i686' 'x86_64') license=('LGPL') url='http://ibus.googlecode.com' -depends=('qt' 'ibus' 'icu') +depends=('qt' 'ibus' 'icu>=50') makedepends=('cmake' 'automoc4' 'doxygen') -source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz") -md5sums=('769e8872ca8a59327b2073ce2f142589') +source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz" + 0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch) build() { - cd "${srcdir}" + cd "${srcdir}/${pkgname}-${pkgver}-Source" + patch -p1 -i ../0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch + mkdir build cd build - cmake "../${pkgname}-${pkgver}-Source" -DCMAKE_INSTALL_PREFIX=/usr + cmake .. -DCMAKE_INSTALL_PREFIX=/usr make } package() { - cd "${srcdir}/build" + cd "${srcdir}//${pkgname}-${pkgver}-Source/build" make DESTDIR="${pkgdir}" install } +md5sums=('769e8872ca8a59327b2073ce2f142589' + 'c30f52b1a9018132e5ecd0c14616cb65') diff --git a/community/libfbclient/PKGBUILD b/community/libfbclient/PKGBUILD index 981d50cef..969cb6ecb 100755 --- a/community/libfbclient/PKGBUILD +++ b/community/libfbclient/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72429 2012-06-14 12:17:07Z lcarlier $ +# $Id: PKGBUILD 80240 2012-11-18 10:30:33Z andrea $ # Maintainer: Carlier Laurent # Contributor: Douglas Soares de Andrade pkgname=libfbclient -pkgver=2.5.1.26351 -pkgrel=3 +pkgver=2.5.2.26539 +pkgrel=1 pkgdesc="Client library for Firebird." arch=('i686' 'x86_64') url="http://www.firebirdsql.org/" @@ -13,7 +13,7 @@ depends=('gcc-libs' 'icu') options=('!makeflags') source=(http://downloads.sourceforge.net/firebird/Firebird-$pkgver-0.tar.bz2 LICENSE) -md5sums=('1772fba4f09c8fc84d989282405f90fd' +md5sums=('adf2d2f9d48a53dc6c490ba1e44631fd' '0d61798861e159c85dbdf0f30fe2f2ce') build() { @@ -31,13 +31,15 @@ build() { package() { cd $srcdir/Firebird-$pkgver-0 - mkdir -p $pkgdir/usr/{bin,share/firebird} + mkdir -p $pkgdir/usr/{bin,share/{firebird,licenses/$pkgname}} + cp -R gen/firebird/{lib,include} $pkgdir/usr rm -f $pkgdir/usr/lib/libedit.a + install -m644 gen/firebird/*.msg $pkgdir/usr/share/firebird install -m755 gen/firebird/bin/fb_config $pkgdir/usr/bin - mkdir -p $srcdir/usr/share/licenses/$pkgname/ - install -D -m644 ${srcdir}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -m644 ${srcdir}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + # Add libgds support FS#30062 FS#30282 cd $pkgdir/usr/lib ln -s libfbclient.so libgds.so.0 diff --git a/community/lxsession/PKGBUILD b/community/lxsession/PKGBUILD index db8719774..178291ceb 100644 --- a/community/lxsession/PKGBUILD +++ b/community/lxsession/PKGBUILD @@ -1,29 +1,33 @@ -# $Id: PKGBUILD 53453 2011-08-03 19:42:00Z angvp $ -# Maintainer: Angel Velasquez -# Maintainer: Juergen Hoetzel +# $Id: PKGBUILD 80231 2012-11-18 09:34:03Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Angel Velasquez +# Contributor: Juergen Hoetzel pkgname=lxsession pkgver=0.4.6.1 -pkgrel=1 -pkgdesc="Session manager of the LXDE Desktop (light version)" +pkgrel=3 +pkgdesc='Lightweight X11 session manager' arch=('i686' 'x86_64') -license=('GPL2') url="http://lxde.org/" +license=('GPL2') groups=('lxde') depends=('gtk2' 'dbus') makedepends=('pkgconfig' 'intltool') replaces=('lxde-settings-daemon' 'lxsession-lite') conflicts=('lxsession-lite' 'lxde-settings-daemon') -source=(http://downloads.sourceforge.net/lxde/lxsession-${pkgver}.tar.gz) -md5sums=('e456b64c5ab3652a4dec661ec706dc6e') +source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz + lxsession-0.4.6.1-logind-support.patch) +md5sums=('e456b64c5ab3652a4dec661ec706dc6e' + '7459321f5dc263493837768dcb03f852') build() { - cd "$srcdir/lxsession-$pkgver" - ./configure --sysconfdir=/etc --prefix=/usr - make + cd $srcdir/$pkgname-$pkgver + patch -Np2 -i $srcdir/lxsession-0.4.6.1-logind-support.patch + ./configure --sysconfdir=/etc --prefix=/usr + make } package() { - cd "$srcdir/lxsession-$pkgver" - make DESTDIR="$pkgdir" install + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } diff --git a/community/lxsession/lxsession-0.4.6.1-logind-support.patch b/community/lxsession/lxsession-0.4.6.1-logind-support.patch new file mode 100644 index 000000000..44829e615 --- /dev/null +++ b/community/lxsession/lxsession-0.4.6.1-logind-support.patch @@ -0,0 +1,608 @@ +--- src/lxsession-0.4.6.1/lxsession-logout/dbus-interface.c 2011-07-27 21:26:36.000000000 +0200 ++++ src/lxsession-0.4.6.1/lxsession-logout-logind/dbus-interface.c 2012-11-13 17:26:30.807070976 +0100 +@@ -51,13 +51,20 @@ + char * dbus_HAL_Reboot(void); + char * dbus_HAL_Suspend(void); + char * dbus_HAL_Hibernate(void); ++gboolean dbus_logind_CanPowerOff(void); ++gboolean dbus_logind_CanReboot(void); ++gboolean dbus_logind_CanSuspend(void); ++gboolean dbus_logind_CanHibernate(void); ++char * dbus_logind_PowerOff(void); ++char * dbus_logind_Reboot(void); ++char * dbus_logind_Suspend(void); ++char * dbus_logind_Hibernate(void); ++char * dbus_LXDE_Logout(void); + /* End FORWARDS */ + + /* Connect to the system bus. Once a connection is made, it is saved for reuse. */ +-static DBusConnection * dbus_connect(void) ++static DBusConnection * dbus_connect_system(void) + { +- if ((dbus_context.connection == NULL) && ( ! dbus_context.connection_tried)) +- { + DBusError error; + dbus_error_init(&error); + dbus_context.connection = dbus_bus_get(DBUS_BUS_SYSTEM, &error); +@@ -67,16 +74,57 @@ + dbus_error_free(&error); + } + dbus_context.connection_tried = TRUE; +- } + + return dbus_context.connection; + } + ++static DBusConnection * dbus_connect_session(void) ++{ ++ DBusError error; ++ dbus_error_init(&error); ++ dbus_context.connection = dbus_bus_get(DBUS_BUS_SESSION, &error); ++ if (dbus_context.connection == NULL) ++ { ++ g_warning(G_STRLOC ": Failed to connect to the session message bus: %s", error.message); ++ dbus_error_free(&error); ++ } ++ dbus_context.connection_tried = TRUE; ++ ++ return dbus_context.connection; ++} ++ ++ + /* Send a message. */ +-static DBusMessage * dbus_send_message(DBusMessage * message, char * * error_text) ++static DBusMessage * dbus_send_message_system(DBusMessage * message, char * * error_text) + { + /* Get a connection handle. */ +- DBusConnection * connection = dbus_connect(); ++ DBusConnection * connection = dbus_connect_system(); ++ if (connection == NULL) ++ return FALSE; ++ ++ /* Send the message. */ ++ DBusError error; ++ dbus_error_init(&error); ++ DBusMessage * reply = dbus_connection_send_with_reply_and_block(connection, message, DBUS_TIMEOUT, &error); ++ dbus_message_unref(message); ++ if (reply == NULL) ++ { ++ if ((error.name == NULL) || (strcmp(error.name, DBUS_ERROR_NO_REPLY) != 0)) ++ { ++ if (error_text != NULL) ++ *error_text = g_strdup(error.message); ++ g_warning(G_STRLOC ": DBUS: %s", error.message); ++ } ++ dbus_error_free(&error); ++ } ++ return reply; ++} ++ ++/* Send a message. */ ++static DBusMessage * dbus_send_message_session(DBusMessage * message, char * * error_text) ++{ ++ /* Get a connection handle. */ ++ DBusConnection * connection = dbus_connect_session(); + if (connection == NULL) + return FALSE; + +@@ -132,6 +180,36 @@ + } + return result; + } ++ ++/* Read a result for a method that returns a string encoded boolean. */ ++static gboolean dbus_read_result_sboolean(DBusMessage * reply) ++{ ++ gboolean result = FALSE; ++ char* string_result; ++ if (reply != NULL) ++ { ++ /* Get the string result. */ ++ DBusError error; ++ dbus_error_init(&error); ++ dbus_bool_t status = dbus_message_get_args( ++ reply, ++ &error, ++ DBUS_TYPE_STRING, &string_result, ++ DBUS_TYPE_INVALID); ++ if ( ! status) ++ { ++ g_warning(G_STRLOC ": DBUS: %s", error.message); ++ dbus_error_free(&error); ++ } ++ else ++ { ++ if (!strcmp(string_result, "yes")) ++ result = TRUE; ++ } ++ dbus_message_unref(reply); ++ } ++ return result; ++} + #endif + + /*** ConsoleKit mechanism ***/ +@@ -152,7 +230,7 @@ + static gboolean dbus_ConsoleKit_query(const char * const query) + { + #ifdef HAVE_DBUS +- return dbus_read_result_boolean(dbus_send_message(dbus_ConsoleKit_formulate_message(query), NULL)); ++ return dbus_read_result_boolean(dbus_send_message_system(dbus_ConsoleKit_formulate_message(query), NULL)); + #else + return FALSE; + #endif +@@ -163,7 +241,7 @@ + { + #ifdef HAVE_DBUS + char * error = NULL; +- dbus_read_result_void(dbus_send_message(dbus_ConsoleKit_formulate_message(command), &error)); ++ dbus_read_result_void(dbus_send_message_system(dbus_ConsoleKit_formulate_message(command), &error)); + return error; + #else + return NULL; +@@ -225,7 +303,7 @@ + DBUS_TYPE_INVALID); + + /* Send the message. */ +- DBusMessage * reply = dbus_send_message(message, NULL); ++ DBusMessage * reply = dbus_send_message_system(message, NULL); + if (reply == NULL) + return FALSE; + +@@ -252,7 +330,7 @@ + { + #ifdef HAVE_DBUS + char * error = NULL; +- dbus_read_result_void(dbus_send_message(dbus_UPower_formulate_command(command), &error)); ++ dbus_read_result_void(dbus_send_message_system(dbus_UPower_formulate_command(command), &error)); + return error; + #else + return NULL; +@@ -329,7 +407,7 @@ + DBusMessage * message = dbus_HAL_formulate_string_property_query(property); + if (message == NULL) + return FALSE; +- DBusMessage * reply = dbus_send_message(message, NULL); ++ DBusMessage * reply = dbus_send_message_system(message, NULL); + if (reply == NULL) + return FALSE; + dbus_message_unref(reply); +@@ -343,7 +421,7 @@ + static gboolean dbus_HAL_boolean_query(const char * const property) + { + #ifdef HAVE_DBUS +- return dbus_read_result_boolean(dbus_send_message(dbus_HAL_formulate_boolean_property_query(property), NULL)); ++ return dbus_read_result_boolean(dbus_send_message_system(dbus_HAL_formulate_boolean_property_query(property), NULL)); + #else + return FALSE; + #endif +@@ -367,7 +445,7 @@ + + /* Send the message and wait for a reply. */ + char * error = NULL; +- dbus_read_result_void(dbus_send_message(message, &error)); ++ dbus_read_result_void(dbus_send_message_system(message, &error)); + return error; + #else + return NULL; +@@ -421,3 +499,185 @@ + { + return dbus_HAL_command("Hibernate"); + } ++ ++/*** logind mechanism ***/ ++ ++#ifdef HAVE_DBUS ++/* Formulate a message to the logind Manager interface to query a property. */ ++static DBusMessage * dbus_logind_formulate_query(const char * const query) ++{ ++ return dbus_message_new_method_call( ++ "org.freedesktop.login1", ++ "/org/freedesktop/login1", ++ "org.freedesktop.login1.Manager", ++ query); ++} ++ ++/* Formulate a message to the logind Manager interface. */ ++static DBusMessage * dbus_logind_formulate_message(const char * const method) ++{ ++ static dbus_bool_t interactive = FALSE; ++ DBusMessage * message = dbus_message_new_method_call( ++ "org.freedesktop.login1", ++ "/org/freedesktop/login1", ++ "org.freedesktop.login1.Manager", ++ method); ++ if (message != NULL) ++ dbus_message_append_args(message, DBUS_TYPE_BOOLEAN, &interactive, DBUS_TYPE_INVALID); ++ return message; ++} ++#endif ++ ++/* Send a specified query to the logind interface and process a boolean result. */ ++static gboolean dbus_logind_query(const char * const query) ++{ ++#ifdef HAVE_DBUS ++ return dbus_read_result_sboolean(dbus_send_message_system(dbus_logind_formulate_query(query), NULL)); ++#else ++ return FALSE; ++#endif ++} ++ ++/* Send a specified command to the logind interface and process a void result. */ ++static char * dbus_logind_command(const char * const command) ++{ ++#ifdef HAVE_DBUS ++ char * error = NULL; ++ dbus_read_result_void(dbus_send_message_system(dbus_logind_formulate_message(command), &error)); ++ return error; ++#else ++ return NULL; ++#endif ++} ++ ++/* Read the can-poweroff property of logind. */ ++gboolean dbus_logind_CanPowerOff(void) ++{ ++ return dbus_logind_query("CanPowerOff"); ++} ++ ++/* Read the can-reboot property of logind. */ ++gboolean dbus_logind_CanReboot(void) ++{ ++ return dbus_logind_query("CanReboot"); ++} ++ ++/* Read the can-suspend property of logind. */ ++gboolean dbus_logind_CanSuspend(void) ++{ ++ return dbus_logind_query("CanSuspend"); ++} ++ ++/* Read the can-hibernate property of logind. */ ++gboolean dbus_logind_CanHibernate(void) ++{ ++ return dbus_logind_query("CanHibernate"); ++} ++ ++/* Invoke the PowerOff method on logind. */ ++char * dbus_logind_PowerOff(void) ++{ ++ return dbus_logind_command("PowerOff"); ++} ++ ++/* Invoke the Reboot method on logind. */ ++char * dbus_logind_Reboot(void) ++{ ++ return dbus_logind_command("Reboot"); ++} ++ ++/* Invoke the Suspend method on logind. */ ++char * dbus_logind_Suspend(void) ++{ ++ return dbus_logind_command("Suspend"); ++} ++ ++/* Invoke the Hibernate method on logind. */ ++char * dbus_logind_Hibernate(void) ++{ ++ return dbus_logind_command("Hibernate"); ++} ++ ++/*** LXDE mechanism ***/ ++ ++#ifdef HAVE_DBUS ++/* Formulate a message to the LXDE Session Manager interface. */ ++static DBusMessage * dbus_LXDE_formulate_message(const char * const query) ++{ ++ return dbus_message_new_method_call( ++ "org.lxde.SessionManager", ++ "/org/lxde/SessionManager", ++ "org.lxde.SessionManager", ++ query); ++} ++#endif ++ ++/* Send a specified message to the LXDE interface and process a boolean result. */ ++static gboolean dbus_LXDE_query(const char * const query) ++{ ++#ifdef HAVE_DBUS ++ return dbus_read_result_boolean(dbus_send_message_session(dbus_LXDE_formulate_message(query), NULL)); ++#else ++ return FALSE; ++#endif ++} ++ ++/* Send a specified message to the LXDE interface and process a void result. */ ++static char * dbus_LXDE_command(const char * const command) ++{ ++#ifdef HAVE_DBUS ++ char * error = NULL; ++ dbus_read_result_void(dbus_send_message_session(dbus_LXDE_formulate_message(command), &error)); ++ return error; ++#else ++ return NULL; ++#endif ++} ++ ++/* Invoke the Logout method on LXDE. */ ++char * dbus_LXDE_Logout(void) ++{ ++ return dbus_LXDE_command("Logout"); ++} ++ ++/*** Lightdm mechanism ***/ ++ ++#ifdef HAVE_DBUS ++/* Formulate a message to the Lightdm interface. */ ++static DBusMessage * dbus_Lightdm_formulate_message(const char * const query) ++{ ++ return dbus_message_new_method_call( ++ "org.freedesktop.DisplayManager", ++ g_getenv ("XDG_SEAT_PATH"), ++ "org.freedesktop.DisplayManager.Seat", ++ query); ++} ++#endif ++ ++/* Send a specified message to the Lightdm interface and process a boolean result. */ ++static gboolean dbus_Lightdm_query(const char * const query) ++{ ++#ifdef HAVE_DBUS ++ return dbus_read_result_boolean(dbus_send_message_session(dbus_Lightdm_formulate_message(query), NULL)); ++#else ++ return FALSE; ++#endif ++} ++ ++/* Send a specified message to the Lightdm interface and process a void result. */ ++static char * dbus_Lightdm_command(const char * const command) ++{ ++#ifdef HAVE_DBUS ++ char * error = NULL; ++ dbus_read_result_void(dbus_send_message_session(dbus_Lightdm_formulate_message(command), &error)); ++ return error; ++#else ++ return NULL; ++#endif ++} ++ ++/* Invoke the Logout method on LXDE. */ ++char * dbus_Lightdm_SwitchToGreeter(void) ++{ ++ return dbus_Lightdm_command("SwitchToGreeter"); ++} +--- src/lxsession-0.4.6.1/lxsession-logout/dbus-interface.h 2011-07-27 21:26:36.000000000 +0200 ++++ src/lxsession-0.4.6.1/lxsession-logout-logind/dbus-interface.h 2012-11-13 17:26:30.807070976 +0100 +@@ -44,4 +44,18 @@ + extern char * dbus_HAL_Suspend(void); + extern char * dbus_HAL_Hibernate(void); + ++/* Interface to logind for shutdown, reboot, suspend, and hibernate. */ ++extern gboolean dbus_logind_CanPowerOff(void); ++extern gboolean dbus_logind_CanRestart(void); ++extern char * dbus_logind_PowerOff(void); ++extern char * dbus_logind_Restart(void); ++extern gboolean dbus_logind_CanSuspend(void); ++extern gboolean dbus_logind_CanHibernate(void); ++extern char * dbus_logind_Suspend(void); ++extern char * dbus_logind_Hibernate(void); ++ ++extern char * dbus_LXDE_Logout(void); ++ ++extern char * dbus_Lightdm_SwitchToGreeter(); ++ + #endif +--- src/lxsession-0.4.6.1/lxsession-logout/lxsession-logout.c 2011-07-27 21:26:36.000000000 +0200 ++++ src/lxsession-0.4.6.1/lxsession-logout-logind/lxsession-logout.c 2012-11-13 17:26:30.807070976 +0100 +@@ -69,12 +69,21 @@ + int reboot_HAL : 1; /* Reboot is available via HAL */ + int suspend_HAL : 1; /* Suspend is available via HAL */ + int hibernate_HAL : 1; /* Hibernate is available via HAL */ ++ int shutdown_logind : 1; /* Shutdown is available via logind */ ++ int reboot_logind : 1; /* Reboot is available via logind */ ++ int suspend_logind : 1; /* Suspend is available via logind */ ++ int hibernate_logind : 1; /* Hibernate is available via logind */ + int switch_user_GDM : 1; /* Switch User is available via GDM */ +- int switch_user_KDM : 1; /* Switch User is available via KDM */ ++ int switch_user_LIGHTDM : 1; /* Switch User is available via GDM */ ++ int switch_user_KDM : 1; /* Switch User is available via LIGHTDM */ + int ltsp : 1; /* Shutdown and reboot is accomplished via LTSP */ ++ ++ int lock_screen : 1; /* Lock screen available */ ++ + } HandlerContext; + + static gboolean lock_screen(void); ++static const gchar* determine_lock_screen(void); + static gboolean verify_running(const char * display_manager, const char * executable); + static void logout_clicked(GtkButton * button, HandlerContext * handler_context); + static void change_root_property(GtkWidget* w, const char* prop_name, const char* value); +@@ -93,13 +102,32 @@ + */ + static gboolean lock_screen(void) + { +- if (!g_spawn_command_line_async("lxlock", NULL)) ++ const gchar* program = determine_lock_screen(); ++ ++ if (program) + { ++ g_spawn_command_line_async(program, NULL); + return TRUE; + } + return FALSE; + } + ++static const gchar* determine_lock_screen(void) ++{ ++ const gchar* program = NULL; ++ ++ if (g_find_program_in_path("xdg-screensaver")) ++ { ++ program = "xdg-screensaver lock"; ++ } ++ else if (g_find_program_in_path("lxlock")) ++ { ++ program = "lxlock"; ++ } ++ return program; ++} ++ ++ + /* Verify that a program is running and that an executable is available. */ + static gboolean verify_running(const char * display_manager, const char * executable) + { +@@ -187,6 +215,8 @@ + error_result = dbus_ConsoleKit_Stop(); + else if (handler_context->shutdown_HAL) + error_result = dbus_HAL_Shutdown(); ++ else if (handler_context->shutdown_logind) ++ error_result = dbus_logind_PowerOff(); + + if (error_result != NULL) + gtk_label_set_text(GTK_LABEL(handler_context->error_label), error_result); +@@ -208,6 +238,8 @@ + error_result = dbus_ConsoleKit_Restart(); + else if (handler_context->reboot_HAL) + error_result = dbus_HAL_Reboot(); ++ else if (handler_context->reboot_logind) ++ error_result = dbus_logind_Reboot(); + + if (error_result != NULL) + gtk_label_set_text(GTK_LABEL(handler_context->error_label), error_result); +@@ -225,6 +257,8 @@ + error_result = dbus_UPower_Suspend(); + else if (handler_context->suspend_HAL) + error_result = dbus_HAL_Suspend(); ++ else if (handler_context->suspend_logind) ++ error_result = dbus_logind_Suspend(); + + if (error_result != NULL) + gtk_label_set_text(GTK_LABEL(handler_context->error_label), error_result); +@@ -242,6 +276,8 @@ + error_result = dbus_UPower_Hibernate(); + else if (handler_context->hibernate_HAL) + error_result = dbus_HAL_Hibernate(); ++ else if (handler_context->hibernate_logind) ++ error_result = dbus_logind_Hibernate(); + + if (error_result != NULL) + gtk_label_set_text(GTK_LABEL(handler_context->error_label), error_result); +@@ -258,6 +294,17 @@ + g_spawn_command_line_sync("gdmflexiserver --startnew", NULL, NULL, NULL, NULL); + else if (handler_context->switch_user_KDM) + g_spawn_command_line_sync("kdmctl reserve", NULL, NULL, NULL, NULL); ++ else if (handler_context->switch_user_LIGHTDM) ++ dbus_Lightdm_SwitchToGreeter(); ++ gtk_main_quit(); ++} ++ ++/* Handler for "clicked" signal on Lock button. */ ++static void lock_screen_clicked(GtkButton * button, HandlerContext * handler_context) ++{ ++ gtk_label_set_text(GTK_LABEL(handler_context->error_label), NULL); ++ ++ lock_screen(); + gtk_main_quit(); + } + +@@ -435,6 +482,28 @@ + handler_context.hibernate_HAL = TRUE; + } + ++ /* Initialize capabilities of the logind mechanism. */ ++ if (!handler_context.shutdown_available && dbus_logind_CanPowerOff()) ++ { ++ handler_context.shutdown_available = TRUE; ++ handler_context.shutdown_logind = TRUE; ++ } ++ if (!handler_context.reboot_available && dbus_logind_CanReboot()) ++ { ++ handler_context.reboot_available = TRUE; ++ handler_context.reboot_logind = TRUE; ++ } ++ if (!handler_context.suspend_available && dbus_logind_CanSuspend()) ++ { ++ handler_context.suspend_available = TRUE; ++ handler_context.suspend_logind = TRUE; ++ } ++ if (!handler_context.hibernate_available && dbus_logind_CanHibernate()) ++ { ++ handler_context.hibernate_available = TRUE; ++ handler_context.hibernate_logind = TRUE; ++ } ++ + /* If we are under GDM, its "Switch User" is available. */ + if (verify_running("gdm", "gdmflexiserver")) + { +@@ -442,6 +511,34 @@ + handler_context.switch_user_GDM = TRUE; + } + ++ /* If we are under GDM3, its "Switch User" is available. */ ++ if (verify_running("gdm3", "gdmflexiserver")) ++ { ++ handler_context.switch_user_available = TRUE; ++ handler_context.switch_user_GDM = TRUE; ++ } ++ ++ /* lightdm also use gdmflexiserver */ ++ if (verify_running("lightdm", "gdmflexiserver")) ++ { ++ handler_context.switch_user_available = TRUE; ++ handler_context.switch_user_GDM = TRUE; ++ } ++ ++ /* lightdm also use gdmflexiserver */ ++ if (verify_running("lightdm", "gdmflexiserver")) ++ { ++ handler_context.switch_user_available = TRUE; ++ handler_context.switch_user_GDM = TRUE; ++ } ++ ++ /* lightdm can also be find by the env */ ++ if (g_getenv("XDG_SEAT_PATH")) ++ { ++ handler_context.switch_user_available = TRUE; ++ handler_context.switch_user_LIGHTDM = TRUE; ++ } ++ + /* If we are under KDM, its "Switch User" is available. */ + if (verify_running("kdm", "kdmctl")) + { +@@ -451,7 +548,18 @@ + + /* LTSP support */ + if (g_getenv("LTSP_CLIENT")) ++ { + handler_context.ltsp = TRUE; ++ handler_context.shutdown_available = TRUE; ++ handler_context.reboot_available = TRUE; ++ } ++ ++ /* Lock screen */ ++ const gchar* very_lock_screen = determine_lock_screen(); ++ if (very_lock_screen) ++ { ++ handler_context.lock_screen = TRUE; ++ } + + /* Make the button images accessible. */ + gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), PACKAGE_DATA_DIR "/lxsession/images"); +@@ -596,6 +704,17 @@ + gtk_box_pack_start(GTK_BOX(controls), switch_user_button, FALSE, FALSE, 4); + } + ++ /* Create the Lock Screen button. */ ++ if (handler_context.lock_screen && !handler_context.ltsp) ++ { ++ GtkWidget * lock_screen_button = gtk_button_new_with_mnemonic(_("L_ock Screen")); ++ GtkWidget * image = gtk_image_new_from_icon_name("system-lock-screen", GTK_ICON_SIZE_BUTTON); ++ gtk_button_set_image(GTK_BUTTON(lock_screen_button), image); ++ gtk_button_set_alignment(GTK_BUTTON(lock_screen_button), 0.0, 0.5); ++ g_signal_connect(G_OBJECT(lock_screen_button), "clicked", G_CALLBACK(lock_screen_clicked), &handler_context); ++ gtk_box_pack_start(GTK_BOX(controls), lock_screen_button, FALSE, FALSE, 4); ++ } ++ + /* Create the Logout button. */ + GtkWidget * logout_button = gtk_button_new_with_mnemonic(_("_Logout")); + GtkWidget * image = gtk_image_new_from_icon_name("system-log-out", GTK_ICON_SIZE_BUTTON); diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD index c37ca0408..880d8fb3d 100644 --- a/community/mapnik/PKGBUILD +++ b/community/mapnik/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76741 2012-09-28 19:41:57Z spupykin $ +# $Id: PKGBUILD 80241 2012-11-18 10:30:41Z andrea $ # Maintainer: Sergej Pupykin # Contributor: David Dent # Contributor: orbisvicis pkgname=mapnik pkgver=2.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" arch=('i686' 'x86_64') url="http://mapnik.org/" diff --git a/community/mod_wsgi2/PKGBUILD b/community/mod_wsgi2/PKGBUILD new file mode 100644 index 000000000..3d8a68fb6 --- /dev/null +++ b/community/mod_wsgi2/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 80259 2012-11-18 18:18:17Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Andrea Scarpino +# Contributor: Ryan Coyner + +pkgname=mod_wsgi2 +pkgver=3.4 +pkgrel=1 +pkgdesc='Python2 WSGI adapter module for Apache' +arch=('x86_64' 'i686') +url='http://www.modwsgi.org/' +license=('APACHE') +depends=('apache' 'python2') +install=$pkgname.install +source=("http://modwsgi.googlecode.com/files/mod_wsgi-$pkgver.tar.gz") +sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8') + +build() { + cd "$srcdir/mod_wsgi-$pkgver" + + ./configure --prefix=/usr \ + --with-apxs=/usr/sbin/apxs \ + --with-python=/usr/bin/python2 + make +} + +package() { + cd "$srcdir/mod_wsgi-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/mod_wsgi2/mod_wsgi2.install b/community/mod_wsgi2/mod_wsgi2.install new file mode 100644 index 000000000..d26d61631 --- /dev/null +++ b/community/mod_wsgi2/mod_wsgi2.install @@ -0,0 +1,14 @@ +post_install() { +/bin/cat << ENDOFMESSAGE +==> +==> +==> To install mod_wsgi, add the following line in +==> /etc/httpd/conf/httpd.conf file : +==> +==> LoadModule wsgi_module modules/mod_wsgi.so +==> +==> and restart/reload Apache. +==> +==> +ENDOFMESSAGE +} diff --git a/community/openntpd/PKGBUILD b/community/openntpd/PKGBUILD index c9df68411..02b44cb29 100644 --- a/community/openntpd/PKGBUILD +++ b/community/openntpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 80216 2012-11-17 19:40:50Z jelle $ +# $Id: PKGBUILD 80248 2012-11-18 11:40:59Z jelle $ # Maintainer: Vesa Kaihlavirta # Contributor: Mark Rosenstand # Contributor: Giorgio Lando (adjtimex patch) @@ -6,7 +6,7 @@ pkgname=openntpd pkgver=3.9p1 -pkgrel=20 +pkgrel=21 pkgdesc="Free, easy to use implementation of the Network Time Protocol." url="http://www.openntpd.org/" arch=('x86_64' 'i686') diff --git a/community/openntpd/openntpd.install b/community/openntpd/openntpd.install index 5b440ee2f..dd2bf4a4f 100644 --- a/community/openntpd/openntpd.install +++ b/community/openntpd/openntpd.install @@ -6,9 +6,6 @@ post_install() { true } -post_upgrade() { -} - post_remove() { getent passwd ntp &>/dev/null && userdel ntp >/dev/null getent group ntp &>/dev/null && groupdel ntp >/dev/null diff --git a/community/openttd/PKGBUILD b/community/openttd/PKGBUILD index c00595c76..a71f62515 100644 --- a/community/openttd/PKGBUILD +++ b/community/openttd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 79241 2012-11-01 16:48:44Z lcarlier $ +# $Id: PKGBUILD 80243 2012-11-18 10:31:01Z andrea $ # Maintainer: Vesa Kaihlavirta pkgname=openttd pkgver=1.2.3 -pkgrel=1 +pkgrel=2 pkgdesc='An engine for running Transport Tycoon Deluxe.' arch=('i686' 'x86_64') url='http://www.openttd.org' diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD index 72e283e60..cc4aedeee 100644 --- a/community/parrot/PKGBUILD +++ b/community/parrot/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 76937 2012-10-02 14:00:19Z spupykin $ +# $Id: PKGBUILD 80244 2012-11-18 10:31:10Z andrea $ # Maintainer: Sergej Pupykin # Contributor: mpie @@ -6,7 +6,7 @@ pkgname=parrot pkgver=4.8.0 #_rel=stable _rel=devel -pkgrel=1 +pkgrel=2 pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages" arch=('x86_64' 'i686') url="http://www.parrotcode.org/" diff --git a/community/pion-net/PKGBUILD b/community/pion-net/PKGBUILD index d2511597a..c34b2b733 100644 --- a/community/pion-net/PKGBUILD +++ b/community/pion-net/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 74005 2012-07-18 01:08:15Z ibiru $ +# $Id: PKGBUILD 80245 2012-11-18 10:31:18Z andrea $ # Maintainer: Lukas Jirkovsky # Contributor: David Watzke pkgname=pion-net pkgver=4.0.12 -pkgrel=3 +pkgrel=4 pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" url="http://www.pion.org/projects/pion-network-library" arch=('i686' 'x86_64') diff --git a/community/rygel/PKGBUILD b/community/rygel/PKGBUILD index d9d5ec4bc..147c9f125 100644 --- a/community/rygel/PKGBUILD +++ b/community/rygel/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 77776 2012-10-14 17:40:17Z bgyorgy $ +# $Id: PKGBUILD 80273 2012-11-18 23:53:28Z bgyorgy $ # Maintainer: Balló György pkgname=rygel -pkgver=0.16.1 +pkgver=0.16.3 pkgrel=1 pkgdesc="UPnP AV MediaServer and MediaRenderer that allows you to easily share audio, video and pictures, and control of media player on your home network" arch=('i686' 'x86_64') @@ -19,7 +19,7 @@ backup=('etc/rygel.conf') options=('!libtool') install=$pkgname.install source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('c8ffc0492c60b1c66f13f3f72cbee622307225d7e4cb20b43e299601463cd28d') +sha256sums=('a0325afabb6a91cbe958864183adce80ad88bcaa0fc8f8ed3f434ee0d09935bf') build() { cd "$srcdir/$pkgname-$pkgver" @@ -29,6 +29,12 @@ build() { make } +check() { + cd "$srcdir/$pkgname-$pkgver" + + make check +} + package() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/uzbl/PKGBUILD b/community/uzbl/PKGBUILD index 725ff0e0d..9ac9af3be 100644 --- a/community/uzbl/PKGBUILD +++ b/community/uzbl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 71552 2012-05-28 19:39:02Z lcarlier $ +# $Id: PKGBUILD 80256 2012-11-18 14:26:45Z lcarlier $ # Maintainer : Laurent Carlier # Contributor: Ionut Biru # Contributor: Dieter Plaetinck @@ -6,7 +6,7 @@ pkgbase=uzbl pkgname=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed') pkgver=2012.05.14 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.uzbl.org" license=('GPL3') @@ -25,6 +25,9 @@ build() { -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find ./ -name '*.py') bin/* + # NEW_BG_TAB event fix (merged upstream) + sed -i -e "s/tab_bg/bg_tab/" bin/uzbl-tabbed + make } diff --git a/community/yaz/PKGBUILD b/community/yaz/PKGBUILD index a0ac79479..a6463eede 100644 --- a/community/yaz/PKGBUILD +++ b/community/yaz/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 78691 2012-10-22 20:56:11Z jlichtblau $ +# $Id: PKGBUILD 80246 2012-11-18 10:31:25Z andrea $ # Maintainer: Jaroslav Lichtblau # Contributor: Ray Rashif # Contributor: Andrea Scarpino @@ -8,7 +8,7 @@ pkgname=yaz pkgver=4.2.43 -pkgrel=1 +pkgrel=2 pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers" arch=('i686' 'x86_64') url="http://www.indexdata.dk/yaz" -- cgit v1.2.3-54-g00ecf