[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42958] [PATCH core-updates 15/29] gnu: vala: Update package definit
From: |
Danny Milosavljevic |
Subject: |
[bug#42958] [PATCH core-updates 15/29] gnu: vala: Update package definition. |
Date: |
Thu, 20 Aug 2020 17:10:36 +0200 |
From: Raghav Gururajan <raghavgururajan@disroot.org>
* 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 881cfa493d..7e3032022f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -131,6 +131,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)
@@ -3256,46 +3257,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
- [bug#42958] [PATCH core-updates 08/29] gnu: pixman: Update package definition., (continued)
- [bug#42958] [PATCH core-updates 08/29] gnu: pixman: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 24/29] gnu: json-glib: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 25/29] gnu: at-spi2-core: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 12/29] gnu: gdk-pixbuf: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 28/29] gnu: gtk+: Propagate libcloudproviders., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 20/29] gnu: wayland: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 19/29] gnu: gtk+-2: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 07/29] gnu: gobject-introspection: Add patches back., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 29/29] gnu: gtk+: Add missing input., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 15/29] gnu: vala: Update package definition.,
Danny Milosavljevic <=
- [bug#42958] [PATCH core-updates 27/29] gnu: gtk+: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 13/29] gnu: gdk-pixbuf: Disable failing tests., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 21/29] gnu: wayland-protocols: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 14/29] gnu: gdk-pixbuf+svg: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 11/29] gnu: pango: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 17/29] gnu: librsvg@2.40.21: Update package definition., Danny Milosavljevic, 2020/08/20
- [bug#42958] [PATCH core-updates 23/29] gnu: gtk-doc: Update package definition., Danny Milosavljevic, 2020/08/20