From cf359a9066afb19b28a622f8ab180a5d7c2736f4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 2 Nov 2019 20:32:32 +0100 Subject: [PATCH 1/2] include a simple patch to fix compilation with newer vala versions --- 00-fix-vala-issues.patch | 13 +++++++++++++ appeditor.spec | 12 ++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 00-fix-vala-issues.patch diff --git a/00-fix-vala-issues.patch b/00-fix-vala-issues.patch new file mode 100644 index 0000000..be43c37 --- /dev/null +++ b/00-fix-vala-issues.patch @@ -0,0 +1,13 @@ +diff --git a/src/DesktopApp.vala b/src/DesktopApp.vala +index 0e6fa47..fc7a11e 100644 +--- a/src/DesktopApp.vala ++++ b/src/DesktopApp.vala +@@ -130,7 +130,7 @@ public class AppEditor.DesktopApp : Object { + + public unowned string get_path () { + if (path == null) { +- unowned string _path = info.get_string (KeyFileDesktop.KEY_PATH); ++ string _path = info.get_string (KeyFileDesktop.KEY_PATH); + if (_path == null) { + _path = ""; + } diff --git a/appeditor.spec b/appeditor.spec index ebf353b..9971918 100644 --- a/appeditor.spec +++ b/appeditor.spec @@ -3,12 +3,15 @@ Name: appeditor Summary: Edit application menu Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ URL: https://github.com/donadigo/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# simple patch to fix compilation with newer vala versions +Patch0: 00-fix-vala-issues.patch + BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib @@ -22,7 +25,6 @@ BuildRequires: pkgconfig(gtk+-3.0) Requires: contractor Requires: hicolor-icon-theme - %description AppEditor allows you to edit application entries in the application menu. Some of it's features include: @@ -33,7 +35,7 @@ of it's features include: %prep -%autosetup +%autosetup -p1 %build @@ -68,10 +70,12 @@ appstream-util validate-relax --nonet \ %changelog +* Sat Nov 02 2019 Fabio Valentini - 1.1.0-3 +- Include a simple patch to fix compilation with newer vala versions. + * Thu Jan 31 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Sep 01 2018 Fabio Valentini - 1.1.0-1 - Initial package for fedora. - From 7aa7be805b5b98fd9da68e033eb269a6297f977f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 17 Apr 2020 15:40:32 +0200 Subject: [PATCH 2/2] update to version 1.1.1 --- .gitignore | 1 + appeditor.spec | 10 +++++----- sources | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 58cb51c..e1e1ef5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /appeditor-1.1.0.tar.gz +/appeditor-1.1.1.tar.gz diff --git a/appeditor.spec b/appeditor.spec index 9971918..32664ba 100644 --- a/appeditor.spec +++ b/appeditor.spec @@ -2,16 +2,13 @@ Name: appeditor Summary: Edit application menu -Version: 1.1.0 -Release: 3%{?dist} +Version: 1.1.1 +Release: 1%{?dist} License: LGPLv2+ URL: https://github.com/donadigo/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz -# simple patch to fix compilation with newer vala versions -Patch0: 00-fix-vala-issues.patch - BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib @@ -70,6 +67,9 @@ appstream-util validate-relax --nonet \ %changelog +* Fri Apr 17 2020 Fabio Valentini - 1.1.1-1 +- Update to version 1.1.1. + * Sat Nov 02 2019 Fabio Valentini - 1.1.0-3 - Include a simple patch to fix compilation with newer vala versions. diff --git a/sources b/sources index 2c6f349..4793fd1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (appeditor-1.1.0.tar.gz) = 23054d2dcd083d345052facd3fe2b0f779ab7bad5b6b23cda52e2d0eda9c62de6f62fcde3b72bcd060a9c0cd6e3e96eba2bf9ea19276d56b516621b95594f60b +SHA512 (appeditor-1.1.1.tar.gz) = 7700fdc6cfcca71250d1da2d84640a6d8160034aace04a6ed9d7dcc3c77d4dde7e0ef3c4e21a1a847069f009d2e45bfac0a33bf5e0868da560415231c653d27a