Skip to contentSkip to conversation

mumudvb-1.6: initial recipe

PATCH Applied Andreas Oberritter 2 participants 9 messages Oct 1, 2010 – Oct 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 mumudvb-1.6: initial recipe

---
 recipes/mumudvb/mumudvb.inc    |   12 ++++++++++++
 recipes/mumudvb/mumudvb_1.6.bb |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 recipes/mumudvb/mumudvb.inc
 create mode 100644 recipes/mumudvb/mumudvb_1.6.bb
recipes/mumudvb/mumudvb.inc new file +12 -0
new file mode 100644
index 0000000..8f3ba45
@@ -0,0 +1,12 @@
+DESCRIPTION = "redistributes streams from DVB on a network using multicast or HTTP unicast"
+AUTHOR = "Brice Dubost"
+HOMEPAGE = "http://mumudvb.braice.net/"
+SECTION = "console/multimedia"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://mumudvb.braice.net/mumudvb/${P}/mumudvb_${PV}.tar.gz"
+
+S = "${WORKDIR}/mumudvb"
+
+inherit autotools
recipes/mumudvb/mumudvb_1.6.bb new file +4 -0
new file mode 100644
index 0000000..3100bd6
@@ -0,0 +1,4 @@
+require mumudvb.inc
+
+SRC_URI[md5sum] = "a463af541d0395ba3a2286e92f080615"
+SRC_URI[sha256sum] = "0b3921762dabac062bba5b086fe5661e98526f8ea2b1719aad0fb40128d7111b"
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/4 lib{ebml,matroska}-1.0.0: intitial recipes

---
 recipes/matroska/libebml.inc          |    3 +++
 recipes/matroska/libebml_1.0.0.bb     |    4 ++++
 recipes/matroska/libmatroska.inc      |    4 ++++
 recipes/matroska/libmatroska_1.0.0.bb |    4 ++++
 recipes/matroska/matroska.inc         |   16 ++++++++++++++++
 5 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 recipes/matroska/libebml.inc
 create mode 100644 recipes/matroska/libebml_1.0.0.bb
 create mode 100644 recipes/matroska/libmatroska.inc
 create mode 100644 recipes/matroska/libmatroska_1.0.0.bb
 create mode 100644 recipes/matroska/matroska.inc
recipes/matroska/libebml.inc new file +3 -0
new file mode 100644
index 0000000..8472a11
@@ -0,0 +1,3 @@
+DESCRIPTION = "access library for the EBML format"
+
+require matroska.inc
recipes/matroska/libebml_1.0.0.bb new file +4 -0
new file mode 100644
index 0000000..89bcad4
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "6d438f03d8928d83a2d120ed02705f03"
+SRC_URI[sha256sum] = "72480dec736cd5df5bc9e8c3864a58d17715542c83ff1b2095dca46cc1b8b178"
recipes/matroska/libmatroska.inc new file +4 -0
new file mode 100644
index 0000000..4f1e2cc
@@ -0,0 +1,4 @@
+DESCRIPTION = "extensible open standard audio/video container format"
+DEPENDS = "libebml"
+
+require matroska.inc
recipes/matroska/libmatroska_1.0.0.bb new file +4 -0
new file mode 100644
index 0000000..b0ee886
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "4efcf3945b17a6f0320cf1aaa326a4de"
+SRC_URI[sha256sum] = "dc000523df508e457ead6447b2d9a2c549fbff525783c13a96d19bbd61137b88"
recipes/matroska/matroska.inc new file +16 -0
new file mode 100644
index 0000000..5ce8fa5
@@ -0,0 +1,16 @@
+HOMEPAGE = "http://www.matroska.org/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2.1"
+
+SRC_URI = "http://dl.matroska.org/downloads/${PN}/${P}.tar.bz2"
+
+EXTRA_OEMAKE = "CROSS=${TARGET_PREFIX} prefix=${D}${prefix} -C make/linux"
+
+do_compile() {
+        oe_runmake
+}
+
+do_install() {
+        oe_runmake install
+}
Signature · 1 line
1.7.1
#2 lore raw

PATCH 3/4 cdfs-2.6.27: initial recipe

In reply to Andreas Oberritter
---
 recipes/cdfs/cdfs_2.6.27.bb                        |   20 +++++++++++++
 .../0001-Fix-compile-error-with-linux-2.6.32.patch |   30 ++++++++++++++++++++
 2 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 recipes/cdfs/cdfs_2.6.27.bb
 create mode 100644 recipes/cdfs/files/0001-Fix-compile-error-with-linux-2.6.32.patch
