All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libdvdread: add recipe for version 4.1.3-10 from debian
@ 2010-10-08 10:56 Andreas Oberritter
  2010-10-08 10:56 ` [PATCH 2/2] libdvdnav: add recipe for version 4.1.3-7 " Andreas Oberritter
  2010-10-17 12:59 ` [PATCH v2] libdvdread: add recipe for version 4.1.3-10 " Andreas Oberritter
  0 siblings, 2 replies; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-08 10:56 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 recipes/libdvdread/libdvdread_4.1.3-10.bb |    3 +++
 recipes/libdvdread/libdvdread_git.inc     |   15 +++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdread/libdvdread_4.1.3-10.bb
 create mode 100644 recipes/libdvdread/libdvdread_git.inc

diff --git a/recipes/libdvdread/libdvdread_4.1.3-10.bb b/recipes/libdvdread/libdvdread_4.1.3-10.bb
new file mode 100644
index 0000000..6f650be
--- /dev/null
+++ b/recipes/libdvdread/libdvdread_4.1.3-10.bb
@@ -0,0 +1,3 @@
+require libdvdread_git.inc
+
+SRCREV = "e465b500c12be5b4c0b6918a9b98038611f66c57"
diff --git a/recipes/libdvdread/libdvdread_git.inc b/recipes/libdvdread/libdvdread_git.inc
new file mode 100644
index 0000000..7ae5604
--- /dev/null
+++ b/recipes/libdvdread/libdvdread_git.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "DVD access multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPL"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
+
+S = "${WORKDIR}/git"
+
+inherit autotools binconfig lib_package pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+addtask unpackpost after do_unpack before do_patch
-- 
1.7.1




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

* [PATCH 2/2] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-08 10:56 [PATCH 1/2] libdvdread: add recipe for version 4.1.3-10 from debian Andreas Oberritter
@ 2010-10-08 10:56 ` Andreas Oberritter
  2010-10-17 13:00   ` [PATCH v2] " Andreas Oberritter
  2010-10-17 12:59 ` [PATCH v2] libdvdread: add recipe for version 4.1.3-10 " Andreas Oberritter
  1 sibling, 1 reply; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-08 10:56 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 ...-dvdnavmini.pc-link-against-libdvdnavmini.patch |   25 ++++++++++++++++++++
 recipes/libdvdnav/libdvdnav_4.1.3-7.bb             |    5 ++++
 recipes/libdvdnav/libdvdnav_git.inc                |   24 +++++++++++++++++++
 3 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
 create mode 100644 recipes/libdvdnav/libdvdnav_4.1.3-7.bb
 create mode 100644 recipes/libdvdnav/libdvdnav_git.inc

diff --git a/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
new file mode 100644
index 0000000..84ce442
--- /dev/null
+++ b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
@@ -0,0 +1,25 @@
+upstream: Daniel Baumann <daniel@debian.org>
+status: pending
+
+From 2329cd28d7508f9809f849fa547362aa7df160ba Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <obi@opendreambox.org>
+Date: Fri, 8 Oct 2010 00:50:54 +0000
+Subject: [PATCH] dvdnavmini.pc: link against libdvdnavmini
+
+---
+ misc/dvdnavmini.pc.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/misc/dvdnavmini.pc.in b/misc/dvdnavmini.pc.in
+index 52945b3..773be2f 100644
+--- a/misc/dvdnavmini.pc.in
++++ b/misc/dvdnavmini.pc.in
+@@ -8,4 +8,4 @@ Description: DVD Navigation mini library
+ Version: @VERSION@
+ 
+ Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
+-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
++Libs: -L${libdir} -ldvdnavmini @THREAD_LIBS@
+-- 
+1.7.1
+
diff --git a/recipes/libdvdnav/libdvdnav_4.1.3-7.bb b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
new file mode 100644
index 0000000..b1d75ad
--- /dev/null
+++ b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
@@ -0,0 +1,5 @@
+require libdvdnav_git.inc
+
+SRC_URI += "file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"
+
+SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
diff --git a/recipes/libdvdnav/libdvdnav_git.inc b/recipes/libdvdnav/libdvdnav_git.inc
new file mode 100644
index 0000000..7eba54f
--- /dev/null
+++ b/recipes/libdvdnav/libdvdnav_git.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "DVD navigation multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPL"
+DEPENDS = "libdvdread"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
+
+S = "${WORKDIR}/git"
+
+inherit autotools binconfig lib_package pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+FILES_${PN} = "${libdir}/${PN}${SOLIB}"
+
+addtask unpackpost after do_unpack before do_patch
+
+python populate_packages_prepend () {
+        description = bb.data.expand('${DESCRIPTION}', d)
+        libdir = bb.data.expand('${libdir}', d)
+        do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
+}
-- 
1.7.1




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

* [PATCH v2] libdvdread: add recipe for version 4.1.3-10 from debian
  2010-10-08 10:56 [PATCH 1/2] libdvdread: add recipe for version 4.1.3-10 from debian Andreas Oberritter
  2010-10-08 10:56 ` [PATCH 2/2] libdvdnav: add recipe for version 4.1.3-7 " Andreas Oberritter
