Skip to contentSkip to conversation

e-wm, efl: create e-base.bbclass with common settings and EFL_SRCREV

PATCH In review Martin Jansa 2 participants 4 messages Dec 1, 2010 – Dec 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 e-wm, efl: create e-base.bbclass with common settings and EFL_SRCREV

* include it from e.bbclass, efl.bbclass and now also python-efl.inc
* also use BPN instead of "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"

---
 classes/e-base.bbclass               |    8 ++++++++
 classes/e.bbclass                    |    9 +--------
 classes/efl.bbclass                  |    8 +-------
 conf/distro/include/sane-srcrevs.inc |    3 ---
 recipes/efl1/libeflvala_svn.bb       |    6 +++---
 recipes/python/python-efl.inc        |    6 ++----
 6 files changed, 15 insertions(+), 25 deletions(-)
 create mode 100644 classes/e-base.bbclass
classes/e-base.bbclass new file +8 -0
new file mode 100644
index 0000000..81f6b8a
@@ -0,0 +1,8 @@
+HOMEPAGE = "http://www.enlightenment.org"
+SRCNAME ?= "${BPN}"
+
+EFL_SRCREV ?= "54714"
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
+S = "${WORKDIR}/${SRCNAME}"
+
+ARM_INSTRUCTION_SET = "arm"
classes/e.bbclass +1 -8
index 5db0749..88a1f6a 100644
@@ -1,13 +1,6 @@
-HOMEPAGE = "http://www.enlightenment.org"
 SECTION = "e/apps"
