This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from 5dfc54f Don't close X2Go Client if settings dialog is called before broker auth. new 89cdde3 Revert "debian{,-qt4,-qt5}: Add a Qt5-based debian(-qt5)/ packaging folder and make it easy to switch between Qt4 and Qt5 build by simply changing the symlink target of debian/ (which is, yes indeed, a symlink, not a directory anymore)." new 71b226b debian/control: move to debian/control.in. new 45bb5a6 debian/control.in: switch to priority: optional. new 354aa4e debian/copyright: switch Upstream-Contact to myself. new da4ccd5 debian/: new file "watch". new 599605a debian/: new file "upstream/metadata". new 40ce45d debian/copyright: add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license including the OpenSSL exception and use that where appropriate. new 88c5821 debian/copyright: move GPL-3 definition out-of-line. new c253c1e debian/copyright: update notices. new 82a8960 debian/control.in: drop x2goplugin{,-{provider,dbg}}. new 0ea1159 debian/: new file "preprocessor.pl". new 1deec94 debian/: new file "proprocess.sh". new c13c37c debian/control.in: add Qt version switching support. new cd56aa9 debian/rules: preprocess files with an ".in" suffix in the "debian" directory. new cdd14c6 debian/control.in: add build-dependency upon lsb-release. new 149304f debian/rules: add Qt 4/5 switching, based upon the base system definition. new ec98764 debian/rules: force re-generation of debian/control in clean rule. new 5dcf600 debian/rules: add force variables to bypass autodetection via lsb-release. new a8f60f8 .gitignore: add debian/control, since it's now auto-generated. The 19 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: .gitignore | 3 + debian | 1 - debian-common/upstream/signing-key.asc | 210 ------ debian-qt4/changelog | 1 - debian-qt4/control | 131 ---- debian-qt4/copyright | 1 - debian-qt4/rules | 21 - debian-qt4/source | 1 - debian-qt4/upstream | 1 - debian-qt4/watch | 1 - debian-qt4/x2goplugin-provider.install | 0 debian-qt4/x2goplugin.install | 0 debian-qt5/changelog | 1 - debian-qt5/control | 57 -- debian-qt5/copyright | 1 - .../patches/1002_fix-ftbfs-on-non-linux.patch | 749 ------------------- debian-qt5/patches/README | 3 - debian-qt5/patches/series | 2 - debian-qt5/patches/update_makefile_qt5-build.patch | 18 - debian-qt5/rules | 35 - debian-qt5/source | 1 - debian-qt5/upstream | 1 - debian-qt5/watch | 1 - debian-qt5/x2goclient.dirs | 9 - debian-qt5/x2goclient.docs | 1 - debian-qt5/x2goclient.examples | 1 - debian-qt5/x2goclient.install | 11 - {debian-common => debian}/changelog | 41 +- {debian-qt4 => debian}/compat | 0 debian/control.in | 83 +++ {debian-common => debian}/copyright | 20 +- {debian-qt4 => debian}/menu | 0 debian/preprocess.sh | 77 ++ debian/preprocessor.pl | 814 +++++++++++++++++++++ debian/rules | 105 +++ {debian-common => debian}/source/format | 0 {debian-common => debian}/upstream/metadata | 0 {debian-common => debian}/watch | 0 {debian-qt4 => debian}/x2goclient.dirs | 0 {debian-qt4 => debian}/x2goclient.docs | 0 {debian-qt4 => debian}/x2goclient.examples | 0 {debian-qt4 => debian}/x2goclient.install | 0 {debian-qt4 => debian}/x2goclient.manpages | 0 43 files changed, 1131 insertions(+), 1271 deletions(-) delete mode 120000 debian delete mode 100644 debian-common/upstream/signing-key.asc delete mode 120000 debian-qt4/changelog delete mode 100644 debian-qt4/control delete mode 120000 debian-qt4/copyright delete mode 100755 debian-qt4/rules delete mode 120000 debian-qt4/source delete mode 120000 debian-qt4/upstream delete mode 120000 debian-qt4/watch delete mode 100644 debian-qt4/x2goplugin-provider.install delete mode 100644 debian-qt4/x2goplugin.install delete mode 120000 debian-qt5/changelog delete mode 100644 debian-qt5/control delete mode 120000 debian-qt5/copyright delete mode 100644 debian-qt5/patches/1002_fix-ftbfs-on-non-linux.patch delete mode 100644 debian-qt5/patches/README delete mode 100644 debian-qt5/patches/series delete mode 100644 debian-qt5/patches/update_makefile_qt5-build.patch delete mode 100755 debian-qt5/rules delete mode 120000 debian-qt5/source delete mode 120000 debian-qt5/upstream delete mode 120000 debian-qt5/watch delete mode 100644 debian-qt5/x2goclient.dirs delete mode 100644 debian-qt5/x2goclient.docs delete mode 100644 debian-qt5/x2goclient.examples delete mode 100644 debian-qt5/x2goclient.install rename {debian-common => debian}/changelog (99%) rename {debian-qt4 => debian}/compat (100%) create mode 100644 debian/control.in rename {debian-common => debian}/copyright (81%) rename {debian-qt4 => debian}/menu (100%) create mode 100755 debian/preprocess.sh create mode 100755 debian/preprocessor.pl create mode 100755 debian/rules rename {debian-common => debian}/source/format (100%) rename {debian-common => debian}/upstream/metadata (100%) rename {debian-common => debian}/watch (100%) rename {debian-qt4 => debian}/x2goclient.dirs (100%) rename {debian-qt4 => debian}/x2goclient.docs (100%) rename {debian-qt4 => debian}/x2goclient.examples (100%) rename {debian-qt4 => debian}/x2goclient.install (100%) rename {debian-qt4 => debian}/x2goclient.manpages (100%) -- 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 45bb5a6b47b3efd987ecce593bd9001fe09a23ce Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:13:16 2021 +0200 debian/control.in: switch to priority: optional. "extra" has been deprecated long ago. Pulled from Mike's changes. --- debian/changelog | 3 +++ debian/control.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b9d6bd6..327d32e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,9 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium registered and not static, but private. * debian/control: + Move to debian/control.in. + * debian/control.in: + + Switch to priority: optional. "extra" has been deprecated long ago. + Pulled from Mike's changes. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/control.in b/debian/control.in index eaf981e..8aa5aa2 100644 --- a/debian/control.in +++ b/debian/control.in @@ -1,6 +1,6 @@ Source: x2goclient Section: x11 -Priority: extra +Priority: optional Maintainer: X2Go Developers <x2go-dev@lists.x2go.org> Uploaders: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>, -- 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 599605a7c45d30e22649a7b18c99761872c95099 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:31:17 2021 +0200 debian/: new file "upstream/metadata". Same reasoning as for "watch". Pulled from Mike's changes. --- debian/changelog | 2 ++ debian/upstream/metadata | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index b9711b6..26bfb08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -52,6 +52,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium it first), but it might make downstream's life easier. Or not, depending on whether it's kept up-to-date correctly or not. Pulled from Mike's changes. + + New file "upstream/metadata". Same reasoning as for "watch". Pulled from + Mike's changes. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..5702ec5 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,8 @@ +Name: X2Go Client +Bug-Database: https://bugs.x2go.org/src:x2goclient +Bug-Submit: https://bugs.x2go.org/Reporting.html +Contact: x2go-dev@lists.x2go.org +Donation: https://wiki.x2go.org/doku.php/doc:sponsors +Repository: git://code.x2go.org/x2goclient.git +Repository-Browse: https://code.x2go.org/gitweb?p=x2goclient.git;a=summary +Security-Contact: security@lists.x2go.org -- 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 da4ccd5b394a2ea9364d7c2e80decf50f2a79c14 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:28:43 2021 +0200 debian/: new file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing it first), but it might make downstream's life easier. Or not, depending on whether it's kept up-to-date correctly or not. Pulled from Mike's changes. --- debian/changelog | 6 ++++++ debian/watch | 3 +++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2617c1d..b9711b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -46,6 +46,12 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium Pulled from Mike's changes. * debian/copyright: + Switch Upstream-Contact to myself. Pulled from Mike's changes. + * debian/: + + New file "watch". We won't need this per se (since we're upstream and + there cannot be a newer version of the Debian package without releasing + it first), but it might make downstream's life easier. Or not, depending + on whether it's kept up-to-date correctly or not. Pulled from Mike's + changes. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..91d6bc7 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=pgpsigurlmangle=s/$/.asc/ \ +https://code.x2go.org/releases/source/x2goclient/x2goclient-(\d+\.\d+\.\d+\.\d+)\.tar\.gz -- 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 71b226bbfe785d58c29875c1468009e48e155765 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:10:52 2021 +0200 debian/control: move to debian/control.in. --- debian/changelog | 2 ++ debian/{control => control.in} | 0 2 files changed, 2 insertions(+) diff --git a/debian/changelog b/debian/changelog index 21b9fb4..b9d6bd6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -39,6 +39,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium * New upstream version (4.1.2.3): - src/sshmasterconnection.{c,h}: fix builds, new function should have been registered and not static, but private. + * debian/control: + + Move to debian/control.in. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/control b/debian/control.in similarity index 100% rename from debian/control rename to debian/control.in -- 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 354aa4e959bc4b4229c72e4f316a5bcdc571c21a Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:24:34 2021 +0200 debian/copyright: switch Upstream-Contact to myself. Pulled from Mike's changes. --- debian/changelog | 2 ++ debian/copyright | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 327d32e..2617c1d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium * debian/control.in: + Switch to priority: optional. "extra" has been deprecated long ago. Pulled from Mike's changes. + * debian/copyright: + + Switch Upstream-Contact to myself. Pulled from Mike's changes. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/copyright b/debian/copyright index a587d06..7fa9676 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: x2goclient -Upstream-Contact: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> +Upstream-Contact: Mihai Moldovan <ionic@ionic.de> Source: https://wiki.x2go.org Files: * -- 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 89cdde323c5686be709c398639b1c3ae463e1035 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:00:39 2021 +0200 Revert "debian{,-qt4,-qt5}: Add a Qt5-based debian(-qt5)/ packaging folder and make it easy to switch between Qt4 and Qt5 build by simply changing the symlink target of debian/ (which is, yes indeed, a symlink, not a directory anymore)." This reverts commit 36296338c29994e9af121dcc7488e11f1e38da3a. We want to keep one common directory with all data in there. --- debian | 1 - debian-common/upstream/metadata | 8 - debian-common/upstream/signing-key.asc | 210 ------ debian-common/watch | 3 - debian-qt4/changelog | 1 - debian-qt4/copyright | 1 - debian-qt4/source | 1 - debian-qt4/upstream | 1 - debian-qt4/watch | 1 - debian-qt5/changelog | 1 - debian-qt5/control | 57 -- debian-qt5/copyright | 1 - .../patches/1002_fix-ftbfs-on-non-linux.patch | 749 --------------------- debian-qt5/patches/README | 3 - debian-qt5/patches/series | 2 - debian-qt5/patches/update_makefile_qt5-build.patch | 18 - debian-qt5/rules | 35 - debian-qt5/source | 1 - debian-qt5/upstream | 1 - debian-qt5/watch | 1 - debian-qt5/x2goclient.dirs | 9 - debian-qt5/x2goclient.docs | 1 - debian-qt5/x2goclient.examples | 1 - debian-qt5/x2goclient.install | 11 - {debian-common => debian}/changelog | 4 - {debian-qt4 => debian}/compat | 0 {debian-qt4 => debian}/control | 0 {debian-common => debian}/copyright | 90 ++- {debian-qt4 => debian}/menu | 0 {debian-qt4 => debian}/rules | 0 {debian-common => debian}/source/format | 0 {debian-qt4 => debian}/x2goclient.dirs | 0 {debian-qt4 => debian}/x2goclient.docs | 0 {debian-qt4 => debian}/x2goclient.examples | 0 {debian-qt4 => debian}/x2goclient.install | 0 {debian-qt4 => debian}/x2goclient.manpages | 0 {debian-qt4 => debian}/x2goplugin-provider.install | 0 {debian-qt4 => debian}/x2goplugin.install | 0 38 files changed, 43 insertions(+), 1169 deletions(-) diff --git a/debian b/debian deleted file mode 120000 index eb6b140..0000000 --- a/debian +++ /dev/null @@ -1 +0,0 @@ -debian-qt4 \ No newline at end of file diff --git a/debian-common/upstream/metadata b/debian-common/upstream/metadata deleted file mode 100644 index 5702ec5..0000000 --- a/debian-common/upstream/metadata +++ /dev/null @@ -1,8 +0,0 @@ -Name: X2Go Client -Bug-Database: https://bugs.x2go.org/src:x2goclient -Bug-Submit: https://bugs.x2go.org/Reporting.html -Contact: x2go-dev@lists.x2go.org -Donation: https://wiki.x2go.org/doku.php/doc:sponsors -Repository: git://code.x2go.org/x2goclient.git -Repository-Browse: https://code.x2go.org/gitweb?p=x2goclient.git;a=summary -Security-Contact: security@lists.x2go.org diff --git a/debian-common/upstream/signing-key.asc b/debian-common/upstream/signing-key.asc deleted file mode 100644 index 0e6e7d6..0000000 --- a/debian-common/upstream/signing-key.asc +++ /dev/null @@ -1,210 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1 - -mQINBFAI/RwBEAC882z9DZ0OqvdoswfZD6sWlHH43iTc2QUibyHEhz/Jov8UQLPK -qUncNd9QMcQ3zp2NnU9tS4j5IY/QPcBMR96ZNdl9PWpV/Ubs6yZ9PK2/DBt3Noos -FZUN2KrHbnbED5zf9sEHyRuBTnDtVRtskQlaFreX5NSZ1ndqJrC1Uqm64Mf+0mC8 -7D1QRlNkH7OQmMK+u6EN8a1IZae7mDzzStgzvbvm1BZ6XDJ6ThNckvGEhgSbPF16 -9zfW6a0mdlOjkmW50VIQg3wjtVHxlIYqFnH4KGp2kYslJR3SIB7ntbNW1wVQm8d2 -vAnnnzXWNFFuIqOj7z6ylIL9lVTPEBen3rgDsha7/YCR5d4Kez4piKKbAMBxeSxZ -yzz90YRtp/zIqjotfQt6Q05mAi9xVfvbi+XKBcGtoU89g5aekFi7bkrpxDB/JCAA -VaLz0Mrpz0/33Pffhnf5a9JUvk6UhNmYBEknLn7fuO3WF0Q6Q58QvMYvHxpxAr3X -nywyYFic8o71lxWB8D/Y2bhwHE3098BJhI80DLznx7cmuInORg0AnV5AArkdCBNa -p+bh0rVbQXxOzKT3ETPkKBKbMRhAWtCiQfGGzOzVvtGzMw+yZMnGIEfJ7Dqe5URF -rvRPJYlIJLPsa3josVtIMjaeK6xIG2o7c8qN/H89nNyplQkt+Vx28x3dewARAQAB -tC9NaWtlIEdhYnJpZWwgPG1pa2UuZ2FicmllbEBkYXMtbmV0endlcmt0ZWFtLmRl -PokCQAQTAQgAKgIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAIZAQUCUWUgKQUJ -CsIkhAAKCRCa9GswJX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g7m3j88E/NDSh4waA2uech5x6u7tfiyJ40AEQEAAYkBHwQYAQIA -CQUCTa27LgIbDAAKCRD0p2eMnGsLKyFfCADEy04ycshk1WSwNMrL7nXvDDLpe63f -tOcODEDDOxoQ283U9yHV4/1p3CYM5YN7y5kHvvTD56/6ULs89iZhTZe1TIm3FQxQ -MYvuI2Auy4AVbEFCKWTg6+PgWeLvLoGsQ0edTb9OwyiaawVlOwGxjRVoU7E0V8xs -h9rIY/11F6w6kAEBYxEGqoZthefhODjn7Ffxs4fZYPevw/w4/rwa6DwyQNuybCac -IiVGUmcLGBYa0C+qiwLY3LFekfmEmFIwaeADI/crDKJOL1Qss/TkXERtZ73gJRfD -EKS4kfioXKwMYFGuN5rfcdqODk0nHDSWu9833dlH2+c3fcSIWVIMXEPG -=b3FB ------END PGP PUBLIC KEY BLOCK----- diff --git a/debian-common/watch b/debian-common/watch deleted file mode 100644 index 91d6bc7..0000000 --- a/debian-common/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=3 -opts=pgpsigurlmangle=s/$/.asc/ \ -https://code.x2go.org/releases/source/x2goclient/x2goclient-(\d+\.\d+\.\d+\.\d+)\.tar\.gz diff --git a/debian-qt4/changelog b/debian-qt4/changelog deleted file mode 120000 index ddd751e..0000000 --- a/debian-qt4/changelog +++ /dev/null @@ -1 +0,0 @@ -../debian-common/changelog \ No newline at end of file diff --git a/debian-qt4/copyright b/debian-qt4/copyright deleted file mode 120000 index 613ba8d..0000000 --- a/debian-qt4/copyright +++ /dev/null @@ -1 +0,0 @@ -../debian-common/copyright \ No newline at end of file diff --git a/debian-qt4/source b/debian-qt4/source deleted file mode 120000 index 6840b09..0000000 --- a/debian-qt4/source +++ /dev/null @@ -1 +0,0 @@ -../debian-common/source \ No newline at end of file diff --git a/debian-qt4/upstream b/debian-qt4/upstream deleted file mode 120000 index 5f6c874..0000000 --- a/debian-qt4/upstream +++ /dev/null @@ -1 +0,0 @@ -../debian-common/upstream \ No newline at end of file diff --git a/debian-qt4/watch b/debian-qt4/watch deleted file mode 120000 index 046c942..0000000 --- a/debian-qt4/watch +++ /dev/null @@ -1 +0,0 @@ -../debian-common/watch \ No newline at end of file diff --git a/debian-qt5/changelog b/debian-qt5/changelog deleted file mode 120000 index ddd751e..0000000 --- a/debian-qt5/changelog +++ /dev/null @@ -1 +0,0 @@ -../debian-common/changelog \ No newline at end of file diff --git a/debian-qt5/control b/debian-qt5/control deleted file mode 100644 index 7023fb1..0000000 --- a/debian-qt5/control +++ /dev/null @@ -1,57 +0,0 @@ -Source: x2goclient -Section: x11 -Priority: optional -Maintainer: X2Go Developers <x2go-dev@lists.x2go.org> -Uploaders: - Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>, - Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, - Mihai Moldovan <ionic@ionic.de>, -Build-Depends: - apache2-dev, - debhelper-compat (= 12), - dpkg-dev (>= 1.16.1.1), - libldap2-dev, - libssh-dev (>= 0.5.4-2~), - libcups2-dev, - libqt5svg5-dev, - libqt5x11extras5-dev, - libx11-dev, - libxpm-dev, - man2html-base | man2html, - pkg-config, - qtbase5-dev, - qttools5-dev-tools, - quilt, -Standards-Version: 4.5.1 -Homepage: https://wiki.x2go.org/ -Vcs-Git: https://salsa.debian.org/debian-remote-team/x2goclient.git -Vcs-Browser: https://salsa.debian.org/debian-remote-team/x2goclient/ - -Package: x2goclient -Architecture: any -Depends: - ${shlibs:Depends}, - ${misc:Depends}, - openssh-client, - nxproxy, -Recommends: - openssh-server, - rdesktop | freerdp-x11, -Suggests: - pinentry-x2go, -Conflicts: - x2goclient-gtk, -Replaces: - x2goclient-gtk, -Description: X2Go Client application (Qt5) - X2Go is a serverbased computing environment with - - session resuming - - low bandwidth support - - session brokerage support - - client-side mass storage mounting support - - client-side printing support - - audio support - - authentication by smartcard and USB stick - . - X2Go Client is a graphical client (Qt5) for the X2Go system. - You can use it to connect to running sessions and start new sessions. diff --git a/debian-qt5/copyright b/debian-qt5/copyright deleted file mode 120000 index 613ba8d..0000000 --- a/debian-qt5/copyright +++ /dev/null @@ -1 +0,0 @@ -../debian-common/copyright \ No newline at end of file diff --git a/debian-qt5/patches/1002_fix-ftbfs-on-non-linux.patch b/debian-qt5/patches/1002_fix-ftbfs-on-non-linux.patch deleted file mode 100644 index efa55af..0000000 --- a/debian-qt5/patches/1002_fix-ftbfs-on-non-linux.patch +++ /dev/null @@ -1,749 +0,0 @@ -Description: Successfully built on Debian GNU/kFreeBSD and Debian GNU/Hurd -Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - ---- a/src/clicklineedit.cpp -+++ b/src/clicklineedit.cpp -@@ -31,7 +31,7 @@ - { - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void ClickLineEdit::mouseReleaseEvent ( QMouseEvent * event ) - { - QLineEdit::mouseReleaseEvent(event); ---- a/src/clicklineedit.h -+++ b/src/clicklineedit.h -@@ -31,7 +31,7 @@ - ~ClickLineEdit(); - signals: - void clicked(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - protected: - virtual void mouseReleaseEvent ( QMouseEvent * event ); - /* virtual void focusInEvent ( QFocusEvent * event ); ---- a/src/editconnectiondialog.cpp -+++ b/src/editconnectiondialog.cpp -@@ -85,7 +85,7 @@ - connect ( sessSet,SIGNAL ( nameChanged ( const QString & ) ),this, - SLOT ( slot_changeCaption ( const QString& ) ) ); - connect ( this,SIGNAL ( accepted() ),this,SLOT ( slot_accepted() ) ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - connect (sessSet, SIGNAL(directRDP(bool,bool)), this, SLOT(slot_directRDP(bool,bool))); - - connect (sessSet, -@@ -112,7 +112,7 @@ - setContentsMargins ( 3,3,3,3 ); - fr->setCurrentIndex ( ind ); - slot_changeCaption(sessSet->sessionName()); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - sessSet->slot_rdpDirectClicked(); - #endif - } -@@ -171,7 +171,7 @@ - } - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void EditConnectionDialog::slot_directRDP(bool direct, bool isXDMCP) - { - fr->setTabEnabled(1,!direct); ---- a/src/editconnectiondialog.h -+++ b/src/editconnectiondialog.h -@@ -64,7 +64,7 @@ - void slot_changeCaption ( const QString& newName ); - void slot_accepted(); - void slot_default(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void slot_directRDP(bool direct, bool isXDMCP); - #endif - }; ---- a/src/ongetpass.cpp -+++ b/src/ongetpass.cpp -@@ -52,7 +52,7 @@ - QApplication app ( argc,argv ); - - #ifndef Q_WS_HILDON --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #if QT_VERSION < 0x050000 - app.setStyle ( new QPlastiqueStyle() ); - #else ---- a/src/onmainwindow.cpp -+++ b/src/onmainwindow.cpp -@@ -62,7 +62,7 @@ - } - #endif - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - image=shape=0; - #endif - x2goInfof(1) << tr("Starting X2Go Client %1...").arg (QString (VERSION)); -@@ -152,7 +152,7 @@ - systemDisablePA=false; - #endif /* defined (Q_OS_DARWIN) || defined (Q_OS_WIN) */ - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - directRDP = false; - #endif /* defined (Q_OS_LINUX) */ - -@@ -235,7 +235,7 @@ - addToAppNames ( "OFFICE",tr ( "OpenOffice.org" ) ); - addToAppNames ( "TERMINAL",tr ( "Terminal" ) ); - --#ifndef Q_OS_LINUX -+#if defined(Q_OS_DARWIN) || defined(Q_OS_WIN) - #if QT_VERSION < 0x050000 - widgetExtraStyle = new QPlastiqueStyle (); - #else -@@ -545,7 +545,7 @@ - - - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (thinMode) - { - QTimer *timer = new QTimer(this); -@@ -680,7 +680,7 @@ - { - if (!isHidden()) - hide(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - XSync(QX11Info::display(),false); - #endif - } -@@ -1435,7 +1435,7 @@ - QVariant ( isMaximized() ) ); - st.setting()->sync(); - x2goDebug<<"Saved settings."; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (image) - XFreePixmap(QX11Info::display(),image); - if (shape) -@@ -2812,7 +2812,7 @@ - autologin=st->setting()->value ( - sid+"/autologin", - ( QVariant ) false ).toBool(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if(command =="XDMCP" && st->setting()->value ( - sid+"/directxdmcp", - ( QVariant ) false ).toBool()) -@@ -3423,7 +3423,7 @@ - if (config.brokerNoAuth && brokerNoauthWithSessionUsername) { - config.brokerUser = login->text(); - } --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - X2goSettings* st=new X2goSettings(config.iniFile, QSettings::IniFormat); - QString sid=sessionExplorer->getLastSession()->id(); - QString cmd=st->setting()->value ( sid+"/command", -@@ -3485,7 +3485,7 @@ - sshConnection->executeCommand ( "x2gogetservers", this, SLOT ( slotGetServers ( bool, QString,int ) )); - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void ONMainWindow::startDirectRDP() - { - if (!(sessionExplorer->getLastSession())) { -@@ -3740,7 +3740,7 @@ - { - connectionType=conType; - setEnabled ( false ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - directRDP=false; - #endif - QString passwd; -@@ -3810,7 +3810,7 @@ - ( QVariant ) false ).toBool(); - krbDelegation=st->setting()->value ( sid+"/krbdelegation", - ( QVariant ) false ).toBool(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - directRDP=(st->setting()->value ( sid+"/directrdp", - ( QVariant ) false ).toBool() && cmd == "RDP"); - -@@ -5236,7 +5236,7 @@ - void ONMainWindow::slotSuspendSess() - { - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - { - nxproxy->terminate(); -@@ -5314,7 +5314,7 @@ - { - sendEventToBroker(SUSPENDING); - } --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - { - nxproxy->terminate(); -@@ -5338,7 +5338,7 @@ - - void ONMainWindow::slotTermSessFromSt() - { --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - { - -@@ -5424,7 +5424,7 @@ - void ONMainWindow::slotTermSess() - { - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - { - nxproxy->terminate(); -@@ -5844,7 +5844,7 @@ - sshConnection->executeCommand (scmd); - - bool sysPulse=false; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - loadPulseModuleNativeProtocol(); - QFile file ( "/etc/default/pulseaudio" ); - if ( file.open ( QIODevice::ReadOnly | -@@ -6511,7 +6511,7 @@ - - void ONMainWindow::slotProxyError ( QProcess::ProcessError err ) - { --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if(err==QProcess::FailedToStart && directRDP) - { - QString main_text = tr("Failed to start RDP or XDMCP client"); -@@ -6614,7 +6614,7 @@ - } - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - nxproxy=0; - #endif -@@ -6627,7 +6627,7 @@ - nxproxy=0l; - proxyWinId=0; - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (directRDP) - { - if (closeDisconnect) -@@ -9937,7 +9937,7 @@ - return false; - } - --#ifndef Q_OS_LINUX -+#if defined(Q_OS_WIN) || defined(Q_OS_DARWIN) - void ONMainWindow::setWidgetStyle ( QWidget* widget ) - { - widget->setStyle ( widgetExtraStyle ); -@@ -10334,7 +10334,7 @@ - ( QVariant ) - "UTF-8" ).toString(); - #endif --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QString fromCode=st.setting()->value ( - sid+"/iconvfrom", - ( QVariant ) tr ( -@@ -11544,7 +11544,7 @@ - else - pixmap=*(sessionExplorer->getLastSession()->sessIcon()); - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - - XStoreName(QX11Info::display(), proxyWinId, title.toLocal8Bit().data()); - -@@ -11591,7 +11591,7 @@ - void ONMainWindow::slotSetProxyWinFullscreen() - { - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - - QRect geom=QApplication::desktop()->screenGeometry(localDisplayNumber-1); - Atom atom = XInternAtom ( QX11Info::display(), "_NET_WM_STATE_FULLSCREEN", True ); -@@ -11647,7 +11647,7 @@ - ", h: "+ QString("%1").arg(geom.height()); - x2goDebug<<"Resizing proxy window to fit display: " + QString("%1").arg(disp) + " " + geoStr; - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - XSync(QX11Info::display(),false); - XMoveResizeWindow(QX11Info::display(), proxyWinId, geom.x(), geom.y(), 800, 600); - XMapWindow(QX11Info::display(), proxyWinId); -@@ -11667,7 +11667,7 @@ - return QRect(); - return proxyRect; - #endif --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QRect proxyRect; - Window root; - int x,y; -@@ -11754,7 +11754,7 @@ - xinSizeInc=1; - else - xinSizeInc=-1; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - lastDisplayGeometry.setWidth(lastDisplayGeometry.width()+xinSizeInc); - XSync(QX11Info::display(),false); - XResizeWindow(QX11Info::display(), proxyWinId, -@@ -11893,7 +11893,7 @@ - setStatStatus(); - act_embedContol->setText ( tr ( "Attach X2Go window" ) ); - act_embedContol->setIcon ( QIcon ( iconsPath("/32x32/attach.png" ) )); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - //if QX11EmbedContainer cannot embed window, check if window exists - //and reconnect - if ( !embedControlChanged ) -@@ -12301,7 +12301,7 @@ - - void ONMainWindow::slotChangeKbdLayout(const QString& layout) - { --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QStringList args; - args<<"-layout"<<layout; - -@@ -12378,7 +12378,7 @@ - pass->setEchoMode ( QLineEdit::Password ); - pass->setFocus(); - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - connect ( login,SIGNAL ( clicked() ),this, - SLOT ( slotActivateWindow() ) ); - connect ( pass,SIGNAL ( clicked() ),this, -@@ -13354,7 +13354,7 @@ - dr.rmdir ( path ); - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - long ONMainWindow::X11FindWindow ( QString text, long rootWin ) - { - Window wParent; -@@ -13395,7 +13395,7 @@ - long ONMainWindow::findWindow ( QString text ) - { - x2goDebug<<"Searching window with title: " + text; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - return X11FindWindow ( text ); - #endif - #ifdef Q_OS_WIN ---- a/src/onmainwindow.h -+++ b/src/onmainwindow.h -@@ -797,7 +797,7 @@ - bool newSession; - bool runStartApp; - bool ldapOnly; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - bool directRDP; - #endif - -@@ -910,7 +910,7 @@ - QRect dispGeometry; - #endif - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - long image, shape; - #endif - -@@ -1196,7 +1196,7 @@ - - private: - void resizeProxyWinOnDisplay(int display); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - long X11FindWindow ( QString text, long rootWin=0 ); - #endif - void addToAppNames ( QString intName, QString transName ); -@@ -1222,7 +1222,7 @@ - void printSshDError_noAuthorizedKeysFile(); - void loadPulseModuleNativeProtocol(); - void initEmbedToolBar(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void startDirectRDP(); - #endif - void filterDesktops ( const QString& filter, ---- a/src/onmainwindow_privat.h -+++ b/src/onmainwindow_privat.h -@@ -87,11 +87,9 @@ - #include "contest.h" - - #if !defined Q_OS_WIN --#include <sys/mount.h> --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #include <X11/Xatom.h> - #include <X11/xpm.h> --#include <linux/fs.h> - #endif // Q_OS_LINUX - #endif // !defined Q_OS_WIN - -@@ -153,7 +151,7 @@ - #include <QHostInfo> - #endif - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #if QT_VERSION < 0x050000 - #include <QX11Info> - #else ---- a/src/pulsemanager.cpp -+++ b/src/pulsemanager.cpp -@@ -135,7 +135,7 @@ - #elif defined (Q_OS_WIN) - server_working_dir_ = QString (app_dir_ + "/pulse/"); - server_binary_ = QString (app_dir_ + "/pulse/pulseaudio.exe"); --#elif defined (Q_OS_LINUX) -+#elif defined (Q_OS_LINUX) || defined (Q_OS_FREEBSD_KERNEL) || defined (Q_OS_HURD) - std::ssize_t path_len = pathconf (".", _PC_PATH_MAX); - - if (-1 == path_len) { -@@ -206,7 +206,7 @@ - start_osx (); - #elif defined (Q_OS_WIN) - start_win (); --#elif defined (Q_OS_LINUX) -+#elif defined (Q_OS_LINUX) || defined (Q_OS_FREEBSD_KERNEL) || defined (Q_OS_HURD) - start_linux (); - #endif // defined (Q_OS_DARWIN) - } ---- a/src/sessionbutton.cpp -+++ b/src/sessionbutton.cpp -@@ -484,7 +484,7 @@ - } - else if ( command =="RDP" ) - { --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (st->setting()->value ( sid+"/directrdp", - ( QVariant ) false ).toBool()) - directRDP=true; -@@ -495,7 +495,7 @@ - } - else if ( command =="XDMCP" ) - { --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if (st->setting()->value ( sid+"/directxdmcp", - ( QVariant ) false ).toBool()) { - directRDP=true; ---- a/src/sessionwidget.cpp -+++ b/src/sessionwidget.cpp -@@ -95,7 +95,7 @@ - sshPort->setMinimum ( 0 ); - sshPort->setMaximum ( 65535 ); - sshPort->setToolTip (ssh_port_tooltip_text); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - rdpPort=new QSpinBox ( sgb ); - rdpPort->setValue ( mainWindow->getDefaultSshPort().toInt() ); - rdpPort->setMinimum ( 0 ); -@@ -127,7 +127,7 @@ - elLay->addWidget ( server ); - elLay->addWidget ( uname ); - elLay->addWidget ( sshPort ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - elLay->addWidget ( rdpPort ); - #endif - suLay->addLayout ( slLay ); -@@ -254,7 +254,7 @@ - sessLay->addSpacing ( 15 ); - sessLay->addWidget ( sgb ); - sessLay->addWidget ( deskSess ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP=new QCheckBox(tr("Direct RDP connection"), deskSess); - cmdLay->addWidget(cbDirectRDP,2,0,1,6); - cbDirectRDP->hide(); -@@ -292,7 +292,7 @@ - connect (server, SIGNAL(textChanged(const QString&)),this, SLOT(slot_emitSettings())); - connect (uname, SIGNAL(textChanged(const QString&)),this, SLOT(slot_emitSettings())); - connect (cbKrbLogin, SIGNAL(clicked(bool)), this, SLOT(slot_krbChecked())); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - connect (rdpPort, SIGNAL(valueChanged(int)),this, SLOT(slot_emitSettings())); - #endif - -@@ -376,7 +376,7 @@ - } - - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void SessionWidget::slot_rdpDirectClicked() - { - bool isDirectRDP=cbDirectRDP->isChecked(); -@@ -488,7 +488,7 @@ - { - leCmdIp->setText ( tr ( "Command:" ) ); - pbAdvanced->hide(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP->hide(); - #endif - leCmdIp->show(); -@@ -516,7 +516,7 @@ - leCmdIp->setText ( tr ( "Server:" ) ); - pbAdvanced->show(); - cmd->setText ( rdpServer ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP->show(); - #endif - } -@@ -524,7 +524,7 @@ - { - leCmdIp->setText ( tr ( "XDMCP server:" ) ); - cmd->setText ( xdmcpServer ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP->show(); - cbDirectRDP->setText(tr ("direct XDMCP connection")); - #endif -@@ -536,7 +536,7 @@ - cmd->setText ( "" ); - } - } --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - slot_rdpDirectClicked(); - #endif - } -@@ -611,7 +611,7 @@ - sessionId+"/sshport", - ( QVariant ) mainWindow->getDefaultSshPort().toInt() - ).toInt() ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - rdpPort->setValue ( - st.setting()->value ( - sessionId+"/rdpport",3389 -@@ -699,7 +699,7 @@ - ( QVariant ) "" ).toString().trimmed(); - xdmcpServer=st.setting()->value ( sessionId+"/xdmcpserver", - ( QVariant ) "localhost" ).toString().trimmed(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - if(st.setting()->value (sessionId+"/directrdp",false ).toBool()) - { - cbDirectRDP->setChecked(true); -@@ -773,7 +773,7 @@ - cmd->setEnabled ( true ); - cmd->setText ( rdpServer ); - pbAdvanced->show(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP->show(); - slot_rdpDirectClicked(); - #endif -@@ -784,7 +784,7 @@ - sessBox->setCurrentIndex ( XDMCP ); - cmd->setEnabled ( true ); - cmd->setText ( xdmcpServer ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - cbDirectRDP->show(); - slot_rdpDirectClicked(); - #endif -@@ -804,7 +804,7 @@ - - cbKdrive->setChecked(st.setting()->value (sessionId+"/kdrive", false).toBool() ); - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - slot_rdpDirectClicked(); - #endif - slot_krbChecked(); -@@ -830,7 +830,7 @@ - icon->setIcon ( QIcon ( sessIcon ) ); - sshPort->setValue ( - mainWindow->getDefaultSshPort().toInt() ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - rdpPort->setValue (3389); - #endif - -@@ -876,7 +876,7 @@ - - st.setting()->setValue ( sessionId+"/key", - ( QVariant ) key->text().trimmed() ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - st.setting()->setValue ( sessionId+"/rdpport", - ( QVariant ) rdpPort->value() ); - #endif -@@ -885,7 +885,7 @@ - st.setting()->setValue(sessionId+"/autologin",( QVariant ) cbAutoLogin->isChecked()); - st.setting()->setValue(sessionId+"/krblogin",( QVariant ) cbKrbLogin->isChecked()); - st.setting()->setValue(sessionId+"/krbdelegation",( QVariant ) cbKrbDelegation->isChecked()); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - st.setting()->setValue(sessionId+"/directrdp",( QVariant ) cbDirectRDP->isChecked()); - st.setting()->setValue(sessionId+"/directxdmcp",( QVariant ) cbDirectRDP->isChecked()); - #endif -@@ -981,7 +981,7 @@ - return sessName->text(); - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void SessionWidget::slot_emitSettings() - { - emit settingsChanged(server->text(), QString::number( rdpPort->value()), uname->text()); ---- a/src/sessionwidget.h -+++ b/src/sessionwidget.h -@@ -53,7 +53,7 @@ - void slot_krbChecked(); - void slot_openFolder(); - public slots: --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void slot_rdpDirectClicked(); - void slot_emitSettings(); - #endif -@@ -66,14 +66,14 @@ - QSpinBox* sshPort; - ONMainWindow* parent; - bool newSession; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QSpinBox* rdpPort; - #endif - QLineEdit* key; - QCheckBox* cbAutoLogin; - QCheckBox* cbKrbLogin; - QCheckBox* cbKrbDelegation; --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QCheckBox* cbDirectRDP; - #endif - QString sessIcon; -@@ -111,7 +111,7 @@ - void readConfig(); - signals: - void nameChanged ( const QString & ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void directRDP(bool, bool); - void settingsChanged(const QString &, const QString &, const QString &); - #endif ---- a/src/settingswidget.cpp -+++ b/src/settingswidget.cpp -@@ -199,7 +199,7 @@ - setLay->addWidget ( dgb ); - setLay->addWidget ( clipGr ); - setLay->addWidget ( kgb ); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #ifdef CFGCLIENT - rdpBox=new QGroupBox ( tr ( "RDP client" ),this ); - setLay->addWidget ( rdpBox ); -@@ -301,7 +301,7 @@ - } - - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void SettingsWidget::setDirectRdp(bool direct, bool isXDMCP) - { - clipGr->setVisible(!direct); -@@ -417,7 +417,7 @@ - displayNumber->setValue(1); - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #ifdef CFGCLIENT - maxRes->setChecked(st.setting()->value ( sessionId+"/maxdim", false).toBool()); - QString client=st.setting()->value ( sessionId+"/rdpclient","rdesktop").toString(); -@@ -553,7 +553,7 @@ - st.setting()->setValue ( sessionId+"/display", - ( QVariant ) displayNumber->value() ); - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - #ifdef CFGCLIENT - st.setting()->setValue ( sessionId+"/maxdim", - ( QVariant ) maxRes->isChecked() ); -@@ -663,7 +663,7 @@ - st.setting()->sync(); - } - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void SettingsWidget::setServerSettings(QString server, QString port, QString user) - { - this->server=server; ---- a/src/settingswidget.h -+++ b/src/settingswidget.h -@@ -43,7 +43,7 @@ - ~SettingsWidget(); - void setDefaults(); - void saveSettings(); --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - void setDirectRdp(bool direct, bool isXDMCP); - public slots: - void setServerSettings(QString server, QString port, QString user); -@@ -87,7 +87,7 @@ - QRadioButton *rbClipClient; - QRadioButton *rbClipNone; - --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QGroupBox *rdpBox; - QRadioButton* rRdesktop; - QRadioButton* rXfreeRDPOld; ---- a/src/sharewidget.cpp -+++ b/src/sharewidget.cpp -@@ -240,7 +240,7 @@ - ( QVariant ) - "UTF-8" ).toString(); - #endif --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD_KERNEL) || defined(Q_OS_HURD) - QString fromCode=st.setting()->value ( sessionId+"/iconvfrom", - ( QVariant ) tr ( - "ISO8859-1" ) ).toString(); ---- a/src/InteractionDialog.cpp -+++ b/src/InteractionDialog.cpp -@@ -87,7 +87,7 @@ - textEdit->setFrameStyle ( QFrame::StyledPanel|QFrame::Plain ); - cancelButton->setFlat(true); - --#ifndef Q_OS_LINUX -+#if defined(Q_OS_DARWIN) || defined(Q_OS_WIN) - QStyle* widgetExtraStyle; - #if QT_VERSION < 0x050000 - widgetExtraStyle = new QPlastiqueStyle (); diff --git a/debian-qt5/patches/README b/debian-qt5/patches/README deleted file mode 100644 index 80c1584..0000000 --- a/debian-qt5/patches/README +++ /dev/null @@ -1,3 +0,0 @@ -0xxx: Grabbed from upstream development. -1xxx: Possibly relevant for upstream adoption. -2xxx: Only relevant for official Debian release. diff --git a/debian-qt5/patches/series b/debian-qt5/patches/series deleted file mode 100644 index eab3a65..0000000 --- a/debian-qt5/patches/series +++ /dev/null @@ -1,2 +0,0 @@ -update_makefile_qt5-build.patch -1002_fix-ftbfs-on-non-linux.patch diff --git a/debian-qt5/patches/update_makefile_qt5-build.patch b/debian-qt5/patches/update_makefile_qt5-build.patch deleted file mode 100644 index 85b0063..0000000 --- a/debian-qt5/patches/update_makefile_qt5-build.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: Update Makefile to support qt5. -Author: Scarlett Clark <sgclark@kde.org> -Last-Update: 2018-03-27 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/Makefile -+++ b/Makefile -@@ -20,8 +20,8 @@ - BINDIR=$(PREFIX)/bin - SHAREDIR=$(PREFIX)/share - MANDIR=$(SHAREDIR)/man --QMAKE_BINARY=qmake-qt4 --LRELEASE_BINARY=lrelease-qt4 -+QMAKE_BINARY=qmake -+LRELEASE_BINARY=lrelease - QMAKE_OPTS= - - LDFLAGS= diff --git a/debian-qt5/rules b/debian-qt5/rules deleted file mode 100755 index 288516c..0000000 --- a/debian-qt5/rules +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/make -f - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -DPKG_EXPORT_BUILDFLAGS = 1 -export QT_SELECT=qt5 -include /usr/share/dpkg/buildflags.mk - -%: - dh $@ --with=quilt - -override_dh_auto_configure: - cp debian/changelog res/txt/changelog - if [ -f ChangeLog.gitlog ]; then cp ChangeLog.gitlog res/txt/git-info; fi - dh_auto_configure - -override_dh_auto_build: - make PREFIX=/usr build_client - make PREFIX=/usr build_man - -override_dh_auto_install: - make install_client DESTDIR=$(CURDIR)/$(PACKAGE) PREFIX=/usr - make install_man DESTDIR=$(CURDIR)/$(PACKAGE) PREFIX=/usr - -override_dh_auto_clean: - dh_auto_clean - # clean stray .qm files that are not handled by clean rule in upstream Makefile - mkdir -p txt/ - rm -Rf res/i18n/x2goclient_*.qm - rm -f res/txt/changelog - -override_dh_missing: - dh_missing --fail-missing - -get-orig-source: - uscan --noconf --force-download --rename --download-current-version --destdir=.. diff --git a/debian-qt5/source b/debian-qt5/source deleted file mode 120000 index 6840b09..0000000 --- a/debian-qt5/source +++ /dev/null @@ -1 +0,0 @@ -../debian-common/source \ No newline at end of file diff --git a/debian-qt5/upstream b/debian-qt5/upstream deleted file mode 120000 index 5f6c874..0000000 --- a/debian-qt5/upstream +++ /dev/null @@ -1 +0,0 @@ -../debian-common/upstream \ No newline at end of file diff --git a/debian-qt5/watch b/debian-qt5/watch deleted file mode 120000 index 046c942..0000000 --- a/debian-qt5/watch +++ /dev/null @@ -1 +0,0 @@ -../debian-common/watch \ No newline at end of file diff --git a/debian-qt5/x2goclient.dirs b/debian-qt5/x2goclient.dirs deleted file mode 100644 index ee163ee..0000000 --- a/debian-qt5/x2goclient.dirs +++ /dev/null @@ -1,9 +0,0 @@ -usr/bin/ -usr/share/x2goclient/ -usr/share/x2goclient/icons/ -usr/share/icons/hicolor/128x128/apps/ -usr/share/icons/hicolor/16x16/apps/ -usr/share/icons/hicolor/64x64/apps/ -usr/share/icons/hicolor/32x32/apps/ -usr/share/applications/ - diff --git a/debian-qt5/x2goclient.docs b/debian-qt5/x2goclient.docs deleted file mode 100644 index 68ac0b9..0000000 --- a/debian-qt5/x2goclient.docs +++ /dev/null @@ -1 +0,0 @@ -HOWTO.GPGCARD diff --git a/debian-qt5/x2goclient.examples b/debian-qt5/x2goclient.examples deleted file mode 100644 index e39721e..0000000 --- a/debian-qt5/x2goclient.examples +++ /dev/null @@ -1 +0,0 @@ -examples/* diff --git a/debian-qt5/x2goclient.install b/debian-qt5/x2goclient.install deleted file mode 100644 index 4216286..0000000 --- a/debian-qt5/x2goclient.install +++ /dev/null @@ -1,11 +0,0 @@ -usr/bin/ -usr/share/applications/ -usr/share/mime/ -usr/share/x2goclient/icons/ -usr/share/x2goclient/icons/ -usr/share/x2goclient/icons/ -usr/share/icons/hicolor/128x128/apps/ -usr/share/icons/hicolor/16x16/apps/ -usr/share/icons/hicolor/64x64/apps/ -usr/share/icons/hicolor/32x32/apps/ -usr/share/man/ diff --git a/debian-common/changelog b/debian/changelog similarity index 99% rename from debian-common/changelog rename to debian/changelog index e9d97ac..21b9fb4 100644 --- a/debian-common/changelog +++ b/debian/changelog @@ -46,10 +46,6 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium extension. * debian/x2gocient.install: + Install x-x2go.xml into bin:pkg x2goclient. - * debian/{,-qt4,-qt5}: - + Add a Qt5-based debian(-qt5)/ packaging folder and make it easy to switch - between Qt4 and Qt5 build by simply changing the symlink target of - debian/ (which is, yes indeed, a symlink, not a directory anymore). * x2goclient.spec: + Install x-x2go.xml into bin:pkg and run update-mime-database during postinst. diff --git a/debian-qt4/compat b/debian/compat similarity index 100% rename from debian-qt4/compat rename to debian/compat diff --git a/debian-qt4/control b/debian/control similarity index 100% rename from debian-qt4/control rename to debian/control diff --git a/debian-common/copyright b/debian/copyright similarity index 64% rename from debian-common/copyright rename to debian/copyright index 104e6fb..a587d06 100644 --- a/debian-common/copyright +++ b/debian/copyright @@ -1,24 +1,12 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: x2goclient -Upstream-Contact: Mihai Moldovan <ionic@ionic.de> +Upstream-Contact: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> Source: https://wiki.x2go.org Files: * -Copyright: 2005-2017, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> - 2005-2017, Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> - 2005-2017, obviously nice - http://www.obviouslynice.de -License: GPL-2+~OpenSSL - -Files: Makefile.docupload -Copyright: 2010-2016, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -License: GPL-3 - -Files: debian/* -Copyright: 2007, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> - 2011-2012, Reinhard Tartler <siretart@tauware.de> - 2011-2018, Mike Gabriel <sunweaver@debian.org> -License: GPL-2+ or GPL-2+~OpenSSL - +Copyright: 2005-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> + 2005-2020, Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> + 2005-2020, obviously nice - https://www.obviously-nice.de License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public @@ -40,8 +28,46 @@ License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. +Comment: + Quoting from README.OpenSSL-Exception... + . + * In addition, as a special exception, the copyright holders give + * permission to link the code of portions of this program with the + * OpenSSL library under certain conditions as described in each + * individual source file, and distribute linked combinations + * including the two. + * You must obey the GNU General Public License in all respects + * for all of the code used other than OpenSSL. If you modify + * file(s) with this exception, you may extend this exception to your + * version of the file(s), but you are not obligated to do so. If you + * do not wish to do so, delete this exception statement from your + * version. If you delete this exception statement from all source + * files in the program, then also delete it here. -License: GPL-2+~OpenSSL +Files: Makefile.docupload +Copyright: 2010-2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. + +Files: debian/* +Copyright: 2007-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> + 2011-2020, Reinhard Tartler <siretart@tauware.de> + 2011-2020, Mike Gabriel <sunweaver@debian.org> +License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either @@ -62,33 +88,3 @@ License: GPL-2+~OpenSSL On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. - . - In addition, as a special exception, the copyright holders give - permission to link the code of portions of this program with the - OpenSSL library under certain conditions as described in each - individual source file, and distribute linked combinations - including the two. - You must obey the GNU General Public License in all respects - for all of the code used other than OpenSSL. If you modify - file(s) with this exception, you may extend this exception to your - version of the file(s), but you are not obligated to do so. If you - do not wish to do so, delete this exception statement from your - version. If you delete this exception statement from all source - files in the program, then also delete it here. - -License: GPL-3 - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, version 3 of the License. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - . - On Debian systems, the full text of the GNU General Public - License version 3 can be found in the file - `/usr/share/common-licenses/GPL-3'. diff --git a/debian-qt4/menu b/debian/menu similarity index 100% rename from debian-qt4/menu rename to debian/menu diff --git a/debian-qt4/rules b/debian/rules similarity index 100% rename from debian-qt4/rules rename to debian/rules diff --git a/debian-common/source/format b/debian/source/format similarity index 100% rename from debian-common/source/format rename to debian/source/format diff --git a/debian-qt4/x2goclient.dirs b/debian/x2goclient.dirs similarity index 100% rename from debian-qt4/x2goclient.dirs rename to debian/x2goclient.dirs diff --git a/debian-qt4/x2goclient.docs b/debian/x2goclient.docs similarity index 100% rename from debian-qt4/x2goclient.docs rename to debian/x2goclient.docs diff --git a/debian-qt4/x2goclient.examples b/debian/x2goclient.examples similarity index 100% rename from debian-qt4/x2goclient.examples rename to debian/x2goclient.examples diff --git a/debian-qt4/x2goclient.install b/debian/x2goclient.install similarity index 100% rename from debian-qt4/x2goclient.install rename to debian/x2goclient.install diff --git a/debian-qt4/x2goclient.manpages b/debian/x2goclient.manpages similarity index 100% rename from debian-qt4/x2goclient.manpages rename to debian/x2goclient.manpages diff --git a/debian-qt4/x2goplugin-provider.install b/debian/x2goplugin-provider.install similarity index 100% rename from debian-qt4/x2goplugin-provider.install rename to debian/x2goplugin-provider.install diff --git a/debian-qt4/x2goplugin.install b/debian/x2goplugin.install similarity index 100% rename from debian-qt4/x2goplugin.install rename to debian/x2goplugin.install -- 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 82a8960623216bc3be474c61feda08c47b9c70c2 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:52:24 2021 +0200 debian/control.in: drop x2goplugin{,-{provider,dbg}}. It's been dead long enough. --- debian/changelog | 1 + debian/control.in | 60 +------------------------------------- debian/x2goplugin-provider.install | 0 debian/x2goplugin.install | 0 4 files changed, 2 insertions(+), 59 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1bcdcf0..cb39b66 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium * debian/control.in: + Switch to priority: optional. "extra" has been deprecated long ago. Pulled from Mike's changes. + + Drop x2goplugin{,-{provider,dbg}}. It's been dead long enough. * debian/copyright: + Switch Upstream-Contact to myself. Pulled from Mike's changes. + Add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license diff --git a/debian/control.in b/debian/control.in index 8aa5aa2..6c8d47b 100644 --- a/debian/control.in +++ b/debian/control.in @@ -51,43 +51,6 @@ Description: X2Go Client application (Qt4) X2Go Client is a graphical client (Qt4) for the X2Go system. You can use it to connect to running sessions and start new sessions. -Package: x2goplugin -Architecture: all -Depends: - ${misc:Depends}, -Description: X2Go Client (Qt4) as browser plugin (dummy package) - X2Go is a serverbased computing environment with - - session resuming - - low bandwidth support - - session brokerage support - - client-side mass storage mounting support - - client-side printing support - - audio support - - authentication by smartcard and USB stick - . - X2Go Client is a graphical client (qt4) for the X2Go system. - You can use it to connect to running sessions and start new sessions. - . - This package can be safely removed. Since X2Go Client 4.1.2.0, - the X2Go Plugin has been removed without a replacement. - -Package: x2goplugin-provider -Architecture: all -Depends: - ${misc:Depends}, -Description: Provide X2Go Plugin via Apache webserver (dummy package) - X2Go is a serverbased computing environment with - - session resuming - - low bandwidth support - - session brokerage support - - client-side mass storage mounting support - - client-side printing support - - audio support - - authentication by smartcard and USB stick - . - This package can be safely removed. Since X2Go Client 4.1.2.0, - the X2Go Plugin has been removed without a replacement. - Package: x2goclient-dbg Section: debug Architecture: any @@ -104,28 +67,7 @@ Description: X2Go Client application (Qt4), debug symbols (client) - audio support - authentication by smartcard and USB stick . - X2Go Client is a graphical client (Qt4) for the X2Go system. + X2Go Client is a graphical client (Qt@@QT_VERSION@@) for the X2Go system. You can use it to connect to running sessions and start new sessions . This package provides the debug symbols for the X2Go Client application. - -Package: x2goplugin-dbg -Section: debug -Architecture: all -Depends: - ${misc:Depends}, -Description: X2Go Client application (Qt4), debug symbols (plugin) (dummy package) - X2Go is a serverbased computing environment with - - session resuming - - low bandwidth support - - session brokerage support - - client-side mass storage mounting support - - client-side printing support - - audio support - - authentication by smartcard and USB stick - . - X2Go Client is a graphical client (Qt4) for the X2Go system. - You can use it to connect to running sessions and start new sessions - . - This package can be safely removed. Since X2Go Client 4.1.2.0, - the X2Go Plugin has been removed without a replacement. diff --git a/debian/x2goplugin-provider.install b/debian/x2goplugin-provider.install deleted file mode 100644 index e69de29..0000000 diff --git a/debian/x2goplugin.install b/debian/x2goplugin.install deleted file mode 100644 index e69de29..0000000 -- 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 40ce45d4e09159bae605bb7744d88b25b1563ca6 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:38:15 2021 +0200 debian/copyright: add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license including the OpenSSL exception and use that where appropriate. Pulled from Mike's changes. --- debian/changelog | 3 +++ debian/copyright | 74 +++++++++++++++++++++++++++++--------------------------- 2 files changed, 41 insertions(+), 36 deletions(-) diff --git a/debian/changelog b/debian/changelog index 26bfb08..6e1f320 100644 --- a/debian/changelog +++ b/debian/changelog @@ -46,6 +46,9 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium Pulled from Mike's changes. * debian/copyright: + Switch Upstream-Contact to myself. Pulled from Mike's changes. + + Add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license + including the OpenSSL exception and use that where appropriate. Pulled + from Mike's changes. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/copyright b/debian/copyright index 7fa9676..1d1d97f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,42 +7,7 @@ Files: * Copyright: 2005-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> 2005-2020, Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> 2005-2020, obviously nice - https://www.obviously-nice.de -License: GPL-2+ - This program is free software; you can redistribute it - and/or modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later - version. - . - This program is distributed in the hope that it will be - useful, but WITHOUT ANY WARRANTY; without even the implied - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the GNU General Public License for more - details. - . - You should have received a copy of the GNU General Public - License along with this package; if not, write to the Free - Software Foundation, Inc., 51 Franklin St, Fifth Floor, - Boston, MA 02110-1301 USA - . - On Debian systems, the full text of the GNU General Public - License version 2 can be found in the file - `/usr/share/common-licenses/GPL-2'. -Comment: - Quoting from README.OpenSSL-Exception... - . - * In addition, as a special exception, the copyright holders give - * permission to link the code of portions of this program with the - * OpenSSL library under certain conditions as described in each - * individual source file, and distribute linked combinations - * including the two. - * You must obey the GNU General Public License in all respects - * for all of the code used other than OpenSSL. If you modify - * file(s) with this exception, you may extend this exception to your - * version of the file(s), but you are not obligated to do so. If you - * do not wish to do so, delete this exception statement from your - * version. If you delete this exception statement from all source - * files in the program, then also delete it here. +License: GPL-2+~OpenSSL Files: Makefile.docupload Copyright: 2010-2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> @@ -67,6 +32,8 @@ Files: debian/* Copyright: 2007-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> 2011-2020, Reinhard Tartler <siretart@tauware.de> 2011-2020, Mike Gabriel <sunweaver@debian.org> +License: GPL-2+ or GPL-2+~OpenSSL + License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public @@ -88,3 +55,38 @@ License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: GPL-2+~OpenSSL + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + . + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the + OpenSSL library under certain conditions as described in each + individual source file, and distribute linked combinations + including the two. + You must obey the GNU General Public License in all respects + for all of the code used other than OpenSSL. If you modify + file(s) with this exception, you may extend this exception to your + version of the file(s), but you are not obligated to do so. If you + do not wish to do so, delete this exception statement from your + version. If you delete this exception statement from all source + files in the program, then also delete it here. -- 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 c253c1ee35ecd2649611a3e9cb6757dbfdbd6433 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:49:24 2021 +0200 debian/copyright: update notices. --- debian/changelog | 1 + debian/copyright | 18 +++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 78c29c7..1bcdcf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -50,6 +50,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium including the OpenSSL exception and use that where appropriate. Pulled from Mike's changes. + Move GPL-3 definition out-of-line. Pulled from Mike's changes. + + Update notices. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/copyright b/debian/copyright index 256ba05..968ce2f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -4,19 +4,23 @@ Upstream-Contact: Mihai Moldovan <ionic@ionic.de> Source: https://wiki.x2go.org Files: * -Copyright: 2005-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> - 2005-2020, Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> - 2005-2020, obviously nice - https://www.obviously-nice.de +Copyright: 2005-2021, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> + 2005-2021, Heinz-Markus Graesing <heinz-m.graesing@obviously-nice.de> + 2005-2021, obviously nice - https://www.obviously-nice.de + 2005-2021, X2Go Project <x2go-dev@lists.x2go.org> + 2015-2021, Mihai Moldovan <ionic@ionic.de> License: GPL-2+~OpenSSL Files: Makefile.docupload -Copyright: 2010-2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Copyright: 2010-2021, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> License: GPL-3 Files: debian/* -Copyright: 2007-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> - 2011-2020, Reinhard Tartler <siretart@tauware.de> - 2011-2020, Mike Gabriel <sunweaver@debian.org> +Copyright: 2007-2021, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> + 2011-2021, Reinhard Tartler <siretart@tauware.de> + 2011-2021, Mike Gabriel <sunweaver@debian.org> + 2007-2021, X2Go Project <x2go-dev@lists.x2go.org> + 2015-2021, Mihai Moldovan <ionic@ionic.de> License: GPL-2+ or GPL-2+~OpenSSL License: GPL-2+ -- 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 88c5821fc3a4a8d32304c9ba58d6db5a8cbe83e2 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 2 11:44:17 2021 +0200 debian/copyright: move GPL-3 definition out-of-line. Pulled from Mike's changes. --- debian/changelog | 1 + debian/copyright | 32 +++++++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6e1f320..78c29c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -49,6 +49,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium + Add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license including the OpenSSL exception and use that where appropriate. Pulled from Mike's changes. + + Move GPL-3 definition out-of-line. Pulled from Mike's changes. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/copyright b/debian/copyright index 1d1d97f..256ba05 100644 --- a/debian/copyright +++ b/debian/copyright @@ -12,21 +12,6 @@ License: GPL-2+~OpenSSL Files: Makefile.docupload Copyright: 2010-2020, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> License: GPL-3 - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, version 3 of the License. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - . - On Debian systems, the full text of the GNU General Public - License version 3 can be found in the file - `/usr/share/common-licenses/GPL-3'. Files: debian/* Copyright: 2007-2020, Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de> @@ -90,3 +75,20 @@ License: GPL-2+~OpenSSL do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. + +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. -- 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 0ea11593ea3c6f62c39b307cb34362aa8977e48f Author: Mihai Moldovan <ionic@ionic.de> Date: Thu May 6 19:19:50 2021 +0200 debian/: new file "preprocessor.pl". Simple text file preprocessor supporting basic condition logic. --- debian/changelog | 2 + debian/preprocessor.pl | 814 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 816 insertions(+) diff --git a/debian/changelog b/debian/changelog index cb39b66..d2dcc19 100644 --- a/debian/changelog +++ b/debian/changelog @@ -60,6 +60,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium changes. + New file "upstream/metadata". Same reasoning as for "watch". Pulled from Mike's changes. + + New file "preprocessor.pl". Simple text file preprocessor supporting + basic condition logic. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/preprocessor.pl b/debian/preprocessor.pl new file mode 100755 index 0000000..8c8eb39 --- /dev/null +++ b/debian/preprocessor.pl @@ -0,0 +1,814 @@ +#!/usr/bin/perl + +# Copyright (C) 2021 X2Go Project - https://wiki.x2go.org +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the +# Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +# Disable some Perl::Critic violations. +# +# I like parentheses. +## no critic (ProhibitParensWithBuiltins) +# +# It's recommended not to use the constant pragma, but we don't want to use +# non-core modules like Readonly. +## no critic (ValuesAndExpressions::ProhibitConstantPragma) + +use strict; +use warnings; + +# Enable full Unicode handling, if possible. +use 5.012; + +# Enable UTF-8 encoded data in the script itself. +use utf8; + +# Make text coding issues fatal. +use warnings qw (FATAL utf8); + +#use X2Go::Utils qw (is_int); +use English qw (-no_match_vars); +use Getopt::Long qw (GetOptionsFromArray); +use Pod::Usage; +use Storable qw (dclone); +use Data::Dumper qw (Dumper); +use Encode qw (encode decode); +use Encode::Locale; +use File::Temp qw (tempfile); +use Scalar::Util qw (openhandle looks_like_number); +use IO::Handle; +use File::Copy qw (copy); + +# Set up automatic encoding. +if (-t STDIN) { + binmode STDIN, ":encoding(console_in)"; +} +if (-t STDOUT) { + binmode STDOUT, ":encoding(console_out)"; +} +if (-t STDERR) { + binmode STDERR, ":encoding(console_out)"; +} + +# Convert data in ARGV. +exit (Main (map { Encode::decode (locale => $_, (Encode::FB_CROAK | Encode::LEAVE_SRC)); } @ARGV)); + +BEGIN { +} + +# No code past this point should be getting executed! +# +# These are actually supposed to be enums, but since Perl doesn't have a +# proper way of creating enums (at least not natively), we'll emulate that +# using list constants. +# +# Make sure that each token value is unique and referencing the correct +# element index in the TOKENS array. +use constant TOKEN_IF => 0; +use constant TOKEN_EL => 1; +use constant TOKEN_FI => 2; +use constant TOKEN_EQ => 3; +use constant TOKEN_NE => 4; +use constant TOKEN_INVALID => 5; +use constant TOKENS => ( q{@?}, q{@!}, q{@/}, q{==}, q{!=}, q{} ); + +# Helper function deleting whitespace from the left side of a string. +# +# Takes the string to trim as its only parameter. +# +# Returns the modified string. +sub ltrim { + my $str = shift; + + $str =~ s/^\s+//; + + return $str; +} + +# Helper function deleting whitespace from the right side of a string. +# +# Takes the string to trim as its only parameter. +# +# Returns the modified string. +sub rtrim { + my $str = shift; + + $str =~ s/\s+$//; + + return $str; +} + +# Helper function deleting whitespace from both sides of a string. +# +# Takes the string to trim as its only parameter. +# +# Returns the modified string. +sub trim { + my $str = shift; + + $str = ltrim ($str); + $str = rtrim ($str); + + return $str; +} + +# Helper function extracting a token from the given string. +# +# Takes a string as its only parameter. +# +# Returns the deitected token as an offset/index in the tokens array. +# +# On error, returns undef. +sub fetch_token { + my $ret = TOKEN_INVALID; + + my $input = shift; + + if (!(defined ($input))) { + print {*STDERR} "No input given to token fetching function, erroring out.\n"; + $ret = undef; + } + + if (defined ($ret)) { + ## no critic (ControlStructures::ProhibitCStyleForLoops) + for (my $i = 0; $i < scalar ((TOKENS)); ++$i) { + ## critic (ControlStructures::ProhibitCStyleForLoops) + # Luckily, tokens are non-ambiguous. + my $token_length = length ((TOKENS)[$i]); + if ((TOKENS)[$i] eq substr ($input, 0, $token_length)) { + $ret = $i; + last; + } + } + } + + return $ret; +} + +# Helper function parsing a condition and turning it into a boolean value. +# +# Takes the (probable) condition as a string, and a boolean value denoting +# whether debugging is requested or not as its parameters. +# +# Returns a boolean value . +# +# On error, returns undef. +sub parse_condition { + my $ret = 0; + my $error_detected = 0; + + my $condition = shift; + my $debug = shift; + + if (!(defined ($condition))) { + print {*STDERR} "No condition passed to condition parsing helper, erroring out.\n"; + $error_detected = 1; + } + + if (!($error_detected)) { + if (!(defined ($debug))) { + print {*STDERR} "No debugging argument passed to parsing helper, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + if (!(length ($condition))) { + print {*STDERR} "Empty condition is invalid, erroring out.\n"; + $error_detected = 1; + } + } + + my $lhs = undef; + my $rhs = undef; + my $token = undef; + if (!($error_detected)) { + # First, extract lhs and remove it from $condition. + if ($condition =~ m/^([^\s]+)\s+(.*)$/) { + $lhs = $1; + $condition = $2; + } + else { + print {*STDERR} "Unable to extract left hand side from condition, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + $token = fetch_token ($condition); + + if (!(defined ($token))) { + print {*STDERR} ".\n"; + $error_detected = 1; + } + else { + if ((TOKEN_EQ == $token) || (TOKEN_NE == $token)) { + $condition = substr ($condition, length ((TOKENS)[$token])); + } + else { + print {*STDERR} "Invalid token found in condition, erroring out.\n"; + $error_detected = 1; + } + } + } + + if (!($error_detected)) { + # Everything left must be the rhs. + $rhs = ltrim ($condition); + + if (!(length ($rhs))) { + print {*STDERR} "No right hand side found while parsing the condition, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + # Now find out if both sides look like integers, in which case we'll use + # integer semantics for the condition. + # Otherwise, we'll use a string comparison. + my $string_comp = 1; + if ((Scalar::Util::looks_like_number ($lhs)) && (Scalar::Util::looks_like_number ($rhs))) { + $string_comp = 0; + } + + # And, finally, do the actual comparison. + if ($string_comp) { + $ret = ($lhs eq $rhs); + } + else { + $ret = ($lhs == $rhs); + } + + # For non-equal, just invert. + if (TOKEN_NE == $token) { + $ret = (!($ret)); + } + } + + if ($error_detected) { + $ret = undef; + } + + return $ret; +} + +# Helper function reading a file, parsing each line and writing it to a +# temporary file handle. +# +# Takes a file path, a temporary file handle and a boolean value denoting +# whether debugging is requested or not as its parameters. +# +# Returns a boolean value denoting success (false) or failure (true). +sub parse_file { + my $error_detected = 0; + + my $infile = shift; + my $temp_fh = shift; + my $debug = shift; + + if (!(defined ($infile))) { + print {*STDERR} "No input file passed to parsing helper, erroring out.\n"; + $error_detected = 1; + } + + if (!($error_detected)) { + if (!(defined ($temp_fh))) { + print {*STDERR} "No file handle passed to parsing helper, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + if (!(defined (openhandle ($temp_fh)))) { + print {*STDERR} "Invalid file handle passed to parsing helper, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + if (!(defined ($debug))) { + print {*STDERR} "No debugging argument passed to parsing helper, erroring out.\n"; + $error_detected = 1; + } + } + + my $read_fh = undef; + if (!($error_detected)) { + $error_detected = (!(open ($read_fh, q{<}, $infile))); + + if (($error_detected) || (!(defined ($read_fh)))) { + print {*STDERR} "Unable to open input file \"${infile}\" for reading in parsing helper, erroring out.\n"; + } + } + + if (!($error_detected)) { + my @cond_stack = ( ); + my $skip = 0; + while (!(eof ($read_fh))) { + my $line = readline ($read_fh); + my $skip_once = 0; + + if ($debug) { + print {*STDERR} "Processing line \"${line}\" ... "; + } + + my $work = ltrim ($line); + my $token = fetch_token ($work); + + if (!(defined ($token))) { + print {*STDERR} "Unable to extract token from line \"${line}\", erroring out.\n" + } + elsif ($debug) { + print {*STDERR} q{extracted token: } . $token . "\n"; + } + + # Check if the token is valid. + if (TOKEN_FI == $token) { + if (!(scalar (@cond_stack))) { + print {*STDERR} "Encountered FI (end of condition) token, but no condition block active, erroring out.\n"; + $error_detected = 1; + last; + } + + # Otherwise, it's valid. Let's handle it by removing an onion layer. + if ($debug) { + print {*STDERR} "Got FI token, removing one layer.\n"; + } + + # If we're already in a skip section, just decrement the counter. + if (1 < $skip) { + --$skip; + } + else { + pop (@cond_stack); + + # Condition stack might be empty now, in which case make sure to not + # skip anything. + if (scalar (@cond_stack)) { + $skip = $cond_stack[$#cond_stack]; + } + else { + $skip = 0; + } + } + + $skip_once = 1; + } + + if (TOKEN_EL == $token) { + if (!(scalar (@cond_stack))) { + print {*STDERR} "Encountered EL (else branch) token, but no condition block active, erroring out.\n"; + $error_detected = 1; + last; + } + + # Okay, valid. + # In case we're in a nested skipping section, do nothing. Otherwise, + # handle it by reversing the skip value. + if (1 < $skip) { + if ($debug) { + print {*STDERR} "Got EL token, but we're already in a skipping section, ignoring.\n"; + } + } + else { + if ($debug) { + print {*STDERR} "Got EL token, reversing skip value \"${skip}\".\n"; + } + + $skip = (!($skip)); + + # Also update stack value, so that it's is up-to-date if additional + # nesting comes up. + $cond_stack[$#cond_stack] = $skip; + } + + $skip_once = 1; + } + + if (TOKEN_IF == $token) { + # IF is always valid. But we'll have to parse it. Unless we're in a + # skipping section. In that case, don't parse the condition and keep + # skipping, incrementing the skipping counter. + if (!($skip)) { + $work = substr ($work, length ((TOKENS)[$token])); + $work = ltrim ($work); + my $cond = parse_condition ($work, $debug); + + if (!(defined ($cond))) { + print {*STDERR} "Unable to parse conditional into a boolean value, erroring out.\n"; + $error_detected = 1; + last; + } + + $skip = (!($cond)); + push (@cond_stack, $skip); + } + else { + ++$skip; + } + + $skip_once = 1; + } + + # Any other token, including TOKEN_INVALID, is actually always valid, + # since it is not a preprocessor token. + # Sounds weird at first, but those lines will just be passed-through + # verbatim. + if ((!($skip)) && (!($skip_once))) { + if ($debug) { + print {*STDERR} "Passing-through line.\n"; + } + + print $temp_fh "${line}"; + } + } + + if (scalar (@cond_stack)) { + print {*STDERR} "Reached end of file, but condition stack not empty - runaway/unterminated condition, erroring out.\n"; + $error_detected = 1; + } + } + + close ($read_fh); + + return $error_detected; +} + +# Helper function handling unknown options or ignoring the well-known +# separator. It scans for options until hitting the first non-option entry. +# +# Takes an array reference with unparsed options and a boolean value denoting +# whether the separating "--" pseudo-option should be skipped or not as its +# parameters. +# +# Returns an array reference containing a boolean value denoting whether a +# separating "--" pseudo-option has been found *and* skipping it was requested, +# and the sanitized version of the original array reference. +# +# On error, returns undef. +sub sanitize_program_options { + my $ret = undef; + my $error_detected = 0; + my $found_separator = 0; + + my $args = shift; + my $skip_separator = shift; + + if ((!(defined ($args))) || ('ARRAY' ne ref ($args))) { + print {*STDERR} "Invalid argument array reference passed to program sanitization helper, erroring out.\n"; + $error_detected = 1; + } + + if (!($error_detected)) { + if (!(defined ($skip_separator))) { + print {*STDERR} "No skip-separator parameter passed to program sanitization helper, erroring out.\n"; + $error_detected = 1; + } + } + + if (!($error_detected)) { + $args = Storable::dclone ($args); + + ## no critic (ControlStructures::ProhibitCStyleForLoops) + for (my $cur_arg = shift (@{$args}); defined ($cur_arg); $cur_arg = shift (@{$args})) { + ## critic (ControlStructures::ProhibitCStyleForLoops) + if (q{-} eq substr ($cur_arg, 0, 1)) { + # Looks like an option so far. Let's continue scanning. + + if (1 == length ($cur_arg)) { + # But isn't a real option. Add back to argument list and stop + # processing. + unshift (@{$args}, $cur_arg); + last; + } + elsif ((2 == length ($cur_arg)) && (q{-} eq substr ($cur_arg, 1, 1))) { + if ($skip_separator) { + # Found separating "--" pseudo-option, but skipping requested. Only + # set the boolean value for our return value and make sure that we + # don't skip another separating pseudo-option if it comes up again + # right next to this one. + $found_separator = 1; + $skip_separator = 0; + } + else { + # Not skipping separating "--" pseudo-option - i.e., we'll treat this + # as a non-option. + unshift (@{$args}, $cur_arg); + last; + } + } + else { + # Otherwise this is an actual option. + # We either want to error out, if no previous separating "--" + # pseudo-option was found, or ignore it. + # The weird 0 + (...) construct here is forcing an arithmetic + # context. Otherwise, the interpreter might use a string context, + # in which the value "0" is dualvar'd to both an arithmetic 0 and + # an empty string. + my $separator_found = (0 + ((!($skip_separator)) | ($found_separator))); + if ($separator_found) { + # Put back into array. We'll handle this as not-an-option. + unshift (@{$args}, $cur_arg); + last; + } + else { + print {*STDERR} q{Unknown option encountered: } . $cur_arg . "; erroring out.\n"; + $error_detected = 1; + last; + } + } + } + else { + # Definitely not an option, add back to array. + unshift (@{$args}, $cur_arg); + last; + } + } + } + + if (!($error_detected)) { + $ret = [ $found_separator, $args ]; + } + + return $ret; +} + +# Main function, no code outside of it shall be executed. +# +# Expects @ARGV to be passed in. +## no critic (NamingConventions::Capitalization) +sub Main { +## critic (NamingConventions::Capitalization) + my @program_arguments = @_; + my $error_detected = 0; + my $found_separator = 0; + + Getopt::Long::Configure ('gnu_getopt', 'no_auto_abbrev', 'pass_through'); + + my $help = 0; + my $man = 0; + my $debug = 0; + Getopt::Long::GetOptionsFromArray (\@program_arguments, 'help|?|h' => \$help, + 'man' => \$man, + 'debug|d' => \$debug) or Pod::Usage::pod2usage (2); + + if ($help) { + Pod::Usage::pod2usage (1); + } + + if ($man) { + Pod::Usage::pod2usage (-verbose => 2, -exitval => 3); + } + + my $sanitized_options = undef; + + if (!($error_detected)) { + $sanitized_options = sanitize_program_options (\@program_arguments, (!($found_separator))); + + if (!(defined ($sanitized_options))) { + Pod::Usage::pod2usage (-exitval => 'NOEXIT'); + $error_detected = 4; + } + } + + my $infile = undef; + + if (!($error_detected)) { + if ($debug) { + print {*STDERR} 'Sanitized program options string as: ' . Data::Dumper::Dumper ($sanitized_options); + } + + # The shift () operations here actually shift the outer array, not the + # inner elements. + # This can be very confusing. + # The return value is an array consisting of a boolean value and an array + # reference. + # + # Thus, shifting once returns the boolean value, while shifting again + # returns the options array reference. Crucially, no shift () operation + # here modifies the modified options array. + $found_separator |= (0 + shift (@{$sanitized_options})); + $sanitized_options = shift (@{$sanitized_options}); + @program_arguments = @{$sanitized_options}; + + $infile = shift (@program_arguments); + + if (!(defined ($infile))) { + print {*STDERR} "No input file given as an argument, aborting.\n"; + $error_detected = 5; + } + } + + if (!($error_detected)) { + if ($debug) { + print {*STDERR} 'Fetched input file as: ' . Data::Dumper::Dumper (\$infile); + } + + if ((!(-f $infile)) || (!(-r $infile))) { + print {*STDERR} "Input file \"${infile}\" is not a regular file or readable, aborting.\n"; + $error_detected = 6; + } + } + + # In general, we could process the input file line-by-line and cache it in + # memory. + # That's a bad idea, though, if the file to process is rather big. + # Take the easy way out and write to a temporary file instead, which is + # memory-friendly and lets the operating system handle caching and the like. + my $temp_fh = undef; + my $temp_name = undef; + + if (!($error_detected)) { + ($temp_fh, $temp_name) = File::Temp::tempfile ('preprocTMP' . 'X' x 16, UNLINK => 1, TMPDIR => 1); + $error_detected = parse_file ($infile, $temp_fh, $debug); + + if ($error_detected) { + print {*STDERR} "Unable to parse input file \"${infile}\", aborting.\n"; + $error_detected += 6; + } + } + + if (!($error_detected)) { + # Lastly, copy content of temporary file to original one, but make sure to + # flush all data first. + $temp_fh->autoflush (); + + File::Copy::copy ($temp_name, $infile); + } + + return $error_detected; +} + +__END__ + +=pod + +=head1 NAME + +preprocessor.pl - Simple text file preprocessor supporting conditionals + +=head1 SYNOPSIS + +=over + +=item B<preprocessor.pl> B<--help>|B<-h>|B<-?> + +=item B<preprocessor.pl> B<--man> + +=item B<preprocessor.pl> [B<--debug>|B<-d>] [B<-->] I<file.in> + +=back + +=head1 DESCRIPTION + +=for comment +Due to parser oddities, breaking a line during an L<dummy|text> formatter code +right after the separating pipe character will generate broken links. +Make sure to only break it during the description or, generally, on space +characters. +A workaround for this has been proposed in +https://github.com/Perl/perl5/issues/18305 . + +B<preprocessor.pl> is a utility for preprocessing files with a simple, +hard-coded conditional syntax. + +=head1 OPTIONS + +=over 8 + +=item B<--help>|B<-?>|B<-h> + +Print a brief help message and exits. + +=item B<--man> + +Prints the manual page and exits. + +=item B<--debug>|B<-d> + +Enables noisy debug output. + +=back + +=head2 CONDITIONAL SYNTAX + +This program processes files by evaluating conditions and removing parts that +evaluate to false. + +The supported parser tokens are: + +=over 8 + +=item B<@?> + +This token is equivalent to an C<if> statement. A condition that evaluates to a +boolean value must follow. + +=item B<@!> + +This token is equivalent to an C<else> statement. The rest of the line will be +ignored. To this effect, it B<must not> directly be chained with another C<if> +statement to create an C<elseif> statement. + +If you need chaining, start another C<if> statement on a dedicated line after +the C<else> statement. + +=item B<@/> + +This token is equivalent to a C<fi> statement. The rest of the line will be +ignored. This statement terminates a conditional block. + +=back + +Conditional statements support the following operators: + +=over 8 + +=item I<a> B<==> I<b> + +This is a binary operator that checks its two operands for equality. + +The semantics are as follows: + +=over 2 + +=item I<a> and I<b> are numbers + +The check is being done numerically. Whether arguments are numbers or strings +is determined via C<Scalar::Util::looks_like_number ()>. + +=item otherwise + +The check is being done using a string comparison. Note that the locale is +respected and influences the order of characters. + +=back + +=item I<a> B<!=> I<b> + +This binary operator reverses the boolean value that would be computed using +the B<==> operator. + +=back + +=head1 EXAMPLES + +Original content: + +=over 2 + + Constant data + @? 10 == 1 + Dynamic data + @? ui != gui + is this conditional? + @! + or this? + @/ data discarded + and what about this? + @! + Generated data + @? help == me + sed -e 's/a/b/g' some.file + @! + sed -e 's/b/a/g' some.file + @/ + end: data + end: transmission + @/ + end: all + +=back + +Preprocessed content: + +=over 2 + + Constant data + Generated data + sed -e 's/b/a/g' some.file + end: data + end: transmission + end: all + +=back + +=head1 AUTHOR + +This manual has been written by +Mihai Moldovan L<E<lt>ionic@ionic.deE<gt>|mailto:ionic@ionic.de> for the X2Go +project (L<https://www.x2go.org|https://www.x2go.org>). + +=cut -- 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 c13c37ce3cfb155de9d7152ced7fcc6d10e64f1b Author: Mihai Moldovan <ionic@ionic.de> Date: Fri May 7 09:04:26 2021 +0200 debian/control.in: add Qt version switching support. --- debian/changelog | 1 + debian/control.in | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1b2ec99..a03618b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -45,6 +45,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium + Switch to priority: optional. "extra" has been deprecated long ago. Pulled from Mike's changes. + Drop x2goplugin{,-{provider,dbg}}. It's been dead long enough. + + Add Qt version switching support. * debian/copyright: + Switch Upstream-Contact to myself. Pulled from Mike's changes. + Add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license diff --git a/debian/control.in b/debian/control.in index 6c8d47b..49fd57a 100644 --- a/debian/control.in +++ b/debian/control.in @@ -8,7 +8,14 @@ Uploaders: Mihai Moldovan <ionic@ionic.de>, Build-Depends: debhelper (>= 7.0.50~), +@?@@QT_VERSION@@ == 4 libqt4-dev, +@! + libqt5svg5-dev, + libqt5x11extras5-dev, + qtbase5-dev, + qttools5-dev-tools, +@/ libldap2-dev, libssh-dev (>= 0.5.4-2~), libcups2-dev, @@ -32,13 +39,15 @@ Depends: Recommends: openssh-server, freerdp2-x11 | rdesktop | freerdp-x11, +@?@@QT_VERSION@@ == 4 Suggests: pinentry-x2go, +@/ Conflicts: x2goclient-gtk, Replaces: x2goclient-gtk, -Description: X2Go Client application (Qt4) +Description: X2Go Client application (Qt@@QT_VERSION@@) X2Go is a serverbased computing environment with - session resuming - low bandwidth support @@ -48,7 +57,7 @@ Description: X2Go Client application (Qt4) - audio support - authentication by smartcard and USB stick . - X2Go Client is a graphical client (Qt4) for the X2Go system. + X2Go Client is a graphical client (Qt@@QT_VERSION@@) for the X2Go system. You can use it to connect to running sessions and start new sessions. Package: x2goclient-dbg @@ -57,7 +66,7 @@ Architecture: any Depends: ${misc:Depends}, x2goclient (= ${binary:Version}), -Description: X2Go Client application (Qt4), debug symbols (client) +Description: X2Go Client application (Qt@@QT_VERSION@@), debug symbols (client) X2Go is a serverbased computing environment with - session resuming - low bandwidth support -- 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 1deec946d645fddfa6ba838dfb86ca47516d0460 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri May 7 09:01:27 2021 +0200 debian/: new file "proprocess.sh". Used to apply replacement tokens and run our new preprocessor. --- debian/changelog | 2 ++ debian/preprocess.sh | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/debian/changelog b/debian/changelog index d2dcc19..1b2ec99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -62,6 +62,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium Mike's changes. + New file "preprocessor.pl". Simple text file preprocessor supporting basic condition logic. + + New file "proprocess.sh". Used to apply replacement tokens and run our + new preprocessor. [ Mike Gabriel ] * New upstream version (4.1.2.3): diff --git a/debian/preprocess.sh b/debian/preprocess.sh new file mode 100755 index 0000000..b1cde04 --- /dev/null +++ b/debian/preprocess.sh @@ -0,0 +1,77 @@ +#!/bin/bash + +set -e + +typeset tmpfile="$('printf' 'mkstemp(template)\n' | 'm4' '-D' "template=${TMPDIR:-/tmp}/preprocTMPXXXXXXXXXXXXXXXX")" + +function cleanup () { + if [ -n "${tmpfile}" ] && [ -f "${tmpfile}" ]; then + 'rm' '-fv' "${tmpfile}" >&'2' + fi +} + +trap 'cleanup' 'EXIT' '6' 'BUS' 'ILL' 'KILL' 'QUIT' 'TERM' 'INT' 'PIPE' 'ALRM' 'USR1' 'USR2' + +function replace_kv () { + typeset key="${1:?'No key passed to replace_kv (), this is illegal.'}" + typeset value="${2:?'No value passed to replace_kv (), this is illegal.'}" + + 'sed' '-i' '-e' "s#@@${key}@@#${value}#g" "${tmpfile}" +} + +function main () { + typeset in_file="${1:?'No input file passed to main (), this is illegal.'}" + typeset out_file="${in_file%'.in'}" + + shift + + # Check if temporary file is set up correctly. + if [ -z "${tmpfile}" ]; then + printf 'No temporary file to write to available, erroring out.\n' >&'2' + return '1' + fi + + if ! [ -f "${tmpfile}" ]; then + printf 'Temporary file to write to "%s" not a regular file, erorring out.\n' "${tmpfile}" >&'2' + return '2' + fi + + # Check if in_file ends on ".in". + if [ "${in_file}" = "${out_file}" ]; then + printf 'Input file "%s" does not end in ".in", this is unsupported.\n' "${in_file}" >&'2' + return '3' + fi + + # Key-value pair arguments handling. + if [ '1' -gt "${#}" ]; then + printf 'At least one key-value pair must be provided.\n' >&'2' + return '4' + fi + + # Copy file contents to temporary file. + 'cp' "${in_file}" "${tmpfile}" + + typeset kv_i='' + for kv_i in "${@}"; do + typeset key="${kv_i%%'='*}" + typeset value="${kv_i#*'='}" + + if [ -z "${key}" ]; then + printf 'Key-value pair "%s" is invalid since it contains no key.\n' "${kv_i}" >&'2' + return '5' + fi + + 'replace_kv' "${key}" "${value}" + done + + # Now that all key-value pairs have been replaced, run the real + # preprocessor. + # We'll assume that cwd is the top source directory. Any other method, like + # autodetection, would be difficult to pull off portably. + 'debian/preprocessor.pl' "${tmpfile}" + + # And, eventually, replace the actual file. + 'cp' "${tmpfile}" "${out_file}" +} + +'main' "${@}" -- 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 cd56aa9b4f380739888b8d1ed7ec508bb4921f5a Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 9 14:52:02 2021 +0200 debian/rules: preprocess files with an ".in" suffix in the "debian" directory. Mostly adapted from the firefox package. --- debian/changelog | 3 +++ debian/rules | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/debian/changelog b/debian/changelog index a03618b..a30e176 100644 --- a/debian/changelog +++ b/debian/changelog @@ -53,6 +53,9 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium from Mike's changes. + Move GPL-3 definition out-of-line. Pulled from Mike's changes. + Update notices. + * debian/rules: + + Preprocess files with an ".in" suffix in the "debian" directory. Mostly + adapted from the firefox package. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/rules b/debian/rules index 4b301a0..65a7662 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,20 @@ export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +# The preprocessing magic is highly inspired by the firefox package. +IN_FILES := $(wildcard debian/*.in) +preprocessed_filename = $(1:.in=) +define preprocess +$(call preprocessed_filename,$(1)): $(1) +PREPROCESSED_FILES += $(call preprocessed_filename,$(1)) +endef +$(foreach f,$(IN_FILES),$(eval $(call preprocess, $(f)))) + +$(PREPROCESSED_FILES): VARS = QT_VERSION + +$(PREPROCESSED_FILES): + debian/preprocess.sh $< $(foreach var,$(VARS),-D$(var)="$($(var))" ) + %: dh $@ --parallel -- 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 149304f87025106987b8f47f79102b5892fa79ab Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 9 18:09:55 2021 +0200 debian/rules: add Qt 4/5 switching, based upon the base system definition. Mostly adapted from x2gomatebindings. --- debian/changelog | 2 ++ debian/rules | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4ba2325..688d650 100644 --- a/debian/changelog +++ b/debian/changelog @@ -58,6 +58,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium * debian/rules: + Preprocess files with an ".in" suffix in the "debian" directory. Mostly adapted from the firefox package. + + Add Qt 4/5 switching, based upon the base system definition. Mostly + adapted from x2gomatebindings. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/rules b/debian/rules index 65a7662..1705202 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,54 @@ export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +RELEASE_VER := 0 +RELEASE_VER_MAJOR := 0 +RELEASE_VER_MINOR := 0 +VENDOR_DEBIAN := +VENDOR_UBUNTU := + +QT_VERSION := 4 + +VENDOR_DEBIAN := $(shell { dpkg-vendor --is 'Debian' && echo 'yes'; } || { dpkg-vendor --is 'Raspbian' && echo 'yes'; }) + +ifeq ($(VENDOR_DEBIAN),yes) + RELEASE_VER := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') + # Let's fake testing's and unstable's "release version"... + ifeq ($(RELEASE_VER),testing) + RELEASE_VER := 999 + endif + ifeq ($(RELEASE_VER),unstable) + RELEASE_VER := 9999 + endif +else + VENDOR_UBUNTU := $(shell dpkg-vendor --is 'Ubuntu' && echo 'yes') + + ifeq ($(VENDOR_UBUNTU),yes) + RELEASE_VER_MAJOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') + RELEASE_VER_MINOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '2') + endif +endif + +# Actual version switch. +ifeq ($(VENDOR_DEBIAN),yes) + ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER) >= 11 )) && echo '"'"'yes'"'"),yes) + QT_VERSION = 5 + endif +else + ifeq ($(VENDOR_UBUNTU),yes) + # Example of how to use major and minor as a selector, we currently won't need + # this as the transition happened on a major version. + #ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MAJOR) == 20 )) && echo '"'"'yes'"'"),yes) + #ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MINOR) >= 4 )) && echo '"'"'yes'"'"),yes) + #QT_VERSION = 5 + #endif + #else + ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MAJOR) >= 20 )) && echo '"'"'yes'"'"),yes) + QT_VERSION = 5 + endif + endif +endif + # The preprocessing magic is highly inspired by the firefox package. IN_FILES := $(wildcard debian/*.in) preprocessed_filename = $(1:.in=) @@ -17,7 +65,7 @@ $(foreach f,$(IN_FILES),$(eval $(call preprocess, $(f)))) $(PREPROCESSED_FILES): VARS = QT_VERSION $(PREPROCESSED_FILES): - debian/preprocess.sh $< $(foreach var,$(VARS),-D$(var)="$($(var))" ) + debian/preprocess.sh $< $(foreach var,$(VARS),'$(var)=$($(var))' ) %: dh $@ --parallel -- 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 5dcf6005c3d2b88d3562600804cc5403bcb26226 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue May 11 22:33:02 2021 +0200 debian/rules: add force variables to bypass autodetection via lsb-release. This will be used by our buildscripts. --- debian/changelog | 2 ++ debian/rules | 45 ++++++++++++++++++++++++++++++++------------- 2 files changed, 34 insertions(+), 13 deletions(-) diff --git a/debian/changelog b/debian/changelog index ef0a269..9b818f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -61,6 +61,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium + Add Qt 4/5 switching, based upon the base system definition. Mostly adapted from x2gomatebindings. + Force re-generation of debian/control in clean rule. + + Add force variables to bypass autodetection via lsb-release. This will + be used by our buildscripts. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/rules b/debian/rules index c0411a5..f98aa6e 100755 --- a/debian/rules +++ b/debian/rules @@ -13,23 +13,42 @@ VENDOR_UBUNTU := QT_VERSION := 4 -VENDOR_DEBIAN := $(shell { dpkg-vendor --is 'Debian' && echo 'yes'; } || { dpkg-vendor --is 'Raspbian' && echo 'yes'; }) +# Setting these disables autodetection. +FORCE_VENDOR := +FORCE_RELEASE_VER := -ifeq ($(VENDOR_DEBIAN),yes) - RELEASE_VER := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') - # Let's fake testing's and unstable's "release version"... - ifeq ($(RELEASE_VER),testing) - RELEASE_VER := 999 - endif - ifeq ($(RELEASE_VER),unstable) - RELEASE_VER := 9999 +ifneq ($(FORCE_VENDOR),) + ifneq ($(FORCE_RELEASE_VER),) + VENDOR_DEBIAN := $(shell if [ 'debian' = '$(FORCE_VENDOR)' ] || [ '$(FORCE_VENDOR)' = 'raspbian' ]; then echo 'yes'; fi) + VENDOR_UBUNTU := $(shell if [ 'ubuntu' = '$(FORCE_VENDOR)' ]; then echo 'yes'; fi) + RELEASE_VER := $(FORCE_RELEASE_VER) + + ifeq ($(VENDOR_UBUNTU),yes) + RELEASE_VER_MAJOR := $(shell printf '%s\n' '$(RELEASE_VER)' | /usr/bin/cut -d '.' -f '1') + RELEASE_VER_MINOR := $(shell printf '%s\n' '$(RELEASE_VER)' | /usr/bin/cut -d '.' -f '2') + endif + else + $(error FORCE_VENDOR passed, but FORCE_RELEASEVER empty.) endif else - VENDOR_UBUNTU := $(shell dpkg-vendor --is 'Ubuntu' && echo 'yes') + VENDOR_DEBIAN := $(shell { dpkg-vendor --is 'Debian' && echo 'yes'; } || { dpkg-vendor --is 'Raspbian' && echo 'yes'; }) - ifeq ($(VENDOR_UBUNTU),yes) - RELEASE_VER_MAJOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') - RELEASE_VER_MINOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '2') + ifeq ($(VENDOR_DEBIAN),yes) + RELEASE_VER := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') + # Let's fake testing's and unstable's "release version"... + ifeq ($(RELEASE_VER),testing) + RELEASE_VER := 999 + endif + ifeq ($(RELEASE_VER),unstable) + RELEASE_VER := 9999 + endif + else + VENDOR_UBUNTU := $(shell dpkg-vendor --is 'Ubuntu' && echo 'yes') + + ifeq ($(VENDOR_UBUNTU),yes) + RELEASE_VER_MAJOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1') + RELEASE_VER_MINOR := $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '2') + endif endif endif -- 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 cdd14c6f3b03dd68519678abef3dad974b7c296e Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 9 17:42:01 2021 +0200 debian/control.in: add build-dependency upon lsb-release. Should be always part of a dependency of essential or base packages, but make sure we have it. --- debian/changelog | 2 ++ debian/control.in | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index a30e176..4ba2325 100644 --- a/debian/changelog +++ b/debian/changelog @@ -46,6 +46,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium Pulled from Mike's changes. + Drop x2goplugin{,-{provider,dbg}}. It's been dead long enough. + Add Qt version switching support. + + Add build-dependency upon lsb-release. Should be always part of a + dependency of essential or base packages, but make sure we have it. * debian/copyright: + Switch Upstream-Contact to myself. Pulled from Mike's changes. + Add new license "GPL-2+~OpenSSL" for the modified GPL 2+ license diff --git a/debian/control.in b/debian/control.in index 49fd57a..6c8afd3 100644 --- a/debian/control.in +++ b/debian/control.in @@ -23,6 +23,7 @@ Build-Depends: libxpm-dev, man2html-base | man2html, pkg-config, + lsb-release, Standards-Version: 3.9.5 Homepage: https://code.x2go.org/releases/source/x2goclient Vcs-Git: git://code.x2go.org/x2goclient.git -- 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 ec98764a0363a5ea39fd6eda12a2383d05596947 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue May 11 21:57:07 2021 +0200 debian/rules: force re-generation of debian/control in clean rule. --- debian/changelog | 1 + debian/rules | 3 +++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 688d650..ef0a269 100644 --- a/debian/changelog +++ b/debian/changelog @@ -60,6 +60,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium adapted from the firefox package. + Add Qt 4/5 switching, based upon the base system definition. Mostly adapted from x2gomatebindings. + + Force re-generation of debian/control in clean rule. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/rules b/debian/rules index 1705202..c0411a5 100755 --- a/debian/rules +++ b/debian/rules @@ -76,6 +76,9 @@ override_dh_auto_configure: dh_auto_configure override_dh_auto_clean: + # Force regenration of debian/control - we need this for architecture checks. + touch debian/control.in + debian/rules 'debian/control' dh_auto_clean rm -f res/txt/changelog -- 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 a8f60f8092436663bc6536d3e9c3466a0df3c1e6 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue May 11 23:01:55 2021 +0200 .gitignore: add debian/control, since it's now auto-generated. --- .gitignore | 3 +++ debian/changelog | 1 + 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index f056957..4bb7a1c 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,6 @@ x2goclient.pro.user # Generated by Visual Studio. .vscode/ + +# Auto-generated from template. +debian/control diff --git a/debian/changelog b/debian/changelog index 9b818f3..3e994d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -39,6 +39,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium * New upstream version (4.1.2.3): - src/sshmasterconnection.{c,h}: fix builds, new function should have been registered and not static, but private. + - .gitignore: add debian/control, since it's now auto-generated. * debian/control: + Move to debian/control.in. * debian/control.in: -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git