[X2Go-User] x2goclient on openSUSE Tumbleweed

Tristan Miller psychonaut at nothingisreal.com
Sun Oct 28 21:20:47 CET 2018


Dear all,

On Sun, 28 Oct 2018 19:44:35 +0100, Tristan Miller
<psychonaut at 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:

1. Grab the latest SRPM of x2goclient from
<http://packages.x2go.org/opensuse/tumbleweed/heuler/SRPM/x2goclient/>

2. Install it:

$ sudo rpm --install x2goclient-*.heuler.src.rpm

3. Link the source code from your local rpmbuild directory:

$ mkdir -p ~/rpmbuild/SOURCES
$ cd ~/rpmbuild/SOURCES
$ ln -s /usr/src/packages/SOURCES/x2goclient-*.tar.gz .
$ ln -s /usr/src/packages/SOURCES/x2goclient-rpmlintrc

4. Place the attached x2goclient-libssh.patch in ~/rpmbuild/SOURCES.

5. 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

6. Build the x2goclient RPM:

$ cd ~/rpmbuild/SPECS
$ rpmbuild -bb x2goclient.spec

7. Install the RPM:

$ 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
Free Software developer, ferret herder, logologist
             https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2goclient-libssh.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20181028/eca65188/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2goclient.spec.patch
Type: text/x-patch
Size: 1240 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20181028/eca65188/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20181028/eca65188/attachment.sig>


More information about the x2go-user mailing list