Date: Saturday, August 4, 2012 @ 06:06:26 Author: tomegun Revision: 164735
db-move: moved libimobiledevice from [testing] to [core] (i686, x86_64) Added: libimobiledevice/repos/core-i686/ libimobiledevice/repos/core-i686/HOME-segfault.patch (from rev 164734, libimobiledevice/repos/testing-i686/HOME-segfault.patch) libimobiledevice/repos/core-i686/PKGBUILD (from rev 164734, libimobiledevice/repos/testing-i686/PKGBUILD) libimobiledevice/repos/core-x86_64/ libimobiledevice/repos/core-x86_64/HOME-segfault.patch (from rev 164734, libimobiledevice/repos/testing-x86_64/HOME-segfault.patch) libimobiledevice/repos/core-x86_64/PKGBUILD (from rev 164734, libimobiledevice/repos/testing-x86_64/PKGBUILD) Deleted: libimobiledevice/repos/testing-i686/ libimobiledevice/repos/testing-x86_64/ ---------------------------------+ core-i686/HOME-segfault.patch | 14 ++++++++++++++ core-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ core-x86_64/HOME-segfault.patch | 14 ++++++++++++++ core-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) Copied: libimobiledevice/repos/core-i686/HOME-segfault.patch (from rev 164734, libimobiledevice/repos/testing-i686/HOME-segfault.patch) =================================================================== --- core-i686/HOME-segfault.patch (rev 0) +++ core-i686/HOME-segfault.patch 2012-08-04 10:06:26 UTC (rev 164735) @@ -0,0 +1,14 @@ +The patch fixes segfault when both $XDG_CONFIG_HOME and $HOME are unset +Signed-off-by: Maxim Mikityanskiy <maxtra...@gmail.com> +--- src/userpref.c.orig 2012-06-04 17:04:57.387303630 +0300 ++++ src/userpref.c 2012-06-04 17:06:05.741301627 +0300 +@@ -125,6 +125,9 @@ + const char *cdir = getenv("XDG_CONFIG_HOME"); + if (!cdir) { + cdir = getenv("HOME"); ++ if (!cdir) { ++ cdir="/root"; ++ } + strcpy(__config_dir, cdir); + strcat(__config_dir, DIR_SEP_S); + strcat(__config_dir, ".config"); Copied: libimobiledevice/repos/core-i686/PKGBUILD (from rev 164734, libimobiledevice/repos/testing-i686/PKGBUILD) =================================================================== --- core-i686/PKGBUILD (rev 0) +++ core-i686/PKGBUILD 2012-08-04 10:06:26 UTC (rev 164735) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libimobiledevice +pkgver=1.1.4 +pkgrel=2 +pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux" +url="http://libimobiledevice.org/" +arch=('i686' 'x86_64') +license=('GPL2' 'LGPL2.1') +depends=('usbmuxd' 'gnutls' 'libgcrypt') +options=('!libtool') +source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2 + HOME-segfault.patch) + +build() { + cd "$pkgname-$pkgver" + + patch -p0 < "$srcdir/HOME-segfault.patch" + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} +md5sums=('3f28cbc6a2e30d34685049c0abde5183' + '0de709dbf8e79d0b00cca06f5e61d57c') Copied: libimobiledevice/repos/core-x86_64/HOME-segfault.patch (from rev 164734, libimobiledevice/repos/testing-x86_64/HOME-segfault.patch) =================================================================== --- core-x86_64/HOME-segfault.patch (rev 0) +++ core-x86_64/HOME-segfault.patch 2012-08-04 10:06:26 UTC (rev 164735) @@ -0,0 +1,14 @@ +The patch fixes segfault when both $XDG_CONFIG_HOME and $HOME are unset +Signed-off-by: Maxim Mikityanskiy <maxtra...@gmail.com> +--- src/userpref.c.orig 2012-06-04 17:04:57.387303630 +0300 ++++ src/userpref.c 2012-06-04 17:06:05.741301627 +0300 +@@ -125,6 +125,9 @@ + const char *cdir = getenv("XDG_CONFIG_HOME"); + if (!cdir) { + cdir = getenv("HOME"); ++ if (!cdir) { ++ cdir="/root"; ++ } + strcpy(__config_dir, cdir); + strcat(__config_dir, DIR_SEP_S); + strcat(__config_dir, ".config"); Copied: libimobiledevice/repos/core-x86_64/PKGBUILD (from rev 164734, libimobiledevice/repos/testing-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2012-08-04 10:06:26 UTC (rev 164735) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer : Ionut Biru <ib...@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libimobiledevice +pkgver=1.1.4 +pkgrel=2 +pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux" +url="http://libimobiledevice.org/" +arch=('i686' 'x86_64') +license=('GPL2' 'LGPL2.1') +depends=('usbmuxd' 'gnutls' 'libgcrypt') +options=('!libtool') +source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2 + HOME-segfault.patch) + +build() { + cd "$pkgname-$pkgver" + + patch -p0 < "$srcdir/HOME-segfault.patch" + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} +md5sums=('3f28cbc6a2e30d34685049c0abde5183' + '0de709dbf8e79d0b00cca06f5e61d57c')