Archived
1
0
Fork 0

gnu: dia: Update to 0.97.3-2.3cf7ec4 [fixes CVE-2019-19451].

* gnu/packages/gnome.scm (dia): Update to 0.97.3-2.3cf7ec4.
[build-system]: Use Meson.
[inputs]: Add graphene, libxslt, poppler, and python-2.
Remove freetype, gdk-pixbuf, libart-lgpl, and pango.
[native-inputs]: Add appstream-glib and docbook-xsl.
Remove autoconf, automake, libtool, perl, and python-wrapper.
This commit is contained in:
Tobias Geerinckx-Rice 2020-05-25 14:09:18 +02:00
parent 7384f40f40
commit f8687cb21e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1010,11 +1010,12 @@ useful as a tutorial and users' guide for new or less experienced users.")
;; This version from GNOME's repository includes fixes for compiling with ;; This version from GNOME's repository includes fixes for compiling with
;; recent versions of the build tools. The latest activity on the ;; recent versions of the build tools. The latest activity on the
;; pre-GNOME version has been in 2014, while GNOME has continued applying ;; pre-GNOME version has been in 2014, while GNOME has continued applying
;; fixes in 2016. ;; fixes since.
(let ((commit "fbc306168edab63db80b904956117cbbdc514ee4")) (let ((commit "3cf7ec4c2e5bca139a7f3e17f9fc9009c237fcc5")
(revision "2"))
(package (package
(name "dia") (name "dia")
(version (git-version "0.97.3" "1" commit)) (version (git-version "0.97.3" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1023,24 +1024,23 @@ useful as a tutorial and users' guide for new or less experienced users.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1b4bba0k8ph4cwgw8xjglss0p6n111bpd5app67lrq79mp0ad06l")))) "04r8dspa6nmicrifhi3sh46hqvyy88hzq37xx99q3q1mwsrpmwy8"))))
(build-system gnu-build-system) (build-system meson-build-system)
(inputs (inputs
`(("freetype" ,freetype) `(("graphene" ,graphene)
("gdk-pixbuf" ,gdk-pixbuf)
("gtk+" ,gtk+-2) ("gtk+" ,gtk+-2)
("libart-lgpl" ,libart-lgpl)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("pango" ,pango))) ("libxslt" ,libxslt)
("poppler" ,poppler)
;; Without Python 2, build fails: plug-ins/python/meson.build:4:0:
;; ERROR: Unknown method "dependency" in object.
("python-2" ,python-2)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("appstream-glib" ,appstream-glib)
("automake" ,automake) ("docbook-xsl" ,docbook-xsl)
("intltool" ,intltool)
("glib" ,glib "bin") ("glib" ,glib "bin")
("libtool" ,libtool) ("intltool" ,intltool)
("perl" ,perl) ("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
(home-page "https://wiki.gnome.org/Apps/Dia") (home-page "https://wiki.gnome.org/Apps/Dia")
(synopsis "Diagram creation for GNOME") (synopsis "Diagram creation for GNOME")
(description "Dia can be used to draw different types of diagrams, and (description "Dia can be used to draw different types of diagrams, and