Re: [oe] [RFC meta-gnome][PATCH 05/16] lcms2: add recipe for Little Color Management System

2018-10-30 Thread Andreas Müller
On Tue, Oct 30, 2018 at 4:04 PM Brendan Kerrigan  wrote:
>
> Sounds good, I hadn't seen that. Should the existing lcms recipe be renamed 
> to lcms2? Most distros seem to package it as such and it'd also simplify the 
> recipe a bit (the PN would align with the tarball and source directory name).
>
If you want ro rename don't forget to set PROVIDES / RRPROVIDES /
RREPLACES / RCONFLICTS - otherwise you break recipes depending on lcms
(there are many) or package feeds. I wouldn't do that.

Andreas
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 05/16] lcms2: add recipe for Little Color Management System

2018-10-30 Thread Khem Raj
On Tue, Oct 30, 2018 at 9:04 AM Brendan Kerrigan  wrote:
>
> Sounds good, I hadn't seen that. Should the existing lcms recipe be renamed
> to lcms2? Most distros seem to package it as such and it'd also simplify
> the recipe a bit (the PN would align with the tarball and source directory
> name).
>

as long as we maintain upgrade path for binary feeds I would think its ok.

> On Tue, Oct 30, 2018 at 7:23 AM Burton, Ross  wrote:
>
> > On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> > > +inherit autotools pkgconfig distro_features_check
> >
> > distro_features_check isn't being used.
> >
> > But mainly, just update the existing recipe.
> >
> > Ross
> >
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 2/2] civetweb: disable tests

2018-10-30 Thread Khem Raj
On Tue, Oct 30, 2018 at 7:35 AM Pascal Bach  wrote:
>
> Tests try to download third party code and bypass the bitbake fetcher to
> do that. This will not work in environments with no internet access.
>
> Signed-off-by: Pascal Bach 
> ---
>  meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
> b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
> index 004cf960a..d681f7f30 100644
> --- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
> +++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
> @@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \
>  -DCIVETWEB_ENABLE_DUKTAPE=OFF \
>  -DCIVETWEB_ENABLE_LUA=OFF \
>  -DCIVETWEB_ENABLE_ASAN=OFF \
> +-DCIVETWEB_BUILD_TESTING=OFF \
>  "
Probably, it will be good to turn this into a packageconfig, I am fine
to disable it by default
but it might be useful to have it enabled with say images with ptest feature on.

>
>  # Building with ninja fails on missing third_party/lib/libcheck.a (which
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] add a storage I/O benchmark test suite

2018-10-30 Thread Paolo Valente



> Il giorno 25 ott 2018, alle ore 20:17, Randy MacLeod 
>  ha scritto:
> 
> On 10/25/18 1:46 PM, Paolo Valente wrote:
>> [RESENDING: FIRST ATTEMPT REJECTED BECAUSE I WAS NOT SUBSCRIBED TO THE LIST]
>>> Il giorno 23 ott 2018, alle ore 15:33, Anders Roxell 
>>>  ha scritto:
>>> 
>>> CCing in the package maintainer.
>>> 
>> Thanks Anders, hi everybody,
>>> On Sun, 21 Oct 2018 at 17:10, Khem Raj  wrote:
 
 On Sun, Oct 21, 2018 at 12:29 AM Randy MacLeod
  wrote:
> 
> On 10/19/18 10:54 AM, Anders Roxell wrote:
>> Signed-off-by: Anders Roxell 
>> ---
>> .../recipes-benchmark/s-suite/s-suite_git.bb  | 30 +++
>> 1 file changed, 30 insertions(+)
>> create mode 100644 meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
>> 
>> diff --git a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb 
>> b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
>> new file mode 100644
>> index ..77d172814065
>> --- /dev/null
>> +++ b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
>> @@ -0,0 +1,30 @@
>> +SUMMARY = "Small collection of benchmarks for storage I/O"
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=b529aaa6a0c50f15d29f89609b5c22f3"
>> +
>> +SRCREV = "79698f645bfb28d0d966484ddad3a1efb562246d"
>> +PV = "0.0+git${SRCPV}"
>> +SRC_URI = 
>> "git://github.com/Algodev-github/S.git;protocol=https;branch=master"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +# installing in /opt/S-suite since the package has
>> +# dependencies to the directory structure.
>> +do_install() {
>> +install -d ${D}/opt/S-suite
>> +for i in $(find ${S}/* -type d); do
>> +install -d ${D}/opt/S-suite/$(basename $i)
>> +install -m0755 -p ${S}/$(basename $i)/* 
>> ${D}/opt/S-suite/$(basename $i)
>> +done
>> +
>> +install -m0755 ${S}/config_params.sh ${D}/opt/S-suite
>> +install -m0755 ${S}/def_config_params.sh ${D}/opt/S-suite
>> +}
>> +
>> +RDEPENDS_${PN} = "bash bc coreutils gawk g++ gcc fio libaio libaio-dev 
>> sysstat"
>> +
>> +FILES_${PN} = "/opt/S-suite/"
>> +
>> +# added to INSANE_SKIP since s-suite have an runtime
>> +# dependency (RDEPENDS) on libaio-dev.
>> +INSANE_SKIP_${PN} += "dev-deps"
>> 
> 
> Thanks for the submission but from:
> 
>   https://github.com/Algodev-github/S
> 
>   "These benchmarks have been written just for internal use,
>and are more a yard than a well-finished work."
> 
> 
> That doesn't lead to a lot of confidence that these suite will
> be maintained for years.
>> Gosh.  I put that disclaimer in the README when I first wrote it more
>> than 10 years ago.  After then, thousands of changes have been made by
>> me and many other contributors.  Unfortunately, I put the suite on
>> GitHub only recently.  But as you can see from the log, there have
>> been 448 commits in (less than) the last five months.
>> In addition, the S suite is now used in a new Phoronix benchmark and
>> in a new mmtests benchmark.
> 
> Ah, good to know.
> 
>> So, believe me, the S suite ATM is definitely in good shape, and seems
>> to be here to stay.
>> I'll remove that line, right after finishing a non-trivial new commit
>> I'm working on.
> What's the value to meta-oe users to add
> this recipe compared to something that has been around for years
> if not decades such as Bonnie++:
>   https://layers.openembedded.org/layerindex/recipe/864/
> 
 
>> The added value is that bonnie++ does not perform *any* of the benchmarks in 
>> the S suite, apart from that on throughput. I have made the S suite, many 
>> years ago, because I needed to run benchmarks that no suite provided. Here 
>> are some examples:
>> - start-up times of real applications under real background workloads
>> - playback quality (drop rate) of video and audio under real background 
>> workloads
>> - speed of code-development tasks (make, git checkout, git merge, git
>>  grep) under real background workloads, plus measurement of system
>>  responsiveness while one of these dev tasks is executed
>> - minimum per-client bandwidth guaranteed to a set of clients doing
>>  any possible type of I/O
>> - maximum per-client latency guaranteed to a set of clients doing any
>>  possible type of I/O
>> For any doubt, here I am.
> 
> Thanks for the background Paolo.
> 
> Perhaps when you get to the clean-up work, you will simplify the
> README based on your list above, move the details to another file
> and mention it at the end of the README.
> 

Just done that too, thank you very much for this suggestion.

Paolo

> I withdraw my objection; this looks like a very useful
> set of benchmarks. Long live Algodev-github/S. ;-)
> 
> ../Randy
> 
>> Thanks,
>> Paolo
 how I read this is that they have not made proper installation
 targets and its dependencies 

[oe] [meta-python][PATCH] python-twisted: Add more python-twisted-* packages to the "meta" package

2018-10-30 Thread Mark Asselstine
Whereas the python-twisted-core package is used to install the minimum
components of python-twisted, the python-twisted package is
essentially a 'meta' package which installs all of the
python-twisted-* packages (used by folks that don't want to determine
which components they are interested in). Add additional packages to
the python-twisted 'meta' package.

NOTE: that there are still modules of python-twisted which have not
been ported to python3 (see src/twisted/python/_setup.py
"notPortedModules") so the installed packages for py2 vs. py3 will not
be the same (ie. python-twisted-news is only part of the py2 package).

Signed-off-by: Mark Asselstine 
---

Please consider this for the 'thud' branch as well. Thanks.

 meta-python/recipes-devtools/python/python-twisted.inc   | 3 +++
 meta-python/recipes-devtools/python/python-twisted_18.4.0.bb | 4 
 2 files changed, 7 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc 
b/meta-python/recipes-devtools/python/python-twisted.inc
index 260909b..01616b1 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -49,9 +49,12 @@ RDEPENDS_${PN} = "\
 ${PN}-conch \
 ${PN}-mail \
 ${PN}-names \
+${PN}-pair \
+${PN}-protocols \
 ${PN}-runner \
 ${PN}-web \
 ${PN}-words \
+${PN}-zsh \
 "
 
 RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface 
${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink 
${PYTHON_PN}-automat"
diff --git a/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb 
b/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
index 2be1709..5903db3 100644
--- a/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb
@@ -2,3 +2,7 @@ inherit pypi setuptools
 require python-twisted.inc
 
 RDEPENDS_${PN}-core += "${PYTHON_PN}-contextlib"
+
+RDEPENDS_${PN} += " \
+${PN}-news \
+"
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 05/16] lcms2: add recipe for Little Color Management System

2018-10-30 Thread Brendan Kerrigan
Sounds good, I hadn't seen that. Should the existing lcms recipe be renamed
to lcms2? Most distros seem to package it as such and it'd also simplify
the recipe a bit (the PN would align with the tarball and source directory
name).

On Tue, Oct 30, 2018 at 7:23 AM Burton, Ross  wrote:

> On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> > +inherit autotools pkgconfig distro_features_check
>
> distro_features_check isn't being used.
>
> But mainly, just update the existing recipe.
>
> Ross
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH 2/2] civetweb: disable tests

2018-10-30 Thread Pascal Bach
Tests try to download third party code and bypass the bitbake fetcher to
do that. This will not work in environments with no internet access.

Signed-off-by: Pascal Bach 
---
 meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
index 004cf960a..d681f7f30 100644
--- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \
 -DCIVETWEB_ENABLE_DUKTAPE=OFF \
 -DCIVETWEB_ENABLE_LUA=OFF \
 -DCIVETWEB_ENABLE_ASAN=OFF \
+-DCIVETWEB_BUILD_TESTING=OFF \
 "
 
 # Building with ninja fails on missing third_party/lib/libcheck.a (which
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH 1/2] civetweb: remove redundant EXTRA_OECMAKE_class-native

2018-10-30 Thread Pascal Bach
They are the same as the default version.

Signed-off-by: Pascal Bach 
---
 meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 6 --
 1 file changed, 6 deletions(-)

diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb 
b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
index 9a7844ad0..004cf960a 100644
--- a/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_git.bb
@@ -24,12 +24,6 @@ EXTRA_OECMAKE = " \
 -DCIVETWEB_ENABLE_LUA=OFF \
 -DCIVETWEB_ENABLE_ASAN=OFF \
 "
-EXTRA_OECMAKE_class-native = " \
--DBUILD_SHARED_LIBS=ON \
--DCIVETWEB_ENABLE_DUKTAPE=OFF \
--DCIVETWEB_ENABLE_LUA=OFF \
--DCIVETWEB_ENABLE_ASAN=OFF \
-"
 
 # Building with ninja fails on missing third_party/lib/libcheck.a (which
 # should come from external CMake project)
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 2/2] libyui-ncurses: fix ncurses find module

2018-10-30 Thread Pascal Bach
This makes the module look in the standard locations instead of only some
hard coded ones.

Signed-off-by: Pascal Bach 
---
 .../0003-Simplify-ncurses-finding-module.patch | 35 ++
 .../recipes-graphics/libyui/libyui-ncurses_git.bb  |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch

diff --git 
a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
new file mode 100644
index 0..2520ac46f
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0003-Simplify-ncurses-finding-module.patch
@@ -0,0 +1,35 @@
+From c2291fe28dc5682f81804941512431642975cf21 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Mon, 29 Oct 2018 18:17:32 +0100
+Subject: [PATCH] Simplify ncurses finding module
+
+CMake will automatically look in the right locations, there is no need to
+re-implement the logic with a for loop and NO_DEFAULT_PATH.
+
+It is already done like this to file the headers.
+
+Upstream-Status: Submitted [https://github.com/libyui/libyui-ncurses/pull/73]
+Signed-off-by: Pascal Bach 
+---
+ cmake/Modules/FindCurses6.cmake | 8 +++-
+ 1 file changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/cmake/Modules/FindCurses6.cmake b/cmake/Modules/FindCurses6.cmake
+index 0bf02c3..e298d5d 100644
+--- a/cmake/Modules/FindCurses6.cmake
 b/cmake/Modules/FindCurses6.cmake
+@@ -5,11 +5,9 @@
+ #  CURSES6_LIBRARIES - The libraries needed to use Curses6
+ #  CURSES6_DEFINITIONS - Compiler switches required for using Curses6
+ 
+-FOREACH(path ${CMAKE_LIBRARY_PATH} /usr/${LIB_DIR})
+-  FIND_LIBRARY(CURSES6_NCURSESW_LIBRARY NAMES ncursesw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-  FIND_LIBRARY(CURSES6_PANELW_LIBRARY NAMES panelw PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-  FIND_LIBRARY(CURSES6_TINFO_LIBRARY NAMES tinfo PATHS ${path}/ncurses6 
${path} NO_DEFAULT_PATH)
+-ENDFOREACH()
++FIND_LIBRARY(CURSES6_NCURSESW_LIBRARY NAMES ncursesw PATH_SUFFIXES ncurses6)
++FIND_LIBRARY(CURSES6_PANELW_LIBRARY NAMES panelw PATH_SUFFIXES ncurses6)
++FIND_LIBRARY(CURSES6_TINFO_LIBRARY NAMES tinfo PATH_SUFFIXES ncurses6)
+ 
+ SET(CURSES6_LIBRARIES ${CURSES6_NCURSESW_LIBRARY} ${CURSES6_PANELW_LIBRARY})
+ # tinfo is optional (in 12.1 is not there)
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb 
b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
index 4fafce166..18ea2e828 100644
--- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
+++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
 SRC_URI = "git://github.com/libyui/libyui-ncurses.git \
file://0001-Use-override-consistently.patch \

file://0002-Define-own-resize-in-NCPad-and-fix-param-type-of-Set.patch \
+   file://0003-Simplify-ncurses-finding-module.patch \
   "
 
 SRC_URI_append_class-target = " 
file://0001-Fix-the-error-of-can-t-find-header-file.patch"
-- 
2.11.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 1/2] libyui: make resulting cmake config relocatable

2018-10-30 Thread Pascal Bach
Signed-off-by: Pascal Bach 
---
 ...0001-Use-relative-install-paths-for-CMake.patch | 130 +
 meta-oe/recipes-graphics/libyui/libyui_git.bb  |   1 +
 2 files changed, 131 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch

diff --git 
a/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
 
b/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
new file mode 100644
index 0..11a1678a4
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/libyui/libyui/0001-Use-relative-install-paths-for-CMake.patch
@@ -0,0 +1,130 @@
+From d24c2516ae25d0ee180c1020e52114ea32230585 Mon Sep 17 00:00:00 2001
+From: Pascal Bach 
+Date: Mon, 29 Oct 2018 18:03:43 +0100
+Subject: [PATCH] Use relative install paths for CMake
+
+Files are installed via a special _PREFIX variant of the INSTALL_???_DIR
+variable which is an absolute path.
+
+This not only is redundant if CMAKE_INTALL_PREFIX is set but it even causes
+the resulting Config.cmake to be non relocatable. This means it contains 
absolute
+paths to the build host. This is a problem for cross compilation in Yocto.
+
+This change gets rid of the absolute path and removes the no longer needed
+_PREFIX variants.
+
+Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/140]
+Signed-off-by: Pascal Bach 
+---
+ buildtools/LibyuiCommon.cmake | 35 ++-
+ 1 file changed, 14 insertions(+), 21 deletions(-)
+
+diff --git a/buildtools/LibyuiCommon.cmake b/buildtools/LibyuiCommon.cmake
+index e6fbefd..5e2fc0d 100644
+--- a/buildtools/LibyuiCommon.cmake
 b/buildtools/LibyuiCommon.cmake
+@@ -258,13 +258,6 @@ MACRO( SET_ENVIRONMENT )  # setup the environment vars
+ 
+   SET( INSTALL_DOC_DIR "${DOC_DIR}" )
+ 
+-  FOREACH( p "DOC" LIB INCLUDE CMAKE PKGCONFIG BUILDTOOLS )
+-SET( var "INSTALL_${p}_DIR" )
+-IF( NOT IS_ABSOLUTE "${${var}}" )
+-  SET( ${var}_PREFIX "${YPREFIX}/${${var}}" )
+-ENDIF( NOT IS_ABSOLUTE "${${var}}" )
+-  ENDFOREACH()
+-
+ ENDMACRO( SET_ENVIRONMENT )
+ 
+ MACRO( SET_SONAME )
+@@ -359,7 +352,7 @@ MACRO( SET_AUTODOCS )  # looks for doxygen, 
dot and latex and setup autodocs acc
+   IF( INSTALL_DOCS OR DOCS_ONLY )
+ INSTALL(
+   FILES "${CMAKE_BINARY_DIR}/doc/latex/refman.pdf"
+-  DESTINATION "${INSTALL_DOC_DIR_PREFIX}"
++  DESTINATION "${INSTALL_DOC_DIR}"
+ )
+   ENDIF( INSTALL_DOCS OR DOCS_ONLY )
+ 
+@@ -379,7 +372,7 @@ MACRO( SET_AUTODOCS )  # looks for doxygen, 
dot and latex and setup autodocs acc
+   FOREACH( p css gif html jpg js png tag )
+ INSTALL(
+   DIRECTORY "${CMAKE_BINARY_DIR}/doc/html"
+-  DESTINATION "${INSTALL_DOC_DIR_PREFIX}"
++  DESTINATION "${INSTALL_DOC_DIR}"
+   FILES_MATCHING PATTERN "*.${p}"
+ )
+   ENDFOREACH()
+@@ -638,32 +631,32 @@ MACRO( SET_INSTALL_TARGET )
+ 
+ INSTALL(
+   EXPORT ${PROJECTNAME_UC}LibraryDepends
+-  DESTINATION "${INSTALL_CMAKE_DIR_PREFIX}"
++  DESTINATION "${INSTALL_CMAKE_DIR}"
+   COMPONENT dev
+ )
+ 
+ FOREACH( p Config.cmake ConfigVersion.cmake )
+   INSTALL(
+ FILES "${CMAKE_BINARY_DIR}/${PROJECTNAME_UC}${p}"
+-DESTINATION "${INSTALL_CMAKE_DIR_PREFIX}"
++DESTINATION "${INSTALL_CMAKE_DIR}"
+ )
+ ENDFOREACH( p Config.cmake ConfigVersion.cmake )
+ 
+ INSTALL(
+   FILES "${CMAKE_BINARY_DIR}/${PROJECTNAME}.pc"
+-  DESTINATION "${INSTALL_PKGCONFIG_DIR_PREFIX}"
++  DESTINATION "${INSTALL_PKGCONFIG_DIR}"
+ )
+ 
+ IF( NOT PLUGINNAME AND NOT EXTENSIONNAME )
+   INSTALL(
+ DIRECTORY "${BUILDTOOLS_DIR}"
+-DESTINATION "${INSTALL_BUILDTOOLS_DIR_PREFIX}"
++DESTINATION "${INSTALL_BUILDTOOLS_DIR}"
+   )
+ ENDIF( NOT PLUGINNAME AND NOT EXTENSIONNAME )
+ 
+ INSTALL(
+   FILES ${BUILDTOOLS_LIST}
+-  DESTINATION "${INSTALL_BUILDTOOLS_DIR_PREFIX}"
++  DESTINATION "${INSTALL_BUILDTOOLS_DIR}"
+ )
+ 
+ ENDMACRO( SET_INSTALL_TARGET )
+@@ -724,9 +717,9 @@ MACRO( PROCESS_SOURCES )
+   INSTALL(
+ TARGETS ${TARGETLIB}
+ EXPORT ${PROJECTNAME_UC}LibraryDepends
+-LIBRARY DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-ARCHIVE DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR_PREFIX}"
++LIBRARY DESTINATION "${INSTALL_LIB_DIR}"
++ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
++PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
+ COMPONENT dev
+   )
+ 
+@@ -746,9 +739,9 @@ MACRO( PROCESS_SOURCES )
+ INSTALL(
+   TARGETS ${TARGETLIB}_static
+   EXPORT ${PROJECTNAME_UC}LibraryDepends
+-  LIBRARY DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-  ARCHIVE DESTINATION "${INSTALL_LIB_DIR_PREFIX}"
+-  PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR_PREFIX}"
++  LIBRARY DESTINATION "${INSTALL_LIB_DIR}"
++  ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
++  PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
+   

Re: [oe] [RFC meta-gnome][PATCH 01/16] sassc: add recipes for libsass-native and sassc-native.

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> +SRC_URI = "https://github.com/sass/${BPN}/archive/${PV}.tar.gz \
> +   "
> +SRC_URI[md5sum] = "4af3f4ffd3e8cac1cb1c90ebc2dd41b2"
> +SRC_URI[sha256sum] = 
> "5f61cbcddaf8e6ef7a725fcfa5d05297becd7843960f245197ebb655ff868770"

These tarballs are dynamically generated using git-archive so can
change over time.  As the maintainers are not uploading their own
static tarballs, you'll have to use git to fetch these.

> +S = "${WORKDIR}/${BPN}-${PV}"

This is the default.

> +inherit autotools pkgconfig native

Instead of having sassc-native and inheriting native, it's better to
have a sassc.bb and BBCLASSEXTEND=native to get native and target
recipes.  Bonus points for test-building the nativesdk variant too.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 14/16] packagegroup-gnome3-base: add packagegroup for installing gnome3/gnome-shell

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:43, brendank310  wrote:
> +LICENSE = "MIT"

Implied by packagegroup.bbclass.

> +LIC_FILES_CHKSUM = 
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

Not required.

> +RDEPENDS_${PN} = " \
> +packagegroup-core-x11 \
> +xinit \
> +atk \
> +at-spi2-core \
> +at-spi2-atk \
> +cairo \
> +gnome-shell \
> +gnome-bluetooth \
> +upower \
> +pulseaudio \
> +librsvg \
> +ibus \
> +gnome-desktop3 \
> +accountsservice \
> +gnome-settings-daemon \
> +"

A large proportion of those are libraries that will be pulled in
automatically (atk, cairo, librsvg, etc).  These can be removed.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 16/16] gnome-tweak-tool: add recipe for the GNOME Tweak tool

2018-10-30 Thread Burton, Ross
On Tue, 30 Oct 2018 at 03:43, Khem Raj  wrote:
> > +LICENSE = "GPLv2"
> This seems should be GPL-3.0 as that’s what
> Being checksummed few lines below

> > +LIC_FILES_CHKSUM =
> > "file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746"

There's also a CCO license file in there which should be referred to
in LICENSE and checksummed.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 04/16] accountsservice: add recipe for Accounts Service

2018-10-30 Thread Martin Jansa
On Mon, Oct 29, 2018 at 11:43:09PM +0100, Andreas Müller wrote:
> On Mon, Oct 29, 2018 at 5:41 PM brendank310  wrote:
> >
> > From: Brendan Kerrigan 
> >
> > Signed-off-by: Brendan Kerrigan 
> > ---
> >  .../accountsservice/0001-strip-out-intl.patch | 104 ++
> >  .../gnome3/accountsservice_git.bb |  24 
> >  2 files changed, 128 insertions(+)
> >  create mode 100644 
> > meta-gnome/recipes-gnome/gnome3/accountsservice/0001-strip-out-intl.patch
> >  create mode 100644 meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb
> >
> > diff --git 
> > a/meta-gnome/recipes-gnome/gnome3/accountsservice/0001-strip-out-intl.patch 
> > b/meta-gnome/recipes-gnome/gnome3/accountsservice/0001-strip-out-intl.patch
> > new file mode 100644
> > index 0..622b3335d
> > --- /dev/null
> > +++ 
> > b/meta-gnome/recipes-gnome/gnome3/accountsservice/0001-strip-out-intl.patch
> > @@ -0,0 +1,104 @@
> > +accountsservice: Remove internationalization
> > +
> > +  The i18n internationalization fails within the OE
> > +  environment.
> > +
> > +  Upstream-Status: Inappropriate [disable-feature]
> > +
> > +  Signed-off-by: Brendan Kerrigan 
> > +
> > +diff --git a/data/meson.build b/data/meson.build
> > +index 4987937..6274e5d 100644
> > +--- a/data/meson.build
> >  b/data/meson.build
> > +@@ -28,15 +28,6 @@ configure_file(
> > +
> > + policy = act_namespace.to_lower() + '.policy'
> > +
> > +-i18n.merge_file(
> > +-  policy,
> > +-  input: policy + '.in',
> > +-  output: policy,
> > +-  po_dir: po_dir,
> > +-  install: true,
> > +-  install_dir: policy_dir,
> > +-)
> > +-
> > + if install_systemd_unit_dir
> > +   service = 'accounts-daemon.service'
> > +
> > +diff --git a/meson.build b/meson.build
> > +index 77b6a3f..7da5d5d 100644
> > +--- a/meson.build
> >  b/meson.build
> > +@@ -25,8 +25,6 @@ act_pkgincludedir = join_paths(act_includedir, 
> > act_api_name)
> > +
> > + act_namespace = 'org.freedesktop.Accounts'
> > +
> > +-act_gettext = 'accounts-service'
> > +-
> > + soversion = 0
> > + current = 0
> > + revision = 0
> > +@@ -35,11 +33,9 @@ libversion = '@0@.@1@.@2@'.format(soversion, current, 
> > revision)
> > + act_buildtype = get_option('buildtype')
> > +
> > + gnome = import('gnome')
> > +-i18n = import('i18n')
> > + pkg = import('pkgconfig')
> > +
> > + data_dir = join_paths(meson.current_source_dir(), 'data')
> > +-po_dir = join_paths(meson.current_source_dir(), 'po')
> > +
> > + top_inc = include_directories('.')
> > +
> > +@@ -52,9 +48,6 @@ config_h.set_quoted('VERSION', act_version)
> > + config_h.set('_DEFAULT_SOURCE', true)
> > + config_h.set('_GNU_SOURCE', true)
> > +
> > +-# i18n
> > +-config_h.set_quoted('GETTEXT_PACKAGE', act_gettext)
> > +-
> > + # headers
> > + check_headers = [
> > +   'paths.h',
> > +@@ -182,7 +175,6 @@ config_h.set('WITH_SYSTEMD', enable_systemd or 
> > enable_elogind)
> > +
> > + subdir('data')
> > + subdir('src')
> > +-subdir('po')
> > +
> > + enable_docbook = get_option('docbook')
> > + if enable_docbook
> > +diff --git a/src/libaccountsservice/act-user-manager.c 
> > b/src/libaccountsservice/act-user-manager.c
> > +index 12be9cb..712db6c 100644
> > +--- a/src/libaccountsservice/act-user-manager.c
> >  b/src/libaccountsservice/act-user-manager.c
> > +@@ -35,7 +35,6 @@
> > + #endif /* HAVE_PATHS_H */
> > +
> > + #include 
> > +-#include 
> > + #include 
> > + #include 
> > + #include 
> > +diff --git a/src/main.c b/src/main.c
> > +index 9caec7f..acbd422 100644
> > +--- a/src/main.c
> >  b/src/main.c
> > +@@ -155,7 +155,6 @@ main (int argc, char *argv[])
> > + };
> > +
> > + setlocale (LC_ALL, "");
> > +-bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
> > +
> > + #if !GLIB_CHECK_VERSION (2, 35, 3)
> > + g_type_init ();
> > +@@ -167,7 +166,6 @@ main (int argc, char *argv[])
> > + }
> > +
> > + context = g_option_context_new ("");
> > +-g_option_context_set_translation_domain (context, 
> > GETTEXT_PACKAGE);
> > + g_option_context_set_summary (context, _("Provides D-Bus 
> > interfaces for querying and manipulating\nuser account information."));
> > + g_option_context_add_main_entries (context, entries, NULL);
> > + if (!g_option_context_parse (context, , , )) {
> > diff --git a/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb 
> > b/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb
> > new file mode 100644
> > index 0..a019a8c6d
> > --- /dev/null
> > +++ b/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb
> > @@ -0,0 +1,24 @@
> > +DESCRIPTION = "Accounts Service"
> > +LICENSE = "GPLv3"
> > +DEPENDS = " \
> > +glib-2.0 \
> > +gsettings-desktop-schemas \
> > +polkit \
> > +dbus \
> > +  "
> > +
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> > +
> > +SRC_URI = 
> > "git://anongit.freedesktop.org/accountsservice.git;protocol=git;branch=master
> >  \


Re: [oe] [RFC meta-gnome][PATCH 09/16] gdm: add recipe for gdm (Gnome Desktop Manager)

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> +SRC_URI = 
> "git://gitlab.gnome.org/GNOME/gdm.git;protocol=http;branch=master;tag=3.30.1 \

Tarball.

> +FILES_${PN} += "${systemd_system_unitdir}"

Use systemd class.

> +FILES_${PN} += "${libdir}"

Breaks library packaging.

> +do_configure_prepend() {
> +   install -d ${S}/build-aux
> +   sed -i '/AC_CHECK_FILE/d' ${S}/configure.ac

Why?  If this is needed then do it as a patch.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 14/16] packagegroup-gnome3-base: add packagegroup for installing gnome3/gnome-shell

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:43, brendank310  wrote:
> +inherit packagegroup distro_features_check
> +
> +REQUIRED_DISTRO_FEATURES = "x11"

Everyone running GNOME 3 on Wayland will be surprised by this.  This
packagegroup should be *just* GNOME and then the image using it can
decide whether to pull in X11 or Weston.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 15/16] gnome-shell-extensions: add recipe for gnome-shell-extensions

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:43, brendank310  wrote:
> +SRC_URI = " \
> +   
> git://gitlab.gnome.org/GNOME/gnome-shell-extensions.git;protocol=http;branch=master;tag=3.30.1
>  \
> +  "

Use tarball.

> +RDEPENDS_gnome-shell = " \
> + gnome-shell \
> +"

This is why you use ${PN} ;)

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 04/16] accountsservice: add recipe for Accounts Service

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> +accountsservice: Remove internationalization
> +
> +  The i18n internationalization fails within the OE
> +  environment.

