diff options
author | Mihai Moldovan <ïonic@ionic.de> | 2017-04-18 17:21:53 +0000 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-04-18 23:40:36 +0200 |
commit | 0c9852a76ef405bc28b7e33d8cf14d0e5f49d352 (patch) | |
tree | 73d977406cf9730c222c885387893b01a36b73d4 | |
parent | 1537eb05da13d34b5976f2190ce94ec0fdc2e657 (diff) | |
download | nx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.tar.gz nx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.tar.bz2 nx-libs-0c9852a76ef405bc28b7e33d8cf14d0e5f49d352.zip |
{debian/control,nx-libs.spec}: add proper dependencies upon xkbcomp for RPM and DEB packages.
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | nx-libs.spec | 14 |
3 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index d3e2375bf..f99ac2d43 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,10 @@ nx-libs (2:3.5.0.33-0x2go1) UNRELEASED; urgency=low * nx-X11: use the "old", non-NX header location. Affects: - 1270_nx-X11_CVE-2017-2624-Use-timingsafe_memcmp-to-c.full.patch + * {debian/control,nx-libs.spec}: + - Add proper dependencies upon xkbcomp for RPM and DEB packages. + Backported from Arctica GH 3.6.x branch. + v2: backport to nx-libs 3.5.0.x (Mihai Moldovan) [ Mike Gabriel ] * debian/libxinerama1.postinst.in: diff --git a/debian/control b/debian/control index aa444fe3c..5dcab7797 100644 --- a/debian/control +++ b/debian/control @@ -1007,6 +1007,8 @@ Depends: # </Workaround> ${shlibs:Depends}, ${misc:Depends}, +# For /usr/bin/xkbcomp + x11-xkb-utils, Recommends: xfonts-base, xkb-data, diff --git a/nx-libs.spec b/nx-libs.spec index e0d5d8bac..cc21a84f1 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -599,6 +599,20 @@ Requires: xorg-x11-fonts-core # works without the dependency. Requires: xkeyboard-config +# For /usr/bin/xkbcomp +%if 0%{?fedora} || 0%{?rhel} +Requires: xorg-x11-xkb-utils +%else +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1310 +Requires: xkbcomp +%else +# Older *SUSE versions bundle xkbcomp in xorg-x11. Ugly, but nothing we could change. +Requires: xorg-x11 +%endif +%endif +%endif + %description -n nxagent NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X |