From patchwork Tue Dec 24 16:12:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 19437 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 78AED17984; Tue, 24 Dec 2019 16:13:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 241EC17982 for ; Tue, 24 Dec 2019 16:13:11 +0000 (GMT) Received: from localhost ([::1]:40250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijmo2-0003X1-Kz for patchwork@mira.cbaines.net; Tue, 24 Dec 2019 11:13:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38070) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijmnw-0003Wu-Re for guix-patches@gnu.org; Tue, 24 Dec 2019 11:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ijmnv-0003OE-Dz for guix-patches@gnu.org; Tue, 24 Dec 2019 11:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ijmnv-0003O6-8r for guix-patches@gnu.org; Tue, 24 Dec 2019 11:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ijmnu-0000Pz-4x for guix-patches@gnu.org; Tue, 24 Dec 2019 11:13:02 -0500 Subject: bug#38352: gnome-font-viewer V3 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 24 Dec 2019 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 38352 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Raghav Gururajan Cc: 38352-done@debbugs.gnu.org Mail-Followup-To: 38352@debbugs.gnu.org, efraim@flashner.co.il, raghavgururajan@disroot.org Received: via spool by 38352-done@debbugs.gnu.org id=D38352.15772039611572 (code D ref 38352); Tue, 24 Dec 2019 16:13:01 +0000 Received: (at 38352-done) by debbugs.gnu.org; 24 Dec 2019 16:12:41 +0000 Received: from localhost ([127.0.0.1]:52992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijmnZ-0000PI-A7 for submit@debbugs.gnu.org; Tue, 24 Dec 2019 11:12:41 -0500 Received: from flashner.co.il ([178.62.234.194]:53978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijmnY-0000P6-7k for 38352-done@debbugs.gnu.org; Tue, 24 Dec 2019 11:12:40 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 397BF4006B; Tue, 24 Dec 2019 16:12:34 +0000 (UTC) Date: Tue, 24 Dec 2019 18:12:03 +0200 From: Efraim Flashner Message-ID: <20191224161203.GC23018@E5400> References: <362bd4c86c5ba1c1ec65f39db12d0c4a24c0789b.camel@disroot.org> <89a2de2c1ae7cf22f026398d28f9f4b4a9bfdd82.camel@disroot.org> <6014df9e732e5e61899be1a8177d1f4886682de1.camel@disroot.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6014df9e732e5e61899be1a8177d1f4886682de1.camel@disroot.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches I've attached a diff of the changes I made before pushing the patch On Tue, Dec 24, 2019 at 08:15:40AM -0500, Raghav Gururajan wrote: > From e1b2a243c1d96f1759cb4895448a78d9701ac4ff Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Tue, 24 Dec 2019 08:04:16 -0500 > Subject: [PATCH] gnu: Add gnome-font-viewer. > > * gnu/packages/gnome.scm (gnome-font-viewer). New Variable. > --- > gnu/packages/gnome.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 95da97e95d..36da447bf7 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -711,6 +711,32 @@ and keep up to date translations of documentation.") > (description "Disk management utility for GNOME.") > (license license:gpl2+))) > > +(define-public gnome-font-viewer > + (package > + (name "gnome-font-viewer") > + (version "3.30.0") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://gnome/sources/gnome-font-viewer/" > + (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz")) > + (sha256 > + (base32 > + "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5")))) > + (build-system meson-build-system) > + (native-inputs > + `(("gettext" ,gettext-minimal) > + ("glib:bin" ,glib "bin") > + ("pkg-config" ,pkg-config))) > + (inputs > + `(("desktop-file-utils" ,desktop-file-utils) > + ("glib" ,glib) > + ("gnome-desktop" ,gnome-desktop) > + ("gtk+" ,gtk+))) > + (synopsis "GNOME Fonts") > + (description "Application to show you the fonts installed on your computer for your use as thumbnails. Selecting any thumbnails shows the full view of how the font would look under various sizes.") > + (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer") > + (license license:gpl2+))) > + > (define-public gcr > (package > (name "gcr") > -- > 2.24.1 > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 36da447bf7..187eb9584c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -716,25 +716,35 @@ and keep up to date translations of documentation.") (name "gnome-font-viewer") (version "3.30.0") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnome/sources/gnome-font-viewer/" - (version-major+minor version) "/gnome-font-viewer-" version ".tar.xz")) - (sha256 - (base32 - "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5")))) + (method url-fetch) + (uri (string-append "mirror://gnome/sources/gnome-font-viewer/" + (version-major+minor version) + "/gnome-font-viewer-" version ".tar.xz")) + (sha256 + (base32 + "1wwnx2zrlbd2d6np7m9s78alx6j6ranrnh1g2z6zrv9qcj8rpzz5")))) (build-system meson-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-post-install-script + (lambda _ + (substitute* "meson-postinstall.sh" + (("update-desktop-database") (which "true"))) + #t))))) (native-inputs `(("gettext" ,gettext-minimal) ("glib:bin" ,glib "bin") ("pkg-config" ,pkg-config))) (inputs - `(("desktop-file-utils" ,desktop-file-utils) - ("glib" ,glib) + `(("glib" ,glib) ("gnome-desktop" ,gnome-desktop) ("gtk+" ,gtk+))) - (synopsis "GNOME Fonts") - (description "Application to show you the fonts installed on your computer for your use as thumbnails. Selecting any thumbnails shows the full view of how the font would look under various sizes.") (home-page "https://gitlab.gnome.org/GNOME/gnome-font-viewer") + (synopsis "GNOME Fonts") + (description "Application to show you the fonts installed on your computer +for your use as thumbnails. Selecting any thumbnails shows the full view of how +the font would look under various sizes.") (license license:gpl2+))) (define-public gcr