summaryrefslogtreecommitdiffstats
path: root/extra/libimobiledevice
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libimobiledevice')
-rw-r--r--extra/libimobiledevice/.footprint30
-rw-r--r--extra/libimobiledevice/.md5sum3
-rw-r--r--extra/libimobiledevice/Pkgfile13
-rw-r--r--extra/libimobiledevice/libimobiledevice-1.0.4-swig-version.patch14
4 files changed, 39 insertions, 21 deletions
diff --git a/extra/libimobiledevice/.footprint b/extra/libimobiledevice/.footprint
index 91b46de27..7afbf215c 100644
--- a/extra/libimobiledevice/.footprint
+++ b/extra/libimobiledevice/.footprint
@@ -25,23 +25,23 @@ drwxr-xr-x root/root usr/include/libimobiledevice/swig/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libimobiledevice.a
-rwxr-xr-x root/root usr/lib/libimobiledevice.la
-lrwxrwxrwx root/root usr/lib/libimobiledevice.so -> libimobiledevice.so.1.0.2
-lrwxrwxrwx root/root usr/lib/libimobiledevice.so.1 -> libimobiledevice.so.1.0.2
--rwxr-xr-x root/root usr/lib/libimobiledevice.so.1.0.2
+lrwxrwxrwx root/root usr/lib/libimobiledevice.so -> libimobiledevice.so.1.0.4
+lrwxrwxrwx root/root usr/lib/libimobiledevice.so.1 -> libimobiledevice.so.1.0.4
+-rwxr-xr-x root/root usr/lib/libimobiledevice.so.1.0.4
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libimobiledevice-1.0.pc
-drwxr-xr-x root/root usr/lib/python2.6/
-drwxr-xr-x root/root usr/lib/python2.6/site-packages/
-drwxr-xr-x root/root usr/lib/python2.6/site-packages/imobiledevice/
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/__init__.py
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/__init__.pyc
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/__init__.pyo
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/_imobiledevice.a
--rwxr-xr-x root/root usr/lib/python2.6/site-packages/imobiledevice/_imobiledevice.la
--rwxr-xr-x root/root usr/lib/python2.6/site-packages/imobiledevice/_imobiledevice.so
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/imobiledevice.py
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/imobiledevice.pyc
--rw-r--r-- root/root usr/lib/python2.6/site-packages/imobiledevice/imobiledevice.pyo
+drwxr-xr-x root/root usr/lib/python2.7/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/
+drwxr-xr-x root/root usr/lib/python2.7/site-packages/imobiledevice/
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/__init__.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/__init__.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/__init__.pyo
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/_imobiledevice.a
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/imobiledevice/_imobiledevice.la
+-rwxr-xr-x root/root usr/lib/python2.7/site-packages/imobiledevice/_imobiledevice.so
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/imobiledevice.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/imobiledevice.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/imobiledevice/imobiledevice.pyo
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
diff --git a/extra/libimobiledevice/.md5sum b/extra/libimobiledevice/.md5sum
index 7b2decc2c..a8834487e 100644
--- a/extra/libimobiledevice/.md5sum
+++ b/extra/libimobiledevice/.md5sum
@@ -1 +1,2 @@
-b83dd6f501e2ef199927c20866e9e113 libimobiledevice-1.0.2.tar.bz2
+eb83311657b4a3cdbbb190eb8e47a20d libimobiledevice-1.0.4-swig-version.patch
+dbf62f2fddaa87558b6f1ebc76abb549 libimobiledevice-1.0.4.tar.bz2
diff --git a/extra/libimobiledevice/Pkgfile b/extra/libimobiledevice/Pkgfile
index bed28932d..c735d4f8f 100644
--- a/extra/libimobiledevice/Pkgfile
+++ b/extra/libimobiledevice/Pkgfile
@@ -5,14 +5,17 @@
# Depends on: gnutls, libplist, usbmuxd, libtasn1
name=libimobiledevice
-version=1.0.2
-release=1
-source=(http://libimobiledevice.org/downloads/$name-$version.tar.bz2)
-
+version=1.0.4
+release=2
+source=(http://libimobiledevice.org/downloads/$name-$version.tar.bz2 \
+ libimobiledevice-1.0.4-swig-version.patch)
build() {
cd $name-$version
- ./configure --prefix=/usr
+
+ patch -p1 -i ../libimobiledevice-1.0.4-swig-version.patch
+
+ PYTHON=python2 ./configure --prefix=/usr
make
make DESTDIR=$PKG install
}
diff --git a/extra/libimobiledevice/libimobiledevice-1.0.4-swig-version.patch b/extra/libimobiledevice/libimobiledevice-1.0.4-swig-version.patch
new file mode 100644
index 000000000..9372c5e22
--- /dev/null
+++ b/extra/libimobiledevice/libimobiledevice-1.0.4-swig-version.patch
@@ -0,0 +1,14 @@
+diff -Nur libimobiledevice-1.0.4.old/configure libimobiledevice-1.0.4/configure
+--- libimobiledevice-1.0.4.old/configure 2010-10-04 07:38:37.000000000 -0700
++++ libimobiledevice-1.0.4/configure 2010-10-08 05:43:05.466686656 -0700
+@@ -3477,9 +3477,7 @@
+ if test -z "$available_patch" ; then
+ available_patch=0
+ fi
+- if test $available_major -ne $required_major \
+- -o $available_minor -ne $required_minor \
+- -o $available_patch -lt $required_patch ; then
++ if test $available_major -lt $required_major ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&5
+ $as_echo "$as_me: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
+ SWIG=false