From patchwork Fri Jun 10 17:35:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Remco van 't Veer X-Patchwork-Id: 39821 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 488C127BBEA; Fri, 10 Jun 2022 18:36:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9460A27BBE9 for ; Fri, 10 Jun 2022 18:36:31 +0100 (BST) Received: from localhost ([::1]:39280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nziYg-00077c-GG for patchwork@mira.cbaines.net; Fri, 10 Jun 2022 13:36:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nziYE-00077Q-4R for guix-patches@gnu.org; Fri, 10 Jun 2022 13:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nziYD-000549-Qg for guix-patches@gnu.org; Fri, 10 Jun 2022 13:36:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nziYD-0005H4-Mf for guix-patches@gnu.org; Fri, 10 Jun 2022 13:36:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55891] [PATCH v2] gnu: Add iec16022. References: <20220610150448.9513-1-remco@remworks.net> In-Reply-To: <20220610150448.9513-1-remco@remworks.net> Resent-From: Remco van 't Veer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Jun 2022 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55891 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55891@debbugs.gnu.org Cc: Remco van 't Veer Received: via spool by 55891-submit@debbugs.gnu.org id=B55891.165488255620263 (code B ref 55891); Fri, 10 Jun 2022 17:36:01 +0000 Received: (at 55891) by debbugs.gnu.org; 10 Jun 2022 17:35:56 +0000 Received: from localhost ([127.0.0.1]:51215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nziY6-0005Gj-Bx for submit@debbugs.gnu.org; Fri, 10 Jun 2022 13:35:55 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nziY3-0005GV-Ki for 55891@debbugs.gnu.org; Fri, 10 Jun 2022 13:35:53 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3D4225C008C; Fri, 10 Jun 2022 13:35:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 10 Jun 2022 13:35:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1654882546; x=1654968946; bh=QlGiFuHTvW0RgpqqEXsrHxqr9 oxyBB3EntU3ztos5Pw=; b=Uzq5aLBfM6vyYAca224eqhXxNNNtRkLDD+M3briOf Xdbgms2wzAoEjRFEWZ4U69p3VU6QQvNHH/psLG1rVvuwSjLtVKdhyzrX6TUXcOi0 6WSMovgb6xCkZBJk6VYTeTijyZL5DHe5D51TfRieO7hpqY1kxGUkWN53kW9hBp+V Vydgh9VoxVO+PCRNbWwBGC4Rn55/KSJAPVsnqd2gIt6lfESc7SoFAARH1bhZ+kFW 4lbFOce/7k+DfM224OiPBSwRZQGc0PPwG3bXfGEDnYr8Ht5qz4n8/acCnvehgQmF EYwg6fOoyqp7mGmifac2sENHs9wbZLGdPMZpDWJLTZJIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1654882546; x=1654968946; bh=QlGiFuHTvW0RgpqqEXsrHxqr9oxyBB3EntU 3ztos5Pw=; b=ENwbnpdXiHCw1MXfuFU+tJTlAOzUkpNQCZCfipdQuWH/UjJkGR5 mKPZHbzHovOGnPLq+k1xgmH0Prcag+W4cHQcRJJqPZBc3a04OcKg0cX2t0olkmXV yTMErzEXWKNfFTFA4vFTZyoW3Bj4ctHCxXjXwmpeBZaLwtEUeDYAAv4meTP7V0Bv ZGsm0kFJexxxbZVTq/AO1wIqPnncMsh4mQ/1fcV+dX1YKmaD+WawtC4XeTUPViiE vNGi+Glnoa3Irm5NTIW5tWqdgpnuvd5/Tj17SexhwSrxadxrXZZbIMCOwGS5gVXX f+n35lnJ+PHl1KVpdK/+muobQzEAAq8BgsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudduuddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgggfestdekre dtredttdenucfhrhhomheptfgvmhgtohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtgho sehrvghmfihorhhkshdrnhgvtheqnecuggftrfgrthhtvghrnhepvdevhfekgfeffffhvd dvgfeuudffjeelfeefvdekfedujeetfeeuueethedtvedtnecuffhomhgrihhnpehnrgih uhhkihdrihhopdhgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehrfihvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i568842cc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Jun 2022 13:35:45 -0400 (EDT) From: Remco van 't Veer Date: Fri, 10 Jun 2022 19:35:30 +0200 Message-Id: <20220610173530.29920-1-remco@remworks.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/aidc.scm (iec16022): New variable. --- Changes in this v2: * Improved (arguments ..) style * Moved definition to aidc.scm gnu/packages/aidc.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index 5482261a59..90341320b3 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -26,6 +26,7 @@ (define-module (gnu packages aidc) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (gnu packages autotools) #:use-module (gnu packages check) @@ -36,6 +37,7 @@ (define-module (gnu packages aidc) #:use-module (gnu packages image) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages pretty-print) @@ -257,3 +259,34 @@ (define-public qrcodegen-cpp project also offers Java, Javascript, Python, C, and Rust implementations.") (home-page "https://www.nayuki.io/page/qr-code-generator-library") (license license:expat))) + +(define-public iec16022 + (package + (name "iec16022") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rdoeffinger/iec16022") + (commit "c9a9fd926fd1e6cca9782fe3f8c2bab66010ca51"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k9hfcjcm64w0n20979k2bx5lmxqhsh6df11qxyjdy4aq0l6i62z")))) + (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'bootstrap 'disable-autogen-configure + (lambda _ + (substitute* "autogen.sh" + (("^\\./configure") "# nop"))))))) + (inputs (list popt)) + (native-inputs (list autoconf automake libtool)) + (synopsis "Command-line tool for producing Data Matrix barcodes") + (description + "Iec16022 is a non-interactive software package for producing Data Matrix +barcodes as specified by ISO/IEC 16022. It produces ASCII, UTF-8, EPS, Bin, +Stamp and PNG images.") + (home-page "https://github.com/rdoeffinger/iec16022") + (license license:gpl2+)))