package latencytop should be split into latencytop and latencytop-gui
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
latencytop (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: latencytop
$ aptitude show latencytop
Package: latencytop
State: installed
Automatically installed: no
Version: 0.5
Priority: extra
Section: universe/utils
Maintainer: Ubuntu Developers <email address hidden>
Uncompressed Size: 119k
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0),
However, latencytop works perfectly fine without an X display and as such, should not require libgtk2.0-0 as a dependency (probably no libglib2.0-0 either). Example:
$ DISPLAY= sudo latencytop
The package "latencytop" should be split into two packages, the "latencytop" package should contain dependencies to run from console only and "latencytop-gui" should be the current package with GUI frontend. Currently there's no sane way to install latencytop on an Ubuntu server (installing all gtk dependencies just to run the console version of latencytop is not sane).
An alternative way would be to set libgtk2.0-0 as a Recommended package and not as a required one. In that case, the latencytop binary should be dynamically linked with libgtk2.0-0 at a runtime to allow it to execute without libgtk2.0-0 package installed.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: latencytop 0.5
ProcVersionSign
Uname: Linux 2.6.31-11-rt x86_64
Architecture: amd64
CheckboxSubmission: f0bf0101e3df07a
CheckboxSystem: b5acb6c9ca4017b
Date: Fri Nov 12 10:00:05 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
SourcePackage: latencytop
Status changed to 'Confirmed' because the bug affects multiple users.