diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2019-10-28 00:35:32 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-10-27 23:10:00 -0700 |
| commit | ccd415cdba0e112faf7ce50d540aa3d100e7955f (patch) | |
| tree | c0edd94f5602c87e5eec319bf1765c8d650010d5 | |
| parent | 5cd17f68fcc4f5bd7807172eda4cf24c5f3e8aae (diff) | |
| download | meta-openembedded-ccd415cdba0e112faf7ce50d540aa3d100e7955f.tar.gz | |
zenity: rework recipe
* "xz" is default for GNOME_COMPRESS_TYPE
* instead of patching away help-files, build them and let users decide if and
how to pack them by inheriting gnome-help.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch | 50 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb | 12 |
2 files changed, 5 insertions, 57 deletions
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 deleted file mode 100644 index 4885486673..0000000000 --- a/meta-gnome/recipes-gnome/zenity/zenity/0001-build-don-t-generate-manual.patch +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | From 38eeb345fdfca0298b11427aa942b68e627ba10e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bartosz Golaszewski <bgolaszewski@baylibre.com> | ||
| 3 | Date: Thu, 12 Sep 2019 13:14:55 +0200 | ||
| 4 | Subject: [PATCH] build: don't generate manual | ||
| 5 | |||
| 6 | We don't have yelp in yocto and even if we did it would pull in | ||
| 7 | webkitgtk just to generate help. Just remove the manual generation | ||
| 8 | altogether. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [configuration] | ||
| 11 | |||
| 12 | Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> | ||
| 13 | --- | ||
| 14 | Makefile.am | 3 +-- | ||
| 15 | configure.ac | 5 ----- | ||
| 16 | 2 files changed, 1 insertion(+), 7 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/Makefile.am b/Makefile.am | ||
| 19 | index 81ae6a7..bd073dd 100644 | ||
| 20 | --- a/Makefile.am | ||
| 21 | +++ b/Makefile.am | ||
| 22 | @@ -4,8 +4,7 @@ AM_CPPFLAGS = src | ||
| 23 | SUBDIRS = \ | ||
| 24 | src \ | ||
| 25 | po \ | ||
| 26 | - data \ | ||
| 27 | - help | ||
| 28 | + data | ||
| 29 | |||
| 30 | EXTRA_DIST = \ | ||
| 31 | autogen.sh \ | ||
| 32 | diff --git a/configure.ac b/configure.ac | ||
| 33 | index 5dccdb0..f88b2c0 100644 | ||
| 34 | --- a/configure.ac | ||
| 35 | +++ b/configure.ac | ||
| 36 | @@ -115,11 +115,6 @@ GETTEXT_PACKAGE=zenity | ||
| 37 | AC_SUBST([GETTEXT_PACKAGE]) | ||
| 38 | AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain]) | ||
| 39 | |||
| 40 | -# ******************************* | ||
| 41 | -# User manual | ||
| 42 | -# ******************************* | ||
| 43 | -YELP_HELP_INIT | ||
| 44 | - | ||
| 45 | # ******************************* | ||
| 46 | |||
| 47 | AC_SUBST([AM_CPPFLAGS]) | ||
| 48 | -- | ||
| 49 | 2.21.0 | ||
| 50 | |||
diff --git a/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb b/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb index 295288bfbc..0384a5c5c3 100644 --- a/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb +++ b/meta-gnome/recipes-gnome/zenity/zenity_3.32.0.bb | |||
| @@ -4,19 +4,17 @@ LICENSE = "GPLv2+" | |||
| 4 | 4 | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" |
| 6 | 6 | ||
| 7 | inherit distro_features_check gnomebase gettext | 7 | inherit gnomebase itstool gnome-help distro_features_check gettext |
| 8 | 8 | ||
| 9 | DEPENDS = "gtk+3" | 9 | DEPENDS = " \ |
| 10 | yelp-tools-native \ | ||
| 11 | gtk+3 \ | ||
| 12 | " | ||
| 10 | 13 | ||
| 11 | REQUIRED_DISTRO_FEATURES = "x11" | 14 | REQUIRED_DISTRO_FEATURES = "x11" |
| 12 | 15 | ||
| 13 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ | ||
| 14 | file://0001-build-don-t-generate-manual.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[archive.md5sum] = "ba2b2a13248773b4ec0fd323d95e6d5a" | 16 | SRC_URI[archive.md5sum] = "ba2b2a13248773b4ec0fd323d95e6d5a" |
| 18 | SRC_URI[archive.sha256sum] = "e786e733569c97372c3ef1776e71be7e7599ebe87e11e8ad67dcc2e63a82cd95" | 17 | SRC_URI[archive.sha256sum] = "e786e733569c97372c3ef1776e71be7e7599ebe87e11e8ad67dcc2e63a82cd95" |
| 19 | GNOME_COMPRESS_TYPE="xz" | ||
| 20 | 18 | ||
| 21 | do_install_append() { | 19 | do_install_append() { |
| 22 | # Remove gdialog compatibility helper - we don't want to pull in perl | 20 | # Remove gdialog compatibility helper - we don't want to pull in perl |
