Skip to contentSkip to conversation

xbmc: first try at making it build for non-GLES platforms

PATCH In review Koen Kooi 3 participants 13 messages Dec 21, 2012 – Jan 9, 2013

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/6 xbmc: first try at making it build for non-GLES platforms

---
 .../recipes-mediacentre/xbmc/xbmc_git.bb           |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +4 -3
index 74bf710..6331306 100644
@@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"
 
-DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
+DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
 #require recipes/egl/egl.inc
 
 SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
 
 PV = "11.0"
-PR = "r14"
+PR = "r15"
 PR_append = "+gitr${SRCPV}"
 SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
            file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
@@ -26,13 +26,14 @@ CACHED_CONFIGUREVARS += " \
  ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \
 "
 
+
 EXTRA_OECONF = " \
  --disable-rpath \
- --enable-gles \
  --enable-libusb \
  --enable-airplay \
  --disable-optical-drive \
  --enable-external-libraries \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
 "
 
 FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"
Signature · 1 line
1.7.7.6
author
#1 lore raw

PATCH 2/6 tvheadend: add git version

From the homepage:

"Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources."

No startup scripts or config files are currently provided.

---
 ...end-specific-LD-CFLAGS-into-a-helper-vari.patch |   92 ++++++++++++++++++++
 .../recipes-dvb/tvheadend/tvheadend_git.bb         |   30 +++++++
 2 files changed, 122 insertions(+), 0 deletions(-)
 create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Move-tvheadend-specific-LD-CFLAGS-into-a-helper-vari.patch
 create mode 100644 meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb
