From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35640: Make USB modems just work on Guix Date: Thu, 16 May 2019 13:30:17 +0200 Message-ID: <87sgtehc1i.fsf@gnu.org> References: <20190508182607.wcjfxkoqwcvzrdmt@pelzflorian.localdomain> <87v9yjd51k.fsf@gnu.org> <20190516075018.htx3hi4vd5zswjpw@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hREbJ-0003xK-Ay for bug-guix@gnu.org; Thu, 16 May 2019 07:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hREbH-0005xU-C9 for bug-guix@gnu.org; Thu, 16 May 2019 07:31:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hREbG-0005wf-91 for bug-guix@gnu.org; Thu, 16 May 2019 07:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hREbG-0004jJ-4U for bug-guix@gnu.org; Thu, 16 May 2019 07:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190516075018.htx3hi4vd5zswjpw@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Thu, 16 May 2019 09:50:18 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "pelzflorian (Florian Pelz)" Cc: 35640@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "pelzflorian (Florian Pelz)" skribis: > From 627e41c4741acd5b91771131a1646bb89b8c270b Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Wed, 15 May 2019 23:41:44 +0200 > Subject: [PATCH] gnu: network-manager-applet: Patch libnma for modem supp= ort. > > * gnu/packages/gnome.scm (network-manager-applet): Patch libnma to load > iso-codes and mobile-broadband-provider-info from the store and not requi= re > them in the profile. Great. Applied with the changes below; the spacing change is to please Emacs (C-M-a & co. get confused by opening parentheses at the beginning of a line.) Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index fc024ebf72..9070673cf6 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5512,14 +5512,15 @@ to virtual private networks (VPNs) via OpenVPN.") "mobile-broadband-provider-info")) (iso-codes (assoc-ref inputs "iso-codes"))) (substitute* "src/libnma/nma-mobile-providers.c" - (("(g_build_filename \\()dirs\\[i\\].*, \ -(MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end) + (("(g_build_filename \\()dirs\\[i\\].*,\ + (MOBILE_BROADBAND_PROVIDER_INFO.*)" all start end) (string-append start "\"" mbpi "/share\", " end))) (substitute* "src/libnma/nma-mobile-providers.c" - (("(g_build_filename \\()dirs\\[i\\].*, \ -(ISO_3166_COUNTRY_CODES.*)" all start end) + (("(g_build_filename \\()dirs\\[i\\].*,\ + (ISO_3166_COUNTRY_CODES.*)" all start end) (string-append start "\"" iso-codes - "/share\", " end))))))))) + "/share\", " end))) + #t)))))) (native-inputs `(("intltool" ,intltool) ("gobject-introspection" ,gobject-introspection) --=-=-=--