diff mbox series

[meta-oe,01/39] libnewt: Fetch from gitlab.com/newt-ui/newt

Message ID 20261127003543.2167775-2-khem.raj@oss.qualcomm.com
State New
Headers show
Series Source fixes, upgrades and build fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:35 a.m. UTC
releases.pagure.org is gone. Upstream moved to GitLab, which has release
tarballs only under opaque package IDs, so fetch the 0.52.25 tag with git
and check upstream versions from the git tags.

The git tree, unlike the release tarball, has no prebuilt .mo files, so
autogen.sh runs msgfmt; add gettext-native to DEPENDS.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-extended/newt/libnewt_0.52.25.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
index 18a45a3342..e82ce8fe84 100644
--- a/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
+++ b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
@@ -8,23 +8,23 @@  shared library needed by programs built with newt, as well as a \
 /usr/bin/dialog replacement called whiptail.  Newt is based on the \
 slang library."
 
-HOMEPAGE = "https://releases.pagure.org/newt/"
+HOMEPAGE = "https://gitlab.com/newt-ui/newt"
 SECTION = "libs"
 
 LICENSE = "LGPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
 
 # slang needs to be >= 2.2
-DEPENDS = "slang popt python3"
+DEPENDS = "slang popt python3 gettext-native"
 
-SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \
+SRC_URI = "git://gitlab.com/newt-ui/newt.git;protocol=https;branch=master;tag=${PV} \
            file://cross_ar.patch \
            file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \
            "
 
-SRC_URI[sha256sum] = "ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82"
+SRCREV = "9b9e7e8936f51f83a7259c5f0a9b4ff909cbd39a"
 
-S = "${UNPACKDIR}/newt-${PV}"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 
 inherit autotools-brokensep python3native python3-dir python3targetconfig