@ 2010-10-17 12:59 ` Andreas Oberritter
  2010-10-25 12:56   ` [PATCH v3] " Andreas Oberritter
  1 sibling, 1 reply; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-17 12:59 UTC (permalink / raw)
  To: openembedded-devel

* v2: inherit lib_package before binconfig

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 recipes/libdvdread/libdvdread_4.1.3-10.bb |    3 +++
 recipes/libdvdread/libdvdread_git.inc     |   15 +++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdread/libdvdread_4.1.3-10.bb
 create mode 100644 recipes/libdvdread/libdvdread_git.inc

diff --git a/recipes/libdvdread/libdvdread_4.1.3-10.bb b/recipes/libdvdread/libdvdread_4.1.3-10.bb
new file mode 100644
index 0000000..6f650be
--- /dev/null
+++ b/recipes/libdvdread/libdvdread_4.1.3-10.bb
@@ -0,0 +1,3 @@
+require libdvdread_git.inc
+
+SRCREV = "e465b500c12be5b4c0b6918a9b98038611f66c57"
diff --git a/recipes/libdvdread/libdvdread_git.inc b/recipes/libdvdread/libdvdread_git.inc
new file mode 100644
index 0000000..568e3e7
--- /dev/null
+++ b/recipes/libdvdread/libdvdread_git.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "DVD access multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPL"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
+
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package binconfig pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+addtask unpackpost after do_unpack before do_patch
-- 
1.7.1




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

