All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer
@ 2013-08-20 17:02 Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
                   ` (10 more replies)
  0 siblings, 11 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 README |   23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 920d063..db88066 100644
--- a/README
+++ b/README
@@ -34,7 +34,9 @@ Contents:
     2.C. Add purchased license codecs
     2.D. Disable overscan
     2.E. Set overclocking options
-3. Contribution
+3. Extra apps
+    3.A. omxplayer
+4. Contribution
 
 
 
@@ -94,16 +96,11 @@ URI: git://git.yoctoproject.org/poky
 branch: master
 revision: HEAD
 
-URI: git://git.openembedded.org/meta-openembedded
-branch: master
-revision: HEAD
-
 How to use it:
 
 1. source poky/oe-init-build-env rpi-build
-2. Add needed layers to bblayers.conf:
+2. Add needed layer to bblayers.conf:
     - meta-raspberrypi
-    - meta-openembedded/meta-oe
 3  Set MACHINE to raspberrypi in local.conf
 4. bitbake rpi-hwup-image
 5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
@@ -155,8 +152,18 @@ SDRAM_FREQ = "500"
 OVER_VOLTAGE = "6"
 
 
+3. Extra apps
+=============
+
+3.A. omxplayer
+==============
+omxplayer depends on libav which has a commercial license. So in order to be
+able to compile omxplayer you will need to whiteflag the commercial license
+adding to you local.conf:
+LICENSE_FLAGS_WHITELIST = "commercial"
+
 
-3. Contributing
+4. Contributing
 ===============
 
 To contribute to this layer you should send the patches for review to the
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-23  9:40   ` Paul Barker
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 03/11] userland: Update to 2013-08-20 master's snapshot Andrei Gherzan
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-kernel/linux/linux-raspberrypi_3.2.27.bb |    4 ++--
 recipes-kernel/linux/linux-raspberrypi_3.6.11.bb |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
index a68186b..263e0ce 100644
--- a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
@@ -3,10 +3,10 @@ require linux.inc
 DESCRIPTION = "Linux kernel for the RaspberryPi board"
 COMPATIBLE_MACHINE = "raspberrypi"
 
-PR = "r6"
+PR = "r7"
 PV_append = "+git${SRCREV}"
 
-SRCREV = "10182a3bc434b27740f81c2b836a1af943060241"
+SRCREV = "ada8b4415ff44d535d63e4291a0eca733bc2ad0f"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
 	   file://sl030raspberrypii2ckernel.patch \
           "
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
index 07b0ae8..48c99fd 100644
--- a/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_3.6.11.bb
@@ -3,10 +3,10 @@ require linux.inc
 DESCRIPTION = "Linux kernel for the RaspberryPi board"
 COMPATIBLE_MACHINE = "raspberrypi"
 
-PR = "r6"
+PR = "r7"
 PV_append = "+git${SRCREV}"
 
-SRCREV = "31a951046155b27361127d9cf85a1f58719fe9b3"
+SRCREV = "63b69a8806ce1890711ff55280c90673ea415933"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.6.y \
            file://sl030raspberrypii2ckernel.patch \
           "
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 03/11] userland: Update to 2013-08-20 master's snapshot
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 04/11] rpi-config: " Andrei Gherzan
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-graphics/userland/userland_git.bb |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index fe4132a..c7ea522 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -5,22 +5,21 @@ vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
 LICENSE = "Broadcom"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"
 
-PR = "r1"
+PR = "r2"
 
 PROVIDES = "virtual/libgles2 \
             virtual/egl"
 COMPATIBLE_MACHINE = "raspberrypi"
 
