New stable rel
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libspelling?expand=0&rev=5
This commit is contained in:
commit
4759c0bad6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://gitlab.gnome.org/GNOME/libspelling.git</param>
|
||||||
|
<param name="revision">0.4.3</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">v?(.*)\+0</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<!-- <param name="changesgenerate">enable</param> -->
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">zst</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
</services>
|
3
libspelling-0.4.2.obscpio
Normal file
3
libspelling-0.4.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a03855903acdd73f5bc17ad958d6bda00d80fcaf4e259ab5c18ae611e76900df
|
||||||
|
size 418315
|
3
libspelling-0.4.3.obscpio
Normal file
3
libspelling-0.4.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7d4a21ea1e3918d80f914ace5f19607a5b118581d14d63d825b8d4e9f1679f0
|
||||||
|
size 419851
|
109
libspelling.changes
Normal file
109
libspelling.changes
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 06:03:32 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.3:
|
||||||
|
+ Fix build to disable assertions in release builds
|
||||||
|
+ Fix an off-by-one in assertion
|
||||||
|
+ Add i18n for translations of menu entries
|
||||||
|
+ Ignore empty strings when building job list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 4 19:02:50 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 0.4.2:
|
||||||
|
+ Limit the number of corrections to 10 in enchant backend to
|
||||||
|
help with dictionary configurations which produce many results.
|
||||||
|
+ Hide add/ignore menu items when disabled.
|
||||||
|
+ Don't show word corrections when spellcheck is disabled.
|
||||||
|
- Switch to source service for tarball.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Update to version 0.2.1:
|
||||||
|
+ Fix licenses to all be LGPLv2.1+.
|
||||||
|
+ Fix handling of cursor-moved signal.
|
||||||
|
- Drop 6d26ffd30c78b7f255b1665fac3fb88960ea01ba.patch: fixed
|
||||||
|
upstream.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 08:54:59 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Fix build with RPM 4.19: unnumbered patches are no longer
|
||||||
|
supported.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 5 06:51:58 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Add check section, run meson_test macro during build.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 17 07:34:45 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Initial packaging for openSUSE.
|
4
libspelling.obsinfo
Normal file
4
libspelling.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: libspelling
|
||||||
|
version: 0.4.3
|
||||||
|
mtime: 1729051783
|
||||||
|
commit: d873853d5308d1adcd5b2d7a0a1adcc01510271a
|
107
libspelling.spec
Normal file
107
libspelling.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libspelling
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define so_ver 1-2
|
||||||
|
%define api_ver 1
|
||||||
|
|
||||||
|
Name: libspelling
|
||||||
|
Version: 0.4.3
|
||||||
|
Release: 0
|
||||||
|
Summary: A spellcheck library for GTK 4
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
URL: https://gitlab.gnome.org/chergert/libspelling
|
||||||
|
Source: %{name}-%{version}.tar.zst
|
||||||
|
|
||||||
|
BuildRequires: c_compiler
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(enchant-2)
|
||||||
|
BuildRequires: pkgconfig(gi-docgen)
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
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.
|
||||||
|
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 libspelling%{so_ver}
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n libspelling%{so_ver}
|
||||||
|
Shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n typelib-1_0-Spelling-%{api_ver}
|
||||||
|
Summary: Introspection file for %{name}
|
||||||
|
|
||||||
|
%description -n typelib-1_0-Spelling-1
|
||||||
|
Introspection file for %{name}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
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
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson \
|
||||||
|
-D sysprof=false \
|
||||||
|
%{nil}
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libspelling%{so_ver}
|
||||||
|
|
||||||
|
%files -n libspelling%{so_ver}
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README.md
|
||||||
|
%{_libdir}/libspelling-%{api_ver}.so.*
|
||||||
|
|
||||||
|
%files -n typelib-1_0-Spelling-%{api_ver}
|
||||||
|
%{_libdir}/girepository-1.0/Spelling-%{api_ver}.typelib
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%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-%{api_ver}.deps
|
||||||
|
%{_datadir}/vala/vapi/libspelling-%{api_ver}.vapi
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user