@@ 30,6 30,7 @@
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2025 Hugo Buddelmeijer <hugo@buddelmeijer.nl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ 77459,40 77460,36 @@ PDF documents.")
(define-public texmaker
(package
(name "texmaker")
- (version "5.0.4")
+ (version "6.0.1")
+ ;; TODO: Remove "3rdparty" directory contents:
+ ;; encodingprober, hunspell, pdfium, singleapp, and synctex
+ ;; as at least some of those are packaged by Guix directly.
+ ;; Those libraries seem to also have been included in texmaker 5.*, but were
+ ;; not isolated in a designated directory and therefor probably not noticed.
(source (origin
(method url-fetch)
- (uri (string-append "http://www.xm1math.net/texmaker/texmaker-"
+ (uri (string-append "https://www.xm1math.net/texmaker/texmaker-"
version ".tar.bz2"))
(sha256
(base32
- "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx"))))
+ "1xna8qp0x3qvg2093slx98jv0qri6vpbblvhrla7gzfq1kgkbhmq"))))
(build-system qt-build-system)
(arguments
- (list
- #:tests? #f ; no tests
- #:modules '((guix build qt-build-system)
- ((guix build gnu-build-system) #:prefix gnu:)
- (guix build utils))
- #:phases
- #~(modify-phases %standard-phases
- ;; Qt has its own configuration utility.
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (invoke "qmake"
- (string-append "PREFIX=" out)
- (string-append "DESKTOPDIR=" out "/share/applications")
- (string-append "ICONDIR=" out "/share/pixmaps")
- (string-append "METAINFODIR=" out "/share/metainfo")
- "texmaker.pro"))))
- (replace 'build (assoc-ref gnu:%standard-phases 'build))
- (replace 'install (assoc-ref gnu:%standard-phases 'install)))))
+ (list #:tests? #f)) ; no tests
(inputs
- (list poppler-qt5 qtbase-5 qtwayland-5 qtscript-5 zlib))
+ (list poppler-qt6
+ qt5compat
+ qtbase
+ qtdeclarative
+ qttools ;for Qt6LinguistTool
+ qtwayland
+ qtwebengine
+ zlib))
(native-inputs
(list pkg-config))
(home-page "https://www.xm1math.net/texmaker/")
+ (properties '((release-monitoring-url
+ . "https://www.xm1math.net/texmaker/download.html")))
(synopsis "LaTeX editor")
(description "Texmaker is a program that integrates many tools needed to
develop documents with LaTeX, in a single application.")