diff --git a/vala-0.56.14.tar.xz b/vala-0.56.14.tar.xz deleted file mode 100644 index 99c4106..0000000 --- a/vala-0.56.14.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9382c268ca9bdc02aaedc8152a9818bf3935273041f629c56de410e360a3f557 -size 4003276 diff --git a/vala-0.56.17.tar.xz b/vala-0.56.17.tar.xz new file mode 100644 index 0000000..b14a7c9 --- /dev/null +++ b/vala-0.56.17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26100c4e4ef0049c619275f140d97cf565883d00c7543c82bcce5a426934ed6a +size 4016576 diff --git a/vala.changes b/vala.changes index a26c92a..303d055 100644 --- a/vala.changes +++ b/vala.changes @@ -1,7 +1,90 @@ +------------------------------------------------------------------- +Tue Oct 15 11:03:54 UTC 2024 - Dominique Leuenberger + +- Eliminate usageof update-alternatives: the added complexity was + not used a single time in the 14 years we had it. + +------------------------------------------------------------------- +Fri Apr 19 13:04:36 UTC 2024 - Dominique Leuenberger + +- Update to version 0.56.17: + + Various improvements and bug fixes: + - codegen: + . Add missing initializers for private fields of + GSourceFuncs. + . Update array length variable passed to null-terminated ref + parameter. + . Properly pass through a null-terminated out argument. + . Refactor and cache parameter in loop. + . Only handle null-terminated array as such if there is no + length given. + - vala: + . Allow declaration of static nested methods (local + functions). + . Correctly use Path.build_path(). + . Point to the invalid initializer on error. + . Report invalid type in property assignment attempt. + . Inherit important attributes for Property backing field. + +------------------------------------------------------------------- +Thu Mar 14 09:19:32 UTC 2024 - Dominique Leuenberger + +- Update to version 0.56.16: + + Various improvements and bug fixes: + - girparser: Recognize usage of time_t and don't rely on given + GIR type. + - girparser: Recognize usage of off_t and don't rely on given + GIR type. + + Bindings: + - gio-2.0: Restore ApplicationCommandLine.print*_literal() to + not require 2.80. + - gmodule-2.0: Do not mark `Module.open` as deprecated. + - gtk4: Preserve compatibility with < 4.14. + - Regenerate for GIR-based bindings to pick up time_t fix (long + vs time_t). + +------------------------------------------------------------------- +Mon Mar 4 11:46:21 UTC 2024 - Dominique Leuenberger + +- Update to version 0.56.15: + + codegen: + - Use GWeakRef for [SingleInstance] constructors. + - Remove static mutex initialization. + - Correctly return FALSE on uncaught error in async ctor. + - Cast generic return value from g_ptr_array_index(). + - Don't use pre-assigned *_parent_iface field if an instance is + given. + - Emit diagnostic pragmas for GCC 14, Clang 16 compatibility. + + vala: + - Keep depfile empty if no dependencies were written. + - Treat negative integer/float ranks as non-compatible. + - Move formal_target_type when transforming + method-call/object-creation. + - Follow the logic of GIrParser.locate_gir() to find gir files. + + girparser: + - Don't blindly translate utf8 to string and check the ctype + too. + - Issue a warning for `record` inside `transparent union`. + - Don't discard explictly given ctype of parameters. + + libvaladoc: Fix build with graphviz >= 10.0.1. + + Bindings: + - glib-2.0,posix: Define _GNU_SOURCE for sincos*() + - gio-2.0: Fix pointer-sign errors of some uint8[]-typed + paramters + - gio-2.0,gmodule-2.0: Update from 2.79.x git + - gmodule-2.0: Improvements and updates from 2.76 + - gtk4: Fix GLib.Value parameter in Expression.evaluate() + - gtk4: Update to 4.13.9~f46fb7c6 + - libsoup-3.0: Don't skip uri_copy + - v4l2: Fix FrameivalEnum.stepwise type mismatch with + v4l2_frmivalenum +- Add pkgconfig(gobject-introspection-1.0) BuildRequires: new + dependency. + ------------------------------------------------------------------- Wed Nov 29 13:39:39 UTC 2023 - Frederic Crozat -- Allow to disable building valadoc as option and drop graphviz as +- Allow to disable building valadoc as option and drop graphviz as build dependency. ------------------------------------------------------------------- diff --git a/vala.spec b/vala.spec index 0d82f48..e71a150 100644 --- a/vala.spec +++ b/vala.spec @@ -1,7 +1,7 @@ # # spec file for package vala # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,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.14 +Version: 0.56.17 Release: 0 Summary: Programming language for GNOME License: LGPL-2.1-or-later @@ -39,11 +39,10 @@ BuildRequires: flex BuildRequires: glib2-devel >= 2.48.0 BuildRequires: pkgconfig BuildRequires: xsltproc +BuildRequires: pkgconfig(gobject-introspection-1.0) %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 Provides: vala-devel = %{version} Obsoletes: vala-devel < %{version} @@ -140,36 +139,8 @@ This package contains the libvaladoc development files. %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -# Setup update-alternatives -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -ln -s -f %{_sysconfdir}/alternatives/vala %{buildroot}%{_bindir}/vala -ln -s -f %{_sysconfdir}/alternatives/valac %{buildroot}%{_bindir}/valac -ln -s -f %{_sysconfdir}/alternatives/vala-gen-introspect %{buildroot}%{_bindir}/vala-gen-introspect -ln -s -f %{_sysconfdir}/alternatives/vapigen %{buildroot}%{_bindir}/vapigen -ln -s -f %{_sysconfdir}/alternatives/valac.1%{?ext_man} %{buildroot}%{_mandir}/man1/valac.1%{?ext_man} -ln -s -f %{_sysconfdir}/alternatives/vala-gen-introspect.1%{?ext_man} %{buildroot}%{_mandir}/man1/vala-gen-introspect.1%{?ext_man} -ln -s -f %{_sysconfdir}/alternatives/vapigen.1%{?ext_man}%{buildroot}%{_mandir}/man1/vapigen.1%{?ext_man} -ln -s -f %{_sysconfdir}/alternatives/vapigen.pc %{buildroot}%{_libdir}/pkgconfig/vapigen.pc %fdupes %{buildroot}%{_datadir} -%post -update-alternatives \ - --install %{_bindir}/vala vala %{_bindir}/vala-%{vala_version} \ - %{vala_priority} \ - --slave %{_bindir}/valac valac %{_bindir}/valac-%{vala_version} \ - --slave %{_bindir}/vala-gen-introspect vala-gen-introspect %{_bindir}/vala-gen-introspect-%{vala_version} \ - --slave %{_bindir}/vapigen vapigen %{_bindir}/vapigen-%{vala_version} \ - --slave %{_mandir}/man1/valac.1%{?ext_man} valac.1%{?ext_man} %{_mandir}/man1/valac-%{vala_version}.1%{?ext_man} \ - --slave %{_mandir}/man1/vala-gen-introspect.1%{?ext_man} vala-gen-introspect.1%{?ext_man} %{_mandir}/man1/vala-gen-introspect-%{vala_version}.1%{?ext_man} \ - --slave %{_mandir}/man1/vapigen.1%{?ext_man} vapigen.1%{?ext_man} %{_mandir}/man1/vapigen-%{vala_version}.1%{?ext_man} \ - --slave %{_libdir}/pkgconfig/vapigen.pc vapigen.pc %{_libdir}/pkgconfig/vapigen-%{vala_version}.pc - -%postun -# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed -if [ ! -f %{_bindir}/vala-%{vala_version} ]; then - update-alternatives --remove vala %{_bindir}/vala-%{vala_version} -fi - %ldconfig_scriptlets -n libvala-%{vala_libversion}-0 %if %{with graphviz} %ldconfig_scriptlets -n libvaladoc-%{vala_libversion}-0 @@ -186,14 +157,6 @@ fi %{_mandir}/man1/vala-gen-introspect.1%{?ext_man} %{_mandir}/man1/vapigen.1%{?ext_man} %{_libdir}/pkgconfig/vapigen.pc -%ghost %attr(755,root,root) %{_sysconfdir}/alternatives/vala -%ghost %attr(755,root,root) %{_sysconfdir}/alternatives/valac -%ghost %attr(755,root,root) %{_sysconfdir}/alternatives/vala-gen-introspect -%ghost %attr(755,root,root) %{_sysconfdir}/alternatives/vapigen -%ghost %attr(644,root,root) %{_sysconfdir}/alternatives/valac.1%{?ext_man} -%ghost %attr(644,root,root) %{_sysconfdir}/alternatives/vala-gen-introspect.1%{?ext_man} -%ghost %attr(644,root,root) %{_sysconfdir}/alternatives/vapigen.1%{?ext_man} -%ghost %attr(644,root,root) %{_sysconfdir}/alternatives/vapigen.pc %{_bindir}/vala-%{vala_version} %{_bindir}/valac-%{vala_version} %{_bindir}/vala-gen-introspect-%{vala_version}