Probably because you don't depend on gettext-native.

> + context = g_option_context_new ("");
> +-g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
> + g_option_context_set_summary (context, _("Provides D-Bus interfaces 
> for querying and manipulating\nuser account information."));
> + g_option_context_add_main_entries (context, entries, NULL);
> + if (!g_option_context_parse (context, , , )) {
> diff --git a/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb 
> b/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb
> new file mode 100644
> index 0..a019a8c6d
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome3/accountsservice_git.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "Accounts Service"
> +LICENSE = "GPLv3"
> +DEPENDS = " \
> +glib-2.0 \
> +gsettings-desktop-schemas \
> +polkit \
> +dbus \
> +  "
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +SRC_URI = 
> "git://anongit.freedesktop.org/accountsservice.git;protocol=git;branch=master 
> \

That's a mirror of
https://gitlab.freedesktop.org/accountsservice/accountsservice.

Also tarballs are at https://www.freedesktop.org/software/accountsservice/.

> +   file://0001-strip-out-intl.patch \
> +   "
> +
> +FILES_${PN} += "${systemd_system_unitdir}"

Use the systemd class instead.

> +FILES_${PN} += "${libdir}"

As discussed.

> +SRCREV="${AUTOREV}"

As discussed.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 02/16] ibus: add recipe for ibus to support gnome-settings-daemon and gnome-shell

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:41, brendank310  wrote:
> +DESCRIPTION = "Intelligent Input Bus for Linux/Unix"
> +LICENSE = "LGPLv2.1"
> +DEPENDS = "prelink \
> +   gtk+ \
> +  "

It depends on gtk+2?

> +S = "${WORKDIR}/${PN}-${PV}"

This is the default.

> +inherit autotools pkgconfig gtk-doc distro_features_check vala 
> gobject-introspection

distro_features_check isn't being used.

> +FILES_${PN} += "${libdir}"

Definitely wrong.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 05/16] lcms2: add recipe for Little Color Management System

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> +inherit autotools pkgconfig distro_features_check

distro_features_check isn't being used.

But mainly, just update the existing recipe.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 12/16] mutter: add recipe for mutter window manager

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:43, brendank310  wrote:

