diff --git a/.gitignore b/.gitignore index 81cef25..c2c1715 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gtksourceview-5.2.0.tar.xz +/gtksourceview-5.3.1.tar.xz diff --git a/32-bit-int-fix.patch b/32-bit-int-fix.patch deleted file mode 100644 index a03b620..0000000 --- a/32-bit-int-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/gtksourceview/implregex.c b/gtksourceview/implregex.c -index 7cb9a18a..b8eb8137 100644 ---- a/gtksourceview/implregex.c -+++ b/gtksourceview/implregex.c -@@ -236,7 +236,7 @@ impl_regex_new (const char *pattern, - - #ifdef GTK_SOURCE_PROFILER_ENABLED - if (GTK_SOURCE_PROFILER_ACTIVE) -- message = g_strdup_printf ("compile=%lx match=%lx pattern=%s", -+ message = g_strdup_printf ("compile=%"G_GSIZE_MODIFIER"x match=%"G_GSIZE_MODIFIER"x pattern=%s", - regex->compile_flags, - regex->match_flags, - regex->pattern); diff --git a/gtksourceview5.spec b/gtksourceview5.spec index dbf5fb5..d80c361 100644 --- a/gtksourceview5.spec +++ b/gtksourceview5.spec @@ -1,21 +1,20 @@ -%global glib_version 2.66 +%global glib_version 2.70 %global gtk_version 4.2 %global api_ver 5 Name: gtksourceview5 -Version: 5.2.0 +Version: 5.3.1 Release: 1%{?dist} Summary: Source code editing widget License: LGPLv2+ URL: https://wiki.gnome.org/Projects/GtkSourceView -Source0: https://download.gnome.org/sources/gtksourceview/%{api_ver}.2/gtksourceview-%{version}.tar.xz -Patch0: 32-bit-int-fix.patch +Source0: https://download.gnome.org/sources/gtksourceview/%{api_ver}.3/gtksourceview-%{version}.tar.xz BuildRequires: gcc BuildRequires: gettext -BuildRequires: gtk-doc +BuildRequires: gi-docgen BuildRequires: itstool BuildRequires: meson BuildRequires: pkgconfig(fontconfig) @@ -73,6 +72,7 @@ the functionality of the installed %{name} package. %files -f gtksourceview-%{api_ver}.lang %license COPYING +%doc NEWS README.md %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/GtkSource-%{api_ver}.typelib %{_libdir}/libgtksourceview-%{api_ver}.so.0* @@ -85,9 +85,7 @@ the functionality of the installed %{name} package. %{_libdir}/libgtksourceview-%{api_ver}.so %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/GtkSource-%{api_ver}.gir -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%{_datadir}/gtk-doc/html/* +%{_datadir}/doc/gtksourceview5 %{_datadir}/vala %files tests @@ -96,5 +94,8 @@ the functionality of the installed %{name} package. %{_datadir}/installed-tests %changelog +* Sat Jan 08 2022 David King - 5.3.1-1 +- Update to 5.3.1 + * Mon Oct 25 2021 Amanda Graven - 5.2.0-1 - Initial packaging of GtkSourceView 5 diff --git a/sources b/sources index 181edf7..220ab2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gtksourceview-5.2.0.tar.xz) = 0d71b0340b11b3aadfff662abbaa8606cda696c256855201e559b144b124d6e7c87aee5ea1407928f549b0a5e8480c669403fe73ad76520c2214635a1a31bf52 +SHA512 (gtksourceview-5.3.1.tar.xz) = 3ee674c0e1b7e205bc2c8fd375dfec1cbc9f1870c16876e8b164db4b779b5a06b33069cbd97e66ce348a28402bddefb781844730dc447b5089fa3ce2f042d444