mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
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.
This commit is contained in:
parent
fcb5b3176c
commit
ed41cae4c3
1 changed files with 13 additions and 16 deletions
|
@ -61,6 +61,7 @@ (define-module (gnu packages text-editors)
|
|||
#: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 @@ (define-module (gnu packages text-editors)
|
|||
#: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 @@ (define-public editorconfig-core-c
|
|||
(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 @@ (define-public texmacs
|
|||
(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"
|
||||
|
|
Loading…
Reference in a new issue