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-oe | |
| 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-oe')
4 files changed, 83 insertions, 6 deletions
diff --git a/meta-oe/recipes-devtools/geany/geany_1.27.bb b/meta-oe/recipes-devtools/geany/geany_1.27.bb index 686222ac83..15b21da14e 100644 --- a/meta-oe/recipes-devtools/geany/geany_1.27.bb +++ b/meta-oe/recipes-devtools/geany/geany_1.27.bb | |||
| @@ -2,7 +2,7 @@ SUMMARY = "A fast and lightweight IDE" | |||
| 2 | HOMEPAGE = "http://www.geany.org/" | 2 | HOMEPAGE = "http://www.geany.org/" |
| 3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5" |
| 5 | DEPENDS = "gtk+ python-docutils-native" | 5 | DEPENDS = "gtk+ python3-docutils-native" |
| 6 | 6 | ||
| 7 | inherit autotools pkgconfig perlnative pythonnative | 7 | inherit autotools pkgconfig perlnative pythonnative |
| 8 | 8 | ||
| @@ -14,3 +14,5 @@ SRC_URI[md5sum] = "7c23f835f45def89d10884c1343fa29e" | |||
| 14 | SRC_URI[sha256sum] = "846ff699a5944c5c3c068ae0199d4c13946a668bfc6d03f8c79765667c20cadf" | 14 | SRC_URI[sha256sum] = "846ff699a5944c5c3c068ae0199d4c13946a668bfc6d03f8c79765667c20cadf" |
| 15 | 15 | ||
| 16 | FILES_${PN} += "${datadir}/icons" | 16 | FILES_${PN} += "${datadir}/icons" |
| 17 | |||
| 18 | EXTRA_OECONF = "--disable-html-docs" | ||
diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb index 4e7ef9b5ca..dcc0cbe735 100644 --- a/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | |||
| @@ -4,7 +4,7 @@ LICENSE = "GPLv2 & LGPLv2" | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ |
| 5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ | 5 | file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ |
| 6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" | 6 | file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" |
| 7 | DEPENDS = "gtk+ gnome-doc-utils-native gnome-common libxml2" | 7 | DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2" |
| 8 | 8 | ||
| 9 | inherit autotools pkgconfig pythonnative | 9 | inherit autotools pkgconfig pythonnative |
| 10 | 10 | ||
| @@ -18,10 +18,6 @@ EXTRA_OECONF += "--disable-scrollkeeper" | |||
| 18 | PACKAGECONFIG ??= "" | 18 | PACKAGECONFIG ??= "" |
| 19 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" | 19 | PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" |
| 20 | 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" | 21 | FILES_${PN} += "${datadir}/icons" |
| 26 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" | 22 | FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" |
| 27 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la" | 23 | FILES_${PN}-dev += "${libdir}/glade3/modules/*.la" |
diff --git a/meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4 b/meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4 new file mode 100644 index 0000000000..f8d160a9e4 --- /dev/null +++ b/meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4 | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | dnl Do not call GNOME_DOC_DEFINES directly. It is split out from | ||
| 2 | dnl GNOME_DOC_INIT to allow gnome-doc-utils to bootstrap off itself. | ||
| 3 | AC_DEFUN([GNOME_DOC_DEFINES], | ||
| 4 | [ | ||
| 5 | AC_ARG_WITH([help-dir], | ||
| 6 | AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),, | ||
| 7 | [with_help_dir='${datadir}/gnome/help']) | ||
| 8 | HELP_DIR="$with_help_dir" | ||
| 9 | AC_SUBST(HELP_DIR) | ||
| 10 | |||
| 11 | AC_ARG_WITH([omf-dir], | ||
| 12 | AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),, | ||
| 13 | [with_omf_dir='${datadir}/omf']) | ||
| 14 | OMF_DIR="$with_omf_dir" | ||
| 15 | AC_SUBST(OMF_DIR) | ||
| 16 | |||
| 17 | AC_ARG_WITH([help-formats], | ||
| 18 | AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),, | ||
| 19 | [with_help_formats='']) | ||
| 20 | DOC_USER_FORMATS="$with_help_formats" | ||
| 21 | AC_SUBST(DOC_USER_FORMATS) | ||
| 22 | |||
| 23 | AC_ARG_ENABLE([scrollkeeper], | ||
| 24 | [AC_HELP_STRING([--disable-scrollkeeper], | ||
| 25 | [do not make updates to the scrollkeeper database])],, | ||
| 26 | enable_scrollkeeper=yes) | ||
| 27 | AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"]) | ||
| 28 | |||
| 29 | dnl disable scrollkeeper automatically for distcheck | ||
| 30 | DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS" | ||
| 31 | AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) | ||
| 32 | |||
| 33 | AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"]) | ||
| 34 | ]) | ||
| 35 | |||
| 36 | # GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) | ||
| 37 | # | ||
| 38 | AC_DEFUN([GNOME_DOC_INIT], | ||
| 39 | [AC_REQUIRE([AC_PROG_LN_S])dnl | ||
| 40 | |||
| 41 | if test -z "$AM_DEFAULT_VERBOSITY"; then | ||
| 42 | AM_DEFAULT_VERBOSITY=1 | ||
| 43 | fi | ||
| 44 | AC_SUBST([AM_DEFAULT_VERBOSITY]) | ||
| 45 | |||
| 46 | ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1]) | ||
| 47 | |||
| 48 | AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required]) | ||
| 49 | PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required], | ||
| 50 | [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no]) | ||
| 51 | |||
| 52 | if test "$gdu_cv_have_gdu" = "yes"; then | ||
| 53 | AC_MSG_RESULT([yes]) | ||
| 54 | ifelse([$2],,[:],[$2]) | ||
| 55 | else | ||
| 56 | AC_MSG_RESULT([no]) | ||
| 57 | ifelse([$3],,[:],[$3]) | ||
| 58 | fi | ||
| 59 | |||
| 60 | GNOME_DOC_DEFINES | ||
| 61 | ]) | ||
diff --git a/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb b/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb new file mode 100644 index 0000000000..d6da51b0de --- /dev/null +++ b/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Stub implementation of gnome-doc-utils" | ||
| 2 | DESCRIPTION = "This recipe provides m4 macros from gnome-doc-utils project, so \ | ||
| 3 | that dependent recipes can build. Gnome-doc-utils itself is no longer packaged because \ | ||
| 4 | it requires libxml2 and python 2 at the same time, which can no longer be satisfied. " | ||
| 5 | LICENSE = "GPLv2 & LGPLv2.1" | ||
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ | ||
| 7 | file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" | ||
| 8 | SRC_URI = "file://gnome-doc-utils.m4" | ||
| 9 | |||
| 10 | PROVIDES = "gnome-doc-utils" | ||
| 11 | |||
| 12 | do_install_append() { | ||
| 13 | install -d ${D}${datadir}/aclocal/ | ||
| 14 | install ${WORKDIR}/gnome-doc-utils.m4 ${D}${datadir}/aclocal/ | ||
| 15 | } | ||
| 16 | |||
| 17 | FILES_${PN} += "${datadir}" | ||
| 18 | |||
