[OE-core] [PATCH 02/10] procps: upstream has switched to gitlab

Khem Raj raj.khem at gmail.com
Sun Feb 16 16:53:57 UTC 2020


On Sun, Feb 16, 2020 at 7:51 AM Alexander Kanavin <alex.kanavin at gmail.com>
wrote:

> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
>  meta/recipes-extended/procps/procps_3.3.16.bb | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-extended/procps/procps_3.3.16.bb
> b/meta/recipes-extended/procps/procps_3.3.16.bb
> index 60f90976bb..2810ebd285 100644
> --- a/meta/recipes-extended/procps/procps_3.3.16.bb
> +++ b/meta/recipes-extended/procps/procps_3.3.16.bb
> @@ -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 we miss .in file from tarball ? Or is it missing in a git checkout
This is expected when building in a maintainer mode
Tarballs are produced by maintainers for users
Who wants to build from source

>
> +do_configure_prepend() {
> +    ( cd ${S} && po/update-potfiles )
> +}
>
>  EXTRA_OECONF = "--enable-skill --disable-modern-top"
>
> --
> 2.25.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200216/81f85fd9/attachment.html>


More information about the Openembedded-core mailing list