New upstream version 3.1

- Remove patch: poedit-3.0.1-about-icon.patch
This commit is contained in:
Wolfgang Stöggl 2022-06-08 06:28:35 +02:00
parent cf6a2d9a78
commit 4239e67c82
4 changed files with 7 additions and 19 deletions

1
.gitignore vendored
View File

@ -40,3 +40,4 @@ poedit-1.4.6.1.tar.gz
/poedit-2.4.3.tar.gz
/poedit-3.0.tar.gz
/poedit-3.0.1.tar.gz
/poedit-3.1.tar.gz

View File

@ -1,12 +0,0 @@
diff --git a/src/edapp.cpp b/src/edapp.cpp
index 95a16eab8..991f869b1 100644
--- a/src/edapp.cpp
+++ b/src/edapp.cpp
@@ -1078,6 +1078,7 @@ void PoeditApp::OnAbout(wxCommandEvent&)
about.SetCopyright(L"Copyright \u00a9 1999-2021 Václav Slavík");
#ifdef __WXGTK__ // other ports would show non-native about dlg
about.SetWebSite("https://poedit.net");
+ about.SetIcon(wxArtProvider::GetIcon("net.poedit.Poedit", wxART_FRAME_ICON, wxSize(64, 64)));
#endif
wxAboutBox(about);

View File

@ -1,6 +1,6 @@
Name: poedit
Version: 3.0.1
Release: 4%{?dist}
Version: 3.1
Release: 1%{?dist}
Summary: GUI editor for GNU gettext .po files
Summary(de): Grafischer Editor für GNU Gettext-Dateien
@ -8,9 +8,6 @@ License: MIT
URL: https://poedit.net/
Source0: https://github.com/vslavik/%{name}/releases/download/v%{version}-oss/%{name}-%{version}.tar.gz
Source1: https://src.fedoraproject.org/rpms/%{name}/raw/rawhide/f/%{name}.1.de.po
# Add missing icon in about dialog
# https://github.com/vslavik/poedit/issues/704
Patch0: poedit-3.0.1-about-icon.patch
BuildRequires: make
BuildRequires: wxGTK3-devel >= 3.0.3
@ -63,7 +60,6 @@ make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
rm %{buildroot}/usr/share/icons/hicolor/icon-theme.cache
# Install the desktop file
desktop-file-install \
@ -98,6 +94,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/net.%{nam
%changelog
* Wed Jun 08 2022 Wolfgang Stöggl <c72578@yahoo.de> - 3.1-1
- New upstream version
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 3.0.1-4
- Rebuilt for Boost 1.78

View File

@ -1 +1 @@
SHA512 (poedit-3.0.1.tar.gz) = 2e6fb71af6e0e4b8ab49d334d0fe06928865061cd20d92fb118129c7b0763a0186c38525b162b5073793634d2511a1f68fbdac9c8cc6392ef1fd3aa7c9decf78
SHA512 (poedit-3.1.tar.gz) = bbcbe8f5f8f4cf6b96103895f3e358f5402787216ebd1475efc3992d232115f8e8fa08dc0c598fc2dd20eaafb1026d482b7b5badbb6cebd5d5229c7e39492c7f