gnu: libimobiledevice: Update to 1.3.0.
* gnu/packages/libusb.scm (%libimobiledevice-patches): Delete variable. (libimobiledevice): Update to 1.3.0. [source, home-page]: Update URLs. [arguments]: Delete 'force-bootstrap phase. Add argument to detect the correct Python binary. [propagated-inputs]: Replace openssl-1.0 with openssl. [native-inputs]: Remove autoconf, automake, and libtool.
This commit is contained in:
		
							parent
							
								
									bea887c8e8
								
							
						
					
					
						commit
						83503258ec
					
				
					 1 changed files with 10 additions and 39 deletions
				
			
		|  | @ -403,61 +403,32 @@ connections from and to iOS devices by connecting to a socket provided by a | ||||||
| @code{usbmuxd} daemon.") | @code{usbmuxd} daemon.") | ||||||
|     (license license:lgpl2.1+))) |     (license license:lgpl2.1+))) | ||||||
| 
 | 
 | ||||||
| ;; These patches are needed to build with Python 3.8. |  | ||||||
| (define %libimobiledevice-patches |  | ||||||
|   (list (origin |  | ||||||
|           (method url-fetch) |  | ||||||
|           (uri (string-append "https://github.com/libimobiledevice/libimobiledevice" |  | ||||||
|                               "/commit/1ff3448d2e27f1bac8d2f0af8b8e952854860278.patch")) |  | ||||||
|           (file-name "libimobiledevice-python-config.patch") |  | ||||||
|           (sha256 |  | ||||||
|            (base32 |  | ||||||
|             "1mkwhp8vvhajij29jk3w4rkgcfh8d8waf908drh3076k70hb6i8y"))) |  | ||||||
|         (origin |  | ||||||
|           (method url-fetch) |  | ||||||
|           (uri (string-append "https://github.com/libimobiledevice/libimobiledevice" |  | ||||||
|                               "/commit/eea4f1be9107c8ab621fd71460e47d0d38e55d71.patch")) |  | ||||||
|           (file-name "libimobiledevice-python-3.8-compat.patch") |  | ||||||
|           (sha256 |  | ||||||
|            (base32 |  | ||||||
|             "1zz8v7kgwyq5ck1qp03l29pcmljygnjwls9d6q28nv5pkwa6848w"))))) |  | ||||||
| 
 |  | ||||||
| (define-public libimobiledevice | (define-public libimobiledevice | ||||||
|   (package |   (package | ||||||
|     (name "libimobiledevice") |     (name "libimobiledevice") | ||||||
|     (version "1.2.0") |     (version "1.3.0") | ||||||
|     (source (origin |     (source (origin | ||||||
|               (method url-fetch) |               (method url-fetch) | ||||||
|               (uri (string-append "https://www.libimobiledevice.org/downloads/" |               (uri (string-append "https://github.com/libimobiledevice" | ||||||
|                                   "libimobiledevice-" version ".tar.bz2")) |                                   "/libimobiledevice/releases/download/" | ||||||
|               ;; Note: Remove the 'force-bootstrap' phase and the autoconf |                                   version "/libimobiledevice-" version | ||||||
|               ;; inputs below when removing these patches. |                                   ".tar.bz2")) | ||||||
|               (patches %libimobiledevice-patches) |  | ||||||
|               (sha256 |               (sha256 | ||||||
|                (base32 |                (base32 | ||||||
|                 "0dqhy4qwj30mw8pwckvjmgnj1qqrh6p8c6jknmhvylshhzh0ssvq")))) |                 "1xmhfnypg6j7shl73wfkrrn4mj9dh8qzaj3258q9zkb5cc669wjk")))) | ||||||
|     (build-system gnu-build-system) |     (build-system gnu-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:phases (modify-phases %standard-phases |      '(#:configure-flags '("PYTHON_VERSION=3"))) | ||||||
|                   (add-before 'bootstrap 'force-bootstrap |  | ||||||
|                     (lambda _ |  | ||||||
|                       (delete-file "configure") |  | ||||||
|                       #t))))) |  | ||||||
|     (propagated-inputs |     (propagated-inputs | ||||||
|      `(("openssl" ,openssl-1.0) |      `(("openssl" ,openssl) | ||||||
|        ("libplist" ,libplist) |        ("libplist" ,libplist) | ||||||
|        ("libusbmuxd" ,libusbmuxd))) |        ("libusbmuxd" ,libusbmuxd))) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("python" ,python))) |      `(("python" ,python))) | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      `(("pkg-config" ,pkg-config) |      `(("pkg-config" ,pkg-config) | ||||||
|        ("python-cython" ,python-cython) |        ("python-cython" ,python-cython))) | ||||||
| 
 |     (home-page "https://libimobiledevice.org/") | ||||||
|        ;; These are required because we patch and bootstrap the build system. |  | ||||||
|        ("autoconf" ,autoconf) |  | ||||||
|        ("automake" ,automake) |  | ||||||
|        ("libtool" ,libtool))) |  | ||||||
|     (home-page "https://www.libimobiledevice.org/") |  | ||||||
|     (synopsis "Protocol library and tools to communicate with Apple devices") |     (synopsis "Protocol library and tools to communicate with Apple devices") | ||||||
|     (description "libimobiledevice is a software library that talks the |     (description "libimobiledevice is a software library that talks the | ||||||
| protocols to support Apple devices.  It allows other software to easily access | protocols to support Apple devices.  It allows other software to easily access | ||||||
|  |  | ||||||
		Reference in a new issue