recipes/cdfs/cdfs_2.6.27.bb new file +20 -0
new file mode 100644
index 0000000..282bed7
@@ -0,0 +1,20 @@
+DESCRIPTION = "CDfs filesystem"
+HOMEPAGE = "http://users.elis.ugent.be/~mronsse/cdfs/"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+
+SRC_URI = " \
+        http://users.elis.ugent.be/~mronsse/cdfs/download/${P}.tar.bz2 \
+        file://0001-Fix-compile-error-with-linux-2.6.32.patch \
+"
+SRC_URI[md5sum] = "ac64c014a90e3c488394832ea29605b3"
+SRC_URI[sha256sum] = "d034f6c6d9578fe2addfaeceaa101584a4a1fc9f27d825c340baebd345d8d724"
+
+inherit module
+
+do_install() {
+        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+        oe_runmake -C "${STAGING_KERNEL_DIR}" DEPMOD=echo INSTALL_MOD_PATH="${D}" SUBDIRS="${S}" ${MODULE_MAKE_FLAGS} modules_install
+}
+
+PACKAGES = "${PN}"
recipes/cdfs/files/0001-Fix-compile-error-with-linux-2.6.32.patch new file +30 -0
new file mode 100644
index 0000000..742164d
@@ -0,0 +1,30 @@
+From 4aff257b7615a1b387797cd8dcc76aed3cc69ab8 Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <[email protected]>
+Date: Mon, 7 Jun 2010 12:05:19 +0000
+Subject: [PATCH] Fix compile error with linux-2.6.32
+
+root.c: In function 'cdfs_init':
+root.c:646: error: 'CLONE_FS' undeclared (first use in this function)
+root.c:646: error: (Each undeclared identifier is reported only once
+root.c:646: error: for each function it appears in.)
+root.c:646: error: 'CLONE_FILES' undeclared (first use in this function)
+root.c:646: error: 'CLONE_SIGHAND' undeclared (first use in this function)
+---
+ root.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/root.c b/root.c
+index 966a855..0801051 100644
+--- a/root.c
++++ b/root.c
+@@ -25,6 +25,7 @@
+ #include "cdfs.h"
+ 
+ #include <linux/module.h>
++#include <linux/sched.h>
+ 
+ 
+ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
+-- 
+1.5.6.5
+
Signature · 1 line
1.7.1
#3 lore raw

Re: [PATCH 3/4] cdfs-2.6.27: initial recipe

2010/10/1 Andreas Oberritter <[email protected]>:

Quoted 71 lines

---
 recipes/cdfs/cdfs_2.6.27.bb                        |   20 +++++++++++++ .../0001-Fix-compile-error-with-linux-2.6.32.patch |   30 ++++++++++++++++++++

 2 files changed, 50 insertions(+), 0 deletions(-)

 create mode 100644 recipes/cdfs/cdfs_2.6.27.bb
 create mode 100644 recipes/cdfs/files/0001-Fix-compile-error-with-linux-2.6.32.patch

recipes/cdfs/cdfs_2.6.27.bb new file +20 -0
new file mode 100644
index 0000000..282bed7
@@ -0,0 +1,20 @@
+DESCRIPTION = "CDfs filesystem"
+HOMEPAGE = "http://users.elis.ugent.be/~mronsse/cdfs/"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+
+SRC_URI = " \
+        http://users.elis.ugent.be/~mronsse/cdfs/download/${P}.tar.bz2 \
+        file://0001-Fix-compile-error-with-linux-2.6.32.patch \
+"
+SRC_URI[md5sum] = "ac64c014a90e3c488394832ea29605b3"
+SRC_URI[sha256sum] = "d034f6c6d9578fe2addfaeceaa101584a4a1fc9f27d825c340baebd345d8d724"
+
+inherit module
+
+do_install() {
+        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+        oe_runmake -C "${STAGING_KERNEL_DIR}" DEPMOD=echo INSTALL_MOD_PATH="${D}" SUBDIRS="${S}" ${MODULE_MAKE_FLAGS} modules_install
+}
+
+PACKAGES = "${PN}"
recipes/cdfs/files/0001-Fix-compile-error-with-linux-2.6.32.patch new file +30 -1
new file mode 100644
index 0000000..742164d
@@ -0,0 +1,30 @@
+From 4aff257b7615a1b387797cd8dcc76aed3cc69ab8 Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <[email protected]>
+Date: Mon, 7 Jun 2010 12:05:19 +0000
+Subject: [PATCH] Fix compile error with linux-2.6.32
+
+root.c: In function 'cdfs_init':
+root.c:646: error: 'CLONE_FS' undeclared (first use in this function)
+root.c:646: error: (Each undeclared identifier is reported only once
+root.c:646: error: for each function it appears in.)
+root.c:646: error: 'CLONE_FILES' undeclared (first use in this function)
+root.c:646: error: 'CLONE_SIGHAND' undeclared (first use in this function)
+---
+ root.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/root.c b/root.c
+index 966a855..0801051 100644
+--- a/root.c
++++ b/root.c
+@@ -25,6 +25,7 @@
+ #include "cdfs.h"
+
+ #include <linux/module.h>
++#include <linux/sched.h>
+
+
+ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
+--
+1.5.6.5
+
--
Quoted 3 lines

1.7.1

Looks interesting, but pity this is only for 2.6.27 (with no newer version being available) so can't test/use this.

Frans

#4 lore raw

Re: [PATCH 3/4] cdfs-2.6.27: initial recipe

Quoted 2 lines · Frans Meulenbroeks

Looks interesting, but pity this is only for 2.6.27 (with no newer version being available) so can't test/use this.

