From patchwork Thu Mar 28 08:15:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 41584 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40497C54E64 for ; Thu, 28 Mar 2024 08:15:47 +0000 (UTC) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by mx.groups.io with SMTP id smtpd.web10.10596.1711613736782576825 for ; Thu, 28 Mar 2024 01:15:37 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.84, mailfrom: f_l_k@t-online.de) Received: from fwd79.aul.t-online.de (fwd79.aul.t-online.de [10.223.144.105]) by mailout09.t-online.de (Postfix) with SMTP id BA81B3A19B for ; Thu, 28 Mar 2024 09:15:34 +0100 (CET) Received: from intel-corei7-64.fritz.box ([84.163.41.230]) by fwd79.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1rpkv7-02xxib0; Thu, 28 Mar 2024 09:15:33 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-gnome][PATCHv3] gnome-user-share: add recipe Date: Thu, 28 Mar 2024 09:15:59 +0100 Message-ID: <20240328081559.2184-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1711613733-16FFA909-FEB5940C/0/0 CLEAN NORMAL X-TOI-MSGID: 5f18cc05-5f00-4f83-b860-b1b46678fbf3 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 28 Mar 2024 08:15:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/109655 - add it as runtime dependency to gnome-control-center because without it, the file sharing options are hidden. Signed-off-by: Markus Volk --- .../gnome-control-center_46.0.bb | 2 +- .../gnome-user-share/gnome-user-share_43.0.bb | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb index a691b8d3f..fe9f1efbc 100644 --- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb +++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.0.bb @@ -69,4 +69,4 @@ FILES:${PN} += " \ FILES:${PN}-dev += "${datadir}/gettext" -RDEPENDS:${PN} += "gsettings-desktop-schemas tecla system-config-printer cups-pk-helper" +RDEPENDS:${PN} += "gsettings-desktop-schemas tecla system-config-printer cups-pk-helper ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'gnome-user-share', '' , d)}" diff --git a/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb new file mode 100644 index 000000000..a457c474d --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-user-share/gnome-user-share_43.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "This is gnome-user-share 43.0, a system for easy sharing of user files." +LICENSE="GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + + +DEPENDS = " \ + glib-2.0-native \ + glib-2.0 \ + systemd \ +" + +inherit gnomebase gsettings features_check + +REQUIRED_DISTRO_FEATURES = "systemd" + +SRC_URI = "git://gitlab.gnome.org/GNOME/gnome-user-share.git;protocol=https;branch=master" +SRCREV = "a0e790aa9494db9d1b1f48b4fc0d2f78e112044d" +S = "${WORKDIR}/git" + +PACKAGECONFIG ??= "" +# default path is /usr/sbin/httpd +PACKAGECONFIG[httpd2] = "-Dhttps=httpd2,,,apache2" +PACKAGECONFIG[apache2] = "-Dhttps=apache2,,,apache2" + +FILES:${PN} += "${systemd_user_unitdir}"