Package Details: idevicerestore-git 1:1.0.0.r134.g163a164-1

Git Clone URL: https://aur.archlinux.org/idevicerestore-git.git (read-only, click to copy)
Package Base: idevicerestore-git
Description: Restore/upgrade firmware of iOS devices
Upstream URL: http://www.libimobiledevice.org
Licenses: LGPL3
Submitter: matthewbauer
Maintainer: intelfx
Last Packager: intelfx
Votes: 7
Popularity: 0.000003
First Submitted: 2010-06-22 03:28 (UTC)
Last Updated: 2023-05-05 15:48 (UTC)

Latest Comments

1 2 Next › Last »

FawnKnight commented on 2024-04-13 21:41 (UTC)

I'm completely new to Arch Linux, so am I to patching package source codes. The solution from SmashedSqwurl below, however, seems incomplete to me (mismatched curly brace in the last few lines). Can someone knowledgeable tell me, if the patch file is really complete and how to apply it correctly?

SmashedSqwurl commented on 2024-03-27 01:20 (UTC)

These changes fix it for me:

diff --git a/0001-configure.ac-check-for-pthreads.patch b/0001-configure.ac-check-for-pthreads.patch
index cadb411..cd5ecca 100644
--- a/0001-configure.ac-check-for-pthreads.patch
+++ b/0001-configure.ac-check-for-pthreads.patch
@@ -9,17 +9,16 @@ Fixes building at least on Arch.
  1 file changed, 1 insertion(+)

 diff --git a/configure.ac b/configure.ac
-index 1db709a..c722910 100644
+index 1cd5844..a6c48f3 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -35,6 +35,7 @@ AM_PROG_CC_C_O
- AC_PROG_LIBTOOL
+@@ -39,6 +39,7 @@ AM_PROG_CC_C_O
+ LT_INIT

  # Checks for libraries.
 +AC_SEARCH_LIBS([pthread_create], [pthread])
  PKG_CHECK_MODULES(libirecovery, libirecovery-1.0 >= $LIBIRECOVERY_VERSION)
  PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= $LIBIMOBILEDEVICE_VERSION)
- PKG_CHECK_MODULES(libplist, libplist-2.0 >= $LIBPLIST_VERSION)
--- 
+ PKG_CHECK_MODULES(libusbmuxd, libusbmuxd-2.0 >= $LIBUSBMUXD_VERSION)
 2.27.0

diff --git a/0002-configure.ac-accept-unreleased-libirecovery-1.0-1.0..patch b/0002-configure.ac-accept-unreleased-libirecovery-1.0-1.0..patch
index 4465c4b..facb0a2 100644
--- a/0002-configure.ac-accept-unreleased-libirecovery-1.0-1.0..patch
+++ b/0002-configure.ac-accept-unreleased-libirecovery-1.0-1.0..patch
@@ -9,27 +9,27 @@ Subject: [PATCH 2/2] configure.ac: accept unreleased libirecovery-1.0 =
  1 file changed, 2 insertions(+), 2 deletions(-)

 diff --git a/configure.ac b/configure.ac
-index 74782f5..d97959d 100644
+index a6c48f3..811f26f 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -15,7 +15,7 @@ if test -z $PACKAGE_VERSION; then
  fi

  # Minimum package versions
--LIBIRECOVERY_VERSION=1.0.1
+-LIBIRECOVERY_VERSION=1.2.0
 +LIBIRECOVERY_VERSION=1.0.0
  LIBIMOBILEDEVICE_VERSION=1.3.0
+ LIBUSBMUXD_VERSION=2.0.2
  LIBPLIST_VERSION=2.3.0
- LIMD_GLUE_VERSION=1.0.0
-@@ -38,7 +38,7 @@ LT_INIT
+@@ -40,7 +40,7 @@ LT_INIT

  # Checks for libraries.
  AC_SEARCH_LIBS([pthread_create], [pthread])
 -PKG_CHECK_MODULES(libirecovery, libirecovery-1.0 >= $LIBIRECOVERY_VERSION)