-SRCREV = "8700279495e266378d36092ccf86424f0ee2539f"
+SRCREV = "23baee63495aa685e7693467b7a5469ff5ca4481"
 SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \
           "
 S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE = " \
-                 -DCMAKE_BUILD_TYPE=Release \
-                "
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
 # The compiled binaries don't provide sonames.
 SOLIBS = "${SOLIBSDEV}"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 04/11] rpi-config: Update to 2013-08-20 master's snapshot
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 03/11] userland: Update to 2013-08-20 master's snapshot Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-23 11:06   ` Paul Barker
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 05/11] rpi-gpio: Update to v0.5.3a Andrei Gherzan
                   ` (7 subsequent siblings)
  10 siblings, 1 reply; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Use git as package version. There is no package version for this script.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-bcm/bootfiles/rpi-config_0.1.bb |   57 -------------------------------
 recipes-bcm/bootfiles/rpi-config_git.bb |   57 +++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 57 deletions(-)
 delete mode 100644 recipes-bcm/bootfiles/rpi-config_0.1.bb
 create mode 100644 recipes-bcm/bootfiles/rpi-config_git.bb

diff --git a/recipes-bcm/bootfiles/rpi-config_0.1.bb b/recipes-bcm/bootfiles/rpi-config_0.1.bb
deleted file mode 100644
index a8938dc..0000000
--- a/recipes-bcm/bootfiles/rpi-config_0.1.bb
+++ /dev/null
@@ -1,57 +0,0 @@
-DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \
-               The Raspberry Pi config.txt file is read by the GPU before \
-               the ARM core is initialised. It can be used to set various \
-               system configuration parameters."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRCREV = "62bf3e9db62f547eb1a2a352dde957d2f94bd216"
-SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \
-          "
-
-S = "${WORKDIR}/git"
-
-PR = "r3"
-
-addtask deploy before do_package after do_install
-
-do_deploy() {
-	install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
-	cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/
-	if [ -n "${KEY_DECODE_MPG2}" ]; then
-		sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${KEY_DECODE_WVC1}" ]; then
-		sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${DISABLE_OVERSCAN}" ]; then
-		sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${ARM_FREQ}" ]; then
-		sed -i '/#arm_freq/ c\arm_freq=${ARM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${CORE_FREQ}" ]; then
-		sed -i '/#core_freq/ c\core_freq=${CORE_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${SDRAM_FREQ}" ]; then
-		sed -i '/#sdram_freq/ c\sdram_freq=${SDRAM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${OVER_VOLTAGE}" ]; then
-		sed -i '/#over_voltage/ c\over_voltage=${OVER_VOLTAGE}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-
-	# GPU memory
-	if [ -n "${GPU_MEM}" ]; then
-		sed -i '/#gpu_mem=/ c\gpu_mem=${GPU_MEM}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${GPU_MEM_256}" ]; then
-		sed -i '/#gpu_mem_256/ c\gpu_mem_256=${GPU_MEM_256}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-	if [ -n "${GPU_MEM_512}" ]; then
-		sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
-	fi
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bcm/bootfiles/rpi-config_git.bb b/recipes-bcm/bootfiles/rpi-config_git.bb
new file mode 100644
index 0000000..4328070
--- /dev/null
+++ b/recipes-bcm/bootfiles/rpi-config_git.bb
@@ -0,0 +1,57 @@
+DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \
+               The Raspberry Pi config.txt file is read by the GPU before \
+               the ARM core is initialised. It can be used to set various \
+               system configuration parameters."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRCREV = "5d2ca5f9bcb1b239c051e20c05a233fd79cf09d5"
+SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \
+          "
+
+S = "${WORKDIR}/git"
+
+PR = "r4"
+
+addtask deploy before do_package after do_install
+
+do_deploy() {
+	install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
+	cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/
+	if [ -n "${KEY_DECODE_MPG2}" ]; then
+		sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${KEY_DECODE_WVC1}" ]; then
+		sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${DISABLE_OVERSCAN}" ]; then
+		sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${ARM_FREQ}" ]; then
+		sed -i '/#arm_freq/ c\arm_freq=${ARM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${CORE_FREQ}" ]; then
+		sed -i '/#core_freq/ c\core_freq=${CORE_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${SDRAM_FREQ}" ]; then
+		sed -i '/#sdram_freq/ c\sdram_freq=${SDRAM_FREQ}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${OVER_VOLTAGE}" ]; then
+		sed -i '/#over_voltage/ c\over_voltage=${OVER_VOLTAGE}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+
+	# GPU memory
+	if [ -n "${GPU_MEM}" ]; then
+		sed -i '/#gpu_mem=/ c\gpu_mem=${GPU_MEM}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${GPU_MEM_256}" ]; then
+		sed -i '/#gpu_mem_256/ c\gpu_mem_256=${GPU_MEM_256}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+	if [ -n "${GPU_MEM_512}" ]; then
+		sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
+	fi
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 05/11] rpi-gpio: Update to v0.5.3a
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (2 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 04/11] rpi-config: " Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 06/11] rpio: Integrate v0.10.0 Andrei Gherzan
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

don-t-install-setuptools.patch was removed as this is included now in the new
version.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 .../python/rpi-gpio/don-t-install-setuptools.patch |   16 ---------------
 recipes-devtools/python/rpi-gpio_0.2.0.bb          |   21 --------------------
 recipes-devtools/python/rpi-gpio_0.5.3a.bb         |   20 +++++++++++++++++++
 3 files changed, 20 insertions(+), 37 deletions(-)
 delete mode 100644 recipes-devtools/python/rpi-gpio/don-t-install-setuptools.patch
 delete mode 100644 recipes-devtools/python/rpi-gpio_0.2.0.bb
 create mode 100644 recipes-devtools/python/rpi-gpio_0.5.3a.bb

diff --git a/recipes-devtools/python/rpi-gpio/don-t-install-setuptools.patch b/recipes-devtools/python/rpi-gpio/don-t-install-setuptools.patch
deleted file mode 100644
index bc71443..0000000
--- a/recipes-devtools/python/rpi-gpio/don-t-install-setuptools.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-We already have setuptools python module so we will use that and not the
-one provided in this package.
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
-Index: RPi.GPIO-0.2.0/setup.py
-===================================================================
---- RPi.GPIO-0.2.0.orig/setup.py	2012-05-24 13:17:31.000000000 +0300
-+++ RPi.GPIO-0.2.0/setup.py	2012-08-22 00:56:59.049001018 +0300
-@@ -1,6 +1,4 @@
- #!/usr/bin/env python
--import distribute_setup
--distribute_setup.use_setuptools()
- from setuptools import setup, find_packages
- import platform
diff --git a/recipes-devtools/python/rpi-gpio_0.2.0.bb b/recipes-devtools/python/rpi-gpio_0.2.0.bb
deleted file mode 100644
index 73122cd..0000000
--- a/recipes-devtools/python/rpi-gpio_0.2.0.bb
+++ /dev/null
@@ -1,21 +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=ee5754ae9d5f8061d6d4ccd9c9fe0061"
-
-SRCNAME = "RPi.GPIO"
-PR = "r0"
-
-SRC_URI = "\
-          http://pypi.python.org/packages/source/R/RPi.GPIO/${SRCNAME}-${PV}.tar.gz \
-          file://don-t-install-setuptools.patch \
-          "
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI[md5sum] = "0fc4bfa6aabc856b0b75252a40ac75cc"
-SRC_URI[sha256sum] = "fcfd97dc9687dde76b13b9d12c122e71b13e2ba09a62913d7b8d9ddbb3e8cabf"
diff --git a/recipes-devtools/python/rpi-gpio_0.5.3a.bb b/recipes-devtools/python/rpi-gpio_0.5.3a.bb
new file mode 100644
index 0000000..9b0ece0
--- /dev/null
+++ b/recipes-devtools/python/rpi-gpio_0.5.3a.bb
@@ -0,0 +1,20 @@
+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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 06/11] rpio: Integrate v0.10.0
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (3 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 05/11] rpi-gpio: Update to v0.5.3a Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi Andrei Gherzan
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-devtools/python/rpio_0.10.0.bb |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 recipes-devtools/python/rpio_0.10.0.bb

diff --git a/recipes-devtools/python/rpio_0.10.0.bb b/recipes-devtools/python/rpio_0.10.0.bb
new file mode 100644
index 0000000..1cc1661
--- /dev/null
+++ b/recipes-devtools/python/rpio_0.10.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Advanced GPIO for the Raspberry Pi. Extends RPi.GPIO with PWM, \
+GPIO interrups, TCP socket interrupts, command line tools and more"
+HOMEPAGE = "https://github.com/metachris/RPIO"
+SECTION = "devel/python"
+LICENSE = "LGPLv3+"
+LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a"
+
+SRCNAME = "RPIO"
+
+SRC_URI = "\
+          http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \
+          "
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI[md5sum] = "cefc45422833dcafcd59b78dffc540f4"
+SRC_URI[sha256sum] = "b89f75dec9de354681209ebfaedfe22b7c178aacd91a604a7bd6d92024e4cf7e"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (4 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 06/11] rpio: Integrate v0.10.0 Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-23 10:59   ` Paul Barker
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9 Andrei Gherzan
                   ` (4 subsequent siblings)
  10 siblings, 1 reply; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

The graphics libraries provided by userland does not include libgl. So compile
mesa with libgl support and remove gles and egl from it as these are provided
by userland.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-graphics/mesa/mesa_9.1.6.bbappend |   34 +++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 recipes-graphics/mesa/mesa_9.1.6.bbappend

diff --git a/recipes-graphics/mesa/mesa_9.1.6.bbappend b/recipes-graphics/mesa/mesa_9.1.6.bbappend
new file mode 100644
index 0000000..88e5eab
--- /dev/null
+++ b/recipes-graphics/mesa/mesa_9.1.6.bbappend
@@ -0,0 +1,34 @@
+PRINC := "${@int(PRINC) + 1}"
+
+#
+# FIXME
+# We may a way to disable EGL and GL ES2, these are provided by userland package
+#
+python __anonymous () {
+    import re
+
+    # Remove egl and gles2 configure options
+    extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
+    take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']
+    put_in = ['--disable-egl', '--disable-gles2', '--disable-gles1']
+    pattern = re.compile("--with-egl-platforms")
+    new_extra_oeconf = []
+    for i in extra_oeconf:
+        if i not in take_out and not pattern.match(i):
+            new_extra_oeconf.append(i)
+    for i in put_in:
+        new_extra_oeconf.append(i)
+    d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
+
+    # Remove egl and gles2 from provides
+    provides = d.getVar('PROVIDES', True).split()
+    take_out = ['virtual/libgles2', 'virtual/egl', 'virtual/libgles1']
+    new_provides = []
+    for i in provides:
+        if i not in take_out:
+            new_provides.append(i)
+    d.setVar('PROVIDES', ' '.join(new_provides))
+
+    # We are now machine specific
+    d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (5 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 09/11] omxplayer: Update to 2013-08-20 master's snapshot Andrei Gherzan
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-bcm/bcm2835/bcm2835_1.8.bb |   42 -----------------------------------
 recipes-bcm/bcm2835/bcm2835_1.9.bb |   43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 42 deletions(-)
 delete mode 100644 recipes-bcm/bcm2835/bcm2835_1.8.bb
 create mode 100644 recipes-bcm/bcm2835/bcm2835_1.9.bb

diff --git a/recipes-bcm/bcm2835/bcm2835_1.8.bb b/recipes-bcm/bcm2835/bcm2835_1.8.bb
deleted file mode 100644
index 40f9be5..0000000
--- a/recipes-bcm/bcm2835/bcm2835_1.8.bb
+++ /dev/null
@@ -1,42 +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"
-
-PR = "r0"
-
-COMPATIBLE_MACHINE = "raspberrypi"
-
-SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-1.8.tar.gz"
-
-SRC_URI[md5sum] = "cca8500049d4ebf9087de4bd1601d185"
-SRC_URI[sha256sum] = "64be77b10aaf48ecb2a9022e13057f3b564093916875c0fc56373b4142dd5cae"
-
-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.9.bb b/recipes-bcm/bcm2835/bcm2835_1.9.bb
new file mode 100644
index 0000000..d6858f4
--- /dev/null
+++ b/recipes-bcm/bcm2835/bcm2835_1.9.bb
@@ -0,0 +1,43 @@
+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"
+
+PR = "r0"
+
+COMPATIBLE_MACHINE = "raspberrypi"
+
+SRC_URI = "http://www.open.com.au/mikem/bcm2835/bcm2835-1.9.tar.gz"
+
+SRC_URI[md5sum] = "c102938afe9f0cfa930a0255c422f792"
+SRC_URI[sha256sum] = "0dc6ee5a261e76b103a04534c1b8ebc20dce8921dec2452785100812f978c883"
+
+
+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.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 09/11] omxplayer: Update to 2013-08-20 master's snapshot
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (6 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9 Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 10/11] firmware: " Andrei Gherzan
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

* Use DIST for install path as used in package's makefile.
* Set FLOAT based on callconvention-hard TUNE_FEATURE.
* Add an include path to avoid a header error.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 ...Makefile.include-which-includes-hardcoded.patch |   84 ++++++++++++++++++++
 ...nd-headers-from-ffmpeg-are-installed-in-u.patch |   49 ++++++++++++
 .../0003-Remove-strip-step-in-Makefile.patch       |   39 +++++++++
 .../omxplayer/don-t-strip-while-installing.patch   |   28 -------
 .../libraries-are-installed-in-usr-lib.patch       |   37 ---------
 ...remove-hardcoded-directory-omxplayer-dist.patch |   32 --------
 recipes-multimedia/omxplayer/omxplayer_git.bb      |   24 +++---
 7 files changed, 183 insertions(+), 110 deletions(-)
 create mode 100644 recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch
 create mode 100644 recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
 create mode 100644 recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch
 delete mode 100644 recipes-multimedia/omxplayer/omxplayer/don-t-strip-while-installing.patch
 delete mode 100644 recipes-multimedia/omxplayer/omxplayer/libraries-are-installed-in-usr-lib.patch
 delete mode 100644 recipes-multimedia/omxplayer/omxplayer/remove-hardcoded-directory-omxplayer-dist.patch

diff --git a/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch
new file mode 100644
index 0000000..b68e351
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch
@@ -0,0 +1,84 @@
+From a2a28fb7c4e8354cc0f90454e9bd151c16a6bf8b Mon Sep 17 00:00:00 2001
+From: Andrei Gherzan <andrei@gherzan.ro>
+Date: Tue, 20 Aug 2013 16:10:51 +0300
+Subject: [PATCH] Remove Makefile.include which includes hardcoded
+
+Remove Makefile.include which includes hardcoded paths and rely on
+variables provided by build system.
+
+Upstream-Status: Inappropriate [embedded specific]
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+---
+ Makefile         |    2 --
+ Makefile.ffmpeg  |    2 --
+ Makefile.include |   38 --------------------------------------
+ 3 files changed, 42 deletions(-)
+ delete mode 100644 Makefile.include
+
+diff --git a/Makefile b/Makefile
+index 519048a..1faa779 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,3 @@
+-include Makefile.include
+-
+ CFLAGS+=-std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_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./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/
+diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
+index 6ec94af..4297b1f 100644
+--- a/Makefile.ffmpeg
++++ b/Makefile.ffmpeg
+@@ -1,5 +1,3 @@
+-include Makefile.include
+-
+ CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_HAVE_SBRK -D_LARGEFILE64_SOURCE -DHAVE_CMAKE_CONFIG -DHAVE_VMCS_CONFIG -D_REENTRANT -DUSE_VCHIQ_ARM -DVCHI_BULK_ALIGN=1 -DVCHI_BULK_GRANULARITY=1 -DEGL_SERVER_DISPMANX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__VIDEOCORE4__ -DGRAPHICS_X_VG=1 -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG  -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT
+ 
+ WORK=$(PWD)
+diff --git a/Makefile.include b/Makefile.include
+deleted file mode 100644
+index 501fd4f..0000000
+--- a/Makefile.include
++++ /dev/null
+@@ -1,38 +0,0 @@
+-USE_BUILDROOT=1
+-FLOAT=hard
+-
+-ifeq ($(USE_BUILDROOT), 1)
+-BUILDROOT	:=/opt/xbmc-bcm/buildroot
+-SDKSTAGE	:=$(BUILDROOT)/output/staging
+-TARGETFS	:=$(BUILDROOT)/output/target
+-TOOLCHAIN	:=$(BUILDROOT)/output/host/usr/
+-HOST			:=arm-unknown-linux-gnueabi
+-SYSROOT		:=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot
+-else
+-BUILDROOT	:=/opt/bcm-rootfs
+-SDKSTAGE	:=/opt/bcm-rootfs
+-TARGETFS	:=/opt/bcm-rootfs
+-TOOLCHAIN	:=/usr/local/bcm-gcc
+-HOST			:=bcm2708
+-SYSROOT		:=$(TOOLCHAIN)/arm-bcm2708-linux-gnueabi/sys-root
+-endif
+-
+-JOBS=7
+-
+-CFLAGS			:= -isystem$(PREFIX)/include
+-CXXFLAGS		:= $(CFLAGS)
+-CPPFLAGS		:= $(CFLAGS)
+-LDFLAGS			:= -L$(BUILDROOT)/lib
+-LD					:= $(TOOLCHAIN)/bin/$(HOST)-ld --sysroot=$(SYSROOT)
+-CC					:= $(TOOLCHAIN)/bin/$(HOST)-gcc --sysroot=$(SYSROOT)
+-CXX         := $(TOOLCHAIN)/bin/$(HOST)-g++ --sysroot=$(SYSROOT)
+-OBJDUMP			:= $(TOOLCHAIN)/bin/$(HOST)-objdump
+-RANLIB			:= $(TOOLCHAIN)/bin/$(HOST)-ranlib
+-STRIP				:= $(TOOLCHAIN)/bin/$(HOST)-strip
+-AR 					:= $(TOOLCHAIN)/bin/$(HOST)-ar
+-CXXCP 			:= $(CXX) -E
+-PATH 				:= $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
+-
+-CFLAGS			+= -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -O3 -mstructure-size-boundary=32 -mno-sched-prolog
+-LDFLAGS			+= -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/
+-INCLUDES		+= -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2
+-- 
+1.7.9.5
+
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
new file mode 100644
index 0000000..00a1f29
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
@@ -0,0 +1,49 @@
+From 13b525667a6ab7af2354ffd6208e490349669798 Mon Sep 17 00:00:00 2001
+From: Andrei Gherzan <andrei@gherzan.ro>
+Date: Tue, 20 Aug 2013 16:15:15 +0300
+Subject: [PATCH 2/3] Libraries and headers from ffmpeg are installed in /usr.
+
+Don't search for libraries and headers in /usr/local.
+
+Upstream-Status: Inappropriate [embedded specific]
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+---
+ Makefile        |    6 +++---
+ Makefile.ffmpeg |    2 +-
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 1faa779..7b639f1 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ CFLAGS+=-std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_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./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/
+-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/
++LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/lib/
++INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/
+ 
+ DIST ?= omxplayer-dist
+ 
+@@ -66,5 +66,5 @@ dist: omxplayer.bin
+ 	cp omxplayer omxplayer.bin $(DIST)/usr/bin
+ 	cp COPYING $(DIST)/usr/share/doc/
+ 	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 6ec94af..13e6c09 100644
+--- a/Makefile.ffmpeg
++++ b/Makefile.ffmpeg
+@@ -64,5 +64,5 @@ checkout:
+ 
+ install:
+ 	cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
+-	$(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so
++	$(HOST)-strip ffmpeg_compiled/usr/lib/*.so
+ 
+-- 
+1.7.9.5
+
diff --git a/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch
new file mode 100644
index 0000000..df15763
--- /dev/null
+++ b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch
@@ -0,0 +1,39 @@
+From aa424d5bcbf40c69acb13de3cb6c67688f0c9046 Mon Sep 17 00:00:00 2001
+From: Andrei Gherzan <andrei@gherzan.ro>
+Date: Tue, 20 Aug 2013 16:17:06 +0300
+Subject: [PATCH 3/3] Remove strip step in Makefile
+
+Build system will strip binaries so remove strip step in Makefile.
+Avoid warnings/errors like:
+WARNING: File '/usr/lib/omxplayer/libavutil.so.51.56.100' from
+omxplayer was already stripped, this will prevent future debugging!
+
+Upstream-Status: Inappropriate [embedded specific]
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+---
+ Makefile.ffmpeg |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
+index 13e6c09..51c9514 100644
+--- a/Makefile.ffmpeg
++++ b/Makefile.ffmpeg
+@@ -53,7 +53,8 @@ configure:
+ 			--enable-hardcoded-tables \
+ 			--disable-runtime-cpudetect \
+ 			--disable-debug \
+-			--cross-prefix=$(HOST)-
++			--cross-prefix=$(HOST)- \
++			--disable-stripping
+ 
+ clean:
+ 	@rm -rf ffmpeg
+@@ -64,5 +65,4 @@ checkout:
+ 
+ install:
+ 	cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
+-	$(HOST)-strip ffmpeg_compiled/usr/lib/*.so
+ 
+-- 
+1.7.9.5
+
diff --git a/recipes-multimedia/omxplayer/omxplayer/don-t-strip-while-installing.patch b/recipes-multimedia/omxplayer/omxplayer/don-t-strip-while-installing.patch
deleted file mode 100644
index 4f12cc0..0000000
--- a/recipes-multimedia/omxplayer/omxplayer/don-t-strip-while-installing.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Build system will strip binaries so remove strip step in Makefile.
-Avoid warnings/errors like:
-WARNING: File '/usr/lib/omxplayer/libavutil.so.51.56.100' from
-omxplayer was already stripped, this will prevent future debugging!
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
-Index: git/Makefile.ffmpeg
-===================================================================
---- git.orig/Makefile.ffmpeg	2012-08-26 15:38:45.099379852 +0300
-+++ git/Makefile.ffmpeg	2012-08-26 15:46:51.913055176 +0300
-@@ -52,7 +52,8 @@
- 			--enable-hardcoded-tables \
- 			--disable-runtime-cpudetect \
- 			--disable-debug \
--			--cross-prefix=$(HOST)-
-+			--cross-prefix=$(HOST)- \
-+			--disable-stripping
- 
- clean:
- 	@rm -rf ffmpeg
-@@ -63,5 +64,4 @@
- 
- install:
- 	cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
--	$(HOST)-strip ffmpeg_compiled/usr/lib/*.so
- 
diff --git a/recipes-multimedia/omxplayer/omxplayer/libraries-are-installed-in-usr-lib.patch b/recipes-multimedia/omxplayer/omxplayer/libraries-are-installed-in-usr-lib.patch
deleted file mode 100644
index 1126bfb..0000000
--- a/recipes-multimedia/omxplayer/omxplayer/libraries-are-installed-in-usr-lib.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Libraries and headers from ffmpeg are installed in usr/lib.
-
-Upstream-Status: Pending
-Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
-Index: git/Makefile.ffmpeg
-===================================================================
---- git.orig/Makefile.ffmpeg	2012-08-26 02:46:40.380518313 +0300
-+++ git/Makefile.ffmpeg	2012-08-26 02:46:40.512511177 +0300
-@@ -63,5 +63,5 @@
- 
- install:
- 	cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
--	$(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so
-+	$(HOST)-strip ffmpeg_compiled/usr/lib/*.so
- 
-Index: git/Makefile
-===================================================================
---- git.orig/Makefile	2012-08-26 02:52:11.578611542 +0300
-+++ git/Makefile	2012-08-26 02:52:53.952320465 +0300
-@@ -1,7 +1,7 @@
- CFLAGS+=-std=c++0x -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_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 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
- 
--LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/local/lib/
--INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/
-+LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -Lffmpeg_compiled/usr/lib/
-+INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/
- 
- SRC=linux/XMemUtils.cpp \
- 		utils/log.cpp \
-@@ -63,5 +63,5 @@
- 	cp omxplayer omxplayer.bin omxplayer-dist/usr/usr/bin
- 	cp COPYING omxplayer-dist/usr/share/doc/
- 	cp README.md omxplayer-dist/usr/share/doc/README
--	cp -a ffmpeg_compiled/usr/local/lib/*.so* omxplayer-dist/usr/lib/omxplayer/
-+	cp -a ffmpeg_compiled/usr/lib/*.so* omxplayer-dist/usr/lib/omxplayer/
- 	tar -czf omxplayer-dist.tar.gz omxplayer-dist
diff --git a/recipes-multimedia/omxplayer/omxplayer/remove-hardcoded-directory-omxplayer-dist.patch b/recipes-multimedia/omxplayer/omxplayer/remove-hardcoded-directory-omxplayer-dist.patch
deleted file mode 100644
index 99fbbf8..0000000
--- a/recipes-multimedia/omxplayer/omxplayer/remove-hardcoded-directory-omxplayer-dist.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Modify install rule to use /usr/bin path and not /usr/usr/bin for
-installing omxplayer binary and script.
-As well, add a variable to let the user specify where to install
-the files.
-
-Upstream-Status: Pending
-Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-
-Index: git/Makefile
-===================================================================
---- git.orig/Makefile	2012-08-26 05:03:31.710678243 +0300
-+++ git/Makefile	2012-08-26 05:03:11.000000000 +0300
-@@ -59,11 +57,11 @@
- 	make -f Makefile.ffmpeg install
- 
- dist: omxplayer.bin
--	mkdir -p omxplayer-dist/usr/lib/omxplayer
--	mkdir -p omxplayer-dist/usr/usr/bin
--	mkdir -p omxplayer-dist/usr/share/doc
--	cp omxplayer omxplayer.bin omxplayer-dist/usr/usr/bin
--	cp COPYING omxplayer-dist/usr/share/doc/
--	cp README.md omxplayer-dist/usr/share/doc/README
--	cp -a ffmpeg_compiled/usr/lib/*.so* omxplayer-dist/usr/lib/omxplayer/
--	tar -czf omxplayer-dist.tar.gz omxplayer-dist
-+	mkdir -p $(DEST)/usr/lib/omxplayer
-+	mkdir -p $(DEST)/usr/bin
-+	mkdir -p $(DEST)/usr/share/doc
-+	cp omxplayer omxplayer.bin $(DEST)/usr/bin
-+	cp COPYING $(DEST)/usr/share/doc/
-+	cp README.md $(DEST)/usr/share/doc/README
-+	cp -a ffmpeg_compiled/usr/lib/*.so* $(DEST)/usr/lib/omxplayer/
-+	tar -czf omxplayer-dist.tar.gz $(DEST)
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index b637ba6..a456026 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -7,29 +7,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libpcre libav virtual/egl boost freetype"
 
-PR = "r0"
+PR = "r1"
 
-SRCREV = "231c08b42005e3de565013bc1cee18bd5a349c1f"
+SRCREV = "dae98a8bba9dc7410b0621134f6ebdb406adb1bd"
 SRC_URI = "git://github.com/huceke/omxplayer.git;protocol=git;branch=master \
-           file://remove-makefile-include.patch \
-           file://libraries-are-installed-in-usr-lib.patch \
-           file://remove-hardcoded-directory-omxplayer-dist.patch \
-           file://don-t-strip-while-installing.patch \
-          "
+           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"
 S = "${WORKDIR}/git"
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
 inherit autotools
 
-# Variable added in Makefile to INCLUDE
-export ADD_INCDIR = "-I${STAGING_INCDIR}/interface/vcos/pthreads -I${STAGING_INCDIR}/freetype2"
+# Needed in ffmpeg configure
+export TEMPDIR = "${S}/tmp"
 
-# Needed in configure from Makefile.ffmpeg
+# Needed in Makefile.ffmpeg
 export HOST = "${HOST_SYS}"
 export WORK = "${S}"
-export TEMPDIR = "${S}/tmp"
-export FLOAT = "softfp"
+export FLOAT = "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "hard", "softfp", d)}"
 
 export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \
                   -L${STAGING_DIR_HOST}/lib \
@@ -39,10 +36,11 @@ export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \
 export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \
                    -isystem${STAGING_DIR_HOST}/usr/include/interface/vcos/pthreads \
                    -isystem${STAGING_DIR_HOST}/usr/include/freetype2 \
+                   -isystem${STAGING_DIR_HOST}/usr/include/interface/vmcs_host/linux \
                   "
 
 # Install in ${D}
-export DEST = "${D}"
+export DIST = "${D}"
 
 do_compile() {
 	# Needed for compiler test in ffmpeg's configure
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 10/11] firmware: Update to 2013-08-20 master's snapshot
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (7 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 09/11] omxplayer: Update to 2013-08-20 master's snapshot Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 11/11] vc-graphics: Remove some useless new lines Andrei Gherzan
  2013-08-21 13:14 ` [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-bcm/common/firmware.inc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-bcm/common/firmware.inc b/recipes-bcm/common/firmware.inc
index e291832..5bad182 100644
--- a/recipes-bcm/common/firmware.inc
+++ b/recipes-bcm/common/firmware.inc
@@ -1,6 +1,6 @@
-# 7/1/2013 firmware; this can be overridden from distro config
-RPIFW_SRCREV ?= "0ac68cce44d4550c251172e8524100090e8211fa"
-RPIFW_DATE ?= "20130107"
+# 19/08/2013 firmware; this can be overridden from distro config
+RPIFW_SRCREV ?= "5b37b2a7f357236210eef1a438becaa2a57148f2"
+RPIFW_DATE ?= "20130819"
 RPIFW_SRC_URI ?= "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
 RPIFW_S ?= "${WORKDIR}/git"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [meta-raspberrypi][PATCH 11/11] vc-graphics: Remove some useless new lines
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (8 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 10/11] firmware: " Andrei Gherzan
@ 2013-08-20 17:02 ` Andrei Gherzan
  2013-08-21 13:14 ` [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-20 17:02 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-bcm/vc-graphics/vc-graphics-hardfp.bb |    2 --
 recipes-bcm/vc-graphics/vc-graphics.bb        |    2 --
 2 files changed, 4 deletions(-)

diff --git a/recipes-bcm/vc-graphics/vc-graphics-hardfp.bb b/recipes-bcm/vc-graphics/vc-graphics-hardfp.bb
index e96c291..0db71fd 100644
--- a/recipes-bcm/vc-graphics/vc-graphics-hardfp.bb
+++ b/recipes-bcm/vc-graphics/vc-graphics-hardfp.bb
@@ -1,8 +1,6 @@
-
 CONFLICTS = "vc-graphics"
 
 VCDIR = "hardfp/opt/vc"
 require vc-graphics.inc
 
 PR = "${INCPR}.0"
-
diff --git a/recipes-bcm/vc-graphics/vc-graphics.bb b/recipes-bcm/vc-graphics/vc-graphics.bb
index e78a80b..a1bce56 100644
--- a/recipes-bcm/vc-graphics/vc-graphics.bb
+++ b/recipes-bcm/vc-graphics/vc-graphics.bb
@@ -1,8 +1,6 @@
-
 CONFLICTS = "vc-graphics-hardfp"
 
 VCDIR = "opt/vc"
 require vc-graphics.inc
 
 PR = "${INCPR}.0"
-
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer
  2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
                   ` (9 preceding siblings ...)
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 11/11] vc-graphics: Remove some useless new lines Andrei Gherzan
@ 2013-08-21 13:14 ` Andrei Gherzan
  10 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-21 13:14 UTC (permalink / raw)
  To: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]

1-11 Patches merged.


On Tue, Aug 20, 2013 at 8:02 PM, Andrei Gherzan <andrei@gherzan.ro> wrote:

> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>  README |   23 +++++++++++++++--------
>  1 file changed, 15 insertions(+), 8 deletions(-)
>
> diff --git a/README b/README
> index 920d063..db88066 100644
> --- a/README
> +++ b/README
> @@ -34,7 +34,9 @@ Contents:
>      2.C. Add purchased license codecs
>      2.D. Disable overscan
>      2.E. Set overclocking options
> -3. Contribution
> +3. Extra apps
> +    3.A. omxplayer
> +4. Contribution
>
>
>
> @@ -94,16 +96,11 @@ URI: git://git.yoctoproject.org/poky
>  branch: master
>  revision: HEAD
>
> -URI: git://git.openembedded.org/meta-openembedded
> -branch: master
> -revision: HEAD
> -
>  How to use it:
>
>  1. source poky/oe-init-build-env rpi-build
> -2. Add needed layers to bblayers.conf:
> +2. Add needed layer to bblayers.conf:
>      - meta-raspberrypi
> -    - meta-openembedded/meta-oe
>  3  Set MACHINE to raspberrypi in local.conf
>  4. bitbake rpi-hwup-image
>  5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is
> used)
> @@ -155,8 +152,18 @@ SDRAM_FREQ = "500"
>  OVER_VOLTAGE = "6"
>
>
> +3. Extra apps
> +=============
> +
> +3.A. omxplayer
> +==============
> +omxplayer depends on libav which has a commercial license. So in order to
> be
> +able to compile omxplayer you will need to whiteflag the commercial
> license
> +adding to you local.conf:
> +LICENSE_FLAGS_WHITELIST = "commercial"
> +
>
> -3. Contributing
> +4. Contributing
>  ===============
>
>  To contribute to this layer you should send the patches for review to the
> --
> 1.7.9.5
>
>


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