* [PATCH v2] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-08 10:56 ` [PATCH 2/2] libdvdnav: add recipe for version 4.1.3-7 " Andreas Oberritter
@ 2010-10-17 13:00   ` Andreas Oberritter
  2010-10-24 11:52     ` Frans Meulenbroeks
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-17 13:00 UTC (permalink / raw)
  To: openembedded-devel

* v2: inherit lib_package before binconfig

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 ...-dvdnavmini.pc-link-against-libdvdnavmini.patch |   25 ++++++++++++++++++++
 recipes/libdvdnav/libdvdnav_4.1.3-7.bb             |    5 ++++
 recipes/libdvdnav/libdvdnav_git.inc                |   24 +++++++++++++++++++
 3 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
 create mode 100644 recipes/libdvdnav/libdvdnav_4.1.3-7.bb
 create mode 100644 recipes/libdvdnav/libdvdnav_git.inc

diff --git a/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
new file mode 100644
index 0000000..84ce442
--- /dev/null
+++ b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
@@ -0,0 +1,25 @@
+upstream: Daniel Baumann <daniel@debian.org>
+status: pending
+
+From 2329cd28d7508f9809f849fa547362aa7df160ba Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <obi@opendreambox.org>
+Date: Fri, 8 Oct 2010 00:50:54 +0000
+Subject: [PATCH] dvdnavmini.pc: link against libdvdnavmini
+
+---
+ misc/dvdnavmini.pc.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/misc/dvdnavmini.pc.in b/misc/dvdnavmini.pc.in
+index 52945b3..773be2f 100644
+--- a/misc/dvdnavmini.pc.in
++++ b/misc/dvdnavmini.pc.in
+@@ -8,4 +8,4 @@ Description: DVD Navigation mini library
+ Version: @VERSION@
+ 
+ Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
+-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
++Libs: -L${libdir} -ldvdnavmini @THREAD_LIBS@
+-- 
+1.7.1
+
diff --git a/recipes/libdvdnav/libdvdnav_4.1.3-7.bb b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
new file mode 100644
index 0000000..b1d75ad
--- /dev/null
+++ b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
@@ -0,0 +1,5 @@
+require libdvdnav_git.inc
+
+SRC_URI += "file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"
+
+SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
diff --git a/recipes/libdvdnav/libdvdnav_git.inc b/recipes/libdvdnav/libdvdnav_git.inc
new file mode 100644
index 0000000..242f765
--- /dev/null
+++ b/recipes/libdvdnav/libdvdnav_git.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "DVD navigation multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPL"
+DEPENDS = "libdvdread"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
+
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package binconfig pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+FILES_${PN} = "${libdir}/${PN}${SOLIB}"
+
+addtask unpackpost after do_unpack before do_patch
+
+python populate_packages_prepend () {
+        description = bb.data.expand('${DESCRIPTION}', d)
+        libdir = bb.data.expand('${libdir}', d)
+        do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
+}
-- 
1.7.1




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

* Re: [PATCH v2] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-17 13:00   ` [PATCH v2] " Andreas Oberritter
@ 2010-10-24 11:52     ` Frans Meulenbroeks
  2010-10-25 12:26       ` Andreas Oberritter
  0 siblings, 1 reply; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-24 11:52 UTC (permalink / raw)
  To: openembedded-devel

2010/10/17 Andreas Oberritter <obi@opendreambox.org>:
> * v2: inherit lib_package before binconfig
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
>  ...-dvdnavmini.pc-link-against-libdvdnavmini.patch |   25 ++++++++++++++++++++
>  recipes/libdvdnav/libdvdnav_4.1.3-7.bb             |    5 ++++
>  recipes/libdvdnav/libdvdnav_git.inc                |   24 +++++++++++++++++++
>  3 files changed, 54 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
>  create mode 100644 recipes/libdvdnav/libdvdnav_4.1.3-7.bb
>  create mode 100644 recipes/libdvdnav/libdvdnav_git.inc
>
> diff --git a/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
> new file mode 100644
> index 0000000..84ce442
> --- /dev/null
> +++ b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
> @@ -0,0 +1,25 @@
> +upstream: Daniel Baumann <daniel@debian.org>
> +status: pending
> +
> +From 2329cd28d7508f9809f849fa547362aa7df160ba Mon Sep 17 00:00:00 2001
> +From: Andreas Oberritter <obi@opendreambox.org>
> +Date: Fri, 8 Oct 2010 00:50:54 +0000
> +Subject: [PATCH] dvdnavmini.pc: link against libdvdnavmini
> +
> +---
> + misc/dvdnavmini.pc.in |    2 +-
> + 1 files changed, 1 insertions(+), 1 deletions(-)
> +
> +diff --git a/misc/dvdnavmini.pc.in b/misc/dvdnavmini.pc.in
> +index 52945b3..773be2f 100644
> +--- a/misc/dvdnavmini.pc.in
> ++++ b/misc/dvdnavmini.pc.in
> +@@ -8,4 +8,4 @@ Description: DVD Navigation mini library
> + Version: @VERSION@
> +
> + Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
> +-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
> ++Libs: -L${libdir} -ldvdnavmini @THREAD_LIBS@

Is this not better done with CFLAGS and LDFLAGS ?
(personally I prefer using CFLAGS above a patch, as it is less likely
to break if you move to a newer version).

