diff options
Diffstat (limited to 'freefilesync/debian')
-rw-r--r-- | freefilesync/debian/README.Debian | 5 | ||||
-rw-r--r-- | freefilesync/debian/changelog | 3 | ||||
-rw-r--r-- | freefilesync/debian/control | 13 | ||||
-rw-r--r-- | freefilesync/debian/freefilesync_devuan.dsc | 14 | ||||
-rw-r--r-- | freefilesync/debian/patches/ffs_10.20.patch | 14 | ||||
-rw-r--r-- | freefilesync/debian/patches/ffs_devuan.patch | 10 | ||||
-rw-r--r-- | freefilesync/debian/patches/ffs_devuan_gtk3.patch | 12 | ||||
-rw-r--r-- | freefilesync/debian/patches/series | 5 | ||||
-rwxr-xr-x | freefilesync/debian/rules | 1 |
9 files changed, 35 insertions, 42 deletions
diff --git a/freefilesync/debian/README.Debian b/freefilesync/debian/README.Debian index 9d85628..04e4263 100644 --- a/freefilesync/debian/README.Debian +++ b/freefilesync/debian/README.Debian @@ -1,6 +1,7 @@ -freefilesync (10.20-2+devuan) +freefilesync (10.20-1+devuan) - * gtk2 build + * gtk3 build for obs + * For changing gtk2 to gtk3, see control and patches/series files -- B Stack <bgstack15@gmail.com> Sat, 15 Feb 2020 16:30:36 -0500 diff --git a/freefilesync/debian/changelog b/freefilesync/debian/changelog index 82a070d..5fa26cb 100644 --- a/freefilesync/debian/changelog +++ b/freefilesync/debian/changelog @@ -1,6 +1,5 @@ -freefilesync (10.20-2+devuan) albion; urgency=low +freefilesync (10.20-1+devuan) obs; urgency=low - * gtk2 build * Send email notifications after sync (Donation Edition) * Generate log files in HTML format * Detect sync database consistency errors diff --git a/freefilesync/debian/control b/freefilesync/debian/control index 5b2df37..1940f56 100644 --- a/freefilesync/debian/control +++ b/freefilesync/debian/control @@ -9,12 +9,13 @@ Build-Depends: debhelper (>=12~), libssl-dev, wx3.0-headers, unzip, -# gtk2 version, now not possible with stock devuan repos - libgtk2.0-dev, - libwxgtk3.0-dev (=3.0.4+dfsg-14), -# gtk3 version -# libgtk-3-dev, -# libwxgtk3.0-gtk3-dev, +# gtk2 version, now possible only with local devuan-archive, and these must be removed for gtk3 build +# install with sudo apt-get install libwxbase3.0-0v5=3.0.4+dfsg-14 libwxbase3.0-dev=3.0.4+dfsg-14 libwxgtk3.0-0v5=3.0.4+dfsg-14 libwxgtk3.0-dev=3.0.4+dfsg-14 wx3.0-headers=3.0.4+dfsg-14 +# libgtk2.0-dev, +# libwxgtk3.0-dev (=3.0.4+dfsg-14), +# gtk3 version, and these must be removed for gtk2 build + libgtk-3-dev, + libwxgtk3.0-gtk3-dev, Standards-Version: 4.1.4 Homepage: https://freefilesync.org/ diff --git a/freefilesync/debian/freefilesync_devuan.dsc b/freefilesync/debian/freefilesync_devuan.dsc new file mode 100644 index 0000000..80b8697 --- /dev/null +++ b/freefilesync/debian/freefilesync_devuan.dsc @@ -0,0 +1,14 @@ +Format: 3.0 (quilt) +Source: freefilesync +Binary: freefilesync +Architecture: any +Version: 10.20-1+devuan +Maintainer: B Stack <bgstack15@gmail.com> +Homepage: https://freefilesync.org/ +Standards-Version: 4.1.4 +Build-Depends: debhelper (>= 12~), imagemagick, libcurl4-openssl-dev, libssh2-1-dev, libssl-dev, wx3.0-headers, unzip, libgtk-3-dev, libwxgtk3.0-gtk3-dev +Package-List: + freefilesync deb utils optional arch=any +Files: + 00000000000000000000000000000000 1 freefilesync_10.20.orig.tar.gz + 00000000000000000000000000000000 1 freefilesync_10.20-1+devuan.debian.tar.xz diff --git a/freefilesync/debian/patches/ffs_10.20.patch b/freefilesync/debian/patches/ffs_10.20.patch deleted file mode 100644 index 8369e30..0000000 --- a/freefilesync/debian/patches/ffs_10.20.patch +++ /dev/null @@ -1,14 +0,0 @@ -Message: To make FreeFileSync 10.20 compile. Looks like some includes were omitted by upstream. -Date: 2020-02-15 20:00 -diff -Naur /usr/src/freefilesync/10.20-0/FreeFileSync/Source/base/log_file.cpp /usr/src/freefilesync/10.20-1/FreeFileSync/Source/base/log_file.cpp ---- 10.20-0/FreeFileSync/Source/base/log_file.cpp 2020-02-15 14:50:08.340617412 -0500 -+++ 10.20-1/FreeFileSync/Source/base/log_file.cpp 2020-02-15 15:01:36.687166993 -0500 -@@ -9,6 +9,8 @@ - #include <wx/datetime.h> - #include "ffs_paths.h" - #include "../afs/concrete.h" -+#include "../../../zen/system.h" -+#include "../../../zen/http.h" - - using namespace zen; - using namespace fff; diff --git a/freefilesync/debian/patches/ffs_devuan.patch b/freefilesync/debian/patches/ffs_devuan.patch index 4ad070c..f2290bd 100644 --- a/freefilesync/debian/patches/ffs_devuan.patch +++ b/freefilesync/debian/patches/ffs_devuan.patch @@ -1,6 +1,6 @@ Author: B Stack Source: Original research -Date: 2019-11-21 +Last date modified: 2020-02-15 Message: Main patch to compile on Devuan. diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/FreeFileSync/Source/base/ffs_paths.cpp 10.18-1/FreeFileSync/Source/base/ffs_paths.cpp --- 10.13-0/FreeFileSync/Source/base/ffs_paths.cpp 2019-06-14 20:23:07.615661499 -0400 @@ -31,14 +31,6 @@ diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/FreeFileSync/Sou CXXFLAGS += `pkg-config --cflags openssl` -@@ -84,6 +85,7 @@ - CPP_FILES+=../../zen/file_io.cpp - CPP_FILES+=../../zen/file_traverser.cpp - CPP_FILES+=../../zen/http.cpp -+CPP_FILES+=../../zen/system.cpp - CPP_FILES+=../../zen/zstring.cpp - CPP_FILES+=../../zen/format_unit.cpp - CPP_FILES+=../../zen/legacy_compiler.cpp diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.19-0/FreeFileSync/Source/ui/small_dlgs.cpp 10.19-1/FreeFileSync/Source/ui/small_dlgs.cpp --- 10.11-0/FreeFileSync/Source/ui/small_dlgs.cpp 2019-12-27 07:56:06.714625467 -0500 +++ 10.19-1/FreeFileSync/Source/ui/small_dlgs.cpp 2019-12-27 08:56:49.251467477 -0500 diff --git a/freefilesync/debian/patches/ffs_devuan_gtk3.patch b/freefilesync/debian/patches/ffs_devuan_gtk3.patch index 0838fbd..1f87d9a 100644 --- a/freefilesync/debian/patches/ffs_devuan_gtk3.patch +++ b/freefilesync/debian/patches/ffs_devuan_gtk3.patch @@ -19,13 +19,14 @@ diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/FreeFileSync/Sou #support for SELinux (optional) SELINUX_EXISTING=$(shell pkg-config --exists libselinux && echo YES) -diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/FreeFileSync/Source/RealTimeSync/Makefile 10.18-1/FreeFileSync/Source/RealTimeSync/Makefile ---- 10.20-0/FreeFileSync/Source/RealTimeSync/Makefile 2020-02-15 11:45:58.241515736 -0500 -+++ 10.20-1/FreeFileSync/Source/RealTimeSync/Makefile 2020-02-15 15:48:17.922847426 -0500 -@@ -8,8 +8,9 @@ +--- 10.20-0a/FreeFileSync/Source/RealTimeSync/Makefile 2020-02-15 17:30:56.738835393 -0500 ++++ 10.20-2/FreeFileSync/Source/RealTimeSync/Makefile 2020-02-15 19:09:17.460124615 -0500 +@@ -7,9 +7,10 @@ + LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -lz -pthread #Gtk - support "no button border" - CXXFLAGS += `pkg-config --cflags gtk+-2.0` +-CXXFLAGS += `pkg-config --cflags gtk+-2.0` ++CXXFLAGS += `pkg-config --cflags gtk+-3.0` +LINKFLAGS += `pkg-config --libs gtk+-3.0` #treat as system headers so that warnings are hidden: -CXXFLAGS += -isystem/usr/include/gtk-2.0 @@ -33,7 +34,6 @@ diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/FreeFileSync/Sou CPP_FILES= CPP_FILES+=application.cpp - diff -x '*.swp' -x '.git*' -x '*.orig' -x '*.rej' -Naur 10.18-0/wx+/dc.h 10.18-1/wx+/dc.h --- 10.18-0/wx+/dc.h 2019-11-21 08:24:23.967769384 -0500 +++ 10.18-1/wx+/dc.h 2019-11-21 09:42:12.779786504 -0500 diff --git a/freefilesync/debian/patches/series b/freefilesync/debian/patches/series index f61c180..da9adb8 100644 --- a/freefilesync/debian/patches/series +++ b/freefilesync/debian/patches/series @@ -1,10 +1,9 @@ ffs_allow_parallel_ops.patch ffs_devuan.patch -# can be either gtk2 or gtk3 -ffs_devuan_gtk2.patch +# gtk3 for obs, gtk2 for albion +ffs_devuan_gtk3.patch ffs_no_check_updates.patch ffs_no_wx311.patch ffs_sftp.patch ffs_libssh2.patch ffs_curl.patch -ffs_10.20.patch diff --git a/freefilesync/debian/rules b/freefilesync/debian/rules index 7e182e7..b33b50b 100755 --- a/freefilesync/debian/rules +++ b/freefilesync/debian/rules @@ -95,4 +95,5 @@ override_dh_auto_install: rm -f file_batch.png file_sync.png override_dh_fixperms: + dh_fixperms || : chmod 0644 ${buildroot}${_datadir}/${appname}/* || : |