-+PKG_CHECK_MODULES(libirecovery, libirecovery-1.0 >  $LIBIRECOVERY_VERSION)
++PKG_CHECK_MODULES(libirecovery, libirecovery-1.0 > $LIBIRECOVERY_VERSION)
  PKG_CHECK_MODULES(libimobiledevice, libimobiledevice-1.0 >= $LIBIMOBILEDEVICE_VERSION)
+ PKG_CHECK_MODULES(libusbmuxd, libusbmuxd-2.0 >= $LIBUSBMUXD_VERSION)
  PKG_CHECK_MODULES(libplist, libplist-2.0 >= $LIBPLIST_VERSION)
- PKG_CHECK_MODULES(limd_glue, libimobiledevice-glue-1.0 >= $LIMD_GLUE_VERSION)
 -- 
 2.40.1

diff --git a/PKGBUILD b/PKGBUILD
index ece00cd..23fb1e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=idevicerestore-git
 epoch=1
-pkgver=1.0.0.r134.g163a164
+pkgver=1.0.0.r178.ge4a5ac4
 pkgrel=1
 pkgdesc="Restore/upgrade firmware of iOS devices"
 arch=('i686' 'x86_64')
@@ -15,8 +15,8 @@ source=("git+https://github.com/libimobiledevice/idevicerestore"
         '0001-configure.ac-check-for-pthreads.patch'
         '0002-configure.ac-accept-unreleased-libirecovery-1.0-1.0..patch')
 sha256sums=('SKIP'
-            'd7fcc4e46a175d309298bd95d330c027fcca7dba3226f3e1b802c8ebe8d8ed15'
-            'b1348ccc86d0ccbbc5bf6fa4e2027b0303a52673431ace50cc1e0ef8a6171305')
+            '23b9c52a63dea83085cd486a4e2c7ea59d7ac71bb1e523a20b5162b123206739'
+            'fcf8960c54aef288ea341d616c0087b0ab756099bc2508e7f6bd2e4aa8244260')

 pkgver() {
    cd idevicerestore

SmashedSqwurl commented on 2024-03-25 14:42 (UTC)

The patches for this recipe no longer apply:

==> Starting prepare()...
patching file configure.ac
Hunk #1 succeeded at 39 with fuzz 1 (offset 4 lines).
patching file configure.ac
Hunk #1 FAILED at 15.
Hunk #2 succeeded at 40 with fuzz 2 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej

0x9fff00 commented on 2020-08-01 18:08 (UTC)

This needs to provide and conflict with idevicerestore.

jkhsjdhjs commented on 2019-12-16 21:32 (UTC)

Thanks!

intelfx commented on 2019-12-16 21:21 (UTC) (edited on 2019-12-16 21:23 (UTC) by intelfx)

@jkhsjdhjs: No. There is no libirecovery, and this project explicitly requires latest git snapshot of libimobiledevice (it does not build with extra/libimobiledevice, and it almost never did so in the past).

jkhsjdhjs commented on 2019-12-16 21:18 (UTC)

Can you change the depends from libimobiledevice-git and libirecovery-git to libimobiledevice and libirecovery, so the community packages can also be used?

marsoft commented on 2018-11-11 13:25 (UTC)

Looks like this should also require usbmuxd-git because it doesn't work correctly when using default usbmuxd: fails to connect to recovery mode device half way the recovery process.

mcd1992 commented on 2017-12-14 18:57 (UTC)

Currently has an issue with iOS 11 firmwares. See this github issue for a patch

https://github.com/libimobiledevice/idevicerestore/issues/197

Might be worth throwing in the patch with the configure.ac patch until it gets merged.

intelfx commented on 2016-03-26 14:30 (UTC)

I don't own any Apple mobile devices anymore, disowning.