From: Bartosz Golaszewski <brgl@bgdev.pl>
To: "Andreas Müller" <schnitzeltony@googlemail.com>,
openembedded-devel@lists.openembedded.org
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Subject: [meta-gnome][PATCH] zenity: new package
Date: Fri, 13 Sep 2019 09:29:53 +0200 [thread overview]
Message-ID: <20190913072953.9844-1-brgl@bgdev.pl> (raw)
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This adds a recipe for zenity - GNOME's utility for displaying dialog
boxes from the command line and shell scripts.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
.../0001-build-don-t-generate-manual.patch | 50 +++++++++++++++++++
.../recipes-gnome/zenity/zenity_3.32.0.bb | 24 +++++++++
2 files changed, 74 insertions(+)
create mode 100644 meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch
create mode 100644 meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb
diff --git a/meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch b/meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch
new file mode 100644
index 000000000..488548667
--- /dev/null
+++ b/meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch
@@ -0,0 +1,50 @@
+From 38eeb345fdfca0298b11427aa942b68e627ba10e Mon Sep 17 00:00:00 2001
+From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
+Date: Thu, 12 Sep 2019 13:14:55 +0200
+Subject: [PATCH] build: don't generate manual
+
+We don't have yelp in yocto and even if we did it would pull in
+webkitgtk just to generate help. Just remove the manual generation
+altogether.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
+---
+ Makefile.am | 3 +--
+ configure.ac | 5 -----
+ 2 files changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 81ae6a7..bd073dd 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,8 +4,7 @@ AM_CPPFLAGS = src
+ SUBDIRS = \
+ src \
+ po \
+- data \
+- help
++ data
+
+ EXTRA_DIST = \
+ autogen.sh \
+diff --git a/configure.ac b/configure.ac
+index 5dccdb0..f88b2c0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -115,11 +115,6 @@ GETTEXT_PACKAGE=zenity
+ AC_SUBST([GETTEXT_PACKAGE])
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain])
+
+-# *******************************
+-# User manual
+-# *******************************
+-YELP_HELP_INIT
+-
+ # *******************************
+
+ AC_SUBST([AM_CPPFLAGS])
+--
+2.21.0
+
diff --git a/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb b/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb
new file mode 100644
index 000000000..295288bfb
--- /dev/null
+++ b/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Display dialog boxes from the command line and shell scripts"
+SECTION = "x11/gnome"
+LICENSE = "GPLv2+"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
+
+inherit distro_features_check gnomebase gettext
+
+DEPENDS = "gtk+3"
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
+ file://0001-build-don-t-generate-manual.patch \
+"
+
+SRC_URI[archive.md5sum] = "ba2b2a13248773b4ec0fd323d95e6d5a"
+SRC_URI[archive.sha256sum] = "e786e733569c97372c3ef1776e71be7e7599ebe87e11e8ad67dcc2e63a82cd95"
+GNOME_COMPRESS_TYPE="xz"
+
+do_install_append() {
+ # Remove gdialog compatibility helper - we don't want to pull in perl
+ rm ${D}${bindir}/gdialog
+}
--
2.21.0
reply other threads:[~2019-09-13 7:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190913072953.9844-1-brgl@bgdev.pl \
--to=brgl@bgdev.pl \
--cc=bgolaszewski@baylibre.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=schnitzeltony@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox