Package Details: idevicerestore-git 1:1.0.0.r190.gdf06f4d-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.000000
First Submitted: 2010-06-22 03:28 (UTC)
Last Updated: 2024-05-24 23:19 (UTC)

Latest Comments

1 2 3 Next › Last »

Twilight_Sparks commented on 2024-05-25 00:53 (UTC)

@intelfx Builds now without errors. I'll comment if i encounter another pkgbuild issue

intelfx commented on 2024-05-24 23:20 (UTC)

@Twilight_Sparks Done, thanks for the notice. I do not have a device on hand at the moment, so please test the package for me? :-)

Twilight_Sparks commented on 2024-05-24 01:56 (UTC)

The developers of libimobiledevice separated libtatsu from idevicerestore. The package fails to build with the message "Package requires libtatsu-1.0" when configuring.

intelfx commented on 2024-05-19 03:25 (UTC)

Damn, Niklas works fast.

Dropped the last patch, also rebased the configure.ac patch (it always applied successfully for me, so I did not notice the report, sorry).

jkhsjdhjs commented on 2024-05-19 00:57 (UTC)

The new patch 0002-Fix-type-mismatch-calling-libplist.patch doesn't apply cleanly anymore, as it was implemented upstream: https://github.com/libimobiledevice/idevicerestore/commit/56d2c01505479b85e9aeddf58cd4237bf4242c2c

==> Starting prepare()...
Applied patch to 'configure.ac' cleanly.
Applied patch to 'src/normal.c' with conflicts.
U src/normal.c
==> ERROR: A failure occurred in prepare().

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!