> +do_install_append() {
> +   install -d ${D}/${datadir}/gir-1.0
> +   install ${B}/src/Meta-3.gir ${D}/${datadir}/gir-1.0
> +   install ${B}/cogl/cogl/Cogl-3.gir ${D}/${datadir}/gir-1.0
> +   install ${B}/cogl/cogl-pango/CoglPango-3.gir ${D}/${datadir}/gir-1.0
> +   install ${B}/clutter/clutter/Cally-3.gir ${D}/${datadir}/gir-1.0
> +   install ${B}/clutter/clutter/ClutterX11-3.gir ${D}/${datadir}/gir-1.0
> +   install ${B}/clutter/clutter/Clutter-3.gir ${D}/${datadir}/gir-1.0
> +}

Why is this needed?

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 13/16] gnome-shell: add recipe for gnome-shell.

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:43, brendank310  wrote:
> +SRC_URI = 
> "git://gitlab.gnome.org/GNOME/gnome-shell.git;protocol=http;branch=master;tag=3.30.1
>  \
> +   file://0001-dont-detect-python.patch \
> +   "

Tarball is preferred.

> +RDEPENDS_gnome-shell += " python3-core python3-pygobject 
> gnome-settings-daemon gnome-bluetooth gdm "

Use ${PN} instead of gnome-shell so this works for multilib.

