Add recipe of xfce4-datetime-setter
v3 cover Add recipe of xfce4-datetime-setter
From: Kai Kang <[email protected]>
v3:
* check distro feature systemd rather than rdepends on systemd
v2:
* make xfce4-datetime-setter rdepends on systemd
Kai Kang (2):
xfce4-datetime-setter: add recipe
xfce4-settings: rrecommends xfce4-datetime-setter
.../xfce4-datetime-setter_3.32.2.bb | 19 +++++++++++++++++++ .../xfce4-settings/xfce4-settings_4.13.7.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
Signature · 1 line
2.20.0
PATCH v3 1/2 xfce4-datetime-setter: add recipe
From: Kai Kang <[email protected]>
Because xfce4-settings turn back to its official upstream, it missing function to set date and time. Add it from Andreas's repo on github. xfce4-datetime-setter calls functions from dbus service org.freedesktop.timedate1 to set date and time. And the dbus service is provided by systemd. So check distro feature 'systemd' that xfce4-datetime-setter is imcompatible with sysvinit.
--- .../xfce4-datetime-setter_3.32.2.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb new file +19 -0
@@ -0,0 +1,19 @@ +DESCRIPTION = "A fork of (early) gnome-control-center datetime panel for XFCE. \ +It is based upon GTK3 and embedds into recent xfce4-settings." +HOMEPAGE = "https://github.com/schnitzeltony/xfce4-datetime-setter" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" + +DEPENDS = "glib-2.0-native libxfce4ui" + +SRC_URI = "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https" +SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f" + +S = "${WORKDIR}/git" + +inherit gettext meson distro_features_check +REQUIRED_DISTRO_FEATURES = "systemd" + +FILES_${PN} += "${datadir}/icons/hicolor" + +RDEPENDS_${PN} = "tzdata"
Signature · 1 line
2.20.0
PATCH v3 2/2 xfce4-settings: rrecommends xfce4-datetime-setter
In reply to [email protected]From: Kai Kang <[email protected]>
xfce4-datetime-setter provides function to set date and time. But it depends on dbus service org.freedesktop.timedate1 which is provided by systemd. Make xfce4-settings rrecommends xfce4-datetime-setter only systemd is set in DISTRO_FEATURES.
--- meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.13.7.bb | 1 + 1 file changed, 1 insertion(+)
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.13.7.bb +1 -0
@@ -30,3 +30,4 @@ FILES_${PN} += " \ RRECOMMENDS_${PN} += "adwaita-icon-theme" RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" +RRECOMMENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','xfce4-datetime-setter','',d)}"
Signature · 1 line
2.20.0