1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: vala@0.52: Update to 0.52.11.

* gnu/packages/gnome.scm (vala-0.52): Update to 0.52.11.
* gnu/packages/patches/vala-0.52-fix-valagirparser.patch: Adjust accordingly.
This commit is contained in:
Liliana Marie Prikler
2025-04-11 19:58:35 +02:00
committed by Andreas Enge
parent 336f3491bb
commit d0fe72f6a8
2 changed files with 4 additions and 4 deletions

View File

@@ -4522,7 +4522,7 @@ targeting the GNOME stack simple.")
;;; An older variant kept to build libsoup-minimal-2.
(define-public vala-0.52
(package/inherit vala
(version "0.52.0")
(version "0.52.11")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/vala/"
@@ -4530,7 +4530,7 @@ targeting the GNOME stack simple.")
"vala-" version ".tar.xz"))
(sha256
(base32
"12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))
"0xvhg32sxnfyvxn86hh9mn65mh1g189vhsjcahccj0zbwnrkqz3w"))
(patches (search-patches "vala-0.52-fix-valagirparser.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments vala)

View File

@@ -16,7 +16,7 @@ Index: vala-0.52.0/vala/valagirparser.c
_tmp31_ = _tmp30_;
if (g_strcmp0 (_tmp31_, "c:include") == 0) {
vala_gir_parser_parse_c_include (self);
+ } else if (g_strcmp0 (_tmp31_, "doc:format") == 0) {
+ } else if (g_strcmp0 (_tmp30_, "doc:format") == 0) {
+ vala_gir_parser_skip_element (self);
} else {
ValaSourceReference* _tmp32_;
@@ -42,7 +42,7 @@ Index: vala-0.52.0/libvaladoc/importer/girdocumentationimporter.c
_tmp21_ = _tmp20_;
if (g_strcmp0 (_tmp21_, "c:include") == 0) {
valadoc_importer_gir_documentation_importer_parse_c_include (self);
+ } else if (g_strcmp0 (_tmp21_, "doc:format") == 0) {
+ } else if (g_strcmp0 (_tmp20_, "doc:format") == 0) {
+ valadoc_importer_gir_documentation_importer_skip_element (self);
} else {
ValaMarkupReader* _tmp22_;