[-- Attachment #2: Type: text/html, Size: 2903 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
@ 2013-08-23  9:40   ` Paul Barker
  2013-08-24  0:05     ` Andrei Gherzan
  0 siblings, 1 reply; 21+ messages in thread
From: Paul Barker @ 2013-08-23  9:40 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: Yocto discussion list

On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>

I also got a successful boot with commit
d996a1b91b2bf3dc06f4f4f822a56f4496457aa1 on the 3.8.y branch, it was
HEAD at the time I checked it out and the Makefile says it's version
3.8.13. Perhaps we could add this as an alternative kernel version,
even if we keep the default as is.

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi Andrei Gherzan
@ 2013-08-23 10:59   ` Paul Barker
  2013-08-23 12:26     ` Martin Jansa
  0 siblings, 1 reply; 21+ messages in thread
From: Paul Barker @ 2013-08-23 10:59 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: Yocto discussion list

On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> +python __anonymous () {
> +    import re
> +
> +    # Remove egl and gles2 configure options
> +    extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
> +    take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']
> +    put_in = ['--disable-egl', '--disable-gles2', '--disable-gles1']
> +    pattern = re.compile("--with-egl-platforms")
> +    new_extra_oeconf = []
> +    for i in extra_oeconf:
> +        if i not in take_out and not pattern.match(i):
> +            new_extra_oeconf.append(i)
> +    for i in put_in:
> +        new_extra_oeconf.append(i)
> +    d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
> +
> +    # Remove egl and gles2 from provides
> +    provides = d.getVar('PROVIDES', True).split()
> +    take_out = ['virtual/libgles2', 'virtual/egl', 'virtual/libgles1']
> +    new_provides = []
> +    for i in provides:
> +        if i not in take_out:
> +            new_provides.append(i)
> +    d.setVar('PROVIDES', ' '.join(new_provides))
> +
> +    # We are now machine specific
> +    d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
> +}

This really needs to check whether MACHINE="raspberrypi" before
changing anything. I keep the same stack of layers and just change
MACHINE when building for raspberrypi and beagleboard.

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 04/11] rpi-config: Update to 2013-08-20 master's snapshot
  2013-08-20 17:02 ` [meta-raspberrypi][PATCH 04/11] rpi-config: " Andrei Gherzan
@ 2013-08-23 11:06   ` Paul Barker
  2013-08-24  0:03     ` Andrei Gherzan
  0 siblings, 1 reply; 21+ messages in thread
From: Paul Barker @ 2013-08-23 11:06 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: Yocto discussion list

On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> Use git as package version. There is no package version for this script.
>
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>  recipes-bcm/bootfiles/rpi-config_0.1.bb |   57 -------------------------------
>  recipes-bcm/bootfiles/rpi-config_git.bb |   57 +++++++++++++++++++++++++++++++
>  2 files changed, 57 insertions(+), 57 deletions(-)
>  delete mode 100644 recipes-bcm/bootfiles/rpi-config_0.1.bb
>  create mode 100644 recipes-bcm/bootfiles/rpi-config_git.bb

Sorry to be pedantic, but the diffs are easier to check if you add the
'-M' option to catch renames. I always forget to add it so I did "git
config --global diff.renames copy" to catch all renames and copies
whenever I do format-patch.

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-08-23 10:59   ` Paul Barker
@ 2013-08-23 12:26     ` Martin Jansa
  2013-08-24  0:02       ` Andrei Gherzan
  0 siblings, 1 reply; 21+ messages in thread
