Patchwork [meta-oe] libdvdread: update to version 4.2.0

login
register
mail settings
Submitter Mario Domenech Goulart
Date March 7, 2013, 6:35 p.m.
Message ID <1362681343-430-1-git-send-email-mario@ossystems.com.br>
Download mbox | patch
Permalink /patch/45677/
State Accepted, archived
Commit 4f2ae6f5bdd14bf56ae115f8fce16674af3e04bd
Headers show

Comments

Mario Domenech Goulart - March 7, 2013, 6:35 p.m.
The previous version (4.1.3-10) was unbuildable due to this issue:

WARNING: Failed to fetch URL git://git.debian-maintainers.org/git/daniel/libdvdread.git;protocol=git;branch=debian,
   attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository <snip>/downloads//git2/git.debian-maintainers.org.git.daniel.libdvdread.git...

fatal: Unable to look up git.debian-maintainers.org (port 9418) (Name or service not known)

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
---
 .../libdvdread/libdvdread_4.1.3-10.bb              |   16 ----------------
 .../libdvdread/libdvdread_4.2.0.bb                 |   17 +++++++++++++++++
 2 files changed, 17 insertions(+), 16 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
 create mode 100644 meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
Martin Jansa - March 13, 2013, 4:35 p.m.
On Thu, Mar 07, 2013 at 03:35:43PM -0300, Mario Domenech Goulart wrote:
> The previous version (4.1.3-10) was unbuildable due to this issue:

Applied, thanks!

> 
> WARNING: Failed to fetch URL git://git.debian-maintainers.org/git/daniel/libdvdread.git;protocol=git;branch=debian,
>    attempting MIRRORS if available
> ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
> Cloning into bare repository <snip>/downloads//git2/git.debian-maintainers.org.git.daniel.libdvdread.git...
> 
> fatal: Unable to look up git.debian-maintainers.org (port 9418) (Name or service not known)
> 
> Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
> ---
>  .../libdvdread/libdvdread_4.1.3-10.bb              |   16 ----------------
>  .../libdvdread/libdvdread_4.2.0.bb                 |   17 +++++++++++++++++
>  2 files changed, 17 insertions(+), 16 deletions(-)
>  delete mode 100644 meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
>  create mode 100644 meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
> 
> diff --git a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
> deleted file mode 100644
> index f17043b..0000000
> --- a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -DESCRIPTION = "DVD access multimeda library"
> -SECTION = "libs/multimedia"
> -LICENSE = "GPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -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
> diff --git a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
> new file mode 100644
> index 0000000..d5695ca
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
> @@ -0,0 +1,17 @@
> +DESCRIPTION = "DVD access multimeda library"
> +SECTION = "libs/multimedia"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=64e753fa7d1ca31632bc383da3b57c27"
> +SRC_URI = "http://dvdnav.mplayerhq.hu/releases/libdvdread-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "ab7a19d3ab1a437ae754ef477d6231a4"
> +SRC_URI[sha256sum] = "0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097"
> +
> +inherit autotools lib_package binconfig pkgconfig
> +
> +CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--disable-silent-rules', ' ')}"
> +
> +do_configure_prepend() {
> +    # For some weird reason, libdvdread only provides a `configure2' script...
> +    cp ${S}/configure2 ${S}/configure
> +}
> -- 
> 1.7.2.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
deleted file mode 100644
index f17043b..0000000
--- a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.1.3-10.bb
+++ /dev/null
@@ -1,16 +0,0 @@ 
-DESCRIPTION = "DVD access multimeda library"
-SECTION = "libs/multimedia"
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-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
diff --git a/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
new file mode 100644
index 0000000..d5695ca
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
@@ -0,0 +1,17 @@ 
+DESCRIPTION = "DVD access multimeda library"
+SECTION = "libs/multimedia"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=64e753fa7d1ca31632bc383da3b57c27"
+SRC_URI = "http://dvdnav.mplayerhq.hu/releases/libdvdread-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "ab7a19d3ab1a437ae754ef477d6231a4"
+SRC_URI[sha256sum] = "0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097"
+
+inherit autotools lib_package binconfig pkgconfig
+
+CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--disable-silent-rules', ' ')}"
+
+do_configure_prepend() {
+    # For some weird reason, libdvdread only provides a `configure2' script...
+    cp ${S}/configure2 ${S}/configure
+}