Commit adb2f80c authored by Mihai Moldovan's avatar Mihai Moldovan

{debian/control,nx-libs.spec}: add proper dependencies upon xkbcomp for RPM and DEB packages.

parent 7c0a3591
...@@ -338,6 +338,8 @@ Depends: ...@@ -338,6 +338,8 @@ Depends:
libxcomp3 (= ${binary:Version}), libxcomp3 (= ${binary:Version}),
libxcompshad3 (= ${binary:Version}), libxcompshad3 (= ${binary:Version}),
libnx-x11-6 (= ${binary:Version}), libnx-x11-6 (= ${binary:Version}),
# For /usr/bin/xkbcomp
x11-xkb-utils,
Recommends: Recommends:
xfonts-base, xfonts-base,
xkb-data, xkb-data,
......
...@@ -290,6 +290,20 @@ Obsoletes: nxauth < 3.5.99.1 ...@@ -290,6 +290,20 @@ Obsoletes: nxauth < 3.5.99.1
Requires: xorg-x11-font-utils Requires: xorg-x11-font-utils
%endif %endif
# 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 %description -n nxagent
NX is a software suite which implements very efficient compression of NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X the X11 protocol. This increases performance when using X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment