[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859461: xterm: seperate package for resize would be nice



Control: tag 859461 + patch

Hello,

On Mon, Apr 03, 2017 at 01:49:32PM -0600, ben hildred wrote:
> Which brings me to my request, split resize into a seprate package and depend
> on it to preserve existing functionality while allowing headless machines to
> install just resize.
I could make use of this, too. Here is a patch:

diff --git a/debian/changelog b/debian/changelog
index 322f2f59dcfe..f2998d375ef1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xterm (331-1ukl1) UNRELEASED; urgency=medium
+
+  * Split resize(1) into a separate package (Closes: #859461)
+
+ -- Uwe Kleine-König <ukleinek@debian.org>  Fri, 23 Mar 2018 14:09:38 +0100
+
 xterm (331-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 711d5d9b54f2..50d7217da720 100644
--- a/debian/control
+++ b/debian/control
@@ -115,6 +115,7 @@ Architecture: any
 Multi-Arch: foreign
 Depends:
  xbitmaps,
+ resize,
  ${shlibs:Depends},
  ${misc:Depends},
 Recommends: x11-utils
@@ -141,3 +142,13 @@ Description: X terminal emulator
  .
  Those interested in using koi8rxterm will likely want to install the
  xfonts-cyrillic package as well.
+
+Package: resize
+Architecture: any
+Multi-Arch: foreign
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Description: Determine size of virtual terminal
+ This program is used to (re)set the width and height of your current
+ terminal to the size of the virtual terminal.
diff --git a/debian/resize.install b/debian/resize.install
new file mode 100644
index 000000000000..04adcfc65a7e
--- /dev/null
+++ b/debian/resize.install
@@ -0,0 +1,2 @@
+usr/bin/resize
+usr/share/man/man1/resize*
diff --git a/debian/xterm.install b/debian/xterm.install
index f4a0bded4143..5961dfa7b0d9 100644
--- a/debian/xterm.install
+++ b/debian/xterm.install
@@ -1,7 +1,7 @@
 etc/X11/app-defaults/*
-usr/bin/*
+usr/bin/*term
 usr/share/doc
-usr/share/man/man1/*
+usr/share/man/man1/*term*
 usr/share/pixmaps
 usr/share/applications/*
 usr/share/icons

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


Reply to: