~ubuntu-branches/ubuntu/saucy/usplash/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier, Martin Pitt, Loïc Minier
  • Date: 2009-09-11 22:04:46 UTC
  • Revision ID: james.westby@ubuntu.com-20090911220446-t37nsc94ydo579r6
Tags: 0.5.34
[ Martin Pitt ]
* Add support for fading in/out the logo:
  - libusplash.h, libusplash.c: Add new function fade_logo(on, steps) which
    fades the logo in/out.
  - libusplash.c, usplash_setup(): Do not set the palette here already.
  - usplash.c: Fade logo in at startup (0.5 seconds), and out at QUIT (0.2
    seconds).
* Reverse the fade times at shutdown:
  - usplash.c: Add new option -d for shutdown, and call fade_logo() with
    swapped steps if it is given.
  - usplash_down: Call usplash with -d.
  - usplash.8: Document -d.
* debian/shlibs.local: Bump for new API.

[ Loïc Minier ]
* usplash_down, initramfs/scripts/init-top/usplash: Set xres/yres from the
  fb or KMS virtual_size if available as read from /sys, overriding
  usplash.conf values.  It's ugly to rely on /sys, but there was already a
  check for /sys to detect KMS and some code in initramfs-tools to generate
  an usplash.conf from /sys on mxcfb fbs.  This merges the kuldges in a
  single place and causes usplash to actually use the current and probably
  highest resolution on KMS and fb devices, while the default was to set the
  resolution to the first theme's size (640x400 with the Ubuntu theme).
  Proper fix is to make usplash use the current resolution instead but will
  take more time.
* usplash_down, initramfs/scripts/init-top/usplash: Stop sourcing
  etc/usplash.conf since usplash_setup() does this by default when xres and
  yres aren't set on the command line anyway.
* Flip dh_installdeb and dh_makeshlibs call in rules to actually get
  proper ldconfig call in the .postinst as lintian expects.
* Add #DEBHELPER# to preinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        dh_strip
76
76
        dh_compress -X example
77
77
        dh_fixperms
 
78
        dh_makeshlibs
78
79
        dh_installdeb
79
 
        dh_makeshlibs
80
80
        dh_shlibdeps
81
81
        dh_gencontrol
82
82
        dh_md5sums