From: Martin Jansa @ 2013-08-23 12:26 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]

On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote:
> On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > +python __anonymous () {
> > +    import re
> > +
> > +    # Remove egl and gles2 configure options
> > +    extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
> > +    take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']
> > +    put_in = ['--disable-egl', '--disable-gles2', '--disable-gles1']
> > +    pattern = re.compile("--with-egl-platforms")
> > +    new_extra_oeconf = []
> > +    for i in extra_oeconf:
> > +        if i not in take_out and not pattern.match(i):
> > +            new_extra_oeconf.append(i)
> > +    for i in put_in:
> > +        new_extra_oeconf.append(i)
> > +    d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
> > +
> > +    # Remove egl and gles2 from provides
> > +    provides = d.getVar('PROVIDES', True).split()
> > +    take_out = ['virtual/libgles2', 'virtual/egl', 'virtual/libgles1']
> > +    new_provides = []
> > +    for i in provides:
> > +        if i not in take_out:
> > +            new_provides.append(i)
> > +    d.setVar('PROVIDES', ' '.join(new_provides))
> > +
> > +    # We are now machine specific
> > +    d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
> > +}
> 
> This really needs to check whether MACHINE="raspberrypi" before
> changing anything. I keep the same stack of layers and just change
> MACHINE when building for raspberrypi and beagleboard.

