could reasonably depend only on perl-base

Bug #923197 reported by Colin Watson on 2012-01-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
High
Unassigned

Bug Description

byobu depends on perl, but only ships a single perl script using no modules. It could reasonably depend only on perl-base instead (or, equivalently, drop the dependency entirely since perl-base is Essential) to shrink its dependencies down substantially. As a concrete example, this would allow it to be installed on top of a debootstrapped Ubuntu base system without installing the full perl and perl-modules packages. byobu is one of the two packages in the Ubuntu server seed that require perl, the other being landscape-common.

To implement this, you can keep ${perl:Depends} in debian/control, but you'd do this in debian/rules:

  override_dh_perl:
          dh_perl -d

And also of course Build-Depends: debhelper (>= 7.0.50~) for override support.

Dustin Kirkland  (kirkland) wrote :

Committed revision 1884.

Changed in byobu (Ubuntu):
importance: Undecided → High
status: New → In Progress
Dustin Kirkland  (kirkland) wrote :

Thanks, Colin!

Changed in byobu (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 5.7-0ubuntu1

---------------
byobu (5.7-0ubuntu1) precise; urgency=low

  [ Ryan Thompson ]
  * usr/bin/byobu-reconnect-sockets: LP: #923169
    - nasty hack for compatibility with zsh sourcing this file

  [ Colin Watson ]
  * debian/control, debian/rules: LP: #923197
    - minimize our perl dependencies
 -- Dustin Kirkland <email address hidden> Sat, 28 Jan 2012 15:19:07 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers