Re: [oe] lmsensors recipe broken

2019-12-19 Thread Kang Kai

On 2019/12/20 上午1:21, Jon Mason wrote:

I'm seeing the following when I add lmsensors to my build
--> Finished dependency resolution
Error:
  Problem: conflicting requests
   - nothing provides lmsensors-isatools needed by lmsensors-3.5.0-r0.aarch64
(try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)

I have not been able to find anything that provides that (and if not,
should it be a dep?).  I simply removed the line, and it built and
worked (for my limited testing).  Am I missing something or should I
just send a patch to remove that line?

Thanks,
Jon


Hi Jon,

How did you add lmsensors to build? Because lmsensors-isatools is a 
sub-package of recipe lmsensors, it should not have dependency issue.

Did you see any warning when build lmsensors?

Regards,
Kai

--
Kai Kang

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


Re: [oe] [meta-networking][PATCH] openl2tp: update systemd service file

2019-12-18 Thread Kang Kai

On 2019/12/19 上午11:23, Khem Raj wrote:

On Wed, Dec 18, 2019 at 7:16 PM  wrote:

From: Kai Kang 

It shows an warning of openl2tp in systemd log:

| /lib/systemd/system/openl2tpd.service:8: PIDFile= references a path
| below legacy directory /var/run/, updating /var/run/openl2tpd.pid →
| /run/openl2tpd.pid; please update the unit file accordingly.

Update the systemd service file to fix the warning.

Update SRC_URI as well that the homepage openl2tp.org has been closed.
Use archived file on sourceforge instead.

Signed-off-by: Kai Kang 
---
  .../recipes-protocols/openl2tp/openl2tp/openl2tpd.service   | 2 +-
  meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb  | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service 
b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
index 7b3faf672..d02d0ff7e 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/openl2tpd.service
@@ -5,7 +5,7 @@ Requires=rpcbind.service

  [Service]
  Type=forking
-PIDFile=@STATEDIR@/run/openl2tpd.pid
+PIDFile=/run/openl2tpd.pid
  EnvironmentFile=@SYSCONFDIR@/default/openl2tpd
  ExecStartPre=@BASE_BINDIR@/sh -c "@BASE_SBINDIR@/modprobe -sq l2tp_ppp || 
@BASE_SBINDIR@/modprobe -sq pppol2tp"
  ExecStart=@SBINDIR@/openl2tpd $OPENL2TPDARGS
diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb 
b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
index 90e8b111d..38d0554e1 100644
--- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
+++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=e9d9259cbbf00945adc25a470c1d3585 \

  DEPENDS = "popt flex readline rpcsvc-proto-native bison-native"

-SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \
+SRC_URI = 
"https://sourceforge.net/projects/openl2tp/files/openl2tp/${PV}/${BP}.tar.gz \

Can we use SOURCEFORGE_MIRROR


I'll try it.

Regards,
Kai





 file://Makefile-modify-CFLAGS-to-aviod-build-error.patch \
 file://openl2tp-simplify-gcc-warning-hack.patch \
 file://Makefile-obey-LDFLAGS.patch \
--
2.17.1

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



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH] xfce-dusk-gtk3: correct invalid SRC_URI

2019-12-15 Thread Kang Kai

On 2019/12/16 下午1:46, changqing...@windriver.com wrote:

From: Changqing Li 

original SRC_URI is invalid now, and current upstream address
is such a long address(see below), and this package has not been
updated since 2011, so use http://sources.openembedded.org/.

https://dllb2.pling.com/api/files/download/id/1460766718/s/938c137c59bf7f1a6a6cc100c940feafd6904dc6478d5f96d09f3a631f9708e559055433db9e97654b196881fecbae445f094347befba0a5e477e961a73a7434/t/1576230019/c/a3f98e1fd43cfd072d46d7bedf6646191f5a020476297e0da678723a0078b9b8d284736bb34c4e876389b4e518777dc6a23c8666bb6bd42ceb1b893c9c264cce/lt/download/141404-xfce_dusk_gtk3-1_3.tar.gz

Signed-off-by: Changqing Li 



Fine with me. And there is another recipe
meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
which may need similar fix too.

Acked-by: Kai Kang 

Regards,
Kai


---
  meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb 
b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
index b05c748..89dab49 100644
--- a/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
+++ b/meta-xfce/recipes-art/xfce-dusk-gtk3/xfce-dusk-gtk3_1.3.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a"
  
  inherit allarch
  
-SRC_URI = "http://xfce-look.org/CONTENT/content-files/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV};

+SRC_URI = 
"http://sources.openembedded.org/141404-xfce_dusk_gtk3-1_3.tar.gz;subdir=${BPN}-${PV};
  SRC_URI[md5sum] = "b3ad37ad8173b14ec090e60a80e65d8f"
  SRC_URI[sha256sum] = 
"bfa8a88607d1a1da5bd0b9e4e075767c54400a3c5a0fae88b619ed71532f30b4"
  



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH] xfce4-kbdleds-plugin: remove this recipe

2019-12-15 Thread Kang Kai

On 2019/12/16 下午2:04, changqing...@windriver.com wrote:

From: Changqing Li 

According to https://xfce.org/about/news,  xfce4-kbdleds-plugin has
been dropped

Acked-by: Kai Kang 
Signed-off-by: Changqing Li 


Fine with me. Thanks.

Acked-by: Kai Kang 

Kai



---
  .../kbdleds/xfce4-kbdleds-plugin_0.0.6.bb | 15 ---
  .../packagegroups/packagegroup-xfce-extended.bb   |  1 -
  2 files changed, 16 deletions(-)
  delete mode 100644 
meta-xfce/recipes-panel-plugins/kbdleds/xfce4-kbdleds-plugin_0.0.6.bb

diff --git 
a/meta-xfce/recipes-panel-plugins/kbdleds/xfce4-kbdleds-plugin_0.0.6.bb 
b/meta-xfce/recipes-panel-plugins/kbdleds/xfce4-kbdleds-plugin_0.0.6.bb
deleted file mode 100644
index caf5508..000
--- a/meta-xfce/recipes-panel-plugins/kbdleds/xfce4-kbdleds-plugin_0.0.6.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "XFCE panel plugin displaying status of keyboard LEDs"
-DESCRIPTION = "This plugin shows the state of your keyboard LEDs: Caps, Scroll and 
Num Lock in Xfce panel"
-HOMEPAGE = 
"http://goodies.xfce.org/projects/panel-plugins/xfce4-kbdleds-plugin;
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = " \
-file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-file://COPYING.LIB;md5=252890d9eee26aab7b432e8b8a616475 \
-"
-
-inherit xfce-panel-plugin
-
-SRC_URI[md5sum] = "db6ad8e3502f3373f087ba2034141552"
-SRC_URI[sha256sum] = 
"6d280ad7207bcb9cc87c279dc3ab9084fd93325e87f67858e8917729b50201cd"
-
-FILES_${PN} += "${libdir}/xfce4/panel-plugins/xfce4-kbdleds-plugin"
diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb 
b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
index 42f20c9..255d2b5 100644
--- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
+++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
@@ -45,7 +45,6 @@ RRECOMMENDS_${PN} = " \
  xfce4-notes-plugin \
  xfce4-whiskermenu-plugin \
  xfce4-mailwatch-plugin \
-xfce4-kbdleds-plugin \
  xfce4-smartbookmark-plugin \
  xfce4-hotcorner-plugin \
  ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 
'xfce4-pulseaudio-plugin', '', d)} \



--
Kai Kang

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


Re: [oe] [meta-networking][PATCH 1/2] rdma-core: 18.1 -> 26.1

2019-12-15 Thread Kang Kai

On 2019/12/13 下午7:02, Khem Raj wrote:

The latest is 0.27 is it possible to work that out
https://github.com/linux-rdma/rdma-core/releases/tag/v27.0


It seems just released after I checked the release page. I'll upgrade it.

Regards,
Kai




On Thu, Dec 12, 2019 at 6:14 PM  wrote:

From: Kai Kang 

Upgrade rdma-core from 18.1 to 26.1.

* remove patches which are merged by upstream
* update context and remove more unbuildable manual in
   0001-Remove-man-files-which-cant-be-built.patch
* set services file for systemd

Signed-off-by: Kai Kang 
---
  ...Remove-man-files-which-cant-be-built.patch | 255 +-
  ...IFSOCK-is-defined-in-both-glibc-musl.patch |  29 --
  ...ude-endian.h-for-htole32-and-friends.patch |  25 --
  ...Remove-unused-include-for-execinfo.h.patch |  27 --
  ...igh.c-Do-not-include-net-if_packet.h.patch |  26 --
  .../{rdma-core_18.1.bb => rdma-core_26.1.bb}  |  26 +-
  6 files changed, 261 insertions(+), 127 deletions(-)
  delete mode 100644 
meta-networking/recipes-support/rdma-core/rdma-core/0001-S_IFSOCK-is-defined-in-both-glibc-musl.patch
  delete mode 100644 
meta-networking/recipes-support/rdma-core/rdma-core/0001-include-endian.h-for-htole32-and-friends.patch
  delete mode 100644 
meta-networking/recipes-support/rdma-core/rdma-core/0002-Remove-unused-include-for-execinfo.h.patch
  delete mode 100644 
meta-networking/recipes-support/rdma-core/rdma-core/0002-neigh.c-Do-not-include-net-if_packet.h.patch
  rename meta-networking/recipes-support/rdma-core/{rdma-core_18.1.bb => 
rdma-core_26.1.bb} (54%)

diff --git 
a/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
 
b/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
index 4b595613f..f1437a0fb 100644
--- 
a/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
+++ 
b/meta-networking/recipes-support/rdma-core/rdma-core/0001-Remove-man-files-which-cant-be-built.patch
@@ -14,14 +14,67 @@ Fixes errors
  |   cmake_install.cmake:48 (include)

  Signed-off-by: Khem Raj 
+
+Update for version 26.1. Remove more man files which can no be built.
+
+Signed-off-by: Kai Kang 
  ---
- libibumad/man/CMakeLists.txt  |  1 -
- libibverbs/man/CMakeLists.txt | 15 ---
- providers/mlx5/man/CMakeLists.txt |  1 -
- 3 files changed, 17 deletions(-)
+ infiniband-diags/man/CMakeLists.txt | 34 ---
+ libibumad/man/CMakeLists.txt|  2 --
+ libibverbs/man/CMakeLists.txt   | 52 -
+ librdmacm/man/CMakeLists.txt|  2 --
+ providers/efa/man/CMakeLists.txt|  2 --
+ providers/mlx4/man/CMakeLists.txt   |  1 -
+ providers/mlx5/man/CMakeLists.txt   | 65 -
+ 7 files changed, 158 deletions(-)

+diff --git a/infiniband-diags/man/CMakeLists.txt 
b/infiniband-diags/man/CMakeLists.txt
+index 1f1f91c9..094a389f 100644
+--- a/infiniband-diags/man/CMakeLists.txt
 b/infiniband-diags/man/CMakeLists.txt
+@@ -46,40 +46,6 @@ rdma_rst_common(
+ )
+
+ rdma_man_pages(
+-  check_lft_balance.8.in.rst
+-  dump_fts.8.in.rst
+-  ibaddr.8.in.rst
+-  ibcacheedit.8.in.rst
+-  ibccconfig.8.in.rst
+-  ibccquery.8.in.rst
+-  ibfindnodesusing.8.in.rst
+-  ibhosts.8.in.rst
+-  ibidsverify.8.in.rst
+-  iblinkinfo.8.in.rst
+-  ibnetdiscover.8.in.rst
+-  ibnodes.8.in.rst
+-  ibping.8.in.rst
+-  ibportstate.8.in.rst
+-  ibqueryerrors.8.in.rst
+-  ibroute.8.in.rst
+-  ibrouters.8.in.rst
+-  ibstat.8.in.rst
+-  ibstatus.8.in.rst
+-  ibswitches.8.in.rst
+-  ibsysstat.8.in.rst
+-  ibtracert.8.in.rst
+-  infiniband-diags.8.in.rst
+-  perfquery.8.in.rst
+-  saquery.8.in.rst
+-  sminfo.8.in.rst
+-  smpdump.8.in.rst
+-  smpquery.8.in.rst
+-  vendstat.8.in.rst
+-  )
+-
+-rdma_alias_man_pages(
+-  dump_fts.8 dump_lfts.8
+-  dump_fts.8 dump_mfts.8
+   )
+
+ if (ENABLE_IBDIAGS_COMPAT)
  diff --git a/libibumad/man/CMakeLists.txt b/libibumad/man/CMakeLists.txt
-index 185584a0..ac45a4e9 100644
+index 185584a0..857a4b8b 100644
  --- a/libibumad/man/CMakeLists.txt
  +++ b/libibumad/man/CMakeLists.txt
  @@ -15,7 +15,6 @@ rdma_man_pages(
@@ -32,19 +85,34 @@ index 185584a0..ac45a4e9 100644
 umad_open_port.3
 umad_poll.3
 umad_recv.3
+@@ -38,5 +37,4 @@ rdma_alias_man_pages(
+   umad_class_str.3 umad_method_str.3
+   umad_get_ca.3 umad_release_ca.3
+   umad_get_port.3 umad_release_port.3
+-  umad_init.3 umad_done.3
+   )
  diff --git a/libibverbs/man/CMakeLists.txt b/libibverbs/man/CMakeLists.txt
-index 86dd49de..b54675be 100644
+index e1d5edf8..92c68611 100644
  --- a/libibverbs/man/CMakeLists.txt
  +++ b/libibverbs/man/CMakeLists.txt
-@@ -5,7 +5,6 @@ rdma_man_pages(
+@@ -1,24 +1,18 @@
+ rdma_man_pages(
+-  ibv_advise_mr.3.md
+   ibv_alloc_dm.3
+   ibv_alloc_mw.3
+-  ibv_alloc_null_mr.3.md
+   ibv_alloc_parent_domain.3
 ibv_alloc_pd.3
 ibv_alloc_td.3
 ibv_asyncwatch.1
+-  ibv_attach_counters_point_flow.3.md
  -  

Re: [oe] [meta-xfce][PATCH] gtk-xfce-engine: remove this recipe

2019-12-13 Thread Kang Kai

On 2019/12/13 下午5:27, Andreas Müller wrote:

On Fri, Dec 13, 2019 at 9:45 AM  wrote:

From: Changqing Li 

* Part of xfce 4.14 changelog
   Theme Engine (gtk-xfce-engine)
   The gtk-xfce-engine has been deprecated and archived.

* repo have been remove from upstream
   https://archive.xfce.org/src/xfce/
   no gtk-xfce-engine now

so remove this recipe

Signed-off-by: Changqing Li 

Think this is a good thing and wanted to test it. Unfortunately it did
not make it into patchwork - similar as Kai's patches sent recently.
Who can look into patchwork?


I once thought it because I used 'Patch' rather than 'PATCH' in subject. 
And it did in patchwork today with that change.

But I don't know why Changqing's patch doesn't in patchwork either.

Regards,
Kai





Andreas



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH] gtk-xfce-engine: remove this recipe

2019-12-13 Thread Kang Kai

On 2019/12/13 下午4:45, changqing...@windriver.com wrote:

From: Changqing Li 

* Part of xfce 4.14 changelog
   Theme Engine (gtk-xfce-engine)
   The gtk-xfce-engine has been deprecated and archived.


According to https://xfce.org/about/news, xfce4-kbdleds-plugin is also 
abandoned. Would you like to remove it too?


Acked for this one.

Acked-by: Kai Kang 

Regards,
Kai




* repo have been remove from upstream
   https://archive.xfce.org/src/xfce/
   no gtk-xfce-engine now

so remove this recipe

Signed-off-by: Changqing Li 
---
  .../gtk-xfce-engine/glib-2.54-ftbfs.patch  | 23 -
  .../gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb   | 30 --
  .../packagegroups/packagegroup-xfce-base.bb|  1 -
  3 files changed, 54 deletions(-)
  delete mode 100644 
meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine/glib-2.54-ftbfs.patch
  delete mode 100644 
meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb

diff --git 
a/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine/glib-2.54-ftbfs.patch 
b/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine/glib-2.54-ftbfs.patch
deleted file mode 100644
index fb89102..000
--- 
a/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine/glib-2.54-ftbfs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Description: Fix FTBFS with glib 2.54
- glib-mkenums now expects input files to be UTF-8,
- fix the encoding of libgnomeui/gnome-scores.h
-Author: Adrian Bunk 
-
-ported from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870738
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj 
-
-Index: gtk-xfce-engine-3.2.0/gtk-3.0/xfce_style_types.h
-===
 gtk-xfce-engine-3.2.0.orig/gtk-3.0/xfce_style_types.h
-+++ gtk-xfce-engine-3.2.0/gtk-3.0/xfce_style_types.h
-@@ -19,7 +19,7 @@
-  *
-  *  Portions based Thinice port by
-  *   Tim Gerla ,
-- *   Tomas �gren ,
-  *   Richard Hult 
-  *  Portions based on Smooth theme by
-  *   Andrew Johnson 
diff --git a/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb 
b/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb
deleted file mode 100644
index 0dd4a4c..000
--- a/meta-xfce/recipes-xfce/gtk-xfce-engine/gtk-xfce-engine_3.2.0.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-SUMMARY = "XFCE theme for GTK"
-SECTION = "x11/libs"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "gtk+ xfce4-dev-tools-native"
-
-inherit xfce features_check
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-SRC_URI += "file://glib-2.54-ftbfs.patch"
-
-SRC_URI[md5sum] = "363d6c16a48a00e26d45c45c2e1fd739"
-SRC_URI[sha256sum] = 
"875c9c3bda96faf050a2224649cc42129ffb662c4de33add8c0fd1fb860b47ed"
-
-PACKAGECONFIG ??= "gtk3"
-PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3, gtk+3, gtk3-xfce-engine"
-
-PACKAGES += "${PN}-themes gtk3-xfce-engine"
-FILES_${PN} += "${libdir}/gtk-2.0/*/engines/*.so"
-FILES_gtk3-xfce-engine += "${libdir}/gtk-3.0/*/theming-engines/*.so"
-FILES_${PN}-themes += "${datadir}/themes"
-
-FILES_${PN}-dev += " \
-${libdir}/gtk-2.0/*/engines/*.la \
-${libdir}/gtk-3.0/*/theming-engines/*.la \
-"
-
-RDEPENDS_${PN} += "${PN}-themes"
-RDEPENDS_gtk3-xfce-engine += "${PN}-themes"
diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb 
b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb
index 412c6ae..70ef909 100644
--- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb
+++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-base.bb
@@ -13,7 +13,6 @@ RDEPENDS_${PN} = " \
  xfdesktop \
  xfce4-panel \
  \
-gtk-xfce-engine \
  librsvg-gtk \
  \
  xfce4-panel-plugin-actions \



--
Kai Kang

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


Re: [oe] [meta-oe][Patch] fltk: fix build error when enable package config examples

2019-12-11 Thread Kang Kai

On 2019/12/12 上午8:24, Kang Kai wrote:

On 2019/12/12 上午2:52, Khem Raj wrote:

somehow patches from you never get into patchwork. I wonder why ?
adding Michael as well


I have no idea that I just git format-patch and sent patch by git 
send-email.


Maybe I used 'Patch' rather than 'PATCH' when call git format-patch

git format-patch -1 --subject-prefix=meta-oe][Patch

I'll try 'PATCH' in subject next time.

Kai



Regards,
Kai




On 12/11/19 1:10 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

Backport patch to fix fltk build error when enable package config
'examples'. Drop the useless parts such as .gitignore and Makefile
from the patch.

fltk-native is also required by package config 'examples'.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/fltk/fltk.bb  |   7 +-
  ...-when-enable-package-config-examples.patch | 182 
++

  2 files changed, 187 insertions(+), 2 deletions(-)
  create mode 100644 
meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch


diff --git a/meta-oe/recipes-support/fltk/fltk.bb 
b/meta-oe/recipes-support/fltk/fltk.bb

index 7ad4ac70a..0d033f361 100644
--- a/meta-oe/recipes-support/fltk/fltk.bb
+++ b/meta-oe/recipes-support/fltk/fltk.bb
@@ -5,7 +5,10 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
  inherit features_check binconfig lib_package gtk-icon-cache mime
  REQUIRED_DISTRO_FEATURES = "x11"
  -SRC_URI += 
"file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch"

+SRC_URI += " \
+ 
file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch \
+ 
file://0004-Fix-build-error-when-enable-package-config-examples.patch \

+"
    EXTRA_OECMAKE = " \
  -DOPTION_BUILD_SHARED_LIBS=ON \
@@ -17,7 +20,7 @@ EXTRA_OECMAKE = " \
    PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 
'opengl', d)}"
  -PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,"
+PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,fltk-native"

  PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo"
  PACKAGECONFIG[opengl] = 
"-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl"
  PACKAGECONFIG[xinerama] = 
"-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama"
diff --git 
a/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch 


new file mode 100644
index 0..974c02fe6
--- /dev/null
+++ 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch

@@ -0,0 +1,182 @@
+Fix build error when enable package config examples.
+
+Upstream-Status: Backport 
[https://github.com/fltk/fltk/commit/16774dd]

+
+Signed-off-by: Kai Kang 
+
+
+From 16774ddc4e000c89e560fde0ced8be9814ef041e Mon Sep 17 00:00:00 2001
+From: Albrecht Schlosser 
+Date: Wed, 8 Feb 2017 02:06:52 +
+Subject: [PATCH] Rename test/help demo program to test/help_dialog.
+
+This change avoids a name conflict with CMake's auto-generated 
target 'help'
+for "Unix Makefiles", "Ninja", and supposedly other generators as 
well.

+
+
+git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 
ea41ed52-d2ee-0310-a9c1-e6b18d33e121

+---
+ CMake/macros.cmake    |  5 -
+ documentation/src/examples.dox    |  8 +++
+ test/CMakeLists.txt   | 27 
+++

+ test/demo.menu    |  2 +-
+ test/{help.cxx => help_dialog.cxx}    |  6 ++---
+ test/{help-test.html => help_dialog.html} |  0
+ 6 files changed, 31 insertions(+), 17 deletions(-)
+ rename test/{help.cxx => help_dialog.cxx} (88%)
+ rename test/{help-test.html => help_dialog.html} (100%)
+
+diff --git a/CMake/macros.cmake b/CMake/macros.cmake
+index 5b0d0fa..7134fcb 100644
+--- a/CMake/macros.cmake
 b/CMake/macros.cmake
+@@ -90,11 +90,6 @@ function(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
+
+ set (tname ${NAME})    # target name
+
+-    # rename reserved target name "help" (CMake 2.8.12 and later)
+-    if (${tname} MATCHES "^help$")
+-    set (tname "test_help")
+-    endif (${tname} MATCHES "^help$")
+-
+ foreach(src ${SOURCES})
+ if ("${src}" MATCHES "\\.fl$")
+ list(APPEND flsrcs ${src})
+diff --git a/documentation/src/examples.dox 
b/documentation/src/examples.dox

+index 5105b7b..7961b02 100644
+--- a/documentation/src/examples.dox
 b/documentation/src/examples.dox
+@@ -60,7 +60,7 @@ you build FLTK, unlike those in the 'test' 
directory shown below.

+ 
+ 
+  \ref examples_hello   
+- \ref examples_help    
++ \ref examples_help_dialog 
+  \ref examples_iconiz

Re: [oe] [meta-oe][Patch] fltk: fix build error when enable package config examples

2019-12-11 Thread Kang Kai

On 2019/12/12 上午2:52, Khem Raj wrote:

somehow patches from you never get into patchwork. I wonder why ?
adding Michael as well


I have no idea that I just git format-patch and sent patch by git 
send-email.


Regards,
Kai




On 12/11/19 1:10 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

Backport patch to fix fltk build error when enable package config
'examples'. Drop the useless parts such as .gitignore and Makefile
from the patch.

fltk-native is also required by package config 'examples'.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/fltk/fltk.bb  |   7 +-
  ...-when-enable-package-config-examples.patch | 182 ++
  2 files changed, 187 insertions(+), 2 deletions(-)
  create mode 100644 
meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch


diff --git a/meta-oe/recipes-support/fltk/fltk.bb 
b/meta-oe/recipes-support/fltk/fltk.bb

index 7ad4ac70a..0d033f361 100644
--- a/meta-oe/recipes-support/fltk/fltk.bb
+++ b/meta-oe/recipes-support/fltk/fltk.bb
@@ -5,7 +5,10 @@ DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft"
  inherit features_check binconfig lib_package gtk-icon-cache mime
  REQUIRED_DISTRO_FEATURES = "x11"
  -SRC_URI += 
"file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch"

+SRC_URI += " \
+ 
file://0003-CMake-build-Force-shared-libs-with-unsuffixed-names.patch \
+ 
file://0004-Fix-build-error-when-enable-package-config-examples.patch \

+"
    EXTRA_OECMAKE = " \
  -DOPTION_BUILD_SHARED_LIBS=ON \
@@ -17,7 +20,7 @@ EXTRA_OECMAKE = " \
    PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 
'opengl', d)}"
  -PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,"
+PACKAGECONFIG[examples] = 
"-DOPTION_BUILD_EXAMPLES=ON,-DOPTION_BUILD_EXAMPLES=OFF,fltk-native"

  PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo"
  PACKAGECONFIG[opengl] = 
"-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl"
  PACKAGECONFIG[xinerama] = 
"-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama"
diff --git 
a/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch 


new file mode 100644
index 0..974c02fe6
--- /dev/null
+++ 
b/meta-oe/recipes-support/fltk/fltk/0004-Fix-build-error-when-enable-package-config-examples.patch

