Dear all,
On Sun, 28 Oct 2018 19:44:35 +0100, Tristan Miller <psychonaut@nothingisreal.com> wrote:
I have a similar problem on openSUSE Tumbleweed, both with the openSUSE's own official X2Go packages and the X2Go packages from <https://wiki.x2go.org/doku.php/wiki:repositories:suse>. I do have libssh4-0.7.2 installed, as well as x2goclient-4.1.2.2, but Tumbleweed wants me to upgrade to libssh4-0.8.3. Upgrading libssh4 would mean uninstalling x2goclient, whereas not upgrading libssh4 makes it impossible to install lots of other upgrades that I need.
I suspect that whoever is maintaining the x2goclient RPMs needs to change the build requirements to libssh4-0.8.3. Hopefully this requires changes only to the spec file, not the source code.
I believe I've discovered the solution. Applying the attached patch to the RPM spec file, and including the attached patch to the x2goclient source, allows the RPM to be built and installed on openSUSE Tumbleweed.
Further details, for those who aren't au fait with development tools:
Grab the latest SRPM of x2goclient from <http://packages.x2go.org/opensuse/tumbleweed/heuler/SRPM/x2goclient/>
Install it:
$ sudo rpm --install x2goclient-*.heuler.src.rpm
$ mkdir -p ~/rpmbuild/SOURCES $ cd ~/rpmbuild/SOURCES $ ln -s /usr/src/packages/SOURCES/x2goclient-*.tar.gz . $ ln -s /usr/src/packages/SOURCES/x2goclient-rpmlintrc
Place the attached x2goclient-libssh.patch in ~/rpmbuild/SOURCES.
Patch the spec file using the attached x2goclient.spec.patch file:
$ mkdir -p ~/rpmbuild/SPECS
$ patch -o ~/rpmbuild/SPECS/x2goclient.spec
/usr/src/packages/SPECS/x2goclient.spec x2goclient.spec.patch
$ cd ~/rpmbuild/SPECS $ rpmbuild -bb x2goclient.spec
$ sudo zypper in ~/rpmbuild/RPMS/*/x2goclient*.heuler.*.rpm
The above assumes that you have the necessary development tools installed and the necessary x2goclient dependencies.
I've tried submitting these patches along with a bug report to X2Go's arcane bug reporting system but I have no idea if I've done so properly or if it's even gone through.
Regards, Tristan
Tristan Miller