Sync from SUSE:SLFO:Main vala revision 7eb5bbdb88c13310b52f2a602358d79f
This commit is contained in:
parent
e8923efdbf
commit
75b6f71e48
BIN
vala-0.56.14.tar.xz
(Stored with Git LFS)
BIN
vala-0.56.14.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
vala-0.56.17.tar.xz
(Stored with Git LFS)
Normal file
BIN
vala-0.56.17.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
85
vala.changes
85
vala.changes
@ -1,7 +1,90 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 15 11:03:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- 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 <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- 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 <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- 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 <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- 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 <fcrozat@suse.com>
|
Wed Nov 29 13:39:39 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
- Allow to disable building valadoc as option and drop graphviz as
|
- Allow to disable building valadoc as option and drop graphviz as
|
||||||
build dependency.
|
build dependency.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
43
vala.spec
43
vala.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vala
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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.
|
# decimal separator, hoping they will not get to the idea to create a 0.100 release.
|
||||||
%define vala_priority 56
|
%define vala_priority 56
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.56.14
|
Version: 0.56.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Programming language for GNOME
|
Summary: Programming language for GNOME
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -39,11 +39,10 @@ BuildRequires: flex
|
|||||||
BuildRequires: glib2-devel >= 2.48.0
|
BuildRequires: glib2-devel >= 2.48.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
%if %{with graphviz}
|
%if %{with graphviz}
|
||||||
BuildRequires: pkgconfig(libgvc) >= 2.16
|
BuildRequires: pkgconfig(libgvc) >= 2.16
|
||||||
%endif
|
%endif
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
# Vala is a compiler, so it's also a devel package
|
# Vala is a compiler, so it's also a devel package
|
||||||
Provides: vala-devel = %{version}
|
Provides: vala-devel = %{version}
|
||||||
Obsoletes: vala-devel < %{version}
|
Obsoletes: vala-devel < %{version}
|
||||||
@ -140,36 +139,8 @@ This package contains the libvaladoc development files.
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
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}
|
%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
|
%ldconfig_scriptlets -n libvala-%{vala_libversion}-0
|
||||||
%if %{with graphviz}
|
%if %{with graphviz}
|
||||||
%ldconfig_scriptlets -n libvaladoc-%{vala_libversion}-0
|
%ldconfig_scriptlets -n libvaladoc-%{vala_libversion}-0
|
||||||
@ -186,14 +157,6 @@ fi
|
|||||||
%{_mandir}/man1/vala-gen-introspect.1%{?ext_man}
|
%{_mandir}/man1/vala-gen-introspect.1%{?ext_man}
|
||||||
%{_mandir}/man1/vapigen.1%{?ext_man}
|
%{_mandir}/man1/vapigen.1%{?ext_man}
|
||||||
%{_libdir}/pkgconfig/vapigen.pc
|
%{_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}/vala-%{vala_version}
|
||||||
%{_bindir}/valac-%{vala_version}
|
%{_bindir}/valac-%{vala_version}
|
||||||
%{_bindir}/vala-gen-introspect-%{vala_version}
|
%{_bindir}/vala-gen-introspect-%{vala_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user