mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-20 16:20:31 +00:00
transmission: upgrade 4.0.6 -> 4.1.0
1.ChangeLog https://github.com/transmission/transmission/releases/tag/4.1.0 2. Remove following patches as they were merged upstream 0001-build-bump-CMake-version-to-3.10-4.patch 0001-miniupnpc-bump-CMake-version-to-3.14.patch 0001-build-set-minimum-required-CMake-to-3.5.patch 3. Change LICENSE Checksum as Copyright year has changed. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
From a18ae078a32e08a7193d0bae20190060bd1e8b85 Mon Sep 17 00:00:00 2001
|
||||
From: Yat Ho <lagoho7@gmail.com>
|
||||
Date: Thu, 1 May 2025 09:14:19 +0800
|
||||
Subject: [PATCH] build: bump CMake version to 3.10 (#4)
|
||||
|
||||
CMake < 3.5 compatibility has been removed from CMake 4.0 and CMake < 3.10 compatibility has been deprecated in CMake 3.31.
|
||||
|
||||
https://cmake.org/cmake/help/latest/release/4.0.html
|
||||
https://cmake.org/cmake/help/latest/release/3.31.html
|
||||
|
||||
Upstream-Status: Backport [https://github.com/transmission/dht/commit/38c9f261d9b58b76b9eaf85f84ec1b35151a1eac]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6d4aa99..596dbfb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
project(dht C)
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
@@ -1,31 +0,0 @@
|
||||
From 9c5ed3204bdb722b5624f6b9dbfba240a50b336c Mon Sep 17 00:00:00 2001
|
||||
From: fanquake <fanquake@gmail.com>
|
||||
Date: Fri, 12 Jan 2024 10:25:27 +0000
|
||||
Subject: [PATCH] build: set minimum required CMake to 3.5
|
||||
|
||||
Avoids:
|
||||
```bash
|
||||
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
|
||||
Compatibility with CMake < 3.5 will be removed from a future version of
|
||||
CMake.
|
||||
|
||||
Update the VERSION argument <min> value or use a ...<max> suffix to tell
|
||||
CMake that the project does not need compatibility with older versions.
|
||||
```
|
||||
|
||||
Upstream-Status: Backport [https://github.com/miniupnp/libnatpmp/pull/43]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3034df8..e7cffe5 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
project(natpmp C)
|
||||
|
||||
add_definitions(-DNATPMP_STATICLIB -DENABLE_STRNATPMPERR)
|
||||
@@ -1,21 +0,0 @@
|
||||
From aa19cb131c953e4520be5284d86964f371ee059f Mon Sep 17 00:00:00 2001
|
||||
From: Yat Ho <lagoho7@gmail.com>
|
||||
Date: Mon, 13 May 2024 16:21:28 +0800
|
||||
Subject: [PATCH] miniupnpc: bump CMake version to 3.14
|
||||
|
||||
Upstream-Status: Backport [https://github.com/transmission/miniupnpc/commit/e7b0fa83c313c50a66da76ad6fb446e5bfdb482f]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 0a53e27..2c713b5 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required (VERSION 2.6)
|
||||
+cmake_minimum_required (VERSION 3.14)
|
||||
|
||||
project (miniupnpc C)
|
||||
set (MINIUPNPC_VERSION 2.0)
|
||||
@@ -2,23 +2,20 @@ DESCRIPTION = "Transmission is a fast, easy, and free BitTorrent client"
|
||||
SECTION = "network"
|
||||
HOMEPAGE = "https://transmissionbt.com/"
|
||||
LICENSE = "MIT & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ba8199e739948e198310093de27175fa"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d54f298b276b8cc5f20168e43a0e8103"
|
||||
|
||||
DEPENDS = "curl libevent libpsl gnutls openssl libtool intltool-native glib-2.0-native"
|
||||
RDEPENDS:${PN}-web = "${PN}"
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://github.com/transmission/transmission;branch=4.0.x;protocol=https \
|
||||
file://0001-build-bump-CMake-version-to-3.10-4.patch;patchdir=third-party/dht \
|
||||
gitsm://github.com/transmission/transmission;branch=4.1.x;protocol=https;tag=${PV} \
|
||||
file://0001-bump-cmake-to-3.10.patch;patchdir=third-party/libb64 \
|
||||
file://0001-Increase-minimum-CMake-version-to-3.10.patch;patchdir=third-party/libdeflate \
|
||||
file://0001-miniupnpc-bump-CMake-version-to-3.14.patch;patchdir=third-party/miniupnpc \
|
||||
file://0001-build-set-minimum-required-CMake-to-3.5.patch;patchdir=third-party/libnatpmp \
|
||||
file://transmission-daemon \
|
||||
"
|
||||
|
||||
# Transmission release 4.0.6
|
||||
SRCREV = "38c164933e9f77c110b48fe745861c3b98e3d83e"
|
||||
# Transmission release 4.1.0
|
||||
SRCREV = "272401184f0736e6063f9da90be7d037e907508a"
|
||||
|
||||
|
||||
inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg
|
||||
@@ -45,9 +42,9 @@ do_install:append() {
|
||||
fi
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
sed -i '/User=/c\User=${TRANSMISSION_USER}' ${S}/daemon/transmission-daemon.service
|
||||
sed -i '/User=/c\User=${TRANSMISSION_USER}' ${B}/daemon/transmission-daemon.service
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${S}/daemon/transmission-daemon.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${B}/daemon/transmission-daemon.service ${D}${systemd_unitdir}/system
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user