Be aware that it would make mesa (and everything depending on mesa)
effectively MACHINE_ARCH.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-08-23 12:26     ` Martin Jansa
@ 2013-08-24  0:02       ` Andrei Gherzan
  2013-10-11 15:47         ` Paul Barker
  0 siblings, 1 reply; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-24  0:02 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

On Fri, Aug 23, 2013 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com>wrote:

> On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote:
> > On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > > +python __anonymous () {
> > > +    import re
> > > +
> > > +    # Remove egl and gles2 configure options
> > > +    extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
> > > +    take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']
> > > +    put_in = ['--disable-egl', '--disable-gles2', '--disable-gles1']
> > > +    pattern = re.compile("--with-egl-platforms")
> > > +    new_extra_oeconf = []
> > > +    for i in extra_oeconf:
> > > +        if i not in take_out and not pattern.match(i):
> > > +            new_extra_oeconf.append(i)
> > > +    for i in put_in:
> > > +        new_extra_oeconf.append(i)
> > > +    d.setVar('EXTRA_OECONF', ' '.join(new_extra_oeconf))
> > > +
> > > +    # Remove egl and gles2 from provides
> > > +    provides = d.getVar('PROVIDES', True).split()
> > > +    take_out = ['virtual/libgles2', 'virtual/egl', 'virtual/libgles1']
> > > +    new_provides = []
> > > +    for i in provides:
> > > +        if i not in take_out:
> > > +            new_provides.append(i)
> > > +    d.setVar('PROVIDES', ' '.join(new_provides))
> > > +
> > > +    # We are now machine specific
> > > +    d.setVar('PACKAGE_ARCH', d.getVar('MACHINE_ARCH'))
> > > +}
> >
> > This really needs to check whether MACHINE="raspberrypi" before
> > changing anything. I keep the same stack of layers and just change
> > MACHINE when building for raspberrypi and beagleboard.
>
>
That's definitely a good idea. Already merged the patch but will rebase /
add a new commit.


>  Be aware that it would make mesa (and everything depending on mesa)
> effectively MACHINE_ARCH.
>

I am aware of that but I don't see how to avoid this...

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

[-- Attachment #2: Type: text/html, Size: 3430 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 04/11] rpi-config: Update to 2013-08-20 master's snapshot
  2013-08-23 11:06   ` Paul Barker
