* [meta-raspberrypi][PATCH 1/4] bcm2835: Update to v1.36
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
@ 2014-01-19 19:15 ` Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 2/4] rpi-gpio: Update to v0.5.4 Andrei Gherzan
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-19 19:15 UTC (permalink / raw)
To: yocto
Change-Id: I8b55d7233919b6ebe68b9504eb2504bedb1846e1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
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
diff --git a/recipes-bcm/bcm2835/bcm2835_1.34.bb b/recipes-bcm/bcm2835/bcm2835_1.34.bb
deleted file mode 100644
index 8ff2bdd..0000000
--- a/recipes-bcm/bcm2835/bcm2835_1.34.bb
+++ /dev/null
@@ -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 (mikem@open.com.au)"
-
-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
-}
diff --git a/recipes-bcm/bcm2835/bcm2835_1.36.bb b/recipes-bcm/bcm2835/bcm2835_1.36.bb
new file mode 100644
index 0000000..b5d9992
--- /dev/null
+++ b/recipes-bcm/bcm2835/bcm2835_1.36.bb
@@ -0,0 +1,41 @@
+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 (mikem@open.com.au)"
+
+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] = "3299ddaef60f80b7f85de3318f08dee7"
+SRC_URI[sha256sum] = "b4dfcdb453d44ba9ff55634ce7e0ddca21b96355ab61e40b4c3afb9406d4b8d2"
+
+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
+}
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [meta-raspberrypi][PATCH 2/4] rpi-gpio: Update to v0.5.4
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 1/4] bcm2835: Update to v1.36 Andrei Gherzan
@ 2014-01-19 19:15 ` Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 3/4] packagegroup-rpi-test: Add some packages Andrei Gherzan
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-19 19:15 UTC (permalink / raw)
To: yocto
Change-Id: Ie24be5363933fa994e38b030677d7381eb8a7f2a
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
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
diff --git a/recipes-devtools/python/rpi-gpio_0.5.3a.bb b/recipes-devtools/python/rpi-gpio_0.5.3a.bb
deleted file mode 100644
index 9b0ece0..0000000
--- a/recipes-devtools/python/rpi-gpio_0.5.3a.bb
+++ /dev/null
@@ -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"
diff --git a/recipes-devtools/python/rpi-gpio_0.5.4.bb b/recipes-devtools/python/rpi-gpio_0.5.4.bb
new file mode 100644
index 0000000..7307399
--- /dev/null
+++ b/recipes-devtools/python/rpi-gpio_0.5.4.bb
@@ -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"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [meta-raspberrypi][PATCH 3/4] packagegroup-rpi-test: Add some packages
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 1/4] bcm2835: Update to v1.36 Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 2/4] rpi-gpio: Update to v0.5.4 Andrei Gherzan
@ 2014-01-19 19:15 ` Andrei Gherzan
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 4/4] omxplayer: Update to remote HEAD Andrei Gherzan
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-19 19:15 UTC (permalink / raw)
To: yocto
bcm2835 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.
Change-Id: I498d2a3948ad5faf963d492bc496d4725a79e136
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
recipes-core/packagegroups/packagegroup-rpi-test.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/recipes-core/packagegroups/packagegroup-rpi-test.bb b/recipes-core/packagegroups/packagegroup-rpi-test.bb
index 3f1866a..e16e79e 100644
--- a/recipes-core/packagegroups/packagegroup-rpi-test.bb
+++ b/recipes-core/packagegroups/packagegroup-rpi-test.bb
@@ -6,8 +6,10 @@ inherit packagegroup
RDEPENDS_${PN} = "\
omxplayer \
- bcm2835 \
+ bcm2835-tests \
wiringpi \
+ rpio \
+ rpi-gpio \
"
RRECOMMENDS_${PN} = "\
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [meta-raspberrypi][PATCH 4/4] omxplayer: Update to remote HEAD
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
` (2 preceding siblings ...)
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 3/4] packagegroup-rpi-test: Add some packages Andrei Gherzan
@ 2014-01-19 19:15 ` Andrei Gherzan
2014-01-19 19:20 ` [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
2014-01-20 20:37 ` Andrei Gherzan
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-19 19:15 UTC (permalink / raw)
To: yocto
* 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).
Change-Id: I95d70094b0069ad19f7d445abaf421756776c4c7
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
...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
diff --git a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
index 4976995..7f7927f 100644
--- a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
+++ b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
@@ -8,18 +8,16 @@ Don't search for libraries and headers in /usr/local.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-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:
diff --git a/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
new file mode 100644
index 0000000..5b3bd21
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
@@ -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 <andrei@gherzan.ro>
+
+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
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index 8d444fd..33202dc 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -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/
}
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [meta-raspberrypi][PATCH 0/4] Some updates
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
` (3 preceding siblings ...)
2014-01-19 19:15 ` [meta-raspberrypi][PATCH 4/4] omxplayer: Update to remote HEAD Andrei Gherzan
@ 2014-01-19 19:20 ` Andrei Gherzan
2014-01-20 20:37 ` Andrei Gherzan
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-19 19:20 UTC (permalink / raw)
To: yocto
On Sun, Jan 19, 2014 at 09:15:52PM +0200, Andrei Gherzan wrote:
> 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!!!).
> 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
>
--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [meta-raspberrypi][PATCH 0/4] Some updates
2014-01-19 19:15 [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
` (4 preceding siblings ...)
2014-01-19 19:20 ` [meta-raspberrypi][PATCH 0/4] Some updates Andrei Gherzan
@ 2014-01-20 20:37 ` Andrei Gherzan
5 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2014-01-20 20:37 UTC (permalink / raw)
To: yocto
On Sun, Jan 19, 2014 at 09:15:52PM +0200, Andrei Gherzan wrote:
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread