This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from e4412fb3 debian/control: Drop base64 from D (x2goserver): A bin:pkg does not exist, the bas64 executable is shipped as part of coreutils (which is an essential package and thus does not need a dependency). new 51e1da13 x2gostartsession: let x2godialog handle events via NX_CLIENT. new 24e89c83 add new subpackage x2godialog new 4b9d870a x2goserver.spec: remove run-time base64 dependency - part of coreutils. The 3 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: Makefile | 7 +++++ debian/changelog | 5 ++++ debian/control | 24 +++++++++++++++ debian/x2goserver-x2godialog.install | 2 ++ ...ent.postinst => x2goserver-x2godialog.postinst} | 7 +---- ...goagent.postrm => x2goserver-x2godialog.postrm} | 7 +---- ...erver.preinst => x2goserver-x2godialog.preinst} | 17 ++--------- .../Makefile | 35 ++++++++-------------- .../bin/.keep | 0 x2goserver-x2godialog/man/man1/x2godialog.1 | 24 +++++++++++++++ x2goserver.spec | 29 ++++++++++++++++-- x2goserver/bin/x2gostartagent | 3 +- 12 files changed, 108 insertions(+), 52 deletions(-) create mode 100644 debian/x2goserver-x2godialog.install copy debian/{x2goserver-x2goagent.postinst => x2goserver-x2godialog.postinst} (73%) copy debian/{x2goserver-x2goagent.postrm => x2goserver-x2godialog.postrm} (71%) copy debian/{x2goserver.preinst => x2goserver-x2godialog.preinst} (66%) copy {x2goserver-printing => x2goserver-x2godialog}/Makefile (52%) copy {x2goserver-x2goagent => x2goserver-x2godialog}/bin/.keep (100%) create mode 100644 x2goserver-x2godialog/man/man1/x2godialog.1 -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 4b9d870a802e9dafa3265b7347ff9a292cce60b2 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Apr 19 20:28:25 2021 +0200 x2goserver.spec: remove run-time base64 dependency - part of coreutils. --- debian/changelog | 1 + x2goserver.spec | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 102e58c8..bdeb3800 100644 --- a/debian/changelog +++ b/debian/changelog @@ -422,6 +422,7 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium + Add dependency upon perl(Encode::Locale) for older distros. Others ship the module as part of core. + Add run-time base64 dependency. + + Remove run-time base64 dependency - part of coreutils. * debian/x2goserver.install: + Install bin/x2goupdateoptionsstring. + Rename x2goupdateoptionsstring to x2gooptionsstring. diff --git a/x2goserver.spec b/x2goserver.spec index f40b8c7f..16db62c2 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -104,8 +104,6 @@ Requires: perl = %{perl_version} %endif %endif -# We'll pass agent options around base64-encoded for full binary support. -Requires: base64 # For running any command, really. Requires: bash # For x2goruncommand - for now -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 24e89c83033364a239192bd601b73e4f6e7aaae3 Author: Ulrich Sibiller <uli42@gmx.de> Date: Fri Mar 12 11:43:34 2021 +0100 add new subpackage x2godialog Fixes https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1228 1/2 --- Makefile | 7 +++ debian/control | 24 +++++++++ debian/x2goserver-x2godialog.install | 2 + debian/x2goserver-x2godialog.postinst | 25 +++++++++ debian/x2goserver-x2godialog.postrm | 25 +++++++++ debian/x2goserver-x2godialog.preinst | 22 ++++++++ x2goserver-x2godialog/Makefile | 78 +++++++++++++++++++++++++++++ x2goserver-x2godialog/bin/.keep | 0 x2goserver-x2godialog/man/man1/x2godialog.1 | 24 +++++++++ x2goserver.spec | 27 ++++++++++ 10 files changed, 234 insertions(+) diff --git a/Makefile b/Makefile index 08a6d10f..b293496b 100755 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ build_man2html: $(MAKE) -C x2goserver-xsession $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ clean: -$(MAKE) -f Makefile.perl clean @@ -41,6 +42,7 @@ clean: $(MAKE) -C x2goserver-xsession $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ distclean: -$(MAKE) -f Makefile.perl realclean @@ -54,6 +56,7 @@ distclean: $(MAKE) -C x2goserver-xsession clean $(MAKE) -C x2goserver-fmbindings clean $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ build-arch: $(MAKE) -C x2goserver-common $@ @@ -66,6 +69,7 @@ build-arch: $(MAKE) -C x2goserver-xsession $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ build-indep: $(PERL) Makefile.PL INSTALLDIRS=$(PERL_INSTALLDIRS) @@ -80,6 +84,7 @@ build-indep: $(MAKE) -C x2goserver-xsession $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ install: $(MAKE) -f Makefile.perl pure_install @@ -93,12 +98,14 @@ install: $(MAKE) -C x2goserver-xsession $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-desktopsharing $@ + $(MAKE) -C x2goserver-x2godialog $@ uninstall: $(MAKE) -C x2goserver-printing $@ $(MAKE) -C x2goserver-x2goagent $@ $(MAKE) -C x2goserver-x2gokdrive $@ $(MAKE) -C x2goserver-xsession $@ + $(MAKE) -C x2goserver-x2godialog $@ $(MAKE) -C x2goserver-desktopsharing $@ $(MAKE) -C x2goserver-fmbindings $@ $(MAKE) -C x2goserver-extensions $@ diff --git a/debian/control b/debian/control index 81ad6aa8..042acc5c 100644 --- a/debian/control +++ b/debian/control @@ -65,6 +65,7 @@ Recommends: x2goserver-printing (>= ${source:Version}), x2goserver-xsession (<< ${source:Version}.1~), x2goserver-xsession (>= ${source:Version}), + x2goserver-x2godialog, xfonts-base, xinit, Suggests: @@ -310,6 +311,29 @@ Description: X2Go Server's X2Go Agent Xserver Please refer to the nxagent package's description for more information on NX. +Package: x2goserver-x2godialog +Architecture: any +Pre-Depends: + dpkg (>= 1.15.7.2), +Depends: + nxdialog, + ${misc:Depends}, +Suggests: + x2goserver, +Breaks: +Replaces: +Description: X2Go Server's X2Go dialog tool + X2Go is a software suite that uses NX and/or KDrive technology for + remote desktop computing. + . + NX technology implements a very efficient compression of the X11 + protocol. This increases performance when using X applications over a + network, especially a slow one. + . + This package is a wrapper that activates X2Go branding in nxdialog. + Please refer to the nxagent package's description for more information + on NX. + Package: x2goserver-x2gokdrive Architecture: any Pre-Depends: diff --git a/debian/x2goserver-x2godialog.install b/debian/x2goserver-x2godialog.install new file mode 100644 index 00000000..09ad1b4c --- /dev/null +++ b/debian/x2goserver-x2godialog.install @@ -0,0 +1,2 @@ +usr/bin/x2godialog +usr/share/man/man1/x2godialog.1* diff --git a/debian/x2goserver-x2godialog.postinst b/debian/x2goserver-x2godialog.postinst new file mode 100755 index 00000000..1dd033a2 --- /dev/null +++ b/debian/x2goserver-x2godialog.postinst @@ -0,0 +1,25 @@ +#!/bin/sh +# postinst script for x2goserver-x2godialog + +set -e + +# see: dh_installdeb(1) +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit '0' diff --git a/debian/x2goserver-x2godialog.postrm b/debian/x2goserver-x2godialog.postrm new file mode 100755 index 00000000..1f45c882 --- /dev/null +++ b/debian/x2goserver-x2godialog.postrm @@ -0,0 +1,25 @@ +#!/bin/sh +# postrm script for x2goserver-x2godialog + +set -e + +# see: dh_installdeb(1) +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see /usr/share/doc/packaging-manual/ + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit '0' diff --git a/debian/x2goserver-x2godialog.preinst b/debian/x2goserver-x2godialog.preinst new file mode 100755 index 00000000..2d7f031b --- /dev/null +++ b/debian/x2goserver-x2godialog.preinst @@ -0,0 +1,22 @@ +#!/bin/sh +# preinst script for x2goserver-x2godialog + +set -e + +# see: dh_installdeb(1) +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit '0' diff --git a/x2goserver-x2godialog/Makefile b/x2goserver-x2godialog/Makefile new file mode 100755 index 00000000..f6a68579 --- /dev/null +++ b/x2goserver-x2godialog/Makefile @@ -0,0 +1,78 @@ +#!/usr/bin/make -f + +SRC_DIR=$(CURDIR) +SHELL=/bin/bash + +INSTALL_DIR=install -d -o root -g root -m 755 +INSTALL_FILE=install -o root -g root -m 644 +INSTALL_PROGRAM=install -o root -g root -m 755 +INSTALL_SYMLINK=ln -s -f + +RM_FILE=rm -f +RM_DIR=rmdir -p --ignore-fail-on-non-empty + +DESTDIR ?= +PREFIX ?= /usr/local +BINDIR ?= $(PREFIX)/bin +MANDIR ?= $(PREFIX)/share/man + +BIN_SCRIPTS=x2godialog $(shell cd bin && echo *) + +man_pages = `cd man && find * -type f` + +MAN2HTML_BIN = $(shell which man2html) +MAN2HTML_SRC = man +MAN2HTML_DEST = .build_man2html/html + +all: clean build + +build: build-arch build-indep + +build-arch: + +build-indep: build_man2html + +build_man2html: + if [ -n "$(MAN2HTML_BIN)" ]; then \ + mkdir -p $(MAN2HTML_DEST); \ + for man_page in $(man_pages); do mkdir -p `dirname $(MAN2HTML_DEST)/$$man_page`; done; \ + for man_page in $(man_pages); do $(MAN2HTML_BIN) $(MAN2HTML_SRC)/$$man_page > $(MAN2HTML_DEST)/$$man_page.html; done; \ + fi + +clean: clean_man2html + +clean_man2html: + rm -rf `dirname $(MAN2HTML_DEST)` + +install: install_scripts install_config install_data install_man install_version + +install_scripts: + $(INSTALL_DIR) $(DESTDIR)$(BINDIR) + $(INSTALL_SYMLINK) nxdialog $(DESTDIR)$(BINDIR)/x2godialog + +install_data: + +install_config: + +install_man: + $(INSTALL_DIR) $(DESTDIR)$(MANDIR) + $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1 + $(INSTALL_FILE) man/man1/*.1 $(DESTDIR)$(MANDIR)/man1 + gzip -f $(DESTDIR)$(MANDIR)/man1/x2go*.1 + +install_version: + +uninstall: uninstall_scripts uninstall_config uninstall_data uninstall_man uninstall_version + +uninstall_scripts: + for file in $(BIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(BINDIR)/$$file; done + +uninstall_data: + +uninstall_config: + +uninstall_man: + for file in $(BIN_SCRIPTS); do $(RM_FILE) $(DESTDIR)$(MANDIR)/man1/$$file.1.gz; done + $(RM_DIR) $(DESTDIR)$(MANDIR) || true + +uninstall_version: diff --git a/x2goserver-x2godialog/bin/.keep b/x2goserver-x2godialog/bin/.keep new file mode 100644 index 00000000..e69de29b diff --git a/x2goserver-x2godialog/man/man1/x2godialog.1 b/x2goserver-x2godialog/man/man1/x2godialog.1 new file mode 100644 index 00000000..99b07124 --- /dev/null +++ b/x2goserver-x2godialog/man/man1/x2godialog.1 @@ -0,0 +1,24 @@ +.TH x2godialog 1 "Nov 2018" "Version 4.1.0.4" +.SH NAME +x2godialog \- X2Go dialog tool. +.SH SYNOPSIS +.B x2godialog +.I "[options]" + +.SH DESCRIPTION +\fBx2godialog\fR is a wrapper around nxdialog which is an a tool +to display graphical requestor windows which called used by x2goagent. + +.SH OPTIONS +.TP +.B \--help +Lists all others options that are not listed here. For the complete +manpage please refer to the nxdialog manpage. + +.SH FURTHER READINGS +Information on X2Go: https://wiki.x2go.org +.PP +Information on NX: https://github.com/ArcticaProject/nx-libs + +.SH AUTHOR +This manual page was written by Ulrich Sibiller <uli42@gmx.de>. diff --git a/x2goserver.spec b/x2goserver.spec index 7bc86689..f40b8c7f 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -374,6 +374,23 @@ This package is a wrapper that activates X2Go branding in nxagent. Please refer to the nxagent package's description for more information on NX. +%package x2godialog +Group: Applications/System +Summary: X2Go Server's X2Go Agent Xserver +Requires: nxdialog + +%description x2godialog +X2Go is a software suite that uses NX and/or KDrive technology for remote +desktop computing. + +NX technology implements a very efficient compression of the X11 +protocol. This increases performance when using X applications over a +network, especially a slow one. + +This package is a wrapper that activates X2Go branding in nxdialog. +Please refer to the nxagent package's description for more information +on NX. + %package x2gokdrive Group: Applications/System Summary: X2Go Server's X2Go KDrive Xserver @@ -915,6 +932,7 @@ fi %exclude %{_bindir}/x2gofm %exclude %{_bindir}/x2goprint %exclude %{_bindir}/x2goagent +%exclude %{_bindir}/x2godialog %exclude %{_bindir}/x2go*-desktopsharing %dir %{_libdir}/x2go %{_libdir}/x2go/x2gochangestatus @@ -949,6 +967,7 @@ fi %exclude %{_mandir}/man8/x2goserver-run-extensions.8* %exclude %{_mandir}/man8/x2go*-desktopsharing.8* %exclude %{_mandir}/man1/x2goagent.1* +%exclude %{_mandir}/man1/x2godialog.1* %dir %{_datadir}/x2go/ %dir %{_datadir}/x2go/x2gofeature.d/ %{_datadir}/x2go/x2gofeature.d/x2goserver.features @@ -1127,4 +1146,12 @@ fi %config(noreplace) %{_sysconfdir}/logcheck/ignore.d.server/x2goserver +%files x2godialog +%defattr(-,root,root) +%doc debian/copyright +%doc debian/changelog +%{_bindir}/x2godialog +%{_mandir}/man1/x2godialog.1* + + %changelog -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 51e1da1312245accbfcb6f2fa360c5bef3d99588 Author: Ulrich Sibiller <uli42@gmx.de> Date: Fri Mar 12 11:48:19 2021 +0100 x2gostartsession: let x2godialog handle events via NX_CLIENT. Previously, any action that should have displayed a dialog did instead suspend x2goagent, since NX_CLIENT was set to x2gosuspend-session. Fixes: #1228. Fixes: #1540. --- debian/changelog | 4 ++++ x2goserver/bin/x2gostartagent | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5fde4817..102e58c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -458,6 +458,10 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium Previous version was incomplete. Note that this will only work correctly once we actually update to 3.5.99.26 within X2Go, but it doesn't hurt to have the new definitions until then. Fixes: #1538. + - x2gostartsession: let x2godialog handle events via NX_CLIENT. + Previously, any action that should have displayed a dialog did instead + suspend x2goagent, since NX_CLIENT was set to x2gosuspend-session. + Fixes: #1228. Fixes: #1540. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 19 Jul 2019 20:55:11 +0200 diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent index ee63ac18..0d6ddaac 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -20,6 +20,7 @@ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. X2GO_LIB_PATH="$(x2gopath 'libexec')" +X2GO_BASE_PATH="$(x2gopath 'base')" "${X2GO_LIB_PATH}/x2gosyslog" "${0}" 'info' "$(basename "${0}") called with options: ${*}" @@ -204,7 +205,7 @@ if [[ "${LWORD}" = 'LIMIT' ]]; then exit '9' fi -export NX_CLIENT="${X2GO_LIB_PATH}/x2gosuspend-agent" +export NX_CLIENT="${X2GO_BASE_PATH}/bin/x2godialog" COLORDEPTH="$(awk '{split($0,a,"-depth_"); print a[2]}' <<< "${X2GO_TYPE}")" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git