Skip to contentSkip to conversation

atk: inherit gnomebase

PATCH Superseded Ross Burton 2 participants 3 messages Jun 14, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atk: inherit gnomebase

This recipe was missing a dependency on gnome-common, so lets just inherit gnomebase and get both it and GNOME SRC_URI handling for free.

---
 meta/recipes-support/atk/atk_2.8.0.bb |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta/recipes-support/atk/atk_2.8.0.bb +2 -3
index a190c0a..cfe2f58 100644
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 
 DEPENDS = "glib-2.0"
 
-inherit autotools gtk-doc pkgconfig
+inherit gnome gtk-doc
 
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
 SRC_URI[sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"
 
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 13 lines · Ross Burton

This recipe was missing a dependency on gnome-common, so lets just inherit gnomebase and get both it and GNOME SRC_URI handling for free.

---
 meta/recipes-support/atk/atk_2.8.0.bb |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta/recipes-support/atk/atk_2.8.0.bb +0 -0
index a190c0a..cfe2f58 100644

meta/recipes-support/atk/atk_2.8.0.bb LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ · line 13

Quoted 5 lines
meta/recipes-support/atk/atk_2.8.0.bb +1 -1
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 
 DEPENDS = "glib-2.0"
 
-inherit autotools gtk-doc pkgconfig
+inherit gnome gtk-doc

The above and the commit message don't match (gnome verses gnomebase) :/

Cheers,

Richard

Quoted 7 lines
meta/recipes-support/atk/atk_2.8.0.bb +1 -2
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
 SRC_URI[sha256sum] = "b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"
 
#2 lore raw

Gnar, sorry. I retract this, I inherited the wrong class.

Ross

Quoted 40 lines · Richard Purdie
Quoted 1 line · Ross Burton

This recipe was missing a dependency on gnome-common, so lets just

inherit

Review

Quoted 8 lines

gnomebase and get both it and GNOME SRC_URI handling for free.

Signed-off-by Ross Burton <[email protected] <javascript:;>>
---
 meta/recipes-support/atk/atk_2.8.0.bb |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

atk_2.8.0.bb

meta/recipes-support/atk/atk_2.8.0.bb LIC_FILES_CHKSUM =

Quoted 4 lines

index a190c0a..cfe2f58 100644

meta/recipes-support/atk/atk_2.8.0.bb +0 -0
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \

meta/recipes-support/atk/atk_2.8.0.bb LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ · line 13

Quoted 5 lines
meta/recipes-support/atk/atk_2.8.0.bb +1 -1
 DEPENDS = "glib-2.0"
 
-inherit autotools gtk-doc pkgconfig
+inherit gnome gtk-doc

The above and the commit message don't match (gnome verses gnomebase) :/

Cheers,

Richard

meta/recipes-support/atk/atk_2.8.0.bb LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \

Quoted 6 lines
meta/recipes-support/atk/atk_2.8.0.bb +1 -2
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+GNOME_COMPRESS_TYPE = "xz"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
 SRC_URI[md5sum] = "c652bd25530825d604dae1c1ebd2da02"
 SRC_URI[sha256sum] =

"b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4"

Quoted 1 line