packaging changes for generating byobu package, and

handling upgrades properly.

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-05 18:25:14 -05:00
parent 09a71bd12b
commit a82f2546b3
5 changed files with 14 additions and 16 deletions

20
debian/control vendored
View file

@ -13,6 +13,9 @@ Depends: ${misc:Depends}, debconf (>= 0.5) | debconf-2.0, screen, gettext-base,
Recommends: update-notifier-common, lsb-release
Suggests: byobu-extras
Enhances: screen
Provides: screen-profiles
Replaces: screen-profiles
Conflicts: screen-profiles
Description: a set of useful profiles and a profile-switcher for GNU screen
byobu includes a set of profiles for the GNU screen window manager.
These profiles are quite useful on server machines which are not running
@ -28,19 +31,10 @@ Description: a set of useful profiles and a profile-switcher for GNU screen
Package: byobu-extras
Architecture: all
Depends: ${misc:Depends}, byobu
Provides: screen-profiles-extras
Replaces: screen-profiles-extras
Conflicts: screen-profiles-extras
Description: additional colored profiles for the byobu package
The byobu contains a basic set of light and dark profiles.
The byobu contains a basic set of light and dark screen profiles.
The byobu-extras package provides additional profiles of various
different light and dark colors.
Package: screen-profiles
Architecture: all
Depends: ${misc:Depends}, byobu
Description: package has been renamed to byobu
The screen-profiles package has been renamed to 'byobu'.
Package: screen-profiles-extras
Architecture: all
Depends: ${misc:Depends}, byobu-extras
Description: package has been renamed to byobu-extras
The screen-profiles-extras package has been renamed to 'byobu-extras'.

2
debian/install vendored
View file

@ -9,6 +9,7 @@ keybindings/common usr/share/byobu/keybindings
keybindings/none usr/share/byobu/keybindings
windows/common usr/share/byobu/windows
select-screen-profile usr/bin
byobu usr/bin
byobu-config usr/bin
byobu-status usr/bin
byobu-status-detail usr/bin
@ -17,3 +18,4 @@ screen-launcher-uninstall usr/share/byobu
motd+shell usr/bin
screen-launcher usr/bin
byobu-export usr/bin
debian/lintian/byobu usr/share/lintian/overrides

2
debian/lintian/byobu vendored Normal file
View file

@ -0,0 +1,2 @@
byobu: binary-without-manpage
# The manpages are, of course, part of the original screen package.

2
debian/preinst vendored
View file

@ -2,7 +2,7 @@
PKG="byobu"
if [ "install" = "$1" ] || [ "upgrade" = "$1" ]; then
if [ "$1" = install -o "$1" = upgrade ]; then
dpkg-divert --package "$PKG" --divert /usr/bin/screen.real --rename /usr/bin/screen
fi

4
debian/rules vendored
View file

@ -48,8 +48,8 @@ install: build install-po
dh_testdir
dh_testroot
dh_clean -k
dh_install -X.bzr
dh_link usr/bin/byobu usr/bin/screen
dh_install -X.bzr
# Everything else is handled by dh_install
@ -58,7 +58,7 @@ binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -X.bzr -i
dh_installman -i screen-launcher.1 byobu-config.1 select-screen-profile.1 motd+shell.1 byobu-export.1 byobu-status.1 byobu-status-detail.1
dh_installman -i screen-launcher.1 byobu.1 byobu-config.1 select-screen-profile.1 motd+shell.1 byobu-export.1 byobu-status.1 byobu-status-detail.1
dh_installchangelogs -i
dh_installdebconf -i
dh_compress -i