~ubuntu-branches/ubuntu/hardy/gdm/hardy-updates

« back to all changes in this revision

Viewing changes to debian/gdm.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-12-11 15:34:43 UTC
  • mfrom: (1.4.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20071211153443-ndi1b5u2d6oybb7p
Tags: 2.20.2-1ubuntu1
* Sync with Debian
* debian/control.in:
  - Breaks on packages using the previous socket location
  - Depend on kbd | console-tools for fgconsole
  - Depends on alsa-utils for gdmplay
  - Recommends ubuntu-artwork | edubuntu-artwork | xubuntu-default-settings, 
    ubuntu-sounds
  - the package in maintained by the desktop team on Ubuntu
* debian/control.in, debian/gdm.dirs, debian/gdm.install:
  - don't install the Debian theme
* debian/gdm.init:
  - use the Ubuntu init version
* debian/gdm.install:
  - list gdmplay binary
* debian/gdm.templates:
  - Fix template to point to /usr/sbin/gdm not /usr/bin. (LP: 129017)
* debian/gdmplay:
  - small asound wrapper
* debian/patches/01_xconfigoptions.patch:
  - patch configure to use "-br" (Ubuntu: #12985).
* debian/patches/01_xrdb_nocpp.patch:
  - call xrdb with the "nocpp" option (Ubuntu: #14268).
* debian/patches/04_menu_changes.patch:
  - don't display some of the menu items
* debian/patches/06_no_conffile_diff_due_to_comment_change.patch:
  - don't change comments to gdm.conf-custom to not get a conffile change
    on upgrade (Ubuntu: #92302)
* debian/patches/08_notify_ck_about_static_server.patch:
  - "Notify ck about initial static server."
* debian/patches/10_noxkeepcrashing.patch:
  - option NoXKeepsCrashing to disable all XKeepsCrashing code.
* debian/patches/11_powermanagement.patch:
  - add hibernate action
  - fix typo in the hibernate command configuration (LP: #151788)
  - make the hibernate action being listed (LP: #151848)
* debian/patches/15_usplash.patch:
  - Log that we're starting up gdm before stopping usplash. If usplash was
    running, don't bother logging successful startup, as it will look
    weird on the console.
  - If usplash was running, wait a short while for the active console to
    change after starting up gdm, to try to avoid visible console noise
    from later init scripts
* debian/patches/16_configure_menu_item.patch:
  - drop the configure option from gdmsetup, it's not sudo friendly
* debian/patches/18_combo_box_language_selector.patch:
  - use a combo box for the language selector
* debian/patches/19_remove_drop_shadows.patch:
  - removed the black drop shadow from GDM windows, 
* debian/patches/20_timedlogindelay_min_value_change.patch:
  - change minimal TimedLoginDelay to 1 (Ubuntu: #84239)
* debian/patches/35_gdm.conf.patch:
  - SuspendCommand=/usr/sbin/pmi action sleep
  - HibernateCommand=/usr/sbin/pmi action hibernate
  - SoundProgram=/usr/lib/gdmplay
  - GtkTheme=Human
  - ConfigAvailable=false
  - BackgroundColor=#dab08
  - GraphicalThemedColor=#dab082
  - use "Browser=true" so the users lists work correctly (LP: 115952)
  - set SoundOnLoginFile value to question.wav (LP: 131601)
* debian/patches/41_config-files.patch:
  - dropped, don't use Debian configuration file location hack
* debian/patches/56_xnest-wrapper.patch:
  - updated
* debian/patches/63_xrandr_virtual.patch:
  - on randr1.0 drivers, set the virtual to the screen resolution in 
    order to avoid panning setups (part of LP: 137517)
* debian/patches/70_mandatory-relibtoolize.patch:
  - updated
* debian/patches/90_workaround_init_color.patch:
  - set the color to use in the PreSession to workaround a bug
* debian/rules:
  - change custom configuration file naming
  - set the standard configuration location
  - specify the correct at-spi directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    fi
64
64
fi
65
65
 
 
66
if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "2.20"; then
 
67
    # D'uh, that's an ugly hack, but upstream changed the syntax
 
68
    # of the quoting
 
69
    if grep -q '\\"' /etc/gdm/gdm.conf; then
 
70
        echo "WARNING: fixing quotes in /etc/gdm/gdm.conf"
 
71
        cp -p /etc/gdm/gdm.conf /etc/gdm/gdm.conf.dpkg-old
 
72
        sed -i 's/\\"/"/g' /etc/gdm/gdm.conf
 
73
    fi
 
74
fi
 
75
 
66
76
if [ -x /etc/init.d/gdm ]; then
67
77
  update-rc.d gdm defaults $S $K >/dev/null 2>&1
68
78
  invoke-rc.d gdm reload || true