From owner-svn-ports-head@freebsd.org Fri Mar 2 08:51:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E36DEF30D7E; Fri, 2 Mar 2018 08:51:19 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8647529B; Fri, 2 Mar 2018 08:51:19 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 896BE15577; Fri, 2 Mar 2018 08:51:19 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w228pJPX052810; Fri, 2 Mar 2018 08:51:19 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w228pIjs052801; Fri, 2 Mar 2018 08:51:18 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803020851.w228pIjs052801@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 2 Mar 2018 08:51:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463383 - in head/sysutils/freefilesync: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/sysutils/freefilesync: . files X-SVN-Commit-Revision: 463383 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 08:51:20 -0000 Author: yuri Date: Fri Mar 2 08:51:18 2018 New Revision: 463383 URL: https://svnweb.freebsd.org/changeset/ports/463383 Log: sysutils/freefilesync: Update to 9.8 Port changes: * Updated LICENSE_FILE * Added IGNORE_FreeBSD_10 because of missing _cxa_thread_atexit() * Added to LIB_DEPENDS * Added USE_GNOME * Removed USE_LDCONFIG * Updated post-patch PR: 226276 Submitted by: Olexandr Davydenko Approved by: tcberner (mentor, implicit) Added: head/sysutils/freefilesync/files/patch-lib_dir__lock.h (contents, props changed) head/sysutils/freefilesync/files/patch-ui_main__dlg.cpp (contents, props changed) head/sysutils/freefilesync/files/patch-zen_file__io.cpp (contents, props changed) head/sysutils/freefilesync/files/patch-zen_thread.h (contents, props changed) Deleted: head/sysutils/freefilesync/files/patch-fs_native.cpp head/sysutils/freefilesync/files/patch-zen_scope__guard.h Modified: head/sysutils/freefilesync/Makefile head/sysutils/freefilesync/distinfo head/sysutils/freefilesync/files/patch-Makefile head/sysutils/freefilesync/files/patch-ui_version__check.cpp head/sysutils/freefilesync/pkg-plist Modified: head/sysutils/freefilesync/Makefile ============================================================================== --- head/sysutils/freefilesync/Makefile Fri Mar 2 08:51:00 2018 (r463382) +++ head/sysutils/freefilesync/Makefile Fri Mar 2 08:51:18 2018 (r463383) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= freefilesync -PORTVERSION= 8.3 -PORTREVISION= 9 +DISTVERSION= 9.8 CATEGORIES= sysutils MASTER_SITES= https://www.freefilesync.org/download/ \ https://www.freefilesync.org/archive/ @@ -13,23 +12,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Backup software to synchronize files and folders LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKDIR}/License.txt -BROKEN= fails to build +IGNORE_FreeBSD_10= "FreeBSD 10.0 doesn't have _cxa_thread_atexit() implemeneted in libc, it has been implemented since 11 BUILD_DEPENDS= ${LOCALBASE}/include/zenxml/xml.h:textproc/zenxml LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify FETCH_ARGS= --user-agent=firefox WRKSRC= ${WRKDIR}/FreeFileSync/Source -DOS2UNIX_WRKSRC=${WRKDIR} -DOS2UNIX_GLOB= *.cpp *.h USES= compiler:c++14-lang dos2unix gmake pkgconfig zip -USE_LDCONFIG= yes USE_WX= 3.0+ +USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango +DOS2UNIX_WRKSRC= ${WRKDIR} +DOS2UNIX_GLOB= *.cpp *.h post-patch: @${REINPLACE_CMD} -e 's/wx-config/$${WX_CONFIG:T}/' \ @@ -38,7 +39,5 @@ post-patch: ${WRKDIR}/zen/file_access.cpp @${REINPLACE_CMD} -e 's|WEXITSTATUS||' ${WRKDIR}/zen/shell_execute.h @${REINPLACE_CMD} -e 's| noexcept;|;|' ${WRKDIR}/zen/scope_guard.h - @${REINPLACE_CMD} -e 's|CLOCK_MONOTONIC_RAW|CLOCK_MONOTONIC|' \ - ${WRKDIR}/zen/tick_count.h .include Modified: head/sysutils/freefilesync/distinfo ============================================================================== --- head/sysutils/freefilesync/distinfo Fri Mar 2 08:51:00 2018 (r463382) +++ head/sysutils/freefilesync/distinfo Fri Mar 2 08:51:18 2018 (r463383) @@ -1,3 +1,3 @@ -TIMESTAMP = 1469892304 -SHA256 (FreeFileSync_8.3_Source.zip) = bbde3eaa345d20a088746b14dc6e0721984d316a6f3dbbe54be646b84d60e7a6 -SIZE (FreeFileSync_8.3_Source.zip) = 3020292 +TIMESTAMP = 1519893735 +SHA256 (FreeFileSync_9.8_Source.zip) = 77a59586284a518d6df6c0cc934c3efa434f247acce70452ab9fe37e7747b96d +SIZE (FreeFileSync_9.8_Source.zip) = 2866149 Modified: head/sysutils/freefilesync/files/patch-Makefile ============================================================================== --- head/sysutils/freefilesync/files/patch-Makefile Fri Mar 2 08:51:00 2018 (r463382) +++ head/sysutils/freefilesync/files/patch-Makefile Fri Mar 2 08:51:18 2018 (r463383) @@ -1,6 +1,6 @@ ---- Makefile.orig 2016-04-21 22:53:00.000000000 +0800 -+++ Makefile 2016-06-30 13:33:16.633078000 +0800 -@@ -1,14 +1,14 @@ +--- Makefile.orig 2018-02-06 16:36:07 UTC ++++ Makefile +@@ -1,13 +1,13 @@ APPNAME = FreeFileSync -prefix = /usr +prefix = $(PREFIX) @@ -9,16 +9,15 @@ APPSHAREDIR = $(SHAREDIR)/$(APPNAME) DOCSHAREDIR = $(SHAREDIR)/doc/$(APPNAME) - CXXFLAGS = -std=c++14 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -include "zen/warn_static.h" -Wall \ ---O3 -DNDEBUG `wx-config --cxxflags --debug=no` -DZEN_LINUX -pthread -+-O3 -DNDEBUG `${WX_CONFIG} --cxxflags --debug=no` -DZEN_LINUX -pthread +-CXXFLAGS = -std=c++14 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -Wall -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread ++CXXFLAGS = -std=c++14 -pipe -DWXINTL_NO_GETTEXT_MACRO -I../.. -I../../zenXml -include "zen/i18n.h" -Wall -O3 -DNDEBUG `${WX_CONFIG} --cxxflags --debug=no` -pthread -LINKFLAGS = -s `wx-config --libs std, aui --debug=no` -lboost_thread -lboost_chrono -lboost_system -lz -pthread +LINKFLAGS = -s `${WX_CONFIG} --libs std, aui --debug=no` -lboost_thread -lboost_chrono -lboost_system -lz -pthread #Gtk - support recycler/icon loading/no button border/grid scrolling CXXFLAGS += `pkg-config --cflags gtk+-2.0` -@@ -97,10 +97,10 @@ +@@ -99,10 +99,10 @@ launchpad: FreeFileSync ../Obj/FFS_GCC_Make_Release/ffs/src/%.o : %.cpp mkdir -p $(dir $@) @@ -31,7 +30,7 @@ clean: rm -rf ../Obj/FFS_GCC_Make_Release -@@ -109,7 +109,7 @@ +@@ -111,7 +111,7 @@ clean: install: mkdir -p $(BINDIR) @@ -40,7 +39,7 @@ mkdir -p $(APPSHAREDIR) cp -R ../Build/Languages/ \ -@@ -120,6 +120,3 @@ +@@ -122,6 +122,3 @@ install: ../Build/Resources.zip \ $(APPSHAREDIR) Added: head/sysutils/freefilesync/files/patch-lib_dir__lock.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/freefilesync/files/patch-lib_dir__lock.h Fri Mar 2 08:51:18 2018 (r463383) @@ -0,0 +1,10 @@ +--- lib/dir_lock.h.orig 2018-03-02 05:46:44 UTC ++++ lib/dir_lock.h +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + + + namespace fff Added: head/sysutils/freefilesync/files/patch-ui_main__dlg.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/freefilesync/files/patch-ui_main__dlg.cpp Fri Mar 2 08:51:18 2018 (r463383) @@ -0,0 +1,10 @@ +--- ui/main_dlg.cpp.orig 2018-03-02 05:46:44 UTC ++++ ui/main_dlg.cpp +@@ -28,6 +28,7 @@ + #include + #include "cfg_grid.h" + #include "version_check.h" ++#include "version_check_impl.h" + #include "gui_status_handler.h" + #include "small_dlgs.h" + #include "progress_indicator.h" Modified: head/sysutils/freefilesync/files/patch-ui_version__check.cpp ============================================================================== --- head/sysutils/freefilesync/files/patch-ui_version__check.cpp Fri Mar 2 08:51:00 2018 (r463382) +++ head/sysutils/freefilesync/files/patch-ui_version__check.cpp Fri Mar 2 08:51:18 2018 (r463383) @@ -1,22 +1,22 @@ ---- ui/version_check.cpp.orig 2016-06-30 13:33:44.614966000 +0800 -+++ ui/version_check.cpp 2016-06-30 13:36:17.540454000 +0800 -@@ -104,16 +104,10 @@ - const auto osvMinor = getOsVersion().minor; +--- ui/version_check.cpp.orig 2018-03-02 05:46:44 UTC ++++ ui/version_check.cpp +@@ -70,16 +70,10 @@ std::vector digits = split(distribInfo.Release, L'.'); //e.g. "15.04" +- std::vector digits = split(distribInfo.Release, L'.', SplitType::ALLOW_EMPTY); //e.g. "15.04" - digits.resize(2); - //distribInfo.Id //e.g. "Ubuntu" -- ++ params.emplace_back("os_name", "FreeBSD"); + - const int osvMajor = stringTo(digits[0]); - const int osvMinor = stringTo(digits[1]); + const int osvMajor = 0; + const int osvMinor = 0; - #elif defined ZEN_MAC - params.emplace_back("os_name", "Mac"); + params.emplace_back("os_version", numberTo(osvMajor) + "." + numberTo(osvMinor)); + Added: head/sysutils/freefilesync/files/patch-zen_file__io.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/freefilesync/files/patch-zen_file__io.cpp Fri Mar 2 08:51:18 2018 (r463383) @@ -0,0 +1,12 @@ +--- ../../zen/file_io.cpp.orig 2018-03-01 11:10:56.764684000 +0200 ++++ ../../zen/file_io.cpp 2018-03-01 11:12:35.599889000 +0200 +@@ -305,8 +305,7 @@ + { + const FileHandle fh = getHandle(); + //don't use potentially inefficient ::posix_fallocate! +- const int rv = ::fallocate(fh, //int fd, +- 0, //int mode, ++ const int rv = ::posix_fallocate(fh, //int fd, + 0, //off_t offset + expectedSize); //off_t len + if (rv != 0) Added: head/sysutils/freefilesync/files/patch-zen_thread.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/freefilesync/files/patch-zen_thread.h Fri Mar 2 08:51:18 2018 (r463383) @@ -0,0 +1,21 @@ +--- ../../zen/thread.h.orig 2018-03-01 11:48:04.473377000 +0200 ++++ ../../zen/thread.h 2018-03-01 11:48:51.214192000 +0200 +@@ -12,8 +12,7 @@ + #include "scope_guard.h" + #include "type_traits.h" + #include "optional.h" +- #include +- ++#include + + namespace zen + { +@@ -407,7 +406,7 @@ + inline + void setCurrentThreadName(const char* threadName) + { +- ::prctl(PR_SET_NAME, threadName, 0, 0, 0); ++ pthread_set_name_np(pthread_self(), threadName); + + } + Modified: head/sysutils/freefilesync/pkg-plist ============================================================================== --- head/sysutils/freefilesync/pkg-plist Fri Mar 2 08:51:00 2018 (r463382) +++ head/sysutils/freefilesync/pkg-plist Fri Mar 2 08:51:18 2018 (r463383) @@ -47,6 +47,7 @@ share/FreeFileSync/images/basic-step-start-sync.png share/FreeFileSync/images/basic-step-sync-config.png share/FreeFileSync/images/calendar-job-added.png share/FreeFileSync/images/com-settings-context.png +share/FreeFileSync/images/command-line-syntax.png share/FreeFileSync/images/comparison-settings.png share/FreeFileSync/images/comparison-variant-double-click.png share/FreeFileSync/images/config-double-click.png @@ -54,9 +55,9 @@ share/FreeFileSync/images/config-multiple-selection.pn share/FreeFileSync/images/copy-alternative-path.png share/FreeFileSync/images/dialog-drag-move.png share/FreeFileSync/images/direct-synchronize.png -share/FreeFileSync/images/donate.png share/FreeFileSync/images/explorer-context.png share/FreeFileSync/images/filter-context.png +share/FreeFileSync/images/filter-zero-file-size.png share/FreeFileSync/images/filter.png share/FreeFileSync/images/freefilesync-logo.png share/FreeFileSync/images/gnome-scheduler.png @@ -77,7 +78,9 @@ share/FreeFileSync/images/remove-local-settings.png share/FreeFileSync/images/save-automator.png share/FreeFileSync/images/select-time-span.png share/FreeFileSync/images/setup-batch-job.png +share/FreeFileSync/images/sftp-cloud-picker.png share/FreeFileSync/images/sftp-login.png +share/FreeFileSync/images/sftp-performance.png share/FreeFileSync/images/show-thumbnails.png share/FreeFileSync/images/sync-settings-context.png share/FreeFileSync/images/synchronization-settings.png @@ -91,13 +94,12 @@ share/FreeFileSync/italian.lng share/FreeFileSync/japanese.lng share/FreeFileSync/korean.lng share/FreeFileSync/lithuanian.lng -share/FreeFileSync/outdated/norwegian.lng +share/FreeFileSync/norwegian.lng share/FreeFileSync/polish.lng share/FreeFileSync/portuguese.lng share/FreeFileSync/portuguese_br.lng share/FreeFileSync/romanian.lng share/FreeFileSync/russian.lng -share/FreeFileSync/serbian.lng share/FreeFileSync/slovak.lng share/FreeFileSync/slovenian.lng share/FreeFileSync/spanish.lng