> +EXTRA_OEMESON += " -Dman=false -Dnetworkmanager=false "

Respecting the api-documentation DISTRO_FEATURE would be good here.
See manpages.bbclass.

> +FILES_${PN} += "${libdir}"

Almost definitely wrong.

> +FILES_${PN} += "${bindir}"

This is in FILES by default.

> +do_configure_prepend() {
> +   # Fixup the gsettings version
> +   sed -i 's^3.27.90^3.24.1^g' ${S}/meson.build

Do this as a patch so we can see *why*.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 08/16] libgweather: add recipe for libgweather

2018-10-30 Thread Burton, Ross
On Mon, 29 Oct 2018 at 16:42, brendank310  wrote:
> +SRC_URI = 
> "git://gitlab.gnome.org/GNOME/libgweather.git;protocol=http;branch=gnome-3-28 
> \

Why not tarball (small, checksumed, easier to mirror)

> +FILES_${PN} += "${libdir}"

This breaks library packaging.

> +SRCREV="${AUTOREV}"

Never use this in mainline recipes.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [RFC meta-gnome][PATCH 07/16] geocode-glib: add recipe for geocode-glib library

2018-10-30 Thread Burton, Ross
On Tue, 30 Oct 2018 at 03:43, Khem Raj  wrote:
> > +SRC_URI = "git://
> > gitlab.gnome.org/GNOME/geocode-glib.git;protocol=http;branch=master;tag=3.26.0
>
> hmm tags are floating kind of commits so they would result in checking
> remote repo on every fetch task it would be better to use a hard coded SHA

