($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [meta-oe][PATCH] transmission: Upgrade to 4.0.5
Date: Thu,  9 May 2024 12:59:07 -0700	[thread overview]
Message-ID: <20240509195907.1863061-1-raj.khem@gmail.com> (raw)

License-Update: Copyright Years updated

Add missing MIT license,see COPYING file

Switch to cmake build system as thats the new and only
build system supported.

Use gtk4 when selecting gtk knob, it can support gtk3 as well
however, its not added as knob, if needed someone should send
a patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...nsmission_git.bb => transmission_4.0.5.bb} | 31 +++++--------------
 1 file changed, 8 insertions(+), 23 deletions(-)
 rename meta-oe/recipes-connectivity/transmission/{transmission_git.bb => transmission_4.0.5.bb} (72%)

diff --git a/meta-oe/recipes-connectivity/transmission/transmission_git.bb b/meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb
similarity index 72%
rename from meta-oe/recipes-connectivity/transmission/transmission_git.bb
rename to meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb
index 735db1441e..62e066c91c 100644
--- a/meta-oe/recipes-connectivity/transmission/transmission_git.bb
+++ b/meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb
@@ -1,50 +1,35 @@
 DESCRIPTION = "Transmission is a fast, easy, and free BitTorrent client"
 SECTION = "network"
 HOMEPAGE = "https://transmissionbt.com/"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=73f535ddffcf2a0d3af4f381f84f9b33"
+LICENSE = "MIT & GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ba8199e739948e198310093de27175fa"
 
 DEPENDS = "curl libevent gnutls openssl libtool intltool-native glib-2.0-native"
 RDEPENDS:${PN}-web = "${PN}"
 
 SRC_URI = " \
-	gitsm://github.com/transmission/transmission;branch=master;protocol=https \
+	gitsm://github.com/transmission/transmission;branch=4.0.x;protocol=https \
 	file://transmission-daemon \
 "
 
-# Transmission release 3.00
-SRCREV = "bb6b5a062ee594dfd4b7a12a6b6e860c43849bfd"
-PV = "3.00"
+# Transmission release 4.0.5
+SRCREV = "a6fe2a64aa7eca089f96006cf082a12f0cde937f"
 
 S = "${WORKDIR}/git"
 
-inherit autotools-brokensep gettext update-rc.d pkgconfig systemd mime-xdg
+inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg
 
 PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
                  ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
 
-PACKAGECONFIG[gtk] = " --with-gtk,--without-gtk,gtk+3,"
-PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd,"
+PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4,"
+PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd,"
 
 # Weak default values for transmission user and group
 # Change them in bbappend if needed
 TRANSMISSION_USER ??= "root"
 TRANSMISSION_GROUP ??= "root"
 
-# Configure aborts with:
-# config.status: error: po/Makefile.in.in was not created by intltoolize.
-do_configure() {
-	sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac
-	cd ${S}
-	./update-version-h.sh
-	intltoolize --copy --force --automake
-        aclocal
-        libtoolize --automake --copy --force
-        autoconf
-        automake -a
-        oe_runconf
-}
-
 do_install:append() {
 	if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
 		sed -i '/USERNAME=/c\USERNAME=${TRANSMISSION_USER}' ${WORKDIR}/transmission-daemon
-- 
2.45.0



                 reply	other threads:[~2024-05-09 19:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240509195907.1863061-1-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).