[Top][All Lists]

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

WIP lyx

From: Danny Milosavljevic
Subject: WIP lyx
Date: Sat, 21 Oct 2017 19:26:18 +0200

I have some work-in-progress lyx.  There is only ONE test failure left.  Any 
LATEX experts know what to make of it?

(define-public lyx
    (name "lyx")
    (version "2.2.3")
    (source (origin
             (method url-fetch)
             (uri (string-append "";
                                 name "-" version ".tar.gz"))
    (build-system cmake-build-system)
     `(#:configure-flags '("-DLYX_USE_QT=QT5"
                           ; -DLYX_ASPELL
                           ; -DLYX_ENCHANT
                           ; not found: "-DLYX_HUNSPELL=1"
                           ; -DLYX_QUIET???
                           ; -DLYX_INSTALL_PREFIX???
                           ; -DLYX_PACKAGE_SUFFIX=0
                           ; -DLYX_ASAN=1
                           ; -DLYX_PROGRAM_SUFFIX=0
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-python
           (lambda* (#:key inputs #:allow-other-keys)
         (add-before 'check 'setenv-check
           (lambda _
             (system* "pwd")
             (setenv "LYX_DIR_22x" (string-append (getcwd) 
"/../lyx-2.2.3/lib")) ; FIXME dynamic version number
     `(("boost" ,boost)
       ("hunspell" ,hunspell) ; Note: could also use aspell instead.
       ("libx11" ,libx11)
       ("qtbase" ,qtbase)
       ("qtsvg" ,qtsvg)
       ("zlib" ,zlib)
       ("texlive-tiny", texlive-tiny))) ; article.cls is in texmf-dist.
     `(("python-2" ,python-2)
       ("pkg-config" ,pkg-config)
       ("bc" ,bc)))
    (home-page "";)
    (synopsis "Document preparation system with GUI")
    (description "LyX is a document preparation system.  It excels at letting 
you create complex technical and scientific articles with mathematics, 
cross-references, bibliographies, indexes, etc.  It is very good for working 
with documents of any length in which the usual processing abilities are 
required: automatic sectioning and pagination, spell checking and so forth. ")
    (license gpl2+)))

Test failure:

   Mon May  8 21:53:46 2017
+++ /tmp/guix-build-lyx-2.2.3.drv-0/build/src/tex2lyx/test/test-structure.lyx  
Sat Oct 21 17:18:44 2017
@@ -212,7 +212,7 @@
 \begin_inset Flex Flex:Strong
 status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout

reply via email to

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