commit 1c89ac091a0835e85236387fef6af0517efcd8c604e5074c26968f27db7c6740 Author: Dominique Leuenberger Date: Tue Dec 10 09:04:59 2024 +0000 - Update to version 299.4.0: + Remove the background-pattern (with the grid) feature. + Fix some crashes. + Fix GI annotation warnings. + Updated translations. - Add sover define. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgedit-gtksourceview?expand=0&rev=9 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..9e40c16 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview.git + 299.4.0 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/libgedit-gtksourceview-299.1.0.obscpio b/libgedit-gtksourceview-299.1.0.obscpio new file mode 100644 index 0000000..6468e4d --- /dev/null +++ b/libgedit-gtksourceview-299.1.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13a0a7b1434dce943e9da0f2ce610b069f5296b44f5d5dfee4b4ec6791242741 +size 6288397 diff --git a/libgedit-gtksourceview-299.3.0.obscpio b/libgedit-gtksourceview-299.3.0.obscpio new file mode 100644 index 0000000..8f8f9a5 --- /dev/null +++ b/libgedit-gtksourceview-299.3.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2c0410eea1c954863376a806d90bc3d73ee867a173e48e2d36c3e464f448d2b +size 6272525 diff --git a/libgedit-gtksourceview-299.4.0.obscpio b/libgedit-gtksourceview-299.4.0.obscpio new file mode 100644 index 0000000..9c6299a --- /dev/null +++ b/libgedit-gtksourceview-299.4.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86dc33fd7f61eb349ed1bb7f16dd65037b33cc95d856a510c3b4ec8af5de71c7 +size 6269965 diff --git a/libgedit-gtksourceview.changes b/libgedit-gtksourceview.changes new file mode 100644 index 0000000..3e0ff92 --- /dev/null +++ b/libgedit-gtksourceview.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Sat Dec 7 13:24:49 UTC 2024 - Bjørn Lie + +- Update to version 299.4.0: + + Remove the background-pattern (with the grid) feature. + + Fix some crashes. + + Fix GI annotation warnings. + + Updated translations. +- Add sover define. + +------------------------------------------------------------------- +Wed Oct 2 14:12:08 UTC 2024 - Dominique Leuenberger + +- Update to version 299.3.0: + + Style schemes: + - Remove GtkSourceStyleSchemeChooser interface. + - Add light-only and dark-only kinds. + - Mark classic and tango as light-only kind (so they are + unsupported with dark theme variants). + + Syntax highlighting: New *.lang file: Nix. + + Misc: Documentation updates and improvements. +- Changes from version 299.2.1: + + Bump soversion (something that was forgotten for the 299.2.0 + version). +- Changes from version 299.2.0: + + Nothing new. + +------------------------------------------------------------------- +Fri Feb 16 07:36:08 UTC 2024 - Dominique Leuenberger + +- Update to version 299.1.0: + + Continue to rework GtkSourceStyle* classes. + This includes a switch from the libxml2 to GMarkupParser. + (the libxml2 is still used for *.lang files though). + + Style schemes XML file format: + - Simplify it. + - Better document it. + - Extend it with the "kind" attribute, for light/dark schemes. + - Remove the *.rng file. + + Unit tests: + - Don't rely on environment variables to be set to run the + tests. + - Have good code coverage for what has been modified or added. +- Changes from version 299.0.5: + + Fix a bug: Alt+Down (moving line(s) down) or Alt+Up (moving + line(s) up) wrt. the undo/redo history and cursor positioning. + +------------------------------------------------------------------- +Sun Aug 13 14:32:56 UTC 2023 - Bjørn Lie + +- Update to version 299.0.4: + + Tools: list-langs, to generate a listing of *.lang files. + + Utils: add a function. + + Some small maintenance tasks. + + Updated translations. + +------------------------------------------------------------------- +Fri Jul 21 07:06:41 UTC 2023 - Dominique Leuenberger + +- Initial package, version 299.0.3. diff --git a/libgedit-gtksourceview.obsinfo b/libgedit-gtksourceview.obsinfo new file mode 100644 index 0000000..378e0ad --- /dev/null +++ b/libgedit-gtksourceview.obsinfo @@ -0,0 +1,4 @@ +name: libgedit-gtksourceview +version: 299.4.0 +mtime: 1733577224 +commit: b4d0aa5bb00a9508ecb56cd51e6c59a0576a9dd7 diff --git a/libgedit-gtksourceview.spec b/libgedit-gtksourceview.spec new file mode 100644 index 0000000..1dc91f7 --- /dev/null +++ b/libgedit-gtksourceview.spec @@ -0,0 +1,98 @@ +# +# spec file for package libgedit-gtksourceview +# +# 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 sover 3 + +Name: libgedit-gtksourceview +Version: 299.4.0 +Release: 0 +Summary: Source code editing widget +License: LGPL-2.1-or-later +URL: https://gedit-technology.net/ +Source: %{name}-%{version}.tar.zst +BuildRequires: gtk-doc +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gio-2.0) >= 2.74 +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 +BuildRequires: pkgconfig(libxml-2.0) + +%description +libgedit-gtksourceview is a library that extends GtkTextView, the standard GTK +widget for multiline text editing. This library adds support for syntax +highlighting, undo/redo, file loading and saving, search and replace, a +completion system, printing, displaying line numbers, and other features typical +of a source code editor. + +%lang_package + +%package -n typelib-1_0-GtkSource-300 +Summary: libgedit-gtksourceview's GObject introspection bindings + +%description -n typelib-1_0-GtkSource-300 +The GObject introspection bindings for libgedit-gtksourceview library. + +%package -n libgedit-gtksourceview-300-%{sover} +Summary: libgedit-gtksourceview shared library +Requires: %{name} >= %{version} + +%description -n libgedit-gtksourceview-300-%{sover} +The libgedit-gtksourceview shared library. + +%package devel +Summary: Source code editing widget development headers +Requires: libgedit-gtksourceview-300-%{sover} = %{version} +Requires: typelib-1_0-GtkSource-300 = %{version} + +%description devel +Development files related to libgedit-gtksourceview. + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang libgedit-gtksourceview-300 + +%ldconfig_scriptlets -n libgedit-gtksourceview-300-%{sover} + +%files +%license COPYING +%{_datadir}/libgedit-gtksourceview-300/ + +%files -n typelib-1_0-GtkSource-300 +%{_libdir}/girepository-1.0/GtkSource-300.typelib + +%files -n libgedit-gtksourceview-300-%{sover} +%{_libdir}/libgedit-gtksourceview-300.so.* + +%files devel +%{_libdir}/libgedit-gtksourceview-300.so +%{_includedir}/libgedit-gtksourceview-300 +%{_libdir}/pkgconfig/libgedit-gtksourceview-300.pc +%{_datadir}/gir-1.0/GtkSource-300.gir +%{_datadir}/gtk-doc/html/libgedit-gtksourceview-300 + +%files lang -f libgedit-gtksourceview-300.lang + +%changelog