gnu: xournalpp: Update to 1.0.18.

* gnu/packages/pdf.scm (xournalpp): Update to 1.0.18.
This commit is contained in:
Nicolas Goaziou 2020-04-16 21:38:55 +02:00
parent 2e7e0cb547
commit 9cb2f28c5a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -822,7 +822,7 @@ (define-public xournal
(define-public xournalpp
(package
(name "xournalpp")
(version "1.0.17")
(version "1.0.18")
(source
(origin
(method git-fetch)
@ -831,7 +831,7 @@ (define-public xournalpp
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0xw2mcgnm4sa9hrhfgp669lfypw97drxjmz5w8i5whaprpvmkxzw"))))
(base32 "0a9ygbmd4dwgck3k8wsrm2grynqa0adb12wwspzmzvpisbadffjy"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DENABLE_CPPUNIT=ON") ;enable tests
@ -844,11 +844,11 @@ (define-public xournalpp
(modify-phases %standard-phases
(add-after 'unpack 'fix-permissions-on-po-files
(lambda _
;; Always generate translations. A recent upstream patch
;; disabled it.
(substitute* "po/CMakeLists.txt"
(("gettext_create_translations \\(\"\\$\\{potfile\\}\"\\)")
"gettext_create_translations (\"${potfile}\" ALL)"))
;; ;; Always generate translations. A recent upstream patch
;; ;; disabled it.
;; (substitute* "po/CMakeLists.txt"
;; (("gettext_create_translations \\(\"\\$\\{potfile\\}\"\\)")
;; "gettext_create_translations (\"${potfile}\" ALL)"))
;; Make sure 'msgmerge' can modify the PO files.
(for-each (lambda (po) (chmod po #o666))
(find-files "." "\\.po$"))
@ -857,7 +857,6 @@ (define-public xournalpp
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(native-inputs
`(("cppunit" ,cppunit)
("gcc" ,gcc-8) ;requires gcc 8+
("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
(inputs