Accepting request 963616 from GNOME:Factory

GNOME 42 - ready for impact

OBS-URL: https://build.opensuse.org/request/show/963616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtksourceview5?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2022-03-23 19:16:37 +00:00 committed by Git OBS Bridge
commit 41576f5e54
4 changed files with 116 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9b34fa02654f56ce22fa08827d89db4ba81631b2e6d7d31ea65d13c729430e9
size 1206200

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:003bc217e670a8ec8aa3aece994b70e70b7d6b8074938adda21718555d84e637
size 1259684

View File

@ -1,3 +1,105 @@
-------------------------------------------------------------------
Sun Mar 20 09:22:30 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 5.4.0:
+ Style updates for Adwaita, Adwaita-dark, solarized-light,
solarized-dark, Classic, and a new Cobalt-light variant.
+ Language improvements for C, C++, GTK-DOC, and JSON.
+ Various header fixes.
+ Additional API to append/prepend search paths for language
manager.
+ Allow loading language specifications via GResources.
+ A new "weight" attribute for style schemes which allows more
control than just bold="true".
+ Various Vim emulation fixes.
+ GtkSourceView now requires GTK 4.6 for various CSS improv.
+ Updated translations.
-------------------------------------------------------------------
Mon Jan 10 12:07:39 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 5.3.2:
+ Support ctrl+shift+v in Vim insert mode to paste similar to
terminal.
+ Improve placement of H/L movements in Vim emulation.
+ Various build system improvements.
+ Fix running testsuite before installation.
+ Bump GTK required version to match actual requirements in code.
+ Remove CSS line-height usage until we can depend on GTK 4.6.
-------------------------------------------------------------------
Fri Jan 7 14:59:06 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 5.3.1:
+ python3.lang: add support for .pyi glob and f-strings.
+ c.lang: Hightlight _t and _T types.
+ rust.lang: You can now style lifetime and self in style
schemes.
+ javascript.lang: Support for shebang's have been added.
+ GObject Introspection improvements.
+ Fixes to work around improper selections in some style-schemes.
+ Vim: many improvements to and compatibility fixes in emulation.
+ Tracing: More modules now use sysprof for tracing information.
+ Ctrl+shift+u works again when auto-indent is enabled, which was
stealing input before ctrl+shift+u could process the unicode
input.
+ Gutter renderers now more aggresively cache color information
for drawing highlights and more.
+ GtkSourceGutterRendererLines avoids using GMarkup just for bold
attributes as using a single referenced PangoAttrList is
faster.
+ Adwaita and Adwaita-dark have been updated and improved along
with more specific highlighting for a number of languages.
+ You can now set `bold="false"` on current-line-number to
disable bold weight on the current line number.
+ Drawing of background grids have been improved when margins are
used as well as trying harder to align to the character grid
and taking CSS line-height into account when possible.
+ Current line number is no longer drawn specially when
selections are active. The highlight-current-line is also
disabled during selections.
+ GtkSourceFileLoader now tries to use aligned pages when loading
buffers from storage and reads in a multiple of the page size.
+ Build fixes for macOS.
+ Updated translations.
-------------------------------------------------------------------
Wed Jan 5 20:33:29 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 5.3.0:
+ Documentation has been updated to use gi-docgen.
+ Style schemes now support the <metadata> tag similar to
languages.
+ Selections for most style schemes bundled with GtkSourceView
are now translucent and do not modify the foreground color.
+ The Vala bindings have moved from the Gtk namespace to the
GtkSource namespace to match the bindings in all other
languages.
+ A new Vim emulator in the form of GtkSourceVimIMContext. This
can emulate basic features such as Normal, Insert, Replace,
Visual, Visual Line, and Command Bar modes. Additionally, many
Vim-style motions and text-objects are supported.
+ Updated language specs: rst.lang, c.lang, cpp.lang, vala.lang,
spice.lang, lean.lang, and yara.lang.
+ Updated style schemes which improve the quality of output when
used with non-standard GTK themes.
+ A new GtkSourceStyleSchemePreview widget.
+ The GtkSourceStyleSchemeChooserWidget now uses
GtkSourceStyleSchemePreview to display style schemes.
+ Improve autocompletion styling when used with libadwaita.
+ Improvements to cell alignment in the gutter particularly
useful when the CSS line-height attribute is used.
+ Many fit-n-finish improvements to GtkSourceMap.
+ The gutter line renderer now adapts to more situations where it
will need to redraw based on highlight-current-line.
+ Build system improvements.
+ Updated translations.
- Replace gtk-doc BuildRequires with python3-gi-docgen: follow
upstreams port to gi-docgen.
- Fix rpmlint warning: use explicit dependency on
libgtksourceview-5-0 from -devel package instead of relying on
the virtual %{name} provides.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 3 19:38:43 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com> Fri Sep 3 19:38:43 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gtksourceview5 # spec file for package gtksourceview5
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 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
@ -18,25 +18,25 @@
%define _name gtksourceview %define _name gtksourceview
Name: gtksourceview5 Name: gtksourceview5
Version: 5.2.0 Version: 5.4.0
Release: 0 Release: 0
Summary: GTK+ Source Editing Widget Summary: GTK+ Source Editing Widget
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: System/GUI/GNOME Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Projects/GtkSourceView URL: https://wiki.gnome.org/Projects/GtkSourceView
Source0: https://download.gnome.org/sources/gtksourceview/5.2/%{_name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gtksourceview/5.4/%{_name}-%{version}.tar.xz
Source1: changes.lang Source1: changes.lang
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel >= 1.70
BuildRequires: gtk-doc BuildRequires: meson >= 0.59.0
BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-gi-docgen
BuildRequires: vala BuildRequires: vala
BuildRequires: valgrind BuildRequires: valgrind
BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(gio-2.0) >= 2.70
BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.70
BuildRequires: pkgconfig(gtk4) >= 4.2 BuildRequires: pkgconfig(gtk4) >= 4.4
BuildRequires: pkgconfig(libxml-2.0) >= 2.6 BuildRequires: pkgconfig(libxml-2.0) >= 2.6
%description %description
@ -75,7 +75,7 @@ GtkSourceView.
%package devel %package devel
Summary: GTK+ Source Editing Widget Summary: GTK+ Source Editing Widget
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: %{name} = %{version} Requires: libgtksourceview-5-0 = %{version}
Requires: typelib-1_0-GtkSource-5 = %{version} Requires: typelib-1_0-GtkSource-5 = %{version}
%description devel %description devel
@ -120,8 +120,8 @@ install -m 644 %{S:1} %{buildroot}%{_datadir}/gtksourceview-5/language-specs/
%{_includedir}/gtksourceview-5/ %{_includedir}/gtksourceview-5/
%{_libdir}/libgtksourceview-5.so %{_libdir}/libgtksourceview-5.so
%{_libdir}/pkgconfig/gtksourceview-5.pc %{_libdir}/pkgconfig/gtksourceview-5.pc
%{_datadir}/doc/%{name}/
%{_datadir}/gir-1.0/GtkSource-5.gir %{_datadir}/gir-1.0/GtkSource-5.gir
%{_datadir}/gtk-doc/html/gtksourceview-5.0/
%dir %{_datadir}/vala/vapi %dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gtksourceview-5.* %{_datadir}/vala/vapi/gtksourceview-5.*