[packages/libirecovery] - updated to 1.1.0

qboosh qboosh at pld-linux.org
Sun Nov 26 21:21:48 CET 2023


commit 6dd584508fa23fa52f8bfbd197f33da33277bf29
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 26 21:09:53 2023 +0100

    - updated to 1.1.0

 libirecovery-sh.patch | 24 +++++++-----------------
 libirecovery.spec     |  7 +++++--
 2 files changed, 12 insertions(+), 19 deletions(-)
---
diff --git a/libirecovery.spec b/libirecovery.spec
index 11f5cd3..49543dc 100644
--- a/libirecovery.spec
+++ b/libirecovery.spec
@@ -5,21 +5,23 @@
 Summary:	Library and utility to talk to iBoot/iBSS via USB
 Summary(pl.UTF-8):	Biblioteka i narzędzie do komunikacji z iBoot/iBSS po USB
 Name:		libirecovery
-Version:	1.0.0
+Version:	1.1.0
 Release:	1
 License:	LGPL v2.1
 Group:		Libraries
 #Source0Download: https://libimobiledevice.org/
 Source0:	https://github.com/libimobiledevice/libirecovery/releases/download/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	ff4aff474e8d58f70b55091519c4015b
+# Source0-md5:	ec81289790478cc2b1da0e97b551cb8b
 Patch0:		%{name}-sh.patch
 URL:		https://github.com/libimobiledevice/libirecovery
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake
+BuildRequires:	libimobiledevice-glue-devel >= 1.0.0
 BuildRequires:	libtool
 BuildRequires:	libusb-devel >= 1.0.3
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
+Requires:	libimobiledevice-glue >= 1.0.0
 Requires:	libusb >= 1.0.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,6 +40,7 @@ Summary:	Header files for libirecovery library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libirecovery
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libimobiledevice-glue-devel >= 1.0.0
 Requires:	libusb-devel >= 1.0.3
 
 %description devel
diff --git a/libirecovery-sh.patch b/libirecovery-sh.patch
index f8749c9..f02926a 100644
--- a/libirecovery-sh.patch
+++ b/libirecovery-sh.patch
@@ -1,6 +1,6 @@
---- libirecovery-1.0.0/configure.ac.orig	2020-09-12 08:24:09.012837498 +0200
-+++ libirecovery-1.0.0/configure.ac	2020-09-12 08:30:23.620808073 +0200
-@@ -55,7 +55,7 @@
+--- libirecovery-1.1.0/configure.ac.orig	2023-05-13 04:40:00.000000000 +0200
++++ libirecovery-1.1.0/configure.ac	2023-11-25 21:04:52.660701247 +0100
+@@ -59,21 +59,21 @@ case ${host_os} in
  		AC_MSG_RESULT([${host_os}])
  		AC_CHECK_HEADER(CoreFoundation/CoreFoundation.h, [
  			AC_CHECK_HEADER(IOKit/usb/IOUSBLib.h, [
@@ -9,30 +9,20 @@
  				have_iokit=yes
  			], [])
  		], [])
-@@ -63,14 +63,14 @@
  	;;
  	mingw32*)
  		AC_MSG_RESULT([${host_os}])
--		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lmsvcrt -lsetupapi"
-+		GLOBAL_LDFLAGS="$GLOBAL_LDFLAGS -static-libgcc -lkernel32 -lmsvcrt -lsetupapi"
+-		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lsetupapi"
++		GLOBAL_LDFLAGS="$GLOBAL_LDFLAGS -static-libgcc -lkernel32 -lsetupapi"
  		win32=true
  	;;
  	cygwin*)
  		AC_MSG_RESULT([${host_os}])
  		CC=gcc-3
 -		CFLAGS+=" -mno-cygwin"
--		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lmsvcrt -lsetupapi"
+-		GLOBAL_LDFLAGS+=" -static-libgcc -lkernel32 -lsetupapi"
 +		CFLAGS="$CFLAGS -mno-cygwin"
-+		GLOBAL_LDFLAGS="$GLOBAL_LDFLAGS -static-libgcc -lkernel32 -lmsvcrt -lsetupapi"
++		GLOBAL_LDFLAGS="$GLOBAL_LDFLAGS -static-libgcc -lkernel32 -lsetupapi"
  		win32=true
  	;;
  	*)
-@@ -113,7 +113,7 @@
- ])
- 
- AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden $PTHREAD_CFLAGS")
--GLOBAL_LDFLAGS+=" $PTHREAD_LIBS"
-+GLOBAL_LDFLAGS="$GLOBAL_LDFLAGS $PTHREAD_LIBS"
- AC_SUBST(GLOBAL_CFLAGS)
- AC_SUBST(GLOBAL_LDFLAGS)
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libirecovery.git/commitdiff/6dd584508fa23fa52f8bfbd197f33da33277bf29



More information about the pld-cvs-commit mailing list