> +--
> +1.7.1
> +
> diff --git a/recipes/libdvdnav/libdvdnav_4.1.3-7.bb b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
> new file mode 100644
> index 0000000..b1d75ad
> --- /dev/null
> +++ b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
> @@ -0,0 +1,5 @@
> +require libdvdnav_git.inc

I feel that in general  an inc file should not have any version info
in the name. It is supposed to to be for multiple versions,
exception could be if an inc file is to share info between e.g. native
cross target sdk versions (like e.g. for gcc).

Since there is only one recipe using it, I'd suggest inlining the inc file.
Otherwise if you feel keeping the inc is useful, rename the file to
libdvdnav.inc


> +
> +SRC_URI += "file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"
> +
> +SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
> diff --git a/recipes/libdvdnav/libdvdnav_git.inc b/recipes/libdvdnav/libdvdnav_git.inc
> new file mode 100644
> index 0000000..242f765
> --- /dev/null
> +++ b/recipes/libdvdnav/libdvdnav_git.inc
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "DVD navigation multimeda library"
> +SECTION = "libs/multimedia"
> +LICENSE = "GPL"

v2+ ?

> +DEPENDS = "libdvdread"
> +
> +SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools lib_package binconfig pkgconfig
> +
> +do_unpackpost() {
> +        QUILT_PATCHES=debian/patches quilt push -a
> +}
> +
> +FILES_${PN} = "${libdir}/${PN}${SOLIB}"
> +
> +addtask unpackpost after do_unpack before do_patch
> +
> +python populate_packages_prepend () {
> +        description = bb.data.expand('${DESCRIPTION}', d)
> +        libdir = bb.data.expand('${libdir}', d)
> +        do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
> +}
> --
> 1.7.1
>

Best regards, Frans



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