meta-multimedia/recipes-dvb/tvheadend/tvheadend/0001-Move-tvheadend-specific-LD-CFLAGS-into-a-helper-vari.patch new file +92 -0
new file mode 100644
index 0000000..943e102
@@ -0,0 +1,92 @@
+From 2ee64b359464b48f751683faa5ded3ee8200fe90 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <[email protected]>
+Date: Fri, 21 Dec 2012 10:15:42 +0100
+Subject: [PATCH] Move tvheadend specific LD/CFLAGS into a helper variable to
+ avoid being overwritten
+
+Signed-off-by: Koen Kooi <[email protected]>
+
+Upstream-status: Inappropriate [OE specific]
+---
+ Makefile              |   20 ++++++++++----------
+ support/configure.inc |    8 ++++----
+ 2 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 8c6b293..daf5f14 100644
+--- a/Makefile
++++ b/Makefile
+@@ -27,12 +27,12 @@ PROG = ${BUILDDIR}/tvheadend
+ # Common compiler flags
+ #
+ 
+-CFLAGS  += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
+-CFLAGS  += -Wmissing-prototypes -fms-extensions
+-CFLAGS  += -g -funsigned-char -O2 
+-CFLAGS  += -D_FILE_OFFSET_BITS=64
+-CFLAGS  += -I${BUILDDIR} -I${CURDIR}/src -I${CURDIR}
+-LDFLAGS += -lrt -ldl -lpthread -lm
++TVH_CFLAGS  += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
++TVH_CFLAGS  += -Wmissing-prototypes -fms-extensions
++TVH_CFLAGS  += -g -funsigned-char -O2 
++TVH_CFLAGS  += -D_FILE_OFFSET_BITS=64
++TVH_CFLAGS  += -I${BUILDDIR} -I${CURDIR}/src -I${CURDIR}
++TVH_LDFLAGS += -lrt -ldl -lpthread -lm
+ 
+ #
+ # Other config
+@@ -179,8 +179,8 @@ SRCS-${CONFIG_CWC}  += src/ffdecsa/ffdecsa_interface.c \
+ 	src/ffdecsa/ffdecsa_int.c
+ SRCS-${CONFIG_MMX}  += src/ffdecsa/ffdecsa_mmx.c
+ SRCS-${CONFIG_SSE2} += src/ffdecsa/ffdecsa_sse2.c
+-${BUILDDIR}/src/ffdecsa/ffdecsa_mmx.o  : CFLAGS += -mmmx
+-${BUILDDIR}/src/ffdecsa/ffdecsa_sse2.o : CFLAGS += -msse2
++${BUILDDIR}/src/ffdecsa/ffdecsa_mmx.o  : TVH_CFLAGS += -mmmx
++${BUILDDIR}/src/ffdecsa/ffdecsa_sse2.o : TVH_CFLAGS += -msse2
+ endif
+ 
+ # File bundles
+@@ -217,12 +217,12 @@ all: ${PROG}
+ 
+ # Binary
+ ${PROG}: $(OBJS) $(ALLDEPS)
+-	$(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS)
++	$(CC) -o $@ $(OBJS) $(TVH_CFLAGS) $(TVH_LDFLAGS) $(CFLAGS) $(LDFLAGS)
+ 
+ # Object
+ ${BUILDDIR}/%.o: %.c
+ 	@mkdir -p $(dir $@)
+-	$(CC) -MD -MP $(CFLAGS) -c -o $@ $(CURDIR)/$<
++	$(CC) -MD -MP $(TVH_CFLAGS) $(CFLAGS) -c -o $@ $(CURDIR)/$<
+ 
+ # Add-on
+ ${BUILDDIR}/%.so: ${SRCS_EXTRA}
+diff --git a/support/configure.inc b/support/configure.inc
+index 0130880..332511e 100644
+--- a/support/configure.inc
++++ b/support/configure.inc
+@@ -464,8 +464,8 @@ ifeq (\$(origin CC),default)
+ CC        = ${CC}
+ endif
+ PYTHON   ?= ${PYTHON}
+-CFLAGS   += ${CFLAGS}
+-LDFLAGS  += ${LDFLAGS}
++TVH_CFLAGS   += ${CFLAGS}
++TVH_LDFLAGS  += ${LDFLAGS}
+ prefix    = ${prefix}
+ bindir    = ${bindir}
+ mandir    = ${mandir}
+@@ -482,8 +482,8 @@ EOF
+   # Add package config
+   for pkg in ${PACKAGES[*]}; do
+     cat >>${CONFIG_MK} <<EOF
+-LDFLAGS += $(pkg-config --libs $pkg)
+-CFLAGS  += $(pkg-config --cflags $pkg)
++TVH_LDFLAGS += $(pkg-config --libs $pkg)
++TVH_CFLAGS  += $(pkg-config --cflags $pkg)
+ EOF
+   done
+ 
+-- 
+1.7.7.6
+
meta-multimedia/recipes-dvb/tvheadend/tvheadend_git.bb new file +30 -0
new file mode 100644
index 0000000..212bca1
@@ -0,0 +1,30 @@
+SUMMARY = "Tvheadend TV streaming server"
+HOMEPAGE = "https://www.lonelycoder.com/redmine/projects/tvheadend"
+
+DEPENDS = "avahi zlib openssl python-native"
+
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9eef91148a9b14ec7f9df333daebc746"
+
+SRC_URI = "git://github.com/tvheadend/tvheadend.git \
+           file://0001-Move-tvheadend-specific-LD-CFLAGS-into-a-helper-vari.patch \
+          "
+SRCREV = "a420c83a0e0d2c31c2c15d0fec6fedc3f5a36dfe"
+PV = "3.3"
+
+S = "${WORKDIR}/git"
+
+do_configure() {
+	./configure --prefix=${prefix} \
+	            --libdir=${libdir} \
+	            --bindir=${bindir} \
+	            --datadir=${datadir} \
+	            --arch=${TARGET_ARCH} \
+	            --disable-bundle
+}
+
+do_install() {
+	oe_runmake install DESTDIR=${D}
+}
+
+FILES_${PN} += "${datadir}/${BPN}"
Signature · 1 line
1.7.7.6
author
#2 lore raw

PATCH 3/6 oscam: add svn version

In reply to Koen Kooi
---
 meta-multimedia/recipes-dvb/oscam/oscam_svn.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-multimedia/recipes-dvb/oscam/oscam_svn.bb
meta-multimedia/recipes-dvb/oscam/oscam_svn.bb new file +18 -0
new file mode 100644
index 0000000..f466aff
@@ -0,0 +1,18 @@
+SUMMARY = "OSCam: Open Source Conditional Access Module"
+HOMEPAGE = "http://www.streamboard.tv/oscam/"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+DEPENDS = "libusb1 openssl"
+
+SRC_URI = "svn://www.streamboard.tv/svn/oscam;module=trunk;protocol=http"
+SRCREV = "7974"
+PV = "1.10+${SRCPV}"
+
+S = "${WORKDIR}/trunk"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DDEFAULT_CS_CONFDIR=${sysconfdir}"
+
Signature · 1 line
1.7.7.6
author
#3 lore raw

PATCH 4/6 dvb-apps: import 1.1.1+hg from OE classic

In reply to Koen Kooi

* Backport patches were dropped since we use hg tip now.
* Lots of whitespace fixups

---
 .../recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb         |  106 ++++++++++++++++++++
 1 files changed, 106 insertions(+), 0 deletions(-)
 create mode 100644 meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb
meta-multimedia/recipes-dvb/dvb-apps/dvb-apps_1.1.1.bb new file +106 -0
new file mode 100644
index 0000000..c39acac
@@ -0,0 +1,106 @@
+HOMEPAGE = "http://www.linuxtv.org"
+SUMMARY = "Linux DVB API applications and utilities."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http"
+SRCREV = "3fc7dfa68484"
+
+S = "${WORKDIR}/${BPN}"
+
+do_configure() {
+	sed -i -e s:/usr/include:${STAGING_INCDIR}:g util/av7110_loadkeys/generate-keynames.sh 
+}
+
+do_install() {
+	make DESTDIR=${D} install
+	install -d ${D}/${bindir}
+	install -d ${D}/${docdir}/dvb-apps
+	install -d ${D}/${docdir}/dvb-apps/scan
+	install -d ${D}/${docdir}/dvb-apps/szap
+	chmod a+rx ${D}/${libdir}/*.so*
+
+	# Install tests
+	install -m 0755 ${S}/test/setvoltage      ${D}${bindir}/test_setvoltage
+	install -m 0755 ${S}/test/set22k          ${D}${bindir}/test_set22k
+	install -m 0755 ${S}/test/sendburst       ${D}${bindir}/test_sendburst
+	install -m 0755 ${S}/test/diseqc          ${D}${bindir}/test_diseqc
+	install -m 0755 ${S}/test/test_sections   ${D}${bindir}/
+	install -m 0755 ${S}/test/test_av_play    ${D}${bindir}/
+	install -m 0755 ${S}/test/test_stillimage ${D}${bindir}/
+	install -m 0755 ${S}/test/test_dvr_play   ${D}${bindir}/
+	install -m 0755 ${S}/test/test_tt         ${D}${bindir}/
+	install -m 0755 ${S}/test/test_sec_ne     ${D}${bindir}/
+	install -m 0755 ${S}/test/test_stc        ${D}${bindir}/
+	install -m 0755 ${S}/test/test_av         ${D}${bindir}/
+	install -m 0755 ${S}/test/test_vevent     ${D}${bindir}/
+	install -m 0755 ${S}/test/test_pes        ${D}${bindir}/
+	install -m 0755 ${S}/test/test_dvr        ${D}${bindir}/
+
+	cp -pPR ${S}/util/szap/channels-conf* ${D}/${docdir}/dvb-apps/szap/
+	cp -pPR ${S}/util/szap/README   ${D}/${docdir}/dvb-apps/szap/
+}
+
+python populate_packages_prepend () {
+    dvb_libdir = bb.data.expand('${libdir}', d)
+    do_split_packages(d, dvb_libdir, '^lib(.*)\.so$', 'lib%s', 'DVB %s package', extra_depends='', allow_links=True)
+    do_split_packages(d, dvb_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev')
+    do_split_packages(d, dvb_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'DVB %s development package', extra_depends='${PN}-dev')
+    do_split_packages(d, dvb_libdir, '^lib(.*)\.so\.*', 'lib%s', 'DVB %s library', extra_depends='', allow_links=True)
+}
+
+PACKAGES =+ "dvb-evtest dvb-evtest-dbg \
+             dvbapp-tests dvbapp-tests-dbg \
+             dvbdate dvbdate-dbg \
+             dvbtraffic dvbtraffic-dbg \
+             dvbnet dvbnet-dbg \
+             dvb-scan dvb-scan-dbg dvb-scan-data \
+             dvb-azap dvb-azap-dbg \
+             dvb-czap dvb-czap-dbg \
+             dvb-szap dvb-szap-dbg \
+             dvb-tzap dvb-tzap-dbg \
+             dvb-femon dvb-femon-dbg \
+             dvb-zap-data"
+
+
+FILES_${PN} = "${bindir} ${datadir}/dvb"
+FILES_${PN}-doc = ""
+FILES_${PN}-dev = "${includedir}"
+
+FILES_dvb-evtest = "${bindir}/evtest"
+FILES_dvb-evtest-dbg = "${bindir}/.debug/evtest"
+RCONFLICTS_dvb-evtest = "evtest"
+
+FILES_dvbapp-tests = "${bindir}/*test* "
+FILES_dvbapp-tests-dbg = "${bindir}/.debug/*test*"
+
+FILES_dvbdate = "${bindir}/dvbdate"
+FILES_dvbdate-dbg = "${bindir}/.debug/dvbdate"
+
+FILES_dvbtraffic = "${bindir}/dvbtraffic"
+FILES_dvbtraffic-dbg = "${bindir}/.debug/dvbtraffic"
+
+FILES_dvbnet = "${bindir}/dvbnet"
+FILES_dvbnet-dbg = "${bindir}/.debug/dvbnet"
+
+FILES_dvb-scan = "${bindir}/*scan "
+FILES_dvb-scan-dbg = "${bindir}/.debug/*scan"
+FILES_dvb-scan-data = "${docdir}/dvb-apps/scan"
+
+FILES_dvb-azap = "${bindir}/azap"
+FILES_dvb-azap-dbg = "${bindir}/.debug/azap"
+
+FILES_dvb-czap = "${bindir}/czap"
+FILES_dvb-czap-dbg = "${bindir}/.debug/czap"
+
+FILES_dvb-szap = "${bindir}/szap"
+FILES_dvb-szap-dbg = "${bindir}/.debug/szap"
+
+FILES_dvb-tzap = "${bindir}/tzap"
+FILES_dvb-tzap-dbg = "${bindir}/.debug/tzap"
+
+FILES_dvb-femon = "${bindir}/femon"
+FILES_dvb-femon-dbg = "${bindir}/.debug/femon"
+
+FILES_dvb-zap-data = "${docdir}/dvb-apps/szap"
Signature · 1 line
1.7.7.6
author
#4 lore raw

PATCH 5/6 wscan: add 20121111

In reply to Koen Kooi
---
 .../recipes-dvb/wscan/wscan_20121111.bb            |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb
meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +16 -0
new file mode 100644
index 0000000..9254c43
@@ -0,0 +1,16 @@
+SUMMARY = "Wscan is an ATSC/DVB-C/S/T channel scanner that doesn't require an initial frequency table"
+HOMEPAGE = "http://wirbel.htpc-forum.de/w_scan/index2.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
+
+SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
+SRC_URI[md5sum] = "30da05747fed9988e11ebc7745f5e71f"
+SRC_URI[sha256sum] = "5e51e5f1c124a8ed70608b4dbf7376adb2b1bf6a48a65b746076263b2589afe5"
+
+S = "${WORKDIR}/w_scan-${PV}"
+
+inherit autotools
+
+FILES_${PN} += "${datadir}"
+
Signature · 1 line
1.7.7.6
#5 lore raw

Re: [meta-oe][meta-multimedia][PATCH 5/6] wscan: add 20121111

Quoted 17 lines · Koen Kooi
---
 .../recipes-dvb/wscan/wscan_20121111.bb            |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb
meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +5 -0
new file mode 100644
index 0000000..9254c43
@@ -0,0 +1,16 @@
+SUMMARY = "Wscan is an ATSC/DVB-C/S/T channel scanner that doesn't require an initial frequency table"
+HOMEPAGE = "http://wirbel.htpc-forum.de/w_scan/index2.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"

meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb line 15

Quoted 10 lines
meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +10 -0
+
+SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
+SRC_URI[md5sum] = "30da05747fed9988e11ebc7745f5e71f"
+SRC_URI[sha256sum] = "5e51e5f1c124a8ed70608b4dbf7376adb2b1bf6a48a65b746076263b2589afe5"
+
+S = "${WORKDIR}/w_scan-${PV}"
+
+inherit autotools
+
+FILES_${PN} += "${datadir}"

Some other changes in oe-core/meta-oe broke this wscan version too :/

| scan.c: In function 'set_frontend':
| scan.c:1819:44: error: 'DTV_DVBT2_PLP_ID' undeclared (first use in this function)
| scan.c:1819:44: note: each undeclared identifier is reported only once for each function it appears in
| make[1]: *** [scan.o] Error 1

Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/qemuarm/20130109091926.log

Cheers,

Quoted 9 lines
meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +1 -0
+
Signature · 7 lines
1.7.7.6


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

Re: [meta-oe][meta-multimedia][PATCH 5/6] wscan: add 20121111

Op 9 jan. 2013, om 11:52 heeft Martin Jansa <[email protected]> het volgende geschreven:

Quoted 30 lines · Koen Kooi
Quoted 17 lines

---
.../recipes-dvb/wscan/wscan_20121111.bb | 16 ++++++++++++++++

1 files changed, 16 insertions(+), 0 deletions(-)

create mode 100644 meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb

meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +5 -0
new file mode 100644
index 0000000..9254c43
@@ -0,0 +1,16 @@
+SUMMARY = "Wscan is an ATSC/DVB-C/S/T channel scanner that doesn't require an initial frequency table"
+HOMEPAGE = "http://wirbel.htpc-forum.de/w_scan/index2.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"

meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb line 15

Quoted 10 lines
meta-multimedia/recipes-dvb/wscan/wscan_20121111.bb new file +10 -0
+
+SRC_URI = "http://wirbel.htpc-forum.de/w_scan/w_scan-${PV}.tar.bz2"
+SRC_URI[md5sum] = "30da05747fed9988e11ebc7745f5e71f"
+SRC_URI[sha256sum] = "5e51e5f1c124a8ed70608b4dbf7376adb2b1bf6a48a65b746076263b2589afe5"
+
+S = "${WORKDIR}/w_scan-${PV}"
+
+inherit autotools
+
+FILES_${PN} += "${datadir}"

Some other changes in oe-core/meta-oe broke this wscan version too :/

Quoted 7 lines
| scan.c: In function 'set_frontend':
| scan.c:1819:44: error: 'DTV_DVBT2_PLP_ID' undeclared (first use in this function)
| scan.c:1819:44: note: each undeclared identifier is reported only once for each function it appears in
| make[1]: *** [scan.o] Error 1

Complete log:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/qemuarm/20130109091926.log

It's likely to be a mismatch with the DVB api version from the kernel headers. I hope to have some time to clean up these patches next week :/

regards,

Koen

author
#7 lore raw

PATCH 6/6 libav: update to 0.8.4

In reply to Koen Kooi
---
 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb |   19 -------------------
 meta-oe/recipes-multimedia/libav/libav_0.8.4.bb |   19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
 create mode 100644 meta-oe/recipes-multimedia/libav/libav_0.8.4.bb
meta-oe/recipes-multimedia/libav/libav_0.8.3.bb deleted +0 -19
deleted file mode 100644
index 66a32c9..0000000
@@ -1,19 +0,0 @@
-require libav.inc
-
-LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
-                    file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
-                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
-
-PV = "0.8.3+git${SRCPV}"
-PR = "${INC_PR}.0"
-
-# When bumping SRCREV make sure you bump PR here and in dependant
-# recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION
-# changes
-SRCREV = "2fb4be9a99a2c2a9435339830e3d940171cc0d9b"
-SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.8"
-
-S = "${WORKDIR}/git"
-
-
meta-oe/recipes-multimedia/libav/libav_0.8.4.bb new file +19 -0
new file mode 100644
index 0000000..bed8ba3
@@ -0,0 +1,19 @@
+require libav.inc
+
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+                    file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
+                    file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
+
+PV = "0.8.4+git${SRCPV}"
+PR = "${INC_PR}.0"
+
+# When bumping SRCREV make sure you bump PR here and in dependant
+# recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION
+# changes
+SRCREV = "2c8ce46250ff78191fe6565876ddc4bc03fdf519"
+SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.8"
+
+S = "${WORKDIR}/git"
+
+
Signature · 1 line
1.7.7.6
#8 lore raw
In reply to Koen Kooi

Hi Koen,

Quoted 10 lines · Koen Kooi
---
  .../recipes-mediacentre/xbmc/xbmc_git.bb           |    7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -0
index 74bf710..6331306 100644

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb DESCRIPTION = "XBMC Media Center" · line 11

Quoted 10 lines
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
@@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"
 
-DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
+DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
  #require recipes/egl/egl.inc
 
  SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
 
 

I don't know how closely you follow XBMC, but there is a new release just round the corner, so it may be worth working with the beta builds rather than doing lots of work on an older version.

I'm sure you know what you're doing, but just a heads up in case the news had slipped past you!

Cheers,
Jack.

author
#9 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 22-12-12 15:05, Jack Mitchell schreef:

Quoted 33 lines

Hi Koen,

Quoted 16 lines · Koen Kooi

.../recipes-mediacentre/xbmc/xbmc_git.bb | 7 ++++--- 1
files changed, 4 insertions(+), 3 deletions(-)

(quoted diff) +0 -0

b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb index 74bf710..6331306 100644 --- a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +++ b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb @@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff" -DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl

Quoted 9 lines

jasper zip-native zlib libtinyxml" +DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml" #require recipes/egl/egl.inc SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"

I don't know how closely you follow XBMC, but there is a new release just round the corner, so it may be worth working with the beta builds rather than doing lots of work on an older version.

Quoted 2 lines

I'm sure you know what you're doing, but just a heads up in case the news had slipped past you!

That new release introduces a number of problems:

* more external libraries needed, none of them friendly to crosscompiling
* issues when using gold as linker
* Incompatibility with external libav
* python detection is broken in crossbuilds

And more. I do want to get the new version working since I need the PVR addons to work, but that is a lot more work than cleaning up this known-working version.

The patches I'm sending are part of my xmas vacation project to get my xbmc setup streamlined and using the FRI2 ELC giveaway as frontend. The backend portion is done (tvheadend + oscam), now it's time for frontend (xbmc + pvr addon) and middleware (transcoding.
Ross has impeccable timing with his upnp work as well :)

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQ1dHZMkyGM64RGpERAtPrAKCsl3BUmq6AyGntF1UWKCYRTe7RFACgqDUD yxGw+4SKqTE6ebVw9COcm6E=
=kL17
-----END PGP SIGNATURE-----

#10 lore raw
In reply to Koen Kooi
Quoted 31 lines · Koen Kooi
---
 .../recipes-mediacentre/xbmc/xbmc_git.bb           |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +3 -2
index 74bf710..6331306 100644
@@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"
 
-DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
+DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
 #require recipes/egl/egl.inc
 
 SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
 
 PV = "11.0"
-PR = "r14"
+PR = "r15"
 PR_append = "+gitr${SRCPV}"
 SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
            file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
@@ -26,13 +26,14 @@ CACHED_CONFIGUREVARS += " \
  ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \
 "
 
+
 EXTRA_OECONF = " \

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb CACHED_CONFIGUREVARS += " \ · line 39

Quoted 10 lines
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
  --disable-rpath \
- --enable-gles \
  --enable-libusb \
  --enable-airplay \
  --disable-optical-drive \
  --enable-external-libraries \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
 "
 
 FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"

Here it fails on libmad detection:

| configure:21352: checking for libmad soname
| configure:21378: result: no
| configure:21381: error: Unable to determine soname of libmad library
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author
#11 lore raw

Op 23 dec. 2012, om 13:32 heeft Martin Jansa <[email protected]> het volgende geschreven:

Quoted 41 lines · Koen Kooi
Quoted 40 lines

---
.../recipes-mediacentre/xbmc/xbmc_git.bb | 7 ++++---

1 files changed, 4 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -0
index 74bf710..6331306 100644
@@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
-DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
+DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"

#require recipes/egl/egl.inc

SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"

PV = "11.0"

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
-PR = "r14"
+PR = "r15"

PR_append = "+gitr${SRCPV}"

SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
           file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -0
@@ -26,13 +26,14 @@ CACHED_CONFIGUREVARS += " \
 ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \

"

+
EXTRA_OECONF = " \
--disable-rpath \
- --enable-gles \
--enable-libusb \
--enable-airplay \
--disable-optical-drive \
--enable-external-libraries \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
"

Quoted 6 lines
Quoted 1 line

FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"

Here it fails on libmad detection:

| configure:21352: checking for libmad soname
| configure:21378: result: no
| configure:21381: error: Unable to determine soname of libmad library

Which architecture? I saw this on x86, but not on armv7a. It should be fixed either way, though :)

regards,

Koen

#12 lore raw
Quoted 44 lines · Koen Kooi

Op 23 dec. 2012, om 13:32 heeft Martin Jansa <[email protected]> het volgende geschreven:

Quoted 41 lines · Koen Kooi
Quoted 40 lines

---
.../recipes-mediacentre/xbmc/xbmc_git.bb | 7 ++++---

1 files changed, 4 insertions(+), 3 deletions(-)
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -0
index 74bf710..6331306 100644
@@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
-DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
+DEPENDS = "libmad libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"

#require recipes/egl/egl.inc

SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"

PV = "11.0"

meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +1 -1
-PR = "r14"
+PR = "r15"

PR_append = "+gitr${SRCPV}"

SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
           file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -0
@@ -26,13 +26,14 @@ CACHED_CONFIGUREVARS += " \
 ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \

"

+
EXTRA_OECONF = " \
--disable-rpath \
- --enable-gles \
--enable-libusb \
--enable-airplay \
--disable-optical-drive \
--enable-external-libraries \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
"

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"

Here it fails on libmad detection:

| configure:21352: checking for libmad soname
| configure:21378: result: no
| configure:21381: error: Unable to determine soname of libmad library

Which architecture? I saw this on x86, but not on armv7a. It should be fixed either way, though :)

armv5te (qemuarm).

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]