Skip to contentSkip to conversation

Misc fixes

PATCH In review Otavio Salvador 2 participants 6 messages Dec 22, 2011

lore
Share & tools
lore
#0 lore raw

cover Misc fixes

The following changes since commit 87a35d203278d220e6c730dc551af11a060798cd:

gdm 2.32.2: add missing source checksums (2011-12-22 10:10:55 +0100)

are available in the git repository at:
git://github.com/OSSystems/meta-oe master
https://github.com/OSSystems/meta-oe/tree/master

Otavio Salvador (3):
pcsc-lite: ccid downgraded to a runtime recommendation
rsyslog: move systemd support to rsyslog-systemd
systemd: depends on intltool-native

 meta-oe/recipes-core/systemd/systemd_git.bb        |    4 +-
 meta-oe/recipes-extended/rsyslog/rsyslog.inc       |   23 +++++++-------------
 .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |    5 ++-
 3 files changed, 13 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/3 pcsc-lite: ccid downgraded to a runtime recommendation

ccid adds more smart-card readers support but it is not a requirement for pcsc-lite to work thus we change it to a recommendation instead of a hard dependency.

---
 .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb +3 -2
index de980ff..a4f3fcc 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "http://pcsclite.alioth.debian.org/"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149"
 DEPENDS = "udev"
-RDEPENDS += "ccid"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2"
 
@@ -23,4 +22,6 @@ S = "${WORKDIR}/pcsc-lite-${PV}"
 
 PACKAGES =+ "${PN}-lib"
 
+RRECOMMENDS_${PN} = "ccid"
+
 FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 2/3 rsyslog: move systemd support to rsyslog-systemd

In reply to Otavio Salvador

This makes the package consistent with others supporting systemd and also cleans up the recipe using the systemd.bbclass.

---
 meta-oe/recipes-extended/rsyslog/rsyslog.inc |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog.inc +8 -15
index 856d965..ea7fa22 100644
@@ -4,32 +4,25 @@ HOMEPAGE = "http://www.rsyslog.com/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
            file://rsyslog.conf"
            
 
-inherit autotools
+inherit autotools systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "${PN}.service"
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/${PN}
         install ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
 }
 
+PACKAGES =+ "${PN}-systemd"
 
-pkg_postinst_${PN} () {
-	if test "x$D" != "x"; then
-		exit 1
-	fi
-	systemctl enable rsyslog.service
-}
-
-pkg_prerm_${PN} () {
-	systemctl disable rsyslog.service
-}
-
-RRECOMMENDS_${PN} += "systemd"
 CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf"
-FILES_${PN} += "${base_libdir}/systemd"
 
+FILES_${PN}-systemd += "${base_libdir}/systemd"
+RDEPENDS_${PN}-systemd += "${PN}"
Signature · 1 line
1.7.2.5
#3 lore raw

Re: [meta-oe][PATCH 2/3] rsyslog: move systemd support to rsyslog-systemd

Quoted 2 lines · Otavio Salvador

This makes the package consistent with others supporting systemd and also cleans up the recipe using the systemd.bbclass.

Do you have similar change for xserver-nodm-init? to make it even more consistent? :)

Cheers,

Quoted 59 lines
---
 meta-oe/recipes-extended/rsyslog/rsyslog.inc |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog.inc +8 -15
index 856d965..ea7fa22 100644
@@ -4,32 +4,25 @@ HOMEPAGE = "http://www.rsyslog.com/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
            file://rsyslog.conf"
 
 
-inherit autotools
+inherit autotools systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "${PN}.service"
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/${PN}
         install ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
 }
 
+PACKAGES =+ "${PN}-systemd"
 
-pkg_postinst_${PN} () {
-	if test "x$D" != "x"; then
-		exit 1
-	fi
-	systemctl enable rsyslog.service
-}
-
-pkg_prerm_${PN} () {
-	systemctl disable rsyslog.service
-}
-
-RRECOMMENDS_${PN} += "systemd"
 CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf"
-FILES_${PN} += "${base_libdir}/systemd"
 
+FILES_${PN}-systemd += "${base_libdir}/systemd"
+RDEPENDS_${PN}-systemd += "${PN}"
Signature · 7 lines
1.7.2.5


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw

Re: [meta-oe][PATCH 2/3] rsyslog: move systemd support to rsyslog-systemd

Quoted 7 lines · Martin Jansa
Quoted 2 lines · Otavio Salvador

This makes the package consistent with others supporting systemd and also cleans up the recipe using the systemd.bbclass.

Do you have similar change for xserver-nodm-init? to make it even more consistent? :)

Not now but can cook one for later :-) if you can help doing that, it would be nice.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#5 lore raw

PATCH 3/3 systemd: depends on intltool-native

In reply to Otavio Salvador
---
 meta-oe/recipes-core/systemd/systemd_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/systemd/systemd_git.bb +2 -2
index 228e0e4..2548d10 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "docbook-sgml-dtd-4.1-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers"
+DEPENDS = "docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline udev dbus libcap libcgroup tcp-wrappers"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
@@ -14,7 +14,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r6"
+PR = "r7"
 
 inherit useradd pkgconfig autotools vala perlnative
 
Signature · 1 line
1.7.2.5