Various package additions/upgrades
v2 cover Various package additions/upgrades
Find attached the revised additions/upgrades for python-pyudev, python-sqlalchemy, audiofile and s-sd.
Pull URL: git://github.com/zoidrr/meta-openembedded.git
Branch: master
Browse: https://github.com/zoidrr/meta-openembedded/commits/master
Thanks,
Michael Lippautz <[email protected]>
---
Michael Lippautz (4):
python-pyudev: Add version 0.11 (initial recipe)
python-sqlalchemy: Add version 0.7.1 (initial recipe)
audiofile: Update 0.2.6 to 0.2.7
start-stop-daemon: Add version 1.16.0.2 (initial recipe)
.../recipes-devtools/python/python-pyudev_0.11.bb | 22 +++++++
.../python/python-sqlalchemy_0.7.1.bb | 16 +++++
.../audiofile/audiofile-0.2.6/CVE-2008-5824.patch | 23 -------
.../audiofile-0.2.6/audiofile-0.2.6.patch | 67 --------------------
.../audiofile-0.2.6/audiofile-m4_quote_fix.diff | 11 ---
.../audiofile-0.2.6/audiofile-oldstyle.patch | 55 ----------------
.../{audiofile_0.2.6.bb => audiofile_0.2.7.bb} | 14 ++---
.../start-stop-daemon_1.16.0.2.bb | 31 +++++++++
8 files changed, 74 insertions(+), 165 deletions(-)
create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/CVE-2008-5824.patch
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-0.2.6.patch
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-m4_quote_fix.diff
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-oldstyle.patch
rename meta-oe/recipes-multimedia/audiofile/{audiofile_0.2.6.bb => audiofile_0.2.7.bb} (55%)
create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bbSignature · 1 line
1.7.3.4
PATCH v2 1/4 python-pyudev: Add version 0.11 (initial recipe)
--- .../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "A libudev binding" +HOMEPAGE = "http://pypi.python.org/pypi/pyudev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +PR = "r0" + +SRCNAME = "pyudev" +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a" +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-subprocess \ + python-misc \ + libudev \ +"
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCHv2 1/4] python-pyudev: Add version 0.11 (initial recipe)
Am Donnerstag, den 07.07.2011, 15:35 +0200 schrieb Michael Lippautz:
Quoted 24 lines
Signed-off-by Michael Lippautz <[email protected]>--- .../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bbmeta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +12
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "A libudev binding" +HOMEPAGE = "http://pypi.python.org/pypi/pyudev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +PR = "r0" + +SRCNAME = "pyudev" +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a" +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a" +
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb line 22
Quoted 10 lines
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +10
-0+S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-subprocess \ + python-misc \ + libudev \ +"
I backported your patch locally to oe-dev and it fails with the following error message.
+ /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/python setup.py build
Traceback (most recent call last):
File "setup.py", line 34, in <module>
import pyudev
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/__init__.py", line 177, in <module>
from pyudev.device import *
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/device.py", line 35, in <module>
from pyudev._libudev import libudev
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/_libudev.py", line 35, in <module>
from ctypes import (CDLL, Structure, POINTER, get_errno,
File "/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
+ oefatal 'python setup.py build_ext execution failed.'
+ echo FATAL: 'python setup.py build_ext execution failed.'
FATAL: python setup.py build_ext execution failed.
+ exit 1
ctype is available though.
Thanks,
Paul
Re: [meta-oe][PATCHv2 1/4] python-pyudev: Add version 0.11 (initial recipe)
2011/7/7 Paul Menzel <[email protected]>:
Quoted 60 lines
Am Donnerstag, den 07.07.2011, 15:35 +0200 schrieb Michael Lippautz:
Quoted 24 lines
Signed-off-by Michael Lippautz <[email protected]>---
.../recipes-devtools/python/python-pyudev_0.11.bb | 22 ++++++++++++++++++++1 files changed, 22 insertions(+), 0 deletions(-)create mode 100644 meta-oe/recipes-devtools/python/python-pyudev_0.11.bb
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +12
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "A libudev binding" +HOMEPAGE = "http://pypi.python.org/pypi/pyudev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" +PR = "r0" + +SRCNAME = "pyudev" +SRC_URI = "http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "dca4e69da387f9a6683ee4b5c27ca66a" +SRC_URI[sha256sum] = "0acfa500219f4bcf711f35c1b2041d035b4bf5f302eca5038572ee788d9e584a" +meta-oe/recipes-devtools/python/python-pyudev_0.11.bb line 22
Quoted 10 lines
meta-oe/recipes-devtools/python/python-pyudev_0.11.bb new file +10
-0+S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +RDEPENDS_${PN} = "\ + python-ctypes \ + python-subprocess \ + python-misc \ + libudev \ +"I backported your patch locally to oe-dev and it fails with the following error message.
+ /oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/bin/python
setup.pybuild
Traceback (most recent call last):
File "setup.py", line 34, in <module>
import pyudev
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/__init__.py", line 177, in <module> from pyudev.device import *
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/device.py", line 35, in <module> from pyudev._libudev import libudev
File "/oe/build-angstrom-next/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/python-pyudev-0.11-r0/pyudev-0.11/pyudev/_libudev.py", line 35, in <module> from ctypes import (CDLL, Structure, POINTER,get_errno,
File "/oe/build-angstrom-next/angstrom-dev/sysroots/i686-linux/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from_ctypesimport Union, Structure, Array
ImportError: No module named_ctypes
+ oefatal 'pythonsetup.pybuild_extexecution failed.'
+ echo FATAL: 'pythonsetup.pybuild_extexecution failed.'
FATAL: pythonsetup.pybuild_extexecution failed.
+ exit 1
ctypeis available though.
Quoted 10 lines
Thanks,
Paul
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
You do not only need `ctypes' for the target, but also for the host system. You could try to backport also [1], but I don't know whether that's possible, since I am no longer using oe.dev (layers instead).
Regards,
Michael
PATCH v2 2/4 python-sqlalchemy: Add version 0.7.1 (initial recipe)
In reply to Michael Lippautz--- .../python/python-sqlalchemy_0.7.1.bb | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ +application developers the full power and flexibility of SQL" +HOMEPAGE = "http://www.sqlalchemy.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88f48967a8bd1fe88f5425f7e659dbf" +RDEPENDS_${PN} += "python-numbers" +PR = "r0" + +SRCNAME = "SQLAlchemy" +SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "76e2e1e48b8047f1ca7023f143374aef" +SRC_URI[sha256sum] = "eedd2d63d6404d9bbe3c4c6a63a5442d2c2650b862f9c10f721cfae4a735d05a" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCHv2 2/4] python-sqlalchemy: Add version 0.7.1 (initial recipe)
Am Donnerstag, den 07.07.2011, 15:36 +0200 schrieb Michael Lippautz:
Quoted 12 lines
Signed-off-by Michael Lippautz <[email protected]>--- .../python/python-sqlalchemy_0.7.1.bb | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bbmeta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +0
-0
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 4
Quoted 4 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +4
-0@@ -0,0 +1,16 @@ +DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ +application developers the full power and flexibility of SQL" +HOMEPAGE = "http://www.sqlalchemy.org/" +LICENSE = "MIT"
This line has trailing white space. Please check those using git diff --check or read the output from Git when committing stuff.
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb line 16
Quoted 12 lines
meta-oe/recipes-devtools/python/python-sqlalchemy_0.7.1.bb new file +12
-0+LIC_FILES_CHKSUM = "file://LICENSE;md5=e88f48967a8bd1fe88f5425f7e659dbf" +RDEPENDS_${PN} += "python-numbers" +PR = "r0" + +SRCNAME = "SQLAlchemy" +SRC_URI = "${SOURCEFORGE_MIRROR}/sqlalchemy/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "76e2e1e48b8047f1ca7023f143374aef" +SRC_URI[sha256sum] = "eedd2d63d6404d9bbe3c4c6a63a5442d2c2650b862f9c10f721cfae4a735d05a" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools
Thanks,
Paul
PATCH v2 3/4 audiofile: Update 0.2.6 to 0.2.7
In reply to Michael Lippautz0.2.7 fixes various bugs of 0.2.6 and adds further support for WAVE and AIFF-C formats.
Drop patches:
* CVE-2008-5824 is already fixed in 0.2.7 (patch has just been a workaround):
https://github.com/mpruett/audiofile/commit/e8cf0095b3f319739f9aa1ab5a1aa52b76be8cdd
* oldstyle patch is not needed , since current toolchain compiles C files with old style function declarations
* audiofile-0.2.6 patch is already applied in 0.2.7
* audiofile-m4_quote_fix is already applied in 0.2.7
---
.../audiofile/audiofile-0.2.6/CVE-2008-5824.patch | 23 -------
.../audiofile-0.2.6/audiofile-0.2.6.patch | 67 --------------------
.../audiofile-0.2.6/audiofile-m4_quote_fix.diff | 11 ---
.../audiofile-0.2.6/audiofile-oldstyle.patch | 55 ----------------
.../{audiofile_0.2.6.bb => audiofile_0.2.7.bb} | 14 ++---
5 files changed, 5 insertions(+), 165 deletions(-)
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/CVE-2008-5824.patch
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-0.2.6.patch
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-m4_quote_fix.diff
delete mode 100644 meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-oldstyle.patch
rename meta-oe/recipes-multimedia/audiofile/{audiofile_0.2.6.bb => audiofile_0.2.7.bb} (55%)meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/CVE-2008-5824.patch deleted +0 -23
@@ -1,23 +0,0 @@ -diff -Naur audiofile-0.2.6/libaudiofile/modules/msadpcm.c audiofile-0.2.6-mp/libaudiofile/modules/msadpcm.c ---- audiofile-0.2.6/libaudiofile/modules/msadpcm.c 2004-03-06 07:39:23.000000000 +0100 -+++ audiofile-0.2.6-mp/libaudiofile/modules/msadpcm.c 2009-01-20 20:05:14.919961000 +0100 -@@ -129,8 +129,7 @@ - ms_adpcm_state *state[2]; - - /* Calculate the number of bytes needed for decoded data. */ -- outputLength = msadpcm->samplesPerBlock * sizeof (int16_t) * -- msadpcm->track->f.channelCount; -+ outputLength = msadpcm->samplesPerBlock * sizeof (int16_t); - - channelCount = msadpcm->track->f.channelCount; - -@@ -180,8 +179,7 @@ - The first two samples have already been 'decoded' in - the block header. - */ -- samplesRemaining = (msadpcm->samplesPerBlock - 2) * -- msadpcm->track->f.channelCount; -+ samplesRemaining = msadpcm->samplesPerBlock - 2; - - while (samplesRemaining > 0) - {
meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-0.2.6.patch deleted +0 -67
67 lines not on this page · raw message
meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-m4_quote_fix.diff deleted +0 -11
@@ -1,11 +0,0 @@ ---- audiofile.m4 -+++ audiofile.m4 -@@ -9,7 +9,7 @@ - dnl AM_PATH_AUDIOFILE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) - dnl Test for Audio File Library, and define AUDIOFILE_CFLAGS and AUDIOFILE_LIBS. - dnl --AC_DEFUN(AM_PATH_AUDIOFILE, -+AC_DEFUN([AM_PATH_AUDIOFILE], - [dnl - dnl Get compiler flags and libraries from the audiofile-config script. - dnl
meta-oe/recipes-multimedia/audiofile/audiofile-0.2.6/audiofile-oldstyle.patch deleted +0 -55
55 lines not on this page · raw message
meta-oe/recipes-multimedia/audiofile/audiofile_0.2.7.bb renamed from meta-oe/recipes-multimedia/audiofile/audiofile_0.2.6.bb +5 -9
@@ -2,19 +2,15 @@ DESCRIPTION = "The Audio File Library provides a uniform and elegant \ API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \ WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \ Research, Amiga IFF/8SVX, and NIST SPHERE." +HOMEPAGE = "http://www.68k.org/~michael/audiofile/" SECTION = "libs" LICENSE = "LGPLv2 && GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" +PR = "r0" -SRC_URI = "http://www.68k.org/~michael/audiofile/audiofile-${PV}.tar.gz \ - file://audiofile-m4_quote_fix.diff;striplevel=0 \ - file://audiofile-oldstyle.patch;striplevel=0 \ - file://audiofile-0.2.6.patch;striplevel=0 \ - file://CVE-2008-5824.patch \ -" +SRC_URI = "http://www.68k.org/~michael/audiofile/${PN}-${PV}.tar.gz" +SRC_URI[md5sum] = "a39be317a7b1971b408805dc5e371862" +SRC_URI[sha256sum] = "a61c4036c2600a645843f16bec4be166093a9df5f15b02c85291213aa9cf15a2" inherit autotools lib_package binconfig - -SRC_URI[md5sum] = "9c1049876cd51c0f1b12c2886cce4d42" -SRC_URI[sha256sum] = "4b6167b56e21556fb07c9ef06962fe32817064c62181ba47afd3322e0d0f22a9"
Signature · 1 line
1.7.3.4
PATCH v2 4/4 start-stop-daemon: Add version 1.16.0.2 (initial recipe)
In reply to Michael LippautzProvides a stand-lone s-s-d that is extracted from dpkg of the corresponding version.
* dpkg_1.16.0.2 is hostedd on sources.oe.org, since debian wipes old versions from their mirrors
* Installing only s-s-d (binary) would be covered by automake rules. Documentation would be missing. Thus install all and purge non s-s-d files.
--- .../start-stop-daemon_1.16.0.2.bb | 31 ++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +31 -0
@@ -0,0 +1,31 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +package" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg" +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/dpkg_${PV}.tar.bz2" +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5" + +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-install-info \ + --without-selinux \ + --without-update-alternatives \ +" + +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there + # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +}
Signature · 1 line
1.7.3.4
Re: [meta-oe][PATCHv2 4/4] start-stop-daemon: Add version 1.16.0.2 (initial recipe)
Am Donnerstag, den 07.07.2011, 15:36 +0200 schrieb Michael Lippautz:
Quoted 20 lines
Provides a stand-lone s-s-d that is extracted from dpkg of the corresponding version.
* dpkg_1.16.0.2 is hostedd on sources.oe.org, since debian wipes old versions from their mirrors
* Installing only s-s-d (binary) would be covered by automake rules. Documentation would be missing. Thus install all and purge non s-s-d files.Signed-off-by Michael Lippautz <[email protected]>--- .../start-stop-daemon_1.16.0.2.bb | 31 ++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bbmeta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +0
-0
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 6
Quoted 6 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +6
-0@@ -0,0 +1,31 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +package" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg"
Trailing whitespace again.
Quoted 15 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +15
-0+PR = "r0" + +SRC_URI = "http://sources.openembedded.org/dpkg_${PV}.tar.bz2" +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5" + +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-install-info \
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 31
Quoted 10 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +10
-0+ --without-selinux \ + --without-update-alternatives \ +" + +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there + # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +}
Just looking at the recipe, the recipe in oe-dev [1] seems to do this differently and calls update-alternatives too. Is that not needed anymore and is copying the C file to the repository not working anymore?
Thanks,
Paul
Re: [meta-oe][PATCHv2 4/4] start-stop-daemon: Add version 1.16.0.2 (initial recipe)
Am Donnerstag, den 07.07.2011, 19:44 +0200 schrieb Paul Menzel:
Quoted 51 lines
Am Donnerstag, den 07.07.2011, 15:36 +0200 schrieb Michael Lippautz:
Quoted 20 lines
Provides a stand-lone s-s-d that is extracted from dpkg of the corresponding version.
* dpkg_1.16.0.2 is hostedd on sources.oe.org, since debian wipes old versions from their mirrors
* Installing only s-s-d (binary) would be covered by automake rules. Documentation would be missing. Thus install all and purge non s-s-d files.Signed-off-by Michael Lippautz <[email protected]>--- .../start-stop-daemon_1.16.0.2.bb | 31 ++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bbmeta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +0
-0meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 6
Quoted 6 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +6
-0@@ -0,0 +1,31 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +package" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg"Trailing whitespace again.
Quoted 21 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +21
-0+PR = "r0" + +SRC_URI = "http://sources.openembedded.org/dpkg_${PV}.tar.bz2" +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5" + +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-install-info \ + --without-selinux \ + --without-update-alternatives \ +" + +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there
Quoted 8 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 31
Quoted 4 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +4
-0+ # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +}Just looking at the recipe, the recipe in oe-dev [1] seems to do this differently and calls
update-alternativestoo. Is that not needed anymore and is copying the C file to the repository not working anymore?
I ported your patch to oe-dev and using minimal-uclibc it fails with the following error.
statcmd.c:369:2: warning: statement with no effect
querycmd.c: In function 'main':
querycmd.c:683:3: warning: statement with no effect
querycmd.c:684:3: warning: statement with no effect
CCLD dpkg
CCLD dpkg-divert
CCLD dpkg-trigger
archives.o: In function `fd_writeback_init':
/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/start-stop-daemon-1.16.0.2-r0/dpkg-1.16.0.2/src/archives.c:73: undefined reference to sync_file_range' archives.o: In function tar_writeback_barrier':
/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/ CCLD dpkg-statoverride
start-stop-daemon-1.16.0.2-r0/dpkg-1.16.0.2/src/archives.c:894: undefined reference to `sync_file_range'
collect2: ld returned 1 exit status
make[2]: *** [dpkg] Error 1
Building start-stop-daemon-1.9.18-r1 works fine.
Thanks,
Paul
Re: [meta-oe][PATCHv2 4/4] start-stop-daemon: Add version 1.16.0.2 (initial recipe)
In reply to Paul Menzel2011/7/7 Paul Menzel <[email protected]>:
Quoted 51 lines
Am Donnerstag, den 07.07.2011, 15:36 +0200 schrieb Michael Lippautz:
Quoted 20 lines
Provides a stand-lone s-s-d that is extracted from dpkg of the corresponding version.
* dpkg_1.16.0.2 is hostedd on sources.oe.org, since debian wipes old versions from their mirrors
* Installing only s-s-d (binary) would be covered by automake rules. Documentation would be missing. Thus install all and purge non s-s-d files.Signed-off-by Michael Lippautz <[email protected]>---
.../start-stop-daemon_1.16.0.2.bb | 31 ++++++++++++++++++++1 files changed, 31 insertions(+), 0 deletions(-)create mode 100644 meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +0
-0meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 6
Quoted 6 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +6
-0@@ -0,0 +1,31 @@ +DESCRIPTION = "Debian's start-stop-daemon utility extracted from the dpkg \ +package" +LICENSE = "PD" +LIC_FILES_CHKSUM = "file://utils/start-stop-daemon.c;md5=a963623e4588f70122865aaa7a370ce4" +# start-stop-daemon is usually shipped by dpkg +RCONFLICS_${PN} = "dpkg"Trailing whitespace again.
Quoted 21 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +21
-0+PR = "r0" + +SRC_URI = "http://sources.openembedded.org/dpkg_${PV}.tar.bz2" +SRC_URI[md5sum] = "d211a84f38987771a49ad1c0f144334a" +SRC_URI[sha256sum] = "2a3d4ba83c743b3f004533fdd52372cb7b22f5c1da2042d0a31bbcc2b54c0ea5" + +inherit autotools gettext + +S = "${WORKDIR}/dpkg-${PV}" + +EXTRA_OECONF = " \ + --with-start-stop-daemon \ + --without-bz2 \ + --without-deselect \ + --without-install-info \ + --without-selinux \ + --without-update-alternatives \ +" + +do_install_append () { + # remove everything that is not related to start-stop-daemon, since there
Quoted 9 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb line 31
Quoted 4 lines
meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.16.0.2.bb new file +4
-0+ # is no explicit rule for only installing ssd + find ${D} -type f -not -name "*start-stop-daemon*" -exec rm {} \; + find ${D} -depth -type d -empty -exec rmdir {} \; +}Just looking at the recipe, the recipe in oe-dev [1] seems to do this differently and calls
update-alternativestoo. Is that not needed anymore and is copying the C file to the repository not working anymore?
Well, I (personally) rather take the files from a quite up-to-date package from a mature distribution, instead of using a C file that has been comitted 2010-03-30. It also saves (not much but atleast) some space in the tree.
I can't think of why one would use update-alternatives here, because I know only one s-s-d and thats the one from Debian's dpkg. Am I wrong here?
Quoted 14 lines
Thanks,
Paul
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 07-07-11 15:35, Michael Lippautz schreef:
Quoted 7 lines
Find attached the revised additions/upgrades for python-pyudev, python-sqlalchemy, audiofile and s-sd.
Pull URL:
git://github.com/zoidrr/meta-openembedded.gitBranch:
master Browse:
https://github.com/zoidrr/meta-openembedded/commits/master
Quoted 7 lines
Thanks, Michael Lippautz <[email protected]> ---
Michael Lippautz (4): python-pyudev: Add version 0.11 (initial recipe) python-sqlalchemy: Add version 0.7.1 (initial recipe)
audiofile: Update 0.2.6 to 0.2.7 start-stop-daemon: Add version 1.16.0.2 (initial recipe)
Thanks, merged
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFOGCD8MkyGM64RGpERAniSAJ4z+tlg86nMKNqZLZkroDRlXKi+xwCePHQs m/FMFKzUbQjKG6eLv3QDdIQ=
=u7lV
-----END PGP SIGNATURE-----