This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from e7e74df Client now sends "login" parameter to the broker when executing task "selectsession". Before client just sent a username on the broker and it was imposiible to find out user name on X2Go server, which is not always the same as broker username. This won't break a compatibility with previous broker as they just will ignore this parameter. new b9665ba x2goclient.pro: detect libssh and libssh_threads via pkgconfig on UNIX-based platforms. new 7750848 x2goclient.pro: let static Linux configuration override the new pkgconfig-based libssh usage. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 5 +++++ x2goclient.pro | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit b9665ba6c93dc7066c8cd57db1719c87c4f55d41 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Oct 30 13:57:30 2018 +0100 x2goclient.pro: detect libssh and libssh_threads via pkgconfig on UNIX-based platforms. libssh_threads is optional if the libssh version is high enough. --- debian/changelog | 3 +++ x2goclient.pro | 22 +++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 0a43c2d..e079673 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,9 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium Qt 5.11+. Fixes: #1307. - macbuild.sh: switch to bundling PulseAudio 12.1 since it's now available in MacPorts. + - x2goclient.pro: detect libssh and libssh_threads via pkgconfig on + UNIX-based platforms. libssh_threads is optional if the libssh version + is high enough. -- X2Go Release Manager <git-admin@x2go.org> Tue, 26 Jun 2018 00:39:28 +0200 diff --git a/x2goclient.pro b/x2goclient.pro index f628fa3..63c5b9a 100644 --- a/x2goclient.pro +++ b/x2goclient.pro @@ -6,6 +6,7 @@ include (x2goclientconfig.pri) CONFIG += $$(X2GO_CLIENT_TARGET) CONFIG += $$(X2GO_LINUX_STATIC) +CONFIG += link_pkgconfig #CONFIG += console VERSION = "$$cat($${PWD}/VERSION)" @@ -132,7 +133,26 @@ SOURCES += src/sharewidget.cpp \ src/compat.cpp \ src/pulsemanager.cpp -LIBS += -lssh -lssh_threads +unix { + isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config + + PKGCONFIG += libssh + + # Failure to find libssh_threads is non-fatal, since newer libssh versions + # don't ship a separate library any longer. + $$system($$PKG_CONFIG --exists "libssh < 0.8.0"):PKGCONFIG += libssh_threads +} +win32 { + # pkgconfig is... tricky on Windows. + # We'll hardcode stuff here. Make sure that it's consistent with the + # libraries we use on Windows. + LIBS += -lssh -lssh_threads +} +else { + # For backwards-compatibility. + LIBS += -lssh -lssh_threads +} + win32:LIBS += -lAdvAPI32 -lshell32 -lUser32 RC_FILE = res/x2goclient.rc -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 77508480840b7f73e0c6648d1a296e7480df69b5 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Oct 30 14:48:01 2018 +0100 x2goclient.pro: let static Linux configuration override the new pkgconfig-based libssh usage. --- debian/changelog | 2 ++ x2goclient.pro | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index e079673..8a1c111 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,8 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium - x2goclient.pro: detect libssh and libssh_threads via pkgconfig on UNIX-based platforms. libssh_threads is optional if the libssh version is high enough. + - x2goclient.pro: let static Linux configuration override the new + pkgconfig-based libssh usage. -- X2Go Release Manager <git-admin@x2go.org> Tue, 26 Jun 2018 00:39:28 +0200 diff --git a/x2goclient.pro b/x2goclient.pro index 63c5b9a..6cd51b0 100644 --- a/x2goclient.pro +++ b/x2goclient.pro @@ -136,11 +136,21 @@ SOURCES += src/sharewidget.cpp \ unix { isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config - PKGCONFIG += libssh + !x2go_linux_static { + PKGCONFIG += libssh - # Failure to find libssh_threads is non-fatal, since newer libssh versions - # don't ship a separate library any longer. - $$system($$PKG_CONFIG --exists "libssh < 0.8.0"):PKGCONFIG += libssh_threads + # Failure to find libssh_threads is non-fatal, since newer libssh versions + # don't ship a separate library any longer. + $$system($$PKG_CONFIG --exists "libssh < 0.8.0"):PKGCONFIG += libssh_threads + } + else { + # No pkgconfig stuff, because... for some reason we wanted to call the + # library libssh_static. This doesn't sound like a standard name a Linux + # distro would ship, but at the same time I doubt anyone is building this + # package statically anyway. And even if they do, they shouldn't. + # It's also unclear how libssh_threads is called in this scheme. + LIBS += -lssh_static + } } win32 { # pkgconfig is... tricky on Windows. @@ -214,8 +224,7 @@ linux-g++-64 { x2go_linux_static { message("linking all libs statically") DEFINES += __linux__ - LIBS -= -lssh - LIBS += -lssh_static -lssl -lXpm + LIBS += -lssl -lXpm QMAKE_LFLAGS = -Bstatic $$QMAKE_LFLAGS } -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git