* Re: [PATCH v2] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-24 11:52     ` Frans Meulenbroeks
@ 2010-10-25 12:26       ` Andreas Oberritter
  2010-10-25 12:57         ` [PATCH v3] " Andreas Oberritter
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-25 12:26 UTC (permalink / raw)
  To: openembedded-devel

On 10/24/2010 01:52 PM, Frans Meulenbroeks wrote:
> 2010/10/17 Andreas Oberritter <obi@opendreambox.org>:
>> * v2: inherit lib_package before binconfig
>>
>> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
>> ---
>>  ...-dvdnavmini.pc-link-against-libdvdnavmini.patch |   25 ++++++++++++++++++++
>>  recipes/libdvdnav/libdvdnav_4.1.3-7.bb             |    5 ++++
>>  recipes/libdvdnav/libdvdnav_git.inc                |   24 +++++++++++++++++++
>>  3 files changed, 54 insertions(+), 0 deletions(-)
>>  create mode 100644 recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
>>  create mode 100644 recipes/libdvdnav/libdvdnav_4.1.3-7.bb
>>  create mode 100644 recipes/libdvdnav/libdvdnav_git.inc
>>
>> diff --git a/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
>> new file mode 100644
>> index 0000000..84ce442
>> --- /dev/null
>> +++ b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
>> @@ -0,0 +1,25 @@
>> +upstream: Daniel Baumann <daniel@debian.org>
>> +status: pending
>> +
>> +From 2329cd28d7508f9809f849fa547362aa7df160ba Mon Sep 17 00:00:00 2001
>> +From: Andreas Oberritter <obi@opendreambox.org>
>> +Date: Fri, 8 Oct 2010 00:50:54 +0000
>> +Subject: [PATCH] dvdnavmini.pc: link against libdvdnavmini
>> +
>> +---
>> + misc/dvdnavmini.pc.in |    2 +-
>> + 1 files changed, 1 insertions(+), 1 deletions(-)
>> +
>> +diff --git a/misc/dvdnavmini.pc.in b/misc/dvdnavmini.pc.in
>> +index 52945b3..773be2f 100644
>> +--- a/misc/dvdnavmini.pc.in
>> ++++ b/misc/dvdnavmini.pc.in
>> +@@ -8,4 +8,4 @@ Description: DVD Navigation mini library
>> + Version: @VERSION@
>> +
>> + Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
>> +-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
>> ++Libs: -L${libdir} -ldvdnavmini @THREAD_LIBS@
> 
> Is this not better done with CFLAGS and LDFLAGS ?
> (personally I prefer using CFLAGS above a patch, as it is less likely
> to break if you move to a newer version).

I don't understand what you mean here. libdvdnavmini is part of this
package and this is the template for the .pc file, which gets installed
by the -dev package. It's a bug in upstream code and the patch has been
submitted to the maintainer.

>> +--
>> +1.7.1
>> +
>> diff --git a/recipes/libdvdnav/libdvdnav_4.1.3-7.bb b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
>> new file mode 100644
>> index 0000000..b1d75ad
>> --- /dev/null
>> +++ b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
>> @@ -0,0 +1,5 @@
>> +require libdvdnav_git.inc
> 
> I feel that in general  an inc file should not have any version info
> in the name. It is supposed to to be for multiple versions,
> exception could be if an inc file is to share info between e.g. native
> cross target sdk versions (like e.g. for gcc).
> 
> Since there is only one recipe using it, I'd suggest inlining the inc file.
> Otherwise if you feel keeping the inc is useful, rename the file to
> libdvdnav.inc

OK.

>> +
>> +SRC_URI += "file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"
>> +
>> +SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
>> diff --git a/recipes/libdvdnav/libdvdnav_git.inc b/recipes/libdvdnav/libdvdnav_git.inc
>> new file mode 100644
>> index 0000000..242f765
>> --- /dev/null
>> +++ b/recipes/libdvdnav/libdvdnav_git.inc
>> @@ -0,0 +1,24 @@
>> +DESCRIPTION = "DVD navigation multimeda library"
>> +SECTION = "libs/multimedia"
>> +LICENSE = "GPL"
> 
> v2+ ?

Yes.

I'll send updated patches for both libdvdread and libdvdnav shortly

Thanks,
Andreas



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

* [PATCH v3] libdvdread: add recipe for version 4.1.3-10 from debian
  2010-10-17 12:59 ` [PATCH v2] libdvdread: add recipe for version 4.1.3-10 " Andreas Oberritter
@ 2010-10-25 12:56   ` Andreas Oberritter
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-25 12:56 UTC (permalink / raw)
  To: openembedded-devel

* v2: inherit lib_package before binconfig
* v3: License set to GPLv2+
* v3: Inlined libdvdread_git.inc

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 recipes/libdvdread/libdvdread_4.1.3-10.bb |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdread/libdvdread_4.1.3-10.bb

diff --git a/recipes/libdvdread/libdvdread_4.1.3-10.bb b/recipes/libdvdread/libdvdread_4.1.3-10.bb
new file mode 100644
index 0000000..0838fd5
--- /dev/null
+++ b/recipes/libdvdread/libdvdread_4.1.3-10.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "DVD access multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPLv2+"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"
+
+SRCREV = "e465b500c12be5b4c0b6918a9b98038611f66c57"
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package binconfig pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+addtask unpackpost after do_unpack before do_patch
-- 
1.7.1




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

* [PATCH v3] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-25 12:26       ` Andreas Oberritter
@ 2010-10-25 12:57         ` Andreas Oberritter
  2010-10-25 17:54           ` Frans Meulenbroeks
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Oberritter @ 2010-10-25 12:57 UTC (permalink / raw)
  To: openembedded-devel

* v2: inherit lib_package before binconfig
* v3: License set to GPLv2+
* v3: Inlined libdvdnav_git.inc

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 ...-dvdnavmini.pc-link-against-libdvdnavmini.patch |   25 +++++++++++++++++++
 recipes/libdvdnav/libdvdnav_4.1.3-7.bb             |   26 ++++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
 create mode 100644 recipes/libdvdnav/libdvdnav_4.1.3-7.bb

