[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
253/295: gnu: vala: Update package definition.
From: |
guix-commits |
Subject: |
253/295: gnu: vala: Update package definition. |
Date: |
Mon, 27 Jul 2020 06:26:29 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 58624e4b239378f9d76f8dccc1376c8c47407a8b
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Mon Jul 13 00:45:13 2020 -0400
gnu: vala: Update package definition.
* gnu/packages/gnome.scm (vala) [version]: Update to 0.48.7.
[source]<origin>[sha256]: Modify base32.
[build-system]: Change from gnu to glib-or-gtk.
[arguments]<#:configure-flags>["--enable-coverage]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml, docbook-xsl, help2man and perl.
[inputs]: Remove graphviz.
[propagated-inputs]: Add libgvc.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 84 ++++++++++++++++++++++++++++++--------------------
1 file changed, 50 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 10a69de..ba125db 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -135,6 +135,7 @@
#:use-module (gnu packages lirc)
#:use-module (gnu packages lua)
#:use-module (gnu packages mail)
+ #:use-module (gnu packages man)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages music)
@@ -3856,46 +3857,61 @@ passwords in the GNOME keyring.")
(define-public vala
(package
(name "vala")
- (version "0.46.5")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"))))
- (build-system gnu-build-system)
+ (version "0.48.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "0lswkb7gj0chas9n3l3dbrm9l71hs77adhvm2v600id2ipi37pi8"))))
+ (build-system glib-or-gtk-build-system)
(arguments
- '(#:phases
+ `(#:configure-flags
+ (list
+ "--enable-coverage")
+ #:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc/manual"
+ (substitute* '("manual.xml" "version.xml.in")
+ (("http://www.oasis-open.org/docbook/xml/4.4/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
(add-before 'check 'pre-check
- (lambda _
- (setenv "CC" "gcc")
- (substitute* "valadoc/tests/testrunner.sh"
- (("export PKG_CONFIG_PATH=" m)
- (string-append m "$PKG_CONFIG_PATH:")))
- ;; For missing '/etc/machine-id'.
- (setenv "DBUS_FATAL_WARNINGS" "0")
- #t)))))
+ (lambda _
+ (setenv "CC" "gcc")
+ (substitute* "valadoc/tests/testrunner.sh"
+ (("export PKG_CONFIG_PATH=" m)
+ (string-append m "$PKG_CONFIG_PATH:")))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("bison" ,bison)
+ ("dbus" ,dbus)
+ ("docbook-xml" ,docbook-xml-4.4)
+ ("docbook-xsl" ,docbook-xsl)
("flex" ,flex)
- ("bison" ,bison)
- ("xsltproc" ,libxslt)
- ("dbus" ,dbus) ; for dbus tests
- ("gobject-introspection" ,gobject-introspection))) ; for gir tests
- (inputs
- `(("graphviz" ,graphviz)))
+ ("gobject-introspection" ,gobject-introspection)
+ ("help2man" ,help2man)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
- `(("glib" ,glib))) ; required by libvala-0.40.pc
- (home-page "https://live.gnome.org/Vala/")
- (synopsis "Compiler for the GObject type system")
- (description
- "Vala is a programming language that aims to bring modern programming
-language features to GNOME developers without imposing any additional runtime
-requirements and without using a different ABI compared to applications and
-libraries written in C.")
+ `(("glib" ,glib)
+ ("libgvc" ,graphviz)))
+ (synopsis "Compiler using the GObject type system")
+ (description "Vala is a programming language using modern high level
+abstractions without imposing additional runtime requirements and without using
+a different ABI compared to applications and libraries written in C. Vala uses
+the GObject type system and has additional code generation routines that make
+targeting the GNOME stack simple.")
+ (home-page "https://wiki.gnome.org/Projects/Vala/")
(license license:lgpl2.1+)))
(define-public vala-0.48
- 228/295: gnu: Add rust-peg@0.6.2., (continued)
- 228/295: gnu: Add rust-peg@0.6.2., guix-commits, 2020/07/27
- 233/295: gnu: Add rust-pin-project@0.4.22., guix-commits, 2020/07/27
- 239/295: gnu: Add rust-selectors@0.22.0., guix-commits, 2020/07/27
- 235/295: gnu: Add rust-bytemuck@1.2.0., guix-commits, 2020/07/27
- 240/295: gnu: Add rust-tinyvec@0.3.3., guix-commits, 2020/07/27
- 242/295: gnu: Add rust-nalgebra@0.19.0., guix-commits, 2020/07/27
- 252/295: gnu: pango: Update package definition., guix-commits, 2020/07/27
- 251/295: gnu: Add libthai., guix-commits, 2020/07/27
- 250/295: gnu: Add libdatrie., guix-commits, 2020/07/27
- 249/295: gnu: tesseract-ocr: Propagate leptonica., guix-commits, 2020/07/27
- 253/295: gnu: vala: Update package definition.,
guix-commits <=
- 257/295: gnu: Add wpewebkit., guix-commits, 2020/07/27
- 260/295: gnu: pipewire: Update package definition., guix-commits, 2020/07/27
- 262/295: gnu: yelp-xsl: Update package definition., guix-commits, 2020/07/27
- 259/295: gnu: Add xmltoman., guix-commits, 2020/07/27
- 265/295: gnu: zenity: Update package definition., guix-commits, 2020/07/27
- 268/295: gnu: cairo: Update package definition., guix-commits, 2020/07/27
- 270/295: gnu: Add libsigc++-2., guix-commits, 2020/07/27
- 274/295: gnu: Add glibmm-2.64., guix-commits, 2020/07/27
- 275/295: gnu: atkmm: Update package definition., guix-commits, 2020/07/27
- 276/295: gnu: pangomm: Update package definition., guix-commits, 2020/07/27