guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add laby.


From: Jan Nieuwenhuizen
Subject: Re: [PATCH] gnu: Add laby.
Date: Sat, 13 Feb 2016 21:58:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Andreas Enge writes:

> Since there is no terrible hurry, I would suggest to examine the svg rendering
> issue first; if you do not find a solution in reasonable time, we can still
> push the png patch.

Sure.

> No, it just synchronises and does not allow to roll back. On the other hand,
> it also works well with binary files (for instance, for synchronising films
> from one machine to another, I would not want them to take space forever
> in a git repository). It is essentially a two-way rsync.

I had a try...it needs a 2GB texlive download to build...  I'm currently
stuck at

    File 
"/tmp/nix-build-unison-2.48.3.drv-0/unison-2.48.3-checkout/src/uigtk.ml", line 
67, characters 10-23:
    Error: Unbound module Gdk
    Makefile.OCaml:434: recipe for target 'uigtk.cmx' failed
    make[1]: *** [uigtk.cmx] Error 2

trying the patch below...

Greetings, Jan

$ git diff
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 4b5ac61..78e7ea2 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -565,6 +565,8 @@ libpanel, librsvg and quartz.")
     (build-system gnu-build-system)
     (outputs '("out"
                "doc"))                  ; 1.9 MiB of documentation
+    (inputs `(("gtk" ,gtk+-2)
+              ("lablgtk" ,lablgtk)))
     (native-inputs
      `(("ocaml" ,ocaml)
        ;; For documentation
@@ -579,6 +581,7 @@ libpanel, librsvg and quartz.")
        #:tests? #f ; Tests require writing to $HOME.
                    ; If some $HOME is provided, they fail with the message
                    ; "Fatal error: Skipping some tests -- remove me!"
+       #:make-flags '("UISTYLE=gtk" "OCAMLOPT=ocamlopt.opt")
        #:phases
          (modify-phases %standard-phases
            (delete 'configure)
21:57:32 address@hidden:~/src/guix

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]