From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: WIP lyx Date: Sat, 21 Oct 2017 19:26:18 +0200 Message-ID: <20171021192618.186d7ce3@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5xXb-0000yU-O7 for guix-devel@gnu.org; Sat, 21 Oct 2017 13:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5xXX-0000G6-Mb for guix-devel@gnu.org; Sat, 21 Oct 2017 13:26:31 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:41388) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e5xXX-0000FG-Eb for guix-devel@gnu.org; Sat, 21 Oct 2017 13:26:27 -0400 Received: from localhost (77.118.130.154.wireless.dyn.drei.com [77.118.130.154]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 21AAE1CA102C for ; Sat, 21 Oct 2017 19:26:22 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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