]> code.ossystems Code Review - openembedded-core.git/commitdiff
procps: upstream has switched to gitlab
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 16 Feb 2020 15:50:06 +0000 (16:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Feb 2020 23:52:42 +0000 (23:52 +0000)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/procps/procps_3.3.16.bb

index 60f90976bbdca2691d32850f0c44816a3ca78b27..2810ebd285a8e8ea74b103f188eb3b57953ceaf6 100644 (file)
@@ -12,14 +12,19 @@ DEPENDS = "ncurses"
 
 inherit autotools gettext pkgconfig update-alternatives
 
-SRC_URI = "http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${PV}.tar.xz \
+SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https \
            file://sysctl.conf \
            "
+SRCREV = "59c88e18f29000ceaf7e5f98181b07be443cf12f"
 
-SRC_URI[md5sum] = "e8dc8455e573bdc40b8381d572bbb89b"
-SRC_URI[sha256sum] = "925eacd65dedcf9c98eb94e8978bbfb63f5de37294cc1047d81462ed477a20af"
+S = "${WORKDIR}/git"
 
-S = "${WORKDIR}/procps-ng-${PV}"
+# Upstream has a custom autogen.sh which invokes po/update-potfiles as they
+# don't ship a po/POTFILES.in (which is silly).  Without that file gettext
+# doesn't believe po/ is a gettext directory and won't generate po/Makefile.
+do_configure_prepend() {
+    ( cd ${S} && po/update-potfiles )
+}
 
 EXTRA_OECONF = "--enable-skill --disable-modern-top"