From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SJgAM+673GVJnQAA62LTzQ:P1 (envelope-from ) for ; Mon, 26 Feb 2024 17:27:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SJgAM+673GVJnQAA62LTzQ (envelope-from ) for ; Mon, 26 Feb 2024 17:27:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kjEjav3U; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708964846; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=iTVpog4/LgApj5TGeCfxaYp82b8/S8ytDRlvWBaNJac=; b=SBTuX4Oa/3hHfivzNiZvTZxHKwhyyNJ++2RNiCdiTHwyPzAWNxtBXMU6cIF9eZuNEChujt 0+i57AljcRpYfcapoR+sxldEpe5jzyn7pdXsvMHQrn/CeSYOLJAc2MKyijky/pPJ2icWDd tIilORGfaI6o4PHB98E2ljbswFgd2D3KxOpGDxTjI+QLW/14S3MnF546IngufoNshhL7Wp q179vUG0yHOLNcoevWs1Tcp5NslIqxic/6skDuBPNsf1GcZ1rIrsAUjAjFot12DcGntT8P s+3qelCrplxGIL4/lfxP2WnC6aOtVm52rhy9+hXRzEHgW0SNVHUd9oPeDwsWuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kjEjav3U; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708964846; a=rsa-sha256; cv=none; b=BiPRt2xRMyQ5w1y6I6ITMzU714h0K0PRQ2g8OPEU4HPFdL4c34dck8z1UmtOz9hPjpnD2m aZGPzuTNrNfDhyBebbbbM4agSh2ZRf8RXPcU9+h7gDcT7vWfNlklALbHW+2WO6V/AAbXhC yyCVNpeLm44W+p5BZrLdcApQSWm9nadn6EDS/ZL9nKbqGQ5C0fIy5a1xpQVcza77W9IuXB rz2C8WfTrJwangIqAH47swGdlsDtZP7gWu2wZhOatkSbb58BsQglnmlXW5K3eAj4VjuOJ5 W+MlfFXodFjSv/e1xv91WjJRVtNJLXGyO7fG9YTNPqJ7KDCzyzjFiIrBa7TKMg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A1536560C for ; Mon, 26 Feb 2024 17:27:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1redoR-0007Pj-Bp; Mon, 26 Feb 2024 11:26:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1redoL-0007Hq-Su for guix-patches@gnu.org; Mon, 26 Feb 2024 11:26:38 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1redoL-00024s-4H for guix-patches@gnu.org; Mon, 26 Feb 2024 11:26:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1redok-0008F8-Ez for guix-patches@gnu.org; Mon, 26 Feb 2024 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69355] [PATCH] gnu: Add libgrapheme. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Feb 2024 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: cage Cc: 69355@debbugs.gnu.org Received: via spool by 69355-submit@debbugs.gnu.org id=B69355.170896477831563 (code B ref 69355); Mon, 26 Feb 2024 16:27:02 +0000 Received: (at 69355) by debbugs.gnu.org; 26 Feb 2024 16:26:18 +0000 Received: from localhost ([127.0.0.1]:47650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1redo2-0008D0-7m for submit@debbugs.gnu.org; Mon, 26 Feb 2024 11:26:18 -0500 Received: from mail-oi1-f170.google.com ([209.85.167.170]:61638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rednz-0008Cf-Js for 69355@debbugs.gnu.org; Mon, 26 Feb 2024 11:26:16 -0500 Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-3c132695f1bso2054305b6e.2 for <69355@debbugs.gnu.org>; Mon, 26 Feb 2024 08:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708964684; x=1709569484; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=iTVpog4/LgApj5TGeCfxaYp82b8/S8ytDRlvWBaNJac=; b=kjEjav3UjX68vHRU/+zm/KkYOUmGmhZ+LfTgyEt/y8+dXNZYK6d/+Xe4Mct2q6izPl QygIharHiuWKnauxoky4pWrcurrKL9l3TDkEZnDa7fduMbCo9+3aESPZNyB+TLNBHwte L+2hKhNi7NcXyS8oKcvT8JKOFy0BEsYmiaZgT3MfqyLqd/YAYjh+KWD+Bvak2bKWh4KZ OSVWAT8YXrooUNGXodTrRY4UcqGseeWy1JqnXUGdFKqOQFMF0UsYkJPciuqoi5jz9d29 devDqB0CxlY1Wb2nVS2e/4z+e1vHXuoFgHpylrILZ8ltFeigV2kCadPnY9Ilgrh17Toq lV/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708964684; x=1709569484; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iTVpog4/LgApj5TGeCfxaYp82b8/S8ytDRlvWBaNJac=; b=g794kSgYQLXEPLtdoTpbBpgSCIiFfOvMLwLJhOhCy9tHnqq775lNfMDMZENSdzGUGg sXCuoCP+sbyHjM6spzrUqapzIrcyJzPmp3usJ8A/k3KFrBm1McYjup/LPpDN2aBcnpXI dMDQW1TaTDAfZaWz9uz0BBZtJhX8uxHrPX8QuXsFu5udWUUcOBHD4ZDBSK56+/XxhZhn 7mW5mMJFreB4AyyBtCSmm8woR5J4M67BGMiNroLv90YxLjOXgAV6z2RYsLb5kMKHAebl lTuIIW9DmZoTnprx70Hq28amfcBLLUgMv4ao0A+3k75ywsrVBKfWfDtGD8qvGQijANva z2VQ== X-Gm-Message-State: AOJu0YxDmIAqGFpw+tPHWeO+b3mY+D9Ipo/+T7mL20GkEY1/QshWKxOD AWW5brWZVo/CBdc8xPGNbLfa0Qg6t5zk8/tDzXDGtzDQOFVSbgaNCKeoRf0B X-Google-Smtp-Source: AGHT+IGIXoSqXSe0hFffj/CCHqsglFvyJNUxfAkeNhkoPVdyO4TS+0uh45+T+4MkQWqp04z6YVEyng== X-Received: by 2002:a05:6808:10ce:b0:3c1:3215:1881 with SMTP id s14-20020a05680810ce00b003c132151881mr10134675ois.7.1708964684146; Mon, 26 Feb 2024 08:24:44 -0800 (PST) Received: from hurd (dsl-141-6.b2b2c.ca. [66.158.141.6]) by smtp.gmail.com with ESMTPSA id mf2-20020a0562145d8200b0068fef2bc3a6sm2857706qvb.135.2024.02.26.08.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:24:43 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <505f3bdf672b32d2d9413ed2e4d83a769518d9ea.1708780937.git.cage-dev@twistfold.it> (cage's message of "Sat, 24 Feb 2024 14:24:09 +0100") References: <505f3bdf672b32d2d9413ed2e4d83a769518d9ea.1708780937.git.cage-dev@twistfold.it> Date: Mon, 26 Feb 2024 11:24:42 -0500 Message-ID: <87msrnjir9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.73 X-Spam-Score: 2.73 X-Migadu-Queue-Id: 9A1536560C X-TUID: dST6QQ24n4vL Hi, cage writes: > Change-Id: If19bc5534b8bc3d0aeda4f1e70baa8d42e4948e0 > --- > gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm > index 81e2151854..e71b0e9252 100644 > --- a/gnu/packages/suckless.scm > +++ b/gnu/packages/suckless.scm > @@ -1393,3 +1393,33 @@ (define-public 9base > (description > "This package provides ported versions of various Plan 9 userland tools > for Unix."))) > + > +(define-public libgrapheme > + (package > + (name "libgrapheme") > + (version "2.0.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://dl.suckless.org/libgrapheme/libgrapheme-" > + version > + ".tar.gz")) > + (sha256 > + (base32 "099i2jm9c25nkbg5420wr12z0gd189gcw5j1ssjmpmbbwzfvv2x6")))) > + (build-system gnu-build-system) > + (arguments > + (list #:tests? #f We strive to enable test suites of packages in Guix, as this gives us a chance to detect breakage across updates. Its page mentions a 'test' target to run the conformance and unit tests of libgrapheme. Did you try it, via #:test-target "test" ? (the default is "check", which is most common). > + #:phases #~(modify-phases %standard-phases > + (add-after 'configure 'post-configure > + (lambda _ > + (substitute* "config.mk" Please leave an explanatory comment mentioning that running ldconfig is not needed on Guix. > + (("ldconfig") ""))))) > + #:make-flags > + #~(list (string-append "CC=" #$(cc-for-target)) > + (string-append "PREFIX=" #$output)))) > + (home-page "https://libs.suckless.org/libgrapheme/") > + (synopsis "Library to handle string according to Unicode standard") > + (description "Libgrapheme is an extremely simple freestanding C99 library > +providing utilities for properly handling strings > +according to the latest Unicode standard 15.0.0.") nitpick: The paragraph flow seems broken after 'handling strings' -- "M-;" in Emacs would help. I'd also drop the exact Unicode standard currently targeted, as this would probably become outdated information soon. Could you send a v2 with the above changes? -- Thanks, Maxim