public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/3] meta: 3 fixes
@ 2015-01-03 14:39 Robert Yang
  2015-01-03 14:39 ` [PATCH 1/3] cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS Robert Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Robert Yang @ 2015-01-03 14:39 UTC (permalink / raw)
  To: openembedded-core

Hello,
For the first patch:
cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS

I'm not sure what changes recently cause I meet the error, does anyone
have any idea, please ?

// Robert

The following changes since commit 24f19fedb40d0af84beb8e9a6595ea06f09d4615:

  gstreamer1.0-omx: use mulitple SCMs to fetch submodules (2014-12-31 08:22:53 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rtb/3fixes

Robert Yang (3):
  cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS
  cups: check avahi before use it
  cogl: enable egl-x11 when build with x11

 meta/classes/cpan-base.bbclass                     |    4 +--
 meta/recipes-extended/cups/cups.inc                |    1 +
 ...1-test-ippserver.c-check-avahi-before-use.patch |   34 ++++++++++++++++++++
 meta/recipes-graphics/cogl/cogl-1.0.inc            |    6 ++--
 4 files changed, 41 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-extended/cups/cups/0001-test-ippserver.c-check-avahi-before-use.patch

-- 
1.7.9.5



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

* [PATCH 1/3] cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS
  2015-01-03 14:39 [PATCH 0/3] meta: 3 fixes Robert Yang
@ 2015-01-03 14:39 ` Robert Yang
  2015-01-03 14:39 ` [PATCH 2/3] cups: check avahi before use it Robert Yang
  2015-01-03 14:39 ` [PATCH 3/3] cogl: enable egl-x11 when build with x11 Robert Yang
  2 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-01-03 14:39 UTC (permalink / raw)
  To: openembedded-core

The immediate assignment:
PERLLIBDIRS := "${@perl_get_libdirs(d)}"

may cause PERLLIBDIRS get wrong values when multilib, for example, when
the default target arch is x86_64 (/usr/lib64), and mutilib is lib32
(/usr/lib), the ":=" would cause lib32-BPN's PERLLIBDIRS to be
/usr/lib64, and lead to build errors.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/cpan-base.bbclass |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass
index d9817ba..0860bee 100644
--- a/meta/classes/cpan-base.bbclass
+++ b/meta/classes/cpan-base.bbclass
@@ -42,8 +42,8 @@ def is_target(d):
         return "yes"
     return "no"
 
-PERLLIBDIRS := "${@perl_get_libdirs(d)}"
-PERLVERSION := "${@get_perl_version(d)}"
+PERLLIBDIRS = "${@perl_get_libdirs(d)}"
+PERLVERSION = "${@get_perl_version(d)}"
 PERLVERSION[vardepvalue] = ""
 
 FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
-- 
1.7.9.5



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

* [PATCH 2/3] cups: check avahi before use it
  2015-01-03 14:39 [PATCH 0/3] meta: 3 fixes Robert Yang
  2015-01-03 14:39 ` [PATCH 1/3] cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS Robert Yang
@ 2015-01-03 14:39 ` Robert Yang
  2015-01-03 14:39 ` [PATCH 3/3] cogl: enable egl-x11 when build with x11 Robert Yang
  2 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-01-03 14:39 UTC (permalink / raw)
  To: openembedded-core

Fixed the error when --disable-avahi:
ippserver.c:425:8: error: unknown type name 'AvahiThreadedPoll'

The avahi is optional, we need check whether it is enabled before use as
other code does.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/cups/cups.inc                |    1 +
 ...1-test-ippserver.c-check-avahi-before-use.patch |   34 ++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 meta/recipes-extended/cups/cups/0001-test-ippserver.c-check-avahi-before-use.patch

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 16fdd4f..5ff557a 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -10,6 +10,7 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
            file://cups.socket \
            file://cups.path \
            file://cups.service \
+           file://0001-test-ippserver.c-check-avahi-before-use.patch \
 	  "
 
 LEAD_SONAME = "libcupsdriver.so"
diff --git a/meta/recipes-extended/cups/cups/0001-test-ippserver.c-check-avahi-before-use.patch b/meta/recipes-extended/cups/cups/0001-test-ippserver.c-check-avahi-before-use.patch
new file mode 100644
index 0000000..4bcff69
--- /dev/null
+++ b/meta/recipes-extended/cups/cups/0001-test-ippserver.c-check-avahi-before-use.patch
@@ -0,0 +1,34 @@
+From fba92768324e76fa60d9c5f709e045bd4f7aee89 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Sat, 3 Jan 2015 05:56:24 +0000
+Subject: [PATCH] test/ippserver.c: check avahi before use it
+
+Fixed the error when --disable-avahi:
+ippserver.c:425:8: error: unknown type name 'AvahiThreadedPoll'
+
+The avahi is optional, we need check whether it is enabled before use as
+other code does.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ test/ippserver.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/ippserver.c b/test/ippserver.c
+index c785e5f..26c8a66 100644
+--- a/test/ippserver.c
++++ b/test/ippserver.c
+@@ -421,7 +421,7 @@ static int		valid_job_attributes(_ipp_client_t *client);
+ 
+ #  ifdef HAVE_DNSSD
+ static DNSServiceRef	DNSSDMaster = NULL;
+-#  else /* HAVE_AVAHI */
++#  elif defined(HAVE_AVAHI) /* HAVE_AVAHI */
+ static AvahiThreadedPoll *DNSSDMaster = NULL;
+ static AvahiClient	*DNSSDClient = NULL;
+ #  endif /* HAVE_DNSSD */
+-- 
+2.0.1
+
-- 
1.7.9.5



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

* [PATCH 3/3] cogl: enable egl-x11 when build with x11
  2015-01-03 14:39 [PATCH 0/3] meta: 3 fixes Robert Yang
  2015-01-03 14:39 ` [PATCH 1/3] cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS Robert Yang
  2015-01-03 14:39 ` [PATCH 2/3] cups: check avahi before use it Robert Yang
@ 2015-01-03 14:39 ` Robert Yang
  2 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-01-03 14:39 UTC (permalink / raw)
  To: openembedded-core

