!4 Update to 43.1

From: @dwl301 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
This commit is contained in:
openeuler-ci-bot 2023-02-17 07:39:38 +00:00 committed by Gitee
commit 1cf8ff6ec5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 45 additions and 7 deletions

View File

@ -0,0 +1,33 @@
From 2ce2a40ff54af0af7631ace059504be4dd17f3bd Mon Sep 17 00:00:00 2001
From: Christian Hergert <christian@hergert.me>
Date: Wed, 5 Oct 2022 16:50:04 +0000
Subject: [PATCH] Merge branch 'appdata-releases' into 'main'
appdata: Add missing releases
See merge request GNOME/gnome-text-editor!81
(cherry picked from commit 16b04a769a8ac4ee3573601f847cdc8d8597e3fd)
19dd61a5 appdata: Add missing releases
---
data/org.gnome.TextEditor.appdata.xml.in.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/data/org.gnome.TextEditor.appdata.xml.in.in b/data/org.gnome.TextEditor.appdata.xml.in.in
index 596189b..5f9a7d3 100644
--- a/data/org.gnome.TextEditor.appdata.xml.in.in
+++ b/data/org.gnome.TextEditor.appdata.xml.in.in
@@ -29,6 +29,9 @@
<translation type="gettext">org.gnome.TextEditor</translation>
<releases>
+ <release version="43.1" date="2022-10-04"/>
+ <release version="43.0" date="2022-09-17"/>
+ <release version="42.2" date="2022-06-12"/>
<release version="42.1" date="2022-04-21"/>
<release version="42.0" date="2022-03-18"/>
</releases>
--
2.37.3

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,18 @@
%global glib2_version 2.69
%global gtk4_version 4.4
%global gtksourceview_version 5.3.1
%global glib2_version 2.73
%global gtk4_version 4.7
%global gtksourceview_version 5.5.0
%global enchant_version 2.2.0
Name: gnome-text-editor
Version: 42.2
Version: 43.1
Release: 1
Summary: A simple text editor for the GNOME desktop
License: GPLv3+
URL: https://gitlab.gnome.org/GNOME/gnome-text-editor
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/%{name}/43/%{name}-%{version}.tar.xz
Patch0: 0001-Merge-branch-appdata-releases-into-main.patch
BuildRequires: pkgconfig(editorconfig)
BuildRequires: pkgconfig(enchant-2) >= %{enchant_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
@ -18,7 +20,7 @@ BuildRequires: pkgconfig(gtksourceview-5) >= %{gtksourceview_version}
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: gcc meson itstool desktop-file-utils
BuildRequires: /usr/bin/appstream-util
BuildRequires: libappstream-glib pcre-devel
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: enchant2%{?_isa} >= %{enchant_version}
@ -32,7 +34,7 @@ You can come back to your work even if you've never saved it to a file.
%prep
%autosetup -p1 -n %{name}-%{version}
sed -i '/rc1/d' data/org.gnome.TextEditor.appdata.xml.in.in
#sed -i '/rc1/d' data/org.gnome.TextEditor.appdata.xml.in.in
%build
%meson -Ddevelopment=false
@ -61,6 +63,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor.
%{_datadir}/icons/hicolor/*/*/*.svg
%changelog
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.1-1
- upgrade to 43.1
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
- Upgrade to 42.2