Skip to contentSkip to conversation

meta: fixes dbus-native and cups

PATCH In review Robert Yang 1 participant 4 messages May 27, 2014 – Jun 16, 2014

lore
Share & tools
lore
#0 lore raw

cover meta: fixes dbus-native and cups

The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230:

guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/twofixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/twofixes

Robert Yang (2):
dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
cups: enable cups-str4402.patch

 meta/recipes-core/dbus/dbus.inc     |    2 ++
 meta/recipes-extended/cups/cups.inc |    1 +
 2 files changed, 3 insertions(+)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10

Found this error on CentOS 5.10, other distros may also has this problem, I think that we can disable the selinux for dbus-native:

bus/selinux.c:327: error: array type has incomplete element type

[YOCTO #6374]

---
 meta/recipes-core/dbus/dbus.inc |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/dbus/dbus.inc +2 -0
index b3d3834..33f2f22 100644
@@ -85,6 +85,8 @@ EXTRA_OECONF = "--disable-tests \
                 --disable-libaudit \
                 --disable-systemd"
 
+EXTRA_OECONF_class-native = "--disable-selinux"
+
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
 PACKAGECONFIG_class-native = ""
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 cups: enable cups-str4402.patch

In reply to Robert Yang

This patch is used for fixing build errors without dnssd/avahi, we already have this patch, but isn't added to SRC_URI:
meta/recipes-extended/cups/cups/cups-str4402.patch

---
 meta/recipes-extended/cups/cups.inc |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/cups/cups.inc +1 -0
index fd88552..bbfd1ef 100644
@@ -8,6 +8,7 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
            file://use_echo_only_in_init.patch \
            file://0001-don-t-try-to-run-generated-binaries.patch \
            file://cups_serverbin.patch \
+           file://cups-str4402.patch \
 	  "
 
 LEAD_SONAME = "libcupsdriver.so"
Signature · 1 line
1.7.10.4
#3 lore raw
In reply to Robert Yang

Ping.

// Robert

Quoted 17 lines · Robert Yang

The following changes since commit 894df445fa71a170397c6e0b4960a89ef20a4230:

   guile: Update to 2.0.11 version (2014-05-21 19:50:21 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/twofixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/twofixes

Robert Yang (2):
dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10
cups: enable cups-str4402.patch

  meta/recipes-core/dbus/dbus.inc     |    2 ++
  meta/recipes-extended/cups/cups.inc |    1 +
  2 files changed, 3 insertions(+)