[packages/idevicerestore] - updated to current snapshot, now builds with current libs
qboosh
qboosh at pld-linux.org
Mon Oct 5 20:23:04 CEST 2026
commit bf663a106ab19acaceca1993acd46dd66cc1d15b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 5 20:23:29 2026 +0200
- updated to current snapshot, now builds with current libs
idevicerestore-sh.patch | 16 ++++++++--------
idevicerestore.spec | 40 ++++++++++++++++++++++++++--------------
2 files changed, 34 insertions(+), 22 deletions(-)
---
diff --git a/idevicerestore.spec b/idevicerestore.spec
index f0b9975..2d0630e 100644
--- a/idevicerestore.spec
+++ b/idevicerestore.spec
@@ -2,29 +2,39 @@ Summary: Command-line application to restore firmware files to iOS devices
Summary(pl.UTF-8): Narzędzie linii poleceń do przywracania plików firmware w urządzeniach iOS
Name: idevicerestore
Version: 1.0.0
-Release: 4
+%define gitref 4b3e847e1d9a1210049a9e3f1d1caa38650c6617
+%define snap 20261006
+%define rel 1
+Release: 4.%{snap}.%{rel}
License: LGPL v2.1+
Group: Applications
#Source0Download: https://libimobiledevice.org/
-Source0: https://github.com/libimobiledevice/idevicerestore/releases/download/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 72cd746457730875b82589d272138f95
+#Source0: https://github.com/libimobiledevice/idevicerestore/releases/download/%{version}/%{name}-%{version}.tar.bz2
+Source0: https://github.com/libimobiledevice/idevicerestore/archive/%{gitref}/%{name}-%{snap}.tar.gz
+# Source0-md5: 4c9908bc70e19fe5102a5ba153eeefe2
Patch0: %{name}-sh.patch
URL: https://libimobiledevice.org/
-BuildRequires: autoconf >= 2.64
+BuildRequires: autoconf >= 2.68
BuildRequires: automake
BuildRequires: curl-devel >= 7.0
-BuildRequires: libimobiledevice-devel >= 1.3.0
-BuildRequires: libirecovery-devel >= 1.0.0
-BuildRequires: libplist-devel >= 2.2.0
-BuildRequires: libtool
-BuildRequires: libzip-devel >= 0.8
+BuildRequires: libimobiledevice-devel >= 1.4.0
+BuildRequires: libimobiledevice-glue-devel >= 1.3.0
+BuildRequires: libirecovery-devel >= 1.3.0
+BuildRequires: libplist-devel >= 2.6.0
+BuildRequires: libtool >= 2:2
+BuildRequires: libtatsu-devel >= 1.0.4
+BuildRequires: libusbmuxd-devel >= 2.0.2
+BuildRequires: libzip-devel >= 1.0
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: pkgconfig
BuildRequires: zlib-devel
-Requires: libimobiledevice >= 1.3.0
-Requires: libirecovery >= 1.0.0
-Requires: libplist >= 2.2.0
-Requires: libzip >= 0.8
+Requires: libimobiledevice >= 1.4.0
+Requires: libimobiledevice-glue >= 1.3.0
+Requires: libirecovery >= 1.3.0
+Requires: libplist >= 2.6.0
+Requires: libtatsu-devel >= 1.0.4
+Requires: libusbmuxd >= 2.0.2
+Requires: libzip >= 1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -43,9 +53,11 @@ W ogólności możliwe są upgrade'y i downgrade'y, ale zależy to od
dostępności blobów SHSH od Apple'a do podpisywania plików firmware'u.
%prep
-%setup -q
+%setup -q -n %{name}-%{gitref}
%patch -P0 -p1
+echo "%{version}.%{snap}" > .tarball-version
+
%build
%{__libtoolize}
%{__aclocal} -I m4
diff --git a/idevicerestore-sh.patch b/idevicerestore-sh.patch
index d5674c7..cf75b38 100644
--- a/idevicerestore-sh.patch
+++ b/idevicerestore-sh.patch
@@ -1,17 +1,17 @@
---- idevicerestore-1.0.0/configure.ac.orig 2020-06-12 20:12:09.000000000 +0200
-+++ idevicerestore-1.0.0/configure.ac 2020-09-13 08:09:19.816252395 +0200
-@@ -53,8 +53,8 @@
+--- idevicerestore-4b3e847e1d9a1210049a9e3f1d1caa38650c6617/configure.ac.orig 2026-10-05 16:40:45.000000000 +0200
++++ idevicerestore-4b3e847e1d9a1210049a9e3f1d1caa38650c6617/configure.ac 2026-10-05 20:07:05.299570355 +0200
+@@ -83,8 +83,8 @@ case ${host_os} in
*mingw32*|*cygwin*)
- AC_MSG_RESULT([yes])
+ AC_MSG_RESULT([${host_os}])
win32=true
-- GLOBAL_CFLAGS+="-DWIN32 -D__LITTLE_ENDIAN__=1"
-- AC_LDFLAGS+="-static-libgcc"
+- GLOBAL_CFLAGS+=" -DWIN32 -D__LITTLE_ENDIAN__=1"
+- AC_LDFLAGS+=" -static-libgcc"
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -DWIN32 -D__LITTLE_ENDIAN__=1"
+ AC_LDFLAGS="$AC_LDFLAGS -static-libgcc"
;;
darwin*)
- AC_MSG_RESULT([yes])
-@@ -76,7 +76,7 @@
+ AC_MSG_RESULT([${host_os}])
+@@ -105,7 +105,7 @@ if test x$win32 != xtrue; then
fi
CACHED_CFLAGS="$CFLAGS"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/idevicerestore.git/commitdiff/bf663a106ab19acaceca1993acd46dd66cc1d15b
More information about the pld-cvs-commit
mailing list