From patchwork Fri Aug 16 01:47:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Boris A. Dekshteyn" X-Patchwork-Id: 15712 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 CAA87174A6; Sun, 13 Oct 2019 09:42:14 +0100 (BST) 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,FREEMAIL_FROM, T_DKIM_INVALID,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 768F31741B for ; Sun, 13 Oct 2019 09:42:14 +0100 (BST) Received: from localhost ([::1]:38322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJZS9-0000iD-Sn for patchwork@mira.cbaines.net; Sun, 13 Oct 2019 04:42:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52159) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJZS3-0000i3-Sk for guix-patches@gnu.org; Sun, 13 Oct 2019 04:42:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJZRy-0002pK-Kw for guix-patches@gnu.org; Sun, 13 Oct 2019 04:42:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJZRy-0002pC-Hi for guix-patches@gnu.org; Sun, 13 Oct 2019 04:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJZRy-0004Zk-Az for guix-patches@gnu.org; Sun, 13 Oct 2019 04:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37731] [PATCH] gnu: Add FontManager. Resent-From: "Boris A. Dekshteyn" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Oct 2019 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37731@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157095606517523 (code B ref -1); Sun, 13 Oct 2019 08:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2019 08:41:05 +0000 Received: from localhost ([127.0.0.1]:34896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJZR3-0004YZ-Cx for submit@debbugs.gnu.org; Sun, 13 Oct 2019 04:41:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:59571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJZR0-0004YO-Ni for submit@debbugs.gnu.org; Sun, 13 Oct 2019 04:41:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52060) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJZQz-0000Pb-Bq for guix-patches@gnu.org; Sun, 13 Oct 2019 04:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJZQx-0001ge-VR for guix-patches@gnu.org; Sun, 13 Oct 2019 04:41:01 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:38449) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJZQx-0001fE-Nv for guix-patches@gnu.org; Sun, 13 Oct 2019 04:40:59 -0400 Received: by mail-lj1-x22e.google.com with SMTP id b20so13695729ljj.5 for ; Sun, 13 Oct 2019 01:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=eWwAbzGPWaL65rPm/x0TpUdI1jlfWEgViRX0hp1Xm/U=; b=EGH1BRnrALRYUk0+pWAz+mSDBdkqVZ+5DDPV/ZWqOqfx+Ptk4FXFVbT0GgEXuXJOg0 uDelwORlT6tEju/x636gPQ0sm+U3VNj2b/VUeAHxfnO+Ymu/+Bp7NFp3LEt6dVIcqd/4 lVPF+IhdEAVS+ZSZHO4bZhmW6tSaJUZ5cRjyLcKjRKhOyCubp4rte/E2JVIe3nOWpNRr 9aj/rx0WbR2YopOpVaGFYaRc1/F7j57hH98/bAoW5vsaF0b6QyROjEt4DWxztrzB8w8h mr/eQwBiVvQ/fUrothC7mqooxF9d7XFUWbzdLs2xelH7ruMdsN3N7jomAsBmXA5Jb8X3 Ss5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=eWwAbzGPWaL65rPm/x0TpUdI1jlfWEgViRX0hp1Xm/U=; b=Wh5iOCav+OVKOoioosz/aLGGbE+rZFAiWgjJAZ6Uf8QeNBmH1IluwTFODspbSwOuZZ gGBpPutwZbmE9NiWvcclCJS+yQicOaaIi71QYU/LZcQtIsc0UMnZrIJMZozBLq2njt2r VcLtGNTclaN/KrHBHACQQrqGbShZPRaubwPRvqYs08vU/or1ukea6Vb9nfed5RMfcHjR zPBCtqXVWHvpQBbVJNMeOaGMFL16ulm1qVZXnFchrm91vSu5WU35meiBaRBIf7IkPR+P ymVs8UGMFfDpNrMcykbsk8usTKhnOHQMHCe/BpozUK5LKHMcO1nlE+CLOxgRtOH2cQ5U Bhgw== X-Gm-Message-State: APjAAAV27LMlk3Yu2K/eQxjWmCwCsJ2i7ypZ9wPiTWv5ekVdKZ5yIHP/ t4TCw/6Y1JQrXzXzSRB8n2Eqkdg43dA= X-Google-Smtp-Source: APXvYqzsoOnebUe/W7g727RSqLy44/N9I0GaUVD52LSS6VMlTJyedToe/FM2VfIwmqyAOh0Hfi7XOw== X-Received: by 2002:a2e:3919:: with SMTP id g25mr14967489lja.242.1570956057747; Sun, 13 Oct 2019 01:40:57 -0700 (PDT) Received: from localhost (enceladus.provocation.me. [2001:470:24:e81:76d4:35ff:feb0:d0bf]) by smtp.gmail.com with ESMTPSA id w18sm626694ljd.99.2019.10.13.01.40.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 01:40:57 -0700 (PDT) From: "Boris A. Dekshteyn" Date: Fri, 16 Aug 2019 13:47:53 +1200 Message-ID: <87r23hca2b.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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 --- gnu/packages/fontutils.scm | 51 +++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index e355f7bb89..f101614837 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -46,6 +46,9 @@ #:use-module (gnu packages xorg) #:use-module (gnu packages gtk) #:use-module (gnu packages xml) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages gnome) + #:use-module (gnu packages freedesktop) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -53,7 +56,8 @@ #:use-module (guix git-download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) - #:use-module (guix build-system python)) + #:use-module (guix build-system python) + #:use-module (guix build-system meson)) (define-public freetype (package @@ -725,3 +729,48 @@ maintain the Noto Fonts project.") (license:non-copyleft "file://sample_texts/attributions.txt" "See sample_texts/attributions.txt in the distribution."))))) + +(define-public fontmanager + (package + (name "fontmanager") + (version "0.7.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FontManager/font-manager") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16hma8rrkam6ngn5vbdaryn31vdixvii6920g9z928gylz9xkd3g")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:build-type "release" + #:configure-flags + (list (string-append "-Dc_link_args=-Wl,-rpath=" + (assoc-ref %outputs "out") + "/lib/font-manager")))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("vala" ,vala) + ("yelp-tools" ,yelp-tools) + ("gettext" ,gettext-minimal) + ("glib" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("desktop-file-utils" ,desktop-file-utils))) + (inputs + `(("json-glib" ,json-glib) + ("sqlite-with-column-metadata" ,sqlite-with-column-metadata) + ("fonconfig" ,fontconfig) + ("freetype" ,freetype) + ("gtk+" ,gtk+))) + (home-page "https://fontmanager.github.io/") + (synopsis "Simple font management for GTK+ desktop environments") + (description "Font Manager is intended to provide a way for average users to +easily manage desktop fonts, without having to resort to command +line tools or editing configuration files by hand. +While designed primarily with the Gnome Desktop Environment in mind, it should +work well with other Gtk+ desktop environments.") + (license license:gpl3+)))