diff --git a/nextcloud-client-icon.patch b/nextcloud-client-icon.patch new file mode 100644 index 0000000..4307f8a --- /dev/null +++ b/nextcloud-client-icon.patch @@ -0,0 +1,11 @@ +--- a/mirall.desktop.in 2017-01-02 10:30:07.297894313 +0100 ++++ b/mirall.desktop.in 2017-01-02 10:31:02.233140373 +0100 +@@ -5,7 +5,7 @@ + Name=@APPLICATION_NAME@ desktop sync client + Comment=@APPLICATION_NAME@ desktop synchronization client + GenericName=Folder Sync +-Icon=@APPLICATION_EXECUTABLE@ ++Icon=@APPLICATION_ICON@ + Keywords=@APPLICATION_NAME@;syncing;file;sharing; + X-GNOME-Autostart-Delay=3 + diff --git a/nextcloud-client-icon2.patch b/nextcloud-client-icon2.patch new file mode 100644 index 0000000..6f741e6 --- /dev/null +++ b/nextcloud-client-icon2.patch @@ -0,0 +1,10 @@ +--- a/nextcloudtheme/OEM.cmake 2017-01-02 10:32:15.456135814 +0100 ++++ b/nextcloudtheme/OEM.cmake 2017-01-02 10:32:53.227617781 +0100 +@@ -1,6 +1,7 @@ + set( APPLICATION_NAME "Nextcloud" ) + set( APPLICATION_SHORTNAME "Nextcloud" ) + set( APPLICATION_EXECUTABLE "nextcloud" ) ++set( APPLICATION_ICON "Nextcloud" ) + set( APPLICATION_DOMAIN "nextcloud.com" ) + set( APPLICATION_VENDOR "Nextcloud GmbH" ) + set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE string "URL for updater" ) diff --git a/nextcloud-client.spec b/nextcloud-client.spec index e773108..a44159e 100644 --- a/nextcloud-client.spec +++ b/nextcloud-client.spec @@ -2,7 +2,7 @@ Name: nextcloud-client Version: 2.2.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Nextcloud Client # -libs are LGPLv2+, rest GPLv2 @@ -21,6 +21,8 @@ Patch0: %{name}-%{version}-syslibs.patch # -OpenSSL_add_all_algorithms() if the system uses OpenSSL > 0.9.4 Patch1: %{name}-%{version}-appshortname.patch Patch2: openssl.patch +Patch3: %{name}-icon.patch +Patch4: %{name}-icon2.patch BuildRequires: check BuildRequires: cmake @@ -124,7 +126,9 @@ cd - %patch1 -p1 cd client %patch2 -p1 +%patch3 -p1 cd - +%patch4 -p1 rm -rf src/3rdparty/qtlockedfile src/3rdparty/qtsingleapplication @@ -205,6 +209,8 @@ fi %endif %changelog +* Mon Jan 02 2017 Timotheus Pokorra - 2.2.4-5 +- Fix the desktop icon (#1409252) * Wed Nov 23 2016 Nick Bebout - 2.2.4-4 - Update for review * Wed Nov 02 2016 Germano Massullo 2.2.4-3