-SRCNAME ?= "${PN}"
 
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
-S = "${WORKDIR}/${SRCNAME}"
-
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools pkgconfig binconfig
+inherit e-base autotools pkgconfig binconfig
 
 do_prepsources () {
 	make clean distclean || true
classes/efl.bbclass +1 -7
index f148e9c..518444e 100644
@@ -1,17 +1,11 @@
 SECTION = "e/libs"
-HOMEPAGE = "http://www.enlightenment.org"
 LICENSE = "MIT BSD"
-SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http"
-S = "${WORKDIR}/${SRCNAME}"
 DEPENDS += "pkgconfig-native"
 
 # revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence PV go backwards, so we need to up PE to unbreak builds and feeds :(
 PE = "2"
 
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools
+inherit e-base autotools
 
 # evas-native looks at this var, so keep it
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
conf/distro/include/sane-srcrevs.inc +0 -3
index 9531ae4..e69de29 100644
@@ -1,3 +0,0 @@
-# only SRCREVs included in more recipes should be here, otherwise put sane SRCREV to recipe directly
-
-EFL_SRCREV ?= "54714"
recipes/efl1/libeflvala_svn.bb +3 -3
index 22159e6..35f6872 100644
@@ -7,11 +7,11 @@ PV = "0.5.0+svnr${SRCPV}"
 PR = "r1"
 PE = "1"
 SRCREV = "${EFL_SRCREV}"
+SRCNAME = "vala"
 
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=vala;proto=http"
-S = "${WORKDIR}/vala"
+inherit e-base autotools pkgconfig vala
 
-inherit autotools pkgconfig vala
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=${SRCNAME};proto=http"
 
 PACKAGES =+ "${PN}-examples"
 FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*"
recipes/python/python-efl.inc +2 -4
index 1b4a88f..5fc6b9c 100644
@@ -1,7 +1,6 @@
 DESCRIPTION = "${PN} bindings"
 LICENSE = "BSD"
 AUTHOR = "Gustavo Sverzut Barbieri <[email protected]>"
-HOMEPAGE = "http://www.enlightenment.org"
 # NOTE: Due to a bug in distutils, even if we don't use pyrex but cython,
 # we need to build pyrex otherwise cython doesn't get called to build
 # the extension modules.
@@ -14,10 +13,9 @@ PR = "ml1"
 export BUILD_SYS
 export HOST_SYS
 
-inherit autotools pkgconfig distutils-base
+inherit e-base autotools pkgconfig distutils-base
 
-SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${PN};proto=http"
-S = "${WORKDIR}/${PN}"
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${SRCNAME};proto=http"
 
 do_configure_prepend() {
 	# prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use $PKG_CONFIG instead of pkg-config directly
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 2/2 sane-srcrevs.inc: remove it from distro configs, and file itself

---
 conf/distro/angstrom-2008.1.conf               |    1 -
 conf/distro/angstrom-2010.x.conf               |    1 -
 conf/distro/chinook-compat.conf                |    2 --
 conf/distro/include/preferred-shr-versions.inc |    3 ---
 conf/distro/include/slugos.inc                 |    1 -
 conf/distro/jlime-2010.1.conf                  |    1 -
 conf/distro/kaeilos-2010.conf                  |    1 -
 conf/distro/kaeilos.conf                       |    1 -
 conf/distro/maemo5-compat.conf                 |    2 --
 conf/distro/mamona.conf                        |    2 --
 conf/distro/metano.conf                        |    1 -
 conf/distro/micro.conf                         |    1 -
 conf/distro/minimal.conf                       |    1 -
 conf/distro/openprotium.conf                   |    2 --
 conf/distro/shr.conf                           |    1 -
 15 files changed, 0 insertions(+), 21 deletions(-)
 delete mode 100644 conf/distro/include/sane-srcrevs.inc
conf/distro/angstrom-2008.1.conf +0 -1
index 3fa8e3e..ec03276 100644
@@ -20,7 +20,6 @@ DISTRO_PR = ".6"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/angstrom-2008-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
conf/distro/angstrom-2010.x.conf +0 -1
index 5942dca..f2b20f9 100644
@@ -25,7 +25,6 @@ DISTRO_PR = ".9"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/angstrom-2010-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
conf/distro/chinook-compat.conf +0 -2
index ca1e3ce..e9e2e1a 100644
@@ -84,8 +84,6 @@ PREFERRED_VERSION_libtool-native = "1.5.10"
 PREFERRED_VERSION_libtool-cross = "1.5.10"
 PREFERRED_VERSION_libtool = "1.5.6"
 
-require conf/distro/include/sane-srcrevs.inc
-
 PREFERRED_VERSION_fontconfig       = "2.4.1"
 PREFERRED_VERSION_freetype         = "2.2.1"
 PREFERRED_VERSION_freetype-native  = "2.2.1"
conf/distro/include/preferred-shr-versions.inc +0 -3
index 6d3cec9..75c31d1 100644
@@ -20,9 +20,6 @@ LINUX_LIBC_HEADERS_VERSION ?= "2.6.32"
 PREFERRED_VERSION_linux-libc-headers = "${LINUX_LIBC_HEADERS_VERSION}"
 PREFERRED_VERSION_linux-libc-headers-native = "${LINUX_LIBC_HEADERS_VERSION}"
 
-# override EFL_SRCREV from sane-srcrevs.inc
-# EFL_SRCREV ?= "44424"
-
 # specifically set an openssh version
 # NOTE: whenever changing the version here make sure
 #       to check we won't loose our specific config !!!
conf/distro/include/sane-srcrevs.inc deleted +0 -0
deleted file mode 100644
index e69de29..0000000
conf/distro/include/slugos.inc +0 -1
index eaa50bc..c2a380d 100644
@@ -187,4 +187,3 @@ PREFERRED_PROVIDER_bluez-utils			= "bluez4"
 # Include any package preferred versions and srcrevs:
 
 require conf/distro/include/preferred-slugos-versions.inc
-require conf/distro/include/sane-srcrevs.inc
conf/distro/jlime-2010.1.conf +0 -1
index f01b949..28c1dda 100644
@@ -88,7 +88,6 @@ require conf/distro/include/arm-thumb.inc
 # Bootstrap & Init
 #
 PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"
-require conf/distro/include/sane-srcrevs.inc
 
 #
 # Framebuffer & X
conf/distro/kaeilos-2010.conf +0 -1
index a9743dd..8575254 100644
@@ -18,7 +18,6 @@ DISTRO_PR = ".2"
 
 OLDEST_KERNEL ?= "2.6.28"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/kaeilos-2009-preferred-versions.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
conf/distro/kaeilos.conf +0 -1
index fdec1e9..815d40f 100644
@@ -18,7 +18,6 @@ DISTRO_PR = ".6"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/kaeilos-2009-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
conf/distro/maemo5-compat.conf +0 -2
index b3e5da0..c1f0e4b 100644
@@ -81,8 +81,6 @@ PREFERRED_VERSION_libtool-native = "2.2.6b"
 PREFERRED_VERSION_libtool-cross = "2.2.6b"
 PREFERRED_VERSION_libtool = "2.2.6b"
 
-require conf/distro/include/sane-srcrevs.inc
-
 PREFERRED_VERSION_fontconfig       = "2.6.0"
 PREFERRED_VERSION_freetype         = "2.3.6"
 PREFERRED_VERSION_freetype-native  = "2.3.6"
conf/distro/mamona.conf +0 -2
index a9df496..c834ca7 100644
@@ -11,8 +11,6 @@ MAINTAINER = "Mamona Team <[email protected]>"
 
 TARGET_VENDOR = "-mamona"
 
-require conf/distro/include/sane-srcrevs.inc
-
 INHERIT += "angstrom-mirrors mamona-mirrors"
 INHERIT += "package_deb debian"
 INHERIT += "buildallpkgs"
conf/distro/metano.conf +0 -1
index d9fb1e9..7f82791 100644
@@ -88,7 +88,6 @@ require conf/distro/include/arm-thumb.inc
 #############################################################################
 # PREFERRED VERSIONS
 #############################################################################
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
conf/distro/micro.conf +0 -1
index f3b9846..102afa1 100644
@@ -77,7 +77,6 @@ MACHINE_OVERRIDES += "${MACHINE_CLASS}"
 #############################################################################
 # PREFERRED VERSIONS
 #############################################################################
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
 
 #############################################################################
conf/distro/minimal.conf +0 -1
index 5c7efbd..5b92a36 100644
@@ -96,7 +96,6 @@ require conf/distro/include/arm-thumb.inc
 #############################################################################
 # PREFERRED VERSIONS
 #############################################################################
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
conf/distro/openprotium.conf +0 -2
index 749b832..902890c 100644
@@ -75,5 +75,3 @@ PREFERRED_PROVIDER_linux-libc-headers = "linux-libc-headers"
 PREFERRED_PROVIDER_virtual/db 		?= "db"
 PREFERRED_PROVIDER_virtual/db-native 	?= "db-native"
 PREFERRED_PROVIDER_gconf 		?= "gconf"
-
-require conf/distro/include/sane-srcrevs.inc
conf/distro/shr.conf +0 -1
index 140a6d3..0258231 100644
@@ -181,7 +181,6 @@ PREFERRED_PROVIDER_frameworkd-config = "frameworkd-config-shr"
 #############################################################################
 # PREFERRED VERSIONS
 #############################################################################
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
Signature · 1 line
1.7.3.2
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] sane-srcrevs.inc: remove it from distro configs, and file itself

Am Mittwoch, 1. Dezember 2010, 12:55:40 schrieb Martin Jansa:

Quoted 199 lines
---
 conf/distro/angstrom-2008.1.conf               |    1 -
 conf/distro/angstrom-2010.x.conf               |    1 -
 conf/distro/chinook-compat.conf                |    2 --
 conf/distro/include/preferred-shr-versions.inc |    3 ---
 conf/distro/include/slugos.inc                 |    1 -
 conf/distro/jlime-2010.1.conf                  |    1 -
 conf/distro/kaeilos-2010.conf                  |    1 -
 conf/distro/kaeilos.conf                       |    1 -
 conf/distro/maemo5-compat.conf                 |    2 --
 conf/distro/mamona.conf                        |    2 --
 conf/distro/metano.conf                        |    1 -
 conf/distro/micro.conf                         |    1 -
 conf/distro/minimal.conf                       |    1 -
 conf/distro/openprotium.conf                   |    2 --
 conf/distro/shr.conf                           |    1 -
 15 files changed, 0 insertions(+), 21 deletions(-)
 delete mode 100644 conf/distro/include/sane-srcrevs.inc
(quoted diff) +0 -0

b/conf/distro/angstrom-2008.1.conf index 3fa8e3e..ec03276 100644

conf/distro/angstrom-2008.1.conf +0 -1
@@ -20,7 +20,6 @@ DISTRO_PR = ".6"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/angstrom-2008-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
(quoted diff) +0 -0

b/conf/distro/angstrom-2010.x.conf index 5942dca..f2b20f9 100644

conf/distro/angstrom-2010.x.conf +0 -1
@@ -25,7 +25,6 @@ DISTRO_PR = ".9"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/angstrom-2010-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
(quoted diff) +0 -0

b/conf/distro/chinook-compat.conf index ca1e3ce..e9e2e1a 100644

conf/distro/chinook-compat.conf +0 -2
@@ -84,8 +84,6 @@ PREFERRED_VERSION_libtool-native = "1.5.10"
 PREFERRED_VERSION_libtool-cross = "1.5.10"
 PREFERRED_VERSION_libtool = "1.5.6"
 
-require conf/distro/include/sane-srcrevs.inc
-
 PREFERRED_VERSION_fontconfig       = "2.4.1"
 PREFERRED_VERSION_freetype         = "2.2.1"
 PREFERRED_VERSION_freetype-native  = "2.2.1"
(quoted diff) +0 -0

b/conf/distro/include/preferred-shr-versions.inc index 6d3cec9..75c31d1 100644

conf/distro/include/preferred-shr-versions.inc +0 -0
@@ -20,9 +20,6 @@ LINUX_LIBC_HEADERS_VERSION ?= "2.6.32"
 PREFERRED_VERSION_linux-libc-headers = "${LINUX_LIBC_HEADERS_VERSION}"
 PREFERRED_VERSION_linux-libc-headers-native =

"${LINUX_LIBC_HEADERS_VERSION}"

conf/distro/include/preferred-shr-versions.inc +0 -3
-# override EFL_SRCREV from sane-srcrevs.inc
-# EFL_SRCREV ?= "44424"
-
 # specifically set an openssh version
 # NOTE: whenever changing the version here make sure
 #       to check we won't loose our specific config !!!
(quoted diff) +0 -0

b/conf/distro/include/sane-srcrevs.inc deleted file mode 100644 index e69de29..0000000

(quoted diff) +0 -0

b/conf/distro/include/slugos.inc index eaa50bc..c2a380d 100644

conf/distro/include/slugos.inc +0 -1
@@ -187,4 +187,3 @@ PREFERRED_PROVIDER_bluez-utils			= "bluez4"
 # Include any package preferred versions and srcrevs:
 
 require conf/distro/include/preferred-slugos-versions.inc
-require conf/distro/include/sane-srcrevs.inc
conf/distro/jlime-2010.1.conf +0 -1
index f01b949..28c1dda 100644
@@ -88,7 +88,6 @@ require conf/distro/include/arm-thumb.inc
 # Bootstrap & Init
 #
 PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"
-require conf/distro/include/sane-srcrevs.inc
 
 #
 # Framebuffer & X
conf/distro/kaeilos-2010.conf +0 -1
index a9743dd..8575254 100644
@@ -18,7 +18,6 @@ DISTRO_PR = ".2"
 
 OLDEST_KERNEL ?= "2.6.28"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/kaeilos-2009-preferred-versions.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
conf/distro/kaeilos.conf +0 -1
index fdec1e9..815d40f 100644
@@ -18,7 +18,6 @@ DISTRO_PR = ".6"
 
 OLDEST_KERNEL ?= "2.6.16"
 
-require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/kaeilos-2009-preferred-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 
(quoted diff) +0 -0

b/conf/distro/maemo5-compat.conf index b3e5da0..c1f0e4b 100644

conf/distro/maemo5-compat.conf +0 -2
@@ -81,8 +81,6 @@ PREFERRED_VERSION_libtool-native = "2.2.6b"
 PREFERRED_VERSION_libtool-cross = "2.2.6b"
 PREFERRED_VERSION_libtool = "2.2.6b"
 
-require conf/distro/include/sane-srcrevs.inc
-
 PREFERRED_VERSION_fontconfig       = "2.6.0"
 PREFERRED_VERSION_freetype         = "2.3.6"
 PREFERRED_VERSION_freetype-native  = "2.3.6"
conf/distro/mamona.conf +0 -0
index a9df496..c834ca7 100644
@@ -11,8 +11,6 @@ MAINTAINER = "Mamona Team

<[email protected]>"

TARGET_VENDOR = "-mamona"

conf/distro/mamona.conf +0 -2
-require conf/distro/include/sane-srcrevs.inc
-
 INHERIT += "angstrom-mirrors mamona-mirrors"
 INHERIT += "package_deb debian"
 INHERIT += "buildallpkgs"
conf/distro/metano.conf +0 -0
index d9fb1e9..7f82791 100644
@@ -88,7 +88,6 @@ require conf/distro/include/arm-thumb.inc
 ##########################################################################
 ### # PREFERRED VERSIONS
 ##########################################################################
 ### -require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
conf/distro/micro.conf +0 -0
index f3b9846..102afa1 100644
@@ -77,7 +77,6 @@ MACHINE_OVERRIDES += "${MACHINE_CLASS}"
 ##########################################################################
 ### # PREFERRED VERSIONS
 ##########################################################################
 ### -require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
 
 ##########################################################################

### diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index 5c7efbd..5b92a36 100644

conf/distro/minimal.conf +0 -0
@@ -96,7 +96,6 @@ require conf/distro/include/arm-thumb.inc
 ##########################################################################
 ### # PREFERRED VERSIONS
 ##########################################################################
 ### -require conf/distro/include/sane-srcrevs.inc
 require conf/distro/include/preferred-e-versions.inc
 require conf/distro/include/preferred-opie-versions-1.2.4.inc
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
conf/distro/openprotium.conf +0 -0
index 749b832..902890c 100644
@@ -75,5 +75,3 @@ PREFERRED_PROVIDER_linux-libc-headers =

"linux-libc-headers" PREFERRED_PROVIDER_virtual/db ?= "db"
PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
PREFERRED_PROVIDER_gconf ?= "gconf"

conf/distro/openprotium.conf +0 -2
-
-require conf/distro/include/sane-srcrevs.inc
conf/distro/shr.conf +0 -0
index 140a6d3..0258231 100644
@@ -181,7 +181,6 @@ PREFERRED_PROVIDER_frameworkd-config =
Quoted 7 lines

"frameworkd-config-shr"
##########################################################################
### # PREFERRED VERSIONS
##########################################################################
### -require conf/distro/include/sane-srcrevs.inc
require conf/distro/include/preferred-e-versions.inc require conf/distro/include/preferred-opie-versions-1.2.4.inc

Signature · 1 line
Klaus 'mrmoku' Kurzmann
Acked-by on v1 1/2
#3 lore raw
In reply to Martin Jansa

Am Mittwoch, 1. Dezember 2010, 12:55:39 schrieb Martin Jansa:

Quoted 131 lines

* include it from e.bbclass, efl.bbclass and now also python-efl.inc
* also use BPN instead of "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"

---
 classes/e-base.bbclass               |    8 ++++++++
 classes/e.bbclass                    |    9 +--------
 classes/efl.bbclass                  |    8 +-------
 conf/distro/include/sane-srcrevs.inc |    3 ---
 recipes/efl1/libeflvala_svn.bb       |    6 +++---
 recipes/python/python-efl.inc        |    6 ++----
 6 files changed, 15 insertions(+), 25 deletions(-)
 create mode 100644 classes/e-base.bbclass
classes/e-base.bbclass new file +5 -0
new file mode 100644
index 0000000..81f6b8a
@@ -0,0 +1,8 @@
+HOMEPAGE = "http://www.enlightenment.org"
+SRCNAME ?= "${BPN}"
+
+EFL_SRCREV ?= "54714"
+SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http" +S = "${WORKDIR}/${SRCNAME}"

classes/e-base.bbclass new file +2 -0
+
+ARM_INSTRUCTION_SET = "arm"
classes/e.bbclass +0 -3
index 5db0749..88a1f6a 100644
@@ -1,13 +1,6 @@
-HOMEPAGE = "http://www.enlightenment.org"
 SECTION = "e/apps"
-SRCNAME ?= "${PN}"
 
-SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http" -S = "${WORKDIR}/${SRCNAME}"

classes/e.bbclass +1 -4
-
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools pkgconfig binconfig
+inherit e-base autotools pkgconfig binconfig
 
 do_prepsources () {
 	make clean distclean || true
classes/efl.bbclass +0 -3
index f148e9c..518444e 100644
@@ -1,17 +1,11 @@
 SECTION = "e/libs"
-HOMEPAGE = "http://www.enlightenment.org"
 LICENSE = "MIT BSD"
-SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"
-SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk;module=${SRCNAME};proto=http" -S = "${WORKDIR}/${SRCNAME}"
DEPENDS += "pkgconfig-native"

 # revision 0d93ec84b30bc1bee2caaee72d667f87bc468a70 made SRCDATE and hence
PV go backwards, so we need to up PE to unbreak builds and feeds :( PE =
"2"
classes/efl.bbclass +1 -3
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools
+inherit e-base autotools
 
 # evas-native looks at this var, so keep it
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
(quoted diff) +0 -0

b/conf/distro/include/sane-srcrevs.inc index 9531ae4..e69de29 100644

conf/distro/include/sane-srcrevs.inc +0 -1
@@ -1,3 +0,0 @@
-# only SRCREVs included in more recipes should be here, otherwise put sane

SRCREV to recipe directly -

conf/distro/include/sane-srcrevs.inc +0 -1
-EFL_SRCREV ?= "54714"
(quoted diff) +0 -0

b/recipes/efl1/libeflvala_svn.bb index 22159e6..35f6872 100644

recipes/efl1/libeflvala_svn.bb +1 -1
@@ -7,11 +7,11 @@ PV = "0.5.0+svnr${SRCPV}"
 PR = "r1"
 PE = "1"
 SRCREV = "${EFL_SRCREV}"
+SRCNAME = "vala"
 
-SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=vala;proto=http"

recipes/efl1/libeflvala_svn.bb +2 -2
-S = "${WORKDIR}/vala"
+inherit e-base autotools pkgconfig vala
 
-inherit autotools pkgconfig vala
+SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk/BINDINGS;module=${SRCNAME};proto= http"

PACKAGES =+ "${PN}-examples"
FILES_${PN}-examples = "${datadir}/libeflvala ${bindir}/*"

recipes/python/python-efl.inc +1 -3
index 1b4a88f..5fc6b9c 100644
@@ -1,7 +1,6 @@
 DESCRIPTION = "${PN} bindings"
 LICENSE = "BSD"
 AUTHOR = "Gustavo Sverzut Barbieri <[email protected]>"
-HOMEPAGE = "http://www.enlightenment.org"
 # NOTE: Due to a bug in distutils, even if we don't use pyrex but cython,
 # we need to build pyrex otherwise cython doesn't get called to build
 # the extension modules.
@@ -14,10 +13,9 @@ PR = "ml1"
 export BUILD_SYS
 export HOST_SYS
 
-inherit autotools pkgconfig distutils-base
+inherit e-base autotools pkgconfig distutils-base
 
-SRC_URI =

"svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${PN};prot o=http" -S = "${WORKDIR}/${PN}"
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=${SRCNAME} ;proto=http"

Quoted 3 lines

do_configure_prepend() {

 	# prefix CYTHON_.*_INCLUDEDIR with path to STAGING_DIR_HOST also use
$PKG_CONFIG instead of pkg-config directly
Signature · 1 line
Klaus 'mrmoku' Kurzmann