From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53406) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6bgp-0008Cr-St for guix-patches@gnu.org; Tue, 25 Feb 2020 10:00:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6bgo-0003WM-Tl for guix-patches@gnu.org; Tue, 25 Feb 2020 10:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6bgo-0003W9-Qz for guix-patches@gnu.org; Tue, 25 Feb 2020 10:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6bgo-0003oY-No for guix-patches@gnu.org; Tue, 25 Feb 2020 10:00:02 -0500 Subject: [bug#39783] [PATCH] gnu: gsettings-desktop-schemas: patch monospace font. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53292) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6bgB-000878-Qg for guix-patches@gnu.org; Tue, 25 Feb 2020 09:59:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6bgA-0003Cq-Dq for guix-patches@gnu.org; Tue, 25 Feb 2020 09:59:23 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:57971) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j6bg9-0003BH-Ut for guix-patches@gnu.org; Tue, 25 Feb 2020 09:59:22 -0500 Received: from localhost.localdomain (194-118-3-109.hdsl.highway.telekom.at [194.118.3.109]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 48Rhsb6m59z1LLyf for ; Tue, 25 Feb 2020 15:59:15 +0100 (CET) From: Leo Prikler Date: Tue, 25 Feb 2020 15:59:10 +0100 Message-Id: <20200225145910.26066-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39783@debbugs.gnu.org * gnu/packages/gnome.scm (gsettings-desktop-schemas)[arguments]: Rename `set-adwaita-theme-file-name' to the more generic `patch-schemas'. Add patch for the monospace font (Source Code Pro 10 -> Monospace 11). Adjust comments. --- gnu/packages/gnome.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index af45ceb505..e066b4c93c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1575,15 +1575,17 @@ on the GNOME Desktop with a single simple applica= tion.") (build-system meson-build-system) (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'set-adwaita-theme-file-name + (add-after 'unpack 'patch-schemas (lambda* (#:key inputs #:allow-other-keys) - ;; Provide the correct file name of the default GN= OME - ;; background, 'adwaita-timed.xml'. (let ((theme (assoc-ref inputs "gnome-backgrounds"= ))) (substitute* (find-files "schemas" "\\.gschema\\.xml\\.in$= ") + ;; Provide the correct file name of the defaul= t GNOME + ;; background, 'adwaita-timed.xml'. (("@datadir@/backgrounds/gnome") - (string-append theme "/share/backgrounds/gnom= e"))) + (string-append theme "/share/backgrounds/gnom= e")) + ;; Do not reference fonts, that may not exist. + (("'Source Code Pro 10'") "'Monospace 11'")) #t)))))) (inputs `(("glib" ,glib) --=20 2.25.1