summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gedit
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-05-24 14:57:01 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2016-06-08 14:55:26 +0200
commitb4d7caaff9ee7e3ba2f5756b3d2ea2de498d4c2f (patch)
treea6c368b68b1a6181cca37fda37bf5444e20e4512 /meta-gnome/recipes-gnome/gedit
parentf0de8ed2c3301b8629d87a4e3357d580d4db154a (diff)
downloadmeta-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.patch29
-rw-r--r--meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb12
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 @@
1From 1d2e6165e3154e27ecde329a40c05f0880afb9e0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 May 2016 14:14:03 +0300
4Subject: [PATCH] Remove help directory from build
5
6It hardcodes the use of xml2po utility, which is provided by obsolete gnome-doc-utils
7
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 Makefile.am | 3 ---
11 1 file changed, 3 deletions(-)
12
13diff --git a/Makefile.am b/Makefile.am
14index 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--
282.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"
3LICENSE = "GPLv2+" 3LICENSE = "GPLv2+"
4PR = "r2" 4PR = "r2"
5 5
6DEPENDS = "gvfs enchant gconf gnome-doc-utils gnome-doc-utils-native glib-2.0 gtk+ gtksourceview2 iso-codes" 6DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9 9
10inherit gnome gettext pythonnative 10inherit gnome gettext pythonnative
11SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch" 11SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch \
12 file://0001-Remove-help-directory-from-build.patch"
12SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b" 13SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b"
13SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c" 14SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c"
14GNOME_COMPRESS_TYPE="bz2" 15GNOME_COMPRESS_TYPE="bz2"
@@ -16,13 +17,6 @@ GNOME_COMPRESS_TYPE="bz2"
16EXTRA_OECONF = "--disable-scrollkeeper \ 17EXTRA_OECONF = "--disable-scrollkeeper \
17 --enable-gvfs-metadata" 18 --enable-gvfs-metadata"
18 19
19do_configure_prepend() {
20 cd ${S}
21 gnome-doc-common --copy || true
22 gnome-doc-prepare --force --copy || true
23 cd ${B}
24}
25
26FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2" 20FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2"
27FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug" 21FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug"
28 22