[packages/gnome-text-editor] - updated to 42.0 - added no-update patch (don't require gtk4-update-icon-cache at build time)
qboosh
qboosh at pld-linux.org
Fri Apr 15 21:29:53 CEST 2022
commit 49055e9b398da86c94103195a2937ef380034acf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 15 21:30:02 2022 +0200
- updated to 42.0
- added no-update patch (don't require gtk4-update-icon-cache at build time)
gnome-text-editor-no-update.patch | 12 ++++++++++++
gnome-text-editor.spec | 28 +++++++++++++++++-----------
2 files changed, 29 insertions(+), 11 deletions(-)
---
diff --git a/gnome-text-editor.spec b/gnome-text-editor.spec
index c139f8c..32d09c9 100644
--- a/gnome-text-editor.spec
+++ b/gnome-text-editor.spec
@@ -1,20 +1,22 @@
+# TODO: use gtk4-update-icon-cache
Summary: GNOME Text Editor
Summary(pl.UTF-8): Edytor tekstowy dla GNOME
Name: gnome-text-editor
-Version: 41.1
-Release: 2
+Version: 42.0
+Release: 1
License: GPL v3+
Group: X11/Applications
-Source0: https://download.gnome.org/sources/gnome-text-editor/41/%{name}-%{version}.tar.xz
-# Source0-md5: c8aa02bbfc3e94887b7d3d5f3122f042
+Source0: https://download.gnome.org/sources/gnome-text-editor/42/%{name}-%{version}.tar.xz
+# Source0-md5: 5860bf323bc9e70756892650e3f0364c
+Patch0: %{name}-no-update.patch
URL: https://gitlab.gnome.org/GNOME/gnome-text-editor
BuildRequires: enchant2-devel >= 2.2.0
BuildRequires: glib2-devel >= 1:2.69
-BuildRequires: gtk4-devel >= 4.3
-BuildRequires: gtksourceview5-devel >= 5.0
-BuildRequires: libadwaita-devel >= 1.1.0-0.20210927
+BuildRequires: gtk4-devel >= 4.6
+BuildRequires: gtksourceview5-devel >= 5.3.1
+BuildRequires: libadwaita-devel >= 1.1.0-1
BuildRequires: libicu-devel
-BuildRequires: meson >= 0.50.0
+BuildRequires: meson >= 0.59.1
BuildRequires: ninja >= 1.5
BuildRequires: pcre-devel
BuildRequires: pkgconfig
@@ -25,8 +27,9 @@ Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk-update-icon-cache
Requires: enchant2 >= 2.2.0
Requires: glib2 >= 1:2.69
-Requires: gtk4 >= 4.3
-Requires: libadwaita >= 1.1.0-0.20210927
+Requires: gtk4 >= 4.6
+Requires: gtksourceview5 >= 5.3.1
+Requires: libadwaita >= 1.1.0-1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -43,6 +46,7 @@ nie została zapisana do pliku.
%prep
%setup -q
+%patch0 -p1
%build
%meson build
@@ -73,10 +77,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc NEWS README.md
%attr(755,root,root) %{_bindir}/gnome-text-editor
-%{_datadir}/appdata/org.gnome.TextEditor.appdata.xml
%{_datadir}/dbus-1/services/org.gnome.TextEditor.service
%{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml
+%{_datadir}/gnome-text-editor
+%{_datadir}/metainfo/org.gnome.TextEditor.appdata.xml
%{_desktopdir}/org.gnome.TextEditor.desktop
+%{_iconsdir}/hicolor/scalable/actions/document-admin-symbolic.svg
%{_iconsdir}/hicolor/scalable/actions/document-modified-symbolic.svg
%{_iconsdir}/hicolor/scalable/apps/org.gnome.TextEditor.svg
%{_iconsdir}/hicolor/symbolic/apps/org.gnome.TextEditor-symbolic.svg
diff --git a/gnome-text-editor-no-update.patch b/gnome-text-editor-no-update.patch
new file mode 100644
index 0000000..e326de0
--- /dev/null
+++ b/gnome-text-editor-no-update.patch
@@ -0,0 +1,12 @@
+--- gnome-text-editor-42.0/meson.build.orig 2022-03-19 00:21:31.000000000 +0100
++++ gnome-text-editor-42.0/meson.build 2022-04-15 20:46:17.664295769 +0200
+@@ -165,9 +165,3 @@ configure_file(
+ output: 'config.h',
+ configuration: config_h,
+ )
+-
+-gnome.post_install(
+- gtk_update_icon_cache: true,
+- glib_compile_schemas: true,
+- update_desktop_database: host_machine.system() not in ['darwin', 'windows'],
+-)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-text-editor.git/commitdiff/49055e9b398da86c94103195a2937ef380034acf
More information about the pld-cvs-commit
mailing list