@ 2013-08-24  0:03     ` Andrei Gherzan
  0 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-24  0:03 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

On Fri, Aug 23, 2013 at 2:06 PM, Paul Barker <paul@paulbarker.me.uk> wrote:

> On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > Use git as package version. There is no package version for this script.
> >
> > Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> > ---
> >  recipes-bcm/bootfiles/rpi-config_0.1.bb |   57
> -------------------------------
> >  recipes-bcm/bootfiles/rpi-config_git.bb |   57
> +++++++++++++++++++++++++++++++
> >  2 files changed, 57 insertions(+), 57 deletions(-)
> >  delete mode 100644 recipes-bcm/bootfiles/rpi-config_0.1.bb
> >  create mode 100644 recipes-bcm/bootfiles/rpi-config_git.bb
>
> Sorry to be pedantic, but the diffs are easier to check if you add the
> '-M' option to catch renames. I always forget to add it so I did "git
> config --global diff.renames copy" to catch all renames and copies
> whenever I do format-patch.
>

My bad. Forgot -M. Sorry.


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

[-- Attachment #2: Type: text/html, Size: 2134 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot
  2013-08-23  9:40   ` Paul Barker
@ 2013-08-24  0:05     ` Andrei Gherzan
  0 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-08-24  0:05 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

On Fri, Aug 23, 2013 at 12:40 PM, Paul Barker <paul@paulbarker.me.uk> wrote:

> On 20 August 2013 18:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
>
> I also got a successful boot with commit
> d996a1b91b2bf3dc06f4f4f822a56f4496457aa1 on the 3.8.y branch, it was
> HEAD at the time I checked it out and the Makefile says it's version
> 3.8.13. Perhaps we could add this as an alternative kernel version,
> even if we keep the default as is.
>

Agreed. I thought 3.8 was WIP and i didn't have time to test it. But if you
already did it, please push a patch and add a preferred version.
Thanks.


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

[-- Attachment #2: Type: text/html, Size: 1609 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-08-24  0:02       ` Andrei Gherzan
@ 2013-10-11 15:47         ` Paul Barker
  2013-11-11 10:19           ` Andrei Gherzan
  0 siblings, 1 reply; 21+ messages in thread