@@ -0,0 +1,182 @@
+Fix build error when enable package config examples.
+
+Upstream-Status: Backport [https://github.com/fltk/fltk/commit/16774dd]
+
+Signed-off-by: Kai Kang 
+
+
+From 16774ddc4e000c89e560fde0ced8be9814ef041e Mon Sep 17 00:00:00 2001
+From: Albrecht Schlosser 
+Date: Wed, 8 Feb 2017 02:06:52 +
+Subject: [PATCH] Rename test/help demo program to test/help_dialog.
+
+This change avoids a name conflict with CMake's auto-generated 
target 'help'

+for "Unix Makefiles", "Ninja", and supposedly other generators as well.
+
+
+git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12171 
ea41ed52-d2ee-0310-a9c1-e6b18d33e121

+---
+ CMake/macros.cmake    |  5 -
+ documentation/src/examples.dox    |  8 +++
+ test/CMakeLists.txt   | 27 +++
+ test/demo.menu    |  2 +-
+ test/{help.cxx => help_dialog.cxx}    |  6 ++---
+ test/{help-test.html => help_dialog.html} |  0
+ 6 files changed, 31 insertions(+), 17 deletions(-)
+ rename test/{help.cxx => help_dialog.cxx} (88%)
+ rename test/{help-test.html => help_dialog.html} (100%)
+
+diff --git a/CMake/macros.cmake b/CMake/macros.cmake
+index 5b0d0fa..7134fcb 100644
+--- a/CMake/macros.cmake
 b/CMake/macros.cmake
+@@ -90,11 +90,6 @@ function(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
+
+ set (tname ${NAME})    # target name
+
+-    # rename reserved target name "help" (CMake 2.8.12 and later)
+-    if (${tname} MATCHES "^help$")
+-    set (tname "test_help")
+-    endif (${tname} MATCHES "^help$")
+-
+ foreach(src ${SOURCES})
+ if ("${src}" MATCHES "\\.fl$")
+ list(APPEND flsrcs ${src})
+diff --git a/documentation/src/examples.dox 
b/documentation/src/examples.dox

+index 5105b7b..7961b02 100644
+--- a/documentation/src/examples.dox
 b/documentation/src/examples.dox
+@@ -60,7 +60,7 @@ you build FLTK, unlike those in the 'test' 
directory shown below.

+ 
+ 
+  \ref examples_hello   
+- \ref examples_help    
++ \ref examples_help_dialog 
+  \ref examples_iconize 
+  \ref examples_image   
+  \ref examples_inactive    
+@@ -326,13 +326,13 @@ easily under FLTK.
+ tiny demo shows how little is needed to get a functioning application
+ running with FLTK. Quite impressive, I'd say.
+
+-\subsection examples_help help
++\subsection examples_help_dialog help_dialog
+
+ \par
+-\c help displays the built-in FLTK help browser. The
++\c help_dialog displays the 

Re: [oe] [meta-xfce][PATCH 1/2] exo: upgrade 0.12.8 -> 0.12.9

2019-11-21 Thread Kang Kai

On 2019/11/21 上午7:38, Andreas Müller wrote:

Release notes for 0.12.9

Bug Fixes:
- Explicitly depend on gio-unix-2.0 (Xfce #15825)
- Fix alignment of multi-line filenames when text beside icons (Xfce
- Fix cursor missing in search popup widget (Xfce #16068)
- Fix desktop item creation on symbolic link directories
- Fix excess clickable area of multiline filenames (Xfce #16075)
- Fix issues with displaying icon view contents (Xfce #14737)
- Fix prelight deactivation (Xfce #11806)
- Hide search widget when doing a fullscreen resize (Xfce #15106)
- Make user-created launchers executable by default

Signed-off-by: Andreas Müller 



Acked-by: Kai Kang 

Regards,
Kai



---
  meta-xfce/recipes-xfce/exo/{exo_0.12.8.bb => exo_0.12.9.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-xfce/recipes-xfce/exo/{exo_0.12.8.bb => exo_0.12.9.bb} (88%)

diff --git a/meta-xfce/recipes-xfce/exo/exo_0.12.8.bb 
b/meta-xfce/recipes-xfce/exo/exo_0.12.9.bb
similarity index 88%
rename from meta-xfce/recipes-xfce/exo/exo_0.12.8.bb
rename to meta-xfce/recipes-xfce/exo/exo_0.12.9.bb
index fdd50d435..a12520417 100644
--- a/meta-xfce/recipes-xfce/exo/exo_0.12.8.bb
+++ b/meta-xfce/recipes-xfce/exo/exo_0.12.9.bb
@@ -20,8 +20,8 @@ SRC_URI_append_class-native = " \
  file://reduce-build-to-exo-csource-only.patch \
  "
  
-SRC_URI[md5sum] = "e618ce760a12ac7427a48a44c69f3d31"

-SRC_URI[sha256sum] = 
"3400a2e64aa41ede25bedaca4909bde7ea4f8698d9598d1b80f02a40ac89fcde"
+SRC_URI[md5sum] = "9730f9d270b4968a8bbebe73e6de934f"
+SRC_URI[sha256sum] = 
"9ba0bf0fd59aeb1cd32ae3863e7a78222655eb15eb675ba08f3b3fb933b6fbfe"
  
  PACKAGECONFIG ??= ""

  PACKAGECONFIG_class-target ??= "gtk"



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH 3/3] xfce4-whiskermenu-plugin: upgrade 2.3.3 -> 2.3.4

2019-11-05 Thread Kang Kai

On 2019/11/6 下午2:54, Andreas Müller wrote:

Release notes for 2.3.4
===
- Fix building against xfce4-panel 4.15.0
- Translation updates: Dutch, Galician, Georgian.

Signed-off-by: Andreas Müller 
---
  ...menu-plugin_2.3.3.bb => xfce4-whiskermenu-plugin_2.3.4.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename 
meta-xfce/recipes-panel-plugins/whiskermenu/{xfce4-whiskermenu-plugin_2.3.3.bb 
=> xfce4-whiskermenu-plugin_2.3.4.bb} (66%)

diff --git 
a/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.3.bb 
b/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.4.bb
similarity index 66%
rename from 
meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.3.bb
rename to 
meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.4.bb
index a05f0dc6f..595e3c815 100644
--- 
a/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.3.bb
+++ 
b/meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.3.4.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  
  inherit xfce-panel-plugin cmake
  
-SRC_URI[md5sum] = "21f1e1d8d4a030f23d358d6c5ac50f2a"

-SRC_URI[sha256sum] = 
"e0c6cc4fc1e685bc9601ec217a803d5489ca3276f4008bf056600471c6ac1848"
+SRC_URI[md5sum] = "ee9e378fae78b230a23b241cf727c84b"
+SRC_URI[sha256sum] = 
"84d3de35695a023aab181f7a9b75f59029eb3b07c3e47a5e11e8bd79db62570e"
  
  RRECOMMENDS_${PN} += "menulibre"



Acked-by: Kai Kang 

Regards,

--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH] xfce-polkit: Upgrade 0.2 -> 0.3

2019-11-03 Thread Kang Kai

On 2019/10/29 上午6:16, Adrian Bunk wrote:

Patch applied upstream removed.


Fine with me.

Acked-by: Kai Kang 

Regards,
Kai




Signed-off-by: Adrian Bunk 
---
  .../files/0001-fix-Name-Comment-fields.patch  | 34 ---
  ...{xfce-polkit_0.2.bb => xfce-polkit_0.3.bb} |  3 +-
  2 files changed, 1 insertion(+), 36 deletions(-)
  delete mode 100644 
meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch
  rename meta-xfce/recipes-apps/xfce-polkit/{xfce-polkit_0.2.bb => 
xfce-polkit_0.3.bb} (77%)

diff --git 
a/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch 
b/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch
deleted file mode 100644
index e872249d5..0
--- 
a/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From fb1f83c04dd5262897b09e60fa8b39090d0d4619 Mon Sep 17 00:00:00 2001
-From: Rex Dieter 
-Date: Thu, 12 Nov 2015 13:53:03 -0600
-Subject: [PATCH] fix Name/Comment fields
-
-Validate as a valid .desktop file per
-http://standards.freedesktop.org/desktop-entry-spec/latest/
-
-See also issue #2
-
-Upstream-Status: Applied [1]
-
-[1] 
https://github.com/ncopa/xfce-polkit/commit/fb1f83c04dd5262897b09e60fa8b39090d0d4619

- xfce-polkit.desktop.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in
-index 8575896..dd9f09c 100644
 a/xfce-polkit.desktop.in
-+++ b/xfce-polkit.desktop.in
-@@ -1,7 +1,7 @@
- [Desktop Entry]
- Type=Application
--_Name=XFCE PolKit
--_Comment=Policykit Authentication Agent
-+Name=XFCE PolKit
-+Comment=Policykit Authentication Agent
- Exec=@xfce_polkit_libexecdir@/xfce-polkit
- Icon=gtk-dialog-authentication
- NotShowIn=GNOME;KDE;
---
-2.14.3
-
diff --git a/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb 
b/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.3.bb
similarity index 77%
rename from meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb
rename to meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.3.bb
index 62d8d6de9..3a396c0f7 100644
--- a/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb
+++ b/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.3.bb
@@ -9,7 +9,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
  
  SRC_URI = " \

  git://github.com/ncopa/${BPN}.git \
-file://0001-fix-Name-Comment-fields.patch \
  "
-SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283"
+SRCREV = "6d3282cc1734c305850d48f5bf4b4d94e5e9"
  S = "${WORKDIR}/git"



--
Kai Kang

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


Re: [oe] [warrior][PATCH 1/3] xfce4-panel: Draw icons/background properly when compositing is disabled

2019-10-11 Thread Kang Kai

On 2019/10/11 下午4:06, Andreas Müller wrote:

A similar patch was sent for master [1] but that was superseded by upgrade of
xfce4-panel 4.14.0 -> 4.14.1 [2]

[1] 
http://lists.openembedded.org/pipermail/openembedded-devel/2019-September/201966.html
[2] 
http://lists.openembedded.org/pipermail/openembedded-devel/2019-September/201986.html


This patch is fine with me.

Acked-by: Kai Kang 


Regards,
Kai




Signed-off-by: Andreas Müller 
---
  ...-icons-without-compositing-Bug-14577.patch | 80 +++
  .../xfce4-panel/xfce4-panel_4.13.4.bb |  1 +
  2 files changed, 81 insertions(+)
  create mode 100644 
meta-xfce/recipes-xfce/xfce4-panel/files/0002-systray-Fix-icons-without-compositing-Bug-14577.patch

diff --git 
a/meta-xfce/recipes-xfce/xfce4-panel/files/0002-systray-Fix-icons-without-compositing-Bug-14577.patch
 
b/meta-xfce/recipes-xfce/xfce4-panel/files/0002-systray-Fix-icons-without-compositing-Bug-14577.patch
new file mode 100644
index 0..8fac5ad81
--- /dev/null
+++ 
b/meta-xfce/recipes-xfce/xfce4-panel/files/0002-systray-Fix-icons-without-compositing-Bug-14577.patch
@@ -0,0 +1,80 @@
+From f6f70cce417fd2982c2ce6f01016ed01deb6a9ae Mon Sep 17 00:00:00 2001
+From: "Ivan A. Melnikov" 
+Date: Mon, 23 Sep 2019 16:18:10 +0400
+Subject: [PATCH] systray: Fix icons without compositing (Bug #14577)
+
+Wrapper window uses RGBA visual when it's available;
+systray manager should try to do the same for
+the transparent or parent-relative background to work.
+
+That means that the manager and icons will work with
+RGBA visual even if the screen is not compositing; so
+we should always force-redraw the icons.
+
+Upstream-Status: Accepted [1]
+
+[1] 
https://git.xfce.org/xfce/xfce4-panel/commit?id=f6f70cce417fd2982c2ce6f01016ed01deb6a9ae
+
+Refs: https://bugzilla.xfce.org/show_bug.cgi?id=14577
+Signed-off-by: Ivan A. Melnikov 
+---
+ plugins/systray/systray-manager.c | 10 ++
+ plugins/systray/systray.c | 10 --
+ 2 files changed, 6 insertions(+), 14 deletions(-)
+
+diff --git a/plugins/systray/systray-manager.c 
b/plugins/systray/systray-manager.c
+index 68836554..4915649c 100644
+--- a/plugins/systray/systray-manager.c
 b/plugins/systray/systray-manager.c
+@@ -751,6 +751,7 @@ static void
+ systray_manager_set_visual (SystrayManager *manager)
+ {
+   GdkDisplay  *display;
++  GdkVisual   *visual;
+   Visual  *xvisual;
+   Atom visual_atom;
+   gulong   data[1];
+@@ -768,11 +769,12 @@ systray_manager_set_visual (SystrayManager *manager)
+   visual_atom = gdk_x11_get_xatom_by_name_for_display (display,
+   "_NET_SYSTEM_TRAY_VISUAL");
+
+-  if (gdk_screen_is_composited (gtk_widget_get_screen (manager->invisible))
+-  && (gdk_screen_get_rgba_visual (screen) != NULL))
++  visual = gdk_screen_get_rgba_visual (screen);
++  panel_debug (PANEL_DEBUG_SYSTRAY, "rgba visual is %p", visual);
++  if (visual != NULL)
+ {
+-  /* get the rgba visual */
+-  xvisual = GDK_VISUAL_XVISUAL (gdk_screen_get_rgba_visual (screen));
++  /* use the rgba visual */
++  xvisual = GDK_VISUAL_XVISUAL (visual);
+ }
+   else
+ {
+diff --git a/plugins/systray/systray.c b/plugins/systray/systray.c
+index 3fb9520c..beae1973 100644
+--- a/plugins/systray/systray.c
 b/plugins/systray/systray.c
+@@ -728,19 +728,9 @@ systray_plugin_box_draw (GtkWidget *box,
+  gpointer   user_data)
+ {
+   SystrayPlugin *plugin = XFCE_SYSTRAY_PLUGIN (user_data);
+-  GdkScreen  *screen;
+-
+   panel_return_if_fail (XFCE_IS_SYSTRAY_PLUGIN (plugin));
+   panel_return_if_fail (cr != NULL);
+
+-  screen = gtk_widget_get_screen (GTK_WIDGET (plugin));
+-
+-  if (G_LIKELY (screen != NULL))
+-{
+-  if (!gdk_screen_is_composited (screen))
+-return;
+-}
+-
+   /* separately draw all the composed tray icons after gtk
+* handled the draw event */
+   gtk_container_foreach (GTK_CONTAINER (box),
+--
+2.21.0
+
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.4.bb 
b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.4.bb
index 18e054c9d..ecae873c3 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.4.bb
+++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.4.bb
@@ -12,6 +12,7 @@ SRC_URI[md5sum] = "c0f132fed2110d37f351aadc9e80a034"
  SRC_URI[sha256sum] = 
"36ffd26ef7f5867c01ba310475b4358ff0e588cfd5599a266f0037a6c20052a1"
  SRC_URI += " \
  file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
+file://0002-systray-Fix-icons-without-compositing-Bug-14577.patch \
  "
  
  python populate_packages_prepend() {



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH v2 2/2] xfce4-panel: upgrade 4.14.0 -> 4.14.1

2019-10-09 Thread Kang Kai

On 2019/10/9 下午9:29, Khem Raj wrote:

On Wed, Oct 9, 2019 at 2:10 AM Andreas Müller  wrote:

On Fri, Oct 4, 2019 at 10:35 PM Khem Raj  wrote:


On Fri, Oct 4, 2019 at 1:31 PM Andreas Müller  wrote:

On Fri, Sep 27, 2019 at 12:32 AM Andreas Müller  wrote:

* important bugfix release: systray draws icons properly when compositing is
   disabled
* while at it renumber patches

Signed-off-by: Andreas Müller 

If xfce-patches require review these days: Kai can you take a look?
If not: Ping

Since they have been pending for a while
I still wanted to give them a go for a build and see if all is okay. Still 
waiting on Kai to review them



Sorry to come back to this - did not find it in master(-next) anymore:
It contains a bugfix annoying me for very very long time [1]


I was hoping that Kai would be able to review it but that has not happened yet.


Sorry, missed the emails that we have the National Holiday last week.

The patches are fine with me.

Acked-by: Kai Kang 


Regards,
Kai





Or did I miss something

[1] https://bugzilla.xfce.org/show_bug.cgi?id=14577

Andreas



--
Kai Kang

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


Re: [oe] [meta-oe][Patch] libwacom: add recipe

2019-09-11 Thread Kang Kai

On 2019/9/12 上午11:21, Khem Raj wrote:



On Wed, Sep 11, 2019 at 8:18 PM Kang Kai <mailto:kai.k...@windriver.com>> wrote:


On 2019/9/6 上午9:10, Khem Raj wrote:
> On 9/4/19 6:51 PM, Kang Kai wrote:
>> On 2019/8/29 下午4:29, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:
>>> From: Kai Kang mailto:kai.k...@windriver.com>>
>>>
>>> Package libinput has a package config 'libwacom'. When it is set,
>>> package libwacom is required. So add the recipe of libwacom.
>>>
>>> Add a patch to generate udev rules file on target that it is not
>>> suitable for cross compile.
>
> fails to build
>
> https://errors.yoctoproject.org/Errors/Details/268566/
>
> https://errors.yoctoproject.org/Errors/Details/268387/

HI Khem,

I still can't reproduce the failures. And I can't find the config
of the
failed builds. Would you like to tell me where can I find the build
config? Thanks.


This is using gold linker I think that’s what you might be missing


Thanks. I'll try it.




Regards,
Kai


>
>
>> Ping.
>>
>>
>>> Signed-off-by: Kai Kang mailto:kai.k...@windriver.com>>
>>> ---
>>> .../generate-udev-rules-on-target.patch   | 59
+++
>>>    .../recipes-extended/libwacom/libwacom_1.0.bb
<http://libwacom_1.0.bb> | 17 ++
>>>    2 files changed, 76 insertions(+)
>>>    create mode 100644
>>>

meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
>>>    create mode 100644
meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
<http://libwacom_1.0.bb>
>>>
>>> diff --git
>>>

a/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
>>>

b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
>>>
>>> new file mode 100644
>>> index 0..27e037c98
>>> --- /dev/null
>>> +++
>>>

b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
>>> @@ -0,0 +1,59 @@
>>> +libwacom create a native executable file to generate udev rules
>>> file. But it is
>>> +not suitable for cross compile. And it is complicate to create
>>> libwacom-native
>>> +that libgudev-native and udev-native are required.
>>> +
>>> +So do not generate udev rules file during compilation.
Install the
>>> executable
>>> +file to generate udev rules on target. It should put the
generated
>>> rules file
>>> +at /lib/udev/rules.d/65-libwacom.rules.
>>> +
>>> +Upstream-Status: Inappropriate [cross-compile specific]
>>> +
>>> +Signed-off-by: Kai Kang mailto:kai.k...@windriver.com>>
>>> +---
>>> +diff --git a/meson.build b/meson.build
>>> +index 6584c86..4009f5f 100644
>>> +--- a/meson.build
>>>  b/meson.build
>>> +@@ -407,20 +407,20 @@ executable('libwacom-list-local-devices',
>>> +    include_directories: [includes_src],
>>> +    install: true)
>>> +
>>> +-tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root())]
>>> ++tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root()),
>>> '-DLIBWACOM_DATA_DIR="@0@"'.format(dir_data)]
>>> +
>>> +-gen_udev_rules = executable('generate-udev-rules',
>>> ++gen_udev_rules = executable('libwacom-generate-udev-rules',
>>> + 'tools/generate-udev-rules.c',
>>> + dependencies: [dep_libwacom, dep_glib],
>>> + include_directories: [includes_src],
>>> + c_args: tools_cflags,
>>> +-    install: false)
>>> +-custom_target('udev-rules',
>>> +-  command: gen_udev_rules,
>>> +-  capture: true,
>>> +-  output: '65-libwacom.rules',
>>> +-  install: true,
>>> +-  install_dir: join_paths(dir_udev, 'rules.d'))
>>> ++    install: true)
>>> ++#custom_target('udev-rules',
>>> ++#  command: gen_udev_rules,
>>> ++#  capture: true,
>>> ++#  output: '65-libwacom.rules',
>>> ++#  install: true,
  

Re: [oe] [meta-oe][Patch] libwacom: add recipe

2019-09-11 Thread Kang Kai

On 2019/9/6 上午9:10, Khem Raj wrote:

On 9/4/19 6:51 PM, Kang Kai wrote:

On 2019/8/29 下午4:29, kai.k...@windriver.com wrote:

From: Kai Kang 

Package libinput has a package config 'libwacom'. When it is set,
package libwacom is required. So add the recipe of libwacom.

Add a patch to generate udev rules file on target that it is not
suitable for cross compile.


fails to build

https://errors.yoctoproject.org/Errors/Details/268566/

https://errors.yoctoproject.org/Errors/Details/268387/


HI Khem,

I still can't reproduce the failures. And I can't find the config of the 
failed builds. Would you like to tell me where can I find the build 
config? Thanks.


Regards,
Kai






Ping.



Signed-off-by: Kai Kang 
---
   .../generate-udev-rules-on-target.patch   | 59 +++
   .../recipes-extended/libwacom/libwacom_1.0.bb | 17 ++
   2 files changed, 76 insertions(+)
   create mode 100644
meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
   create mode 100644 meta-oe/recipes-extended/libwacom/libwacom_1.0.bb

diff --git
a/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch

new file mode 100644
index 0..27e037c98
--- /dev/null
+++
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
@@ -0,0 +1,59 @@
+libwacom create a native executable file to generate udev rules
file. But it is
+not suitable for cross compile. And it is complicate to create
libwacom-native
+that libgudev-native and udev-native are required.
+
+So do not generate udev rules file during compilation. Install the
executable
+file to generate udev rules on target. It should put the generated
rules file
+at /lib/udev/rules.d/65-libwacom.rules.
+
+Upstream-Status: Inappropriate [cross-compile specific]
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/meson.build b/meson.build
+index 6584c86..4009f5f 100644
+--- a/meson.build
 b/meson.build
+@@ -407,20 +407,20 @@ executable('libwacom-list-local-devices',
+    include_directories: [includes_src],
+    install: true)
+
+-tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root())]
++tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root()),
'-DLIBWACOM_DATA_DIR="@0@"'.format(dir_data)]
+
+-gen_udev_rules = executable('generate-udev-rules',
++gen_udev_rules = executable('libwacom-generate-udev-rules',
+ 'tools/generate-udev-rules.c',
+ dependencies: [dep_libwacom, dep_glib],
+ include_directories: [includes_src],
+ c_args: tools_cflags,
+-    install: false)
+-custom_target('udev-rules',
+-  command: gen_udev_rules,
+-  capture: true,
+-  output: '65-libwacom.rules',
+-  install: true,
+-  install_dir: join_paths(dir_udev, 'rules.d'))
++    install: true)
++#custom_target('udev-rules',
++#  command: gen_udev_rules,
++#  capture: true,
++#  output: '65-libwacom.rules',
++#  install: true,
++#  install_dir: join_paths(dir_udev, 'rules.d'))
+
+ executable('list-devices',
+    'tools/list-devices.c',
+diff --git a/tools/generate-udev-rules.c b/tools/generate-udev-rules.c
+index bb00e7b..fbf49f0 100644
+--- a/tools/generate-udev-rules.c
 b/tools/generate-udev-rules.c
+@@ -229,7 +229,7 @@ int main(int argc, char **argv)
+ }
+
+
+-    db = libwacom_database_new_for_path(TOPSRCDIR"/data");
++    db = libwacom_database_new_for_path(LIBWACOM_DATA_DIR);
+
+ list = libwacom_list_devices_from_database(db, NULL);
+ if (!list) {
diff --git a/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
new file mode 100644
index 0..0787ad246
--- /dev/null
+++ b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "libwacom is a library to identify wacom tablets and
their model-specific features."
+HOMEPAGE = "https://github.com/linuxwacom/libwacom/wiki;
+SECTION = "libs"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =
"file://COPYING;md5=40a21fffb367c82f39fd91a3b137c36e"
+
+DEPENDS = "libgudev libxml2"
+
+SRC_URI = "git://github.com/linuxwacom/libwacom.git;protocol=https \
+   file://generate-udev-rules-on-target.patch \
+   "
+SRCREV = "ae6c9cf78802844349986ac2a708d87e891a3e6e"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig




--
Kai Kang

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


Re: [oe] [meta-oe][Patch] libwacom: add recipe

2019-09-05 Thread Kang Kai

On 2019/9/6 上午9:10, Khem Raj wrote:

On 9/4/19 6:51 PM, Kang Kai wrote:

On 2019/8/29 下午4:29, kai.k...@windriver.com wrote:

From: Kai Kang 

Package libinput has a package config 'libwacom'. When it is set,
package libwacom is required. So add the recipe of libwacom.

Add a patch to generate udev rules file on target that it is not
suitable for cross compile.


fails to build

https://errors.yoctoproject.org/Errors/Details/268566/

https://errors.yoctoproject.org/Errors/Details/268387/


Thanks. I'll check them.

Kai






Ping.



Signed-off-by: Kai Kang 
---
   .../generate-udev-rules-on-target.patch   | 59 +++
   .../recipes-extended/libwacom/libwacom_1.0.bb | 17 ++
   2 files changed, 76 insertions(+)
   create mode 100644
meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
   create mode 100644 meta-oe/recipes-extended/libwacom/libwacom_1.0.bb

diff --git
a/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch

new file mode 100644
index 0..27e037c98
--- /dev/null
+++
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
@@ -0,0 +1,59 @@
+libwacom create a native executable file to generate udev rules
file. But it is
+not suitable for cross compile. And it is complicate to create
libwacom-native
+that libgudev-native and udev-native are required.
+
+So do not generate udev rules file during compilation. Install the
executable
+file to generate udev rules on target. It should put the generated
rules file
+at /lib/udev/rules.d/65-libwacom.rules.
+
+Upstream-Status: Inappropriate [cross-compile specific]
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/meson.build b/meson.build
+index 6584c86..4009f5f 100644
+--- a/meson.build
 b/meson.build
+@@ -407,20 +407,20 @@ executable('libwacom-list-local-devices',
+    include_directories: [includes_src],
+    install: true)
+
+-tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root())]
++tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root()),
'-DLIBWACOM_DATA_DIR="@0@"'.format(dir_data)]
+
+-gen_udev_rules = executable('generate-udev-rules',
++gen_udev_rules = executable('libwacom-generate-udev-rules',
+ 'tools/generate-udev-rules.c',
+ dependencies: [dep_libwacom, dep_glib],
+ include_directories: [includes_src],
+ c_args: tools_cflags,
+-    install: false)
+-custom_target('udev-rules',
+-  command: gen_udev_rules,
+-  capture: true,
+-  output: '65-libwacom.rules',
+-  install: true,
+-  install_dir: join_paths(dir_udev, 'rules.d'))
++    install: true)
++#custom_target('udev-rules',
++#  command: gen_udev_rules,
++#  capture: true,
++#  output: '65-libwacom.rules',
++#  install: true,
++#  install_dir: join_paths(dir_udev, 'rules.d'))
+
+ executable('list-devices',
+    'tools/list-devices.c',
+diff --git a/tools/generate-udev-rules.c b/tools/generate-udev-rules.c
+index bb00e7b..fbf49f0 100644
+--- a/tools/generate-udev-rules.c
 b/tools/generate-udev-rules.c
+@@ -229,7 +229,7 @@ int main(int argc, char **argv)
+ }
+
+
+-    db = libwacom_database_new_for_path(TOPSRCDIR"/data");
++    db = libwacom_database_new_for_path(LIBWACOM_DATA_DIR);
+
+ list = libwacom_list_devices_from_database(db, NULL);
+ if (!list) {
diff --git a/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
new file mode 100644
index 0..0787ad246
--- /dev/null
+++ b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "libwacom is a library to identify wacom tablets and
their model-specific features."
+HOMEPAGE = "https://github.com/linuxwacom/libwacom/wiki;
+SECTION = "libs"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =
"file://COPYING;md5=40a21fffb367c82f39fd91a3b137c36e"
+
+DEPENDS = "libgudev libxml2"
+
+SRC_URI = "git://github.com/linuxwacom/libwacom.git;protocol=https \
+   file://generate-udev-rules-on-target.patch \
+   "
+SRCREV = "ae6c9cf78802844349986ac2a708d87e891a3e6e"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig




--
Kai Kang

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


Re: [oe] [meta-oe][Patch] libwacom: add recipe

2019-09-04 Thread Kang Kai

On 2019/8/29 下午4:29, kai.k...@windriver.com wrote:

From: Kai Kang 

Package libinput has a package config 'libwacom'. When it is set,
package libwacom is required. So add the recipe of libwacom.

Add a patch to generate udev rules file on target that it is not
suitable for cross compile.


Ping.



Signed-off-by: Kai Kang 
---
  .../generate-udev-rules-on-target.patch   | 59 +++
  .../recipes-extended/libwacom/libwacom_1.0.bb | 17 ++
  2 files changed, 76 insertions(+)
  create mode 100644 
meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
  create mode 100644 meta-oe/recipes-extended/libwacom/libwacom_1.0.bb

diff --git 
a/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
 
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
new file mode 100644
index 0..27e037c98
--- /dev/null
+++ 
b/meta-oe/recipes-extended/libwacom/libwacom/generate-udev-rules-on-target.patch
@@ -0,0 +1,59 @@
+libwacom create a native executable file to generate udev rules file. But it is
+not suitable for cross compile. And it is complicate to create libwacom-native
+that libgudev-native and udev-native are required.
+
+So do not generate udev rules file during compilation. Install the executable
+file to generate udev rules on target. It should put the generated rules file
+at /lib/udev/rules.d/65-libwacom.rules.
+
+Upstream-Status: Inappropriate [cross-compile specific]
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/meson.build b/meson.build
+index 6584c86..4009f5f 100644
+--- a/meson.build
 b/meson.build
+@@ -407,20 +407,20 @@ executable('libwacom-list-local-devices',
+  include_directories: [includes_src],
+  install: true)
+
+-tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root())]
++tools_cflags = ['-DTOPSRCDIR="@0@"'.format(meson.source_root()), 
'-DLIBWACOM_DATA_DIR="@0@"'.format(dir_data)]
+
+-gen_udev_rules = executable('generate-udev-rules',
++gen_udev_rules = executable('libwacom-generate-udev-rules',
+   'tools/generate-udev-rules.c',
+   dependencies: [dep_libwacom, dep_glib],
+   include_directories: [includes_src],
+   c_args: tools_cflags,
+-  install: false)
+-custom_target('udev-rules',
+-command: gen_udev_rules,
+-capture: true,
+-output: '65-libwacom.rules',
+-install: true,
+-install_dir: join_paths(dir_udev, 'rules.d'))
++  install: true)
++#custom_target('udev-rules',
++#   command: gen_udev_rules,
++#   capture: true,
++#   output: '65-libwacom.rules',
++#   install: true,
++#   install_dir: join_paths(dir_udev, 'rules.d'))
+
+ executable('list-devices',
+  'tools/list-devices.c',
+diff --git a/tools/generate-udev-rules.c b/tools/generate-udev-rules.c
+index bb00e7b..fbf49f0 100644
+--- a/tools/generate-udev-rules.c
 b/tools/generate-udev-rules.c
+@@ -229,7 +229,7 @@ int main(int argc, char **argv)
+   }
+
+
+-  db = libwacom_database_new_for_path(TOPSRCDIR"/data");
++  db = libwacom_database_new_for_path(LIBWACOM_DATA_DIR);
+
+   list = libwacom_list_devices_from_database(db, NULL);
+   if (!list) {
diff --git a/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb 
b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
new file mode 100644
index 0..0787ad246
--- /dev/null
+++ b/meta-oe/recipes-extended/libwacom/libwacom_1.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "libwacom is a library to identify wacom tablets and their 
model-specific features."
+HOMEPAGE = "https://github.com/linuxwacom/libwacom/wiki;
+SECTION = "libs"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=40a21fffb367c82f39fd91a3b137c36e"
+
+DEPENDS = "libgudev libxml2"
+
+SRC_URI = "git://github.com/linuxwacom/libwacom.git;protocol=https \
+   file://generate-udev-rules-on-target.patch \
+   "
+SRCREV = "ae6c9cf78802844349986ac2a708d87e891a3e6e"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH V2 0/3] meta-xfce upgrades

2019-09-03 Thread Kang Kai

On 2019/9/3 下午2:46, Andreas Müller wrote:

V1 -> V2: imsettings dbus-glib from deps

Andreas Müller (3):
   imsettings: upgrade 1.7.3 -> 1.8.1 and rework recipe
   xfce4-settings: upgrade 4.14.0 -> 4.14.1
   xfce4-screenshooter: upgrade 1.9.5 -> 1.9.6

  ..._1.9.5.bb => xfce4-screenshooter_1.9.6.bb} |  6 ++---
  ...msettings_1.7.3.bb => imsettings_1.8.1.bb} | 22 ++-
  ...ngs_4.14.0.bb => xfce4-settings_4.14.1.bb} |  4 ++--
  3 files changed, 17 insertions(+), 15 deletions(-)
  rename meta-xfce/recipes-apps/xfce4-screenshooter/{xfce4-screenshooter_1.9.5.bb 
=> xfce4-screenshooter_1.9.6.bb} (76%)
  rename meta-xfce/recipes-extended/imsettings/{imsettings_1.7.3.bb => 
imsettings_1.8.1.bb} (64%)
  rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.14.0.bb => 
xfce4-settings_4.14.1.bb} (89%)


Fine with me.

Acked-by: Kai Kang 

Regards,

--
Kai Kang

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


Re: [oe] [mexta-xfce][PATCH 1/3] imsettings: upgrade 1.7.3 -> 1.8.1 and rework recipe

2019-09-01 Thread Kang Kai

On 2019/8/30 下午6:14, Andreas Müller wrote:

It is more or less a recipe rewrite:

* stylize recipe
* Use gtk3 instead of gtk
* Drop gconf backend - we should get rid of orphaned gconf
* Add PACKAGECONFIGs for 'xim' and 'xfce' - xfce is set by default
* Drop intltool-native from depends - they moved to gettext
* Remove entries from FILES - gobject-introspection.bbclass takes care

Signed-off-by: Andreas Müller 
---
  ...msettings_1.7.3.bb => imsettings_1.8.1.bb} | 22 ++-
  1 file changed, 12 insertions(+), 10 deletions(-)
  rename meta-xfce/recipes-extended/imsettings/{imsettings_1.7.3.bb => 
imsettings_1.8.1.bb} (64%)

diff --git a/meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb 
b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb
similarity index 64%
rename from meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb
rename to meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb
index 8f622bf6f..36cd7ad72 100644
--- a/meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb
+++ b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb
@@ -7,25 +7,27 @@ This package contains the core DBus services and some 
utilities."
  HOMEPAGE = "http://code.google.com/p/imsettings/;
  SECTION = "Applications/System"
  
-inherit autotools gtk-doc gobject-introspection distro_features_check

+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
  
-REQUIRED_DISTRO_FEATURES = "x11"

+inherit autotools gtk-doc gobject-introspection gettext distro_features_check
  
-SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \

-   "
+DEPENDS = "gtk+3 libnotify dbus-glib"


It seems it transited to gdbus a long time ago but we didn't update 
accordingly in imsettings recipe.


https://bitbucket.org/tagoh/imsettings/commits/ef1c6a125455fea998bcc1a26fc546f9e14a16cd

commit ef1c6a125455fea998bcc1a26fc546f9e14a16cd
Author: Akira TAGOH 
Date:   Wed Dec 22 19:59:40 2010 +0900

    GDBus transition and revising a lot of code.


Regards,
Kai



  
-SRC_URI[md5sum] = "c6c65a2b2654fe9dfe9ab2e8b80c079a"

-SRC_URI[sha256sum] = 
"196d3a74cef254ff812c32682d1818d740e36a68b976fef9e99748d23a71a71a"
+REQUIRED_DISTRO_FEATURES = "x11"
  
-LICENSE = "LGPLv2+"

-LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+SRC_URI = 
"https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2;
+SRC_URI[md5sum] = "c04341a008d8c60e1532f033f4020f44"
+SRC_URI[sha256sum] = 
"ebf578299a10c6a1fea9047be6577df6d2b6470d3cc9d40f8a6589a3c13c4c8b"
  
  EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \

  --disable-static \
 "
  
-DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim xfconf intltool-native"

+PACKAGECONFIG ??= "xfce"
+PACKAGECONFIG[xfce] = ",,xfconf"
+PACKAGECONFIG[xim] = ",,libgxim"
  
  RDEPENDS_${PN} += "bash"
  
-FILES_${PN} += "${datadir}/dbus-1/* ${datadir}/gir-1.0/* ${libdir}/girepository-1.0/*"

+FILES_${PN} += "${datadir}/dbus-1/*"



--
Kai Kang

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


Re: [oe] [meta-networking][RFC PATCH 0/1] Failed to compile networkmanager with musl

2019-08-28 Thread Kang Kai

On 2019/8/29 上午9:57, Khem Raj wrote:

On Wed, Aug 28, 2019 at 6:47 PM Kang Kai  wrote:

On 2019/8/29 上午5:40, Adrian Bunk wrote:

On Wed, Aug 28, 2019 at 01:32:52PM -0700, Khem Raj wrote:

On Wed, Aug 28, 2019 at 12:56 PM Adrian Bunk  wrote:

On Wed, Aug 28, 2019 at 11:53:27AM -0700, Khem Raj wrote:

On Wed, Aug 28, 2019 at 11:06 AM Adrian Bunk  wrote:

What about marking networkmanager as incompatible with musl instead of
maintaining an ever-growing mess?


if the fix is specifically done for musl alone then I would agree, but
in many cases, the fixes
have been cleaning up assumptions in kernel UAPI headers on glibc
provided headers
which is a good thing, and it does take some time for kernel header
changes to flow upstream
but eventually, they do. e.g. see [1]

This is not a cleanup, this is a workaround for a misfeature of musl.

The kernel userspace headers are the userspace ABI of the kernel for
usage by all C libraries provided in one place, they are not tied to
any specific C library.

musl upstream does not even try to use the kernel userspace headers.

The kernel userspace headers used to be a mess, but after more than 10
years of cleanup there is no excuse for musl to insist on providing own
definitions of what is already provided by the kernel headers.

I was citing an example, you might have good feedback maybe bring it up
upstream with musl or

musl upstream says the patched kernel-headers package from sabotage
linux should be used:
https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting-

There has been a patch of networkmanger for the headers issue. And I
update it then this problem gone.



...

There is a benefit of a small C library when your flash space is
single-digit megabytes, but maintaining plenty of not upstreamable
OE-only patches for using networkmanager on musl without a sane
usecase is a waste of effort.

I have said it before as well, I will say it again if we can improve an upstream
packages portability that itself is a good thing, but we should not go overboard
if its too much of work.

Networkmanager doesn't aim at portability and is too much work.

