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

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



Control: tag -1 - patch

On Fri, Mar 23, 2018 at 14:21:01 +0100, Uwe Kleine-König wrote:

> 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:
> 
I'm not convinced this split is a good idea.  But:

> diff --git a/debian/control b/debian/control
> index 711d5d9b54f2..50d7217da720 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -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

This isn't a good package name.  It's too generic.

> +Architecture: any
> +Multi-Arch: foreign
> +Depends:
> + ${shlibs:Depends},
> + ${misc:Depends},

As-is, this would break upgrades, as it's missing Breaks/Replaces
against xterm.

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

Cheers,
Julien


Reply to: