guix-devel
[Top][All Lists]
Advanced

[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
  (package
    (name "lyx")
    (version "2.2.3")
    (source (origin
             (method url-fetch)
             (uri (string-append "http://ftp.lyx.org/pub/lyx/stable/2.2.x/";
                                 name "-" version ".tar.gz"))
             (sha256
              (base32
               "0xvaz0i371nn2ndinc0d3ywj76ivb62649a4sdgwbivisiahd2fj"))))
    (build-system cmake-build-system)
    (arguments
     `(#:configure-flags '("-DLYX_USE_QT=QT5"
                           "-DLYX_EXTERNAL_BOOST=1"
                           ; -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
)
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-python
           (lambda* (#:key inputs #:allow-other-keys)
             #t))
         (add-before 'check 'setenv-check
           (lambda _
             (system* "pwd")
             (setenv "LYX_DIR_22x" (string-append (getcwd) 
"/../lyx-2.2.3/lib")) ; FIXME dynamic version number
             #t)))))
    (inputs
     `(("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.
    (native-inputs
     `(("python-2" ,python-2)
       ("pkg-config" ,pkg-config)
       ("bc" ,bc)))
    (home-page "http://www.lyx.org/";)
    (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:

--- 
/tmp/guix-build-lyx-2.2.3.drv-0/lyx-2.2.3/src/tex2lyx/test/test-structure.lyx.lyx
   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
 logikalmkup
 \end_layout



reply via email to

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