From c000abbefcd2ce1180f1cf4468512c7c40a3cc8c Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 10 Jun 2015 15:41:01 +0300 Subject: epiphany: add a recipe from meta-gnome Epiphany is replacing midori as the browser in oe-core recipe set and poky distribution. (From OE-Core rev: cf1ad936487d5d068304b6e2565bfd556d81baef) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-gnome/epiphany/epiphany_3.16.3.bb | 24 ++++++++++++++++ .../0001-yelp.m4-drop-the-check-for-itstool.patch | 33 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 meta/recipes-gnome/epiphany/epiphany_3.16.3.bb create mode 100644 meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch diff --git a/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb new file mode 100644 index 0000000000..506fb25dd6 --- /dev/null +++ b/meta/recipes-gnome/epiphany/epiphany_3.16.3.bb @@ -0,0 +1,24 @@ +SUMMARY = "WebKit based web browser for GNOME" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes ca-certificates avahi libnotify gcr libwnck3 \ + gsettings-desktop-schemas gnome-desktop3" + +inherit gnomebase gsettings +SRC_URI += "file://0001-yelp.m4-drop-the-check-for-itstool.patch" +SRC_URI[archive.md5sum] = "3296af4532b8019775f4b40d21a341ae" +SRC_URI[archive.sha256sum] = "d527f1770779ec22d955aeb13b148a846a26144e433ff0480c981af80e2390b1" + +EXTRA_OECONF += " --disable-nss --with-distributor-name=${DISTRO}" + +do_configure_prepend() { + touch ${S}/gnome-doc-utils.make + sed -i -e s:help::g ${S}/Makefile.am +} + +FILES_${PN} += "${datadir}/appdata ${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers" +FILES_${PN}-dbg += "${libdir}/epiphany/*/web-extensions/.debug/libephywebextension.so" +RDEPENDS_${PN} = "iso-codes adwaita-icon-theme" +RRECOMMENDS_${PN} = "ca-certificates" + diff --git a/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch b/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch new file mode 100644 index 0000000000..2585d7f741 --- /dev/null +++ b/meta/recipes-gnome/epiphany/files/0001-yelp.m4-drop-the-check-for-itstool.patch @@ -0,0 +1,33 @@ +From 30f03a256efe375a4d5c3a24bf4168ebf380e3ab Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Thu, 30 Jul 2015 15:13:23 +0300 +Subject: [PATCH] yelp.m4: drop the check for itstool + +It isn't used for anything during build, so there's no need to provide +it as a recipe. + +Upstream-Status: Inappropriate [tarball-specific issue] +--- + m4/yelp.m4 | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/m4/yelp.m4 b/m4/yelp.m4 +index 5db847f..1b6ede4 100644 +--- a/m4/yelp.m4 ++++ b/m4/yelp.m4 +@@ -27,12 +27,6 @@ AC_ARG_WITH([help-dir], + HELP_DIR="$with_help_dir" + AC_SUBST(HELP_DIR) + +-AC_ARG_VAR([ITSTOOL], [Path to the `itstool` command]) +-AC_CHECK_PROG([ITSTOOL], [itstool], [itstool]) +-if test x"$ITSTOOL" = x; then +- AC_MSG_ERROR([itstool not found]) +-fi +- + AC_ARG_VAR([XMLLINT], [Path to the `xmllint` command]) + AC_CHECK_PROG([XMLLINT], [xmllint], [xmllint]) + if test x"$XMLLINT" = x; then +-- +2.1.4 + -- cgit 1.2.3-korg