[oe] [mexta-xfce][PATCH 1/3] imsettings: upgrade 1.7.3 -> 1.8.1 and rework recipe

Kang Kai Kai.Kang at windriver.com
Mon Sep 2 02:15:45 UTC 2019


On 2019/8/30 下午6:14, Andreas Müller wrote:
> It is more or less a recipe rewrite:
>
> * stylize recipe
> * Use gtk3 instead of gtk
> * Drop gconf backend - we should get rid of orphaned 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
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
> ---
>   ...msettings_1.7.3.bb => imsettings_1.8.1.bb} | 22 ++++++++++---------
>   1 file changed, 12 insertions(+), 10 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 8f622bf6f..36cd7ad72 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"
>   
> -REQUIRED_DISTRO_FEATURES = "x11"
> +inherit autotools gtk-doc gobject-introspection gettext distro_features_check
>   
> -SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
> -           "
> +DEPENDS = "gtk+3 libnotify dbus-glib"

It seems it transited to gdbus a long time ago but we didn't update 
accordingly in imsettings recipe.

https://bitbucket.org/tagoh/imsettings/commits/ef1c6a125455fea998bcc1a26fc546f9e14a16cd

commit ef1c6a125455fea998bcc1a26fc546f9e14a16cd
Author: Akira TAGOH <akira at tagoh.org>
Date:   Wed Dec 22 19:59:40 2010 +0900

     GDBus transition and revising a lot of code.


Regards,
Kai



>   
> -SRC_URI[md5sum] = "c6c65a2b2654fe9dfe9ab2e8b80c079a"
> -SRC_URI[sha256sum] = "196d3a74cef254ff812c32682d1818d740e36a68b976fef9e99748d23a71a71a"
> +REQUIRED_DISTRO_FEATURES = "x11"
>   
> -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/*"


-- 
Kai Kang



More information about the Openembedded-devel mailing list