unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Vivien Kraus via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 51435@debbugs.gnu.org
Subject: bug#51435: Fix it (unison does not build on core-updates-frozen)
Date: Thu, 04 Nov 2021 11:23:32 +0100	[thread overview]
Message-ID: <87a6ikcj3h.fsf@planete-kraus.eu> (raw)
In-Reply-To: <handler.51435.B.163533762511915.ack@debbugs.gnu.org>

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


Rekado on #guix told me that I had to create a simple texlive package
for the missing package, that’s what I did. Since I’m not familiar with
the texlive way of doing things, I’m not sure the homepage is that of
l3backend (and thus, I’m not sure of the license if it’s not), and I
need someone to review the description for the package too.

Vivien


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

From 093b913147b8f7e9aab66887ed1484e6aaeeb102 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Thu, 4 Nov 2021 10:59:18 +0100
Subject: [PATCH 1/2] gnu: Add texlive-dvips-l3backend.

* gnu/packages/tex.scm (texlive-dvips-l3backend): New variable.
---
 gnu/packages/tex.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bf427f1594..888ded3fce 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3513,6 +3513,23 @@ (define-public texlive-latex-l3packages
 @end enumerate\n")
     (license license:lppl1.3c+)))
 
+(define-public texlive-dvips-l3backend
+  (package
+    (inherit (simple-texlive-package
+              "texlive-dvips-l3backend"
+              (list
+               "/dvips/l3backend/")
+              (base32
+               "1hvj153h1pn93h6n76dv3mg9ai0mcz9q9mysfiqjfpqzijz9ikky")
+              #:trivial? #t))
+    (home-page "https://www.ctan.org/pkg/l3backend")
+    (synopsis "LaTeX3 backend drivers for dvips")
+    (description
+     "This package forms parts of expl3, and contains the code used to
+interface with backends (drivers) across the expl3 codebase.  The functions
+here are defined for the dvips engine only.")
+    (license license:lppl1.3c+)))
+
 (define-public texlive-fontspec
   (let ((template (simple-texlive-package
                    "texlive-fontspec"
-- 
2.33.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Fix the unison manual --]
[-- Type: text/x-patch, Size: 907 bytes --]

From a7568441319c4e42ec2e51dfddf62eacb0a054e2 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <vivien@planete-kraus.eu>
Date: Thu, 4 Nov 2021 01:02:39 +0100
Subject: [PATCH 2/2] gnu: unison: Fix building the manual.

* gnu/packages/ocaml.scm (unison)[native-inputs]: Add the missing texlive inputs.
---
 gnu/packages/ocaml.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7b1363a5c3..5b190e7e8d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1205,7 +1205,8 @@ (define-public unison
      `(("ocaml" ,ocaml-4.09)
        ;; For documentation
        ("ghostscript" ,ghostscript)
-       ("texlive" ,texlive-tiny)
+       ("texlive" ,(texlive-updmap.cfg
+                    (list texlive-fonts-ec texlive-dvips-l3backend)))
        ("hevea" ,hevea)
        ("lynx" ,lynx)
        ("which" ,which)))
-- 
2.33.1


  parent reply	other threads:[~2021-11-04 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 12:26 bug#51435: unison does not build on core-updates-frozen Vivien Kraus via Bug reports for GNU Guix
     [not found] ` <handler.51435.B.163533762511915.ack@debbugs.gnu.org>
2021-11-04  0:05   ` Vivien Kraus via Bug reports for GNU Guix
2021-11-04 10:23   ` Vivien Kraus via Bug reports for GNU Guix [this message]
2021-11-08 23:46     ` 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=87a6ikcj3h.fsf@planete-kraus.eu \
    --to=bug-guix@gnu.org \
    --cc=51435@debbugs.gnu.org \
    --cc=vivien@planete-kraus.eu \
    /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).