diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-devtools/glade | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-devtools/glade')
-rw-r--r-- | meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch | 51 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | 27 |
2 files changed, 78 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch b/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch new file mode 100644 index 000000000..1b24c39ce --- /dev/null +++ b/meta-oe/recipes-devtools/glade/files/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From aed002cd9ff9e8f972120fbac33b4a65aba952e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Tue, 25 Sep 2012 10:28:33 +0200 | ||
4 | Subject: [PATCH] gnome-doc-utils.make: sysrooted pkg-config | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | same approach as used used in gnome-disk-utility: | ||
10 | |||
11 | In cross environment we have to prepend the sysroot to the path found by | ||
12 | pkgconfig since the path returned from pkgconfig does not have sysroot prefixed | ||
13 | it ends up using the files from host system. Now usually people have gnome installed | ||
14 | so the build succeeds but if you dont have gnome installed on build host then | ||
15 | it wont find the files on host system and packages using gnome-doc-utils wont | ||
16 | compile. | ||
17 | |||
18 | This should work ok with non sysrooted builds too since in those cases PKG_CONFIG_SYSROOT_DIR | ||
19 | will be empty | ||
20 | |||
21 | Upstream-Status: pending | ||
22 | |||
23 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
24 | --- | ||
25 | gnome-doc-utils.make | 10 +++++----- | ||
26 | 1 files changed, 5 insertions(+), 5 deletions(-) | ||
27 | |||
28 | diff --git a/gnome-doc-utils.make b/gnome-doc-utils.make | ||
29 | index 42d9df3..f71bbfa 100644 | ||
30 | --- a/gnome-doc-utils.make | ||
31 | +++ b/gnome-doc-utils.make | ||
32 | @@ -133,11 +133,11 @@ _DOC_ABS_SRCDIR = @abs_srcdir@ | ||
33 | _xml2po ?= `which xml2po` | ||
34 | _xml2po_mode = $(if $(DOC_ID),mallard,docbook) | ||
35 | |||
36 | -_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
37 | -_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
38 | -_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
39 | -_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
40 | -_ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl | ||
41 | +_db2html ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
42 | +_db2omf ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
43 | +_chunks ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
44 | +_credits ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
45 | +_ids ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
46 | |||
47 | if ENABLE_SK | ||
48 | _ENABLE_SK = true | ||
49 | -- | ||
50 | 1.7.6.5 | ||
51 | |||
diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb new file mode 100644 index 000000000..4e7ef9b5c --- /dev/null +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Glade - A User Interface Designer" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gnash" | ||
3 | LICENSE = "GPLv2 & LGPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ | ||
5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ | ||
6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" | ||
7 | DEPENDS = "gtk+ gnome-doc-utils-native gnome-common libxml2" | ||
8 | |||
9 | inherit autotools pkgconfig pythonnative | ||
10 | |||
11 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \ | ||
12 | file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch" | ||
13 | SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f" | ||
14 | SRC_URI[sha256sum] = "58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735" | ||
15 | |||
16 | EXTRA_OECONF += "--disable-scrollkeeper" | ||
17 | |||
18 | PACKAGECONFIG ??= "" | ||
19 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | sed -i '/^if HAVE_GNOME_DOC_UTILS/,/^endif/d' ${S}/Makefile.am | ||
23 | } | ||
24 | |||
25 | FILES_${PN} += "${datadir}/icons" | ||
26 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" | ||
27 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la" | ||