From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cH98IGLZQ2VYngAA9RJhRA:P1 (envelope-from ) for ; Thu, 02 Nov 2023 18:16:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cH98IGLZQ2VYngAA9RJhRA (envelope-from ) for ; Thu, 02 Nov 2023 18:16:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 783C324687 for ; Thu, 2 Nov 2023 18:16:11 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="S TKzq8y"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698945371; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Jhae7h/GMS6cqNhs4kkm7AdEInn8vrnwKcnCVIok3To=; b=auZqz2JxEZ2DIQQxF7iqq19K/AMf3KiJCmvKfjNZenHIwEYZT//qntwvwR3akx5Lhyf9PW qqH5O7VRqjSswOBQ8bbMsEjLHh5IvQZuXY6HstM3MuMsPAFfD9Oo5kRomw6oUwL7B4haf8 Dq8dO4SWfwRYhmpEA4tIi2vZHcsEhhVU5D8fRGWAptuvDVyJNM4WjwXK2MSuxQB0avwJc7 Gbi22VdY+YIX+iMbbczTo2h3sK/mFs14Uvyqymdbf/T23axHPEx1JAa2FXCxMSpYr7Ex// qSyfdtB32KE0Iorh6n4EmKxlCA1y9ggq4DaBSbm6yHyskTFOFCBQGCJipRf/kA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="S TKzq8y"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698945371; a=rsa-sha256; cv=none; b=P4+Vjne7/wOdDJuem64WQy77nC/xFmjf5iNBd4mqUIawVK1KSs/6AK4WjjWIBlPT1OM0B2 QW4Nstr7y7uJPhC/ZbWreBrZsV78SuHGWM0JOv5BOz9ve1pG/QIPzWBSQqffzFd8QXcsv5 hvrEFp8WfF3yt2vm/dodLzs/zpj+Hl9koNwKtbp8eYmVKPPP31hmD9NtmkTnOcJBbQcglw zSDLlcI+7QBgKV4aFll05i1US3xxWa/8WxFwqzmx54F7rjkdA9qHEWPKPIPloZxn6lc9r9 zXK0mmQSoKokV9lttpfFN7/ff5QR9UqE+OFab8+8AOCJw1+Wx5C96i2iNm3gnA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qybIG-0001B0-5d; Thu, 02 Nov 2023 13:15:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qybI0-0000xB-Dm for guix-patches@gnu.org; Thu, 02 Nov 2023 13:15:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qybHz-0008WM-U4 for guix-patches@gnu.org; Thu, 02 Nov 2023 13:15:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qybIX-0001UZ-TT for guix-patches@gnu.org; Thu, 02 Nov 2023 13:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66823] [PATCH gnome-team v5 2/6] [WIP] gnu: feedbackd: Update to 0.2.1. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Nov 2023 17:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66823 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66823@debbugs.gnu.org, Liliana Marie Prikler , Maxim Cournoyer Cc: rg@raghavgururajan.name Received: via spool by 66823-submit@debbugs.gnu.org id=B66823.16989453105595 (code B ref 66823); Thu, 02 Nov 2023 17:16:01 +0000 Received: (at 66823) by debbugs.gnu.org; 2 Nov 2023 17:15:10 +0000 Received: from localhost ([127.0.0.1]:55936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qybHi-0001SA-1t for submit@debbugs.gnu.org; Thu, 02 Nov 2023 13:15:10 -0400 Received: from planete-kraus.eu ([89.234.140.182]:59872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qybHf-0001Ry-53 for 66823@debbugs.gnu.org; Thu, 02 Nov 2023 13:15:08 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 42be4d0c; Thu, 2 Nov 2023 17:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:to:cc :mime-version; s=albinoniA; bh=+mZOtlG2I18aizXbJgPWdQVFX4g=; b=S TKzq8yBjgBA8mcFjWDeVXoXM9fL7kNAvR3Ob6AyCxxz6wtmdfUUa4g+Hnu8hOTtM CsTg8QwLCMw1fePlRPiZlVVFjx/f2tPzXK0+OkobKj31bXOuny0xrlHSFq/GR9Tt jVTuI0cRERTE2rMSzt/BOQhRTOM+nd6yXd6F7Wx+L5DY+bKa3MtlQtZDv/0fEQRn qbT1JjcXQNx2XspkFVkJA4uD5Az5N3vXABavdkjPZ7RHN3oKRwvArzNUFdm8m+Oy C17B/rbw/GdBid4VWJiC6pSL8oBVdNtfcjfeGGAo1mKkgqyScuL4heILOTf1x37z zgFV3siBaOgtxDMeNk5Eg== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 8aad167d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 2 Nov 2023 17:14:28 +0000 (UTC) Message-ID: <42ba9cc64b721fd4cab8e86043644c8b27078094.1698944849.git.vivien@planete-kraus.eu> In-Reply-To: References: Date: Tue, 31 Oct 2023 20:34:35 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.46.4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.11 X-Spam-Score: -4.11 X-Migadu-Queue-Id: 783C324687 X-Migadu-Scanner: mx10.migadu.com X-TUID: 2p3UR/2OR3u3 * gnu/packages/gnome.scm (feedbackd): Update to 0.2.1. (inputs): Add gmobile. * gnu/packages/patches/feedbackd-use-system-gmobile.patch: New file. * gnu/packages/gnome.scm (feedbackd) [patches]: Use it here. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/gnome.scm (feedbackd) [snippet]: Remove the gmobile submodule. Change-Id: I06521c1673efb6aea1d163410fdf3d0206b57d8a --- gnu/local.mk | 1 + gnu/packages/gnome.scm | 12 ++++-- .../feedbackd-use-system-gmobile.patch | 42 +++++++++++++++++++ 3 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/feedbackd-use-system-gmobile.patch diff --git a/gnu/local.mk b/gnu/local.mk index 92b56289f2..fc3e36fc18 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1155,6 +1155,7 @@ dist_patch_DATA = \ %D%/packages/patches/fasthenry-spFactor.patch \ %D%/packages/patches/fbreader-curl-7.62.patch \ %D%/packages/patches/fbreader-fix-icon.patch \ + %D%/packages/patches/feedbackd-use-system-gmobile.patch \ %D%/packages/patches/fenics-dolfin-algorithm.patch \ %D%/packages/patches/fenics-dolfin-demo-init.patch \ %D%/packages/patches/fenics-dolfin-boost.patch \ diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0933bf7d34..8159d0d792 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12945,7 +12945,7 @@ (define-public gmobile (define-public feedbackd (package (name "feedbackd") - (version "0.0.0+git20200527") + (version "0.2.1") (source (origin (method git-fetch) (uri (git-reference @@ -12954,12 +12954,18 @@ (define-public feedbackd (file-name (git-file-name name version)) (sha256 (base32 - "1wbkzxnqjydfgjvp7vz4ghczcz740zcb1yn90cb6gb5md4n6qx2y")))) + "1acwpb8cgzyvzriphrb42k3d7njwcn88j66i5wz75yx2sbfaf93q")) + (patches + (search-patches "feedbackd-use-system-gmobile.patch")) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "subprojects"))))) (build-system meson-build-system) (native-inputs (list `(,glib "bin") gobject-introspection pkg-config vala)) (inputs - (list dbus gsound json-glib libgudev)) + (list dbus gmobile gsound json-glib libgudev)) (propagated-inputs (list glib)) ; in Requires of libfeedback-0.0.pc (synopsis "Haptic/visual/audio feedback via DBus") diff --git a/gnu/packages/patches/feedbackd-use-system-gmobile.patch b/gnu/packages/patches/feedbackd-use-system-gmobile.patch new file mode 100644 index 0000000000..f0a0449472 --- /dev/null +++ b/gnu/packages/patches/feedbackd-use-system-gmobile.patch @@ -0,0 +1,42 @@ +From af9e72124b12ca481fd3592f9c8ea2649f7e4c80 Mon Sep 17 00:00:00 2001 +Message-ID: +From: Vivien Kraus +Date: Sun, 29 Oct 2023 19:12:27 +0100 +Subject: [PATCH] Look for a system-installed gmobile first. + +Meson lets projects use a dependency with fallback to a submodule, in +case the dependency is not installed. + +* meson.build (gmobile_subp): Convert to a dependency with subproject +fallback. +--- +I am waiting for Purism to approve my account before I can report this. + + meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 8725e76..e5504be 100644 +--- a/meson.build ++++ b/meson.build +@@ -14,13 +14,13 @@ gio_unix = dependency('gio-unix-2.0', version: '>=2.50.0') + glib = dependency('glib-2.0', version: '>=2.50.0') + if get_option('daemon') + gobject = dependency('gobject-2.0', version: '>=2.50.0') +- gmobile_subp = subproject('gmobile', ++ gmobile = dependency('gmobile', ++ fallback: ['gmobile', 'gmobile_dep'], + default_options: [ + 'examples=false', + 'gtk_doc=false', + 'tests=false', + ]) +- gmobile = gmobile_subp.get_variable('gmobile_dep') + gsound = dependency('gsound') + gudev = dependency('gudev-1.0', version: '>=232') + json_glib = dependency('json-glib-1.0') + +base-commit: 853bd6d7ea8455efea063ba7c4f29ce8c203285f +-- +2.41.0 + -- 2.41.0