From patchwork Wed Mar 4 15:22:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 20525 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 85CB727BBE4; Wed, 4 Mar 2020 15:23:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 33B2727BBE4 for ; Wed, 4 Mar 2020 15:23:10 +0000 (GMT) Received: from localhost ([::1]:35598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9VrZ-0004fO-Mb for patchwork@mira.cbaines.net; Wed, 04 Mar 2020 10:23:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9VrT-0004fH-VM for guix-patches@gnu.org; Wed, 04 Mar 2020 10:23:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9VrS-0006Rv-MU for guix-patches@gnu.org; Wed, 04 Mar 2020 10:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9VrS-0006Rl-IT for guix-patches@gnu.org; Wed, 04 Mar 2020 10:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9VrS-00045k-EN for guix-patches@gnu.org; Wed, 04 Mar 2020 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39906] [PATCH] Add libraqm Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Mar 2020 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39906@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158333533915664 (code B ref -1); Wed, 04 Mar 2020 15:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2020 15:22:19 +0000 Received: from localhost ([127.0.0.1]:41568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Vql-00044Z-3Q for submit@debbugs.gnu.org; Wed, 04 Mar 2020 10:22:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:46264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Vqj-00044S-Ro for submit@debbugs.gnu.org; Wed, 04 Mar 2020 10:22:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42523) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Vqi-0004bv-DT for guix-patches@gnu.org; Wed, 04 Mar 2020 10:22:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Vqg-00062F-MS for guix-patches@gnu.org; Wed, 04 Mar 2020 10:22:15 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:36947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9Vqg-00060J-Et for guix-patches@gnu.org; Wed, 04 Mar 2020 10:22:14 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D3230C0022 for ; Wed, 4 Mar 2020 15:22:11 +0000 (UTC) From: Nicolas Goaziou Date: Wed, 04 Mar 2020 16:22:11 +0100 Message-ID: <87sgiojgbg.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 Hello, The following patch adds Raqm library in "fontutils.scm". Feedback welcome, Regards, From 068937976f60560a22aac2a47ec1e9d221fd4670 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 4 Mar 2020 16:19:22 +0100 Subject: [PATCH] gnu: Add libraqm. * gnu/packages/fontutils.scm (libraqm): New variable. --- gnu/packages/fontutils.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 8d39730a7b..3fa99ab602 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018, 2019 Ludovic Courtès ;;; Copyright © 2019 Marius Bakke ;;; Copyright © 2020 Roel Janssen +;;; Copyright © 2020 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ (define-module (gnu packages fontutils) #:use-module (gnu packages) + #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages check) #:use-module (gnu packages ghostscript) @@ -45,6 +47,7 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gperf) #:use-module (gnu packages xorg) + #:use-module (gnu packages fribidi) #:use-module (gnu packages gtk) #:use-module (gnu packages xml) #:use-module (gnu packages sqlite) @@ -836,3 +839,41 @@ work well with other GTK+ desktop environments.") samples that show coverage of the font and are similar in appearance to Unicode Charts. It was developed for use with DejaVu Fonts project.") (license license:gpl3+))) + +(define-public libraqm + (package + (name "libraqm") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/HOST-Oman/libraqm.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0byxvrfb7g6wiykbzrfrvrcf178yjrfvix83bmxsvrdnyh7jqvfx")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list "--disable-static"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gtk-doc" ,gtk-doc) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper) + ("which" ,which))) + (inputs + `(("freetype" ,freetype) + ("fribidi" ,fribidi) + ("harfbuzz" ,harfbuzz))) + (home-page "https://github.com/HOST-Oman/libraqm") + (synopsis "Library for complex text layout") + (description "Raqm is a small library that encapsulates the logic +for complex text layout and provides a convenient API. + +It currently provides bidirectional text support (using FriBiDi), +shaping (using HarfBuzz), and proper script itemization. As a result, +Raqm can support most writing systems covered by Unicode.") + (license license:expat))) -- 2.25.1