From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50486) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9dfM-0004G8-3L for guix-patches@gnu.org; Wed, 04 Mar 2020 18:43:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9dfK-0003sO-E2 for guix-patches@gnu.org; Wed, 04 Mar 2020 18:43:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9dfK-0003sA-9L for guix-patches@gnu.org; Wed, 04 Mar 2020 18:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9dfK-0004YH-5k for guix-patches@gnu.org; Wed, 04 Mar 2020 18:43:02 -0500 Subject: [bug#39906] [PATCH] Add libraqm Resent-Message-ID: From: Nicolas Goaziou References: <87sgiojgbg.fsf@nicolasgoaziou.fr> <20200304194457.GA4463@jasmine.lan> Date: Thu, 05 Mar 2020 00:42:02 +0100 In-Reply-To: <20200304194457.GA4463@jasmine.lan> (Leo Famulari's message of "Wed, 4 Mar 2020 14:44:57 -0500") Message-ID: <87o8tbk7qt.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Leo Famulari Cc: 39906@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, Leo Famulari writes: Thank you for the review. > Did you try building from the tarball? > > https://github.com/HOST-Oman/libraqm/releases/download/v0.7.0/raqm-0.7.0.tar.gz > > If it works you should be able to drop the Autotools inputs. Done. Here is the updated patch. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-libraqm.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add libraqm (v2) >From 6cb5b0b1621907ca35848bde54107583f90c9c7e 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 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index a8c9e3ddc0..fcdf767e0f 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -11,6 +11,7 @@ ;;; Copyright =C2=A9 2018, 2019 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2019 Marius Bakke ;;; Copyright =C2=A9 2020 Roel Janssen +;;; Copyright =C2=A9 2020 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,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 +838,37 @@ 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 url-fetch) + (uri (string-append "https://github.com/HOST-Oman/libraqm/" + "releases/download/v" version "/" + "raqm-0.7.0.tar.gz")) + (sha256 + (base32 "0hgry3fj2y3qaq2fnmdgd93ixkk3ns5jds4vglkiv2jfvpn7b1g2")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list "--disable-static"))) + (native-inputs + `(("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) + (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))) --=20 2.25.1 --=-=-=--