From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 20 18:35:29 2021 Received: (at submit) by debbugs.gnu.org; 20 Jul 2021 22:35:30 +0000 Received: from localhost ([127.0.0.1]:35631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5yKn-00053P-Jw for submit@debbugs.gnu.org; Tue, 20 Jul 2021 18:35:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:54832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5yKl-00053H-Sk for submit@debbugs.gnu.org; Tue, 20 Jul 2021 18:35:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5yKk-0000io-AY for guix-patches@gnu.org; Tue, 20 Jul 2021 18:35:27 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:10362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5yKe-0004Ng-W2 for guix-patches@gnu.org; Tue, 20 Jul 2021 18:35:25 -0400 Received: from localhost.localdomain (80-121-26-175.adsl.highway.telekom.at [80.121.26.175]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GTtnr5N0zz3wGM for ; Wed, 21 Jul 2021 00:35:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1626820512; bh=gcUnvo43D/2w9w52Sb8Jh7JIbwA78HhEUIsznKeqGRA=; h=From:To:Subject:Date; b=R0gIB/313+EijKxqtAw0tt5TwpKRa4juGXDaHs0PVtfx1lALNPd9wMdB97AuLwQ7w QaR+/SueGHC2mOwnFEzrRVjH3Wpyo6ITYpvlSjViCSEyLWQmEEviDxHEIm2baqD7PH YZlkMF2tVxfn1+HRE16oKA7MsTpTN173Xzckp1DI= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH] gnu: gnome-maps: Unregister from DBus when asked to. Date: Wed, 21 Jul 2021 00:34:53 +0200 Message-Id: <20210720223452.9471-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/patches/gnome-maps-really-do-unregister.patch: New file. * gnu/packages/geo.scm (gnome-maps)[patches]: Add it here... * gnu/local.mk (dist_patch_DATA): ... and here. --- I've opened a separate merge request upsteam [1], but since their CI is currently failing, it will take some time for this patch to make it into a release. [1] https://gitlab.gnome.org/GNOME/gnome-maps/-/merge_requests/187 gnu/local.mk | 1 + gnu/packages/geo.scm | 5 ++++- .../patches/gnome-maps-really-do-unregister.patch | 13 +++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/gnome-maps-really-do-unregister.patch diff --git a/gnu/local.mk b/gnu/local.mk index 9a3d8f6eca..0743daf0f7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1155,6 +1155,7 @@ dist_patch_DATA = \ %D%/packages/patches/gmp-arm-asm-nothumb.patch \ %D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \ + %D%/packages/patches/gnome-maps-really-do-unregister.patch \ %D%/packages/patches/gnome-shell-theme.patch \ %D%/packages/patches/gnome-shell-disable-test.patch \ %D%/packages/patches/gnome-shell-CVE-2020-17489.patch \ diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 37be78edbf..9bf6749dca 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -218,7 +218,10 @@ topology functions.") name "-" version ".tar.xz")) (sha256 (base32 - "09rgw8hq3ligap1zzjhx25q354ficpbiw1z9ramghhcqbpylsxdh")))) + "09rgw8hq3ligap1zzjhx25q354ficpbiw1z9ramghhcqbpylsxdh")) + (patches + (search-patches + "gnome-maps-really-do-unregister.patch")))) (build-system meson-build-system) (arguments `(#:glib-or-gtk? #t diff --git a/gnu/packages/patches/gnome-maps-really-do-unregister.patch b/gnu/packages/patches/gnome-maps-really-do-unregister.patch new file mode 100644 index 0000000000..3b201f363d --- /dev/null +++ b/gnu/packages/patches/gnome-maps-really-do-unregister.patch @@ -0,0 +1,13 @@ +Index: gnome-maps-3.36.7/src/application.js +=================================================================== +--- gnome-maps-3.36.7.orig/src/application.js ++++ gnome-maps-3.36.7/src/application.js +@@ -277,7 +277,7 @@ var Application = GObject.registerClass( + } + + vfunc_dbus_unregister(connection, path) { +- super.vfunc_dbus_register(connection, path); ++ super.vfunc_dbus_unregister(connection, path); + } + + vfunc_activate() { -- 2.32.0