git: 34de96ad482f - main - sysutils/synergy: update 1.14.6.19 → 1.15.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 31 Aug 2024 07:16:29 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=34de96ad482f932eb1e49b625625bdf8921c7ee9

commit 34de96ad482f932eb1e49b625625bdf8921c7ee9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-31 07:15:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-31 07:16:16 +0000

    sysutils/synergy: update 1.14.6.19 → 1.15.1
    
    Reported by:    portscout
---
 sysutils/synergy/Makefile                      | 14 ++++----------
 sysutils/synergy/distinfo                      |  6 +++---
 sysutils/synergy/files/patch-cmake_Build.cmake | 10 ++++++++++
 sysutils/synergy/pkg-plist                     |  2 --
 4 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index 536ae8a2d91f..4abdef4c9faa 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	synergy
-DISTVERSION=	1.14.6.19
-DISTVERSIONSUFFIX=	-stable
-PORTREVISION=	2
+DISTVERSION=	1.15.1
+DISTVERSIONSUFFIX=	+r1
 PORTEPOCH=	3
 CATEGORIES=	sysutils
 
@@ -16,15 +15,14 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libnotify.so:devel/libnotify \
 		libxkbfile.so:x11/libxkbfile
 
-USES=		cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig qt:5 ssl xorg
+USES=		cmake compiler:c++14-lang cpe gnome localbase:ldflags pkgconfig qt:6 ssl xorg
 CPE_VENDOR=	synergy-foss
-USE_QT=		core dbus network widgets buildtools:build linguisttools:build qmake:build
+USE_QT=		base tools:build
 USE_GNOME=	gdkpixbuf2 glib20
 USE_XORG=	ice xtst x11 sm xext xinerama xrandr xi
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	symless
-GH_PROJECT=	synergy-core
 GH_TUPLE=	google:googletest:18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6:google_googletest/ext/googletest \
 		mohabouje:WinToast:8abb85b:WinToast/ext/WinToast \
 		zeux:pugixml:9e382f9:pugixml/ext/pugixml
@@ -57,14 +55,10 @@ post-patch:
 		${WRKSRC}/src/lib/synergy/unix/AppUtilUnix.cpp
 	@${REINPLACE_CMD} -e 's|return "/etc"|return "${PREFIX}/etc"|' \
 		${WRKSRC}/src/lib/arch/unix/ArchFileUnix.cpp
-	@${REINPLACE_CMD} -e 's|/etc/synergy.conf|${PREFIX}/etc/synergy.conf|' \
-		${WRKSRC}/doc/synergys.man
 
 do-install: # https://github.com/symless/synergy-core/issues/6895
 .for f in synergyc synergys
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/${f}.man \
-		${STAGEDIR}${PREFIX}/share/man/man1/${f}.1
 .endfor
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/syntool ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/doc/synergy.conf.example-basic ${STAGEDIR}${PREFIX}/etc/synergy.conf.sample # server config
diff --git a/sysutils/synergy/distinfo b/sysutils/synergy/distinfo
index 6d183a658bd5..407674353487 100644
--- a/sysutils/synergy/distinfo
+++ b/sysutils/synergy/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1688266429
-SHA256 (symless-synergy-core-1.14.6.19-stable_GH0.tar.gz) = 01854ec932845975cd81363bed8276b95c07a607050683fc1b74b7126199de79
-SIZE (symless-synergy-core-1.14.6.19-stable_GH0.tar.gz) = 4658286
+TIMESTAMP = 1725086844
+SHA256 (symless-synergy-1.15.1+r1_GH0.tar.gz) = 42fbf26c634d2947c7efc45da8c9a153387bcdcb19c1102a4f7c4e95aad5c708
+SIZE (symless-synergy-1.15.1+r1_GH0.tar.gz) = 4127199
 SHA256 (google-googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6_GH0.tar.gz) = d518c1c146c5a87cdedbee8535a396f95d91e8b39baa539fd4c50bd62148d199
 SIZE (google-googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6_GH0.tar.gz) = 876756
 SHA256 (mohabouje-WinToast-8abb85b_GH0.tar.gz) = 2c991d7ea93cc7d15b7a0f421e0d1906c081968adb252285dba7e9ae8e667f40
diff --git a/sysutils/synergy/files/patch-cmake_Build.cmake b/sysutils/synergy/files/patch-cmake_Build.cmake
new file mode 100644
index 000000000000..e2eb778e526b
--- /dev/null
+++ b/sysutils/synergy/files/patch-cmake_Build.cmake
@@ -0,0 +1,10 @@
+--- cmake/Build.cmake.orig	2024-08-31 06:52:24 UTC
++++ cmake/Build.cmake
+@@ -18,7 +18,6 @@ elseif(UNIX)
+   add_compile_options(/WX)
+ elseif(UNIX)
+   message(STATUS "Enabling warnings as errors (GNU/Clang)")
+-  add_compile_options(-Werror)
+ endif()
+ 
+ macro(post_config)
diff --git a/sysutils/synergy/pkg-plist b/sysutils/synergy/pkg-plist
index f9754b5d9223..7de396a321da 100644
--- a/sysutils/synergy/pkg-plist
+++ b/sysutils/synergy/pkg-plist
@@ -3,6 +3,4 @@ bin/synergyc
 %%LEGACY%%bin/synergyd
 bin/synergys
 bin/syntool
-share/man/man1/synergyc.1.gz
-share/man/man1/synergys.1.gz
 @sample etc/synergy.conf.sample