Yes, another following issue is that NetworkManger uses non-posix
portable functions mrand48_r() and struct drand48_data. musl doesn't
recognize them.
After adapt to posix functions jrand48(), it segment fault when startup.
(The point of segment fault is far from my patch). Still working on it. :(


Can you look at
https://code.foxkit.us/adelie/packages/tree/master/user/networkmanager
especially 
https://code.foxkit.us/adelie/packages/blob/master/user/networkmanager/random.patch



I referred to 
https://github.com/tpm2-software/tpm2-abrmd/pull/503/commits/4d652c679ab687e0253a65c2677f73661af76725#diff-99e087f6c795d91b5c4d4362fc9dc1ff

and my patch is almost same with you listed:

diff --git a/shared/n-dhcp4/src/n-dhcp4-c-probe.c 
b/shared/n-dhcp4/src/n-dhcp4-c-probe.c

index 308cff8..6522dda 100644
--- a/shared/n-dhcp4/src/n-dhcp4-c-probe.c
+++ b/shared/n-dhcp4/src/n-dhcp4-c-probe.c
@@ -362,8 +362,9 @@ static void 
n_dhcp4_client_probe_config_initialize_random_seed(NDhcp4ClientProbe

 seed16v[1] = (u64 >> 16) ^ (u64 >>  0);
 seed16v[2] = (u64 >> 32) ^ (u64 >> 16);

-    r = seed48_r(seed16v, >entropy);
-    c_assert(!r);
+    config->entropy[0] = seed16v[0];
+    config->entropy[1] = seed16v[1];
+    config->entropy[2] = seed16v[2];
 }

 /**
@@ -377,10 +378,8 @@ static void 
n_dhcp4_client_probe_config_initialize_random_seed(NDhcp4ClientProbe

  */
 uint32_t 
n_dhcp4_client_probe_config_get_random(NDhcp4ClientProbeConfig *config) {

 long int result;
-    int r;

-    r = mrand48_r(>entropy, );
-    c_assert(!r);
+    result = jrand48(config->entropy);

 return result;
 };
diff --git a/shared/n-dhcp4/src/n-dhcp4-private.h 
b/shared/n-dhcp4/src/n-dhcp4-private.h

index c38ddbf..a12af7a 100644
--- a/shared/n-dhcp4/src/n-dhcp4-private.h
+++ b/shared/n-dhcp4/src/n-dhcp4-private.h
@@ -259,7 +259,7 @@ struct NDhcp4ClientProbeConfig {
 bool inform_only;
 bool init_reboot;
 struct in_addr requested_ip;
-    struct drand48_data entropy;    /* entropy pool */
+    unsigned short entropy[3];    /* entropy pool */
 uint64_t ms_start_delay;    /* max ms to wait before 
starting probe */

 NDhcp4ClientProbeOption *options[UINT8_MAX + 1];
 int8_t request_parameters[UINT8_MAX + 1];


Regards,
Kai






Regards,
Kai



there are container distros using musl so we
have a wide
list of packages which work well with musl, and this list is always
increasing, so I
would refrain from pushing musl to a narrow usecase

AFAIK OE is the only distribution trying to build software like systemd
or networkmanager with musl, and container distros optimized for size
are only supporting smaller alternatives.

cu
Adrian


--
Kai Kang



--
Kai Kang

--
_

Re: [oe] [meta-networking][RFC PATCH 0/1] Failed to compile networkmanager with musl

2019-08-28 Thread Kang Kai

On 2019/8/29 上午5:40, Adrian Bunk wrote:

On Wed, Aug 28, 2019 at 01:32:52PM -0700, Khem Raj wrote:

On Wed, Aug 28, 2019 at 12:56 PM Adrian Bunk  wrote:

On Wed, Aug 28, 2019 at 11:53:27AM -0700, Khem Raj wrote:

On Wed, Aug 28, 2019 at 11:06 AM Adrian Bunk  wrote:

What about marking networkmanager as incompatible with musl instead of
maintaining an ever-growing mess?


if the fix is specifically done for musl alone then I would agree, but
in many cases, the fixes
have been cleaning up assumptions in kernel UAPI headers on glibc
provided headers
which is a good thing, and it does take some time for kernel header
changes to flow upstream
but eventually, they do. e.g. see [1]

This is not a cleanup, this is a workaround for a misfeature of musl.

The kernel userspace headers are the userspace ABI of the kernel for
usage by all C libraries provided in one place, they are not tied to
any specific C library.

musl upstream does not even try to use the kernel userspace headers.

The kernel userspace headers used to be a mess, but after more than 10
years of cleanup there is no excuse for musl to insist on providing own
definitions of what is already provided by the kernel headers.

I was citing an example, you might have good feedback maybe bring it up
upstream with musl or

musl upstream says the patched kernel-headers package from sabotage
linux should be used:
   https://wiki.musl-libc.org/faq.html#Q:-Why-am-I-getting-


There has been a patch of networkmanger for the headers issue. And I 
update it then this problem gone.






...

There is a benefit of a small C library when your flash space is
single-digit megabytes, but maintaining plenty of not upstreamable
OE-only patches for using networkmanager on musl without a sane
usecase is a waste of effort.

I have said it before as well, I will say it again if we can improve an upstream
packages portability that itself is a good thing, but we should not go overboard
if its too much of work.

Networkmanager doesn't aim at portability and is too much work.


Yes, another following issue is that NetworkManger uses non-posix 
portable functions mrand48_r() and struct drand48_data. musl doesn't 
recognize them.
After adapt to posix functions jrand48(), it segment fault when startup. 
(The point of segment fault is far from my patch). Still working on it. :(


Regards,
Kai





there are container distros using musl so we
have a wide
list of packages which work well with musl, and this list is always
increasing, so I
would refrain from pushing musl to a narrow usecase

AFAIK OE is the only distribution trying to build software like systemd
or networkmanager with musl, and container distros optimized for size
are only supporting smaller alternatives.

cu
Adrian



--
Kai Kang

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


Re: [oe] [meta-networking][RFC PATCH 0/1] Failed to compile networkmanager with musl

2019-08-28 Thread Kang Kai

On 2019/8/28 下午8:33, Bruce Ashfield wrote:

On Wed, Aug 28, 2019 at 12:27 AM Khem Raj  wrote:

On Tue, Aug 27, 2019 at 8:43 PM  wrote:

From: Kai Kang 

Hi Khem,

I am updating networkmanager to 1.20. But I meet a problem with musl
that "error: redefinition of 'struct ethhdr'". I find a patch for kernel
which is created in Jan 2018. The musl part has been merged in musl:

commit b583c5d3b4cc2c54c68eef5eb7855ecfacee8bfc
Author: Hauke Mehrtens 
Date:   Sat Jan 6 23:32:52 2018 +0100

 add additional uapi guards for Linux kernel header files

 With Linux kernel 4.16 it will be possible to guard more parts of the
 Linux header files from a libc. Make use of this in musl to guard all
 the structures and other definitions from the Linux header files which
 are also defined by the header files provided by musl. This will make
 it possible to compile source files which include both the libc
 headers and the kernel userspace headers.

 This extends the definitions done in commit 04983f227238 ("make
 netinet/in.h suppress clashing definitions from kernel headers")

But the kernel part doesn't exist in current kernel source.
It should not be networkmanager specified.

Do you have any suggestion to fix this error? Thanks.

the kernel patch should be applied to linux-libc-headers

.. and please wait a day or so before sending it, since I'm about to
bump the reference headers to 5.2


It seems musl's fault that there is already a patch for the header 
files. I update the patch and can fix this issue. If no big change

in linux headers 5.2, then networkmanger 1.20 won't be affected.

Thanks.

Kai





Cheers,

Bruce



PS: detailed error messages:

x86_64-poky-linux-musl-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse 
-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security 
-Werror=format-security 
--sysroot=/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot
 -Isrc/25a6634@@NetworkManager@sta -Isrc -I../NetworkManager-1.20.0/src 
-Ilibnm-core -I../NetworkManager-1.20.0/libnm-core -I. 
-I../NetworkManager-1.20.0/ -Ishared -I../NetworkManager-1.20.0/shared 
-I../NetworkManager-1.20.0/shared/systemd/sd-adapt-shared 
-I../NetworkManager-1.20.0/shared/systemd/src/basic 
-I../NetworkManager-1.20.0/shared/systemd/src/shared 
-I/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot/usr/include/gio-unix-2.0
 
-I/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot/usr/include/glib-2.0
 -I/home/kkang/buildare

  
a/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot/usr/lib/glib-2.0/include
 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 
-fdata-sections -ffunction-sections -O2 -g -feliminate-unused-debug-types 
-fmacro-prefix-map=/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0=/usr/src/debug/networkmanager/1.20.0-r0
 
-fdebug-prefix-map=/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0=/usr/src/debug/networkmanager/1.20.0-r0
 
-fdebug-prefix-map=/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot=
 
-fdebug-prefix-map=/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot-native=
 -DRTLD_DEEPBIND=0 -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 
-DGLIB_VE
  RSION_MAX_ALLOWED=GLIB_VERSION_2_40 
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_DAEMON -MD -MQ 
'src/25a6634@@NetworkManager@sta/devices_nm-device.c.o' -MF 
'src/25a6634@@NetworkManager@sta/devices_nm-device.c.o.d' -o 
'src/25a6634@@NetworkManager@sta/devices_nm-device.c.o' -c 
../NetworkManager-1.20.0/src/devices/nm-device.c

In file included from 
/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot/usr/include/net/ethernet.h:10,
  from 
../NetworkManager-1.20.0/src/systemd/src/systemd/sd-dhcp-client.h:23,
  from ../NetworkManager-1.20.0/src/systemd/nm-sd.h:21,
  from ../NetworkManager-1.20.0/src/devices/nm-device.c:76:
/home/kkang/buildarea/222-Yocto/build-xfce-x86-64/tmp/work/core2-64-poky-linux-musl/networkmanager/1.20.0-r0/recipe-sysroot/usr/include/netinet/if_ether.h:111:8:
 error: redefinition of 'struct ethhdr'
   111 | struct ethhdr {
   |^~
In file included from ../NetworkManager-1.20.0/libnm-core/nm-utils.h:32,
  from 
../NetworkManager-1.20.0/libnm-core/nm-setting-ip-config.h:29,
  from ../NetworkManager-1.20.0/src/NetworkManagerUtils.h:26,
  from 

Re: [oe] [meta-xfce][Patch] xfce4-datetime-setter: fix compile error and requires distro feature x11

2019-08-26 Thread Kang Kai

On 2019/8/27 上午9:37, Khem Raj wrote:



On Mon, Aug 26, 2019 at 6:11 PM Kang Kai <mailto:kai.k...@windriver.com>> wrote:


On 2019/8/24 上午4:45, Andreas Müller wrote:
> On Fri, Aug 23, 2019 at 10:38 PM Andreas Müller
mailto:schnitzelt...@gmail.com>> wrote:
>> On Fri, Aug 23, 2019 at 3:59 AM Kang Kai
mailto:kai.k...@windriver.com>> wrote:
>>> On 2019/8/16 下午3:12, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:
>>>> From: Kai Kang mailto:kai.k...@windriver.com>>
>>>>
>>>> It fails to compile xfce4-datetime-setter occasionally when
system load
>>>> is high:
>>>>
>>>> | ../git/xfce/main.c:42:10: fatal error:
cc-datetime-resources.h: No such file or directory
>>>> |    42 | #include "cc-datetime-resources.h"
>>>> |       | ^
>>>> | compilation terminated.
>>>>
>>>> Update datetime_panel_dep to make sure cc-datetime-resources.h be
>>>> generated before including.
>>> Hi Andreas,
>>>
>>> Any comment on this patch please? And I also sent a pull
request on github.
>>>
>>> Regards,
>>> Kai
>>>
>>>
>>>> xfce4-datetime-setter depends on libxfce4ui which requires distro
>>>> feature 'x11', so make it require 'x11' too.
>>>>
>>>> Signed-off-by: Kai Kang mailto:kai.k...@windriver.com>>
>>>> ---
>>>>    .../files/fix-inner-dependency.patch       | 28
+++
>>>>    .../xfce4-datetime-setter_3.32.2.bb
<http://xfce4-datetime-setter_3.32.2.bb>          |  7 +++--
>>>>    2 files changed, 33 insertions(+), 2 deletions(-)
>>>>    create mode 100644

meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>>>>
>>>> diff --git

a/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch

b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>>>> new file mode 100644
>>>> index 0..9cccb892f
>>>> --- /dev/null
>>>> +++

b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>>>> @@ -0,0 +1,28 @@
>>>> +It fails to compile xfce4-datetime-setter occasionally when
system load is high:
>>>> +
>>>> +| ../git/xfce/main.c:42:10: fatal error:
cc-datetime-resources.h: No such file or directory
>>>> +|    42 | #include "cc-datetime-resources.h"
>>>> +|       | ^
>>>> +| compilation terminated.
>>>> +
>>>> +Update datetime_panel_dep to make sure
cc-datetime-resources.h be generated
>>>> +before including.
>>>> +
>>>> +Upstream-Status: Submitted
[https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
>>>> +
>>>> +Signed-off-by: Kai Kang mailto:kai.k...@windriver.com>>
>>>> +---
>>>> +diff --git a/panels/datetime/meson.build
b/panels/datetime/meson.build
>>>> +index c5bf39c..241e177 100644
>>>> +--- a/panels/datetime/meson.build
>>>>  b/panels/datetime/meson.build
>>>> +@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
>>>> +
>>>> + datetime_panel_dep = declare_dependency(
>>>> +   include_directories: [ common_inc,
include_directories('.') ],
>>>> +-  link_with: datetime_panel_lib
>>>> ++  link_with: datetime_panel_lib,
>>>> ++  sources: resources
>>>> + )
>>>> +
>>>> + subdir('po-timezones')
>>>> diff --git

a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
<http://xfce4-datetime-setter_3.32.2.bb>

b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
<http://xfce4-datetime-setter_3.32.2.bb>
>>>> index d64358537..4d128ac51 100644
>>>> ---

a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
<http://xfce4-datetime-setter_3.32.2.bb>
>>>> +++

b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
<http://xfce4-datetime-setter_3.32.2.bb>
>>>> @@ -6,1

Re: [oe] [meta-xfce][Patch] xfce4-datetime-setter: fix compile error and requires distro feature x11

2019-08-26 Thread Kang Kai

On 2019/8/24 上午4:45, Andreas Müller wrote:

On Fri, Aug 23, 2019 at 10:38 PM Andreas Müller  wrote:

On Fri, Aug 23, 2019 at 3:59 AM Kang Kai  wrote:

On 2019/8/16 下午3:12, kai.k...@windriver.com wrote:

From: Kai Kang 

It fails to compile xfce4-datetime-setter occasionally when system load
is high:

| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file 
or directory
|42 | #include "cc-datetime-resources.h"
|   |  ^
| compilation terminated.

Update datetime_panel_dep to make sure cc-datetime-resources.h be
generated before including.

Hi Andreas,

Any comment on this patch please? And I also sent a pull request on github.

Regards,
Kai



xfce4-datetime-setter depends on libxfce4ui which requires distro
feature 'x11', so make it require 'x11' too.

Signed-off-by: Kai Kang 
---
   .../files/fix-inner-dependency.patch  | 28 +++
   .../xfce4-datetime-setter_3.32.2.bb   |  7 +++--
   2 files changed, 33 insertions(+), 2 deletions(-)
   create mode 100644 
meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch

diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
new file mode 100644
index 0..9cccb892f
--- /dev/null
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
@@ -0,0 +1,28 @@
+It fails to compile xfce4-datetime-setter occasionally when system load is 
high:
+
+| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file 
or directory
+|42 | #include "cc-datetime-resources.h"
+|   |  ^
+| compilation terminated.
+
+Update datetime_panel_dep to make sure cc-datetime-resources.h be generated
+before including.
+
+Upstream-Status: Submitted 
[https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
+index c5bf39c..241e177 100644
+--- a/panels/datetime/meson.build
 b/panels/datetime/meson.build
+@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
+
+ datetime_panel_dep = declare_dependency(
+   include_directories: [ common_inc, include_directories('.') ],
+-  link_with: datetime_panel_lib
++  link_with: datetime_panel_lib,
++  sources: resources
+ )
+
+ subdir('po-timezones')
diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
index d64358537..4d128ac51 100644
--- 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
@@ -6,13 +6,16 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=75859989545e37968a99b631ef42722e"

   DEPENDS = "glib-2.0-native libxfce4ui"

-SRC_URI = 
"git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https"
+SRC_URI = 
"git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https \
+   file://fix-inner-dependency.patch \
+"
   SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"

   S = "${WORKDIR}/git"

   inherit gettext meson distro_features_check
-REQUIRED_DISTRO_FEATURES = "systemd"
+
+REQUIRED_DISTRO_FEATURES = "systemd x11"

   FILES_${PN} += "${datadir}/icons/hicolor"


Woops I missed that completely - will check

Thanks! Did apply the patch


Hi Andreas,

Thanks.


Hi Khem,

Would you like to review this patch? Thanks.


Kai




Andreas



--
Kai Kang

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


Re: [oe] [meta-networking][PATCH] networkmanager: Upgrade 1.18.0 -> 1.18.2

2019-08-23 Thread Kang Kai

On 2019/8/23 下午4:32, Adrian Bunk wrote:

On Fri, Aug 23, 2019 at 04:12:25PM +0800, Kang Kai wrote:

On 2019/8/21 下午8:38, Adrian Bunk wrote:

Remove a generated file with always changing hash from LIC_FILES_CHKSUM.

Why not just upgrade to version 1.20.0 which is the latest major release?

I was just doing the low-effort upgrade on the same stable branch,
if you want to upgrade to 1.20 then go ahead.


OK.

Kai





Regards,
Kai

cu
Adrian



--
Kai Kang

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


Re: [oe] [meta-networking][PATCH] networkmanager: Upgrade 1.18.0 -> 1.18.2

2019-08-23 Thread Kang Kai

On 2019/8/21 下午8:38, Adrian Bunk wrote:

Remove a generated file with always changing hash from LIC_FILES_CHKSUM.


Why not just upgrade to version 1.20.0 which is the latest major release?

Regards,
Kai



Signed-off-by: Adrian Bunk 
---
  .../{networkmanager_1.18.0.bb => networkmanager_1.18.2.bb}   | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
  rename 
meta-networking/recipes-connectivity/networkmanager/{networkmanager_1.18.0.bb 
=> networkmanager_1.18.2.bb} (95%)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb
similarity index 95%
rename from 
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
rename to 
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb
index 9ce2d961d..b760a40c3 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.2.bb
@@ -5,7 +5,6 @@ SECTION = "net/misc"
  LICENSE = "GPLv2+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b \
  
file://libnm-util/COPYING;md5=1c4fa765d6eb3cd2fbd84344a1b816cd \
-
file://docs/api/html/license.html;md5=233931303ef80eded167add1f60a50c1 \
  "
  
  DEPENDS = " \

@@ -31,8 +30,8 @@ SRC_URI_append_libc-musl = " \
  file://musl/0001-Fix-build-with-musl-systemd-specific.patch \
  file://musl/0002-Fix-build-with-musl.patch \
  "
-SRC_URI[md5sum] = "c8c27116a8083bab5d5fcca0d03e988a"
-SRC_URI[sha256sum] = 
"c6e8df25e5a3c7309bc17664be8971689314884cdd08afdd6b0847d29d2a8ba6"
+SRC_URI[md5sum] = "ca1e6175c6ba97ca1adf65a67861ccd9"
+SRC_URI[sha256sum] = 
"4dd97ca974cd1f97990746527258f551f4257cbf011fecd01d10b7d74a6fa5c3"
  
  UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/NetworkManager/1.16/"

  UPSTREAM_CHECK_REGEX = "NetworkManager\-(?P1\.10(\.\d+)+).tar.xz"



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch] xfce4-datetime-setter: fix compile error and requires distro feature x11

2019-08-22 Thread Kang Kai

On 2019/8/16 下午3:12, kai.k...@windriver.com wrote:

From: Kai Kang 

It fails to compile xfce4-datetime-setter occasionally when system load
is high:

| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file 
or directory
|42 | #include "cc-datetime-resources.h"
|   |  ^
| compilation terminated.

Update datetime_panel_dep to make sure cc-datetime-resources.h be
generated before including.


Hi Andreas,

Any comment on this patch please? And I also sent a pull request on github.

Regards,
Kai




xfce4-datetime-setter depends on libxfce4ui which requires distro
feature 'x11', so make it require 'x11' too.

Signed-off-by: Kai Kang 
---
  .../files/fix-inner-dependency.patch  | 28 +++
  .../xfce4-datetime-setter_3.32.2.bb   |  7 +++--
  2 files changed, 33 insertions(+), 2 deletions(-)
  create mode 100644 
meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch

diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
new file mode 100644
index 0..9cccb892f
--- /dev/null
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
@@ -0,0 +1,28 @@
+It fails to compile xfce4-datetime-setter occasionally when system load is 
high:
+
+| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file 
or directory
+|42 | #include "cc-datetime-resources.h"
+|   |  ^
+| compilation terminated.
+
+Update datetime_panel_dep to make sure cc-datetime-resources.h be generated
+before including.
+
+Upstream-Status: Submitted 
[https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
+index c5bf39c..241e177 100644
+--- a/panels/datetime/meson.build
 b/panels/datetime/meson.build
+@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
+
+ datetime_panel_dep = declare_dependency(
+   include_directories: [ common_inc, include_directories('.') ],
+-  link_with: datetime_panel_lib
++  link_with: datetime_panel_lib,
++  sources: resources
+ )
+
+ subdir('po-timezones')
diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
index d64358537..4d128ac51 100644
--- 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
@@ -6,13 +6,16 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=75859989545e37968a99b631ef42722e"
  
  DEPENDS = "glib-2.0-native libxfce4ui"
  
-SRC_URI = "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https"

+SRC_URI = 
"git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https \
+   file://fix-inner-dependency.patch \
+"
  SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
  
  S = "${WORKDIR}/git"
  
  inherit gettext meson distro_features_check

-REQUIRED_DISTRO_FEATURES = "systemd"
+
+REQUIRED_DISTRO_FEATURES = "systemd x11"
  
  FILES_${PN} += "${datadir}/icons/hicolor"
  



--
Kai Kang

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


Re: [oe] [meta-networking][PATCH] networkmanager: Use ALTERNATIVES for resolv-conf handling.

2019-08-20 Thread Kang Kai

On 2019/7/20 上午3:58, drew.mose...@northern.tech wrote:

From: Drew Moseley 

This brings the networkmanager in sync with how systemd-resolved and connman
work. Additionally this allows it to function with a read-only rootFS.

Signed-off-by: Drew Moseley 
---
  .../networkmanager/networkmanager_1.18.0.bb  | 12 +++-
  1 file changed, 11 insertions(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
index 21fbea9c1..037566783 100644
--- 
a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
+++ 
b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
@@ -20,7 +20,7 @@ DEPENDS = " \
  curl \
  "
  
-inherit gnomebase gettext systemd bash-completion vala gobject-introspection gtk-doc

+inherit gnomebase gettext systemd bash-completion vala gobject-introspection 
gtk-doc update-alternatives
  
  SRC_URI = " \

  
${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz
 \
@@ -141,6 +141,16 @@ FILES_${PN}-nmtui-doc = " \
  
  SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'NetworkManager.service NetworkManager-dispatcher.service', '', d)}"
  
+ALTERNATIVE_PRIORITY = "100"

+ALTERNATIVE_${PN} = 
"${@bb.utils.contains('DISTRO_FEATURES','systemd','resolv-conf','',d)}"
+ALTERNATIVE_TARGET[resolv-conf] = 
"${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv-conf.NetworkManager','',d)}"
+ALTERNATIVE_LINK_NAME[resolv-conf] = 
"${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv.conf','',d)}"
+
  do_install_append() {
  rm -rf ${D}/run ${D}${localstatedir}/run
+
+# For read-only filesystem, do not create links during bootup
+if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; 
then
+ln -sf ../run/NetworkManager/resolv.conf 
${D}${sysconfdir}/resolv-conf.NetworkManager
+fi
  }


Hi Drew,

After apply your patch, I meet a error with systemd init manager that 
/etc/resolv.conf is a mangling link file:


root@qemux86-64:~# ls -l /etc/resolv*
lrwxrwxrwx    1 root root    33 Aug 20 03:22 
/etc/resolv-conf.NetworkManager -> ../run/NetworkManager/resolv.conf
lrwxrwxrwx    1 root root    34 Aug 15 06:14 
/etc/resolv-conf.systemd -> ../run/systemd/resolve/resolv.conf
lrwxrwxrwx    1 root root    31 Aug 20 03:26 
/etc/resolv.conf -> /etc/resolv-conf.NetworkManager

root@qemux86-64:~# cat /etc/resolv.conf
cat: can't open '/etc/resolv.conf': No such file or directory

There is no /run/NetworkManager/resolv.conf actually. What's the 
behavior in your environment?



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH][v2 02/10] xfce4-battery-plugin: 1.1.2 -> 1.1.3

2019-08-19 Thread Kang Kai

On 2019/8/19 下午3:25, Andreas Müller wrote:

Minor bugfix & translation update release


Acknowledge with this series patches.

Acked-by: Kai Kang 


Regards,
Kai




Signed-off-by: Andreas Müller 
---
V2: Fix typo in commit message - have to learn to write 'bugfix' correctly
  ...attery-plugin_1.1.2.bb => xfce4-battery-plugin_1.1.3.bb} | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta-xfce/recipes-panel-plugins/battery/{xfce4-battery-plugin_1.1.2.bb 
=> xfce4-battery-plugin_1.1.3.bb} (47%)

diff --git 
a/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb 
b/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
similarity index 47%
rename from 
meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb
rename to meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
index 5de1ce5e0..ecbdc265e 100644
--- a/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb
+++ b/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
@@ -1,9 +1,9 @@
  SUMMARY = "A battery monitor panel plugin for Xfce4, compatible with APM and 
ACP"
-HOMEPAGE = 
"http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin;
+HOMEPAGE = 
"https://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin;
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
  
  inherit xfce-panel-plugin
  
-SRC_URI[md5sum] = "ba1cfe619046373f9af5b903c77d1858"

-SRC_URI[sha256sum] = 
"d601349fa9a979dae99ace39b24d99b97f62b80f42ac5dea5a99e5af3e88d7db"
+SRC_URI[md5sum] = "9f82c7e77de0a417716d68d33367973b"
+SRC_URI[sha256sum] = 
"12be0a44d16bd1e1618513ee64f946814925872db7d1c1188ab1454b00d040a3"



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH 08/10] xfce4-fsguard-plugin: upgrade 1.1.0 -> 1.1.1

2019-08-18 Thread Kang Kai

On 2019/8/19 上午6:33, Andreas Müller wrote:

Announcement says it is a translation-updates-only-release but it seems they
changed licence either.


It seems it intend to be BSD licence but see as GPLv3 wrongly by 
autotools before and fixed in this release.
See 
https://git.xfce.org/panel-plugins/xfce4-fsguard-plugin/commit/COPYING?id=7e437c26fcfe82f0a54656655c1e879570c632ed


Regards,
Kai




Signed-off-by: Andreas Müller 
---
  ...d-plugin_1.1.0.bb => xfce4-fsguard-plugin_1.1.1.bb} | 10 +-
  1 file changed, 5 insertions(+), 5 deletions(-)
  rename meta-xfce/recipes-panel-plugins/fsguard/{xfce4-fsguard-plugin_1.1.0.bb 
=> xfce4-fsguard-plugin_1.1.1.bb} (33%)

diff --git 
a/meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.0.bb 
b/meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.1.bb
similarity index 33%
rename from 
meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.0.bb
rename to meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.1.bb
index 8b924ac75..183d521af 100644
--- a/meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.0.bb
+++ b/meta-xfce/recipes-panel-plugins/fsguard/xfce4-fsguard-plugin_1.1.1.bb
@@ -1,9 +1,9 @@
  DESCRIPTION = "The FSGuard panel plugin checks free space on a chosen mount point 
frequently and displays a message when a limit is reached"
-HOMEPAGE = 

Re: [oe] [meta-xfce][PATCH 02/10] xfce4-battery-plugin: 1.1.2 -> 1.1.3

2019-08-18 Thread Kang Kai

On 2019/8/19 上午6:33, Andreas Müller wrote:

Minor bugfixe & translation update release


Typo here. Other is fine with me.

Regards,
Kai




Signed-off-by: Andreas Müller 
---
  ...attery-plugin_1.1.2.bb => xfce4-battery-plugin_1.1.3.bb} | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta-xfce/recipes-panel-plugins/battery/{xfce4-battery-plugin_1.1.2.bb 
=> xfce4-battery-plugin_1.1.3.bb} (47%)

diff --git 
a/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb 
b/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
similarity index 47%
rename from 
meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb
rename to meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
index 5de1ce5e0..ecbdc265e 100644
--- a/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.2.bb
+++ b/meta-xfce/recipes-panel-plugins/battery/xfce4-battery-plugin_1.1.3.bb
@@ -1,9 +1,9 @@
  SUMMARY = "A battery monitor panel plugin for Xfce4, compatible with APM and 
ACP"
-HOMEPAGE = 
"http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin;
+HOMEPAGE = 
"https://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin;
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
  
  inherit xfce-panel-plugin
  
-SRC_URI[md5sum] = "ba1cfe619046373f9af5b903c77d1858"

-SRC_URI[sha256sum] = 
"d601349fa9a979dae99ace39b24d99b97f62b80f42ac5dea5a99e5af3e88d7db"
+SRC_URI[md5sum] = "9f82c7e77de0a417716d68d33367973b"
+SRC_URI[sha256sum] = 
"12be0a44d16bd1e1618513ee64f946814925872db7d1c1188ab1454b00d040a3"



--
Kai Kang

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


Re: [oe] [PATCH 10/13] parole: upgrade 1.0.2 -> 1.0.4

2019-08-16 Thread Kang Kai

On 2019/8/16 上午5:56, Andreas Müller wrote:

Bufixe release


A typo here. Others are fine with me.

Acked-by: Kai Kang 

Regards,
Kai





Signed-off-by: Andreas Müller 
---
  .../parole/{parole_1.0.2.bb => parole_1.0.4.bb}   | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)
  rename meta-xfce/recipes-multimedia/parole/{parole_1.0.2.bb => 
parole_1.0.4.bb} (72%)

diff --git a/meta-xfce/recipes-multimedia/parole/parole_1.0.2.bb 
b/meta-xfce/recipes-multimedia/parole/parole_1.0.4.bb
similarity index 72%
rename from meta-xfce/recipes-multimedia/parole/parole_1.0.2.bb
rename to meta-xfce/recipes-multimedia/parole/parole_1.0.4.bb
index a286a5adb..68556a2ab 100644
--- a/meta-xfce/recipes-multimedia/parole/parole_1.0.2.bb
+++ b/meta-xfce/recipes-multimedia/parole/parole_1.0.4.bb
@@ -1,15 +1,12 @@
  DESCRIPTION = "Parole is a modern simple media player based on the GStreamer 
framework"
-HOMEPAGE = "http://goodies.xfce.org/projects/applications/parole;
+HOMEPAGE = "https://docs.xfce.org/apps/parole/start;
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
  
  inherit xfce-app gtk-doc mime
  
  DEPENDS += " \

-glib-2.0 \
  dbus-glib \
-gtk+3 \
-\
  xfce4-dev-tools-native \
  libxfce4util \
  libxfce4ui \
@@ -19,8 +16,8 @@ DEPENDS += " \
  taglib \
  "
  
-SRC_URI[md5sum] = "cd22ab579470c5728db0aa6c0b9d4c7d"

-SRC_URI[sha256sum] = 
"bff0fc846d0d7b8f435ac5514976f1cd1d82b62dbf1b7d470e253a5b439407da"
+SRC_URI[md5sum] = "c23621eb44df292f828e86074d4e719d"
+SRC_URI[sha256sum] = 
"e92b8ec369e53d921b47d2473c2e2a1e9e04d3c5d536d419abdff40e5e136dc1"
  
  RDEPENDS_${PN} += "gstreamer1.0-plugins-good"
  
@@ -31,6 +28,6 @@ PACKAGECONFIG[clutter] = "--enable-clutter, --disable-clutter, clutter"

  PACKAGECONFIG[notify] = "--enable-notify-plugin, --disable-notify-plugin, 
libnotify"
  
  FILES_${PN} += " \

-${datadir}/appdata \
+${datadir}/metainfo \
  ${libdir}/parole-0/*.so \
  "



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch 16/16] xfwm4: 4.13.3 -> 4.14.0

2019-08-13 Thread Kang Kai

On 2019/8/13 下午7:52, Andreas Müller wrote:

On Tue, Aug 13, 2019 at 11:24 AM  wrote:

From: Kai Kang 

Signed-off-by: Kai Kang 

Thanks!

Just checked versions against announcements: looks good. If I am not
mistaken Xfce4-screensaver is part of core XFCE - recent update is
missing here


I focused on the recipes in meta-xfce/recipes-xfce. OK, I'll update it.




There is a bunch of panel-plugin updates - shall I prepare a series
for them - or are you already working on them?


I have not begun to work on them. If you already begin, please go on.

Regards,
Kai




Andreas



--
Kai Kang

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


Re: [oe] [PATCH v2 1/2] xfce4-datetime-setter: add recipe

2019-08-08 Thread Kang Kai

On 2019/8/9 上午10:04, Khem Raj wrote:

On Thu, Aug 8, 2019 at 6:43 PM Kang Kai  wrote:

On 2019/8/9 上午5:52, Khem Raj wrote:

On Thu, Aug 8, 2019 at 2:33 AM  wrote:

From: Kai Kang 

Because xfce4-settings turn back to its official upstream, it missing
function to set date and time. Add it from Andreas's repo on github.
It depends on dbus service org.freedesktop.timedate1 which is provided
by systemd, so add systemd to RDEPENDS.

Signed-off-by: Kai Kang 
---
   .../xfce4-datetime-setter_3.32.2.bb| 18 ++
   1 file changed, 18 insertions(+)
   create mode 100644 
meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb

diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
new file mode 100644
index 0..7a28b6101
--- /dev/null
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "A fork of (early) gnome-control-center datetime panel for XFCE. 
\
+It is based upon GTK3 and embedds into recent xfce4-settings."
+HOMEPAGE = "https://github.com/schnitzeltony/xfce4-datetime-setter;
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+DEPENDS = "glib-2.0-native libxfce4ui"
+
+SRC_URI = 
"git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https"
+SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
+
+S = "${WORKDIR}/git"
+
+inherit gettext meson
+
+FILES_${PN} += "${datadir}/icons/hicolor"
+
+RDEPENDS_${PN} = "systemd tzdata"

On systemd-less systems it wont work

ERROR: Nothing RPROVIDES 'systemd' (but
/mnt/a/yoe/sources/meta-openembedded/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
RDEPENDS on or otherwise requires it)
systemd was skipped: missing required distro feature 'systemd' (not in
DISTRO_FEATURES)

It uses functions from dbus service org.freedesktop.timedate1 to set
time and date. Without this dbus service, xfce4-datetime-setter doesn't
work.
And this dbus service is provides by systemd. The alternative is to
require distro feature 'systemd'. But I think RRDEPENDS should be more
proper.

In such cases, it means the package is systemd specific and since we
can only have one init system for a distro this package
should be guarded with that distro feature as well. rdepends does not
know distro nuances.


OK. v3 will sent with respecting distro feature systemd.

Kai





Regards,
Kai



--
2.20.0


--
Kai Kang



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch 0/2] Add recipe of xfce4-datetime-setter

2019-08-08 Thread Kang Kai

On 2019/8/8 下午11:13, Khem Raj wrote:


On 8/8/19 2:00 AM, Kang Kai wrote:

On 2019/8/7 下午10:02, Andreas Müller wrote:

On Wed, Aug 7, 2019 at 7:18 AM  wrote:

From: Kai Kang 

Hi Andreas,

I add recipe of xfce4-datetime-setter which is from your repo from
github. But I found it requires dbus service org.freedesktop.timedate1
which is from systemd. So make xfce4-settings requires it only when
init manger
is sytemd. Any comment on that please?

Regards,
Kai

Hi Kai,

* had short glance on your patches: they look good to me. In the
'old-days' when datetime-setter was part of xfce-settings, there was a
packageconfig for it. That was enabled if systemd was in distro
features - so your suggestion should behave same.

It reminds me that it is better to check distro systemd for
xfce4-datetime-setter. v2 will be sent.



* thanks for taking care for meta-xfce for very long time now

My pleasure.



* would anybody complain making you maintainer of meta-xfce?

It will be my honor if I have chance to take more responsibility and
contribute more to oe community.

Thanks for stepping up. It would be good if you can start looking at all
the meta-xfce patches, review them and send acks on mailing list, I
would look out for those, and eventually prepare a pull request for all
meta-xfce patches to be merged.


OK. I'll begin to do this work. Thanks.

Kai.





Thanks,
Kai


Regards


Andreas



--
Kai Kang

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


Re: [oe] [PATCH v2 1/2] xfce4-datetime-setter: add recipe

2019-08-08 Thread Kang Kai

On 2019/8/9 上午5:52, Khem Raj wrote:

On Thu, Aug 8, 2019 at 2:33 AM  wrote:

From: Kai Kang 

Because xfce4-settings turn back to its official upstream, it missing
function to set date and time. Add it from Andreas's repo on github.
It depends on dbus service org.freedesktop.timedate1 which is provided
by systemd, so add systemd to RDEPENDS.

Signed-off-by: Kai Kang 
---
  .../xfce4-datetime-setter_3.32.2.bb| 18 ++
  1 file changed, 18 insertions(+)
  create mode 100644 
meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb

diff --git 
a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
new file mode 100644
index 0..7a28b6101
--- /dev/null
+++ 
b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "A fork of (early) gnome-control-center datetime panel for XFCE. 
\
+It is based upon GTK3 and embedds into recent xfce4-settings."
+HOMEPAGE = "https://github.com/schnitzeltony/xfce4-datetime-setter;
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+DEPENDS = "glib-2.0-native libxfce4ui"
+
+SRC_URI = 
"git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https"
+SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
+
+S = "${WORKDIR}/git"
+
+inherit gettext meson
+
+FILES_${PN} += "${datadir}/icons/hicolor"
+
+RDEPENDS_${PN} = "systemd tzdata"

On systemd-less systems it wont work

ERROR: Nothing RPROVIDES 'systemd' (but
/mnt/a/yoe/sources/meta-openembedded/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
RDEPENDS on or otherwise requires it)
systemd was skipped: missing required distro feature 'systemd' (not in
DISTRO_FEATURES)


It uses functions from dbus service org.freedesktop.timedate1 to set 
time and date. Without this dbus service, xfce4-datetime-setter doesn't 
work.
And this dbus service is provides by systemd. The alternative is to 
require distro feature 'systemd'. But I think RRDEPENDS should be more 
proper.


Regards,
Kai



--
2.20.0



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch 0/2] Add recipe of xfce4-datetime-setter

2019-08-08 Thread Kang Kai

On 2019/8/7 下午10:02, Andreas Müller wrote:

On Wed, Aug 7, 2019 at 7:18 AM  wrote:

From: Kai Kang 

Hi Andreas,

I add recipe of xfce4-datetime-setter which is from your repo from
github. But I found it requires dbus service org.freedesktop.timedate1
which is from systemd. So make xfce4-settings requires it only when init manger
is sytemd. Any comment on that please?

Regards,
Kai

Hi Kai,

* had short glance on your patches: they look good to me. In the
'old-days' when datetime-setter was part of xfce-settings, there was a
packageconfig for it. That was enabled if systemd was in distro
features - so your suggestion should behave same.


It reminds me that it is better to check distro systemd for 
xfce4-datetime-setter. v2 will be sent.




* thanks for taking care for meta-xfce for very long time now


My pleasure.



* would anybody complain making you maintainer of meta-xfce?


It will be my honor if I have chance to take more responsibility and 
contribute more to oe community.


Thanks,
Kai



Regards


Andreas



--
Kai Kang

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


Re: [oe] [meta-oe][PATCH] poppler: 0.75.0 -> 0.79.0

2019-07-31 Thread Kang Kai

On 2019/7/31 下午2:33, Adrian Bunk wrote:

On Wed, Jul 31, 2019 at 02:11:07AM -0400, kai.k...@windriver.com wrote:

From: Kai Kang 

Update poppler from 0.75.0 to 0.79.0:

* remove patch which has been fixed in upstream

The upgrade was already sent and is now on master-next
(submitted by Randy MacLeod).


* correct the way to toggle gobject-introspect support respect to
   variable GI_DATA_ENABLED
...

Looks good to me, can you submit just this on top of master-next?


OK. Got it.

Regards,
Kai




cu
Adrian



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch 00/11] Upgrade to xfce 4.14 pre2

2019-07-11 Thread Kang Kai

On 2019/7/2 下午3:47, Andreas Müller wrote:

On Tue, Jul 2, 2019 at 3:29 AM  wrote:

From: Kai Kang 

Upgrade core packages of xfce to 4.14pre2

Kai Kang (11):
   thunar: 1.8.6 -> 1.8.7
   exo: 0.12.5 -> 0.12.6
   garcon: 0.6.2 -> 0.6.3
   thunar-volman: 0.9.2 -> 0.9.3
   xfce4-dev-tools: 4.12.0 -> 4.13.0
   xfce4-panel: 4.13.5 -> 4.13.6
   xfce4-power-manager: 1.6.2 -> 1.6.3
   xfce4-session: 4.13.2 -> 4.13.3
   xfdesktop: 4.13.4 -> 4.13.5
   xfwm4: 4.13.2 -> 4.13.3
   xfconf: 4.13.7 -> 4.13.8

First of all thanks for taking care. One suggestion/wish: Could you
please update xfce4-settings to latest upstream and move away from my
fork?

Background: The fork I created added two functionalities:
* Optionally hide mouse pointer for certain pointer devices. This
stopped working anyway (and was problematic for Qt application from
the beginning)
* Datetime-setter: I created a new project for that based on GTK3 [1].
It is not quite finished but I use it frequently and am happy to have
it (e.g on machines without RTC backup and missing network). So if
somebody wants this either it could be added later.

Unfortunately I have no time to do this myself.


Hi Khem,

Upgrade xfce4-settings doesn't bock this series update. Would you like 
to merge them? Thanks.



Kai




Thanks

Andreas



--
Kai Kang

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


Re: [oe] [PATCH] libvncserver: update to latest commit 1354f7f

2019-07-09 Thread Kang Kai

On 2019/7/10 上午11:14, Khem Raj wrote:

On Tue, Jul 9, 2019 at 7:35 PM  wrote:

From: Kai Kang 

Update libvncserver to latest git commit 1354f7f which could help to fix
do_package error when multilib is enabled:

| Files/directories were installed but not shipped in any package:
|   /usr/lib/libvncclient.so.0.9.12
|   /usr/lib/libvncclient.so.1
|   /usr/lib/libvncclient.so
|   /usr/lib/libvncserver.so.0.9.12
|   /usr/lib/libvncserver.so.1
|   /usr/lib/libvncserver.so
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/libvncserver.pc
|   /usr/lib/pkgconfig/libvncclient.pc

Rename recipe name from _git.bb to _${version}.bb as well.

Signed-off-by: Kai Kang 
---
  .../{libvncserver_git.bb => libvncserver_0.9.12.bb}   | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
  rename meta-oe/recipes-graphics/libvncserver/{libvncserver_git.bb => 
libvncserver_0.9.12.bb} (92%)

diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb 
b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb
similarity index 92%
rename from meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
rename to meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb
index bc47a3f15..683a29f94 100644
--- a/meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
+++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb
@@ -31,7 +31,9 @@ FILES_libvncclient = "${libdir}/libvncclient.*"
  inherit cmake

  SRC_URI = "git://github.com/LibVNC/libvncserver"
-SRCREV = "c0a23857a5c42b45b6d22ccf7218becd1fa69402"
+SRCREV = "1354f7f1bb6962dab209eddb9d6aac1f03408110"
  PV = "0.9.12+git${SRCPV}"

now that PV is set in recipe name you might want to turn this into

PV .= "+git{SRCPV}"


OK. V2 will be sent.

Regards,
Kai



  S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}"
--
2.20.0

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



--
Kai Kang

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


Re: [oe] [meta-xfce][Patch 00/11] Upgrade to xfce 4.14 pre2

2019-07-03 Thread Kang Kai

On 2019/7/2 下午3:47, Andreas Müller wrote:

On Tue, Jul 2, 2019 at 3:29 AM  wrote:

From: Kai Kang 

Upgrade core packages of xfce to 4.14pre2

Kai Kang (11):
   thunar: 1.8.6 -> 1.8.7
   exo: 0.12.5 -> 0.12.6
   garcon: 0.6.2 -> 0.6.3
   thunar-volman: 0.9.2 -> 0.9.3
   xfce4-dev-tools: 4.12.0 -> 4.13.0
   xfce4-panel: 4.13.5 -> 4.13.6
   xfce4-power-manager: 1.6.2 -> 1.6.3
   xfce4-session: 4.13.2 -> 4.13.3
   xfdesktop: 4.13.4 -> 4.13.5
   xfwm4: 4.13.2 -> 4.13.3
   xfconf: 4.13.7 -> 4.13.8

First of all thanks for taking care. One suggestion/wish: Could you
please update xfce4-settings to latest upstream and move away from my
fork?

Background: The fork I created added two functionalities:
* Optionally hide mouse pointer for certain pointer devices. This
stopped working anyway (and was problematic for Qt application from
the beginning)
* Datetime-setter: I created a new project for that based on GTK3 [1].
It is not quite finished but I use it frequently and am happy to have
it (e.g on machines without RTC backup and missing network). So if
somebody wants this either it could be added later.


That's why I didn't upgrade xfce4-settings. I didn't find a replacement 
of 'Datetime-setter'.  OK then, I'll upgrade it to

latest upstream without 'Datetime-setter' for now.

Regards,
Kai




Unfortunately I have no time to do this myself.

Thanks

Andreas



--
Kai Kang

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


Re: [oe] [meta-xfce][PATCH 00/10] Update recipes in meta-xfce

2019-06-09 Thread Kang Kai

On 2019/6/3 上午4:23, akuster808 wrote:


On 5/31/19 1:44 AM, kai.k...@windriver.com wrote:

From: Kai Kang 


Kai Kang (10):
   thunar: 1.8.4 -> 1.8.6
   xfdesktop: 4.13.3 -> 4.13.4
   xfce4-panel: 4.13.4 -> 4.13.5
   thunar-volman: 0.9.1 -> 0.9.2
   xfce4-appfinder: 4.13.2 -> 4.13.3
   libxfce4util: 4.13.2 -> 4.13.3
   xfwm4: 4.13.1 -> 4.13.2
   xfconf: 4.13.6 -> 4.13.7
   libxfce4ui: 4.13.4 -> 4.13.5
   xfce4-power-manager: 1.6.1 -> 1.6.2

Are these bug fix only updates for possible Warrior backport?


Most of they are not only bug fix updates, but also updates for next 
xfce release 4.14 except:


1. thunar-volman: only i18n updates
2. libxfce4util: bug fix and i18n updates

Regards,
Kai




- armin

  .../{libxfce4ui_4.13.4.bb => libxfce4ui_4.13.5.bb}  | 4 ++--
  .../{libxfce4util_4.13.2.bb => libxfce4util_4.13.3.bb}  | 4 ++--
  .../{thunar-volman_0.9.1.bb => thunar-volman_0.9.2.bb}  | 4 ++--
  .../thunar/{thunar_1.8.4.bb => thunar_1.8.6.bb} | 4 ++--
  ...{xfce4-appfinder_4.13.2.bb => xfce4-appfinder_4.13.3.bb} | 4 ++--
  .../{xfce4-panel_4.13.4.bb => xfce4-panel_4.13.5.bb}| 4 ++--
  ...-power-manager_1.6.1.bb => xfce4-power-manager_1.6.2.bb} | 6 +++---
  .../xfconf/{xfconf_4.13.6.bb => xfconf_4.13.7.bb}   | 4 ++--
  .../xfdesktop/{xfdesktop_4.13.3.bb => xfdesktop_4.13.4.bb}  | 4 ++--
  .../recipes-xfce/xfwm4/{xfwm4_4.13.1.bb => xfwm4_4.13.2.bb} | 4 ++--
  10 files changed, 21 insertions(+), 21 deletions(-)
  rename meta-xfce/recipes-xfce/libxfce4ui/{libxfce4ui_4.13.4.bb => 
libxfce4ui_4.13.5.bb} (89%)
  rename meta-xfce/recipes-xfce/libxfce4util/{libxfce4util_4.13.2.bb => 
libxfce4util_4.13.3.bb} (64%)
  rename meta-xfce/recipes-xfce/thunar-volman/{thunar-volman_0.9.1.bb => 
thunar-volman_0.9.2.bb} (76%)
  rename meta-xfce/recipes-xfce/thunar/{thunar_1.8.4.bb => thunar_1.8.6.bb} 
(86%)
  rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.13.2.bb => 
xfce4-appfinder_4.13.3.bb} (69%)
  rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.13.4.bb => 
xfce4-panel_4.13.5.bb} (90%)
  rename meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_1.6.1.bb 
=> xfce4-power-manager_1.6.2.bb} (88%)
  rename meta-xfce/recipes-xfce/xfconf/{xfconf_4.13.6.bb => xfconf_4.13.7.bb} 
(82%)
  rename meta-xfce/recipes-xfce/xfdesktop/{xfdesktop_4.13.3.bb => 
xfdesktop_4.13.4.bb} (76%)
  rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.13.1.bb => xfwm4_4.13.2.bb} (89%)





--
Kai Kang

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


Re: [oe] [meta-gnome][Patch 1/2] libgtop: 2.38.0 -> 2.39.91

2019-03-15 Thread Kang Kai

On 2019/3/15 下午3:47, kai.k...@windriver.com wrote:

From: Kai Kang 

Update libgtop from 2.38.0 to 2.39.91.


Oops. Forgot  to update  commit message. V2 will be sent.

Kai




* reset LIBGTOP_LIBS to avoid compile errors which caused by host
   contamination
* inherit upstream-version-is-even to ensures that the upstream
   version check only accepts even minor(stable) versions.

Signed-off-by: Kai Kang 
---
  .../recipes-gnome/libgtop/libgtop_2.38.0.bb  | 13 -
  .../recipes-gnome/libgtop/libgtop_2.40.0.bb  | 16 
  2 files changed, 16 insertions(+), 13 deletions(-)
  delete mode 100644 meta-gnome/recipes-gnome/libgtop/libgtop_2.38.0.bb
  create mode 100644 meta-gnome/recipes-gnome/libgtop/libgtop_2.40.0.bb

diff --git a/meta-gnome/recipes-gnome/libgtop/libgtop_2.38.0.bb 
b/meta-gnome/recipes-gnome/libgtop/libgtop_2.38.0.bb
deleted file mode 100644
index 494934fe7..0
--- a/meta-gnome/recipes-gnome/libgtop/libgtop_2.38.0.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-SUMMARY = "LibGTop2"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-
-inherit gnomebase lib_package gtk-doc distro_features_check 
gobject-introspection gettext
-
-# depends on libxau
-REQUIRED_DISTRO_FEATURES = "x11"
-
-SRC_URI[archive.md5sum] = "bb0ce7de6b28694b40405eedac8a31b5"
-SRC_URI[archive.sha256sum] = 
"4f6c0e62bb438abfd16b4559cd2eca0251de19e291c888cdc4dc88e5ffebb612"
-
-DEPENDS = "glib-2.0 libxau"
diff --git a/meta-gnome/recipes-gnome/libgtop/libgtop_2.40.0.bb 
b/meta-gnome/recipes-gnome/libgtop/libgtop_2.40.0.bb
new file mode 100644
index 0..b594198a4
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libgtop/libgtop_2.40.0.bb
@@ -0,0 +1,16 @@
+SUMMARY = "LibGTop2"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
+
+inherit gnomebase lib_package gtk-doc gobject-introspection gettext 
upstream-version-is-even
+
+# depends on libxau
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
+
+SRC_URI[archive.md5sum] = "c6d67325cd97b2208b41e07e6cc7b947"
+SRC_URI[archive.sha256sum] = 
"78f3274c0c79c434c03655c1b35edf7b95ec0421430897fb1345a98a265ed2d4"
+
+DEPENDS = "glib-2.0 libxau"
+
+EXTRA_OEMAKE += "LIBGTOP_LIBS="



--
Kai Kang

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


Re: [oe] [meta-gnome][PATCH 3/5] gvfs: 1.39.1 -> 1.39.92

2019-03-08 Thread Kang Kai

On 2019/3/8 下午3:57, Andreas Müller wrote:

On Fri, Mar 8, 2019 at 2:33 AM  wrote:

From: Kai Kang 

Signed-off-by: Kai Kang 

I have overlooked your last update: Please don't update to unstable
gnome releases (odd version numbers) in the future. As far as I can
remember there were similar comments in oe-core already.

Andreas


Hi Andreas,

I searched for gnome version policy and got

https://developer.gnome.org/programming-guidelines/stable/versioning.html.en

Most GNOME modules follow a convention for stable and unstable releases. 
The minor version is even for stable releases and is odd for unstable 
releases. For example, the 3.20.* versions are stable, but the 3.19.* 
versions are unstable. The 3.19.* versions can be seen as alpha and beta 
releases of the 3.20 version.


Thanks for reminder.

--
Kai Kang

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


Re: [oe] [meta-oe][PATCH v2] leveldb: fix compile errors for mips with DEFAULTTUNE mips

2019-03-05 Thread Kang Kai

On 2019/3/6 下午1:31, Khem Raj wrote:

On Tue, Mar 5, 2019 at 9:16 PM Kang Kai  wrote:

On 2019/3/6 上午11:49, Khem Raj wrote:


On 3/5/19 7:39 PM, kai.k...@windriver.com wrote:

From: Kai Kang 

It fails to compile leveldb for qemumips with DEFAULTTUNE 'mips':

| {standard input}: Assembler messages:
| {standard input}:8004: Error: opcode not supported on this processor:
mips1 (mips1) `sync'
| {standard input}:10296: Error: opcode not supported on this processor:
mips1 (mips1) `sync'
| make: *** [out-shared/db/db_bench.o] Error 1

Asm instruction 'sync' is called in platform-specific function
MemoryBarrier() which is used by AtomicPointer(). Comment out the
definition of MemoryBarrier() for mips to avoid the errors. And turn to
use AtomicPointer() based on C++11 .

Signed-off-by: Kai Kang 
---
   ...fine-function-MemoryBarrier-for-mips.patch | 43 +++
   meta-oe/recipes-dbs/leveldb/leveldb_git.bb|  1 +
   2 files changed, 44 insertions(+)
   create mode 100644
meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch

diff --git
a/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch
b/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch

new file mode 100644
index 0..fc7743030
--- /dev/null
+++
b/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch
@@ -0,0 +1,43 @@
+It fails to compile leveldb for qemumips with default tune 'mips':
+
+| {standard input}: Assembler messages:
+| {standard input}:8004: Error: opcode not supported on this processor:
+  mips1 (mips1) `sync'
+| {standard input}:10296: Error: opcode not supported on this
processor:
+  mips1 (mips1) `sync'
+| make: *** [out-shared/db/db_bench.o] Error 1
+
+Asm instruction 'sync' is called in platform-specific function
+MemoryBarrier() which is used by AtomicPointer(). Comment out the
+definition of MemoryBarrier() for mips to avoid the errors. And turn to
+use AtomicPointer() based on C++11 .
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Kai Kang 
+
+---
+ port/atomic_pointer.h | 10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/port/atomic_pointer.h b/port/atomic_pointer.h
+index 1c4c7aa..7025ac3 100644
+--- a/port/atomic_pointer.h
 b/port/atomic_pointer.h
+@@ -113,11 +113,11 @@ inline void MemoryBarrier() {
+ #define LEVELDB_HAVE_MEMORY_BARRIER
+
+ // MIPS
+-#elif defined(ARCH_CPU_MIPS_FAMILY) && defined(__GNUC__)
+-inline void MemoryBarrier() {
+-  __asm__ __volatile__("sync" : : : "memory");
+-}
+-#define LEVELDB_HAVE_MEMORY_BARRIER
++//#elif defined(ARCH_CPU_MIPS_FAMILY) && defined(__GNUC__)
++//inline void MemoryBarrier() {
++//  __asm__ __volatile__("sync" : : : "memory");
++//}
++//#define LEVELDB_HAVE_MEMORY_BARRIER
+

this is punishing all mips o32 variants.

How about only apply the patch when DEFAULTTUNE is 'mips', such as
something looks like:

python ()  {

  if d.getVar('DEFAULTTUNE') == 'mips':

  d.appendVar('SRC_URI', '
file://do-not-define-function-MemoryBarrier-for-mips.patch')

}


None of these are as good as first patch. Ideally you should change
the defaulttune



But defaulttune could be overridden by user configure. Even could 
configure qemumips64 with defaulttune 'mips'.

I'll try to fix it from oe side based on first patch.

Kai






--
Kai Kang

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


Re: [oe] [meta-oe][PATCH v2] leveldb: fix compile errors for mips with DEFAULTTUNE mips

2019-03-05 Thread Kang Kai

On 2019/3/6 上午11:49, Khem Raj wrote:



On 3/5/19 7:39 PM, kai.k...@windriver.com wrote:

From: Kai Kang 

It fails to compile leveldb for qemumips with DEFAULTTUNE 'mips':

| {standard input}: Assembler messages:
| {standard input}:8004: Error: opcode not supported on this processor:
   mips1 (mips1) `sync'
| {standard input}:10296: Error: opcode not supported on this processor:
   mips1 (mips1) `sync'
| make: *** [out-shared/db/db_bench.o] Error 1

Asm instruction 'sync' is called in platform-specific function
MemoryBarrier() which is used by AtomicPointer(). Comment out the
definition of MemoryBarrier() for mips to avoid the errors. And turn to
use AtomicPointer() based on C++11 .

Signed-off-by: Kai Kang 
---
  ...fine-function-MemoryBarrier-for-mips.patch | 43 +++
  meta-oe/recipes-dbs/leveldb/leveldb_git.bb    |  1 +
  2 files changed, 44 insertions(+)
  create mode 100644 
meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch


diff --git 
a/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch 
b/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch 


new file mode 100644
index 0..fc7743030
--- /dev/null
+++ 
b/meta-oe/recipes-dbs/leveldb/leveldb/do-not-define-function-MemoryBarrier-for-mips.patch

@@ -0,0 +1,43 @@
+It fails to compile leveldb for qemumips with default tune 'mips':
+
+| {standard input}: Assembler messages:
+| {standard input}:8004: Error: opcode not supported on this processor:
+  mips1 (mips1) `sync'
+| {standard input}:10296: Error: opcode not supported on this 
processor:

+  mips1 (mips1) `sync'
+| make: *** [out-shared/db/db_bench.o] Error 1
+
+Asm instruction 'sync' is called in platform-specific function
+MemoryBarrier() which is used by AtomicPointer(). Comment out the
+definition of MemoryBarrier() for mips to avoid the errors. And turn to
+use AtomicPointer() based on C++11 .
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Kai Kang 
+
+---
+ port/atomic_pointer.h | 10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/port/atomic_pointer.h b/port/atomic_pointer.h
+index 1c4c7aa..7025ac3 100644
+--- a/port/atomic_pointer.h
 b/port/atomic_pointer.h
+@@ -113,11 +113,11 @@ inline void MemoryBarrier() {
+ #define LEVELDB_HAVE_MEMORY_BARRIER
+
+ // MIPS
+-#elif defined(ARCH_CPU_MIPS_FAMILY) && defined(__GNUC__)
+-inline void MemoryBarrier() {
+-  __asm__ __volatile__("sync" : : : "memory");
+-}
+-#define LEVELDB_HAVE_MEMORY_BARRIER
++//#elif defined(ARCH_CPU_MIPS_FAMILY) && defined(__GNUC__)
++//inline void MemoryBarrier() {
++//  __asm__ __volatile__("sync" : : : "memory");
++//}
++//#define LEVELDB_HAVE_MEMORY_BARRIER
+


this is punishing all mips o32 variants.


How about only apply the patch when DEFAULTTUNE is 'mips', such as 
something looks like:


python ()  {

    if d.getVar('DEFAULTTUNE') == 'mips':

        d.appendVar('SRC_URI', ' 
file://do-not-define-function-MemoryBarrier-for-mips.patch')


}


Regards,
Kai




+ #endif
+
diff --git a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb 
b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb

index 8fec89c6f..10988726a 100644
--- a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
+++ b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
@@ -11,6 +11,7 @@ SRC_URI = "git://github.com/google/${BPN}.git \
file://0001-build_detect_platform-Check-for-__SSE4_2__.patch \
 file://0002-makefile-build-SHARED_MEMENVLIB.patch \
 file://0001-Makefile-Fix-parallel-build.patch \
+ file://do-not-define-function-MemoryBarrier-for-mips.patch \
 "
    S = "${WORKDIR}/git"





--
Kai Kang

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


Re: [oe] [meta-oe][PATCH 1/1] leveldb: restrict building for mips64

2019-03-05 Thread Kang Kai

On 2019/3/6 上午9:22, Slater, Joseph wrote:

Yes, it only fails for multilib.  An unaupported instruction ("sync").  Kai 
Kang is sending a different patch, that is, I assume it is different.


It caused by default tune 'mips' which doesn't append option 
'-march=mips32' to CXX. Compare to default tune 'mips32r2' of qemumips, 
it appends '-march=mips32r2' to CXX.

I'll send the patch for review.

Regards,
Kai




Joe

From: Khem Raj [raj.k...@gmail.com]
Sent: Monday, March 04, 2019 6:36 PM
To: Slater, Joseph
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH 1/1] leveldb: restrict building for mips64

On Mon, Mar 4, 2019 at 3:51 PM Joe Slater  wrote:

Do not try to build lib32-leveldb.  libn32-leveldb will build.

Signed-off-by: Joe Slater 
---
  meta-oe/recipes-dbs/leveldb/leveldb_git.bb | 4 
  1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb 
b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
index 8fec89c..908ad3e 100644
--- a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
+++ b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
@@ -35,3 +35,7 @@ do_install() {

  PACKAGES =+ "${PN}-ptest"
  FILES_${PN}-ptest = "${bindir}"
+
+# Do not try to build lib32-leveldb for mips64, but allow libn32-leveldb.
+#
+COMPATIBLE_HOST_mipsarcho32_pn-lib32-leveldb = "null"

does it fail just in multilib situation ?


--
2.7.4

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



--
Kai Kang

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


Re: [oe] [PATCH 1/1] lvm2/libdevmapper: 2.03.01 -> 2.03.02

2019-02-28 Thread Kang Kai

On 2019/3/1 上午1:40, Khem Raj wrote:

Fails packaging
https://errors.yoctoproject.org/Errors/Details/230620/



I am so sorry. I once thought I had built it with systemd. v3 will be sent.

Regards,
Kai




On Wed, Feb 27, 2019 at 5:39 PM  wrote:

From: Kai Kang 

Upgrade lvm2/libdevmapper from 2.03.01 to 2.03.02.

* update SRC_URI back to use ftp url
   - 2.03.02 has been released but no such tag in git repo
   - subdir 'releases' on ftp site should be a persistent place for tarballs
* drop 0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
   which is not needed any longer
* remove backpoort patch
* update patch contexts

Signed-off-by: Kai Kang 
---
  ...h-for-O_-defines-and-fcntl-signature.patch | 30 -
  .../lvm2/files/0005-do-not-build-manual.patch | 13 +---
  ...lvm2-monitor.service-after-tmp.mount.patch | 13 +---
  ...per_2.03.01.bb => libdevmapper_2.03.02.bb} |  0
  meta-oe/recipes-support/lvm2/lvm2.inc |  7 ++--
  ...0001-explicitly-do-not-install-libdm.patch | 32 ---
  ...g-service-shouldn-t-refer-to-lvmetad.patch | 31 --
  .../lvm2/{lvm2_2.03.01.bb => lvm2_2.03.02.bb} |  3 +-
  8 files changed, 44 insertions(+), 85 deletions(-)
  delete mode 100644 
meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
  rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.01.bb => 
libdevmapper_2.03.02.bb} (100%)
  delete mode 100644 
meta-oe/recipes-support/lvm2/lvm2/0001-lvm2-monitoring-service-shouldn-t-refer-to-lvmetad.patch
  rename meta-oe/recipes-support/lvm2/{lvm2_2.03.01.bb => lvm2_2.03.02.bb} (92%)

diff --git 
a/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
 
b/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
deleted file mode 100644
index 9ab1c06d2..0
--- 
a/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b1ad91a059d99afd1ce25823b7c0a8d3ac63d2fd Mon Sep 17 00:00:00 2001
-From: Dengke Du 
-Date: Tue, 25 Oct 2016 11:55:49 +
-Subject: [PATCH 3/4] include fcntl.h for O_* defines and fcntl() signature
-
-On glibc _somehow_ this header gets pulled in indirectly
-
-Signed-off-by: Khem Raj 
-Signed-off-by: Dengke Du 

-Upstream-Status: Pending

- libdaemon/server/daemon-server.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libdaemon/server/daemon-server.c 
b/libdaemon/server/daemon-server.c
-index 6af6de9..a9590e7 100644
 a/libdaemon/server/daemon-server.c
-+++ b/libdaemon/server/daemon-server.c
-@@ -18,6 +18,7 @@
- #include "daemon-server.h"
- #include "daemon-log.h"
-
-+#include 
- #include 
- #include 
- #include 
---
-2.9.3
-
diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch 
b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
index 2124ebafe..7117d99a3 100644
--- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
+++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
@@ -14,6 +14,11 @@ Do not build man to workaround the issue.
  Upstream-Status: Pending

  Signed-off-by: Hongxu Jia 
+
+
+Update context for lvm2 2.03.02.
+
+Signed-off-by: Kai Kang 
  ---
   Makefile.in  | 6 +++---
   configure.ac | 1 -
@@ -41,7 +46,7 @@ index 6a1a990..80cba91 100644
   libdaemon lib tools daemons libdm \
   udev po
   tools.distclean: test.distclean
-@@ -59,7 +59,7 @@ libdm.device-mapper: include.device-mapper
+@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper
   daemons.device-mapper: libdm.device-mapper
   tools.device-mapper: libdm.device-mapper
   scripts.device-mapper: include.device-mapper
@@ -51,17 +56,17 @@ index 6a1a990..80cba91 100644
   ifeq ("@INTL@", "yes")
   lib.pofile: include.pofile
  diff --git a/configure.ac b/configure.ac
-index 9c45745..8fee4c4 100644
+index 7fd0561..4154dc0 100644
  --- a/configure.ac
  +++ b/configure.ac
-@@ -1806,7 +1806,6 @@ libdaemon/server/Makefile
+@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile
   libdm/Makefile
   libdm/dm-tools/Makefile
   libdm/libdevmapper.pc
  -man/Makefile
   po/Makefile
+ scripts/lvm2-pvscan.service
   scripts/blkdeactivate.sh
- scripts/blk_availability_init_red_hat
  --
  2.7.4

diff --git 
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
 
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
index 0e68d62fc..e5ad4eaf2 100644
--- 
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
+++ 
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
@@ -10,20 +10,25 @@ So start lvm2-monitor.service after tmp.mount
  Upstream-Status: Inappropriate [oe specific]

  Signed-off-by: Hongxu Jia 
+
+
+Update context for lvm2 2.03.02.
+
+Signed-off-by: Kai Kang 
  ---
   

Re: [oe] [PATCH 1/2] lvm2/libdevmapper: 2.03.01 -> 2.03.02

2019-02-26 Thread Kang Kai

On 2019/2/27 上午2:19, Khem Raj wrote:

On Tue, Feb 26, 2019 at 1:40 AM  wrote:

From: Kai Kang 

Upgrade lvm2/libdevmapper from 2.03.01 to 2.03.02.

* update SRC_URI back to use ftp url
   - 2.03.02 has been removed but no such tag in git repo
   - subdir 'releases' on ftp site should be a persistent place for tarballs
* drop 0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
   which is not needed any longer
* remove backpoort patch
* update patch contexts


please rebase on top of master-next and resend



OK.

Kai





Signed-off-by: Kai Kang 
---
  ...h-for-O_-defines-and-fcntl-signature.patch | 30 -
  .../lvm2/files/0005-do-not-build-manual.patch | 13 +---
  ...lvm2-monitor.service-after-tmp.mount.patch | 13 +---
  ...per_2.03.01.bb => libdevmapper_2.03.02.bb} |  0
  meta-oe/recipes-support/lvm2/lvm2.inc |  7 ++--
  ...0001-explicitly-do-not-install-libdm.patch | 32 ---
  ...g-service-shouldn-t-refer-to-lvmetad.patch | 31 --
  .../lvm2/{lvm2_2.03.01.bb => lvm2_2.03.02.bb} |  1 -
  8 files changed, 43 insertions(+), 84 deletions(-)
  delete mode 100644 
meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
  rename meta-oe/recipes-support/lvm2/{libdevmapper_2.03.01.bb => 
libdevmapper_2.03.02.bb} (100%)
  delete mode 100644 
meta-oe/recipes-support/lvm2/lvm2/0001-lvm2-monitoring-service-shouldn-t-refer-to-lvmetad.patch
  rename meta-oe/recipes-support/lvm2/{lvm2_2.03.01.bb => lvm2_2.03.02.bb} (96%)

diff --git 
a/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
 
b/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
deleted file mode 100644
index 9ab1c06d2..0
--- 
a/meta-oe/recipes-support/lvm2/files/0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b1ad91a059d99afd1ce25823b7c0a8d3ac63d2fd Mon Sep 17 00:00:00 2001
-From: Dengke Du 
-Date: Tue, 25 Oct 2016 11:55:49 +
-Subject: [PATCH 3/4] include fcntl.h for O_* defines and fcntl() signature
-
-On glibc _somehow_ this header gets pulled in indirectly
-
-Signed-off-by: Khem Raj 
-Signed-off-by: Dengke Du 

-Upstream-Status: Pending

- libdaemon/server/daemon-server.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libdaemon/server/daemon-server.c 
b/libdaemon/server/daemon-server.c
-index 6af6de9..a9590e7 100644
 a/libdaemon/server/daemon-server.c
-+++ b/libdaemon/server/daemon-server.c
-@@ -18,6 +18,7 @@
- #include "daemon-server.h"
- #include "daemon-log.h"
-
-+#include 
- #include 
- #include 
- #include 
---
-2.9.3
-
diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch 
b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
index 2124ebafe..7117d99a3 100644
--- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
+++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
@@ -14,6 +14,11 @@ Do not build man to workaround the issue.
  Upstream-Status: Pending

  Signed-off-by: Hongxu Jia 
+
+
+Update context for lvm2 2.03.02.
+
+Signed-off-by: Kai Kang 
  ---
   Makefile.in  | 6 +++---
   configure.ac | 1 -
@@ -41,7 +46,7 @@ index 6a1a990..80cba91 100644
   libdaemon lib tools daemons libdm \
   udev po
   tools.distclean: test.distclean
-@@ -59,7 +59,7 @@ libdm.device-mapper: include.device-mapper
+@@ -65,7 +65,7 @@ libdm.device-mapper: include.device-mapper
   daemons.device-mapper: libdm.device-mapper
   tools.device-mapper: libdm.device-mapper
   scripts.device-mapper: include.device-mapper
@@ -51,17 +56,17 @@ index 6a1a990..80cba91 100644
   ifeq ("@INTL@", "yes")
   lib.pofile: include.pofile
  diff --git a/configure.ac b/configure.ac
-index 9c45745..8fee4c4 100644
+index 7fd0561..4154dc0 100644
  --- a/configure.ac
  +++ b/configure.ac
-@@ -1806,7 +1806,6 @@ libdaemon/server/Makefile
+@@ -1812,7 +1812,6 @@ libdaemon/server/Makefile
   libdm/Makefile
   libdm/dm-tools/Makefile
   libdm/libdevmapper.pc
  -man/Makefile
   po/Makefile
+ scripts/lvm2-pvscan.service
   scripts/blkdeactivate.sh
- scripts/blk_availability_init_red_hat
  --
  2.7.4

diff --git 
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
 
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
index 0e68d62fc..e5ad4eaf2 100644
--- 
a/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
+++ 
b/meta-oe/recipes-support/lvm2/files/0006-start-lvm2-monitor.service-after-tmp.mount.patch
@@ -10,20 +10,25 @@ So start lvm2-monitor.service after tmp.mount
  Upstream-Status: Inappropriate [oe specific]

  Signed-off-by: Hongxu Jia 
+
+
+Update context for lvm2 2.03.02.
+
+Signed-off-by: Kai Kang 
  ---
   scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

  diff 

Re: [oe] [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue

2018-11-05 Thread Kang Kai

On 2018/11/5 下午4:30, Andreas Müller wrote:

On Mon, Nov 5, 2018 at 7:58 AM Kang Kai  wrote:

On 2018/11/5 下午1:59, kai.k...@windriver.com wrote:

From: Kai Kang 


Oops. Forgot prefix [meta-xfce] in the title.

--Kai



libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
 supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
 EXTRA_OECONF_append_pn-libunique = " --disable-introspection"

Remove empty directory to fix the QA issue.

Signed-off-by: Kai Kang 
---
   meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 
   1 file changed, 4 insertions(+)

diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb 
b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
index 49ed07ad9..a6475cef6 100644
--- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
+++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
   inherit autotools pkgconfig gobject-introspection distro_features_check 
gtk-doc

   REQUIRED_DISTRO_FEATURES = "x11"
+
+do_install_append () {
+rmdir --ignore-fail-on-non-empty ${D}${datadir}
+}

I think this breaks introspection - why not just pack Unique-1.0.gir?



If configure option '--disable-introspection' is set rather than 
'--enable-introspection', no file Unique-1.0.gir is created and 
${D}${datadir} is empty.
Option '--ignore-fail-on-non-empty' of rmdir is to make sure not affect 
introspection.


Regards,
Kai



Andreas



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-xfce][PATCH] libunique: fix installed-vs-shipped qa issue

2018-11-04 Thread Kang Kai

On 2018/11/5 下午1:59, kai.k...@windriver.com wrote:

From: Kai Kang 



Oops. Forgot prefix [meta-xfce] in the title.

--Kai




libunique shows installed-vs-shipped QA issue if configure option
'--disable-introspection' is set by:
1) in gobject-introspection*.bbclass that the 'qemu-usermode' is not
supported by bsp and then not set in MACHINE_FEATURES
or:
2) set in local.conf directly:
EXTRA_OECONF_append_pn-libunique = " --disable-introspection"

Remove empty directory to fix the QA issue.

Signed-off-by: Kai Kang 
---
  meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb | 4 
  1 file changed, 4 insertions(+)

diff --git a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb 
b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
index 49ed07ad9..a6475cef6 100644
--- a/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
+++ b/meta-xfce/recipes-extended/libunique/libunique_1.1.6.bb
@@ -28,3 +28,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
  inherit autotools pkgconfig gobject-introspection distro_features_check 
gtk-doc
  
  REQUIRED_DISTRO_FEATURES = "x11"

+
+do_install_append () {
+rmdir --ignore-fail-on-non-empty ${D}${datadir}
+}



--
Regards,
Neil | Kai Kang

--
___
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


Re: [oe] [meta-xfce][PATCH 04/10] xfce4-embed-plugin: 1.0.0 -> 1.6.0

2018-08-06 Thread Kang Kai

On 2018年08月07日 01:31, Khem Raj wrote:

On Mon, Aug 6, 2018 at 1:55 AM Kai Kang  wrote:

Upgrade xfce4-embed-plugin from 1.0.0 to 1.6.0
* update md5sum of license file that its text has been updated


Please summarise the change explicitly.


It just updated text of COPYING to match the one at gnu.org. See 
https://github.com/xfce-mirror/xfce4-embed-plugin/commit/d20cec5e01cc5486423a82b284e53f3b79239912#diff-7116ef0705885343c9e1b2171a06be0e

I'll send V2 of this patch.

Regards,
Kai




Signed-off-by: Kai Kang 
---
  .../{xfce4-embed-plugin_1.0.0.bb => xfce4-embed-plugin_1.6.0.bb}| 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta-xfce/recipes-panel-plugins/embed/{xfce4-embed-plugin_1.0.0.bb => 
xfce4-embed-plugin_1.6.0.bb} (57%)

diff --git a/meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.0.0.bb 
b/meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.6.0.bb
similarity index 57%
rename from meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.0.0.bb
rename to meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.6.0.bb
index cab3ea754..387b183f1 100644
--- a/meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.0.0.bb
+++ b/meta-xfce/recipes-panel-plugins/embed/xfce4-embed-plugin_1.6.0.bb
@@ -2,11 +2,11 @@ DESCRIPTION = "A panel plugin that embeds arbitrary windows 
(or GtkPlug widgets)
  HOMEPAGE = "http://goodies.xfce.org/projects/panel-plugins/xfce4-embed-plugin;
  SECTION = "x11/application"
  LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

  inherit xfce-panel-plugin

  # DEPENDS += "xfconf xorgproto libxtst"

-SRC_URI[md5sum] = "c5b86cbc1c54ee7c1d2e95a4502fed8e"
-SRC_URI[sha256sum] = 
"35d4c6c56dd6468c0e5afe66f657c1526f2d830a577105a51da43657651832e3"
+SRC_URI[md5sum] = "6870b116b85e4fa68d1b9ef76bd1d279"
+SRC_URI[sha256sum] = 
"c767df6360e8194b32bc24823dd000975edba0cafe525c23d7854029359ee228"
--
2.11.0

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



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-gnome][PATCH 01/10] libwnck3: 3.20.1 -> 3.24.1

2018-08-06 Thread Kang Kai

On 2018年08月06日 16:53, Kai Kang wrote:

* inherit gettext to fix qa error


Oops. The recipe exists in meta-gnome.

--Kai



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

diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb 
b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb
similarity index 70%
rename from meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb
rename to meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb
index 02149fbec..f3103b4d7 100644
--- a/meta-gnome/recipes-gnome/libwnck/libwnck3_3.20.1.bb
+++ b/meta-gnome/recipes-gnome/libwnck/libwnck3_3.24.1.bb
@@ -10,9 +10,10 @@ DEPENDS = "intltool-native gnome-common-native gtk+3 
gdk-pixbuf-native libxres"
  PACKAGECONFIG ??= "startup-notification"
  PACKAGECONFIG[startup-notification] = 
"--enable-startup-notification,--disable-startup-notification,startup-notification"
  
-inherit gnomebase gobject-introspection gtk-doc

-SRC_URI[archive.md5sum] = "487938d65d4bfae1f2501052b1bd7492"
-SRC_URI[archive.sha256sum] = 
"1cb03716bc477058dfdf3ebfa4f534de3b13b1aa067fcd064d0b7813291cba72"
+inherit gnomebase gobject-introspection gtk-doc gettext
+
+SRC_URI[archive.md5sum] = "23df51ec0a1169014fe3a102d572b244"
+SRC_URI[archive.sha256sum] = 
"afa6dc283582ffec15c3374790bcbcb5fb422bd38356d72deeef35bf7f9a1f04"
  
  inherit distro_features_check

  # libxres means x11 only



--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 1/1] mozjs17: exclude mips64 from COMPATIBLE_HOST

2018-07-04 Thread Kang Kai

On 2018年07月04日 02:12, Khem Raj wrote:

On Thu, Jun 21, 2018 at 7:03 PM Kang Kai  wrote:

On 2018年06月22日 07:22, Khem Raj wrote:

Hi Kai

On 6/21/18 12:58 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

The latest stable version of package polkit is 0.113 which requires
mozjs 17. mozjs 17 doesn't support mips64. mips64 has been supported
from mozjs 45.

https://bugzilla.mozilla.org/show_bug.cgi?id=1140954

Exclude mips64 from COMPATIBLE_HOST for mozjs, polkit and packages which
depend on polkit directly or indirectly. And remove 'polkit' from
PACKAGECONFIG of modemmanager for mips64.


I would suggest that we consider the option of upgrading mozjs to 45+
and also upgrade polkit to 0.114 which was released few months ago.

Sorry, I forgot to write more about it in cover letter.
According to file 'NEWS' in polkit repo, version 0.114 is a development
release.

https://cgit.freedesktop.org/polkit/log/NEWS

--
polkit 0.114
--

WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.

So I suppose we should not upgrade to 0.114 and the follwing 0.115. And
it seems
version 1.0 will not be released soon, that why I send this
COMPATIBALE_HOST patch.


I checked that few other distros, archlinux and fedora are already using
0.114, I am still leaning towards the update if you are ok with it.
Chances are we forget
the masks when they would need to be unmasked.


Fine. I'll update polkit and mozjs.

Regards,
Kai




Thanks,
Kai




Signed-off-by: Kai Kang 
---
   .../network-manager-applet/network-manager-applet_1.8.10.bb  | 5 +
   meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb   | 5 +
   meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb | 3 +++
   .../networkmanager/networkmanager-openvpn_1.2.8.bb   | 5 +
   .../networkmanager/networkmanager_1.10.6.bb  | 3 +++
   .../python-networkmanager/python-networkmanager_2.0.1.bb | 5 +
   .../modemmanager/modemmanager_1.7.991.bb | 2 ++
   meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb   | 3 +++
   meta-oe/recipes-extended/polkit/polkit-group-rule.inc| 3 +++
   meta-oe/recipes-extended/polkit/polkit_0.113.bb  | 3 +++
   meta-oe/recipes-support/udisks/udisks2_2.7.6.bb  | 3 +++
   meta-oe/recipes-support/udisks/udisks_1.0.5.bb   | 3 +++
   meta-oe/recipes-support/upower/upower_0.99.7.bb  | 3 +++
   meta-xfce/classes/thunar-plugin.bbclass  | 5 +
   meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb| 3 +++
   meta-xfce/recipes-core/images/core-image-minimal-xfce.bb | 5 +
   .../systemload/xfce4-systemload-plugin_1.2.1.bb  | 5 +
   .../weather/xfce4-weather-plugin_0.8.10.bb   | 5 +
   .../recipes-panel-plugins/xkb/xfce4-xkb-plugin_0.8.1.bb  | 5 +
   .../recipes-xfce/packagegroups/packagegroup-xfce-base.bb | 4 
   .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 4 
   meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb| 5 +
   .../xfce4-power-manager/xfce4-power-manager_1.6.1.bb | 5 +
   meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.12.1.bb | 3 +++
   meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb  | 5 +
   meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.4.bb | 5 +
   26 files changed, 105 insertions(+)

diff --git
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb

index 91ae8b740..581243354 100644
---
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb
+++
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb
@@ -14,6 +14,11 @@ REQUIRED_DISTRO_FEATURES = "x11"
   SRC_URI[archive.md5sum] = "eae3be75e77ff1a7ea3174be25e62d03"
   SRC_URI[archive.sha256sum] =
"0adc4bfae8b49f7a1d929c22ef20933bd41fb4a8b458280f44c65f9e45b4c9c3"
   +# dependency chain:
+# networkmanager -> polkit -> mozjs17
+# mozjs17 does not support mips64
+COMPATIBLE_HOST = "^(?!mips64).*"
+
   PACKAGECONFIG[modemmanager] =
"--with-wwan,--without-wwan,modemmanager"
   PACKAGECONFIG ??= ""
   diff --git a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
index ba425ad6b..bd8e51c59 100644
--- a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
+++ b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
@@ -22,6 +22,11 @@ SRC_URI[archive.md5sum] =
"e1eecb0a92a1a363b3d375ec5ac0fb3b"
   SRC_URI[archive.sha256sum] =
"a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"
   GNOME_COMPRESS_TYPE="bz2"
   +# de

Re: [oe] [PATCH 1/1] mozjs17: exclude mips64 from COMPATIBLE_HOST

2018-07-03 Thread Kang Kai

On 2018年06月22日 10:03, Kang Kai wrote:

On 2018年06月22日 07:22, Khem Raj wrote:

Hi Kai

On 6/21/18 12:58 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

The latest stable version of package polkit is 0.113 which requires
mozjs 17. mozjs 17 doesn't support mips64. mips64 has been supported
from mozjs 45.

https://bugzilla.mozilla.org/show_bug.cgi?id=1140954

Exclude mips64 from COMPATIBLE_HOST for mozjs, polkit and packages 
which

depend on polkit directly or indirectly. And remove 'polkit' from
PACKAGECONFIG of modemmanager for mips64.



I would suggest that we consider the option of upgrading mozjs to 45+
and also upgrade polkit to 0.114 which was released few months ago.


Sorry, I forgot to write more about it in cover letter.
According to file 'NEWS' in polkit repo, version 0.114 is a 
development release.


https://cgit.freedesktop.org/polkit/log/NEWS

--
polkit 0.114
--

WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.

So I suppose we should not upgrade to 0.114 and the follwing 0.115. 
And it seems
version 1.0 will not be released soon, that why I send this 
COMPATIBALE_HOST patch.


Any more comment please? Thanks.

--Kai



Thanks,
Kai





Signed-off-by: Kai Kang 
---
  .../network-manager-applet/network-manager-applet_1.8.10.bb | 5 +
  meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 5 +
  meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb | 3 +++
  .../networkmanager/networkmanager-openvpn_1.2.8.bb | 5 +
  .../networkmanager/networkmanager_1.10.6.bb | 3 +++
  .../python-networkmanager/python-networkmanager_2.0.1.bb | 5 +
  .../modemmanager/modemmanager_1.7.991.bb | 2 ++
  meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 3 +++
  meta-oe/recipes-extended/polkit/polkit-group-rule.inc | 3 +++
  meta-oe/recipes-extended/polkit/polkit_0.113.bb | 3 +++
  meta-oe/recipes-support/udisks/udisks2_2.7.6.bb | 3 +++
  meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 3 +++
  meta-oe/recipes-support/upower/upower_0.99.7.bb | 3 +++
  meta-xfce/classes/thunar-plugin.bbclass | 5 +
  meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb | 3 +++
  meta-xfce/recipes-core/images/core-image-minimal-xfce.bb | 5 +
  .../systemload/xfce4-systemload-plugin_1.2.1.bb | 5 +
  .../weather/xfce4-weather-plugin_0.8.10.bb | 5 +
  .../recipes-panel-plugins/xkb/xfce4-xkb-plugin_0.8.1.bb | 5 +
  .../recipes-xfce/packagegroups/packagegroup-xfce-base.bb | 4 
  .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 4 
  meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb | 5 +
  .../xfce4-power-manager/xfce4-power-manager_1.6.1.bb | 5 +
  meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.12.1.bb | 3 +++
  meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb | 5 +
  meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.4.bb | 5 +
  26 files changed, 105 insertions(+)

diff --git 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb 


index 91ae8b740..581243354 100644
--- 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb
+++ 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb

@@ -14,6 +14,11 @@ REQUIRED_DISTRO_FEATURES = "x11"
  SRC_URI[archive.md5sum] = "eae3be75e77ff1a7ea3174be25e62d03"
  SRC_URI[archive.sha256sum] = 
"0adc4bfae8b49f7a1d929c22ef20933bd41fb4a8b458280f44c65f9e45b4c9c3"

  +# dependency chain:
+# networkmanager -> polkit -> mozjs17
+# mozjs17 does not support mips64
+COMPATIBLE_HOST = "^(?!mips64).*"
+
  PACKAGECONFIG[modemmanager] = 
"--with-wwan,--without-wwan,modemmanager"

  PACKAGECONFIG ??= ""
  diff --git a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb 
b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb

index ba425ad6b..bd8e51c59 100644
--- a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
+++ b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
@@ -22,6 +22,11 @@ SRC_URI[archive.md5sum] = 
"e1eecb0a92a1a363b3d375ec5ac0fb3b"
  SRC_URI[archive.sha256sum] = 
"a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"

  GNOME_COMPRESS_TYPE="bz2"
  +# dependency chain:
+# gvfs -> polkit -> mozjs17
+# mozjs17 does not support mips64
+COMPATIBLE_HOST = "^(?!mips64).*"
+
  EXTRA_OECONF = "--disable-scrollkeeper \
  --enable-gvfs-metadata"
  diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb 
b/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb

index 5f7391285..641253204 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb
@@ -16,6 +16,9 @@ do_configure_prepend() {
  touch ${S}

Re: [oe] [PATCH 1/1] mozjs17: exclude mips64 from COMPATIBLE_HOST

2018-06-21 Thread Kang Kai

On 2018年06月22日 07:22, Khem Raj wrote:

Hi Kai

On 6/21/18 12:58 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

The latest stable version of package polkit is 0.113 which requires
mozjs 17. mozjs 17 doesn't support mips64. mips64 has been supported
from mozjs 45.

https://bugzilla.mozilla.org/show_bug.cgi?id=1140954

Exclude mips64 from COMPATIBLE_HOST for mozjs, polkit and packages which
depend on polkit directly or indirectly. And remove 'polkit' from
PACKAGECONFIG of modemmanager for mips64.



I would suggest that we consider the option of upgrading mozjs to 45+
and also upgrade polkit to 0.114 which was released few months ago.


Sorry, I forgot to write more about it in cover letter.
According to file 'NEWS' in polkit repo, version 0.114 is a development 
release.


https://cgit.freedesktop.org/polkit/log/NEWS

--
polkit 0.114
--

WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.

So I suppose we should not upgrade to 0.114 and the follwing 0.115. And 
it seems
version 1.0 will not be released soon, that why I send this 
COMPATIBALE_HOST patch.


Thanks,
Kai





Signed-off-by: Kai Kang 
---
  .../network-manager-applet/network-manager-applet_1.8.10.bb  | 5 +
  meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb   | 5 +
  meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb | 3 +++
  .../networkmanager/networkmanager-openvpn_1.2.8.bb   | 5 +
  .../networkmanager/networkmanager_1.10.6.bb  | 3 +++
  .../python-networkmanager/python-networkmanager_2.0.1.bb | 5 +
  .../modemmanager/modemmanager_1.7.991.bb | 2 ++
  meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb   | 3 +++
  meta-oe/recipes-extended/polkit/polkit-group-rule.inc    | 3 +++
  meta-oe/recipes-extended/polkit/polkit_0.113.bb  | 3 +++
  meta-oe/recipes-support/udisks/udisks2_2.7.6.bb  | 3 +++
  meta-oe/recipes-support/udisks/udisks_1.0.5.bb   | 3 +++
  meta-oe/recipes-support/upower/upower_0.99.7.bb  | 3 +++
  meta-xfce/classes/thunar-plugin.bbclass  | 5 +
  meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb    | 3 +++
  meta-xfce/recipes-core/images/core-image-minimal-xfce.bb | 5 +
  .../systemload/xfce4-systemload-plugin_1.2.1.bb  | 5 +
  .../weather/xfce4-weather-plugin_0.8.10.bb   | 5 +
  .../recipes-panel-plugins/xkb/xfce4-xkb-plugin_0.8.1.bb  | 5 +
  .../recipes-xfce/packagegroups/packagegroup-xfce-base.bb | 4 
  .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb | 4 
  meta-xfce/recipes-xfce/thunar/thunar_1.8.0.bb    | 5 +
  .../xfce4-power-manager/xfce4-power-manager_1.6.1.bb | 5 +
  meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.12.1.bb | 3 +++
  meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb  | 5 +
  meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.4.bb | 5 +
  26 files changed, 105 insertions(+)

diff --git 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb 


index 91ae8b740..581243354 100644
--- 
a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb
+++ 
b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.8.10.bb

@@ -14,6 +14,11 @@ REQUIRED_DISTRO_FEATURES = "x11"
  SRC_URI[archive.md5sum] = "eae3be75e77ff1a7ea3174be25e62d03"
  SRC_URI[archive.sha256sum] = 
"0adc4bfae8b49f7a1d929c22ef20933bd41fb4a8b458280f44c65f9e45b4c9c3"

  +# dependency chain:
+# networkmanager -> polkit -> mozjs17
+# mozjs17 does not support mips64
+COMPATIBLE_HOST = "^(?!mips64).*"
+
  PACKAGECONFIG[modemmanager] = 
"--with-wwan,--without-wwan,modemmanager"

  PACKAGECONFIG ??= ""
  diff --git a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb 
b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb

index ba425ad6b..bd8e51c59 100644
--- a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
+++ b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb
@@ -22,6 +22,11 @@ SRC_URI[archive.md5sum] = 
"e1eecb0a92a1a363b3d375ec5ac0fb3b"
  SRC_URI[archive.sha256sum] = 
"a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"

  GNOME_COMPRESS_TYPE="bz2"
  +# dependency chain:
+# gvfs -> polkit -> mozjs17
+# mozjs17 does not support mips64
+COMPATIBLE_HOST = "^(?!mips64).*"
+
  EXTRA_OECONF = "--disable-scrollkeeper \
  --enable-gvfs-metadata"
  diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb 
b/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb

index 5f7391285..641253204 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.36.0.bb
@@ -16,6 +16,9 @@ 

Re: [oe] [meta-networking][PATCH] postgresql: remove *_config from SSTATE_SCAN_FILES

2018-05-21 Thread Kang Kai

Please ignore this one with wrong title prefix layer meta-networking.

--Kai



On 2018年05月22日 09:59, kai.k...@windriver.com wrote:

From: Kai Kang 

It fails to run command pg_config with segment fault. The root cause is
function sstate_hardcode_path takes elf file pg_config as a configure
file and edits it with 'sed'.

And then file pg_config is corrupt:
$ readelf -a package/usr/bin/pg_config >/dev/null
readelf: Error: Unable to read in 0x700 bytes of section headers
readelf: Error: Section headers are not available!

There is not other '*_config' file installed by postgresql except
pg_config, so remove '*_config' from SSTATE_SCAN_FILES for postgresql.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-dbs/postgresql/postgresql.inc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc 
b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 5462332c5..1301060ee 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -202,6 +202,7 @@ do_install_append() {
  }
  
  SSTATE_SCAN_FILES += "Makefile.global"

+SSTATE_SCAN_FILES_remove = "*_config"
  
  PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \

  libecpg-compat-dbg libecpg-compat libecpg-compat-dev \



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking] [PATCH] corosync: 2.4.2 -> 2.4.3

2017-11-06 Thread Kang Kai

On 2017年11月03日 09:54, Kang Kai wrote:

On 2017年11月02日 19:22, Martin Jansa wrote:
Does this fix the textrel QA issue reported in every world build in 
last couple months?


http://errors.yoctoproject.org/Errors/Details/157987/


I built for qemux86-64 and qemuarm64 and didn't meet such issue. And I 
just searched the maillist, and after append:


LDFLAGS += "-fuse-ld=gold"


Hi Khem,

I didn't figure out what causes textrel QA issue with gold. Would you 
like to give some advices please? Thanks.
And is it acceptable to only use ld.bfd for corosync as some other 
recipes do:


LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' 
-fuse-ld=bfd ', '', d)}"



Regards,
Kai





which was provided by Khem, I could reproduce the QA warning. I will 
try to fix it.



Regards,
Kai



On Thu, Nov 2, 2017 at 9:52 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


Forgot layer info in title. :(

--Kai


On 2017年11月02日 16:25, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

Upgrade corosync from 2.4.2 to 2.4.3.

* remove patch which is merged by upstream
* disable autostart of corosync. It only works after
configured and config file
   /etc/corosync/corosync.conf exists.
* use bb.utils.filter
* corosync init script requires command pidof. But pidof from
busybox doesn't
   work well to filter calling process, so update runtime
dependency

Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  ...001-Include-fcntl.h-for-F_-and-O_-defines.patch | 28
--
  .../{corosync_2.4.2.bb <http://corosync_2.4.2.bb> =>
corosync_2.4.3.bb <http://corosync_2.4.3.bb>}  | 19
+++
  2 files changed, 9 insertions(+), 38 deletions(-)
  delete mode 100644

meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
  rename
meta-networking/recipes-extended/corosync/{corosync_2.4.2.bb
<http://corosync_2.4.2.bb> => corosync_2.4.3.bb
<http://corosync_2.4.3.bb>} (84%)

diff --git

a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch

b/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
deleted file mode 100644
index fe4b0793f..0
---

a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 85ea47fedbc96ed9180e08b0d371d9966e3a88da Mon Sep 17
00:00:00 2001
-From: Khem Raj <raj.k...@gmail.com <mailto:raj.k...@gmail.com>>
-Date: Wed, 30 Aug 2017 17:28:55 -0700
-Subject: [PATCH] Include fcntl.h for F_* and O_* defines
-
-Fixes errors like
-utils.c:95:22: error: use of undeclared identifier 'O_WRONLY'
-
-Signed-off-by: Khem Raj <raj.k...@gmail.com
<mailto:raj.k...@gmail.com>>

- qdevices/utils.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/qdevices/utils.c b/qdevices/utils.c
-index 41850b8c..87090853 100644
 a/qdevices/utils.c
-+++ b/qdevices/utils.c
-@@ -39,6 +39,7 @@
-
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
---
-2.14.1
-
diff --git
a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
similarity index 84%
rename from
meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
rename to
meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
index 33e74e2ff..52d2a1098 100644
---
a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
+++
b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
@@ -7,11 +7,10 @@ SECTION = "base"
inherit autotools pkgconfig systemd useradd
  -SRC_URI =
"http://build.clusterlabs.org/corosync/releases/${BP}.tar.gz
<http://build.clusterlabs.org/corosync/releases/$%7BBP%7D.tar.gz>
\

Re: [oe] [meta-networking] [PATCH] corosync: 2.4.2 -> 2.4.3

2017-11-02 Thread Kang Kai

On 2017年11月02日 19:22, Martin Jansa wrote:
Does this fix the textrel QA issue reported in every world build in 
last couple months?


http://errors.yoctoproject.org/Errors/Details/157987/


I built for qemux86-64 and qemuarm64 and didn't meet such issue. And I 
just searched the maillist, and after append:


LDFLAGS += "-fuse-ld=gold"

which was provided by Khem, I could reproduce the QA warning. I will try 
to fix it.



Regards,
Kai



On Thu, Nov 2, 2017 at 9:52 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


Forgot layer info in title. :(

--Kai


On 2017年11月02日 16:25, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

Upgrade corosync from 2.4.2 to 2.4.3.

* remove patch which is merged by upstream
* disable autostart of corosync. It only works after
configured and config file
   /etc/corosync/corosync.conf exists.
* use bb.utils.filter
* corosync init script requires command pidof. But pidof from
busybox doesn't
   work well to filter calling process, so update runtime
dependency

Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  ...001-Include-fcntl.h-for-F_-and-O_-defines.patch | 28
--
  .../{corosync_2.4.2.bb <http://corosync_2.4.2.bb> =>
corosync_2.4.3.bb <http://corosync_2.4.3.bb>}  | 19
+++
  2 files changed, 9 insertions(+), 38 deletions(-)
  delete mode 100644

meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
  rename
meta-networking/recipes-extended/corosync/{corosync_2.4.2.bb
<http://corosync_2.4.2.bb> => corosync_2.4.3.bb
<http://corosync_2.4.3.bb>} (84%)

diff --git

a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch

b/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
deleted file mode 100644
index fe4b0793f..0
---

a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 85ea47fedbc96ed9180e08b0d371d9966e3a88da Mon Sep 17
00:00:00 2001
-From: Khem Raj <raj.k...@gmail.com <mailto:raj.k...@gmail.com>>
-Date: Wed, 30 Aug 2017 17:28:55 -0700
-Subject: [PATCH] Include fcntl.h for F_* and O_* defines
-
-Fixes errors like
-utils.c:95:22: error: use of undeclared identifier 'O_WRONLY'
-
-Signed-off-by: Khem Raj <raj.k...@gmail.com
<mailto:raj.k...@gmail.com>>

- qdevices/utils.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/qdevices/utils.c b/qdevices/utils.c
-index 41850b8c..87090853 100644
 a/qdevices/utils.c
-+++ b/qdevices/utils.c
-@@ -39,6 +39,7 @@
-
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
---
-2.14.1
-
diff --git
a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
similarity index 84%
rename from
meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
rename to
meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
index 33e74e2ff..52d2a1098 100644
---
a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
<http://corosync_2.4.2.bb>
+++
b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
<http://corosync_2.4.3.bb>
@@ -7,11 +7,10 @@ SECTION = "base"
inherit autotools pkgconfig systemd useradd
  -SRC_URI =
"http://build.clusterlabs.org/corosync/releases/${BP}.tar.gz
<http://build.clusterlabs.org/corosync/releases/$%7BBP%7D.tar.gz>
\
- 
 file://0001-Include-fcntl.h-for-F_-and-O_-defines.patch \

-  "
-SRC_URI[md5sum] = "547fa78704da53aa35912be58d31035f"
-SRC_URI[sha256sum] =
"f26e3011309fe4bcce94b1dc20ea8c462f19483a73f3ca62f13b925d011a4ba9"
+SRC_URI =
"http://build.clusterlabs.org/corosync/re

Re: [oe] [meta-networking] [PATCH] corosync: 2.4.2 -> 2.4.3

2017-11-02 Thread Kang Kai

Forgot layer info in title. :(

--Kai

On 2017年11月02日 16:25, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade corosync from 2.4.2 to 2.4.3.

* remove patch which is merged by upstream
* disable autostart of corosync. It only works after configured and config file
   /etc/corosync/corosync.conf exists.
* use bb.utils.filter
* corosync init script requires command pidof. But pidof from busybox doesn't
   work well to filter calling process, so update runtime dependency

Signed-off-by: Kai Kang 
---
  ...001-Include-fcntl.h-for-F_-and-O_-defines.patch | 28 --
  .../{corosync_2.4.2.bb => corosync_2.4.3.bb}   | 19 +++
  2 files changed, 9 insertions(+), 38 deletions(-)
  delete mode 100644 
meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
  rename meta-networking/recipes-extended/corosync/{corosync_2.4.2.bb => 
corosync_2.4.3.bb} (84%)

diff --git 
a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
 
b/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
deleted file mode 100644
index fe4b0793f..0
--- 
a/meta-networking/recipes-extended/corosync/corosync/0001-Include-fcntl.h-for-F_-and-O_-defines.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 85ea47fedbc96ed9180e08b0d371d9966e3a88da Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Wed, 30 Aug 2017 17:28:55 -0700
-Subject: [PATCH] Include fcntl.h for F_* and O_* defines
-
-Fixes errors like
-utils.c:95:22: error: use of undeclared identifier 'O_WRONLY'
-
-Signed-off-by: Khem Raj 

- qdevices/utils.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/qdevices/utils.c b/qdevices/utils.c
-index 41850b8c..87090853 100644
 a/qdevices/utils.c
-+++ b/qdevices/utils.c
-@@ -39,6 +39,7 @@
-
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
---
-2.14.1
-
diff --git a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb 
b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
similarity index 84%
rename from meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
rename to meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
index 33e74e2ff..52d2a1098 100644
--- a/meta-networking/recipes-extended/corosync/corosync_2.4.2.bb
+++ b/meta-networking/recipes-extended/corosync/corosync_2.4.3.bb
@@ -7,11 +7,10 @@ SECTION = "base"
  
  inherit autotools pkgconfig systemd useradd
  
-SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BP}.tar.gz \

-   file://0001-Include-fcntl.h-for-F_-and-O_-defines.patch \
-  "
-SRC_URI[md5sum] = "547fa78704da53aa35912be58d31035f"
-SRC_URI[sha256sum] = 
"f26e3011309fe4bcce94b1dc20ea8c462f19483a73f3ca62f13b925d011a4ba9"
+SRC_URI = "http://build.clusterlabs.org/corosync/releases/${BP}.tar.gz;
+
+SRC_URI[md5sum] = "bf0ede13018aadc8a046183bc593b0e0"
+SRC_URI[sha256sum] = 
"b1e7e422e8d2f7af8e5315fa329b1dbd1175fff32efaa55e8054584c80a2c597"
  
  LICENSE = "BSD"

  LIC_FILES_CHKSUM = "file://LICENSE;md5=a85eb4ce24033adb6088dd1d6ffc5e5d"
@@ -22,7 +21,7 @@ SYSTEMD_SERVICE_${PN} = "corosync.service 
corosync-notifyd.service \
   ${@bb.utils.contains('PACKAGECONFIG', 'qdevice', 
'corosync-qdevice.service', '', d)} \
   ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 
'corosync-qnetd.service', '', d)} \
  "
-SYSTEMD_AUTO_ENABLE = "enable"
+SYSTEMD_AUTO_ENABLE = "disable"
  
  INITSCRIPT_NAME = "corosync-daemon"
  
@@ -55,22 +54,22 @@ do_install_append() {

  install -d ${D}${sysconfdir}/default/volatiles
  echo "d root root 0755 ${localstatedir}/log/cluster none" > 
${D}${sysconfdir}/default/volatiles/05_corosync
  
-if ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 'true', 'false', d)}; then

+if [ ${@bb.utils.filter('PACKAGECONFIG', 'qnetd', d)} ]; then
  chown -R coroqnetd:coroqnetd ${D}${sysconfdir}/${BPN}/qnetd
  echo "d coroqnetd coroqnetd 0770 /var/run/corosync-qnetd none" >> 
${D}${sysconfdir}/default/volatiles/05_corosync
  fi
  
-if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then

+if [ ${@bb.utils.filter('DISTRO_FEATURES','systemd',d)} ]; then
  install -d ${D}${sysconfdir}/tmpfiles.d
  echo "d ${localstatedir}/log/cluster - - - -" > 
${D}${sysconfdir}/tmpfiles.d/corosync.conf
  
-if ${@bb.utils.contains('PACKAGECONFIG', 'qnetd', 'true', 'false', d)}; then

+if [ ${@bb.utils.filter('PACKAGECONFIG', 'qnetd', d)} ]; then
  install -m 0644 ${S}/conf/tmpfiles.d/corosync-qnetd.conf 
${D}${sysconfdir}/tmpfiles.d
  fi
  fi
  }
  
-RDEPENDS_${PN} += "bash"

+RDEPENDS_${PN} += "bash ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 
'sysvinit-pidof', 'procps', d)}"
  
  FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug"

  

Re: [oe] [PATCH 1/1] lvm2: disable thin provisioning support if GPLv3 incompatible

2017-09-22 Thread Kang Kai

On 2017年09月22日 03:44, Andre McCurdy wrote:

On Thu, Sep 21, 2017 at 7:16 AM, Khem Raj  wrote:

On Wed, Sep 20, 2017 at 11:47 PM,   wrote:

From: Kai Kang 

Disable thin provisioning support for lvm2 if it is set GPLv3
incompatible.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/lvm2/lvm2.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc 
b/meta-oe/recipes-support/lvm2/lvm2.inc
index ab8db9cba..9791554a9 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -23,7 +23,7 @@ inherit autotools-brokensep pkgconfig systemd
  LVM2_PACKAGECONFIG = "dmeventd lvmetad"
  LVM2_PACKAGECONFIG_append_class-target = " \
  ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
-thin-provisioning-tools \
+${@bb.utils.contains('INCOMPATIBLE_LICENSE', 'GPLv3', '', 
'thin-provisioning-tools', d)} \
  udev \
  "

there are other strings like GPL-3.0, as well as other types of GPL 3
derivative licenses, I wonder if this will work for all

Perhaps something like:

   ${@incompatible_license_contains('GPLv3', '', 'thin-provisioning-tools', d)}

would work more reliably?


OK. Thanks. I'll send V2.


--Kai




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



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH 1/2] krb5: fix CVE-2017-11368

2017-08-30 Thread Kang Kai

On 2017年08月30日 17:40, Martin Jansa wrote:

done


Thanks.

--Kai



On Wed, Aug 30, 2017 at 11:30 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


On 2017年08月28日 21:59, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

Issue: CVE-2017-11368

Backport patch to fix CVE-2017-11368 for krb5.

(LOCAL REV: NOT UPSTREAM) -- Send to oe-devel on 20170828


Hi Martin,

Ooops. I forgot to remove inner informations in the commit message.

Should I send V2 to remove the following 2 lines?

Issue: CVE-2017-11368

(LOCAL REV: NOT UPSTREAM) -- Send to oe-devel on 20170828


Sorry for the inconvenience.


--Kai



Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  .../krb5/krb5/fix-CVE-2017-11368.patch| 116
+
  meta-oe/recipes-connectivity/krb5/krb5_1.15.1.bb
<http://krb5_1.15.1.bb>  |   1 +
  2 files changed, 117 insertions(+)
  create mode 100644
meta-oe/recipes-connectivity/krb5/krb5/fix-CVE-2017-11368.patch

diff --git
a/meta-oe/recipes-connectivity/krb5/krb5/fix-CVE-2017-11368.patch
b/meta-oe/recipes-connectivity/krb5/krb5/fix-CVE-2017-11368.patch
new file mode 100644
index 0..a2eb7bc02
--- /dev/null
+++
b/meta-oe/recipes-connectivity/krb5/krb5/fix-CVE-2017-11368.patch
@@ -0,0 +1,116 @@
+Upstream-Status: Backport

[https://github.com/krb5/krb5/commit/ffb35baac6981f9e8914f8f3bffd37f284b85970

<https://github.com/krb5/krb5/commit/ffb35baac6981f9e8914f8f3bffd37f284b85970>]
+
+Backport patch to fix CVE-2017-11368.
+
+Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
+---
+From ffb35baac6981f9e8914f8f3bffd37f284b85970 Mon Sep 17
00:00:00 2001
+From: Greg Hudson <ghud...@mit.edu <mailto:ghud...@mit.edu>>
+Date: Thu, 13 Jul 2017 12:14:20 -0400
+Subject: [PATCH] Prevent KDC unset status assertion failures
+
+Assign status values if S4U2Self padata fails to decode, if an
+S4U2Proxy request uses invalid KDC options, or if an
S4U2Proxy request
+uses an evidence ticket which does not match the
canonicalized request
+server principal name.  Reported by Samuel Cabrero.
+
+If a status value is not assigned during KDC processing,
default to
+"UNKNOWN_REASON" rather than failing an assertion. This
change will
+prevent future denial of service bugs due to similar
mistakes, and
+will allow us to omit assigning status values for unlikely
errors such
+as small memory allocation failures.
+
+CVE-2017-11368:
+
+In MIT krb5 1.7 and later, an authenticated attacker can cause an
+assertion failure in krb5kdc by sending an invalid S4U2Self or
+S4U2Proxy request.
+
+  CVSSv3 Vector:
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:H/RL:O/RC:C
+
+ticket: 8599 (new)
+target_version: 1.15-next
+target_version: 1.14-next
+tags: pullup
+---
+ src/kdc/do_as_req.c  |  4 ++--
+ src/kdc/do_tgs_req.c |  3 ++-
+ src/kdc/kdc_util.c   | 10 --
+ 3 files changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c
+index 2d3ad13..9b256c8 100644
+--- a/src/kdc/do_as_req.c
 b/src/kdc/do_as_req.c
+@@ -366,8 +366,8 @@ finish_process_as_req(struct as_req_state
*state, krb5_error_code errcode)
+ did_log = 1;
+
+ egress:
+-if (errcode != 0)
+-assert (state->status != 0);
++if (errcode != 0 && state->status == NULL)
++state->status = "UNKNOWN_REASON";
+
+ au_state->status = state->status;
+ au_state->reply = >reply;
+diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c
+index cdc79ad..d8d6719 100644
+--- a/src/kdc/do_tgs_req.c
 b/src/kdc/do_tgs_req.c
+@@ -823,7 +823,8 @@ process_tgs_req(struct server_handle
*handle, krb5_data *pkt,
+ free(reply.enc_part.ciphertext.data);
+
+ cleanup:
+-assert(status != NULL);
++if (status == NULL)
++status = "UNKNOWN_REASON";
+ if (reply_key)
+ krb5_free_keyblock(kdc_context, reply_key);
+ if (errcod

Re: [oe] [meta-oe][PATCH] imagemagick: 7.0.5 -> 7.0.6_9

2017-08-29 Thread Kang Kai

On 2017年08月25日 05:29, Randy MacLeod wrote:

On 2017-08-24 11:16 AM, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade imagemagick from 7.0.5 patchset 6 to 7.0.9 patchset 9.

* update SRC_URI. Replace tarball with git repo that it only keeps
   latest tarball on www.imagemagick.org


This avoids the imagemagick disappearing tarball problem but
the impact is ~350 MB for the git repo rather than  8 MB for
the tarball.

Any objections to using the gentoo distfiles site:
http://distfiles.gentoo.org/distfiles/


Kai, If not please send a revised upgrade to 7.0.6 using that URL.


OK. I'll be waiting for 2 more days.

--Kai



../Randy






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH 2/2] mariadb: disable thumb on armv5

2017-08-28 Thread Kang Kai

On 2017年08月29日 02:17, Andre McCurdy wrote:

On Mon, Aug 28, 2017 at 6:59 AM,   wrote:

From: Kai Kang 

Disable thumb on armv5 for mariadb which causes link error:

| libsql.a(mysqld.cc.o): In function `test_if_case_insensitive(char const*) 
[clone .constprop.28]':
| 
/usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8276:(.text.unlikely+0xbe):
| relocation truncated to fit: R_ARM_THM_CALL against symbol `fn_format' defined
| in .glue_7 section in linker stubs
| 
/usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8278:(.text.unlikely+0xd0):
| relocation truncated to fit: R_ARM_THM_CALL against symbol `fn_format' defined
| in .glue_7 section in linker stubs
| 
/usr/src/debug/mariadb/5.5.57-r0/mariadb-5.5.57/sql/mysqld.cc:8285:(.text.unlikely+0x150):
| relocation truncated to fit: R_ARM_THM_CALL against symbol
| `sql_print_warning(char const*, ...)' defined in .glue_7 section in linker 
stubs

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/mysql/mariadb.inc | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/mysql/mariadb.inc 
b/meta-oe/recipes-support/mysql/mariadb.inc
index 32e3eaa6d..03cded637 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -82,6 +82,8 @@ EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
   -DCAT_EXECUTABLE=`which cat` \
   -DCMAKE_AR:FILEPATH=${AR}"

+ARM_INSTRUCTION_SET_armv5 = "arm"

For Thumb1 build issues, normal approach is to over-ride
ARM_INSTRUCTION_SET for both armv4 and armv5. Even though you may not
be able to test armv4 it's almost certain to hit the same issue.


OK. Thanks. V2 will be sent.

--Kai




  do_configure_append() {
  # handle distros with different values of ${libexecdir}
  libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
--
2.14.1

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



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH] mariadb: 5.5.55 -> 5.5.57

2017-08-22 Thread Kang Kai

On 2017年08月21日 12:46, Martin Jansa wrote:

Hi,

the security_flags.inc:

require conf/distro/include/security_flags.inc

and if still doesn't reproduce than last bit is thumb:

PREFERRED_ARM_INSTRUCTION_SET  ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"


Hi Martin,

Thanks. I can reproduce the failure and I'll try to figure out the root 
cause.



--Kai




Regards,

On Mon, Aug 21, 2017 at 6:08 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


On 2017年08月21日 07:48, Martin Jansa wrote:

Like the previous version this one fails to build for qemuarm
when security_flags.inc are enabled (maybe only in combination
with gold and thumb), can you please look into it?

http://errors.yoctoproject.org/Errors/Details/152655/
<http://errors.yoctoproject.org/Errors/Details/152655/>


I built qemuarm with following configures in local.conf and no
failure.

require conf/distro/include/security_flags.inc

DISTRO_FEATURES_append = " ld-is-gold"


Any other configure did I miss? Thanks.


Regards,
    Kai




On Fri, Aug 18, 2017 at 4:51 AM, Kang Kai <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>> wrote:

On 2017年08月17日 17:28, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

Upgrade mariadb from 5.5.55 to 5.5.57.


Forgot [meta-oe] in title. Sorry for inconvenience.

--Kai



* update SRC_URI that mariadb.com <http://mariadb.com>
doesn't provides source tarball of 5.5.57
* remove gcc7.patch which is not needed any more

Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  .../{mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb> =>
mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>} |  0
  meta-oe/recipes-support/mysql/mariadb.inc  
   |  8 
  meta-oe/recipes-support/mysql/mariadb/gcc7.patch  
| 13 -

  .../mysql/{mariadb_5.5.55.bb <http://mariadb_5.5.55.bb>
=> mariadb_5.5.57.bb <http://mariadb_5.5.57.bb>} |  0
  4 files changed, 4 insertions(+), 17 deletions(-)
  rename
meta-oe/recipes-support/mysql/{mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb> =>
mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>} (100%)
  delete mode 100644
meta-oe/recipes-support/mysql/mariadb/gcc7.patch
  rename meta-oe/recipes-support/mysql/{mariadb_5.5.55.bb
<http://mariadb_5.5.55.bb> => mariadb_5.5.57.bb
<http://mariadb_5.5.57.bb>} (100%)

diff --git
a/meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb>
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>
similarity index 100%
rename from
meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb>
rename to
meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
b/meta-oe/recipes-support/mysql/mariadb.inc
index fd9dcbd..32e3eaa 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  -SRC_URI =

"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz

<http://downloads.mariadb.com/MariaDB/mariadb-$%7BPV%7D/source/mariadb-$%7BPV%7D.tar.gz>
\
+SRC_URI =
"https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz
<https://downloads.mariadb.org/f/$%7BBP%7D/source/$%7BBP%7D.tar.gz>
\
file://fix-cmake-module-path.patch \
file://remove-bad-path.patch \
file://fix-mysqlclient-r-version.patch \
@@ -17,10 +17,10 @@ SRC_URI =

"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${P

<http://downloads.mariadb.c

Re: [oe] [meta-oe][PATCH] mariadb: 5.5.55 -> 5.5.57

2017-08-20 Thread Kang Kai

On 2017年08月21日 07:48, Martin Jansa wrote:
Like the previous version this one fails to build for qemuarm when 
security_flags.inc are enabled (maybe only in combination with gold 
and thumb), can you please look into it?


http://errors.yoctoproject.org/Errors/Details/152655/


I built qemuarm with following configures in local.conf and no failure.

require conf/distro/include/security_flags.inc

DISTRO_FEATURES_append = " ld-is-gold"


Any other configure did I miss? Thanks.


Regards,
Kai



On Fri, Aug 18, 2017 at 4:51 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


On 2017年08月17日 17:28, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

Upgrade mariadb from 5.5.55 to 5.5.57.


Forgot [meta-oe] in title. Sorry for inconvenience.

--Kai



* update SRC_URI that mariadb.com <http://mariadb.com> doesn't
provides source tarball of 5.5.57
* remove gcc7.patch which is not needed any more

Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  .../{mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb> => mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>} |  0
  meta-oe/recipes-support/mysql/mariadb.inc  |  8

  meta-oe/recipes-support/mysql/mariadb/gcc7.patch   |
13 -
  .../mysql/{mariadb_5.5.55.bb <http://mariadb_5.5.55.bb> =>
mariadb_5.5.57.bb <http://mariadb_5.5.57.bb>} |  0
  4 files changed, 4 insertions(+), 17 deletions(-)
  rename
meta-oe/recipes-support/mysql/{mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb> => mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>} (100%)
  delete mode 100644
meta-oe/recipes-support/mysql/mariadb/gcc7.patch
  rename meta-oe/recipes-support/mysql/{mariadb_5.5.55.bb
<http://mariadb_5.5.55.bb> => mariadb_5.5.57.bb
<http://mariadb_5.5.57.bb>} (100%)

diff --git
a/meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb>
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>
similarity index 100%
rename from
meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
<http://mariadb-native_5.5.55.bb>
rename to
meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
<http://mariadb-native_5.5.57.bb>
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
b/meta-oe/recipes-support/mysql/mariadb.inc
index fd9dcbd..32e3eaa 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  -SRC_URI =

"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz

<http://downloads.mariadb.com/MariaDB/mariadb-$%7BPV%7D/source/mariadb-$%7BPV%7D.tar.gz>
\
+SRC_URI =
"https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz
<https://downloads.mariadb.org/f/$%7BBP%7D/source/$%7BBP%7D.tar.gz>
\
 file://fix-cmake-module-path.patch \
 file://remove-bad-path.patch \
 file://fix-mysqlclient-r-version.patch \
@@ -17,10 +17,10 @@ SRC_URI =
"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${P

<http://downloads.mariadb.com/MariaDB/mariadb-$%7BPV%7D/source/mariadb-$%7BP>
 file://fix-a-building-failure.patch \
 file://change-cc-to-cc-version.patch \
 file://0001-disable-ucontext-on-musl.patch \
-   file://gcc7.patch \
"
-SRC_URI[md5sum] = "54a0bbbc9b67308e7c076622d02f0fcd"
-SRC_URI[sha256sum] =
"cb94e315d0fc90c62db5a6c7829c9966f674285d99b3ba3ffa575fb4a26edc86"
+
+SRC_URI[md5sum] = "2d4104aae0b9e5efa8878918bd329cb4"
+SRC_URI[sha256sum] =
"5dbde98d7e4a5a1721b6cbed7898b2549a88866247951cf586057975c6cea641"
S = "${WORKDIR}/mariadb-${PV}"
  diff --git
a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
b/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
deleted file mode 100644
index 3e75b26..000
--- a

Re: [oe] [meta-oe][PATCH] mariadb: 5.5.55 -> 5.5.57

2017-08-17 Thread Kang Kai

On 2017年08月17日 17:28, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade mariadb from 5.5.55 to 5.5.57.


Forgot [meta-oe] in title. Sorry for inconvenience.

--Kai



* update SRC_URI that mariadb.com doesn't provides source tarball of 5.5.57
* remove gcc7.patch which is not needed any more

Signed-off-by: Kai Kang 
---
  .../{mariadb-native_5.5.55.bb => mariadb-native_5.5.57.bb}  |  0
  meta-oe/recipes-support/mysql/mariadb.inc   |  8 
  meta-oe/recipes-support/mysql/mariadb/gcc7.patch| 13 -
  .../mysql/{mariadb_5.5.55.bb => mariadb_5.5.57.bb}  |  0
  4 files changed, 4 insertions(+), 17 deletions(-)
  rename meta-oe/recipes-support/mysql/{mariadb-native_5.5.55.bb => 
mariadb-native_5.5.57.bb} (100%)
  delete mode 100644 meta-oe/recipes-support/mysql/mariadb/gcc7.patch
  rename meta-oe/recipes-support/mysql/{mariadb_5.5.55.bb => mariadb_5.5.57.bb} 
(100%)

diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb 
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
similarity index 100%
rename from meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb
rename to meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc 
b/meta-oe/recipes-support/mysql/mariadb.inc
index fd9dcbd..32e3eaa 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  
-SRC_URI = "http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz \

+SRC_URI = "https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz \
 file://fix-cmake-module-path.patch \
 file://remove-bad-path.patch \
 file://fix-mysqlclient-r-version.patch \
@@ -17,10 +17,10 @@ SRC_URI = 
"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${P
 file://fix-a-building-failure.patch \
 file://change-cc-to-cc-version.patch \
 file://0001-disable-ucontext-on-musl.patch \
-   file://gcc7.patch \
"
-SRC_URI[md5sum] = "54a0bbbc9b67308e7c076622d02f0fcd"
-SRC_URI[sha256sum] = 
"cb94e315d0fc90c62db5a6c7829c9966f674285d99b3ba3ffa575fb4a26edc86"
+
+SRC_URI[md5sum] = "2d4104aae0b9e5efa8878918bd329cb4"
+SRC_URI[sha256sum] = 
"5dbde98d7e4a5a1721b6cbed7898b2549a88866247951cf586057975c6cea641"
  
  S = "${WORKDIR}/mariadb-${PV}"
  
diff --git a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch b/meta-oe/recipes-support/mysql/mariadb/gcc7.patch

deleted file mode 100644
index 3e75b26..000
--- a/meta-oe/recipes-support/mysql/mariadb/gcc7.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: mariadb-5.5.55/client/mysql.cc
-===
 mariadb-5.5.55.orig/client/mysql.cc
-+++ mariadb-5.5.55/client/mysql.cc
-@@ -2850,7 +2850,7 @@ You can turn off this feature to get a q
- mysql_free_result(fields);
- break;
-   }
--  field_names[i][num_fields*2]= '\0';
-+  field_names[i][num_fields*2][0]= '\0';
-   j=0;
-   while ((sql_field=mysql_fetch_field(fields)))
-   {
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.55.bb 
b/meta-oe/recipes-support/mysql/mariadb_5.5.57.bb
similarity index 100%
rename from meta-oe/recipes-support/mysql/mariadb_5.5.55.bb
rename to meta-oe/recipes-support/mysql/mariadb_5.5.57.bb



--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 00/10] Fix compile errors if distro feature openssl-no-weak-ciphers exists

2017-07-06 Thread Kang Kai

On 2017年07月06日 23:30, Burton, Ross wrote:


On 5 July 2017 at 09:11, > wrote:


Patches to add distro feature openssl-no-weak-ciphers have been
sent to oe-core.


FWIW I'm still not very keen on a distro feature for this.


How about use a global variable rather than a distro feature and check 
whether it has been set?


Thanks,
Kai



Ross



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH 06/10] opensc: add PACKAGECONFIG openssl

2017-07-05 Thread Kang Kai

On 2017年07月06日 00:59, Peter Kjellerstedt wrote:

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
kai.k...@windriver.com
Sent: den 5 juli 2017 10:11
To: openembedded-devel@lists.openembedded.org
Subject: [oe] [meta-oe][PATCH 06/10] opensc: add PACKAGECONFIG openssl

From: Kai Kang 

Add PACKAGECONFIG openssl to enable or disable build with openssl for
opensc. Check DISTRO_FEATURE openssl-no-weak-ciphers. If it exists then
remove PACKAGECONFIG openssl for opensc.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/opensc/opensc_0.16.0.bb | 5 +
  1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb b/meta-
oe/recipes-support/opensc/opensc_0.16.0.bb
index fd67181..fa7c81d 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
@@ -21,6 +21,11 @@ LIC_FILES_CHKSUM =
"file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"

  inherit autotools pkgconfig

+PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
+
+PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 
'openssl-no-weak-ciphers', 'openssl', '', d)}"

It is a bad idea to use _remove like this, because it makes it impossible to
enable openssl again in a bbappend or via local.conf.


I do this intendedly that if distro feature 'openssl-no-weak-ciphers' 
exists, package config openssl should be removed since opensc will 
compile failed.
If this is not a good solution, just set CONFLICT_DISTRO_FEATURES as for 
other packages.


Thanks,
Kai


It is better to do it
like this:

PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 
'openssl-no-weak-ciphers', '', 'openssl', d)}"
PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"

You should do it similarly for poco and postgresql as well.


+
  EXTRA_OECONF = " \
  --disable-static \
  --enable-openct \
--
2.10.1

//Peter




--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH] gflags: update downloadfilename

2017-06-29 Thread Kang Kai

On 2017年06月29日 23:19, Martin Jansa wrote:
Change it to git fetcher, because github archives can be regenerated 
from time to time.


OK.

--Kai



On Thu, Jun 29, 2017 at 11:05 AM, > wrote:


From: Kai Kang >

The downloadfilename of gflags is not proper for multilib recipe.
Replace it with ${BP}.

Signed-off-by: Kai Kang >
---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb
 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

index 5fc28f6..e2bac9a 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

+++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/gflags/gflags
"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM =
"file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"

-SRC_URI =

"https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz

"
+SRC_URI =

"https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz

"
 SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e"
 SRC_URI[sha256sum] =
"466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88"

--
2.10.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-devel





--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] Fix snort start error

2017-05-25 Thread Kang Kai

On 2017年05月24日 17:38, kai.k...@windriver.com wrote:

From: Kai Kang 

Please merge the patch after commit for oe-core "libpcap: add native package" 
is merged. Thanks.


The patch for oe-core has been merged. Please help to review this 
commit, thanks.



Regards,
Kai



Kai Kang (1):
   snort: enable static daq

  .../recipes-connectivity/daq/daq_2.0.6.bb   |  4 
  .../recipes-connectivity/libdnet/libdnet_1.12.bb|  1 +
  ...-host-contamination-when-enable-static-daq.patch | 21 +
  .../recipes-connectivity/snort/snort_2.9.7.5.bb |  5 +++--
  4 files changed, 29 insertions(+), 2 deletions(-)
  create mode 100644 
meta-networking/recipes-connectivity/snort/snort/fix-host-contamination-when-enable-static-daq.patch



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] postfix: do NOT create directory /var/spool/mail

2017-04-12 Thread Kang Kai

On 2017年04月13日 03:32, Mark Hatle wrote:

On 4/9/17 9:18 PM, kai.k...@windriver.com wrote:

From: Kai Kang 

postfix installs directory /var/spool/mail which conflicts with package
shadow.

| Error: Transaction check error:
|  file /var/spool/mail conflicts between attempted installs of
|  postfix-3.1.1-r0.ppc64e6500 and shadow-4.2.1-r0.1.ppc64e6500

Make postfix not create /var/spool/mail that it does NOT create the
directory on Fedora and Ubuntu either.

I am not sure this is correct.

The two packages have (according to DNF/RPM) different permissions, owner or
group assigned to that particular directory.

I think it's reasonable for both of the packages to create the directory,
however they must match in perms/owner/group.  I would defer to shadow as the
correct source for this information.


Do you mean use to update-alternative to keep them both?



It may be necessary though to change shadow's default to something more
reasonable if 'root:root' is not right.


I checked on both Fedora and Ubuntu that /var/spool/mail is set with 
'root:mail'.  I will update it in recipe shadow.

And it also set with  'setgid' on Ubuntu, do we need 'setgid' too?

Thanks.



--Kai




--Mark


Signed-off-by: Kai Kang 
---
  meta-networking/recipes-daemons/postfix/postfix.inc | 2 --
  1 file changed, 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc 
b/meta-networking/recipes-daemons/postfix/postfix.inc
index 5bb2491..4c794ff 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -164,8 +164,6 @@ do_install () {
  install -m 770 -d ${D}${localstatedir}/spool/postfix
  chown postfix:postfix ${D}${localstatedir}/spool/postfix
  
-install -m 2755 -d ${D}${localstatedir}/spool/mail

-chown postfix:nogroup ${D}${localstatedir}/spool/mail
  install -m 0755 -d ${D}${localstatedir}/lib/postfix
  chown postfix:nogroup ${D}${localstatedir}/lib/postfix
  install -m 0755 -d ${D}${localstatedir}/spool/postfix






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH v2] gflags: correct S and update library install directory

2017-04-05 Thread Kang Kai

On 2017年03月30日 23:49, Martin Jansa wrote:

This could be the reason for opencv failures:
http://errors.yoctoproject.org/Errors/Details/138538/


Sorry for the trouble and I am working on it.

--Kai




On Tue, Mar 21, 2017 at 6:53 AM, > wrote:


From: Kai Kang >

The current setting of S is not right for multilib. Remove the setting
and use the default value.

And library install directory is not right either. Pass ${libdir}
to fix
the [installed-vs-shipped] QA issue:

| ERROR: gflags-2.2.0-r0 do_package: QA Issue: gflags:
Files/directories
| were installed but not shipped in any package:
|   /usr/lib/libgflags.so
|   /usr/lib/libgflags_nothreads.so.2.2

Signed-off-by: Kai Kang >
---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb
 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

index b9188c3..77617ef 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

+++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb

@@ -8,13 +8,12 @@ LIC_FILES_CHKSUM =
"file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
 SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz
"
 SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e"
 SRC_URI[sha256sum] =
"466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88"
-S = "${WORKDIR}/${PN}-${PV}/"

 FILES_${PN}-dev += "${libdir}/cmake"

 inherit cmake

-EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF"
+EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON
-DREGISTER_INSTALL_PREFIX=OFF -DLIBRARY_INSTALL_DIR=${libdir}"

 PACKAGES =+ "${PN}-bash-completion"
 FILES_${PN}-bash-completion += "${bindir}/gflags_completions.sh"
--
2.10.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-devel






--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 3/5] libdnet: update SRC_URI

2017-03-22 Thread Kang Kai

On 2017年03月22日 18:59, Martin Jansa wrote:

Yes, you can use git repo, just add nobranch=1 parameter.


OK. Thanks.

--Kai



On Wed, Mar 22, 2017 at 9:16 AM, Kang Kai <kai.k...@windriver.com 
<mailto:kai.k...@windriver.com>> wrote:


On 2017年03月13日 11:29, kai.k...@windriver.com
<mailto:kai.k...@windriver.com> wrote:

From: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>

The official site libdnet.googlecode.com
<http://libdnet.googlecode.com> is redirected to github. So
update SRC_URI and its checksums. And update S as well.

Signed-off-by: Kai Kang <kai.k...@windriver.com
<mailto:kai.k...@windriver.com>>
---
  meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
<http://libdnet_1.12.bb> | 8 +---
  1 file changed, 5 insertions(+), 3 deletions(-)

diff --git
a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
<http://libdnet_1.12.bb>
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
<http://libdnet_1.12.bb>
index 28b6c82..aff64c2 100644
---
a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
<http://libdnet_1.12.bb>
+++
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
<http://libdnet_1.12.bb>
@@ -4,10 +4,12 @@ SECTION = "libs"
  LICENSE = "BSD"
  LIC_FILES_CHKSUM =
"file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
  -SRC_URI =
"http://libdnet.googlecode.com/files/libdnet-${PV}.tgz
<http://libdnet.googlecode.com/files/libdnet-$%7BPV%7D.tgz>"
+SRC_URI =
"https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz
<https://github.com/dugsong/$%7BBPN%7D/archive/$%7BBP%7D.tar.gz>"


Hi Martin,

It is weird that the tag 'libdnet-1.12' is not contained in any
branch. I am afraid it could NOT use git repo for libdnet.

Ref:

https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904

<https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904>


Regards,
Kai

  -SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"
-SRC_URI[sha256sum] =
"83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
+SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
+SRC_URI[sha256sum] =
"b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424"
+
+S = "${WORKDIR}/${BPN}-${BP}"
inherit autotools



-- 
Regards,

Neil | Kai Kang





--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 3/5] libdnet: update SRC_URI

2017-03-22 Thread Kang Kai

On 2017年03月13日 11:29, kai.k...@windriver.com wrote:

From: Kai Kang 

The official site libdnet.googlecode.com is redirected to github. So
update SRC_URI and its checksums. And update S as well.

Signed-off-by: Kai Kang 
---
  meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb | 8 +---
  1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb 
b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
index 28b6c82..aff64c2 100644
--- a/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
+++ b/meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
@@ -4,10 +4,12 @@ SECTION = "libs"
  LICENSE = "BSD"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=0036c1b155f4e999f3e0a373490b5db9"
  
-SRC_URI = "http://libdnet.googlecode.com/files/libdnet-${PV}.tgz;

+SRC_URI = "https://github.com/dugsong/${BPN}/archive/${BP}.tar.gz;


Hi Martin,

It is weird that the tag 'libdnet-1.12' is not contained in any branch. 
I am afraid it could NOT use git repo for libdnet.


Ref:
https://github.com/dugsong/libdnet/commit/12fca29a6d4e99d1b923d6820887fe7b24226904


Regards,
Kai
  
-SRC_URI[md5sum] = "9253ef6de1b5e28e9c9a62b882e44cc9"

-SRC_URI[sha256sum] = 
"83b33039787cf0e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026"
+SRC_URI[md5sum] = "d2f1b72eac2a1070959667e9e61dcf20"
+SRC_URI[sha256sum] = 
"b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424"
+
+S = "${WORKDIR}/${BPN}-${BP}"
  
  inherit autotools
  



--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 1/5] fuse: update HOMEPAGE and SRC_URI

2017-03-14 Thread Kang Kai

On 2017年03月15日 02:45, Denys Dmytriyenko wrote:

On Mon, Mar 13, 2017 at 11:29:17AM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

The homepage of fuse is redirected to github. So update HOMEPAGE and
SRC_URI.

Correct license LGPLv2 with LGPLv2.1 at same time.

Signed-off-by: Kai Kang 
---
  meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb 
b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
index 153fcb4..b34efa1 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
@@ -4,13 +4,13 @@ DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple 
interface for userspac
 also aims to provide a secure method for non privileged users 
to \
 create and mount their own filesystem implementations. \
"
-HOMEPAGE = "http://fuse.sf.net;
+HOMEPAGE = "https://github.com/libfuse/libfuse;
  SECTION = "libs"
-LICENSE = "GPLv2 & LGPLv2"
+LICENSE = "GPLv2 & LGPLv2.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
  file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
  
-SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \

+SRC_URI = 
"https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/${BP}.tar.gz \

Can you use ${@d.getVar('PV').replace('.', '_')} in the path here ^
Similar to what you did in lmsensors...


Thanks for your comment. But Martin said that it should use git rather 
than tar ball which may be regenerated and checksum changes on github.

I am planning replace it with _git version.


Regards,
Kai





 file://gold-unversioned-symbol.patch \
 file://aarch64.patch \
 file://0001-fuse-fix-the-return-value-of-help-option.patch \
--
2.10.1

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



--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 0/5] Update SRC_URIs

2017-03-14 Thread Kang Kai

On 2017年03月13日 15:25, Martin Jansa wrote:
Github archives can be regenerated from time to time with different 
checksums, please use git fetcher instead.


OK. Thanks.

--Kai



On Mon, Mar 13, 2017 at 4:29 AM, > wrote:


From: Kai Kang >

Update SRC_URIs which show qa warnings when do_fetch.

Kai Kang (5):
  fuse: update HOMEPAGE and SRC_URI
  curlpp: update HOMEPAGE and SRC_URI
  libdnet: update SRC_URI
  cherokee: update SRC_URI
  lmsensors: update SRC_URI and S

 meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
   | 6 +++---
 meta-networking/recipes-connectivity/libdnet/libdnet_1.12.bb
 | 8 +---
 meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb
  | 8 
 meta-oe/recipes-support/lm_sensors/lmsensors_3.4.0.bb
 | 6 +++---
 meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
  | 2 +-
 5 files changed, 16 insertions(+), 14 deletions(-)

--
2.10.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org

http://lists.openembedded.org/mailman/listinfo/openembedded-devel






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] c-ares: update 1.11.0 -> 1.12.0

2016-10-21 Thread Kang Kai

On 2016年10月21日 05:16, André Draszik wrote:

Highlight:
- fix CVE-2016-5180

Other changes, from https://c-ares.haxx.se/changelog.html

c-ares version 1.12.0 - Sep 29 2016
Changes:
 api: add ARES_OPT_NOROTATE optmask value

Bug fixes:
 CVE-2016-5180: ares_create_query single byte out of buffer write
 configure: acknowledge --disable-tests [1]
 man pages: fix typos detected by Lintian
 test: add missing #includes for dns-proto.cc
 test: avoid in6addr_* constants
 test: Build with MinGW on AppVeyor
 Makefile.m32: add support for extra flags
 Makefile.m32: add support for CROSSPREFIX
 configure: check if tests can get built before enabled
 ares_library_cleanup: reset ares_realloc too
 ahost.c: add cast to fix C++ compile
 test: Only pass unused args to GoogleTest
 build: commonize MSVC version detection
 msvc_ver.inc: support Visual Studio 2015 Update 1, 2, 3
 test: for AF_UNSPEC, return CNAME only for , but valid A record
 ares_getnameinfo: explicitly clear struct servent before use
 test: Update fuzzing function prototype
 init: fix nsort initialization
 test: add fuzzing check script to tests
 web: http => https
 read_tcp_data: remove superfluous NULL check
 LICENSE.md: add a stand-alone license file
 SECURITY.md: suggested "security process" for the project
 ares_init_options: only propagate init failures from options [2]
 headers: remove checks for and defines of variable sizes
 test: fix gMock to work with gcc >= 6.x [3]

Signed-off-by: André Draszik 
---
  .../recipes-support/c-ares/{c-ares_1.11.0.bb => c-ares_1.12.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-networking/recipes-support/c-ares/{c-ares_1.11.0.bb => 
c-ares_1.12.0.bb} (76%)

diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb 
b/meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
similarity index 76%
rename from meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
rename to meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
index c98be7d..8b63972 100644
--- a/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
+++ b/meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://ares_init.c;beginline=1;endline=3;md5=53f5ecf4c22c37c


A stand-alone license file is added. It is better to update 
LIC_FILES_CHKSUM.


--Kai


  SRC_URI = "http://c-ares.haxx.se/download/${BP}.tar.gz \
 file://0001-configure.ac-don-t-override-passed-cflags.patch \
  "
-SRC_URI[md5sum] = "d5c6d522cfc54bb6f215a0b7912d46be"
-SRC_URI[sha256sum] = 
"b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd"
+SRC_URI[md5sum] = "2ca44be1715cd2c5666a165d35788424"
+SRC_URI[sha256sum] = 
"8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb"
  
  inherit autotools pkgconfig



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] c-ares: 1.11.0 -> 1.12.0

2016-10-21 Thread Kang Kai

On 2016年10月21日 14:46, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade c-ares from 1.11.0 to 1.12.0.

* update LIC_FILES_CHKSUM that a stand-alone license file is added


Didn't see André Draszik's patch to upgrade c-ares. So please ignore it.

--Kai


* CVE-2016-5180 is fixed in 1.12.0

Signed-off-by: Kai Kang 
---
  .../recipes-support/c-ares/{c-ares_1.11.0.bb => c-ares_1.12.0.bb}   | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta-networking/recipes-support/c-ares/{c-ares_1.11.0.bb => 
c-ares_1.12.0.bb} (60%)

diff --git a/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb 
b/meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
similarity index 60%
rename from meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
rename to meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
index c98be7d..da8e096 100644
--- a/meta-networking/recipes-support/c-ares/c-ares_1.11.0.bb
+++ b/meta-networking/recipes-support/c-ares/c-ares_1.12.0.bb
@@ -4,12 +4,12 @@ DESCRIPTION = "c-ares is a C library that resolves names 
asynchronously."
  HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/;
  SECTION = "libs"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://ares_init.c;beginline=1;endline=3;md5=53f5ecf4c22c37cf1ddd1ef8f8eccce0"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f4b026880834eb01c035c5e5cb47ccac"
  
  SRC_URI = "http://c-ares.haxx.se/download/${BP}.tar.gz \

 file://0001-configure.ac-don-t-override-passed-cflags.patch \
  "
-SRC_URI[md5sum] = "d5c6d522cfc54bb6f215a0b7912d46be"
-SRC_URI[sha256sum] = 
"b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd"
+SRC_URI[md5sum] = "2ca44be1715cd2c5666a165d35788424"
+SRC_URI[sha256sum] = 
"8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb"
  
  inherit autotools pkgconfig



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH] mariadb: upgrade to 5.5.50

2016-07-28 Thread Kang Kai

On 2016年07月28日 17:05, Martin Jansa wrote:

On Thu, Jul 28, 2016 at 01:48:57PM +0800, Kang Kai wrote:

On 2016年07月27日 17:50, Martin Jansa wrote:

Can you please double check the checksums? Doesn't work for me:

Hi Martin,

The checksums are right. Please see:

http://archive.mariadb.org/mariadb-5.5.50/source/md5sums.txt
5cfb169934170a429589e05f0f5aba9c ./mariadb-5.5.50.tar.gz

http://archive.mariadb.org/mariadb-5.5.50/source/sha256sums.txt
030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76
./mariadb-5.5.50.tar.gz

I did similar check yesterday and you're right they are ok.

Downloading from downloads.mariadb.org was quick (few seconds) while
downloading from archive.mariadb.org took over 1 hour (but in the end I
got the same file in manual test) maybe it failed to fetch it completely
during my jenkins builds.


Please clean the source and try it again.

Bitbake cleans it automatically, so lets see in next bitbake world
build.


OK. Thanks.

--Kai





Thanks.

--Kai


ERROR: mariadb-native-5.5.50-r0 do_fetch: Fetcher failure for URL:
'http://archive.mariadb.org/mariadb-5.5.50/source/mariadb-5.5.50.tar.gz'.
Checksum mismatch!
File: '/home/jenkins/oe/world/shr-core/downloads/mariadb-5.5.50.tar.gz'
has md5 checksum 13cc3e0dfbc64698fd7838990ecae828 when
5cfb169934170a429589e05f0f5aba9c was expected
File: '/home/jenkins/oe/world/shr-core/downloads/mariadb-5.5.50.tar.gz'
has sha256 checksum
01227fd2954e02139e31ff16161754d82d9d9568746e7ebdb2cd49eb94ec849a when
030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76 was
expected
If this change is expected (e.g. you have upgraded to a new version
without updating the checksums) then you can use these lines within
the recipe:
SRC_URI[md5sum] = "13cc3e0dfbc64698fd7838990ecae828"
SRC_URI[sha256sum] =
"01227fd2954e02139e31ff16161754d82d9d9568746e7ebdb2cd49eb94ec849a"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.

ERROR: mariadb-native-5.5.50-r0 do_fetch: Function failed: Fetcher
failure for URL:
'http://archive.mariadb.org/mariadb-5.5.50/source/mariadb-5.5.50.tar.gz'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/mariadb-native/5.5.50-r0/temp/log.do_fetch.31301
NOTE: recipe mariadb-native-5.5.50-r0: task do_fetch: Failed
ERROR: Task 
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb:do_fetch
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb:do_fetch)
failed with exit code '1'


On Tue, Jul 26, 2016 at 11:23 AM, <kai.k...@windriver.com> wrote:


From: Kai Kang <kai.k...@windriver.com>

Upgrade mariadb from 5.5.46 to 5.5.50.

* update runtime dependency of mariadb-setupdb which requires command
install

Signed-off-by: Kai Kang <kai.k...@windriver.com>
---
   .../mysql/{mariadb-native_5.5.46.bb => mariadb-native_5.5.50.bb} | 0
   meta-oe/recipes-support/mysql/mariadb.inc| 5
+++--
   .../recipes-support/mysql/{mariadb_5.5.46.bb => mariadb_5.5.50.bb}   | 0
   3 files changed, 3 insertions(+), 2 deletions(-)
   rename meta-oe/recipes-support/mysql/{mariadb-native_5.5.46.bb =>
mariadb-native_5.5.50.bb} (100%)
   rename meta-oe/recipes-support/mysql/{mariadb_5.5.46.bb =>
mariadb_5.5.50.bb} (100%)

diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.5.46.bb
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb
similarity index 100%
rename from meta-oe/recipes-support/mysql/mariadb-native_5.5.46.bb
rename to meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
b/meta-oe/recipes-support/mysql/mariadb.inc
index 4801ffe..9c3d234 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -17,8 +17,8 @@ SRC_URI = "
http://archive.mariadb.org/mariadb-${PV}/source/mariadb-${PV}.tar.gz
  file://fix-a-building-failure.patch \
 "

-SRC_URI[md5sum] = "92f682b00eb137af01e59ea93f7e31f7"
-SRC_URI[sha256sum] =
"45b66b7adc87cad32e553df1d5211e5b6426b78a3bc318a5ccde088bf93e6e10"
+SRC_URI[md5sum] = "5cfb169934170a429589e05f0f5aba9c"
+SRC_URI[sha256sum] =
"030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76"

   S = "${WORKDIR}/mariadb-${PV}"

@@ -176,6 +176,7 @@ RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
perl-module-benchmark perl-modu
   perl-module-file-spec perl-module-file-find perl-module-file-basename
perl-module-file-path \
   perl-module-constant perl-module-lib perl-module-file-temp
perl-module-file-spec-functions \
   perl-module-io-socket-inet perl-module-io-select"
+RDEPENDS_${PN}-setupdb = "coreutils"

   # Allow old code to link to 

Re: [oe] [meta-oe][PATCH] mariadb: upgrade to 5.5.50

2016-07-27 Thread Kang Kai

On 2016年07月27日 17:50, Martin Jansa wrote:

Can you please double check the checksums? Doesn't work for me:


Hi Martin,

The checksums are right. Please see:

http://archive.mariadb.org/mariadb-5.5.50/source/md5sums.txt
5cfb169934170a429589e05f0f5aba9c ./mariadb-5.5.50.tar.gz

http://archive.mariadb.org/mariadb-5.5.50/source/sha256sums.txt
030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76 
./mariadb-5.5.50.tar.gz



Please clean the source and try it again.

Thanks.

--Kai



ERROR: mariadb-native-5.5.50-r0 do_fetch: Fetcher failure for URL:
'http://archive.mariadb.org/mariadb-5.5.50/source/mariadb-5.5.50.tar.gz'.
Checksum mismatch!
File: '/home/jenkins/oe/world/shr-core/downloads/mariadb-5.5.50.tar.gz'
has md5 checksum 13cc3e0dfbc64698fd7838990ecae828 when
5cfb169934170a429589e05f0f5aba9c was expected
File: '/home/jenkins/oe/world/shr-core/downloads/mariadb-5.5.50.tar.gz'
has sha256 checksum
01227fd2954e02139e31ff16161754d82d9d9568746e7ebdb2cd49eb94ec849a when
030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76 was
expected
If this change is expected (e.g. you have upgraded to a new version
without updating the checksums) then you can use these lines within
the recipe:
SRC_URI[md5sum] = "13cc3e0dfbc64698fd7838990ecae828"
SRC_URI[sha256sum] =
"01227fd2954e02139e31ff16161754d82d9d9568746e7ebdb2cd49eb94ec849a"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.

ERROR: mariadb-native-5.5.50-r0 do_fetch: Function failed: Fetcher
failure for URL:
'http://archive.mariadb.org/mariadb-5.5.50/source/mariadb-5.5.50.tar.gz'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/x86_64-linux/mariadb-native/5.5.50-r0/temp/log.do_fetch.31301
NOTE: recipe mariadb-native-5.5.50-r0: task do_fetch: Failed
ERROR: Task 
/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb:do_fetch
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb:do_fetch)
failed with exit code '1'


On Tue, Jul 26, 2016 at 11:23 AM,  wrote:


From: Kai Kang 

Upgrade mariadb from 5.5.46 to 5.5.50.

* update runtime dependency of mariadb-setupdb which requires command
install

Signed-off-by: Kai Kang 
---
  .../mysql/{mariadb-native_5.5.46.bb => mariadb-native_5.5.50.bb} | 0
  meta-oe/recipes-support/mysql/mariadb.inc| 5
+++--
  .../recipes-support/mysql/{mariadb_5.5.46.bb => mariadb_5.5.50.bb}   | 0
  3 files changed, 3 insertions(+), 2 deletions(-)
  rename meta-oe/recipes-support/mysql/{mariadb-native_5.5.46.bb =>
mariadb-native_5.5.50.bb} (100%)
  rename meta-oe/recipes-support/mysql/{mariadb_5.5.46.bb =>
mariadb_5.5.50.bb} (100%)

diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.5.46.bb
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb
similarity index 100%
rename from meta-oe/recipes-support/mysql/mariadb-native_5.5.46.bb
rename to meta-oe/recipes-support/mysql/mariadb-native_5.5.50.bb
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
b/meta-oe/recipes-support/mysql/mariadb.inc
index 4801ffe..9c3d234 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -17,8 +17,8 @@ SRC_URI = "
http://archive.mariadb.org/mariadb-${PV}/source/mariadb-${PV}.tar.gz
 file://fix-a-building-failure.patch \
"

-SRC_URI[md5sum] = "92f682b00eb137af01e59ea93f7e31f7"
-SRC_URI[sha256sum] =
"45b66b7adc87cad32e553df1d5211e5b6426b78a3bc318a5ccde088bf93e6e10"
+SRC_URI[md5sum] = "5cfb169934170a429589e05f0f5aba9c"
+SRC_URI[sha256sum] =
"030b60a787333bf20ec0ee02b02da52474772c069954dc914f894a7703989b76"

  S = "${WORKDIR}/mariadb-${PV}"

@@ -176,6 +176,7 @@ RDEPENDS_${PN}-leftovers = "perl perl-module-cwd
perl-module-benchmark perl-modu
  perl-module-file-spec perl-module-file-find perl-module-file-basename
perl-module-file-path \
  perl-module-constant perl-module-lib perl-module-file-temp
perl-module-file-spec-functions \
  perl-module-io-socket-inet perl-module-io-select"
+RDEPENDS_${PN}-setupdb = "coreutils"

  # Allow old code to link to the backward compatible library
  RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev"
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.46.bb
b/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
similarity index 100%
rename from meta-oe/recipes-support/mysql/mariadb_5.5.46.bb
rename to meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
--
2.9.2.368.g08bb350

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




--
Regards,
Neil | Kai Kang

--
___

Re: [oe] [PATCH 0/2] Add 2 ttf fonts

2016-07-24 Thread Kang Kai

On 2016年07月23日 16:48, Martin Jansa wrote:

You forgot to update layer.conf, causing:

ERROR: ttf-vlgothic different signature for task
do_package_write_ipk.sigdata between qemux86 and qemux86copy
runtaskdeps changed from ['fontconfigfontconfig_2.12.0.bb.do_packagedata',
'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
'ttf-fontsttf-vlgothic_20141206.bb.do_package',
'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata'] to
['fontconfigfontconfig_2.12.0.bb.do_packagedata',
'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native',
'pseudopseudo_1.8.1.bb.do_populate_sysroot:virtual:native',
'ttf-fontsttf-vlgothic_20141206.bb.do_package',
'ttf-fontsttf-vlgothic_20141206.bb.do_packagedata']

I'll fix it this time, but next time I'll just reject this.


Thanks.

--Kai



On Mon, Jul 18, 2016 at 4:28 AM,  wrote:


From: Kai Kang 


Kai Kang (2):
   liberation-sans-narrow: add a ttf font
   ttf-vlgothic: add a ttf font

  .../30-0-liberation-sans-narrow.conf   | 18 
  .../ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | 32
++
  .../ttf-fonts/ttf-vlgothic_20141206.bb | 28
+++
  3 files changed, 78 insertions(+)
  create mode 100644
meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow/30-0-liberation-sans-narrow.conf
  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
ttf-liberation-sans-narrow_1.07.4.bb
  create mode 100644 meta-oe/recipes-graphics/ttf-fonts/
ttf-vlgothic_20141206.bb

--
2.6.1

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




--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH][meta-oe] crash: add native package

2016-03-10 Thread Kang Kai

On 2016年03月10日 03:06, Martin Jansa wrote:

On Wed, Mar 09, 2016 at 03:48:43PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Add crash-native package.

* append EXTRA_OEMAKE option to find ncurses library
* pass right install DESTDIR

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-kernel/crash/crash_7.1.3.bb | 17 ++---
  1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb 
b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
index f6934f7..e085094 100644
--- a/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
+++ b/meta-oe/recipes-kernel/crash/crash_7.1.3.bb
@@ -32,6 +32,8 @@ SRC_URI[gdb.sha256sum] = 
"8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5
  
  inherit gettext
  
+BBCLASSEXTEND = "native"

+
  # crash 7.1.3 and before don't support mips64
  COMPATIBLE_HOST = "^(?!mips64).*"
  
@@ -40,6 +42,7 @@ EXTRA_OEMAKE = 'RPMPKG="${PV}" \

  GDB_HOST="${BUILD_SYS}" \
  GDB_MAKE_JOBS="${PARALLEL_MAKE}" \
  '
+EXTRA_OEMAKE_append_class-native = " LDFLAGS='${BUILD_LDFLAGS}'"
  
  do_configure() {

  :
@@ -65,17 +68,25 @@ do_compile() {
  oe_runmake ${EXTRA_OEMAKE}
  }
  
-do_install () {

+do_install_prepend () {
  install -d ${D}${bindir}
  install -d ${D}/${mandir}/man8
  install -d ${D}${includedir}/crash
  
-oe_runmake DESTDIR=${D} install

  install -m 0644 ${S}/crash.8 ${D}/${mandir}/man8/
  install -m 0644 ${S}/defs.h ${D}${includedir}/crash
-}
+}
+
+do_install_class-target () {
+oe_runmake DESTDIR=${D} install
+}
+
+do_install_class-native () {
+oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install
+}
  
  RDEPENDS_${PN} += "liblzma"

+RDEPENDS_${PN}_class-native += "xz-native"

Why is this needed? native builds aren't creating any packages.


My fault. It should be empty for native package.

Thanks. V2 will be sent.


--Kai





  # Causes gcc to get stuck and eat all available memory in qemuarm builds
  # jenkins  15161  100 12.5 10389596 10321284 ?   R11:40  28:17 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1
 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I ./../opcodes/.. -I 
./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I ../libdecnumber -I 
./../libdecnumber -I ./gnulib/import -I build-gnulib/import -isysroot 
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD eval.d -MF .deps/eval.Tpo 
-MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" -D CRASH_MERGE -D 
HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c -march=armv5te -mthumb 
-mthumb-interwork -mtls-dialect=gnu -auxbase-strip eval.o -g -O2 -Wall -Wpointer-arith 
-Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function 
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement 
-Wempty-body -feliminate-unused-debug-types -o -
--
2.6.1

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






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] samba: update systemd service files

2016-02-24 Thread Kang Kai

On 2016年02月18日 17:39, Kang Kai wrote:

On 2016年01月27日 14:30, kai.k...@windriver.com wrote:

From: Kai Kang <kai.k...@windriver.com>

Update systemd service files of samba. There are no '@BASE_BINDIR@' and
'@SBINDIR@' in these service files, so drop the original replacement.
Command kill is installed to /bin/kill, then correct in the service 
files.


Ping.


Ping.



--Kai



Signed-off-by: Kai Kang <kai.k...@windriver.com>
---
  meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb 
b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb

index a51d31f..2e3f118 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
@@ -112,9 +112,7 @@ do_install_append() {
  for i in nmb smb winbind; do
  install -m 0644 packaging/systemd/$i.service 
${D}${systemd_unitdir}/system

  done
-sed -e 's,@BASE_BINDIR@,${base_bindir},g' \
--e 's,@SBINDIR@,${sbindir},g' \
--i ${D}${systemd_unitdir}/system/*.service
+sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' 
${D}${systemd_unitdir}/system/*.service

install -d ${D}${sysconfdir}/tmpfiles.d
  echo "d ${localstatedir}/log/samba 0755 root root -" \






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] samba: update systemd service files

2016-02-18 Thread Kang Kai

On 2016年01月27日 14:30, kai.k...@windriver.com wrote:

From: Kai Kang 

Update systemd service files of samba. There are no '@BASE_BINDIR@' and
'@SBINDIR@' in these service files, so drop the original replacement.
Command kill is installed to /bin/kill, then correct in the service files.


Ping.

--Kai



Signed-off-by: Kai Kang 
---
  meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb 
b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
index a51d31f..2e3f118 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.1.12.bb
@@ -112,9 +112,7 @@ do_install_append() {
  for i in nmb smb winbind; do
  install -m 0644 packaging/systemd/$i.service 
${D}${systemd_unitdir}/system
  done
-sed -e 's,@BASE_BINDIR@,${base_bindir},g' \
--e 's,@SBINDIR@,${sbindir},g' \
--i ${D}${systemd_unitdir}/system/*.service
+sed -i 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' 
${D}${systemd_unitdir}/system/*.service
  
  	install -d ${D}${sysconfdir}/tmpfiles.d

echo "d ${localstatedir}/log/samba 0755 root root -" \



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH 4/4] meta-networking: depends on layer meta-perl

2015-12-20 Thread Kang Kai

On 2015年12月19日 00:22, Martin Jansa wrote:

On Thu, Dec 03, 2015 at 04:18:48PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Package mime-construct in layer meta-networking depends on some perl
modules in layer meta-perl. So make meta-networking depends on layer
meta-perl.

Cannot we move mime-construct to meta-perl instead?

It doesn't have any dependencies provided by meta-networking and also
nothing in meta-networking is using mime-construct.


It is ok for me.  I'll move it to meta-perl and revert the layer 
dependency commit.


Thanks,
Kai




Signed-off-by: Kai Kang 
---
  meta-networking/conf/layer.conf | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf
index 63bb07d..b7fc183 100644
--- a/meta-networking/conf/layer.conf
+++ b/meta-networking/conf/layer.conf
@@ -16,5 +16,6 @@ LAYERVERSION_networking-layer = "1"
  LAYERDEPENDS_networking-layer = "core"
  LAYERDEPENDS_networking-layer += "openembedded-layer"
  LAYERDEPENDS_networking-layer += "meta-python"
+LAYERDEPENDS_networking-layer += "perl-layer"
  
  LICENSE_PATH += "${LAYERDIR}/licenses"

--
2.6.1

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






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH 2/6] talloc: rename to libtalloc and cleanup dependency mess

2015-12-17 Thread Kang Kai

On 2015年11月20日 03:44, Jens Rehsack wrote:

diff --git a/meta-networking/recipes-support/talloc/talloc_2.1.1.bb 
b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb
similarity index 70%
rename from meta-networking/recipes-support/talloc/talloc_2.1.1.bb
rename to meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb
index 89c390f..9016f42 100644
--- a/meta-networking/recipes-support/talloc/talloc_2.1.1.bb
+++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.1.bb
@@ -3,7 +3,9 @@ HOMEPAGE ="http://talloc.samba.org;
  SECTION = "libs"
  LICENSE = "LGPL-3.0+ & GPL-3.0+"
  
-SRC_URI ="http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz;

+DEPENDS += "libbsd"
+
+SRC_URI ="http://samba.org/ftp/${BPN}/talloc-${PV}.tar.gz;


Both the ${BPN} are needed to be replaced with talloc.

--Kai



  LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b
 \
  
file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
  



--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] xl2tpd: 1.3.0 -> 1.3.6

2015-11-30 Thread Kang Kai

On 2015年12月01日 10:00, Joe MacDonald wrote:

Hi Kai,

Can you re-submit this based on the long-lingering merge of my xl2tpd
upgrade now in master?


OK. V2 will be sent.

--Kai




-J.

[[oe] [meta-networking][PATCH] xl2tpd: 1.3.0 -> 1.3.6] On 15.11.30 (Mon 15:38) 
kai.k...@windriver.com wrote:


From: Kai Kang 

Upgrade xl2tpd v1.3.0-46-gdf7e30e to 1.3.6.

* drop PR
* add patch to fix build warnings with gcc 5.x:

| misc.h:68:20: warning: inline function 'swaps' declared but never defined

Signed-off-by: Kai Kang 
---
  .../recipes-protocols/xl2tpd/xl2tpd.inc|   2 -
  .../fix-inline-functions-errors-with-gcc-5.x.patch | 134 +
  .../xl2tpd/{xl2tpd_git.bb => xl2tpd_1.3.6.bb}  |   4 +-
  3 files changed, 136 insertions(+), 4 deletions(-)
  create mode 100644 
meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
  rename meta-networking/recipes-protocols/xl2tpd/{xl2tpd_git.bb => 
xl2tpd_1.3.6.bb} (15%)

diff --git a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
index ffec167..d2402c5 100644
--- a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
+++ b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
@@ -8,8 +8,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
  
-INC_PR = "r0"

-
  SRC_URI = "git://github.com/xelerance/xl2tpd.git"
  
  S = "${WORKDIR}/git"

diff --git 
a/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
new file mode 100644
index 000..b75c912
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
@@ -0,0 +1,134 @@
+Upstream-Status: Backport
+
+Backport from 
https://github.com/xelerance/xl2tpd/commit/9098f64950eb22cf049058d40f647bafdb822174
+
+Signed-off-by: Kai Kang 
+---
+From 9098f64950eb22cf049058d40f647bafdb822174 Mon Sep 17 00:00:00 2001
+From: Kai Kang 
+Date: Wed, 23 Sep 2015 10:41:05 +0800
+Subject: [PATCH] Fix build errors caused by inline function with gcc 5
+
+GCC 5 defaults to -std=gnu11 instead of -std=gnu89. And -std=gnu89
+employs the GNU89 inline semantics, -std=gnu11 uses the C99 inline
+semantics.
+
+For 'inline' fuction, it is NOT exported by C99. So error messages such as:
+
+| control.c:1717: undefined reference to `check_control'
+
+For these functions which is not referred by other compile units, make
+them 'static inline'.
+
+For 'extern inline' function, it fails such as:
+
+| misc.h:68:20: warning: inline function 'swaps' declared but never defined
+|  extern inline void swaps (void *, int);
+|  ^
+
+Because function swaps() is referred by other compile units, it must be
+exported. The semantics of 'extern inline' are not same between GNU89
+and C99, so remove 'inline' attribute for compatible with GNU89.
+
+Ref:
+https://gcc.gnu.org/gcc-5/porting_to.html
+
+Signed-off-by: Kai Kang 
+---
+ control.c | 8 
+ misc.c| 2 +-
+ misc.h| 2 +-
+ network.c | 4 ++--
+ 4 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/control.c b/control.c
+index b2891a9..c4a39b5 100644
+--- a/control.c
 b/control.c
+@@ -1140,7 +1140,7 @@ int control_finish (struct tunnel *t, struct call *c)
+ return 0;
+ }
+
+-inline int check_control (const struct buffer *buf, struct tunnel *t,
++static inline int check_control (const struct buffer *buf, struct tunnel *t,
+   struct call *c)
+ {
+ /*
+@@ -1276,7 +1276,7 @@ inline int check_control (const struct buffer *buf, 
struct tunnel *t,
+ return 0;
+ }
+
+-inline int check_payload (struct buffer *buf, struct tunnel *t,
++static inline int check_payload (struct buffer *buf, struct tunnel *t,
+   struct call *c)
+ {
+ /*
+@@ -1382,7 +1382,7 @@ inline int check_payload (struct buffer *buf, struct 
tunnel *t,
+ #endif
+ return 0;
+ }
+-inline int expand_payload (struct buffer *buf, struct tunnel *t,
++static inline int expand_payload (struct buffer *buf, struct tunnel *t,
+struct call *c)
+ {
+ /*
+@@ -1562,7 +1562,7 @@ void send_zlb (void *data)
+ toss (buf);
+ }
+
+-inline int write_packet (struct buffer *buf, struct tunnel *t, struct call *c,
++static inline int write_packet (struct buffer *buf, struct tunnel *t, struct 
call *c,
+  int convert)
+ {
+ /*
+diff --git a/misc.c b/misc.c
+index 3092401..af90dbf 100644
+--- a/misc.c
 b/misc.c
+@@ -170,7 +170,7 @@ void do_packet_dump (struct buffer *buf)
+ printf ("}\n");
+ }
+
+-inline void swaps (void *buf_v, int len)
++void swaps (void *buf_v, int len)
+ {
+ #ifdef 

Re: [oe] [PATCH] libart-lgpl: add (from oe-core)

2015-11-23 Thread Kang Kai

On 2015年04月14日 21:06, Ross Burton wrote:

Signed-off-by: Ross Burton 
---
  .../libart-lgpl/libart-lgpl/Makefile.am.patch  |   17 
  .../libart-lgpl/libart-lgpl/aarch64/art_config.h   |   10 +++
  .../libart-lgpl/libart-lgpl/aarch64be/art_config.h |   10 +++
  .../libart-lgpl/aarch64be_32/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/arm/art_config.h   |   10 +++
  .../libart-lgpl/libart-lgpl/armeb/art_config.h |   10 +++
  .../libart-lgpl/libart-lgpl/i386/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/i586/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/i686/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/mips/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/mips64/art_config.h|   10 +++
  .../libart-lgpl/libart-lgpl/mips64el/art_config.h  |   10 +++
  .../libart-lgpl/libart-lgpl/mipsel/art_config.h|   10 +++
  .../libart-lgpl/libart-lgpl/powerpc/art_config.h   |   10 +++
  .../libart-lgpl/libart-lgpl/powerpc64/art_config.h |   10 +++
  .../libart-lgpl/libart-lgpl/x86_64/art_config.h|   10 +++
  .../libart-lgpl/libart-lgpl_2.3.21.bb  |   28 
  17 files changed, 195 insertions(+)
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be_32/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/arm/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/armeb/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i386/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i586/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i686/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64el/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mipsel/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc64/art_config.h
  create mode 100644 
meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/x86_64/art_config.h
  create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl_2.3.21.bb


Hi Ross,

Would you like to tell my why made this copy from oe-core, please?

Thanks,
Kai




diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch 
b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
new file mode 100644
index 000..190ba96
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Inappropriate [configuration]
+
+Index: libart_lgpl-2.3.21/Makefile.am
+===
+--- libart_lgpl-2.3.21.orig/Makefile.am2009-04-18 05:29:25.0 
-0700
 libart_lgpl-2.3.21/Makefile.am 2010-11-23 23:12:32.445450075 -0800
+@@ -7,8 +7,8 @@
+
+ BUILT_SOURCES = art_config.h
+
+-art_config.h:
+-  ./gen_art_config.sh > art_config.h
++#art_config.h:
++# ./gen_art_config.sh > art_config.h
+
+ EXTRA_DIST =  \
+   libart.def  \
diff --git 
a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h 
b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
new file mode 100644
index 000..500ffc3
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 8
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git 
a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h 
b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
new file mode 100644
index 000..500ffc3
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
@@ -0,0 +1,10 @@
+/* Automatically generated by gen_art_config.c */
+
+#define ART_SIZEOF_CHAR 1
+#define ART_SIZEOF_SHORT 2
+#define ART_SIZEOF_INT 4
+#define ART_SIZEOF_LONG 8
+
+typedef unsigned char art_u8;
+typedef unsigned short art_u16;
+typedef unsigned int art_u32;
diff --git 

Re: [oe] [meta-oe][PATCH] libsmi: add configure file

2015-11-08 Thread Kang Kai

On 2015年11月07日 01:05, Martin Jansa wrote:

On Wed, Nov 04, 2015 at 05:46:36PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Add configure file duplicated from file smi.conf-example in source code
and replace paths with mibs files directories.

Then set libsmi-mibs as runtime recommend package to provide mibs files.

Add homepage and update SRC_URI as well.

Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/libsmi/libsmi/smi.conf | 48 ++
  meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | 12 ++-
  2 files changed, 59 insertions(+), 1 deletion(-)
  create mode 100644 meta-oe/recipes-support/libsmi/libsmi/smi.conf

diff --git a/meta-oe/recipes-support/libsmi/libsmi/smi.conf 
b/meta-oe/recipes-support/libsmi/libsmi/smi.conf
new file mode 100644
index 000..7e4da86
--- /dev/null
+++ b/meta-oe/recipes-support/libsmi/libsmi/smi.conf
@@ -0,0 +1,48 @@
+#
+# smi.conf - Global/User SMI configuration file. (EXAMPLE)
+#
+# Copyright (c) 2000 Frank Strauss, Technical University of Braunschweig.
+#
+# See the file "COPYING" for information on usage and redistribution
+# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+#
+# @(#) $Id: smi.conf-example 1134 2001-06-11 09:59:13Z strauss $
+#
+#
+# See smi_config(3) for detailed information on configuration files.
+#
+
+# Extend (note the semicolon) the libsmi default module search path.
+path :/usr/share/mibs/iana
+path :/usr/share/mibs/ietf
+path :/usr/share/mibs/irtf
+path :/usr/share/mibs/tubs
+
+# EXPERIMENTAL: Add a caching method (works only on UNIX systems).
+# NOTE: the cache directory must exist and permissions must be
+# handled appropriately. A simple but insecure way is to apply
+# a tmp flag to the directory (chmod 1777 /usr/local/share/mibs/cache).
+#cache /usr/local/share/mibs/cache /usr/local/bin/smicache -d 
/usr/local/share/mibs/cache -p 
http://www.ibr.cs.tu-bs.de/projects/libsmi/smicache/
+
+# Don't show any errors by default.
+level 0
+
+# Preload some basic SMIv2 modules.
+load SNMPv2-SMI
+load SNMPv2-TC
+load SNMPv2-CONF
+
+# Make smilint shout loud to report all errors and warnings.
+smilint: level 9
+
+# But please don't claim about any names longer than 32 chars.
+# (note: this is the prefix of errors `namelength-32-module,
+#  -type, -object, -enumeration, and -bit)
+smilint: hide namelength-32
+
+# Preloading some more modules for special applications.
+tcpdump: load DISMAN-SCRIPT-MIB
+tcpdump: load IF-MIB
+
+smiquery: load IF-MIB
+
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb 
b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
index 2b036f9..e1af636 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
@@ -1,16 +1,26 @@
  SUMMARY = "A Library to Access SMI MIB Information"
+HOMEPAGE = "https://www.ibr.cs.tu-bs.de/projects/libsmi;
  
  LICENSE = "BSD"

  LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7"
  
-SRC_URI = "ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/${BP}.tar.gz;

+SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \
+   file://smi.conf \

4 spaces


+  "

Closing quote should be first character.

  
  SRC_URI[md5sum] = "760b6b1070738158708649ed2c63425e"

  SRC_URI[sha256sum] = 
"f048a5270f41bc88b0c3b0a8fe70ca4d716a46b531a0ecaaa87c462f49d74849"
  
  inherit autotools
  
+do_install_append () {

+   install -d ${D}${sysconfdir}
+   install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf

Sane layers are using consistent indentation with 4 spaces.

I've fixed this when cherry-picking to master.


Thanks. I'll follow the style next time.

--Kai




+}
+
  PACKAGES += "${PN}-mibs ${PN}-pibs"
  
  FILES_${PN}-mibs += "${datadir}/mibs"

  FILES_${PN}-pibs += "${datadir}/pibs"
+
+RRECOMMENDS_${PN} = "${BPN}-mibs"
--
2.6.1

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






--
Regards,
Neil | Kai Kang

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


[oe] [meta-multimedia][PATCH] vorbis-tools: fix CVE-2015-6749

2015-10-15 Thread Kang Kai

On 2015年10月16日 11:23, kai.k...@windriver.com wrote:

From: Kai Kang 

Backport patch to fix CVE-2015-6749 from:

https://trac.xiph.org/ticket/2212


Forgot layer info. Add it to title.

--Kai



Signed-off-by: Kai Kang 
---
  ...oggenc-Fix-large-alloca-on-bad-AIFF-input.patch | 49 ++
  .../vorbis-tools/vorbis-tools_1.4.0.bb |  4 +-
  2 files changed, 52 insertions(+), 1 deletion(-)
  create mode 100644 
meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch

diff --git 
a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch
 
b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch
new file mode 100644
index 000..b623dbf
--- /dev/null
+++ 
b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch
@@ -0,0 +1,49 @@
+Upstream-Status: Backport
+
+Backport patch to fix CVE-2015-6749 from:
+
+https://trac.xiph.org/ticket/2212
+
+Signed-off-by: Kai Kang 
+---
+From 04815d3e1bfae3a6cdfb2c25358a5a72b61299f7 Mon Sep 17 00:00:00 2001
+From: Mark Harris 
+Date: Sun, 30 Aug 2015 05:54:46 -0700
+Subject: [PATCH] oggenc: Fix large alloca on bad AIFF input
+
+Fixes #2212
+---
+ oggenc/audio.c | 10 +-
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/oggenc/audio.c b/oggenc/audio.c
+index 477da8c..4921fb9 100644
+--- a/oggenc/audio.c
 b/oggenc/audio.c
+@@ -245,8 +245,8 @@ static int aiff_permute_matrix[6][6] =
+ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen)
+ {
+ int aifc; /* AIFC or AIFF? */
+-unsigned int len;
+-unsigned char *buffer;
++unsigned int len, readlen;
++unsigned char buffer[22];
+ unsigned char buf2[8];
+ aiff_fmt format;
+ aifffile *aiff = malloc(sizeof(aifffile));
+@@ -269,9 +269,9 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char 
*buf, int buflen)
+ return 0; /* Weird common chunk */
+ }
+
+-buffer = alloca(len);
+-
+-if(fread(buffer,1,len,in) < len)
++readlen = len < sizeof(buffer) ? len : sizeof(buffer);
++if(fread(buffer,1,readlen,in) < readlen ||
++   (len > readlen && !seek_forward(in, len-readlen)))
+ {
+ fprintf(stderr, _("Warning: Unexpected EOF in reading AIFF 
header\n"));
+ return 0;
+--
+2.5.0
+
diff --git 
a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb 
b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
index a35dee6..2683555 100644
--- a/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
+++ b/meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb
@@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
  
  DEPENDS = "libogg libvorbis curl libao"
  
-SRC_URI = "http://downloads.xiph.org/releases/vorbis/${BP}.tar.gz;

+SRC_URI = "http://downloads.xiph.org/releases/vorbis/${BP}.tar.gz \
+   file://0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch \
+  "
  
  SRC_URI[md5sum] = "567e0fb8d321b2cd7124f8208b8b90e6"

  SRC_URI[sha256sum] = 
"a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc"



--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 1/2] efivar: 0.7 -> 0.21

2015-10-12 Thread Kang Kai

On 2015年10月10日 11:31, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade efivar from 0.7 to 0.21.

* update HOMEPAGE and git repo.
* update license file checksum. It made FSF addresses in COPYING be URLs.
   Ref: https://github.com/rhinstaller/efivar/commit/ca88012
* add -native recipe to provide command makeguids
   and add patch for target package to use this native makeguids command
* add patch to build efivar-native with lower version gcc which doesn't
   support options '-Wmaybe-uninitialized' and '-std=gnu11'

Signed-off-by: Kai Kang 
---
  .../efivar/0001-efivar-fix-for-cross-compile.patch | 31 ++
  ...ptions-not-supported-by-lower-version-gcc.patch | 71 ++
  .../efivar/{efivar_git.bb => efivar_0.21.bb}   | 23 +--
  3 files changed, 119 insertions(+), 6 deletions(-)
  create mode 100644 
meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
  create mode 100644 
meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
  rename meta-oe/recipes-extended/efivar/{efivar_git.bb => efivar_0.21.bb} (27%)

diff --git 
a/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
 
b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
new file mode 100644
index 000..4bd7d95
--- /dev/null
+++ 
b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
@@ -0,0 +1,31 @@
+From 7036e8b0dca61432970789e5397b6fb02b362c2b Mon Sep 17 00:00:00 2001
+From: Kai Kang 
+Date: Fri, 25 Sep 2015 18:14:31 +0800
+Subject: [PATCH] efivar: fix for cross compile
+
+It builds and calls elf file makeguids to generate a header file which
+doesn't work for cross compile. Fix it.
+
+Signed-off-by: Kai Kang 
+---
+ src/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 6eac858..ef4eb1d 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -65,8 +65,8 @@ makeguids.o : makeguids.c
+ makeguids : makeguids.o fakeguid.o
+   $(CC) $(cflags) -o $@ $^ -ldl
+
+-include/efivar/efivar-guids.h : makeguids guids.txt
+-  ./makeguids guids.txt guids.bin names.bin guid-symbols.S $@
++include/efivar/efivar-guids.h : guids.txt
++  makeguids guids.txt guids.bin names.bin guid-symbols.S $@
+
+ guidlist.o : guids.S include/efivar/efivar-guids.h
+   $(CC) $(cflags) -c -o guidlist.o guids.S
+--
+2.6.0.rc2.10.gf4d9753
+
diff --git 
a/meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
 
b/meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
new file mode 100644
index 000..7f04b19
--- /dev/null
+++ 
b/meta-oe/recipes-extended/efivar/efivar/efivar-drop-options-not-supported-by-lower-version-gcc.patch
@@ -0,0 +1,71 @@
+gcc options '-Wmaybe-uninitialized' and '-std=gnu11' are not recognized by gcc
+whose version is lower than 4.6, such as on Ubuntu 12.04. Drop them for 
backward
+compatible.
+
+Upstream-Status: Pending
+
+Signed-off-by: Kai Kang 
+---
+diff --git a/Make.defaults b/Make.defaults
+index cc2baa9..118ae56 100644
+--- a/Make.defaults
 b/Make.defaults
+@@ -10,10 +10,9 @@ CFLAGS  ?= -O2 -g
+
+ ARCH = $(shell uname -m)
+ clang_cflags =
+-gcc_cflags = -Wmaybe-uninitialized
+ cflags:= $(CFLAGS) \
+   -Werror -Wall -Wsign-compare -Wstrict-aliasing \
+-  -std=gnu11 -fshort-wchar -fPIC \
++  -fshort-wchar -fPIC \
+   -fvisibility=hidden \
+   -D_GNU_SOURCE -I${TOPDIR}/src/include/efivar/ \
+   $(if $(filter $(CC),clang),$(clang_cflags),) \
+diff --git a/src/guid.h b/src/guid.h
+index 9542ee1..0817991 100644
+--- a/src/guid.h
 b/src/guid.h
+@@ -31,7 +31,8 @@ static inline int
+ real_isspace(char c)
+ {
+   char spaces[] = " \f\n\r\t\v";
+-  for (int i = 0; spaces[i] != '\0'; i++)
++  int i;
++  for (i = 0; spaces[i] != '\0'; i++)
+   if (c == spaces[i])
+   return 1;
+   return 0;
+@@ -59,7 +60,8 @@ check_sanity(const char *text, size_t len)
+ static inline int
+ check_segment_sanity(const char *text, size_t len)
+ {
+-  for(unsigned int i = 0; i < len; i++) {
++  unsigned int i;
++  for(i = 0; i < len; i++) {
+   if (text[i] >= '0' && text[i] <= '9')
+   continue;
+   /* "| 0x20" is tolower() without having to worry about
+diff --git a/src/makeguids.c b/src/makeguids.c
+index e9acf15..7e16cb2 100644
+--- a/src/makeguids.c
 b/src/makeguids.c
+@@ -150,7 +150,8 @@ main(int argc, char *argv[])
+
+   fprintf(header, "#ifndef EFIVAR_GUIDS_H\n#define EFIVAR_GUIDS_H 1\n\n");
+
+-  for (unsigned int i = 0; i < line-1; i++) {
++  unsigned int i, j;
++  for (i = 0; i < line-1; i++) {
+   if (!strcmp(outbuf[i].symbol, 

Re: [oe] [PATCH 1/2] efivar: 0.7 -> 0.21

2015-10-09 Thread Kang Kai

On 2015年10月09日 16:50, Martin Jansa wrote:

There is no gcc-native recipe.


There are 2 options that the old gcc can NOT recognize: 
'-Wmaybe-uninitialized' and '-std=gnu11'


I think we can drop them and use default value of option '-std=' only 
for native package.


It needs some tiny fixes for C99 mode:

| guid.h:34:2: error: 'for' loop initial declarations are only allowed 
in C99 mode


I'll send the V3 pull request if no objection.

Thanks,
Kai




On Fri, Oct 9, 2015 at 9:20 AM, Khem Raj  wrote:


On Oct 8, 2015, at 2:59 AM, Martin Jansa  wrote:

On Tue, Sep 29, 2015 at 03:04:49PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade efivar from 0.7 to 0.21.

* update HOMEPAGE and git repo.
* add -native recipe to provide command makeguids
  and add patch for target package to use this native makeguids command

-native version is failing on hosts with older gcc (like Ubuntu 12.04
with 4.6*).

http://errors.yoctoproject.org/Errors/Details/20231/

may be use gcc-native ?


Signed-off-by: Kai Kang 
---
.../efivar/0001-efivar-fix-for-cross-compile.patch | 31

++

meta-oe/recipes-extended/efivar/efivar_0.21.bb | 28

+++

meta-oe/recipes-extended/efivar/efivar_git.bb  | 18 -
3 files changed, 59 insertions(+), 18 deletions(-)
create mode 100644

meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch

create mode 100644 meta-oe/recipes-extended/efivar/efivar_0.21.bb
delete mode 100644 meta-oe/recipes-extended/efivar/efivar_git.bb

diff --git

a/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch

new file mode 100644
index 000..4bd7d95
--- /dev/null
+++

b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch

@@ -0,0 +1,31 @@
+From 7036e8b0dca61432970789e5397b6fb02b362c2b Mon Sep 17 00:00:00 2001
+From: Kai Kang 
+Date: Fri, 25 Sep 2015 18:14:31 +0800
+Subject: [PATCH] efivar: fix for cross compile
+
+It builds and calls elf file makeguids to generate a header file which
+doesn't work for cross compile. Fix it.
+
+Signed-off-by: Kai Kang 
+---
+ src/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 6eac858..ef4eb1d 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -65,8 +65,8 @@ makeguids.o : makeguids.c
+ makeguids : makeguids.o fakeguid.o
+$(CC) $(cflags) -o $@ $^ -ldl
+
+-include/efivar/efivar-guids.h : makeguids guids.txt
+-   ./makeguids guids.txt guids.bin names.bin guid-symbols.S $@
++include/efivar/efivar-guids.h : guids.txt
++   makeguids guids.txt guids.bin names.bin guid-symbols.S $@
+
+ guidlist.o : guids.S include/efivar/efivar-guids.h
+$(CC) $(cflags) -c -o guidlist.o guids.S
+--
+2.6.0.rc2.10.gf4d9753
+
diff --git a/meta-oe/recipes-extended/efivar/efivar_0.21.bb

b/meta-oe/recipes-extended/efivar/efivar_0.21.bb

new file mode 100644
index 000..2e3b643
--- /dev/null
+++ b/meta-oe/recipes-extended/efivar/efivar_0.21.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Tools to manipulate UEFI variables"
+DESCRIPTION = "efivar provides a simple command line interface to the

UEFI variable facility"

+HOMEPAGE = "https://github.com/rhinstaller/efivar;
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393"

+
+DEPENDS_class-target = "popt efivar-native"
+
+SRCREV = "aab6c2a64d90b6e5a63661fb5bd6be8d878b0784"
+SRC_URI = "git://github.com/rhinstaller/efivar.git"
+SRC_URI_append_class-target = "

file://0001-efivar-fix-for-cross-compile.patch"

+
+S = "${WORKDIR}/git"
+
+do_install() {
+oe_runmake install DESTDIR=${D}
+}
+
+do_compile_class-native() {
+oe_runmake -C src makeguids
+}
+
+do_install_class-native() {
+install -D ${B}/src/makeguids ${D}${bindir}/makeguids
+}
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-extended/efivar/efivar_git.bb

b/meta-oe/recipes-extended/efivar/efivar_git.bb

deleted file mode 100644
index 18446a0..000
--- a/meta-oe/recipes-extended/efivar/efivar_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Tools to manipulate UEFI variables"
-DESCRIPTION = "efivar provides a simple command line interface to the

UEFI variable facility"

-HOMEPAGE = "https://github.com/vathpela/efivar;
-
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM =

"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"

-
-DEPENDS = "popt"
-
-SRCREV = "c9e1f24a81b5374408bca5616402276e47171cf7"
-PV = "0.7+git${SRCPV}"
-SRC_URI = "git://github.com/vathpela/efivar.git"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-oe_runmake install DESTDIR=${D}
-}
--
2.6.0.rc2.10.gf4d9753


--
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
--
___
Openembedded-devel mailing list

Re: [oe] [meta-oe][PATCH 0/2] V2: Upgrade efivar and efibootmgr

2015-09-30 Thread Kang Kai

On 2015年09月29日 15:04, kai.k...@windriver.com wrote:

From: Kai Kang 

Hi Martin,

V2 only affects efivar commit:
* update git repo - the previous repo uri is a clone of the official repo
* add efivar-native package to provide command makeguids for efivar to avoid 
cross compile issue


Forgot add option '-M' for 'git format-patch', will resend it.

--Kai



Kai Kang (2):
   efivar: 0.7 -> 0.21
   efibootmgr: 0.6.0 -> 0.12

  .../recipes-extended/efibootmgr/efibootmgr_0.12.bb | 27 +++
  .../efibootmgr/efibootmgr_0.6.0.bb | 26 --
  .../efibootmgr/files/docbook-fixes.patch   | 28 ---
  .../files/w-keep-existing-mbr-signature.patch  | 26 --
  .../efivar/0001-efivar-fix-for-cross-compile.patch | 31 ++
  meta-oe/recipes-extended/efivar/efivar_0.21.bb | 28 +++
  meta-oe/recipes-extended/efivar/efivar_git.bb  | 18 -
  7 files changed, 86 insertions(+), 98 deletions(-)
  create mode 100644 meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb
  delete mode 100644 meta-oe/recipes-extended/efibootmgr/efibootmgr_0.6.0.bb
  delete mode 100644 
meta-oe/recipes-extended/efibootmgr/files/docbook-fixes.patch
  delete mode 100644 
meta-oe/recipes-extended/efibootmgr/files/w-keep-existing-mbr-signature.patch
  create mode 100644 
meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch
  create mode 100644 meta-oe/recipes-extended/efivar/efivar_0.21.bb
  delete mode 100644 meta-oe/recipes-extended/efivar/efivar_git.bb




--
Regards,
Neil | Kai Kang

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


Re: [oe] [PATCH 1/2] efivar: 0.7 -> 0.21

2015-09-23 Thread Kang Kai

On 2015年09月23日 22:08, Martin Jansa wrote:

On Tue, Sep 08, 2015 at 05:31:47PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Upgrade efivar from 0.7 to 0.21.

* update HOMEPAGE

Fails to build in world http://errors.yoctoproject.org/Errors/Details/18426/


I'll check it. Thanks.

--Kai




Signed-off-by: Kai Kang 
---
  meta-oe/recipes-extended/efivar/efivar_git.bb | 8 
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-extended/efivar/efivar_git.bb 
b/meta-oe/recipes-extended/efivar/efivar_git.bb
index 18446a0..bf2e6d2 100644
--- a/meta-oe/recipes-extended/efivar/efivar_git.bb
+++ b/meta-oe/recipes-extended/efivar/efivar_git.bb
@@ -1,14 +1,14 @@
  SUMMARY = "Tools to manipulate UEFI variables"
  DESCRIPTION = "efivar provides a simple command line interface to the UEFI 
variable facility"
-HOMEPAGE = "https://github.com/vathpela/efivar;
+HOMEPAGE = "https://github.com/rhinstaller/efivar;
  
  LICENSE = "LGPLv2.1"

-LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393"
  
  DEPENDS = "popt"
  
-SRCREV = "c9e1f24a81b5374408bca5616402276e47171cf7"

-PV = "0.7+git${SRCPV}"
+SRCREV = "aab6c2a64d90b6e5a63661fb5bd6be8d878b0784"
+PV = "0.21+git${SRCPV}"
  SRC_URI = "git://github.com/vathpela/efivar.git"
  
  S = "${WORKDIR}/git"

--
1.9.1

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






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-oe][PATCH] p11-kit: remove from meta-oe

2015-09-23 Thread Kang Kai

On 2015年09月23日 21:47, Martin Jansa wrote:

On Wed, Sep 23, 2015 at 05:04:04PM +0800, kai.k...@windriver.com wrote:

From: Kai Kang 

Remove p11-kit from meta-oe that there is a newer version in oe-core.

Duplicates:
commit ad2932486ddf37b28fade4f4fd12c0c3fdb6df7a
Author: Alexander Kanavin 
Date:   Mon Sep 14 15:26:44 2015 +0300

 p11-kit: remove the recipe due to its move to oe-core

which was already in master-next and now is in master.


Got it. Thanks

--Kai




Signed-off-by: Kai Kang 
---
  meta-oe/recipes-support/p11-kit/p11-kit_0.19.1.bb | 18 --
  1 file changed, 18 deletions(-)
  delete mode 100644 meta-oe/recipes-support/p11-kit/p11-kit_0.19.1.bb

diff --git a/meta-oe/recipes-support/p11-kit/p11-kit_0.19.1.bb 
b/meta-oe/recipes-support/p11-kit/p11-kit_0.19.1.bb
deleted file mode 100644
index e0ebe7d..000
--- a/meta-oe/recipes-support/p11-kit/p11-kit_0.19.1.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
-
-inherit autotools gettext pkgconfig
-
-DEPENDS = "libtasn1 libffi"
-
-SRC_URI = "http://p11-glue.freedesktop.org/releases/${BP}.tar.gz;
-SRC_URI[md5sum] = "d96046ab6ac00d005342caf416ed76ab"
-SRC_URI[sha256sum] = 
"94fbed372c11d0a404762aad966e54eb4f44c1d5b871a1b79a1a3b4cf36ed256"
-
-FILES_${PN}-dev += " \
-${libdir}/p11-kit-proxy.so \
-${libdir}/pkcs11/p11-kit-trust.so \
-"
-FILES_${PN}-dev += "${libdir}/pkcs11/*.la"
-FILES_${PN}-dbg += "${libdir}/pkcs11/.debug"
--
2.4.1

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






--
Regards,
Neil | Kai Kang

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


Re: [oe] [meta-networking][PATCH] xl2tpd: 1.3.0 -> 1.3.6

2015-09-22 Thread Kang Kai

On 2015年09月22日 02:39, Joe MacDonald wrote:

Hi Kai,

[[oe] [meta-networking][PATCH] xl2tpd: 1.3.0 -> 1.3.6] On 15.09.18 (Fri 17:14) 
kai.k...@windriver.com wrote:


From: Kai Kang 

Upgrade xl2tpd v1.3.0-46-gdf7e30e to 1.3.6.

* drop PR
* add patch to fix build failure with gcc 5.x

Signed-off-by: Kai Kang 
---
  .../recipes-protocols/xl2tpd/xl2tpd.inc|   2 -
  .../fix-inline-functions-errors-with-gcc-5.x.patch | 116 +
  .../recipes-protocols/xl2tpd/xl2tpd_1.3.6.bb   |   5 +
  .../recipes-protocols/xl2tpd/xl2tpd_git.bb |   5 -
  4 files changed, 121 insertions(+), 7 deletions(-)
  create mode 100644 
meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
  create mode 100644 meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.6.bb
  delete mode 100644 meta-networking/recipes-protocols/xl2tpd/xl2tpd_git.bb

diff --git a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
index 1a72fd1..03a1a0b 100644
--- a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
+++ b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc
@@ -6,8 +6,6 @@ DEPENDS = "ppp virtual/kernel"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3"
  
-INC_PR = "r0"

-
  SRC_URI = "git://github.com/xelerance/xl2tpd.git"
  
  S = "${WORKDIR}/git"

diff --git 
a/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
new file mode 100644
index 000..dc78f02
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
@@ -0,0 +1,116 @@
+Upstream-Status: Pending
+
+GCC 5.x defaults to -std=gnu11 instead of -std=gnu89. The semantics for
+inline functions changes which causes build failures such as:
+
+| misc.h:68:20: warning: inline function 'swaps' declared but never defined
+|  extern inline void swaps (void *, int);
+|  ^
+
+and
+
+| control.c:1717: undefined reference to `check_control'
+
+Fix them by:
+1 drop 'inline' attribute for function swap()

The question about whether 'inline' belongs in a .c file or not aside
(that's obviously not your department, that's how it is in the original
code), why is swaps() treated differently than every other function?  If
the compiler really needed to be told 'inline' on all of these, this
just ensures that swaps() is never inlined.  Is that your intent?


For the functions except swap(), they are not referred by other .c 
files. So they are not needed to be exported and can be mark as static 
inline.


For swap(), it is referred by other .c files. It must be exported.

But the semantics for inline functions changes from gcc 4.x to gcc 5.x. 
GCC 5 defaults to -std=gnu11 instead of -std=gnu89.
While|-std=gnu89|employs the GNU89 inline semantics,|-std=gnu11|uses the 
C99 inline semantics.


 * C99|inline|: No externally visible function is generated. If the
   function is referenced in this TU, an external definition has to
   exist in another TU; same as GNU89|extern inline|with no redefinition.
 * C99|extern inline|: An externally visible function is generated;
   same as GNU89|inline|.
 * GNU89|inline|: Same as C99|extern inline|.
 * GNU89|extern inline|: No externally visible function is generated;
   no equivalent in C99, because redefinition is not permitted.


There are not same meaning of  'extern inline'. For compatible with gcc 
4.x, I choose to remove the inline attribution from function swap().


Ref:
https://gcc.gnu.org/gcc-5/porting_to.html


Regards,
Kai



-J.


+2 replace 'inline' with 'static inline' for other functions
+
+Signed-off-by: Kai Kang 
+---
+ control.c | 8 
+ misc.c| 2 +-
+ misc.h| 2 +-
+ network.c | 4 ++--
+ 4 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/control.c b/control.c
+index 134a7bf..0ef505b 100644
+--- a/control.c
 b/control.c
+@@ -1139,7 +1139,7 @@ int control_finish (struct tunnel *t, struct call *c)
+ return 0;
+ }
+
+-inline int check_control (const struct buffer *buf, struct tunnel *t,
++static inline int check_control (const struct buffer *buf, struct tunnel *t,
+   struct call *c)
+ {
+ /*
+@@ -1275,7 +1275,7 @@ inline int check_control (const struct buffer *buf, 
struct tunnel *t,
+ return 0;
+ }
+
+-inline int check_payload (struct buffer *buf, struct tunnel *t,
++static inline int check_payload (struct buffer *buf, struct tunnel *t,
+   struct call *c)
+ {
+ /*
+@@ -1381,7 +1381,7 @@ inline int check_payload (struct buffer *buf, struct 
tunnel *t,
+ #endif
+ return 0;
+ }
+-inline int expand_payload (struct buffer *buf, struct tunnel *t,
++static inline int expand_payload (struct buffer *buf, 

Re: [oe] [PATCH] inetutils: add package config pam

2015-09-15 Thread Kang Kai

On 2015年09月14日 21:59, Joe MacDonald wrote:

[Re: [oe] [PATCH] inetutils: add package config pam] On 15.09.14 (Mon 11:29) 
Kang Kai wrote:


On 2015年09月07日 11:20, Kang Kai wrote:

On 2015年08月20日 16:43, kai.k...@windriver.com wrote:

From: Kai Kang <kai.k...@windriver.com>

Add package config pam for inetutils. And only check pam_appl.h when pam
is enabled.

Ping.

Any comment on this patch? Thanks.

Other than it got missed from my processing queue because it didn't have
meta-networking in the subject?  Nope.  :-)


Sorry about that. Will be more careful next time.

Thanks.
Kai




Someone else mentioned it to me on IRC on Friday so I've now found it
and it'll get merged today I expect unless something scary shakes out of
it.

-J.




Signed-off-by: Kai Kang <kai.k...@windriver.com>
---
  ...ls-only-check-pam_appl.h-when-pam-enabled.patch | 40
++
  .../inetutils/inetutils_1.9.4.bb   |  6 +++-
  2 files changed, 45 insertions(+), 1 deletion(-)
  create mode 100644 
meta-networking/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch

diff --git 
a/meta-networking/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch
 
b/meta-networking/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch

new file mode 100644
index 000..ff3abd8
--- /dev/null
+++ 
b/meta-networking/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch
@@ -0,0 +1,40 @@
+Only check security/pam_appl.h which is provided by package libpam when
pam is
+enabled.
+
+Upstream-Status: Pending
+
+Signed-off-by: Kai Kang <kai.k...@windriver.com>
+---
+diff --git a/configure.ac b/configure.ac
+index b35e672..e78a751 100644
+--- a/configure.ac
 b/configure.ac
+@@ -195,6 +195,19 @@ fi
+
+ # See if we have libpam.a.  Investigate PAM versus Linux-PAM.
+ if test "$with_pam" = yes ; then
++  AC_CHECK_HEADERS([security/pam_appl.h], [], [], [
++#include 
++#ifdef HAVE_NETINET_IN_SYSTM_H
++# include 
++#endif
++#include 
++#ifdef HAVE_NETINET_IP_H
++# include 
++#endif
++#ifdef HAVE_SYS_PARAM_H
++# include 
++#endif
++])
+   AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl)
+   AC_CHECK_LIB(pam, pam_authenticate, LIBPAM=-lpam)
+   if test "$ac_cv_lib_pam_pam_authenticate" = yes ; then
+@@ -587,7 +600,7 @@ AC_HEADER_DIRENT
+ AC_CHECK_HEADERS([arpa/nameser.h errno.h fcntl.h features.h \
+   glob.h memory.h netinet/ether.h netinet/in_systm.h \
+   netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \
+-  security/pam_appl.h shadow.h \
++  shadow.h \
+   stdarg.h stdlib.h string.h stropts.h sys/tty.h \
+   sys/utsname.h sys/ptyvar.h sys/msgbuf.h sys/filio.h \
+   sys/ioctl_compat.h sys/cdefs.h sys/stream.h sys/mkdev.h \
diff --git
a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
index db07cd6..adfc940 100644
--- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
+++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb
@@ -19,6 +19,7 @@ SRC_URI =
"${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
 file://telnet.xinetd.inetutils \
 file://tftpd.xinetd.inetutils \
 file://inetutils-1.9-PATH_PROCNET_DEV.patch \
+ file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \
  "
SRC_URI[md5sum] = "04852c26c47cc8c6b825f2b74f191f52"
@@ -29,9 +30,12 @@ inherit autotools gettext update-alternatives texinfo
  SRC_URI += "${@base_contains('DISTRO_FEATURES', 'ipv6', '',
'file://fix-disable-ipv6.patch', d)}"
  noipv6="${@base_contains('DISTRO_FEATURES', 'ipv6', '',
'--disable-ipv6 gl_cv_socket_ipv6=no', d)}"
  -PACKAGECONFIG ??= "ftp uucpd"
+PACKAGECONFIG ??= "ftp uucpd \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'pam',
'pam', '', d)} \
+  "
  PACKAGECONFIG[ftp] = "--enable-ftp,--disable-ftp,readline"
  PACKAGECONFIG[uucpd] = "--enable-uucpd,--disable-uucpd,readline"
+PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
  ${noipv6} \









--
Regards,
Neil | Kai Kang

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


  1   2   >