1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 20:12:11 +02:00

gnu: Transmission: Update to 4.0.6.

* gnu/packages/bittorrent.scm (transmission): Update to 4.0.6.
[source]: Use the new patch.
[arguments]: Adjust the custom build phase 'remove-kernel-version' for 4.0.6.
* gnu/packages/patches/transmission-4.0.5-fix-build.patch: Delete file.
* gnu/packages/patches/transmission-4.0.6-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Change-Id: Id546b8537f48afd50bb00183abf7821ad7601fe9
This commit is contained in:
Leo Famulari
2024-07-31 03:34:00 -04:00
parent 27827e42ad
commit 583d881884
4 changed files with 281 additions and 45 deletions
+5 -5
View File
@@ -87,16 +87,16 @@
(define-public transmission
(package
(name "transmission")
(version "4.0.5")
(version "4.0.6")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/transmission/transmission"
"/releases/download/" version "/transmission-"
version ".tar.xz"))
(patches (search-patches "transmission-4.0.5-fix-build.patch"))
(patches (search-patches "transmission-4.0.6-fix-build.patch"))
(sha256
(base32
"0mv3ds3bbp1fbmdlrjinmzvk46acpafydirh7h2014j7988zys7x"))))
"0py4n33wk2srdfrcd5rbrbg5p1zq6nipghlins01d693i9nzwf1a"))))
(build-system cmake-build-system)
(outputs '("out" ; library and command-line interface
"gui")) ; graphical user interface
@@ -109,10 +109,10 @@
(guix build utils))
#:phases
#~(modify-phases %standard-phases
;; Avoid embedding kernel version for reproducible build
;; Avoid embedding kernel version for reproducible build
(add-after 'unpack 'remove-kernel-version
(lambda _
(substitute* "third-party/miniupnpc/updateminiupnpcstrings.sh"
(substitute* "third-party/miniupnp/miniupnpc/updateminiupnpcstrings.sh"
(("OS_VERSION=`uname -r`") "OS_VERSION=Guix"))))
(replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)