diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-18 21:37:17 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-18 21:37:17 +0100 |
commit | ed41cae4c3c412d36bfe994aecfb26247693aad2 (patch) | |
tree | b2cf988e8cbdb1689db63b2d93e6723e1a0db915 | |
parent | fcb5b3176c7e752f3ed7816588973a47abcdc304 (diff) | |
download | guix-ed41cae4c3c412d36bfe994aecfb26247693aad2.tar.gz |
gnu: texmacs: Update to 2.1.1.
* gnu/packages/text-editors.scm (texmacs): Update to 2.1.1. [build-system]: Use cmake instead of gnu. [inputs]: Add libjpeg-turbo and sqlite. Remove labels. [arguments]<#:phases>: Remove unnecessary phase.
-rw-r--r-- | gnu/packages/text-editors.scm | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 63fec9be8e..5a9f5900e0 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -61,6 +61,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) #:use-module (gnu packages llvm) @@ -75,6 +76,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages regex) #:use-module (gnu packages ruby) + #:use-module (gnu packages sqlite) #:use-module (gnu packages terminals) #:use-module (gnu packages texinfo) #:use-module (gnu packages version-control) @@ -852,24 +854,26 @@ editors.") (define-public texmacs (package (name "texmacs") - (version "2.1") + (version "2.1.1") (source (origin (method url-fetch) (uri (string-append "https://www.texmacs.org/Download/ftp/tmftp/" "source/TeXmacs-" version "-src.tar.gz")) (sha256 - (base32 "1gl6k1bwrk1y7hjyl4xvlqvmk5crl4jvsk8wrfp7ynbdin6n2i48")))) - (build-system gnu-build-system) + (base32 "0c780vcwppzhb70d3d96md3hra7338d4fv3aj0sm7jx0mj2a334i")))) + (build-system cmake-build-system) (native-inputs (list pkg-config xdg-utils)) ;for xdg-icon-resource (inputs - `(("freetype" ,freetype) - ("guile" ,guile-1.8) - ("perl" ,perl) - ("python" ,python-wrapper) - ("qt" ,qtbase-5) - ("qtsvg" ,qtsvg))) + (list freetype + guile-1.8 + libjpeg-turbo + perl + python-wrapper + qtbase-5 + qtsvg + sqlite)) (arguments `(#:tests? #f ; no check target #:phases @@ -880,13 +884,6 @@ editors.") (substitute* "packages/linux/icons.sh" (("/usr/share") (string-append out "/share")))))) - (add-after 'install 'install-desktop-file - (lambda* (#:key outputs #:allow-other-keys) - ;; Install desktop file. - (let* ((out (assoc-ref outputs "out")) - (apps (string-append out "/share/applications")) - (source "TeXmacs/misc/mime/texmacs.desktop")) - (install-file source apps)))) (add-before 'configure 'gzip-flags (lambda _ (substitute* "Makefile.in" |