Or the tarball, https://download.gnome.org/sources/geocode-glib/3.26/

Note that gnome.bbclass pretty much sets up SRC_URI for you.

Ross
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] lcov: Fix perl module dependencies

2018-10-30 Thread Vincent Prince
Signed-off-by: Vincent Prince 
---
 meta-oe/recipes-support/lcov/lcov_1.11.bb | 25 +
 1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-support/lcov/lcov_1.11.bb 
b/meta-oe/recipes-support/lcov/lcov_1.11.bb
index 2f9ac33..56a018b 100644
--- a/meta-oe/recipes-support/lcov/lcov_1.11.bb
+++ b/meta-oe/recipes-support/lcov/lcov_1.11.bb
@@ -14,6 +14,31 @@ RDEPENDS_${PN} += " \
 perl-module-filehandle \
 perl-module-getopt-std \
 perl-module-digest-sha \
+perl-module-constant \
+perl-module-cwd \
+perl-module-errno \
+perl-module-file-basename \
+perl-module-file-find \
+perl-module-file-path \
+perl-module-file-spec \
+perl-module-file-spec-functions \
+perl-module-file-spec-unix \
+perl-module-file-temp \
+perl-module-getopt-long \
+perl-module-list-util \
+perl-module-mro \
+perl-module-overload \
+perl-module-overloading \
+perl-module-overload-numbers \
+perl-module-parent \
+perl-module-pod-usage \
+perl-module-posix \
+perl-module-re \
+perl-module-safe \
+perl-module-scalar-util \
+perl-module-term-cap \
+perl-module-text-parsewords \
+perl-module-tie-hash \
 "
 
 SRC_URI = "http://downloads.sourceforge.net/ltp/${BP}.tar.gz;
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH] netkit-telnet: fix qa warnings of alternative target

2018-10-30 Thread kai.kang
From: Kai Kang 

When build lib32-netkit-telnet that multilib is enabled, it shows qa
warnings of alternative target:

| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet:
|   alternative target (/usr/bin/telnet or /usr/bin/telnet.netkit-telnet)
|   does not exist, skipping...
| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: NOT
|   adding alternative provide /usr/bin/telnet:
|   /usr/bin/telnet.netkit-telnet does not exist
| WARNING: lib32-netkit-telnet-0.17-r0 do_package: netkit-telnet: alt_link
|   == alt_target: /usr/bin/telnet == /usr/bin/telnet

Set ALTERNATIVE_TARGET to fix the issue.

Signed-off-by: Kai Kang 
---
 .../recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb 
b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
index 2fadf0334..de00ba928 100644
--- a/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
+++ b/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb
@@ -55,6 +55,7 @@ inherit update-alternatives
 ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "telnet"
 ALTERNATIVE_LINK_NAME[telnet] = "${bindir}/telnet"
+ALTERNATIVE_TARGET[telnet] = "${bindir}/telnet.${PN}"
 
 SRC_URI[md5sum] = "d6beabaaf53fe6e382c42ce3faa05a36"
 SRC_URI[sha256sum] = 
"9c80d5c7838361a328fb6b60016d503def9ce53ad3c589f3b08ff71a2bb88e00"
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-perl][PATCH v2] adduser: 3.117 -> 3.118

2018-10-30 Thread kai.kang
From: Kai Kang 

Upgrade adduser from 3.117 to 3.118.

* set S

Signed-off-by: Kai Kang 
---
 .../adduser/{adduser_3.117.bb => adduser_3.118.bb}  | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-perl/recipes-perl/adduser/{adduser_3.117.bb => adduser_3.118.bb} 
(91%)