From: Paul Barker @ 2013-10-11 15:47 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: Yocto discussion list

On 24 August 2013 01:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> On Fri, Aug 23, 2013 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
>> On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote:
>> >
>> > This really needs to check whether MACHINE="raspberrypi" before
>> > changing anything. I keep the same stack of layers and just change
>> > MACHINE when building for raspberrypi and beagleboard.
>>
>
> That's definitely a good idea. Already merged the patch but will rebase /
> add a new commit.
>

Any plans to add an 'if' here? If not, I'll add it to my todo list.

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi
  2013-10-11 15:47         ` Paul Barker
@ 2013-11-11 10:19           ` Andrei Gherzan
  0 siblings, 0 replies; 21+ messages in thread
From: Andrei Gherzan @ 2013-11-11 10:19 UTC (permalink / raw)
  To: Paul Barker; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

On Fri, Oct 11, 2013 at 6:47 PM, Paul Barker <paul@paulbarker.me.uk> wrote:

> On 24 August 2013 01:02, Andrei Gherzan <andrei@gherzan.ro> wrote:
> > On Fri, Aug 23, 2013 at 3:26 PM, Martin Jansa <martin.jansa@gmail.com>
> > wrote:
> >> On Fri, Aug 23, 2013 at 11:59:10AM +0100, Paul Barker wrote:
> >> >
> >> > This really needs to check whether MACHINE="raspberrypi" before
> >> > changing anything. I keep the same stack of layers and just change
> >> > MACHINE when building for raspberrypi and beagleboard.
> >>
> >
> > That's definitely a good idea. Already merged the patch but will rebase /
> > add a new commit.
> >
>
> Any plans to add an 'if' here? If not, I'll add it to my todo list.
>
>
Yes. Will push patch today. Thanks.

