From a4ea9eeceb612e9cc6097be8c183f513840a0a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 3 Sep 2019 08:46:01 +0200 Subject: [PATCH] imsettings: upgrade 1.7.3 -> 1.8.1 and rework recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is more or less a recipe rewrite: * stylize recipe * Use gtk3 instead of gtk. * Drop gconf backend - we should get rid of orphanded gconf * Add PACKAGECONFIGs for 'xim' and 'xfce' - xfce is set by default * Drop intltool-native from depends - they moved to gettext * Remove entries from FILES - gobject-introspection.bbclass takes care * Remove dbus-glib from depends - they moved to gdbus long time ago (Thanks Kai) Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- ...msettings_1.7.3.bb => imsettings_1.8.1.bb} | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) rename meta-xfce/recipes-extended/imsettings/{imsettings_1.7.3.bb => imsettings_1.8.1.bb} (64%) diff --git a/meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb similarity index 64% rename from meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb rename to meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb index 8f622bf6f8..5c94cb6bca 100644 --- a/meta-xfce/recipes-extended/imsettings/imsettings_1.7.3.bb +++ b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.1.bb @@ -7,25 +7,27 @@ This package contains the core DBus services and some utilities." HOMEPAGE = "http://code.google.com/p/imsettings/" SECTION = "Applications/System" -inherit autotools gtk-doc gobject-introspection distro_features_check +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" + +inherit autotools gtk-doc gobject-introspection gettext distro_features_check + +DEPENDS = "gtk+3 libnotify" REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \ - " - -SRC_URI[md5sum] = "c6c65a2b2654fe9dfe9ab2e8b80c079a" -SRC_URI[sha256sum] = "196d3a74cef254ff812c32682d1818d740e36a68b976fef9e99748d23a71a71a" - -LICENSE = "LGPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" +SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2" +SRC_URI[md5sum] = "c04341a008d8c60e1532f033f4020f44" +SRC_URI[sha256sum] = "ebf578299a10c6a1fea9047be6577df6d2b6470d3cc9d40f8a6589a3c13c4c8b" EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \ --disable-static \ " -DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim xfconf intltool-native" +PACKAGECONFIG ??= "xfce" +PACKAGECONFIG[xfce] = ",,xfconf" +PACKAGECONFIG[xim] = ",,libgxim" RDEPENDS_${PN} += "bash" -FILES_${PN} += "${datadir}/dbus-1/* ${datadir}/gir-1.0/* ${libdir}/girepository-1.0/*" +FILES_${PN} += "${datadir}/dbus-1/*"