Actually, 2.6.27 is only the version of CDfs. You should be able to use it with newer kernels. It was tested with 2.6.32 and therefore contains a patch to fix a compile error with Linux 2.6.32.

Best regards,
Andreas

#5 lore raw

Re: [PATCH 3/4] cdfs-2.6.27: initial recipe

2010/10/4 Andreas Oberritter <[email protected]>:

Quoted 10 lines · Frans Meulenbroeks
Quoted 2 lines

Looks interesting, but pity this is only for 2.6.27 (with no newer version being available) so can't test/use this.

Actually, 2.6.27 is only the version of CDfs. You should be able to use it with newer kernels. It was tested with 2.6.32 and therefore contains a patch to fix a compile error with Linux 2.6.32.

Best regards,
Andreas

I'll give it a try (probably tonight) with 2.6.35 (which is what I am using atm).
If it builds and works, I'll commit it.
Otherwise I'll get back to you

Frans

#6 lore raw

PATCH 4/4 libcdio-0.82: reduce package size, add dependencies, move recipe

In reply to Andreas Oberritter

* Move recipe out of xbmc directory.
* Depend on libcddb and ncurses.
* Use the GNU_MIRROR variable.
* Move executables into new package "libcdio-utils".

---
 recipes/libcdio/libcdio.inc     |   22 ++++++++++++++++++++++
 recipes/libcdio/libcdio_0.82.bb |    4 ++++
 recipes/xbmc/libcdio_0.82.bb    |   19 -------------------
 3 files changed, 26 insertions(+), 19 deletions(-)
 create mode 100644 recipes/libcdio/libcdio.inc
 create mode 100644 recipes/libcdio/libcdio_0.82.bb
 delete mode 100644 recipes/xbmc/libcdio_0.82.bb
recipes/libcdio/libcdio.inc new file +22 -0
new file mode 100644
index 0000000..5ab25bd
@@ -0,0 +1,22 @@
+DESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
+HOMEPAGE = "http://www.gnu.org/software/libcdio/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv3+"
+DEPENDS = "libcddb ncurses"
+
+SRC_URI = "${GNU_MIRROR}/${PN}/${P}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "ac_cv_member_struct_tm_tm_gmtoff=no"
+
+PACKAGES += "${PN}-utils"
+
+FILES_${PN} = "${libdir}/lib${PN}${SOLIB}"
+FILES_${PN}-utils = "${bindir}/*"
+
+python populate_packages_prepend () {
+        glibdir = bb.data.expand('${libdir}', d)
+        do_split_packages(d, glibdir, '^lib(.*)\.so\..*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
+}
recipes/libcdio/libcdio_0.82.bb new file +4 -0
new file mode 100644
index 0000000..ec9c8c9
@@ -0,0 +1,4 @@
+SRC_URI[md5sum] = "1c29b18e01ab2b966162bc727bf3c360"
+SRC_URI[sha256sum] = "1acb3de8e0927906ade7a34c5853173d3068b87b02dfba80d0bf11e47f0b5d39"
+
+require libcdio.inc
recipes/xbmc/libcdio_0.82.bb deleted +0 -19
deleted file mode 100644
index 3201f70..0000000
@@ -1,19 +0,0 @@
-DESCRIPTION = "The GNU Compact Disc Input and Control library (libcdio) contains a library for CD-ROM and CD image access."
-LICENSE = "GPLv3+"
-
-SRC_URI = "http://ftp.gnu.org/gnu/libcdio/libcdio-${PV}.tar.gz"
-
-inherit autotools
-
-EXTRA_OECONF = " ac_cv_member_struct_tm_tm_gmtoff=no"
-
-FILES_${PN} = "${bindir}/*"
-
-python populate_packages_prepend () {
-	glibdir = bb.data.expand('${libdir}', d)
-	do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
-}
-
-SRC_URI[md5sum] = "1c29b18e01ab2b966162bc727bf3c360"
-SRC_URI[sha256sum] = "1acb3de8e0927906ade7a34c5853173d3068b87b02dfba80d0bf11e47f0b5d39"
-
Signature · 1 line
1.7.1
#7 lore raw

Re: [PATCH 4/4] libcdio-0.82: reduce package size, add dependencies, move recipe

Quoted 1 line · Andreas Oberritter

* Depend on libcddb and ncurses.

It should be mentioned that this change depends on the previously submitted patch to add a recipe for libcddb [1].

Best regards,
Andreas

[1] http://patchwork.openembedded.org/patch/3104/

#8 lore raw

Re: [PATCH 4/4] libcdio-0.82: reduce package size, add dependencies, move recipe

2010/10/1 Andreas Oberritter <[email protected]>:

Quoted 11 lines · Andreas Oberritter
Quoted 1 line

* Depend on libcddb and ncurses.

It should be mentioned that this change depends on the previously submitted patch to add a recipe for libcddb [1].

Best regards,
Andreas

[1] http://patchwork.openembedded.org/patch/3104/

Applied.
Next time please bump PR if you change e.g. dependencies.

Frans