ag

[-- Attachment #2: Type: text/html, Size: 1531 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-11-11 10:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-20 17:02 [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 02/11] linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshot Andrei Gherzan
2013-08-23  9:40   ` Paul Barker
2013-08-24  0:05     ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 03/11] userland: Update to 2013-08-20 master's snapshot Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 04/11] rpi-config: " Andrei Gherzan
2013-08-23 11:06   ` Paul Barker
2013-08-24  0:03     ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 05/11] rpi-gpio: Update to v0.5.3a Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 06/11] rpio: Integrate v0.10.0 Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 07/11] mesa: Use libgl from mesa for raspberrypi Andrei Gherzan
2013-08-23 10:59   ` Paul Barker
2013-08-23 12:26     ` Martin Jansa
2013-08-24  0:02       ` Andrei Gherzan
2013-10-11 15:47         ` Paul Barker
2013-11-11 10:19           ` Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 08/11] bcm2835: Update to v1.9 Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 09/11] omxplayer: Update to 2013-08-20 master's snapshot Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 10/11] firmware: " Andrei Gherzan
2013-08-20 17:02 ` [meta-raspberrypi][PATCH 11/11] vc-graphics: Remove some useless new lines Andrei Gherzan
2013-08-21 13:14 ` [meta-raspberrypi][PATCH 01/11] README: Add info about extra apps / omxplayer Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.