package/synergy: bump to version 1.8.5
PATCH v3 1/1 package/synergy: bump to version 1.8.5
The project moved from SourceForge to GitHub.
The buildsystem changed from autotools to CMake.
Removed patches:
- 0001-includes.patch
Not needed anymore, was fixed upstream.
- 0002-remove-werror.patch
Autotools patch, no longer applicable.
- 0003-Fix-build-with-gcc-6.patch
This patch was applied upstream:
https://github.com/symless/synergy/commit/3d963bfbe7897d0a33ad477c06a6341c7708780d
Add patch to disable building of tests and allow building without gtest.
---
Changes v2 -> v3:
- improve commit log (Baruch Siach)
Changes v1 -> v2:
- drop gtest dependency, updated patch (Thomas Petazzoni)
- use full path in install (Thomas Petazzoni)
--- DEVELOPERS | 1 + ...1-allow-building-of-synergy-without-tests.patch | 86 +++++++++++ package/synergy/0001-includes.patch | 167 --------------------- package/synergy/0002-remove-werror.patch | 16 -- package/synergy/0003-Fix-build-with-gcc-6.patch | 86 ----------- package/synergy/Config.in | 5 +- package/synergy/synergy.hash | 2 +- package/synergy/synergy.mk | 37 +++-- 8 files changed, 118 insertions(+), 282 deletions(-) create mode 100644 package/synergy/0001-allow-building-of-synergy-without-tests.patch delete mode 100644 package/synergy/0001-includes.patch delete mode 100644 package/synergy/0002-remove-werror.patch delete mode 100644 package/synergy/0003-Fix-build-with-gcc-6.patch
DEVELOPERS +1 -0
@@ -1270,6 +1270,7 @@ F: package/libvips/ N: Pieterjan Camerlynck <[email protected]> F: package/libdvbpsi/ F: package/mraa/ +F: package/synergy/ N: Pranit Sirsat <[email protected]> F: package/paho-mqtt-c/
package/synergy/0001-allow-building-of-synergy-without-tests.patch new file +86 -0
86 lines not on this page · raw message
package/synergy/0001-includes.patch deleted +0 -167
167 lines not on this page · raw message
package/synergy/0002-remove-werror.patch deleted +0 -16
@@ -1,16 +0,0 @@ -Remove -Werror from CXXFLAGS - -Signed-off-by: Markos Chandras <[email protected]> - -Index: synergy-1.3.1/configure.in -=================================================================== ---- synergy-1.3.1.orig/configure.in -+++ synergy-1.3.1/configure.in -@@ -239,7 +239,6 @@ dnl checks for system services - - dnl enable maximum compiler warnings and warnings are errors. - ACX_CXX_WARNINGS --ACX_CXX_WARNINGS_ARE_ERRORS - - dnl adjust compiler and linker variables - CXXFLAGS="$CXXFLAGS $SYNERGY_CXXFLAGS $ARCH_CFLAGS"
package/synergy/0003-Fix-build-with-gcc-6.patch deleted +0 -86
86 lines not on this page · raw message
package/synergy/Config.in +4 -1
@@ -4,6 +4,9 @@ config BR2_PACKAGE_SYNERGY depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXTST help Synergy lets you easily share a single mouse and
@@ -11,7 +14,7 @@ config BR2_PACKAGE_SYNERGY operating systems, each with its own display, without special hardware. - http://synergy2.sourceforge.net/ + https://github.com/symless/synergy/ comment "synergy needs a toolchain w/ C++, wchar" depends on BR2_PACKAGE_XORG7
package/synergy/synergy.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed: -sha256 4a15e26456498dda5f3aa7d688a4892e0c50394a2f01685136fbc954bacc9691 synergy-1.3.1.tar.gz +sha256 d913005e911bb6e5aa459f88fe91b40d59c37ea7207399814e4d450fd8634ec1 synergy-v1.8.5-stable.tar.gz
package/synergy/synergy.mk +26 -11
@@ -4,16 +4,31 @@ # ################################################################################ -SYNERGY_VERSION = 1.3.1 -SYNERGY_SITE = http://downloads.sourceforge.net/project/synergy2/Sources/$(SYNERGY_VERSION) -SYNERGY_AUTORECONF = YES -SYNERGY_CONF_OPTS = \ - --x-includes=$(STAGING_DIR)/usr/include/X11 \ - --x-libraries=$(STAGING_DIR)/usr/lib -SYNERGY_DEPENDENCIES = \ - xlib_libXtst \ - $(if $(BR2_PACKAGE_XLIB_LIBXINERAMA),xlib_libXinerama) +SYNERGY_VERSION = v1.8.5-stable +SYNERGY_SITE = $(call github,symless,synergy,$(SYNERGY_VERSION)) SYNERGY_LICENSE = GPLv2 -SYNERGY_LICENSE_FILES = COPYING +SYNERGY_LICENSE_FILES = LICENSE +SYNERGY_DEPENDENCIES = libcurl openssl xlib_libX11 xlib_libXtst -$(eval $(autotools-package)) +ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y) +SYNERGY_DEPENDENCIES += xlib_libXext +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +SYNERGY_DEPENDENCIES += xlib_libXi +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +SYNERGY_DEPENDENCIES += xlib_libXinerama +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +SYNERGY_DEPENDENCIES += xlib_libXrandr +endif + +define SYNERGY_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/synergyc $(TARGET_DIR)/usr/bin/synergyc + $(INSTALL) -D -m 0755 $(@D)/bin/synergys $(TARGET_DIR)/usr/bin/synergys +endef + +$(eval $(cmake-package))
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH v3 1/1 package/synergy: bump to version 1.8.5
Hello,
Quoted 22 lines · Pieterjan Camerlynck
The project moved from SourceForge to GitHub.
The buildsystem changed from autotools to CMake.
Removed patches:
- 0001-includes.patch
Not needed anymore, was fixed upstream.
- 0002-remove-werror.patch
Autotools patch, no longer applicable.
- 0003-Fix-build-with-gcc-6.patch
This patch was applied upstream:
https://github.com/symless/synergy/commit/3d963bfbe7897d0a33ad477c06a6341c7708780dAdd patch to disable building of tests and allow building without gtest.
Signed-off-by Pieterjan Camerlynck <[email protected]>---
Changes v2 -> v3:
- improve commit log (Baruch Siach)
Changes v1 -> v2:
- drop gtest dependency, updated patch (Thomas Petazzoni)
- use full path in install (Thomas Petazzoni)
Quoted 14 lines
--- DEVELOPERS | 1 + ...1-allow-building-of-synergy-without-tests.patch | 86 +++++++++++ package/synergy/0001-includes.patch | 167 --------------------- package/synergy/0002-remove-werror.patch | 16 -- package/synergy/0003-Fix-build-with-gcc-6.patch | 86 ----------- package/synergy/Config.in | 5 +- package/synergy/synergy.hash | 2 +- package/synergy/synergy.mk | 37 +++-- 8 files changed, 118 insertions(+), 282 deletions(-) create mode 100644 package/synergy/0001-allow-building-of-synergy-without-tests.patch delete mode 100644 package/synergy/0001-includes.patch delete mode 100644 package/synergy/0002-remove-werror.patch delete mode 100644 package/synergy/0003-Fix-build-with-gcc-6.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com