aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 15:23:49 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 15:23:49 +0100
commit00f8d49a3c34b7a050edf352f03a29558525c205 (patch)
tree2c02b2368e2a0fa6c507f934db94c3d6d2e18d3b /debian
parentae565e1da04b8e01d4cef1a09eca96af23cecb5c (diff)
downloadnx-libs-00f8d49a3c34b7a050edf352f03a29558525c205.tar.gz
nx-libs-00f8d49a3c34b7a050edf352f03a29558525c205.tar.bz2
nx-libs-00f8d49a3c34b7a050edf352f03a29558525c205.zip
debian/*: Debianize package inclusion of nxdialog (ships with nxagent bin:pkg for now).
Diffstat (limited to 'debian')
-rw-r--r--debian/control5
-rw-r--r--debian/nxagent.install2
-rw-r--r--debian/patches/2003_nxdialog-use-python3.patch11
-rw-r--r--debian/patches/series1
4 files changed, 18 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 98c143d2d..1c1a6d324 100644
--- a/debian/control
+++ b/debian/control
@@ -330,9 +330,12 @@ Depends:
libnx-x11-6 (= ${binary:Version}),
libxcomp3 (= ${binary:Version}),
libxcompshad3 (= ${binary:Version}),
+ python3,
+ python3-gi,
+ gir1.2-gtk-3.0,
x11-xkb-utils,
${misc:Depends},
- ${shlibs:Depends}
+ ${shlibs:Depends},
Recommends: xfonts-base, xkb-data
Breaks: libxcompext3 (<< 2:3.5.99.3~), nxauth
Replaces: libxcompext3, nxauth
diff --git a/debian/nxagent.install b/debian/nxagent.install
index 402b3b529..1f2a7966f 100644
--- a/debian/nxagent.install
+++ b/debian/nxagent.install
@@ -1,7 +1,9 @@
etc/nxagent/keystrokes.cfg
usr/bin/nxagent
+usr/bin/nxdialog
usr/lib/*/nx/X11/
usr/share/man/man1/nxagent.1*
+usr/share/man/man1/nxdialog.1*
usr/share/nx/VERSION.nxagent
usr/share/pixmaps/nxagent.xpm
# FIXME: compatibility symlink, drop for 3.6.0 release
diff --git a/debian/patches/2003_nxdialog-use-python3.patch b/debian/patches/2003_nxdialog-use-python3.patch
new file mode 100644
index 000000000..08c299535
--- /dev/null
+++ b/debian/patches/2003_nxdialog-use-python3.patch
@@ -0,0 +1,11 @@
+Description: Enforce usage of Python3
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+--- a/nxdialog/bin/nxdialog
++++ b/nxdialog/bin/nxdialog
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # ^^^ This is working with python2 and python3 so we choose a shebang
+ # that will find either version.
diff --git a/debian/patches/series b/debian/patches/series
index 79df3658e..e1ec9c56d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
2001_nx-X11_install-location.debian.patch
2002_xserver-xext_set-securitypolicy-path.debian.patch
+2003_nxdialog-use-python3.patch