Forward update from G:A to G:Factory - moving devel prj there
- Update to version 0.4.1: + Fixes an important issue tracking weak pointers from a GtkTextBuffer. + Fixes an important issue where we could get invalid text iters from GtkTextBuffer::delete-range() after the deletion occurred when other signal handlers are in play. - Update to version 0.4.0: + This is a stable release for GNOME 47.0. + Protect the SpellingEngine from systems with misconfigured dictionaries. + Protect the SpellingTextBufferAdapter from NULL language codes. + Protect the SpellingJob from uncooperative break chars which could result in zero length runs. + Fix some incorrect licenses. - Changes from version 0.3.1: + Immediately clear tags for invalidated regions without round-tripping to the checker thread. + Bump soname for ABI changes in 0.3 + Fix licenses to be LGPLv2.1+ + Add sysprof profiler marks for performance profiling + Update example so people know to copy the button-press work to update the menu immediately. + Fix pkg-config fields + Fix libspelling usage from subproject + Make introspection building optional + Documentation improvements - Pass sysprof=false to meson configure, do not build the profiler support at this time. - Add so_ver and api_ver define, and set them to 1-2 and 1 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libspelling?expand=0&rev=2
This commit is contained in:
parent
a3c7671b97
commit
0f789b1c73
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a787b467bd493f6baffb44138dbc4bef78aaab60efb76a7db88b243bf0f6343
|
||||
size 46136
|
3
libspelling-0.4.1.tar.xz
Normal file
3
libspelling-0.4.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2285e5e6e102f8e32c7aaaed3352a76138c8e8696551e9d1bc19651a0aa5eac7
|
||||
size 62500
|
@ -1,3 +1,69 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 12:57:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 0.4.1:
|
||||
+ Fixes an important issue tracking weak pointers from a
|
||||
GtkTextBuffer.
|
||||
+ Fixes an important issue where we could get invalid text iters
|
||||
from GtkTextBuffer::delete-range() after the deletion occurred
|
||||
when other signal handlers are in play.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 10:30:12 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.4.0:
|
||||
+ This is a stable release for GNOME 47.0.
|
||||
+ Protect the SpellingEngine from systems with misconfigured
|
||||
dictionaries.
|
||||
+ Protect the SpellingTextBufferAdapter from NULL language codes.
|
||||
+ Protect the SpellingJob from uncooperative break chars which
|
||||
could result in zero length runs.
|
||||
+ Fix some incorrect licenses.
|
||||
- Changes from version 0.3.1:
|
||||
+ Immediately clear tags for invalidated regions without
|
||||
round-tripping to the checker thread.
|
||||
+ Bump soname for ABI changes in 0.3
|
||||
+ Fix licenses to be LGPLv2.1+
|
||||
+ Add sysprof profiler marks for performance profiling
|
||||
+ Update example so people know to copy the button-press work to
|
||||
update the menu immediately.
|
||||
+ Fix pkg-config fields
|
||||
+ Fix libspelling usage from subproject
|
||||
+ Make introspection building optional
|
||||
+ Documentation improvements
|
||||
- Pass sysprof=false to meson configure, do not build the profiler
|
||||
support at this time.
|
||||
- Add so_ver and api_ver define, and set them to 1-2 and 1
|
||||
respectivly.
|
||||
- Add myspell-en_US BuildRequires: Needed for tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 19:54:43 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.3.0:
|
||||
+ This is an unstable release for GNOME 47.beta.
|
||||
+ The highlight for this release is a new threaded spellchecking
|
||||
engine. It performs text analysis and dictionary lookups in
|
||||
bulk off the UI thread. Care is taken to catch collisions in
|
||||
the face of user editing while spellchecking operations are in
|
||||
flight.
|
||||
+ I expect a significant reduction in initial spellchecking time
|
||||
after opening a document. Opening `gtktextbuffer.c` in Text
|
||||
Editor was more than 8x faster.
|
||||
+ Currently, libspelling relies on GTK main until 4.15.5 is
|
||||
released so do keep this in mind if you are a distributor.
|
||||
+ Some API has changed, though that is unlikely to affect any
|
||||
known applications using libspelling.
|
||||
+ Many new unit tests are part of the testsuite
|
||||
+ SpellingLanguage was renamed to SpellingDictionary
|
||||
+ SpellingLanguageInfo was renamed to SpellingLanguage
|
||||
+ Various helpers were added to SpellingTextBufferAdapter so
|
||||
that they can update spelling menus. Applications that update
|
||||
the cursor position on clicks before showing menus may want to
|
||||
force the menu updating before `menu.popup`.
|
||||
+ SpellingTextBufferAdapter now uses the new
|
||||
GtkTextBufferCommitNotify API in GTK 4.15.5 and newer.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 08:46:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -16,13 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%define so_ver 1-2
|
||||
%define api_ver 1
|
||||
|
||||
Name: libspelling
|
||||
Version: 0.2.1
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: A spellcheck library for GTK 4
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://gitlab.gnome.org/chergert/libspelling
|
||||
Source: https://download.gnome.org/sources/libspelling/0.2/%{name}-%{version}.tar.xz
|
||||
Source: https://download.gnome.org/sources/libspelling/0.4/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: meson
|
||||
@ -31,10 +34,12 @@ BuildRequires: pkgconfig(enchant-2)
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.15.5
|
||||
BuildRequires: pkgconfig(gtksourceview-5)
|
||||
BuildRequires: pkgconfig(icu-uc)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
# For tests
|
||||
BuildRequires: myspell-en_US
|
||||
|
||||
%description
|
||||
A spellcheck library for GTK 4.
|
||||
@ -42,13 +47,13 @@ This library is heavily based upon GNOME Text Editor and GNOME
|
||||
Builder's spellcheck implementation. However, it is licensed
|
||||
LGPL-2.1-or-later
|
||||
|
||||
%package -n libspelling1-1
|
||||
%package -n libspelling%{so_ver}
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n libspelling1-1
|
||||
%description -n libspelling%{so_ver}
|
||||
Shared libraries for %{name}.
|
||||
|
||||
%package -n typelib-1_0-Spelling-1
|
||||
%package -n typelib-1_0-Spelling-%{api_ver}
|
||||
Summary: Introspection file for %{name}
|
||||
|
||||
%description -n typelib-1_0-Spelling-1
|
||||
@ -56,8 +61,8 @@ Introspection file for %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: libspelling1-1 = %{version}
|
||||
Requires: typelib-1_0-Spelling-1 = %{version}
|
||||
Requires: libspelling%{so_ver} = %{version}
|
||||
Requires: typelib-1_0-Spelling-%{api_ver} = %{version}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
@ -67,7 +72,9 @@ developing applications that use %{name}.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson \
|
||||
-D sysprof=false \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@ -76,25 +83,25 @@ developing applications that use %{name}.
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%ldconfig_scriptlets -n libspelling1-1
|
||||
%ldconfig_scriptlets -n libspelling%{so_ver}
|
||||
|
||||
%files -n libspelling1-1
|
||||
%files -n libspelling%{so_ver}
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_libdir}/libspelling-1.so.1*
|
||||
%{_libdir}/libspelling-%{api_ver}.so.*
|
||||
|
||||
%files -n typelib-1_0-Spelling-1
|
||||
%{_libdir}/girepository-1.0/Spelling-1.typelib
|
||||
%files -n typelib-1_0-Spelling-%{api_ver}
|
||||
%{_libdir}/girepository-1.0/Spelling-%{api_ver}.typelib
|
||||
|
||||
%files devel
|
||||
%doc %{_datadir}/doc/libspelling-1/
|
||||
%{_includedir}/libspelling-1
|
||||
%{_libdir}/libspelling-1.so
|
||||
%{_libdir}/pkgconfig/libspelling-1.pc
|
||||
%{_datadir}/gir-1.0/Spelling-1.gir
|
||||
%doc %{_datadir}/doc/libspelling-%{api_ver}/
|
||||
%{_includedir}/libspelling-%{api_ver}
|
||||
%{_libdir}/libspelling-%{api_ver}.so
|
||||
%{_libdir}/pkgconfig/libspelling-%{api_ver}.pc
|
||||
%{_datadir}/gir-1.0/Spelling-%{api_ver}.gir
|
||||
%dir %{_datadir}/vala
|
||||
%dir %{_datadir}/vala/vapi
|
||||
%{_datadir}/vala/vapi/libspelling-1.deps
|
||||
%{_datadir}/vala/vapi/libspelling-1.vapi
|
||||
%{_datadir}/vala/vapi/libspelling-%{api_ver}.deps
|
||||
%{_datadir}/vala/vapi/libspelling-%{api_ver}.vapi
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user