From 731ddfab7db2766d68e9d7b461bc134925c42690 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 14 Nov 2018 21:51:08 -0500 Subject: freefilesync 10.6-1 --- freefilesync/ffs_no_user_manual.patch | 12 ------------ freefilesync/ffs_xdg_config_dir.patch | 17 +++++++++++++++++ freefilesync/freefilesync.spec | 7 +++++-- 3 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 freefilesync/ffs_no_user_manual.patch create mode 100644 freefilesync/ffs_xdg_config_dir.patch diff --git a/freefilesync/ffs_no_user_manual.patch b/freefilesync/ffs_no_user_manual.patch deleted file mode 100644 index 97dde3c..0000000 --- a/freefilesync/ffs_no_user_manual.patch +++ /dev/null @@ -1,12 +0,0 @@ -# upstream project did not include user manual in release. -diff -Naur -x '*.orig' -x '*.rej' 10.5-0/FreeFileSync/Source/Makefile 10.5-1/FreeFileSync/Source/Makefile ---- 10.5-0/FreeFileSync/Source/Makefile 2018-10-16 22:14:04.472035798 -0400 -+++ 10.5-1/FreeFileSync/Source/Makefile 2018-10-16 22:17:45.141649203 -0400 -@@ -121,7 +121,6 @@ - ../Build/gong.wav \ - ../Build/harp.wav \ - ../Build/Resources.zip \ -- "../Build/User Manual.pdf" \ - $(APPSHAREDIR) - - mkdir -p $(DOCSHAREDIR) diff --git a/freefilesync/ffs_xdg_config_dir.patch b/freefilesync/ffs_xdg_config_dir.patch new file mode 100644 index 0000000..6f27ab7 --- /dev/null +++ b/freefilesync/ffs_xdg_config_dir.patch @@ -0,0 +1,17 @@ +diff -Naur 10.6-0/FreeFileSync/Source/base/ffs_paths.cpp 10.6-1/FreeFileSync/Source/base/ffs_paths.cpp +--- 10.6-0/FreeFileSync/Source/base/ffs_paths.cpp 2018-11-13 06:58:40.771249592 -0500 ++++ 10.6-1/FreeFileSync/Source/base/ffs_paths.cpp 2018-11-14 21:39:14.715702415 -0500 +@@ -85,8 +85,11 @@ + else //OS standard path (XDG layout): ~/.config/FreeFileSync + { + //wxBug: wxStandardPaths::GetUserDataDir() does not honor FileLayout_XDG flag +- wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG); +- cfgFolderPath = appendSeparator(utfTo(wxStandardPaths::Get().GetUserConfigDir())) + "FreeFileSync"; ++ ++ // Fedora 28 does not ship wxgtk 3.1.1... ++ // So subsitute a hard-coded name instead of requesting file layout of XDG ++ //wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG); ++ cfgFolderPath = appendSeparator(utfTo(wxStandardPaths::Get().GetUserConfigDir())) + appendSeparator(utfTo(".config")) + "FreeFileSync"; + } + + #ifdef __GNUC__ diff --git a/freefilesync/freefilesync.spec b/freefilesync/freefilesync.spec index a1d0059..824b0bf 100644 --- a/freefilesync/freefilesync.spec +++ b/freefilesync/freefilesync.spec @@ -2,7 +2,7 @@ %global prog2name RealTimeSync %global dummy_package 0 Name: freefilesync -Version: 10.5 +Version: 10.6 Release: 1%{?dist} Summary: A file synchronization utility @@ -18,7 +18,7 @@ Patch0: ffs_include_lz.patch Patch1: ffs_no_check_updates.patch Patch2: ffs_no_wx311.patch Patch3: ffs_fedora.patch -Patch4: ffs_no_user_manual.patch +Patch4: ffs_xdg_config_dir.patch Packager: B Stack BuildRequires: boost-devel @@ -134,6 +134,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %ghost %config %attr(666, -, -) %{_datadir}/%{pkgname}/GlobalSettings.xml %changelog +* Wed Nov 14 2018 B Stack - 10.6-1 +- version bump + * Tue Oct 16 2018 B Stack - 10.5-1 - version bump -- cgit