[arch-commits] Commit in at-spi2-core/repos (gnome-unstable-x86_64)
Date: Tuesday, September 14, 2010 @ 18:59:07 Author: ibiru Revision: 90662 archrelease: copy trunk to gnome-unstable-x86_64 Added: at-spi2-core/repos/gnome-unstable-x86_64/
[arch-commits] Commit in at-spi2-core/repos (gnome-unstable-i686)
Date: Tuesday, September 14, 2010 @ 18:58:50 Author: ibiru Revision: 90661 archrelease: copy trunk to gnome-unstable-i686 Added: at-spi2-core/repos/gnome-unstable-i686/
[arch-commits] Commit in at-spi2-atk/repos (gnome-unstable-x86_64)
Date: Tuesday, September 14, 2010 @ 18:57:05 Author: ibiru Revision: 90660 archrelease: copy trunk to gnome-unstable-x86_64 Added: at-spi2-atk/repos/gnome-unstable-x86_64/
[arch-commits] Commit in at-spi2-atk/repos (gnome-unstable-i686)
Date: Tuesday, September 14, 2010 @ 18:56:45 Author: ibiru Revision: 90659 archrelease: copy trunk to gnome-unstable-i686 Added: at-spi2-atk/repos/gnome-unstable-i686/
[arch-commits] Commit in (9 files)
Date: Tuesday, September 14, 2010 @ 18:50:54 Author: ibiru Revision: 90658 new packages for gnome 2.32 Added: at-spi2-atk/ at-spi2-atk/repos/ at-spi2-atk/trunk/ at-spi2-atk/trunk/PKGBUILD at-spi2-atk/trunk/at-spi2-atk.install at-spi2-core/ at-spi2-core/repos/ at-spi2-core/trunk/ at-spi2-core/trunk/PKGBUILD ---+ at-spi2-atk/trunk/PKGBUILD| 35 at-spi2-atk/trunk/at-spi2-atk.install | 17 +++ at-spi2-core/trunk/PKGBUILD | 28 + 3 files changed, 80 insertions(+) Added: at-spi2-atk/trunk/PKGBUILD === --- at-spi2-atk/trunk/PKGBUILD (rev 0) +++ at-spi2-atk/trunk/PKGBUILD 2010-09-14 22:50:54 UTC (rev 90658) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Ionut Biru +pkgname=at-spi2-atk +pkgver=0.3.92 +pkgrel=1 +pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi" +arch=('i686' 'x86_64') +url="http://www.gnome.org"; +license=('GPL2') +depends=('dbus-core>=1.4.0' 'dbus-glib=>0.86' 'atk>=1.30.0' 'gconf>=2.31.91') +makedepends=('intltool') +install=at-spi2-atk.install +options=('!libtool') +source=(http://download.gnome.org/sources/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('cf7ef59ee28d4d98b7faf93f17dc77ee1eb5fa84c21d4e0ca731fc9ca0d5bd53') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc \ +--disable-schemas-install + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain at-spi2-atk ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} + +# vim:set ts=2 sw=2 et: Property changes on: at-spi2-atk/trunk/PKGBUILD ___ Added: svn:keywords + Id Added: at-spi2-atk/trunk/at-spi2-atk.install === --- at-spi2-atk/trunk/at-spi2-atk.install (rev 0) +++ at-spi2-atk/trunk/at-spi2-atk.install 2010-09-14 22:50:54 UTC (rev 90658) @@ -0,0 +1,17 @@ +pkgname=at-spi2-atk + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} Added: at-spi2-core/trunk/PKGBUILD === --- at-spi2-core/trunk/PKGBUILD (rev 0) +++ at-spi2-core/trunk/PKGBUILD 2010-09-14 22:50:54 UTC (rev 90658) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Ionut Biru +pkgname=at-spi2-core +pkgver=0.3.92 +pkgrel=1 +pkgdesc="Protocol definitions and daemon for D-Bus at-spi" +arch=('i686' 'x86_64') +url="http://www.gnome.org"; +license=('GPL2') +depends=('dbus-core>=1.4.0' 'dbus-glib=>0.86' 'libxtst' 'libxevie') +source=(http://download.gnome.org/sources/${pkgname}/0.3/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('95f6dc172c4650d20e0578f84dd8771f3698e62ce8558273ca7233e62a2f500c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc \ +--libexecdir=/usr/lib/at-spi2-core + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: Property changes on: at-spi2-core/trunk/PKGBUILD ___ Added: svn:keywords + Id
[arch-commits] Commit in gtk2/repos (gnome-unstable-x86_64)
Date: Tuesday, September 14, 2010 @ 16:42:43 Author: ibiru Revision: 90657 archrelease: copy trunk to gnome-unstable-x86_64 Added: gtk2/repos/gnome-unstable-x86_64/
[arch-commits] Commit in gtk2/repos (gnome-unstable-x86_64)
Date: Tuesday, September 14, 2010 @ 16:42:27 Author: ibiru Revision: 90656 archrelease: remove gnome-unstable-x86_64 Deleted: gtk2/repos/gnome-unstable-x86_64/
[arch-commits] Commit in gtk2/repos (gnome-unstable-i686)
Date: Tuesday, September 14, 2010 @ 16:41:54 Author: ibiru Revision: 90655 archrelease: copy trunk to gnome-unstable-i686 Added: gtk2/repos/gnome-unstable-i686/
[arch-commits] Commit in gtk2/repos (gnome-unstable-i686)
Date: Tuesday, September 14, 2010 @ 16:41:39 Author: ibiru Revision: 90654 archrelease: remove gnome-unstable-i686 Deleted: gtk2/repos/gnome-unstable-i686/
[arch-commits] Commit in gtk2/trunk (4 files)
Date: Tuesday, September 14, 2010 @ 16:41:07 Author: ibiru Revision: 90653 upgpkg: gtk2 2.21.8-1 update to 2.21.8-1, remove previous patches Modified: gtk2/trunk/PKGBUILD Deleted: gtk2/trunk/display_struct_duplicate_fix1.patch gtk2/trunk/display_struct_duplicate_fix2.patch gtk2/trunk/gobject-introspection-0.9.5.patch -+ PKGBUILD| 19 display_struct_duplicate_fix1.patch | 21 display_struct_duplicate_fix2.patch | 6724 -- gobject-introspection-0.9.5.patch | 69 4 files changed, 4 insertions(+), 6829 deletions(-) The diff is longer than the limit of 200KB. Use svn diff -r 90652:90653 to see the changes.
[arch-commits] Commit in gpsd/repos (staging-x86_64)
Date: Tuesday, September 14, 2010 @ 12:57:36 Author: andrea Revision: 90652 archrelease: copy trunk to staging-x86_64 Added: gpsd/repos/staging-x86_64/
[arch-commits] Commit in gpsd/repos (staging-i686)
Date: Tuesday, September 14, 2010 @ 12:57:07 Author: andrea Revision: 90651 archrelease: copy trunk to staging-i686 Added: gpsd/repos/staging-i686/
[arch-commits] Commit in gpsd/trunk (PKGBUILD)
Date: Tuesday, September 14, 2010 @ 12:56:37 Author: andrea Revision: 90650 upgpkg: gpsd 2.95-4 python2 rebuild Modified: gpsd/trunk/PKGBUILD --+ PKGBUILD | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-14 14:28:39 UTC (rev 90649) +++ PKGBUILD2010-09-14 16:56:37 UTC (rev 90650) @@ -6,17 +6,17 @@ pkgname=gpsd pkgver=2.95 -pkgrel=3 +pkgrel=4 pkgdesc="GPS daemon and library to support USB/serial GPS devices" arch=('i686' 'x86_64') url="http://gpsd.berlios.de"; license=('GPL') -depends=('lesstif' 'libxaw' 'python' 'pth' 'libusb1' 'qt') +depends=('lesstif' 'libxaw' 'python2' 'pth' 'libusb1' 'qt') optdepends=('php: generate a PHP status page for your GPS' 'php-gd: image support for the PHP status page') backup=('etc/conf.d/gpsd' 'etc/udev/rules.d/99-gpsd-usb.rules') -options=('!libtool' 'force') +options=('!libtool') install="${pkgname}.install" source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"; 'gpsd') @@ -28,8 +28,8 @@ # install python to the same DESTDIR given make sed -i 's|--prefix=${prefix} # --root=$(DESTDIR)|--prefix=${prefix} --root=$(DESTDIR)|' Makefile.am Makefile.in - - ./configure --prefix=/usr + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } @@ -55,4 +55,7 @@ install -D -m755 gpsd.hotplug "${pkgdir}/lib/udev/gpsd.hotplug" install -D -m755 "${srcdir}/gpsd" "$pkgdir/etc/rc.d/gpsd" + + # fix python 2.7 path + find "$pkgdir" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' }
[arch-commits] Commit in qtcurve-kde3/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:28:39 Author: andrea Revision: 90649 archrelease: copy trunk to extra-x86_64 Added: qtcurve-kde3/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-kde3/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:28:19 Author: andrea Revision: 90648 archrelease: remove extra-x86_64 Deleted: qtcurve-kde3/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-kde3/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:28:06 Author: andrea Revision: 90647 archrelease: copy trunk to extra-i686 Added: qtcurve-kde3/repos/extra-i686/
[arch-commits] Commit in qtcurve-kde3/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:27:48 Author: andrea Revision: 90646 archrelease: remove extra-i686 Deleted: qtcurve-kde3/repos/extra-i686/
[arch-commits] Commit in qtcurve-kde3/trunk (PKGBUILD bypass-kde-config.patch)
Date: Tuesday, September 14, 2010 @ 10:27:37 Author: andrea Revision: 90645 upgpkg: qtcurve-kde3 1.6.0-1 upstream release Added: qtcurve-kde3/trunk/bypass-kde-config.patch Modified: qtcurve-kde3/trunk/PKGBUILD -+ PKGBUILD| 18 +- bypass-kde-config.patch | 24 2 files changed, 37 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-14 14:17:29 UTC (rev 90644) +++ PKGBUILD2010-09-14 14:27:37 UTC (rev 90645) @@ -3,7 +3,7 @@ # Contributor: Pierre Schmitz pkgname=qtcurve-kde3 -pkgver=1.5.0 +pkgver=1.6.0 pkgrel=1 arch=('i686' 'x86_64') groups=('qtcurve') @@ -13,14 +13,22 @@ depends=('kdelibs3') makedepends=('cmake' 'kdelibs') source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE3-${pkgver}.tar.bz2"; - 'kdeglobals') -md5sums=('c91536b835d28f726726da53751f56dc' - '05a6294c7f0e239e698e7e5224fc8e7f') + 'kdeglobals' + 'bypass-kde-config.patch') +md5sums=('8f93476bdb1e832c246d32dbe3e8d92d' + '05a6294c7f0e239e698e7e5224fc8e7f' + 'e1ab2c0995e412b2cbfe804fba75517e') build() { . /etc/profile.d/qt3.sh . /etc/profile.d/kde3.sh - cd $srcdir + +cd ${srcdir}/QtCurve-KDE3-${pkgver} +# Bypass KDE prefix detection by kde4-config, see: +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667 +patch -Np1 -i ${srcdir}/bypass-kde-config.patch + + cd ${srcdir} mkdir build cd build cmake ../QtCurve-KDE3-${pkgver} \ Added: bypass-kde-config.patch === --- bypass-kde-config.patch (rev 0) +++ bypass-kde-config.patch 2010-09-14 14:27:37 UTC (rev 90645) @@ -0,0 +1,24 @@ +--- QtCurve-KDE3-1.6.0/CMakeLists.txt~ 2010-09-14 16:19:36.54337 +0200 QtCurve-KDE3-1.6.0/CMakeLists.txt 2010-09-14 16:22:18.16003 +0200 +@@ -44,6 +44,12 @@ + endif (QT_PLUGINS_DIR MATCHES NOTFOUND) + endif (NOT QTC_QT_ONLY) + ++# Comment the kde3/kde4 prefix detection as a whole as it wants to run ++# kde-config and kde4-config, which in turn can create stuff in ~/.kde. ++# This cannot work on read-only homes. ++# So, the "fallback" prefixes ("/usr" for both) will be used. ++if (BRAINDEAD_DETECTION) ++ + if (NOT QTC_QT_ONLY) + exec_program(kde-config + ARGS --prefix --expandvars +@@ -71,6 +77,8 @@ + OUTPUT_VARIABLE KDE4PREFIX) + endif(KDE4_KDECONFIG_EXECUTABLE) + ++endif (BRAINDEAD_DETECTION) ++ + if(NOT KDE4PREFIX) + set(KDE4PREFIX ${KDE3PREFIX}) + endif(NOT KDE4PREFIX)
[arch-commits] Commit in mplayer/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:17:29 Author: ibiru Revision: 90644 archrelease: copy trunk to extra-x86_64 Added: mplayer/repos/extra-x86_64/
[arch-commits] Commit in mplayer/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:17:13 Author: ibiru Revision: 90643 archrelease: remove extra-x86_64 Deleted: mplayer/repos/extra-x86_64/
[arch-commits] Commit in mplayer/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:16:27 Author: ibiru Revision: 90642 archrelease: copy trunk to extra-i686 Added: mplayer/repos/extra-i686/
[arch-commits] Commit in mplayer/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:16:11 Author: ibiru Revision: 90641 archrelease: remove extra-i686 Deleted: mplayer/repos/extra-i686/
[arch-commits] Commit in mplayer/trunk (PKGBUILD)
Date: Tuesday, September 14, 2010 @ 10:15:26 Author: ibiru Revision: 90640 upgpkg: mplayer 32227-1 bump revision to fix some mencoder issues Modified: mplayer/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-14 14:11:29 UTC (rev 90639) +++ PKGBUILD2010-09-14 14:15:26 UTC (rev 90640) @@ -3,7 +3,7 @@ # Contributor: Hugo Doria pkgname=mplayer -pkgver=32025 +pkgver=32227 pkgrel=1 pkgdesc="A movie player for linux" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm') backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png) -md5sums=('0b66e1f7d26e5f5ffb2b15d0313da71b' +md5sums=('abeb9a2ce08a1952daf5d54be20da880' 'c0d6ef795cf6de48e3b87ff7c23f0319' 'd00874ccc644b7f43d6ef1c942fcef28')
[arch-commits] Commit in qtcurve-kde4/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:11:29 Author: andrea Revision: 90639 archrelease: copy trunk to extra-x86_64 Added: qtcurve-kde4/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-kde4/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 10:11:11 Author: andrea Revision: 90638 archrelease: remove extra-x86_64 Deleted: qtcurve-kde4/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-kde4/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:10:57 Author: andrea Revision: 90637 archrelease: copy trunk to extra-i686 Added: qtcurve-kde4/repos/extra-i686/
[arch-commits] Commit in qtcurve-kde4/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 10:10:40 Author: andrea Revision: 90636 archrelease: remove extra-i686 Deleted: qtcurve-kde4/repos/extra-i686/
[arch-commits] Commit in qtcurve-kde4/trunk (PKGBUILD bypass-kde-config.patch)
Date: Tuesday, September 14, 2010 @ 10:10:20 Author: andrea Revision: 90635 upgpkg: qtcurve-kde4 1.6.0-1 upstream release Added: qtcurve-kde4/trunk/bypass-kde-config.patch Modified: qtcurve-kde4/trunk/PKGBUILD -+ PKGBUILD| 15 +++ bypass-kde-config.patch | 32 2 files changed, 43 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-14 12:43:05 UTC (rev 90634) +++ PKGBUILD2010-09-14 14:10:20 UTC (rev 90635) @@ -3,7 +3,7 @@ # Contributor: Pierre Schmitz pkgname=qtcurve-kde4 -pkgver=1.5.2 +pkgver=1.6.0 pkgrel=1 arch=('i686' 'x86_64') groups=('qtcurve') @@ -12,11 +12,18 @@ url='http://www.kde-look.org/content/show.php?content=40492' depends=('kdebase-workspace') makedepends=('cmake' 'automoc4') -source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2";) -md5sums=('6fc73762101a91a09b1359eb5b2689aa') +source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"; + 'bypass-kde-config.patch') +md5sums=('f41f2eedce5680daf6fedce414a0909a' + '3f6681147cc361bd2bfd4d7477f2a8d0') build() { - cd $srcdir + cd ${srcdir}/QtCurve-KDE4-${pkgver} + # Bypass KDE prefix detection by kde4-config, see: + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667 + patch -Np1 -i ${srcdir}/bypass-kde-config.patch + + cd ${srcdir} mkdir build cd build cmake ../QtCurve-KDE4-${pkgver} \ Added: bypass-kde-config.patch === --- bypass-kde-config.patch (rev 0) +++ bypass-kde-config.patch 2010-09-14 14:10:20 UTC (rev 90635) @@ -0,0 +1,32 @@ +From: Pino Toscano +Description: Disable braindead KDE3/4 prefix detection + The current detection of the KDE 3 and KDE 4 prefixes is done running + kde-config and kde4-config, resp. + This can be problematic, as these two could create files in ~/.kde, + thus breaking when the home of the current user (eg in buildds) is read-only. + Given the build system sets anyway "/usr" as prefix of KDE 3 and KDE 4 + if they were not detected, then just let it to. +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667 + +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -16,6 +16,11 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CM + set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${QTCURVE_VERSION_FULL}") + include(CPack) + ++# Comment the kde3/kde4 prefix detection as a whole as it wants to run ++# kde-config and kde4-config, which in turn can create stuff in ~/.kde. ++# This cannot work on read-only homes. ++# So, the "fallback" prefixes ("/usr" for both) will be used. ++if (BRAINDEAD_DETECTION) + set(OLD_CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) + + # Try to find kde4-config... +@@ -48,6 +53,7 @@ if (KDE4_KDECONFIG_EXECUTABLE) + ARGS --prefix + OUTPUT_VARIABLE KDE4PREFIX) + endif (KDE4_KDECONFIG_EXECUTABLE) ++endif (BRAINDEAD_DETECTION) + + if(NOT KDE3PREFIX) + if(KDE4PREFIX)
[arch-commits] Commit in qtcurve-gtk2/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 08:43:05 Author: andrea Revision: 90634 archrelease: copy trunk to extra-x86_64 Added: qtcurve-gtk2/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-gtk2/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 08:42:45 Author: andrea Revision: 90633 archrelease: remove extra-x86_64 Deleted: qtcurve-gtk2/repos/extra-x86_64/
[arch-commits] Commit in qtcurve-gtk2/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 08:42:31 Author: andrea Revision: 90632 archrelease: copy trunk to extra-i686 Added: qtcurve-gtk2/repos/extra-i686/
[arch-commits] Commit in qtcurve-gtk2/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 08:42:04 Author: andrea Revision: 90631 archrelease: remove extra-i686 Deleted: qtcurve-gtk2/repos/extra-i686/
[arch-commits] Commit in qtcurve-gtk2/trunk (PKGBUILD)
Date: Tuesday, September 14, 2010 @ 08:41:51 Author: andrea Revision: 90630 upgpkg: qtcurve-gtk2 1.6.0-1 upstream release Modified: qtcurve-gtk2/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-14 09:38:07 UTC (rev 90629) +++ PKGBUILD2010-09-14 12:41:51 UTC (rev 90630) @@ -1,9 +1,9 @@ -# $Id: $ +# $Id:$ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=qtcurve-gtk2 -pkgver=1.5.2 +pkgver=1.6.0 pkgrel=1 arch=('i686' 'x86_64') groups=('qtcurve') @@ -14,7 +14,7 @@ depends=('gtk2') makedepends=('pkgconfig' 'cmake') options=('!libtool') -md5sums=('1f8ae823ce6202b98c8d4f60513114c8') +md5sums=('b0c513eb2b9d9ed3bb80cc2a7335b5cd') build() { cd $srcdir
[arch-commits] Commit in libgksu/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 05:38:07 Author: jgc Revision: 90629 archrelease: copy trunk to extra-x86_64 Added: libgksu/repos/extra-x86_64/
[arch-commits] Commit in libgksu/repos (extra-x86_64)
Date: Tuesday, September 14, 2010 @ 05:38:01 Author: jgc Revision: 90628 archrelease: remove extra-x86_64 Deleted: libgksu/repos/extra-x86_64/
[arch-commits] Commit in libgksu/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 05:37:58 Author: jgc Revision: 90627 archrelease: copy trunk to extra-i686 Added: libgksu/repos/extra-i686/
[arch-commits] Commit in libgksu/repos (extra-i686)
Date: Tuesday, September 14, 2010 @ 05:37:50 Author: jgc Revision: 90626 archrelease: remove extra-i686 Deleted: libgksu/repos/extra-i686/
[arch-commits] Commit in libgksu/trunk (PKGBUILD libgksu-2.0.12-revert-forkpty.patch)
Date: Tuesday, September 14, 2010 @ 05:37:47 Author: jgc Revision: 90625 upgpkg: libgksu 2.0.12-3 Add gconf to depends (FS#20752) Revert use of forkpty (FS#19614) Added: libgksu/trunk/libgksu-2.0.12-revert-forkpty.patch Modified: libgksu/trunk/PKGBUILD -+ PKGBUILD| 19 + libgksu-2.0.12-revert-forkpty.patch | 359 ++ 2 files changed, 370 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-09-13 22:00:39 UTC (rev 90624) +++ PKGBUILD2010-09-14 09:37:47 UTC (rev 90625) @@ -3,26 +3,29 @@ pkgname=libgksu pkgver=2.0.12 -pkgrel=2 +pkgrel=3 pkgdesc="gksu authorization library" arch=(i686 x86_64) url="http://www.nongnu.org/gksu/index.html"; license=(GPL) -depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10') +depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10' 'gconf>=2.28.1') makedepends=('gtk-doc' 'pkgconfig' 'intltool') options=('!libtool' '!emptydirs') install=libgksu.install -source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz) -md5sums=('c7154c8806f791c10e7626ff123049d3') +source=(http://people.debian.org/~kov/gksu/${pkgname}-${pkgver}.tar.gz +libgksu-2.0.12-revert-forkpty.patch) +md5sums=('c7154c8806f791c10e7626ff123049d3' + 'aebbe57e5286c654e27cf714cf3b704a') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/libgksu-2.0.12-revert-forkpty.patch" ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static || return 1 - make || return 1 - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 + --localstatedir=/var --disable-static + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install rm -f ${pkgdir}/usr/lib/*.a install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgksu ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgksu ${pkgdir}/etc/gconf/schemas/*.schemas rm -f ${pkgdir}/etc/gconf/schemas/*.schemas } Added: libgksu-2.0.12-revert-forkpty.patch === --- libgksu-2.0.12-revert-forkpty.patch (rev 0) +++ libgksu-2.0.12-revert-forkpty.patch 2010-09-14 09:37:47 UTC (rev 90625) @@ -0,0 +1,359 @@ +diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN libgksu-2.0.12.orig/libgksu/libgksu.c libgksu-2.0.12/libgksu/libgksu.c +--- libgksu-2.0.12.orig/libgksu/libgksu.c 2009-06-29 13:48:24.0 -0400 libgksu-2.0.12/libgksu/libgksu.c 2010-01-12 07:32:10.450657456 -0500 +@@ -1,7 +1,6 @@ + /* + * Gksu -- a library providing access to su functionality + * Copyright (C) 2004-2009 Gustavo Noronha Silva +- * Portions Copyright (C) 2009 VMware, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +@@ -56,9 +55,6 @@ + static void + gksu_context_launch_complete (GksuContext *context); + +-static void +-read_line (int fd, gchar *buffer, int n); +- + GType + gksu_error_get_type (void) + { +@@ -2009,8 +2005,6 @@ gksu_su_fuller (GksuContext *context, + for (i = 0 ; cmd[i] != NULL ; i++) + g_free (cmd[i]); + g_free(cmd); +- +- _exit(1); + } + else if (pid == -1) + { +@@ -2125,10 +2119,10 @@ gksu_su_fuller (GksuContext *context, + /* drop the \n echoed on password entry if su did request +a password */ + if (password_needed) +- read_line (fdpty, buf, 255); ++ read (fdpty, buf, 255); + if (context->debug) + fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf); +-read_line (fdpty, buf, 255); ++read (fdpty, buf, 255); + if (context->debug) + fprintf (stderr, "DEBUG (run:post-after-pass) buf: -%s-\n", buf); + } +@@ -2142,9 +2136,7 @@ gksu_su_fuller (GksuContext *context, + { + int retval = 0; + +-/* Red Hat's su shows the full path to su in its error messages. */ +-if (!strncmp (buf, "su:", 3) || +-!strncmp (buf, "/bin/su:", 7)) ++if (!strncmp (buf, "su", 2)) + { + gchar **strings; + +@@ -2155,11 +2147,7 @@ gksu_su_fuller (GksuContext *context, + } + + strings = g_strsplit (buf, ":", 2); +- +-/* Red Hat and Fedora use 'incorrect password'. */ +-if (strings[1] && +-(g_str_has_prefix(strings[1], " Authentication failure") || +- g_str_has_prefix(strings[1], " incorrect password"))) ++if (strings[1] && !strncmp (stri