freefilesync: 14.2 -> 14.3

Weijia Wang cff9b094 7ace4543

+38 -30
+14 -14
pkgs/by-name/fr/freefilesync/Makefile.patch
··· 9 10 CXXFLAGS += -std=c++23 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" \ 11 -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized \ 12 - @@ -17,9 +17,10 @@ LDFLAGS += `pkg-config --libs libcurl` 13 - CXXFLAGS += `pkg-config --cflags libssh2` 14 - LDFLAGS += `pkg-config --libs libssh2` 15 16 - -CXXFLAGS += `pkg-config --cflags gtk+-2.0` 17 - +CXXFLAGS += `pkg-config --cflags gtk+-3.0` 18 - +LDFLAGS += `pkg-config --libs gtk+-3.0` 19 #treat as system headers so that warnings are hidden: 20 - -CXXFLAGS += -isystem/usr/include/gtk-2.0 21 - +CXXFLAGS += -isystem@gtk3-dev@/include/gtk-3.0 22 23 #support for SELinux (optional) 24 SELINUX_EXISTING=$(shell pkg-config --exists libselinux && echo YES) ··· 36 @@ -8,9 +8,10 @@ CXXFLAGS += -std=c++23 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../../.. -I../../../zen 37 LDFLAGS += -s `wx-config --libs std, aui, richtext --debug=no` -pthread 38 39 - #Gtk - support "no button border" 40 - -CXXFLAGS += `pkg-config --cflags gtk+-2.0` 41 - +CXXFLAGS += `pkg-config --cflags gtk+-3.0` 42 - +LDFLAGS += `pkg-config --libs gtk+-3.0` 43 #treat as system headers so that warnings are hidden: 44 - -CXXFLAGS += -isystem/usr/include/gtk-2.0 45 - +CXXFLAGS += -isystem@gtk3-dev@/include/gtk-3.0 46 47 cppFiles= 48 cppFiles+=application.cpp
··· 9 10 CXXFLAGS += -std=c++23 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" \ 11 -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wnon-virtual-dtor -Wno-unused-function -Wshadow -Wno-maybe-uninitialized \ 12 + @@ -17,9 +17,10 @@ LDFLAGS += `pkg-config --libs libcurl` -lidn2 13 + CXXFLAGS += `pkg-config --cflags libssh2` 14 + LDFLAGS += `pkg-config --libs libssh2` 15 16 + -CXXFLAGS += `pkg-config --cflags gtk+-2.0` 17 + +CXXFLAGS += `pkg-config --cflags gtk+-3.0` 18 + +LDFLAGS += `pkg-config --libs gtk+-3.0` 19 #treat as system headers so that warnings are hidden: 20 + -CXXFLAGS += -isystem/usr/include/gtk-2.0 21 + +CXXFLAGS += -isystem@gtk3-dev@/include/gtk-3.0 22 23 #support for SELinux (optional) 24 SELINUX_EXISTING=$(shell pkg-config --exists libselinux && echo YES) ··· 36 @@ -8,9 +8,10 @@ CXXFLAGS += -std=c++23 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../../.. -I../../../zen 37 LDFLAGS += -s `wx-config --libs std, aui, richtext --debug=no` -pthread 38 39 + 40 + -CXXFLAGS += `pkg-config --cflags gtk+-2.0` 41 + +CXXFLAGS += `pkg-config --cflags gtk+-3.0` 42 + +LDFLAGS += `pkg-config --libs gtk+-3.0` 43 #treat as system headers so that warnings are hidden: 44 + -CXXFLAGS += -isystem/usr/include/gtk-2.0 45 + +CXXFLAGS += -isystem@gtk3-dev@/include/gtk-3.0 46 47 cppFiles= 48 cppFiles+=application.cpp
+10 -2
pkgs/by-name/fr/freefilesync/package.nix
··· 12 curl, 13 glib, 14 gtk3, 15 libssh2, 16 openssl, 17 wxGTK32, ··· 41 in 42 stdenv.mkDerivation (finalAttrs: { 43 pname = "freefilesync"; 44 - version = "14.2"; 45 46 src = fetchurl { 47 url = "https://freefilesync.org/download/FreeFileSync_${finalAttrs.version}_Source.zip"; ··· 50 rm -f $out 51 tryDownload "$url" 52 ''; 53 - hash = "sha256-xwIvoeWu/hgTHwAgs39nlfb3UBK/TI3yoG+9RRmw+2o="; 54 }; 55 56 sourceRoot = "."; ··· 72 }) 73 ]; 74 75 nativeBuildInputs = [ 76 copyDesktopItems 77 pkg-config ··· 83 curl 84 glib 85 gtk3 86 libssh2 87 openssl 88 wxwidgets_3_3
··· 12 curl, 13 glib, 14 gtk3, 15 + libidn2, 16 libssh2, 17 openssl, 18 wxGTK32, ··· 42 in 43 stdenv.mkDerivation (finalAttrs: { 44 pname = "freefilesync"; 45 + version = "14.3"; 46 47 src = fetchurl { 48 url = "https://freefilesync.org/download/FreeFileSync_${finalAttrs.version}_Source.zip"; ··· 51 rm -f $out 52 tryDownload "$url" 53 ''; 54 + hash = "sha256-F8oIoG+SaHwhT7aA+iYp9/eWyGf6CiDIGm6Y2px0wlI="; 55 }; 56 57 sourceRoot = "."; ··· 73 }) 74 ]; 75 76 + # https://freefilesync.org/forum/viewtopic.php?t=12163 77 + postPatch = '' 78 + substituteInPlace zen/socket.h zen/sys_error.h \ 79 + --replace-fail "#undef G_GNUC_UNUSED" "" 80 + ''; 81 + 82 nativeBuildInputs = [ 83 copyDesktopItems 84 pkg-config ··· 90 curl 91 glib 92 gtk3 93 + libidn2 94 libssh2 95 openssl 96 wxwidgets_3_3
+14 -14
pkgs/by-name/fr/freefilesync/skip-missing-Animal.dat.patch
··· 3 --- a/FreeFileSync/Source/ui/gui_generated.cpp 4 +++ b/FreeFileSync/Source/ui/gui_generated.cpp 5 @@ -5573,8 +5573,6 @@ AboutDlgGenerated::AboutDlgGenerated( wxWindow* parent, wxWindowID id, const wxS 6 - wxBoxSizer* bSizer183; 7 - bSizer183 = new wxBoxSizer( wxHORIZONTAL ); 8 9 - - m_bitmapAnimalSmall = new wxStaticBitmap( m_panelDonate, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); 10 - - bSizer183->Add( m_bitmapAnimalSmall, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 11 12 - wxPanel* m_panel39; 13 - m_panel39 = new wxPanel( m_panelDonate, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); 14 @@ -5587,13 +5585,11 @@ AboutDlgGenerated::AboutDlgGenerated( wxWindow* parent, wxWindowID id, const wxS 15 - m_staticTextDonate->Wrap( -1 ); 16 - m_staticTextDonate->SetForegroundColour( wxColour( 0, 0, 0 ) ); 17 18 - - bSizer184->Add( m_staticTextDonate, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxALIGN_CENTER_VERTICAL, 10 ); 19 20 21 - m_panel39->SetSizer( bSizer184 ); 22 - m_panel39->Layout(); 23 - bSizer184->Fit( m_panel39 ); 24 - - bSizer183->Add( m_panel39, 1, wxTOP|wxBOTTOM|wxRIGHT|wxEXPAND, 5 ); 25 26 27 - m_panelDonate->SetSizer( bSizer183 ); 28 diff --git a/FreeFileSync/Source/ui/small_dlgs.cpp b/FreeFileSync/Source/ui/small_dlgs.cpp 29 index 933fe81..734201f 100644 30 --- a/FreeFileSync/Source/ui/small_dlgs.cpp
··· 3 --- a/FreeFileSync/Source/ui/gui_generated.cpp 4 +++ b/FreeFileSync/Source/ui/gui_generated.cpp 5 @@ -5573,8 +5573,6 @@ AboutDlgGenerated::AboutDlgGenerated( wxWindow* parent, wxWindowID id, const wxS 6 + wxBoxSizer* bSizer183; 7 + bSizer183 = new wxBoxSizer( wxHORIZONTAL ); 8 9 + - m_bitmapAnimalSmall = new wxStaticBitmap( m_panelDonate, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); 10 + - bSizer183->Add( m_bitmapAnimalSmall, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); 11 12 + wxPanel* m_panel39; 13 + m_panel39 = new wxPanel( m_panelDonate, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); 14 @@ -5587,13 +5585,11 @@ AboutDlgGenerated::AboutDlgGenerated( wxWindow* parent, wxWindowID id, const wxS 15 + m_staticTextDonate->Wrap( -1 ); 16 + m_staticTextDonate->SetForegroundColour( wxColour( 0, 0, 0 ) ); 17 18 + - bSizer184->Add( m_staticTextDonate, 0, wxALIGN_CENTER_HORIZONTAL|wxLEFT|wxALIGN_CENTER_VERTICAL, 10 ); 19 20 21 + m_panel39->SetSizer( bSizer184 ); 22 + m_panel39->Layout(); 23 + bSizer184->Fit( m_panel39 ); 24 + - bSizer183->Add( m_panel39, 1, wxTOP|wxBOTTOM|wxRIGHT|wxEXPAND, 5 ); 25 26 27 + m_panelDonate->SetSizer( bSizer183 ); 28 diff --git a/FreeFileSync/Source/ui/small_dlgs.cpp b/FreeFileSync/Source/ui/small_dlgs.cpp 29 index 933fe81..734201f 100644 30 --- a/FreeFileSync/Source/ui/small_dlgs.cpp