unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Clément <cbarthelemy@fdn.fr>
Cc: 21806@debbugs.gnu.org
Subject: bug#21806: TeX Live: missing biber executable
Date: Sat, 19 Dec 2015 18:08:57 +0100	[thread overview]
Message-ID: <87bn9mz7py.fsf@gnu.org> (raw)
In-Reply-To: <87k2oaa6yb.fsf@rthelemy.eu> ("Clément"'s message of "Sat, 19 Dec 2015 14:44:44 +0100")

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

Clément <cbarthelemy@fdn.fr> skribis:

> So I don't know if building it from source is feasible for
> Guix. I could try to have a look, but have zero experience with
> Guix or Perl build system. Anyway, the biber package is indeed
> available on sourceforge².

I gave it a try, and below is an initial patch.  It misses some of the
dependencies required to run the test suite, but that shouldn’t be too
hard to address; the next thing is to address issues reported by ‘guix
lint biber’.  Would you like to give it a try?

Note that I didn’t use the Sourceforge URL because they were all
redirecting to the latest release (2.23), despite the “1.8” or “1.9” in
the URL.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1459 bytes --]

diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
index 6480b25..23360d5 100644
--- a/gnu/packages/texlive.scm
+++ b/gnu/packages/texlive.scm
@@ -22,7 +22,9 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system perl)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages bash)
@@ -311,3 +313,23 @@ to manage bibliographic references.  Automatic execution of dvips to produce
 PostScript documents is also included, as well as usage of pdfLaTeX to produce
 PDF documents.")
     (license license:gpl2+)))
+
+(define-public biber
+  (package
+    (name "biber")
+    (version "1.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/plk/biber")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0vpi11skvixdsp4pc1ppmdqiijv6gfj4cxal3vbwrkk07ah4sxv4"))))
+    (build-system perl-build-system)
+    ;; FIXME: Add module for Perl's Data/Compare.pm etc.
+    (inputs `(("perl-ipc-run3" ,perl-ipc-run3)))
+    (home-page "https://github.com/plk/biber")
+    (synopsis #f)
+    (description #f)
+    (license license:gpl1+)))                     ;GPLv1+ | Artistic

  reply	other threads:[~2015-12-19 17:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-01 11:22 bug#21806: TeX Live: missing biber executable Clément
2015-11-28 17:00 ` Ludovic Courtès
2015-12-19 13:44   ` Clément
2015-12-19 17:08     ` Ludovic Courtès [this message]
2015-12-19 19:31       ` Clément
2016-02-05 13:14         ` Ludovic Courtès
2016-02-06 22:36           ` Clément
2016-02-07 13:29             ` Ludovic Courtès
2016-03-13 13:13               ` Clément
2016-03-13 21:30                 ` Ludovic Courtès
2017-01-25 10:54                 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn9mz7py.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21806@debbugs.gnu.org \
    --cc=cbarthelemy@fdn.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).