Fixed clutter-1.0 compile error when build with x11:
clutter-backend-eglnative.h:31:27: fatal error: cogl/cogl-egl.h: No such file or directory
 #include <cogl/cogl-egl.h>
compilation terminated.

We need enable egl-x11 when x11 as we enable egl-wayland when wayland.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-graphics/cogl/cogl-1.0.inc |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index b763dd5..cc51bb4 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -42,7 +42,7 @@ PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,${EDEPENDS_GLES2}, ${ERDE
 # EGL backends
 PACKAGECONFIG[egl-kms] = "--enable-kms-egl-platform,--disable-kms-egl-platform,${EDEPENDS_KMS}"
 PACKAGECONFIG[egl-null] = "--enable-null-egl-platform,--disable-null-egl-platform"
-PACKAGECONFIG[egl-x11] = "--enable-xlib-egl-platform,--disable-xlib-egl-platform,${EDEPENDS_X11}"
+PACKAGECONFIG[egl-x11] = "--enable-xlib-egl-platform,--disable-xlib-egl-platform,${EDEPENDS_X11} ${EDEPENDS_EGL}"
 PACKAGECONFIG[egl-wayland] = "--enable-wayland-egl-platform,--disable-wayland-egl-platform,${EDEPENDS_WAYLAND}"
 
 # Wayland (server-side)
@@ -55,7 +55,9 @@ PACKAGECONFIG[cogl-pango] = "--enable-cogl-pango,--disable-cogl-pango,pango"
 # default.
 PACKAGECONFIG ??= "cogl-pango gles2 \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \
-                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx', '', d)}"
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx egl-x11', '', d)} \
+                   "
+
 
 FILES_${PN}-examples = "${bindir}/* ${datadir}/cogl/examples-data/*"
 FILES_libcogl = "${libdir}/libcogl${SOLIBS}"
-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2015-02-03  1:22 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-02-03  1:22 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 818bcba063819b80d5a99827c5adb8ee157dbfe1:

  build-appliance-image: Update to master head revision (2015-02-02 14:57:40 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  valgrind: depends on boost when ptest
  gcc-configure-common.inc: remove ac_cv_path_SED
  binconfig-disabled.bbclass: fix echo command

 meta/classes/binconfig-disabled.bbclass            |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    1 -
 meta/recipes-devtools/valgrind/valgrind_3.10.1.bb  |    4 +++-
 3 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2015-04-01  7:52 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-04-01  7:52 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit e6aab245623b6ba1ca5f06632d1028c863cef737:

  image_types: Add missing ext4 support (2015-03-31 22:38:50 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  piglit: add PACKAGECONFIG for freeglut
  db: fix parallel issue
  glibc: fix a tpo

 .../glibc/glibc/elf-Makefile-fix-a-typo.patch      |   36 ++++++++++++++++++++
 meta/recipes-core/glibc/glibc_2.21.bb              |    1 +
 meta/recipes-graphics/piglit/piglit_git.bb         |    3 ++
 ...akefile-let-libso_target-depend-on-bt_rec.patch |   30 ++++++++++++++++
 meta/recipes-support/db/db_6.0.30.bb               |    1 +
 5 files changed, 71 insertions(+)
 create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch
 create mode 100644 meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch

-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2015-07-13 10:02 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-07-13 10:02 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit e6f66370c6ce15aca18ef64491bab3dc92b80c57:

  classes/sstate.bbclass: Improve checkstatus using connection cache. (2015-07-12 22:53:22 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  glibc: print PN when bbwarn
  dbus-ptest: set INSANE_SKIP for build-deps
  gnu-config: set noexec for do_compile

 meta/recipes-core/dbus/dbus.inc                    |    2 ++
 meta/recipes-core/glibc/glibc_2.21.bb              |    3 ++-
 .../gnu-config/gnu-config_20120814.bb              |    4 +---
 3 files changed, 5 insertions(+), 4 deletions(-)

-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2015-09-16  7:52 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2015-09-16  7:52 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit f0189829498e30231d826c9f55aad73e622d076e:

  qemu: Update to upstream patches (2015-09-14 11:22:02 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  subversion: 1.8.13 -> 1.8.14 since 1.8.13.tar.gz was gone
  nspr: fix SRC_URI
  mkelfimage: fix owner for /usr/sbin/mkelfImage

 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |    1 +
 .../disable_macos.patch                            |    0
 .../libtool2.patch                                 |    0
 ...erf.m4-Regex-modified-to-allow-D-in-paths.patch |    0
 .../{subversion_1.8.13.bb => subversion_1.8.14.bb} |    4 ++--
 meta/recipes-support/nspr/nspr_4.10.8.bb           |    2 +-
 6 files changed, 4 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/subversion/{subversion-1.8.13 => subversion}/disable_macos.patch (100%)
 rename meta/recipes-devtools/subversion/{subversion-1.8.13 => subversion}/libtool2.patch (100%)
 rename meta/recipes-devtools/subversion/{subversion-1.8.13 => subversion}/serf.m4-Regex-modified-to-allow-D-in-paths.patch (100%)
 rename meta/recipes-devtools/subversion/{subversion_1.8.13.bb => subversion_1.8.14.bb} (96%)

-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2016-01-07  7:45 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-01-07  7:45 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 95fced137a46dc98863fe5af7be5cbce708602f2:

  udev-extraconf: introduce multiple blacklist files for more complex setups (2016-01-05 17:55:05 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  cogl-1.0: fix may be used uninitialized error
  run-postinsts: can't be allarch
  liberation-fonts: can't be allarch

 .../run-postinsts/run-postinsts_1.0.bb             |    2 +-
 ...ce-culling.c-fix-may-be-used-uninitialize.patch |   35 ++++++++++++++++++++
 meta/recipes-graphics/cogl/cogl-1.0_1.22.0.bb      |    2 ++
 .../ttf-fonts/liberation-fonts_1.04.bb             |    2 +-
 4 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-graphics/cogl/cogl-1.0/test-backface-culling.c-fix-may-be-used-uninitialize.patch

-- 
1.7.9.5



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

* [PATCH 0/3] meta: 3 fixes
@ 2016-01-28  9:46 Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-01-28  9:46 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 2a6e061712cfe9cb4738806a0c351a64e0d30144:

  cmake: update to 3.4.2 (2016-01-26 22:48:57 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/3fixes

Robert Yang (3):
  gdb-common.inc: add PACKAGECONFIG for readline
  autotools_stage.bbclass: remove it
  perf.bb: add python scripts corresponding packages

 meta/classes/autotools_stage.bbclass     |    2 --
 meta/recipes-devtools/gdb/gdb-common.inc |    8 ++++++--
 meta/recipes-kernel/perf/perf.bb         |    8 ++++++--
 3 files changed, 12 insertions(+), 6 deletions(-)
 delete mode 100644 meta/classes/autotools_stage.bbclass

-- 
1.7.9.5



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

end of thread, other threads:[~2016-01-28  9:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-03 14:39 [PATCH 0/3] meta: 3 fixes Robert Yang
2015-01-03 14:39 ` [PATCH 1/3] cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS Robert Yang
2015-01-03 14:39 ` [PATCH 2/3] cups: check avahi before use it Robert Yang
2015-01-03 14:39 ` [PATCH 3/3] cogl: enable egl-x11 when build with x11 Robert Yang
  -- strict thread matches above, loose matches on Subject: below --
2015-02-03  1:22 [PATCH 0/3] meta: 3 fixes Robert Yang
2015-04-01  7:52 Robert Yang
2015-07-13 10:02 Robert Yang
2015-09-16  7:52 Robert Yang
2016-01-07  7:45 Robert Yang
2016-01-28  9:46 Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox