Sync from SUSE:SLFO:Main vala revision fa4fef438fb18d79f361e7e99c46689e

This commit is contained in:
Adrian Schröter 2024-07-22 17:47:49 +02:00
parent 5673a03565
commit e8923efdbf
4 changed files with 131 additions and 4 deletions

BIN
vala-0.56.14.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
vala-0.56.7.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,114 @@
-------------------------------------------------------------------
Wed Nov 29 13:39:39 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Allow to disable building valadoc as option and drop graphviz as
build dependency.
-------------------------------------------------------------------
Mon Nov 13 11:25:35 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.14:
+ Various improvements and bug fixes:
- codegen: Generate compatible wrapper of ref-void functions
- vala: Prevent usage of strlen() on non-null-terminated string
+ Bindings:
- glib-2.0: Add new symbols from 2.78
- gstreamer-1.0: Make ElementFactory.make()'s name parameter
default to null
- gtk4-wayland: Add the missing wayland-client bindings
- wayland-client: Complete the binding
-------------------------------------------------------------------
Wed Aug 30 07:36:48 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.13:
+ Bindings: gtk4: Restore CssProvider.load_from_data() signature
to take an array.
-------------------------------------------------------------------
Sat Aug 19 12:14:05 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.12:
+ Regression fix: vala: Only transform default initializers of
parameters.
+ Bindings: gtk4: Preserve compatibility with <= 4.8.x.
-------------------------------------------------------------------
Sun Aug 13 12:08:07 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.11:
+ Various improvements and bug fixes:
- vala: Infer generic type from typeof() initializer of
parameters
- girparser: Support glib:ref-func, glib:unref-func,
copy-function and free-function
+ Bindings: gtk4: Update to 4.12.0
-------------------------------------------------------------------
Sat Aug 5 10:44:21 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.10:
+ Various improvements and bug fixes:
- codegen: Don't emit casts in static field initializers
- parser: Reset tokens buffer when parsing a new source file
- vala:
. Output additional information when accessing unknown member
. Allow "set" method of an container to return void or bool
. Correctly handle possible null from
SourceFile.get_source_line()
+ Bindings:
- glib-2.0: Update return-type of
HashTable.add/insert/replace() and GenericSet.add()
- linux: Add resolution field to Input.AbsInfo
- libpq: Fix a few binding errors
-------------------------------------------------------------------
Sun Jul 2 09:17:18 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.9:
+ Various improvements and bug fixes:
- codegen:
. Add missing EXTERN flag for GType function of error
domains.
. Improve handling of sealed classes.
- vala: Report an error when trying to chain up to inaccessible
private ctor.
- vala: Fix spaces for attributes when writing property
accessors.
- girwriter: Fix c:type attribute for real struct parameters.
- testrunner: Add support to check generated header.
- manual: Update from wiki.gnome.org.
+ Bindings:
- gio-2.0: Ease implemention of GLib.ActionGroup.
- glib-2.0:
. Fix return-type of GLib.SourceOnceFunc.
. Add ConvertError.{NO_MEMORY,EMBEDDED_NUL}.
- gtk4: Pick up fix for Gdk.Toplevel.compute_size.size
parameter.
- vapi: Add documentation to GLib.Math that '-X -lm' may be
needed when compiling.
-------------------------------------------------------------------
Fri May 26 13:18:09 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.56.8:
+ Various improvements and bug fixes:
- codegen: Include "glib-object.h" when using
GType/GBoxedCopyFunc.
- valadoc:
. Backing method of lambda-expression isn't included in
valadoc AST.
. Add girwriter test.
- build:
. Improve usage of AC_PATH_PROG() for valacs.
. valadoc requires valac 0.18.1.
+ Bindings:
- gio-2.0: Add new symbols from 2.76.
- glib-2.0:
. Add new symbols from 2.76.
. Fix binding of g_variant_type_n_items().
- gtk4: Don't skip AlertDialog ctor.
-------------------------------------------------------------------
Tue Apr 18 09:17:26 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -16,6 +16,9 @@
#
# graphviz is needed only for valadoc
%bcond_without graphviz
%define vala_version 0.56
%define vala_libversion 0_56
# The priority defines which version of vala, in case of multiple ones are installed
@ -23,7 +26,7 @@
# decimal separator, hoping they will not get to the idea to create a 0.100 release.
%define vala_priority 56
Name: vala
Version: 0.56.7
Version: 0.56.14
Release: 0
Summary: Programming language for GNOME
License: LGPL-2.1-or-later
@ -36,7 +39,9 @@ BuildRequires: flex
BuildRequires: glib2-devel >= 2.48.0
BuildRequires: pkgconfig
BuildRequires: xsltproc
%if %{with graphviz}
BuildRequires: pkgconfig(libgvc) >= 2.16
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
# Vala is a compiler, so it's also a devel package
@ -66,6 +71,7 @@ Provides: libvala-devel = %{version}
%description -n libvala-%{vala_libversion}-devel
Development files for the Vala runtime library.
%if %{with graphviz}
%package -n valadoc
Summary: Generator for API documentation from Vala source
Group: Development/Tools/Building
@ -118,12 +124,16 @@ Valadoc is a documentation generator for generating API documentation
from Vala source code.
This package contains the libvaladoc development files.
%endif
%prep
%autosetup -p1
%build
%configure \
%if %{without graphviz}
--disable-valadoc \
%endif
%{nil}
%make_build
@ -161,7 +171,9 @@ if [ ! -f %{_bindir}/vala-%{vala_version} ]; then
fi
%ldconfig_scriptlets -n libvala-%{vala_libversion}-0
%if %{with graphviz}
%ldconfig_scriptlets -n libvaladoc-%{vala_libversion}-0
%endif
%files
%license COPYING
@ -197,6 +209,7 @@ fi
%{_datadir}/vala-%{vala_version}/
%{_libdir}/vala-%{vala_version}/
%if %{with graphviz}
%files -n valadoc
%{_bindir}/valadoc
%{_bindir}/valadoc-%{vala_version}
@ -216,12 +229,15 @@ fi
%dir %{_libdir}/valadoc-%{vala_version}
%dir %{_libdir}/valadoc-%{vala_version}/doclets
%{_libdir}/valadoc-%{vala_version}/doclets/html/
%endif
%files -n libvala-%{vala_libversion}-0
%{_libdir}/libvala-%{vala_version}.so.*
%if %{with graphviz}
%files -n libvaladoc-%{vala_libversion}-0
%{_libdir}/libvaladoc-%{vala_version}.so.*
%endif
%files -n libvala-%{vala_libversion}-devel
%{_includedir}/vala-%{vala_version}/