All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core] [PATCH v2] createrepo-c: upgrade 0.17.0 -> 0.17.1
@ 2021-03-12  0:11 Wang Mingyu
  2021-03-12  0:11 ` [PATCH] libmc: use update-alternatives for sha1.h Wang Mingyu
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Mingyu @ 2021-03-12  0:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
updated since it is not available in 0.17.1

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
---
 ...1-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch | 7 +++++--
 .../{createrepo-c_0.17.0.bb => createrepo-c_0.17.1.bb}     | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/createrepo-c/{createrepo-c_0.17.0.bb => createrepo-c_0.17.1.bb} (96%)

diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index d675af4f8b..130d3fdac4 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -11,11 +11,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
-index 855127f..dff1d97 100644
+index ecc262d..a86514c 100644
 --- a/src/python/CMakeLists.txt
 +++ b/src/python/CMakeLists.txt
 @@ -14,7 +14,7 @@ if (NOT SKBUILD)
-     FIND_PACKAGE(PythonInterp 3 EXACT REQUIRED)
+     FIND_PACKAGE(PythonLibs 3 REQUIRED)
  endif (NOT SKBUILD)
  
 -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
@@ -23,3 +23,6 @@ index 855127f..dff1d97 100644
  INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
  
  MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
+-- 
+2.25.1
+
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.1.bb
similarity index 96%
rename from meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb
rename to meta/recipes-devtools/createrepo-c/createrepo-c_0.17.1.bb
index e0433806b2..f621bff8a1 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.0.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.1.bb
@@ -8,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/createrepo_c \
            file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
            "
 
-SRCREV = "909a0636665ed96f97babc3b887f9badc88875c3"
+SRCREV = "956a318b427e2489ccac754d199a09d32690ddc3"
 
 S = "${WORKDIR}/git"
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] libmc: use update-alternatives for sha1.h
  2021-03-12  0:11 [OE-core] [PATCH v2] createrepo-c: upgrade 0.17.0 -> 0.17.1 Wang Mingyu
@ 2021-03-12  0:11 ` Wang Mingyu
  2021-03-12  0:19   ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Wang Mingyu @ 2021-03-12  0:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Wang Mingyu

czmq also uses the doc 'sha1.h'.

czmq has a priority of 60.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
---
 meta/recipes-support/libmd/libmd_1.0.3.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-support/libmd/libmd_1.0.3.bb b/meta/recipes-support/libmd/libmd_1.0.3.bb
index 2e6762e490..19773633f7 100644
--- a/meta/recipes-support/libmd/libmd_1.0.3.bb
+++ b/meta/recipes-support/libmd/libmd_1.0.3.bb
@@ -14,3 +14,9 @@ SRC_URI[sha256sum] = "5a02097f95cc250a3f1001865e4dbba5f1d15554120f95693c0541923c
 inherit autotools
 
 BBCLASSEXTEND = "native nativesdk"
+
+inherit update-alternatives
+
+ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_${PN}-doc = "sha1.h"
+ALTERNATIVE_LINK_NAME[sha1.h] = "${includedir}/sha1.h"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] libmc: use update-alternatives for sha1.h
  2021-03-12  0:11 ` [PATCH] libmc: use update-alternatives for sha1.h Wang Mingyu
@ 2021-03-12  0:19   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-03-12  0:19 UTC (permalink / raw)
  To: Wang Mingyu; +Cc: Patches and discussions about the oe-core layer

On Thu, Mar 11, 2021 at 4:11 PM Wang Mingyu <wangmy@cn.fujitsu.com> wrote:
>
> czmq also uses the doc 'sha1.h'.
>
> czmq has a priority of 60.
>

I replied to associated patch you sent to oe-devel. We should do it differently.

> Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
> ---
>  meta/recipes-support/libmd/libmd_1.0.3.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-support/libmd/libmd_1.0.3.bb b/meta/recipes-support/libmd/libmd_1.0.3.bb
> index 2e6762e490..19773633f7 100644
> --- a/meta/recipes-support/libmd/libmd_1.0.3.bb
> +++ b/meta/recipes-support/libmd/libmd_1.0.3.bb
> @@ -14,3 +14,9 @@ SRC_URI[sha256sum] = "5a02097f95cc250a3f1001865e4dbba5f1d15554120f95693c0541923c
>  inherit autotools
>
>  BBCLASSEXTEND = "native nativesdk"
> +
> +inherit update-alternatives
> +
> +ALTERNATIVE_PRIORITY = "100"
> +ALTERNATIVE_${PN}-doc = "sha1.h"
> +ALTERNATIVE_LINK_NAME[sha1.h] = "${includedir}/sha1.h"
> --
> 2.25.1
>
>
> 
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-12  0:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12  0:11 [OE-core] [PATCH v2] createrepo-c: upgrade 0.17.0 -> 0.17.1 Wang Mingyu
2021-03-12  0:11 ` [PATCH] libmc: use update-alternatives for sha1.h Wang Mingyu
2021-03-12  0:19   ` [OE-core] " Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.