From patchwork Sat Dec 11 07:43:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 35123 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 E0A1227BBE9; Sat, 11 Dec 2021 07:47:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 5CAE727BBEA for ; Sat, 11 Dec 2021 07:47:10 +0000 (GMT) Received: from localhost ([::1]:35298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvx65-0003RG-FX for patchwork@mira.cbaines.net; Sat, 11 Dec 2021 02:47:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvx5y-0003R0-O7 for guix-patches@gnu.org; Sat, 11 Dec 2021 02:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvx5y-0008DJ-Fr for guix-patches@gnu.org; Sat, 11 Dec 2021 02:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvx5y-0002w5-CY for guix-patches@gnu.org; Sat, 11 Dec 2021 02:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52422] [PATCH] gnu: Add bibutils. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Dec 2021 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52422 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52422@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163920877111211 (code B ref -1); Sat, 11 Dec 2021 07:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Dec 2021 07:46:11 +0000 Received: from localhost ([127.0.0.1]:48431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvx59-0002ul-Bq for submit@debbugs.gnu.org; Sat, 11 Dec 2021 02:46:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:36940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvx57-0002uc-8n for submit@debbugs.gnu.org; Sat, 11 Dec 2021 02:46:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvx56-0003OE-P3 for guix-patches@gnu.org; Sat, 11 Dec 2021 02:46:08 -0500 Received: from [2a00:1450:4864:20::343] (port=50982 helo=mail-wm1-x343.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvx52-0007MK-DM for guix-patches@gnu.org; Sat, 11 Dec 2021 02:46:08 -0500 Received: by mail-wm1-x343.google.com with SMTP id 133so8459841wme.0 for ; Fri, 10 Dec 2021 23:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=9qdBSTlHyTsPtIo4Grt2HoEBcJ4dlj8Ijg2Jkjo+Dts=; b=bwawvpO+bX9MzIIySyVR2ssWYVkdECi0kmVkh7UTHPDzXdVCgx519uFDF+aQKsnBN+ hs877k2kTrk+bnhmp0c1oeR8qZFuzlpn32Kx6qWcnGtpVt6H7c+YGQEh7r6xbnNoywq9 nFNb9CkNNoS/HC+EObFwKCHPPM4cfMqGA8kbkKNco3ZlV9JrHeH5kmmToxqMOSXQhAiL OFYiPWgkEfKO9Hrgi/2npXb9GL/t/8qNcY4OTk5nVqCN9VsQCK+yEI4giy54WEFqVrKs +elWaS08C8IyRvYuRPcg/CcmHf7bSZgj8K6KuFpS6egUNZcLpL6nXdFGgVLRtL0jvQSe mu6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=9qdBSTlHyTsPtIo4Grt2HoEBcJ4dlj8Ijg2Jkjo+Dts=; b=IPqEOQ1sn4+xguhdHqaOgGN9TglWx4GgqR6daSVcSKbIKwoSeMVSfRJV9Qqgo+hbgw PvLVvD/LucB8TGjoXIZ3asxpvIpEedQ8OK/MuhA02gRY7mQI5ZUKjeiEbMcnVCMvkNLq YpFfpHvD7lZqE3Pr65I8Sjipjhs1qur736sPUMfPfpaFDTPOIjO81VK3fdKk7/TSzZql 9niZoy7Q6vWqSJEZ1hzh+lNJT8o79AmH/9gSfwxQapSE9Ox9XODWdM8R9jvmDEJDRfs9 nMELGkin9RNbVB6md9peC0eK5aK50au0FucHdMMfS0ZVtNTj4mOEN/5vQ0o/OTy5chHw tZrA== X-Gm-Message-State: AOAM533OVpyIf5FGru3zNl/C9i/xAkBGj17FqII9ixu4TnhToXfb+UnL zwiMFZXCoYtbRN23+m3fDnMoRsJmBIE= X-Google-Smtp-Source: ABdhPJz72Jd+/XijoW4jEmxSWrA0j4wL6hboxRtRddJD1hS6fzLMRcNzrtbgyJLOfd6xXhGyKc9NuA== X-Received: by 2002:a05:600c:3489:: with SMTP id a9mr23215701wmq.53.1639208761871; Fri, 10 Dec 2021 23:46:01 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id o1sm1486779wri.100.2021.12.10.23.46.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 23:46:01 -0800 (PST) From: Liliana Marie Prikler Date: Sat, 11 Dec 2021 08:43:10 +0100 Message-ID: <646b99ff52fe938795d414ed313b094da450085a.camel@gmail.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::343 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x343.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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/textutils.scm (bibutils): New variable. --- gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index bbad8ce867..11233446af 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1146,6 +1146,40 @@ (define-public odt2txt OpenDocument presentations (*.odp).") (license license:gpl2))) +(define-public bibutils + (package + (name "bibutils") + (version "7.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/bibutils/" + "bibutils_" version "_src.tgz")) + + (sha256 + (base32 + "1hxmwjjzw48w6hdh2x7ybkrhi1xngd55i67hrrd3wswa3vpql0kf")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--install-dir" (string-append (assoc-ref %outputs "out") "/bin") + "--install-lib" (string-append (assoc-ref %outputs "out") "/lib") + "--dynamic") + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "LDFLAGSIN=-Wl,-rpath=" + (assoc-ref %outputs "out") "/lib")) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key configure-flags #:allow-other-keys) + ;; configure script is ill-formed, invoke it manually + (apply invoke "sh" "./configure" configure-flags)))))) + (home-page "https://bibutils.sourceforge.io/") + (synopsis "Convert between various bibliography formats") + (description "This package provides converters for various bibliography +formats (e.g. Bibtex, RIS, ...) using a common XML intermediate.") + (license license:gpl2))) + (define-public opencc (package (name "opencc")