06/06: dnfdragora: new add
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
What is supposed to provide libyui-ncurses? libyui recipe in meta-oe/master doesn't provide this package.
ERROR: Nothing RPROVIDES 'libyui-ncurses' (but meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libyui-ncurses' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libyui-ncurses']
Quoted 230 lines · On Wed, Dec 27, 2017 at 4:58 PM, <[email protected]> wrote:
This is an automated email from the git hooks/post-receive script.
armin_kusterpushed a commit to branch master
in repository meta-openembedded.commit
9c6309582611519c92ec11cbda5769e0f0f0c315
Author: Zheng Ruoqin <[email protected]>
AuthorDate: Wed Dec 20 00:13:52 2017 +0800dnfdragora: new add
Add a new recipe dnfdragora.
Signed-off-by Zheng Ruoqin <[email protected]>Signed-off-by Armin Kuster <[email protected]>--- ...-set-PYTHON_INSTALL_DIR-by-running-python.patch | 26 ++++++++++++++++++ .../0001-Run-python-scripts-using-env.patch | 25 +++++++++++++++++ .../0001-To-fix-error-when-do_package.patch | 31 ++++++++++++++++++++++ .../dnfdragora/0001-disable-build-manpages.patch | 25 +++++++++++++++++ .../recipes-graphics/dnfdragora/dnfdragora_git.bb | 30 +++++++++++++++++++++ 5 files changed, 137 insertions(+)(quoted diff) +0
-0not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Do- not-set-PYTHON_INSTALL_DIR-by-running-python.patch new file mode 100644
index 0000000..46d4dbdmeta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Do- new file +0
-0not-set-PYTHON_INSTALL_DIR-by-running-python.patch
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Do- new file +19
-0@@ -0,0 +1,26 @@ +From 80179c297abb9de2829bd02356257241dd414d70 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]> +Date: Mon, 18 Dec 2017 16:25:54 +0900 +Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python. + +Signed-off-by: Lei Maohui <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..1489ef6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,7 +19,7 @@ else(NOT SPHINX_EXECUTABLE-NOTFOUND) + message(STATUS "Could NOT find sphinx-build.") + endif(NOT SPHINX_EXECUTABLE-NOTFOUND) + +-execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "fromdistutils.sysconfig import
get_python_lib;print(get_python_lib(), end='')"OUTPUT_VARIABLEPYTHON_INSTALL_DIR)
++#execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig importget_python_lib;print(get_python_lib(), end='')"OUTPUT_VARIABLEPYTHON_INSTALL_DIR)
+string(REGEX REPLACE "\n$" "" ${PYTHON_INSTALL_DIR} "${PYTHON_INSTALL_DIR}")
+ execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sys;sys.stdout.write('%s.%s' % (sys.version_info.major, sys.version_info.minor))"OUTPUT_VARIABLEPYTHON_MAJOR_DOT_MINOR_VERSION)
+message(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
+--
+2.7.4meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Do- new file +1
-0+(quoted diff) +0
-0Run-python-scripts-using-env.patch b/meta-oe/recipes-graphics/
dnfdragora/dnfdragora/0001-Run-python-scripts-using-env.patchnew file mode 100644
index 0000000..75b6b8fmeta-oe/recipes-graphics/dnfdragora/dnfdragora/0001- new file +0
-0Run-python-scripts-using-env.patch
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001- new file +25
-0@@ -0,0 +1,25 @@ +From 15d0afcfa4868b7b072b3434bac0064617d61f99 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]> +Date: Tue, 19 Dec 2017 14:53:14 +0900 +Subject: [PATCH] Run python scripts using env + +Otherwise the build tools hardcode the python path into them. + +Signed-off-by: Lei Maohui <[email protected]> +--- + bin/dnfdragora | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/dnfdragora b/bin/dnfdragora +index b8e0550..cd80f7f 100755 +--- a/bin/dnfdragora ++++ b/bin/dnfdragora +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + # vim: set et ts=4 sw=4: + # Copyright 2016-2017 Angelo Naselli <[email protected]> + # +-- +2.7.4 +(quoted diff) +0
-0fix-error-when-do_package.patch b/meta-oe/recipes-graphics/
dnfdragora/dnfdragora/0001-To-fix-error-when-do_package.patchnew file mode 100644
index 0000000..90ce1d0meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-To- new file +0
-0fix-error-when-do_package.patch
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-To- new file +6
-0@@ -0,0 +1,31 @@ +From 56d9b838b3475729d7ed9c6c156d72c28943c2b6 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]> +Date: Tue, 19 Dec 2017 11:15:29 +0900 +Subject: [PATCH] To fix error when do_package + +QA Issue: nativesdk-dnfdragora: Files/directories were installed but notshipped in any package:
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-To- new file +22
-0+ /etc + /etc/dnfdragora + /etc/dnfdragora/dnfdragora.yaml + +Signed-off-by: Lei Maohui <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..a5659f7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,7 +52,7 @@ endif(ENABLE_COMPS) + set(CMAKE_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin") + set(CMAKE_INSTALL_DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share") + set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATAROOTDIR}/locale") +-set(CMAKE_INSTALL_FULL_SYSCONFDIR "/etc") ++set(CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/../etc") + + # Configure files + configure_file(${CMAKE_SOURCE_DIR}/etc/dnfdragora.yaml.in
${CMAKE_BINARY_DIR}/etc/dnfdragora.yaml@ONLY)
+--
+2.7.4meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-To- new file +1
-0+meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001- renamed from meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-disable-build-manpages.patch +0
-0disable-build-manpages.patch
new file mode 100644
index 0000000..88bb634meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001- new file +0
-0disable-build-manpages.patch
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001- new file +25
-0@@ -0,0 +1,25 @@ +From 2e6a0db24be373a5b7741dc5a0d322a28389fbf0 Mon Sep 17 00:00:00 2001 +From: Zheng Ruoqin <[email protected]> +Date: Thu, 23 Nov 2017 16:35:44 +0900 +Subject: [PATCH] disable build manpages. + +Signed-off-by: Zheng Ruoqin <[email protected]> +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..fc32750 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -65,7 +65,6 @@ endif(GETTEXT_FOUND) + + # Build and install the man-pages + if(NOT SPHINX_EXECUTABLE-NOTFOUND) +- add_subdirectory(man) + endif(NOT SPHINX_EXECUTABLE-NOTFOUND) + + # Installing application code +-- +2.7.4 +meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb new file +1
-0@@ -0,0 +1,30 @@ +SUMMARY = "dnfdragora is a DNF frontend, based on rpmdragora from Mageia(originally rpmdrake) Perl code."
meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb new file +7
-0+LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \ + " + +SRC_URI = "git://github.com/manatools/dnfdragora.git \ + file://0001-disable-build-manpages.patch \ + file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch\
meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb new file +22
-1+ file://0001-To-fix-error-when-do_package.patch \ + file://0001-Run-python-scripts-using-env.patch \ + " + +PV = "1.0.1+git" +SRCREV = "4fef4ce889b8e4fa03191d414f63bfd50796152a" + +S = "${WORKDIR}/git" + +inherit cmake gettext pkgconfig python3-dir python3native distutils3-base + +DEPENDS += "dnf python3 " +#DEPENDS_class-nativesdk += "nativesdk-python3" + +RDEPENDS_${PN}_class-target = " python3-core libyui libyui-ncurses " + +# manpages generation requires http://www.sphinx-doc.org/ +EXTRA_OECMAKE = " -DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" + +BBCLASSEXTEND = "nativesdk" + +FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/ ${datadir}/ ${bindir}/${sysconfdir}/dnfdragora "
--
To stop receiving notification emails like this one, please contact the administrator of this repository.
--
_______________________________________________
Openembedded-commits mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Hi Martin:
I have sent the patch about add new recipe libyui-ncurses.
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : [email protected]
From: Martin Jansa [mailto:[email protected]]
Sent: Thursday, December 28, 2017 3:01 PM
To: openembedded-devel <[email protected]>; Zheng, Ruoqin/郑 若钦 <[email protected]>; akuster808 <[email protected]>
Cc: [email protected]
Subject: Re: [oe-commits] [meta-openembedded] 06/06: dnfdragora: new add
What is supposed to provide libyui-ncurses? libyui recipe in meta-oe/master doesn't provide this package.
ERROR: Nothing RPROVIDES 'libyui-ncurses' (but meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb<http://dnfdragora_git.bb> RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libyui-ncurses' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libyui-ncurses']
On Wed, Dec 27, 2017 at 4:58 PM, <[email protected]<mailto:[email protected]>> wrote:
This is an automated email from the git hooks/post-receive script.
armin_kuster pushed a commit to branch master
in repository meta-openembedded.
commit 9c6309582611519c92ec11cbda5769e0f0f0c315
Author: Zheng Ruoqin <[email protected]<mailto:[email protected]>>
AuthorDate: Wed Dec 20 00:13:52 2017 +0800
dnfdragora: new add
Add a new recipe dnfdragora.
--- ...-set-PYTHON_INSTALL_DIR-by-running-python.patch | 26 ++++++++++++++++++ .../0001-Run-python-scripts-using-env.patch | 25 +++++++++++++++++ .../0001-To-fix-error-when-do_package.patch | 31 ++++++++++++++++++++++ .../dnfdragora/0001-disable-build-manpages.patch | 25 +++++++++++++++++ .../recipes-graphics/dnfdragora/dnfdragora_git.bb<http://dnfdragora_git.bb> | 30 +++++++++++++++++++++ 5 files changed, 137 insertions(+)
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 80179c297abb9de2829bd02356257241dd414d70 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]<mailto:[email protected]>> +Date: Mon, 18 Dec 2017 16:25:54 +0900 +Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python. + +Signed-off-by: Lei Maohui <[email protected]<mailto:[email protected]>> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..1489ef6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,7 +19,7 @@ else(NOT SPHINX_EXECUTABLE-NOTFOUND) + message(STATUS "Could NOT find sphinx-build.") + endif(NOT SPHINX_EXECUTABLE-NOTFOUND) + +-execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(), end='')" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) ++#execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(), end='')" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) + string(REGEX REPLACE "\n$" "" ${PYTHON_INSTALL_DIR} "${PYTHON_INSTALL_DIR}") + execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write('%s.%s' % (sys.version_info.major, sys.version_info.minor))" OUTPUT_VARIABLE PYTHON_MAJOR_DOT_MINOR_VERSION) + message(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}") +-- +2.7.4 +
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-Run-python-scripts-using-env.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 15d0afcfa4868b7b072b3434bac0064617d61f99 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]<mailto:[email protected]>> +Date: Tue, 19 Dec 2017 14:53:14 +0900 +Subject: [PATCH] Run python scripts using env + +Otherwise the build tools hardcode the python path into them. + +Signed-off-by: Lei Maohui <[email protected]<mailto:[email protected]>> +--- + bin/dnfdragora | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/dnfdragora b/bin/dnfdragora +index b8e0550..cd80f7f 100755 +--- a/bin/dnfdragora ++++ b/bin/dnfdragora +@@ -1,4 +1,4 @@ +-#!/usr/bin/python3 ++#!/usr/bin/env python3 + # vim: set et ts=4 sw=4: + # Copyright 2016-2017 Angelo Naselli <[email protected]<mailto:[email protected]>> + # +-- +2.7.4 +
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-To-fix-error-when-do_package.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 56d9b838b3475729d7ed9c6c156d72c28943c2b6 Mon Sep 17 00:00:00 2001 +From: Lei Maohui <[email protected]<mailto:[email protected]>> +Date: Tue, 19 Dec 2017 11:15:29 +0900 +Subject: [PATCH] To fix error when do_package + +QA Issue: nativesdk-dnfdragora: Files/directories were installed but not shipped in any package: + /etc + /etc/dnfdragora + /etc/dnfdragora/dnfdragora.yaml + +Signed-off-by: Lei Maohui <[email protected]<mailto:[email protected]>> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..a5659f7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,7 +52,7 @@ endif(ENABLE_COMPS) + set(CMAKE_INSTALL_BINDIR "${CMAKE_INSTALL_PREFIX}/bin") + set(CMAKE_INSTALL_DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share") + set(CMAKE_INSTALL_LOCALEDIR "${CMAKE_INSTALL_DATAROOTDIR}/locale") +-set(CMAKE_INSTALL_FULL_SYSCONFDIR "/etc") ++set(CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/../etc") + + # Configure files + configure_file(${CMAKE_SOURCE_DIR}/etc/dnfdragora.yaml.in<http://dnfdragora.yaml.in> ${CMAKE_BINARY_DIR}/etc/dnfdragora.yaml @ONLY) +-- +2.7.4 +
meta-oe/recipes-graphics/dnfdragora/dnfdragora/0001-disable-build-manpages.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 2e6a0db24be373a5b7741dc5a0d322a28389fbf0 Mon Sep 17 00:00:00 2001 +From: Zheng Ruoqin <[email protected]<mailto:[email protected]>> +Date: Thu, 23 Nov 2017 16:35:44 +0900 +Subject: [PATCH] disable build manpages. + +Signed-off-by: Zheng Ruoqin <[email protected]<mailto:[email protected]>> +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7c66b39..fc32750 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -65,7 +65,6 @@ endif(GETTEXT_FOUND) + + # Build and install the man-pages + if(NOT SPHINX_EXECUTABLE-NOTFOUND) +- add_subdirectory(man) + endif(NOT SPHINX_EXECUTABLE-NOTFOUND) + + # Installing application code +-- +2.7.4 +
meta-oe/recipes-graphics/dnfdragora/dnfdragora_git.bb<http://dnfdragora_git.bb> new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "dnfdragora is a DNF frontend, based on rpmdragora from Mageia (originally rpmdrake) Perl code." +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504 \ + <file:///\\LICENSE;md5=d32239bcb673463ab874e80d47fae504%20\%0b+ %20 %20 %20 %20 %20 %20 %20 %20 %20 > " + +SRC_URI = "git://github.com/manatools/dnfdragora.git<http://github.com/manatools/dnfdragora.git> \ + file://0001-disable-build-manpages.patch<file:///\\0001-disable-build-manpages.patch> \ + file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch<file:///\\0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch> \ + file://0001-To-fix-error-when-do_package.patch<file:///\\0001-To-fix-error-when-do_package.patch> \ + file://0001-Run-python-scripts-using-env.patch<file:///\\0001-Run-python-scripts-using-env.patch> \ + " + +PV = "1.0.1+git" +SRCREV = "4fef4ce889b8e4fa03191d414f63bfd50796152a" + +S = "${WORKDIR}/git" + +inherit cmake gettext pkgconfig python3-dir python3native distutils3-base + +DEPENDS += "dnf python3 " +#DEPENDS_class-nativesdk += "nativesdk-python3" + +RDEPENDS_${PN}_class-target = " python3-core libyui libyui-ncurses " + +# manpages generation requires http://www.sphinx-doc.org/ +EXTRA_OECMAKE = " -DWITH_MAN=OFF -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" + +BBCLASSEXTEND = "nativesdk" + +FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/ ${datadir}/ ${bindir}/ ${sysconfdir}/dnfdragora "
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
_______________________________________________
Openembedded-commits mailing list [email protected]<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-commits