* WIP lyx
@ 2017-10-21 17:26 Danny Milosavljevic
0 siblings, 0 replies; only message in thread
From: Danny Milosavljevic @ 2017-10-21 17:26 UTC (permalink / raw)
To: guix-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-21 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-21 17:26 WIP lyx Danny Milosavljevic
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).