diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-05-24 14:57:01 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-06-08 14:55:26 +0200 |
commit | b4d7caaff9ee7e3ba2f5756b3d2ea2de498d4c2f (patch) | |
tree | a6c368b68b1a6181cca37fda37bf5444e20e4512 /meta-gnome/recipes-gnome/gedit | |
parent | f0de8ed2c3301b8629d87a4e3357d580d4db154a (diff) | |
download | meta-openembedded-b4d7caaff9ee7e3ba2f5756b3d2ea2de498d4c2f.tar.gz |
gnome-doc-utils-stub: add a recipe
Real gnome-doc-utils can no longer be build (because
it requires both python 2 and libxml2, which can only be
build for one version of Python), so a stub recipe which
provides just m4 macros is provided, and usage of
gnome-doc-utils is disabled where needed.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/gedit')
-rw-r--r-- | meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch | 29 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 12 |
2 files changed, 32 insertions, 9 deletions
diff --git a/meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch b/meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch new file mode 100644 index 000000000..4ad57effe --- /dev/null +++ b/meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 1d2e6165e3154e27ecde329a40c05f0880afb9e0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 17 May 2016 14:14:03 +0300 | ||
4 | Subject: [PATCH] Remove help directory from build | ||
5 | |||
6 | It hardcodes the use of xml2po utility, which is provided by obsolete gnome-doc-utils | ||
7 | |||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | Makefile.am | 3 --- | ||
11 | 1 file changed, 3 deletions(-) | ||
12 | |||
13 | diff --git a/Makefile.am b/Makefile.am | ||
14 | index e57b203..a88152d 100644 | ||
15 | --- a/Makefile.am | ||
16 | +++ b/Makefile.am | ||
17 | @@ -3,9 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 | ||
18 | |||
19 | SUBDIRS = gedit pixmaps po data plugin-loaders plugins docs tests win32 osx | ||
20 | |||
21 | -if !OS_OSX | ||
22 | -SUBDIRS += help | ||
23 | -endif | ||
24 | |||
25 | distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | ||
26 | |||
27 | -- | ||
28 | 2.8.1 | ||
29 | |||
diff --git a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb index 1c7b7e3ed..4ae5bbb81 100644 --- a/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb +++ b/meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | |||
@@ -3,12 +3,13 @@ SECTION = "x11/gnome" | |||
3 | LICENSE = "GPLv2+" | 3 | LICENSE = "GPLv2+" |
4 | PR = "r2" | 4 | PR = "r2" |
5 | 5 | ||
6 | DEPENDS = "gvfs enchant gconf gnome-doc-utils gnome-doc-utils-native glib-2.0 gtk+ gtksourceview2 iso-codes" | 6 | DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes" |
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
9 | 9 | ||
10 | inherit gnome gettext pythonnative | 10 | inherit gnome gettext pythonnative |
11 | SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch" | 11 | SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch \ |
12 | file://0001-Remove-help-directory-from-build.patch" | ||
12 | SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b" | 13 | SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b" |
13 | SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c" | 14 | SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c" |
14 | GNOME_COMPRESS_TYPE="bz2" | 15 | GNOME_COMPRESS_TYPE="bz2" |
@@ -16,13 +17,6 @@ GNOME_COMPRESS_TYPE="bz2" | |||
16 | EXTRA_OECONF = "--disable-scrollkeeper \ | 17 | EXTRA_OECONF = "--disable-scrollkeeper \ |
17 | --enable-gvfs-metadata" | 18 | --enable-gvfs-metadata" |
18 | 19 | ||
19 | do_configure_prepend() { | ||
20 | cd ${S} | ||
21 | gnome-doc-common --copy || true | ||
22 | gnome-doc-prepare --force --copy || true | ||
23 | cd ${B} | ||
24 | } | ||
25 | |||
26 | FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2" | 20 | FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2" |
27 | FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug" | 21 | FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug" |
28 | 22 | ||