diff --git a/meta-perl/recipes-perl/adduser/adduser_3.117.bb 
b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
similarity index 91%
rename from meta-perl/recipes-perl/adduser/adduser_3.117.bb
rename to meta-perl/recipes-perl/adduser/adduser_3.118.bb
index ca96e11e4..660a7f777 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.117.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
@@ -10,8 +10,10 @@ SRC_URI = 
"https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${
file://adduser-add-M-option-for-useradd.patch \
 "
 
-SRC_URI[md5sum] = "9f36d69585e74c022aa8e22a0337507d"
-SRC_URI[sha256sum] = 
"be01881356e40c4d7dd2ce209fb4a94c0589056ac3ebe7debbbf09a6383c1411"
+SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97"
+SRC_URI[sha256sum] = 
"3e9eea661c9aac6b2c791bfcc1de3a9c6a422d45c8f3d38ed417737ed3166ffc"
+
+S = "${WORKDIR}/${BPN}"
 
 inherit cpan-base update-alternatives
 
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-perl][PATCH 3/4] adduser: 3.118 -> 3.119

2018-10-30 Thread Kang Kai

On 2018/10/30 下午3:59, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade adduser from 3.118 to 3.119.


Oops. WRONG versions info. V2 will send.

--Kai




* set S

Signed-off-by: Kai Kang 
---
  .../adduser/{adduser_3.117.bb => adduser_3.118.bb}  | 6 --
  1 file changed, 4 insertions(+), 2 deletions(-)
  rename meta-perl/recipes-perl/adduser/{adduser_3.117.bb => adduser_3.118.bb} 
(91%)

diff --git a/meta-perl/recipes-perl/adduser/adduser_3.117.bb 
b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
similarity index 91%
rename from meta-perl/recipes-perl/adduser/adduser_3.117.bb
rename to meta-perl/recipes-perl/adduser/adduser_3.118.bb
index ca96e11e4..660a7f777 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.117.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
@@ -10,8 +10,10 @@ SRC_URI = 
"https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${
 file://adduser-add-M-option-for-useradd.patch \
  "
  
-SRC_URI[md5sum] = "9f36d69585e74c022aa8e22a0337507d"

-SRC_URI[sha256sum] = 
"be01881356e40c4d7dd2ce209fb4a94c0589056ac3ebe7debbbf09a6383c1411"
+SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97"
+SRC_URI[sha256sum] = 
"3e9eea661c9aac6b2c791bfcc1de3a9c6a422d45c8f3d38ed417737ed3166ffc"
+
+S = "${WORKDIR}/${BPN}"
  
  inherit cpan-base update-alternatives
  



--
Regards,
Neil | Kai Kang

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-perl][PATCH 4/4] libio-socket-ssl-perl: 2.059 -> 2.060

2018-10-30 Thread kai.kang
From: Kai Kang 

Signed-off-by: Kai Kang 
---
 ...ocket-ssl-perl_2.059.bb => libio-socket-ssl-perl_2.060.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-perl/recipes-perl/libio/{libio-socket-ssl-perl_2.059.bb => 
libio-socket-ssl-perl_2.060.bb} (91%)

diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.059.bb 
b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb
similarity index 91%
rename from meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.059.bb
rename to meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb
index 1e288dde7..20f880829 100644
--- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.059.bb
+++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.060.bb
@@ -22,8 +22,8 @@ RDEPENDS_${PN} += "\
 SRC_URI = 
"http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \
file://run-ptest \
   "
-SRC_URI[md5sum] = "0e329d3ce11563a27d70d63ad09ed5e9"
-SRC_URI[sha256sum] = 
"217debbe0a79f0b7c5669978b4d733271998df4497f4718f78456e5f54d64849"
+SRC_URI[md5sum] = "97fa6cd64f15db60f810cd8ab02d57fc"
+SRC_URI[sha256sum] = 
"fb5b2877ac5b686a5d7b8dd71cf5464ffe75d10c32047b5570674870e46b1b8c"
 
 S = "${WORKDIR}/IO-Socket-SSL-${PV}"
 
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-gnome][PATCH 2/4] gvfs: 1.36.2 -> 1.39.1

2018-10-30 Thread kai.kang
From: Kai Kang 

Upgrade gvfs from 1.36.2 to 1.39.1.
* autotools has been removed, use meson instead
* add packageconfigs dnssd and logind
* disable options bluray, goa, google and nfs

Signed-off-by: Kai Kang 
---
 .../gvfs/{gvfs_1.36.2.bb => gvfs_1.39.1.bb}   | 44 ++-
 1 file changed, 23 insertions(+), 21 deletions(-)
 rename meta-gnome/recipes-gnome/gvfs/{gvfs_1.36.2.bb => gvfs_1.39.1.bb} (53%)

diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.2.bb 
b/meta-gnome/recipes-gnome/gvfs/gvfs_1.39.1.bb
similarity index 53%
rename from meta-gnome/recipes-gnome/gvfs/gvfs_1.36.2.bb
rename to meta-gnome/recipes-gnome/gvfs/gvfs_1.39.1.bb
index 1e8f8d180..ca1eb6aa7 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.2.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.39.1.bb
@@ -2,24 +2,25 @@ DESCRIPTION = "gvfs is a userspace virtual filesystem"
 LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e"
 
+GNOMEBASEBUILDCLASS = "meson"
 inherit gnome bash-completion gettext
 
 DEPENDS += "libsecret glib-2.0 gconf intltool-native libgudev udisks2 polkit 
shadow-native"
 
 SRC_URI = 
"https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive"
 
-SRC_URI[archive.md5sum] = "10b84073fe5f3d540abd9d36ed342b37"
-SRC_URI[archive.sha256sum] = 
"c4e279a33dd9cd208135e8bfc4788ceaf264c61a24a85255f6696a934a0101f7"
+SRC_URI[archive.md5sum] = "4c68899cfd80d57a153771534193bb9a"
+SRC_URI[archive.sha256sum] = 
"6e7213570389b17b67433695f515f3b17705ba976168a4c8828fc177cce50223"
 
-do_configure_prepend() {
-# make automake happy..
-touch ${S}/ABOUT-NLS
-}
 
-EXTRA_OECONF = " \
---disable-gdu \
---enable-udisks2 \
---disable-documentation \
+EXTRA_OEMESON = " \
+-Dbluray=false \
+-Dgdu=false \
+-Dgoa=false \
+-Dgoogle=false \
+-Dnfs=false \
+-Dudisks2=true \
+-Ddocumentation=false \
 "
 
 PACKAGES =+ "gvfsd-ftp gvfsd-sftp gvfsd-trash"
@@ -45,21 +46,22 @@ RRECOMMENDS_gvfsd-ftp += "openssh-sftp openssh-ssh"
 
 PACKAGECONFIG ?= "libgphoto2 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', 
d)}"
 
