Archived
1
0
Fork 0

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