unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21806: TeX Live: missing biber executable
@ 2015-11-01 11:22 Clément
  2015-11-28 17:00 ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Clément @ 2015-11-01 11:22 UTC (permalink / raw)
  To: 21806

Hi,

I have been trying out the guix package manager on top of Debian
Jessie for a few weeks and I ran into a problem installing TeX
Live, namely with the bibtex replacement biber.

TeX Live installs fine, and all the executables are available in
my user profile, except for biber. I digged a bit, and it seems
that while biber is included in the TeX Live texmf-dist tree, it
is not under share/texmf-dist/scripts but
share/texmf-dist/source/bibtex/biber, in a compressed tarball
biblatex-biber.tar.gz, from which biblatex-biber-1.8 can be
extracted. From this directory, I was able to run the perl build
and install tools.



Clément

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  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
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2015-11-28 17:00 UTC (permalink / raw)
  To: Clément; +Cc: 21806

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

> TeX Live installs fine, and all the executables are available in
> my user profile, except for biber. I digged a bit, and it seems
> that while biber is included in the TeX Live texmf-dist tree, it
> is not under share/texmf-dist/scripts but
> share/texmf-dist/source/bibtex/biber, in a compressed tarball
> biblatex-biber.tar.gz, from which biblatex-biber-1.8 can be
> extracted. From this directory, I was able to run the perl build
> and install tools.

Sorry for the late reply.  Maybe we should make it a separate package?
Is the biblatex-biber-1.8.tar.gz available separately upstream?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2015-11-28 17:00 ` Ludovic Courtès
@ 2015-12-19 13:44   ` Clément
  2015-12-19 17:08     ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Clément @ 2015-12-19 13:44 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 21806

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Sorry for the late reply.

My turn to apologise for the delay !

> Maybe we should make it a separate package?
> Is the biblatex-biber-1.8.tar.gz available separately upstream?

Apparently, there has been some discussion about whether or not
to include biber in the Tex Live build due to its high
requirements. The current state of affair is as follow¹ :

    Special considerations for biber

    TeX Live includes biber (a BibTeX replacement for BibLaTeX
    users) executables. These executables bundle the many Perl
    modules which biber requires, using the Par::Packer
    mechanism. This process is described in the biber
    documentation; it isn't feasible to incorporate it in the
    standard TL build.

    So, TL builders who wish to provide it should make and upload
    the binaries as part of the upstream Biber project. These
    binaries are then distributed to CTAN (requires a manual
    request to the CTAN maintainers, usually done by the Biber
    maintainers), and TL imports from CTAN as usual.


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².

There is also a compatibility issue between biblatex and biber
(something like biblatex 2.x → biber 1.x) that we should watch
out for.


1: Described on the Tex Live website https://www.tug.org/texlive/build.html#biber

2: http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/1.8/biblatex-biber.tar.gz

--
Clément

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2015-12-19 13:44   ` Clément
@ 2015-12-19 17:08     ` Ludovic Courtès
  2015-12-19 19:31       ` Clément
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2015-12-19 17:08 UTC (permalink / raw)
  To: Clément; +Cc: 21806

[-- 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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2015-12-19 17:08     ` Ludovic Courtès
@ 2015-12-19 19:31       ` Clément
  2016-02-05 13:14         ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Clément @ 2015-12-19 19:31 UTC (permalink / raw)
  To: Ludovic Courtès

Ludovic Courtès <ludo@gnu.org> writes:

> 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?

I would indeed! This looks embarrassingly easy, and is as good a
time as any to learn guix packaging

> 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.

Noted.

Thank you

--
Clément

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2015-12-19 19:31       ` Clément
@ 2016-02-05 13:14         ` Ludovic Courtès
  2016-02-06 22:36           ` Clément
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-02-05 13:14 UTC (permalink / raw)
  To: Clément; +Cc: 21806

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

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> 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?
>
> I would indeed! This looks embarrassingly easy, and is as good a
> time as any to learn guix packaging

Did you have a chance to look into it?  :-)

Ludo’.

PS: See <http://bugs.gnu.org/21806> for the initial discussion.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2016-02-05 13:14         ` Ludovic Courtès
@ 2016-02-06 22:36           ` Clément
  2016-02-07 13:29             ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Clément @ 2016-02-06 22:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 21806

Ludovic Courtès <ludo@gnu.org> writes:

> Did you have a chance to look into it?  :-)

I started, but I got scared by the number of dependencies. I
still intend to work on it though, but will be a little short on
time until the end of the month. Is that okay?

Sorry for the delay,

Clément

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2016-02-06 22:36           ` Clément
@ 2016-02-07 13:29             ` Ludovic Courtès
  2016-03-13 13:13               ` Clément
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2016-02-07 13:29 UTC (permalink / raw)
  To: Clément; +Cc: 21806

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

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Did you have a chance to look into it?  :-)
>
> I started, but I got scared by the number of dependencies. I
> still intend to work on it though, but will be a little short on
> time until the end of the month. Is that okay?

Sure, no problem.  I just wanted to know if you had given up or stumbled
upon a problem where we could help.  :-)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  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
  0 siblings, 2 replies; 11+ messages in thread
From: Clément @ 2016-03-13 13:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 21806

Ludovic Courtès <ludo@gnu.org> writes:

> Sure, no problem.  I just wanted to know if you had given up or stumbled
> upon a problem where we could help.  :-)

I think I am nearly there, I have packaged all biber
dependencies, but I still have some trouble with tests and
runpath validation.  I'd like to send the patch to the list see
if someone can help me.  From the history it looks like you
operate on a 'one package, one commit' basis, is that right?


Thanks,

Clément

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2016-03-13 13:13               ` Clément
@ 2016-03-13 21:30                 ` Ludovic Courtès
  2017-01-25 10:54                 ` Ludovic Courtès
  1 sibling, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2016-03-13 21:30 UTC (permalink / raw)
  To: Clément; +Cc: 21806

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

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Sure, no problem.  I just wanted to know if you had given up or stumbled
>> upon a problem where we could help.  :-)
>
> I think I am nearly there, I have packaged all biber
> dependencies, but I still have some trouble with tests and
> runpath validation.  I'd like to send the patch to the list see
> if someone can help me.

Sure, it’s a good idea.

> From the history it looks like you operate on a 'one package, one
> commit' basis, is that right?

Exactly.

Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#21806: TeX Live: missing biber executable
  2016-03-13 13:13               ` Clément
  2016-03-13 21:30                 ` Ludovic Courtès
@ 2017-01-25 10:54                 ` Ludovic Courtès
  1 sibling, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2017-01-25 10:54 UTC (permalink / raw)
  To: Clément; +Cc: 21806-done

Hi,

For the record Biber was added in commit
d400068085ed3cf1a0cb956e25812033a97b7b2c (Nov. 2016).

Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-25 10:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).