-PACKAGECONFIG[afc] = "--enable-afc, --disable-afc, libimobiledevice libplist"
-PACKAGECONFIG[archive] = "--enable-archive, --disable-archive, libarchive"
-PACKAGECONFIG[avahi] = "--enable-avahi, --disable-avahi, avahi"
-PACKAGECONFIG[gcr] = "--enable-gcr, --disable-gcr, gcr"
-PACKAGECONFIG[http] = "--enable-http, --disable-http, libsoup-2.4"
-PACKAGECONFIG[libmtp] = "--enable-libmtp, --disable-libmtp, libmtp"
-PACKAGECONFIG[libgphoto2] = "--enable-gphoto2, --disable-gphoto2, libgphoto2"
-PACKAGECONFIG[samba] = "--enable-samba, --disable-samba, samba"
-PACKAGECONFIG[systemd] = 
"--with-systemduserunitdir=${systemd_user_unitdir},--without-systemduserunitdir,systemd"
+PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist"
+PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive"
+PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi"
+PACKAGECONFIG[gcr] = "-Dgcr=true, -Dgcr=false, gcr"
+PACKAGECONFIG[http] = "-Dhttp=true, -Dhttp=false, libsoup-2.4"
+PACKAGECONFIG[libmtp] = "-Dmtp=true, -Dmtp=false, libmtp"
+PACKAGECONFIG[logind] = "-Dlogind=true, -Dlogind=false, systemd"
+PACKAGECONFIG[libgphoto2] = "-Dgphoto2=true, -Dgphoto2=false, libgphoto2"
+PACKAGECONFIG[samba] = "-Dsmb=true, -Dsmb=false, samba"
+PACKAGECONFIG[systemd] = "-Dsystemduserunitdir=${systemd_user_unitdir} 
-Dtmpfilesdir=${libdir}/tmpfiles.d, -Dsystemduserunitdir=no -Dtmpfilesdir=no, 
systemd"
 
 # needs meta-filesystems
-PACKAGECONFIG[fuse] = "--enable-fuse, --disable-fuse, fuse"
+PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse"
 
 # libcdio-paranoia recipe doesn't exist yet
-PACKAGECONFIG[cdda] = "--enable-cdda, --disable-cdda, libcdio-paranoia"
+PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
 
 # Fix up permissions on polkit rules.d to work with rpm4 constraints
 do_install_append() {
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-perl][PATCH 3/4] adduser: 3.118 -> 3.119

2018-10-30 Thread kai.kang
From: Kai Kang 

Upgrade adduser from 3.118 to 3.119.

* set S

Signed-off-by: Kai Kang 
---
 .../adduser/{adduser_3.117.bb => adduser_3.118.bb}  | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-perl/recipes-perl/adduser/{adduser_3.117.bb => adduser_3.118.bb} 
(91%)

diff --git a/meta-perl/recipes-perl/adduser/adduser_3.117.bb 
b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
similarity index 91%
rename from meta-perl/recipes-perl/adduser/adduser_3.117.bb
rename to meta-perl/recipes-perl/adduser/adduser_3.118.bb
index ca96e11e4..660a7f777 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.117.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb
@@ -10,8 +10,10 @@ SRC_URI = 
"https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${
file://adduser-add-M-option-for-useradd.patch \
 "
 
-SRC_URI[md5sum] = "9f36d69585e74c022aa8e22a0337507d"
-SRC_URI[sha256sum] = 
"be01881356e40c4d7dd2ce209fb4a94c0589056ac3ebe7debbbf09a6383c1411"
+SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97"
+SRC_URI[sha256sum] = 
"3e9eea661c9aac6b2c791bfcc1de3a9c6a422d45c8f3d38ed417737ed3166ffc"
+
+S = "${WORKDIR}/${BPN}"
 
 inherit cpan-base update-alternatives
 
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-gnome][PATCH 1/4] libwnck3: 3.24.1 -> 3.30.0

2018-10-30 Thread kai.kang
From: Kai Kang 

Signed-off-by: Kai Kang 
---
 .../libwnck/{libwnck3_3.24.1.bb => libwnck3_3.30.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-gnome/recipes-gnome/libwnck/{libwnck3_3.24.1.bb => 
libwnck3_3.30.0.bb} (78%)

diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb 
b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.30.0.bb
similarity index 78%
rename from meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb
rename to meta-gnome/recipes-gnome/libwnck/libwnck3_3.30.0.bb
index f3103b4d7..9cee9c967 100644
--- a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb
+++ b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.30.0.bb
@@ -12,8 +12,8 @@ PACKAGECONFIG[startup-notification] = 
"--enable-startup-notification,--disable-s
 
 inherit gnomebase gobject-introspection gtk-doc gettext
 
-SRC_URI[archive.md5sum] = "23df51ec0a1169014fe3a102d572b244"
-SRC_URI[archive.sha256sum] = 
"afa6dc283582ffec15c3374790bcbcb5fb422bd38356d72deeef35bf7f9a1f04"
+SRC_URI[archive.md5sum] = "60109c2ab0b07da1099ee57980054de1"
+SRC_URI[archive.sha256sum] = 
"ac6d0d2646aa80676d3066651e73abb7bff7ed79be238c9b21a0083e2adc3439"
 
 inherit distro_features_check
 # libxres means x11 only
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 0/4] Upgrade packages in meta-perl and meta-gnome

2018-10-30 Thread kai.kang
From: Kai Kang 


Kai Kang (4):
  libwnck3: 3.24.1 -> 3.30.0
  gvfs: 1.36.2 -> 1.39.1
  adduser: 3.118 -> 3.119
  libio-socket-ssl-perl: 2.059 -> 2.060

 .../gvfs/{gvfs_1.36.2.bb => gvfs_1.39.1.bb}   | 44 ++-
 ...{libwnck3_3.24.1.bb => libwnck3_3.30.0.bb} |  4 +-
 .../{adduser_3.117.bb => adduser_3.118.bb}|  6 ++-
 059.bb => libio-socket-ssl-perl_2.060.bb} |  4 +-
 4 files changed, 31 insertions(+), 27 deletions(-)
 rename meta-gnome/recipes-gnome/gvfs/{gvfs_1.36.2.bb => gvfs_1.39.1.bb} (53%)
 rename meta-gnome/recipes-gnome/libwnck/{libwnck3_3.24.1.bb => 
libwnck3_3.30.0.bb} (78%)
 rename meta-perl/recipes-perl/adduser/{adduser_3.117.bb => adduser_3.118.bb} 
(91%)
 rename meta-perl/recipes-perl/libio/{libio-socket-ssl-perl_2.059.bb => 
libio-socket-ssl-perl_2.060.bb} (91%)

-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel