Patchwork [meta-xfce,01/11] xfce4-dev-tools: add native support

login
register
mail settings
Submitter Andreas Müller
Date Sept. 21, 2011, 6:11 a.m.
Message ID <1316585520-18605-2-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/11803/
State Superseded
Headers show

Comments

Andreas Müller - Sept. 21, 2011, 6:11 a.m.
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
---
 .../xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb       |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
Koen Kooi - Sept. 21, 2011, 7:10 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 21-09-11 08:11, Andreas Müller schreef:
> 
> Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> --- 
> .../xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb       |    7 ++++++-

> +# inherited SRC_URI does not work for native +SRC_URI =
> "http://archive.xfce.org/src/xfce/xfce4-dev-tools/${@'${PV}'[0:3]}/xfce4-dev-tools-${PV}.tar.bz2"
>
> 
+

Could give this patch a try?

diff --git a/meta-xfce/classes/xfce.bbclass b/meta-xfce/classes/xfce.bbclass
index a5a35bb..5b12cba 100644
- --- a/meta-xfce/classes/xfce.bbclass
+++ b/meta-xfce/classes/xfce.bbclass
@@ -1,5 +1,5 @@
 HOMEPAGE = "http://www.xfce.org"
- -SRC_URI =
"http://archive.xfce.org/src/xfce/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz2"
+SRC_URI =
"http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.bz2"


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOeY3zMkyGM64RGpERAqVIAJ9dfSvnib4GMDVIYN56r7LAmHnagACfe+J4
8IrtEAkO2ytHnJ1PdYK/tWg=
=X5tl
-----END PGP SIGNATURE-----
Andreas Müller - Sept. 21, 2011, 8:36 p.m.
On Wednesday, September 21, 2011 09:10:43 AM Koen Kooi wrote:
> Op 21-09-11 08:11, Andreas Müller schreef:
> > Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> ---
> > .../xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb       |    7 ++++++-
> > 
> > +# inherited SRC_URI does not work for native +SRC_URI =
> > "http://archive.xfce.org/src/xfce/xfce4-dev-tools/${@'${PV}'[0:3]}/xfce4-
> > dev-tools-${PV}.tar.bz2"
> 
> +
> 
> Could give this patch a try?
> 
> diff --git a/meta-xfce/classes/xfce.bbclass
> b/meta-xfce/classes/xfce.bbclass index a5a35bb..5b12cba 100644
> --- a/meta-xfce/classes/xfce.bbclass
> +++ b/meta-xfce/classes/xfce.bbclass
> @@ -1,5 +1,5 @@
>  HOMEPAGE = "http://www.xfce.org"
> -SRC_URI =
> "http://archive.xfce.org/src/xfce/${PN}/${@'${PV}'[0:3]}/${PN}-${PV}.tar.bz
> 2" +SRC_URI =
> "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:3]}/${BPN}-${PV}.tar.
> bz2"
> 
Thanks for teaching me what BPN is for :-)

Andreas

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb
index 3df67ee..3985a0e 100644
--- a/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb
+++ b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.8.0.bb
@@ -3,10 +3,15 @@  SECTION = "x11/libs"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
 
-PR = "r0"
+PR = "r1"
+
+BBCLASSEXTEND = "native"
 
 inherit xfce
 
+# inherited SRC_URI does not work for native
+SRC_URI = "http://archive.xfce.org/src/xfce/xfce4-dev-tools/${@'${PV}'[0:3]}/xfce4-dev-tools-${PV}.tar.bz2"
+
 do_install_append() {
        install -d ${D}${datadir}/aclocal
        install -m 644 m4macros/*.m4 ${D}${datadir}/aclocal/