Some updates
Subsystems (2)
cover Some updates
Updates and some additions in packagegroup-rpi-test
Andrei Gherzan (4):
bcm2835: Update to v1.36
rpi-gpio: Update to v0.5.4
packagegroup-rpi-test: Add some packages
omxplayer: Update to remote HEAD
recipes-bcm/bcm2835/bcm2835_1.34.bb | 41 ---------------------- recipes-bcm/bcm2835/bcm2835_1.36.bb | 41 ++++++++++++++++++++++ .../packagegroups/packagegroup-rpi-test.bb | 4 ++- recipes-devtools/python/rpi-gpio_0.5.3a.bb | 20 ----------- recipes-devtools/python/rpi-gpio_0.5.4.bb | 19 ++++++++++ ...nd-headers-from-ffmpeg-are-installed-in-u.patch | 24 ++++++------- .../omxplayer/fix-tar-command-with-DIST.patch | 18 ++++++++++ recipes-multimedia/omxplayer/omxplayer_git.bb | 10 +++--- 8 files changed, 98 insertions(+), 79 deletions(-) delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.34.bb create mode 100644 recipes-bcm/bcm2835/bcm2835_1.36.bb delete mode 100644 recipes-devtools/python/rpi-gpio_0.5.3a.bb create mode 100644 recipes-devtools/python/rpi-gpio_0.5.4.bb create mode 100644 recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
--
1.8.1.4
PATCH 1/4 bcm2835: Update to v1.36
--- recipes-bcm/bcm2835/bcm2835_1.34.bb | 41 ------------------------------------- recipes-bcm/bcm2835/bcm2835_1.36.bb | 41 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.34.bb create mode 100644 recipes-bcm/bcm2835/bcm2835_1.36.bb
recipes-bcm/bcm2835/bcm2835_1.34.bb deleted +0 -41
@@ -1,41 +0,0 @@ -DESCRIPTION = "Package that provides access to GPIO and other IO\ -functions on the Broadcom BCM 2835 chip, allowing access to the\ -GPIO pins on the 26 pin IDE plug on the RPi board" -SECTION = "base" -HOMEPAGE = "http://www.open.com.au/mikem/bcm2835" -AUTHOR = "Mike McCauley ([email protected])" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - - -COMPATIBLE_MACHINE = "raspberrypi" - -SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-${PV}.tar.gz" - -SRC_URI[md5sum] = "35df4a6188e36796a07985f1561fb8a2" -SRC_URI[sha256sum] = "ea99538ea17ebed38973743d84b1358e8c0fd311e8828c4ef91694f65a1073ff" - -PACKAGES += "${PN}-tests" - -FILES_${PN} = "" -FILES_${PN}-tests = "${libdir}/${BPN}" -FILES_${PN}-dbg += "${libdir}/${BPN}/.debug" - -inherit autotools - -do_compile_append() { - #Now compiling the examples provided by the package - for file in examples/* - do - ${CC} ${file}/${file##*/}.c -o ${file}/${file##*/} -Bstatic -L${S}/src -lbcm2835 -I${S}/src - done -} - -do_install_append() { - install -d ${D}/${libdir}/${BPN} - for file in examples/* - do - install -m 0755 ${file}/${file##*/} ${D}/${libdir}/${BPN} - done -}
recipes-bcm/bcm2835/bcm2835_1.36.bb new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
1.8.1.4
PATCH 2/4 rpi-gpio: Update to v0.5.4
In reply to Andrei Gherzan--- recipes-devtools/python/rpi-gpio_0.5.3a.bb | 20 -------------------- recipes-devtools/python/rpi-gpio_0.5.4.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 20 deletions(-) delete mode 100644 recipes-devtools/python/rpi-gpio_0.5.3a.bb create mode 100644 recipes-devtools/python/rpi-gpio_0.5.4.bb
recipes-devtools/python/rpi-gpio_0.5.3a.bb deleted +0 -20
@@ -1,20 +0,0 @@ -DESCRIPTION = "A module to control Raspberry Pi GPIO channels" -HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=35af90ff2a10e8bdc967653b9dfcb22a" - -SRCNAME = "RPi.GPIO" -PR = "r0" - -SRC_URI = "\ - http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \ - " -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -COMPATIBLE_MACHINE = "raspberrypi" - -SRC_URI[md5sum] = "9cb086d2d2186062c5ae190a40902bb0" -SRC_URI[sha256sum] = "f3342113d39901e5af1460374ff167590c427cb55460d2bda86c72bc64efc526"
recipes-devtools/python/rpi-gpio_0.5.4.bb new file +19 -0
@@ -0,0 +1,19 @@ +DESCRIPTION = "A module to control Raspberry Pi GPIO channels" +HOMEPAGE = "http://code.google.com/p/raspberry-gpio-python/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=35af90ff2a10e8bdc967653b9dfcb22a" + +SRCNAME = "RPi.GPIO" + +SRC_URI = "\ + http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \ + " +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +COMPATIBLE_MACHINE = "raspberrypi" + +SRC_URI[md5sum] = "add6554ed8331d515fccb5e052c7d1ff" +SRC_URI[sha256sum] = "5fae8e59a9a1cdb68208d40239d7ad788d22aa9d58c54c482fa5d89ccc4c0f37"
Signature · 1 line
1.8.1.4
PATCH 3/4 packagegroup-rpi-test: Add some packages
In reply to Andrei Gherzanbcm2835 is an empty package because this recipe provides a static library. Install on target only bcm2835-tests package in which files are statically linked to that library.
Add forgotten GPIO packages: rpi-gpio and rpio.
--- recipes-core/packagegroups/packagegroup-rpi-test.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-core/packagegroups/packagegroup-rpi-test.bb +3 -1
@@ -6,8 +6,10 @@ inherit packagegroup RDEPENDS_${PN} = "\ omxplayer \ - bcm2835 \ + bcm2835-tests \ wiringpi \ + rpio \ + rpi-gpio \ " RRECOMMENDS_${PN} = "\
Signature · 1 line
1.8.1.4
PATCH 4/4 omxplayer: Update to remote HEAD
In reply to Andrei Gherzan* Rebase 0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch to apply on HEAD.
* Add fix-tar-command-with-DIST.patch which reverts a change in tar command which breaks compilation if DIST is an absolute path.
* Avoid stripping omxplayer binary (let build system take care of strpping).
--- ...nd-headers-from-ffmpeg-are-installed-in-u.patch | 24 ++++++++++------------ .../omxplayer/fix-tar-command-with-DIST.patch | 18 ++++++++++++++++ recipes-multimedia/omxplayer/omxplayer_git.bb | 10 +++++---- 3 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch +11 -13
@@ -8,18 +8,16 @@ Don't search for libraries and headers in /usr/local. Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Andrei Gherzan <[email protected]> -Updated patch to apply to c0dd9502ed2c43c487674939195c69680f3d98b0 revision - -diff --git a/Makefile b/Makefile -index 65f7637..5dc1832 100644 ---- a/Makefile -+++ b/Makefile +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile @@ -1,9 +1,9 @@ CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST --LDFLAGS+=-L./ -ldbus-1 -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/ -+LDFLAGS+=-L./ -ldbus-1 -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/lib/ +-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz ++LDFLAGS+=-L./ -Lffmpeg_compiled/usr/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ +INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/
@@ -32,11 +30,11 @@ index 65f7637..5dc1832 100644 cp README.md $(DIST)/usr/share/doc/README - cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ + cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ - tar -czf omxplayer-dist.tar.gz $(DIST) -diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg -index 3b31a82..5f30b51 100644 ---- a/Makefile.ffmpeg -+++ b/Makefile.ffmpeg + cd $(DIST); tar -czf ../$(DIST).tgz * +Index: git/Makefile.ffmpeg +=================================================================== +--- git.orig/Makefile.ffmpeg ++++ git/Makefile.ffmpeg @@ -248,5 +248,5 @@ checkout: install:
recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch new file +18 -0
@@ -0,0 +1,18 @@ +Revert the tar command change introduced in: +https://github.com/popcornmix/omxplayer/commit/201c77973155861e60492e45d35467b19b69c1c4 + +This fails if DIST is an absolute path. The old command was working just fine. + +Signed-off-by: Andrei Gherzan <[email protected]> + +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -71,4 +71,4 @@ dist: omxplayer.bin + cp COPYING $(DIST)/usr/share/doc/ + cp README.md $(DIST)/usr/share/doc/README + cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ +- cd $(DIST); tar -czf ../$(DIST).tgz * ++ tar -czf omxplayer-dist.tar.gz $(DIST) +\ No newline at end of file
recipes-multimedia/omxplayer/omxplayer_git.bb +6 -4
@@ -8,14 +8,16 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "libpcre libav virtual/egl boost freetype dbus" -PR = "r2" +PR = "r3" -SRCREV = "74f4be222be05d3ea50be9f5a70846f7c0e9df6e" +SRCREV = "f666a5dfbec36e2af7cd965558ac8643c86277a6" SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ file://0003-Remove-strip-step-in-Makefile.patch \ - file://mktemp-compatible-with-busybox.patch" + file://mktemp-compatible-with-busybox.patch \ + file://fix-tar-command-with-DIST.patch \ + " S = "${WORKDIR}/git" COMPATIBLE_MACHINE = "raspberrypi"
@@ -55,7 +57,7 @@ do_compile() { } do_install() { - oe_runmake dist + oe_runmake STRIP='echo skipping strip' dist mkdir -p ${D}/usr/share/fonts/truetype/freefont/ install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/ }
Signature · 1 line
1.8.1.4
Quoted 5 lines · Andrei Gherzan
Updates and some additions in packagegroup-rpi-test
Andrei Gherzan (4):
bcm2835: Update to v1.36
rpi-gpio: Update to v0.5.4
These changes are only renames. Sorry for missing -M (AGAIN!!!).
Quoted 18 lines
packagegroup-rpi-test: Add some packages
omxplayer: Update to remote HEADrecipes-bcm/bcm2835/bcm2835_1.34.bb | 41 ---------------------- recipes-bcm/bcm2835/bcm2835_1.36.bb | 41 ++++++++++++++++++++++ .../packagegroups/packagegroup-rpi-test.bb | 4 ++- recipes-devtools/python/rpi-gpio_0.5.3a.bb | 20 ----------- recipes-devtools/python/rpi-gpio_0.5.4.bb | 19 ++++++++++ ...nd-headers-from-ffmpeg-are-installed-in-u.patch | 24 ++++++------- .../omxplayer/fix-tar-command-with-DIST.patch | 18 ++++++++++ recipes-multimedia/omxplayer/omxplayer_git.bb | 10 +++--- 8 files changed, 98 insertions(+), 79 deletions(-) delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.34.bb create mode 100644 recipes-bcm/bcm2835/bcm2835_1.36.bb delete mode 100644 recipes-devtools/python/rpi-gpio_0.5.3a.bb create mode 100644 recipes-devtools/python/rpi-gpio_0.5.4.bb create mode 100644 recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
Quoted 3 lines
--
1.8.1.4
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
Quoted 8 lines · Andrei Gherzan
Updates and some additions in packagegroup-rpi-test
Andrei Gherzan (4):
bcm2835: Update to v1.36
rpi-gpio: Update to v0.5.4
packagegroup-rpi-test: Add some packages
omxplayer: Update to remote HEAD
Merged. Thanks Alex for reviews.
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12