diff options
Diffstat (limited to 'poky/meta/recipes-extended/xdg-utils')
3 files changed, 96 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Don-t-build-the-in-script-manual.patch b/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Don-t-build-the-in-script-manual.patch new file mode 100644 index 000000000..14160bf8d --- /dev/null +++ b/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Don-t-build-the-in-script-manual.patch @@ -0,0 +1,30 @@ +From 33f42aa8d190b40be18cd0541b5881d46978b572 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <jussi.kukkonen@intel.com> +Date: Thu, 17 Dec 2015 11:50:05 +0200 +Subject: [PATCH] Don't build the in-script manual + +Building the contents for "--manual" option requires a web browser +or java (these are the two options for "xmlto txt" support). +That's bonkers so don't do it: the man pages are still available +and contain the same info. + +Upstream-Status: Inappropriate [disables in-script docs] +Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> +--- + scripts/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/Makefile.in b/scripts/Makefile.in +index 430032d..85359bc 100644 +--- a/scripts/Makefile.in ++++ b/scripts/Makefile.in +@@ -112,5 +112,5 @@ html/%.html: desc/%.xml + (cd html;$(XMLTO) html-nochunks ../$<) + + %.txt: desc/%.xml +- $(XMLTO) txt $< ++ echo "Please see the man pages." > $@ + +-- +2.1.4 + diff --git a/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Reinstate-xdg-terminal.patch b/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Reinstate-xdg-terminal.patch new file mode 100644 index 000000000..e9defadea --- /dev/null +++ b/poky/meta/recipes-extended/xdg-utils/xdg-utils/0001-Reinstate-xdg-terminal.patch @@ -0,0 +1,29 @@ +From 37e227ae1766568d8de55e268bb69bc15eee3529 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <jussi.kukkonen@intel.com> +Date: Thu, 26 Nov 2015 16:01:47 +0200 +Subject: [PATCH] Enable xdg-terminal + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> +--- + scripts/Makefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/scripts/Makefile.in b/scripts/Makefile.in +index d167393..430032d 100644 +--- a/scripts/Makefile.in ++++ b/scripts/Makefile.in +@@ -20,7 +20,8 @@ SCRIPTS = \ + xdg-open \ + xdg-email \ + xdg-screensaver \ +- xdg-settings ++ xdg-settings \ ++ xdg-terminal + # xdg-su + # xdg-copy \ + # xdg-file-dialog +-- +2.1.4 + diff --git a/poky/meta/recipes-extended/xdg-utils/xdg-utils_1.1.2.bb b/poky/meta/recipes-extended/xdg-utils/xdg-utils_1.1.2.bb new file mode 100644 index 000000000..7339289de --- /dev/null +++ b/poky/meta/recipes-extended/xdg-utils/xdg-utils_1.1.2.bb @@ -0,0 +1,37 @@ +SUMMARY = "Basic desktop integration functions" +HOMEPAGE = "https://www.freedesktop.org/wiki/Software/xdg-utils/" +DESCRIPTION = "The xdg-utils package is a set of simple scripts that provide basic \ +desktop integration functions for any Free Desktop, such as Linux. \ +They are intended to provide a set of defacto standards. \ +The following scripts are provided at this time: \ +xdg-desktop-icon \ +xdg-desktop-menu \ +xdg-email \ +xdg-icon-resource \ +xdg-mime \ +xdg-open \ +xdg-screensaver \ +xdg-terminal \ +" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a5367a90934098d6b05af3b746405014" + +SRC_URI = "http://portland.freedesktop.org/download/${BPN}-${PV}.tar.gz \ + file://0001-Reinstate-xdg-terminal.patch \ + file://0001-Don-t-build-the-in-script-manual.patch \ + " + +SRC_URI[md5sum] = "361e75eb76c94d19f6f4f330d8ee626b" +SRC_URI[sha256sum] = "951952e2c6bb21214e0bb54e0dffa057d30f5563300225c24c16fba846258bcc" + +UPSTREAM_CHECK_REGEX = "xdg-utils-(?P<pver>((\d+[\.\-_]*)+)((rc|alpha|beta)\d+)?)\.(tar\.gz|tgz)" + +# Needs brokensep as this doesn't use automake +inherit autotools-brokensep distro_features_check + +# The xprop requires x11 in DISTRO_FEATURES +REQUIRED_DISTRO_FEATURES = "x11" + +DEPENDS = "xmlto-native libxslt-native" +RDEPENDS_${PN} += "xprop" |