diff --git a/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
new file mode 100644
index 0000000..84ce442
--- /dev/null
+++ b/recipes/libdvdnav/files/0001-dvdnavmini.pc-link-against-libdvdnavmini.patch
@@ -0,0 +1,25 @@
+upstream: Daniel Baumann <daniel@debian.org>
+status: pending
+
+From 2329cd28d7508f9809f849fa547362aa7df160ba Mon Sep 17 00:00:00 2001
+From: Andreas Oberritter <obi@opendreambox.org>
+Date: Fri, 8 Oct 2010 00:50:54 +0000
+Subject: [PATCH] dvdnavmini.pc: link against libdvdnavmini
+
+---
+ misc/dvdnavmini.pc.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/misc/dvdnavmini.pc.in b/misc/dvdnavmini.pc.in
+index 52945b3..773be2f 100644
+--- a/misc/dvdnavmini.pc.in
++++ b/misc/dvdnavmini.pc.in
+@@ -8,4 +8,4 @@ Description: DVD Navigation mini library
+ Version: @VERSION@
+ 
+ Cflags: -I${includedir} @DVDREAD_CFLAGS@ @THREAD_CFLAGS@
+-Libs: -L${libdir} -ldvdnav @THREAD_LIBS@
++Libs: -L${libdir} -ldvdnavmini @THREAD_LIBS@
+-- 
+1.7.1
+
diff --git a/recipes/libdvdnav/libdvdnav_4.1.3-7.bb b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
new file mode 100644
index 0000000..61a8764
--- /dev/null
+++ b/recipes/libdvdnav/libdvdnav_4.1.3-7.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "DVD navigation multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPLv2+"
+DEPENDS = "libdvdread"
+
+SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian \
+           file://0001-dvdnavmini.pc-link-against-libdvdnavmini.patch"
+
+SRCREV = "850e513d4fea29b40879378b13003cd677e5214b"
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package binconfig pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+}
+
+FILES_${PN} = "${libdir}/${PN}${SOLIB}"
+
+addtask unpackpost after do_unpack before do_patch
+
+python populate_packages_prepend () {
+        description = bb.data.expand('${DESCRIPTION}', d)
+        libdir = bb.data.expand('${libdir}', d)
+        do_split_packages(d, libdir, '^lib(.*)\.so\..*', 'lib%s', description + ' (%s)', extra_depends='', allow_links=True)
+}
-- 
1.7.1




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

* Re: [PATCH v3] libdvdnav: add recipe for version 4.1.3-7 from debian
  2010-10-25 12:57         ` [PATCH v3] " Andreas Oberritter
@ 2010-10-25 17:54           ` Frans Meulenbroeks
  0 siblings, 0 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-25 17:54 UTC (permalink / raw)
  To: openembedded-devel

pushed several of your patches.
Please make sure your patches do not have whitespace errors
got a few of these:
/home/frans/oe/openembedded/.git/rebase-apply/patch:54: trailing whitespace.

/home/frans/oe/openembedded/.git/rebase-apply/patch:59: space before
tab in indent.
 	cd $(srcdir) &&  \

Frans



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

end of thread, other threads:[~2010-10-25 17:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-08 10:56 [PATCH 1/2] libdvdread: add recipe for version 4.1.3-10 from debian Andreas Oberritter
2010-10-08 10:56 ` [PATCH 2/2] libdvdnav: add recipe for version 4.1.3-7 " Andreas Oberritter
2010-10-17 13:00   ` [PATCH v2] " Andreas Oberritter
2010-10-24 11:52     ` Frans Meulenbroeks
2010-10-25 12:26       ` Andreas Oberritter
2010-10-25 12:57         ` [PATCH v3] " Andreas Oberritter
2010-10-25 17:54           ` Frans Meulenbroeks
2010-10-17 12:59 ` [PATCH v2] libdvdread: add recipe for version 4.1.3-10 " Andreas Oberritter
2010-10-25 12:56   ` [PATCH v3] " Andreas Oberritter

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.