~ubuntu-branches/ubuntu/precise/xorg/precise

« back to all changes in this revision

Viewing changes to debian/x11-common.postinst.in

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen, Bryce Harrington, Timo Aaltonen
  • Date: 2011-06-14 15:39:40 UTC
  • mfrom: (6.3.18 sid)
  • Revision ID: james.westby@ubuntu.com-20110614153940-b9i0fr1v2kchiozh
Tags: 1:7.6+7ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add apport hook
  - Demote xfonts-{75DPI,100DPI} to Suggests. Demote xfonts-scalable to
    Recommends.
  - debian/local/Xsession:
    Truncate xsession-errors on startup if too big
  - debian/local/Xsession.d/20x11-common_process-args:
    Add support for session command containing args.
  - debian/local/Xsession.d/60x11-common_localhost:
    Authorise all processes running with the user's credentials to connect
    to the server.
  - debian/rules, debian/control:
    Add dependencies on x11-common, and symlink /usr/share/doc directories
    of all packages to x11-common's.
  - debian/scripts/vars.*:
    + Don't drop wacom from input-all.
    + Add -vmmouse to input-all for amd64 and i386.
    + Add -qxl to video-all for amd64 and i386.
    + Add -geode to video-all for i386.
    + Drop video drivers that are likely irrelevant for ARM.
  - debian/xserver-xorg.postinst.in: Also migrate users from psb → vesa.

[ Bryce Harrington ]
* apport/source_xorg.py:
  - Move Failsafe-X out of the xorg package to xdiagnose
    (LP: #480744)
  - Simplify answers for bug reporters filing post-release reports.
    (LP: #778758)
  - Remove attach_drm_info().  This is useful info but we use it very
    infrequently, and it is already available in other log files.  But the
    call makes bug reports a bit cluttered since it adds a lot of lines to
    the report itself.

[ Timo Aaltonen ]
* rules: A stampfile generation was commented out by mistake, uncomment
  it.
* Rework the x11-common.{postinst,postrm,preinst} failsafe conffile
  handling, the previous ones added in 1:7.6+4ubuntu1 were wrong too.
* scripts/vars.{amd64,i386,powerpc}: Remove apm, ark, chips, i128, i740,
  rendition, s3virge, tseng, voodoo from xserver-xorg-video-all
  dependencies. They are unmaintained and obsolete.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
case "$1" in
25
25
configure)
26
 
  if dpkg --compare-versions "$2" lt-nl "1:7.6+4ubuntu1"; then
 
26
  if dpkg --compare-versions "$2" lt-nl "1:7.6+7ubuntu1"; then
27
27
    remove_conffile_commit "/etc/gdm/failsafe-xorg.conf"
 
28
    remove_conffile_commit "/etc/gdm/failsafeBlacklist"
28
29
    remove_conffile_commit "/etc/gdm/failsafeDexconf"
29
30
    remove_conffile_commit "/etc/gdm/failsafeDexconf.old"
30
31
    remove_conffile_commit "/etc/gdm/failsafeHelpmsg"
31
32
    remove_conffile_commit "/etc/gdm/failsafeInstall"
 
33
    remove_conffile_commit "/etc/gdm/failsafeXServer"
 
34
    remove_conffile_commit "/etc/gdm/failsafeXinit"
32
35
  fi
33
36
esac
34
37
 
38
41
  ALLOWED_USERS=
39
42
  if db_get x11-common/xwrapper/actual_allowed_users; then
40
43
    ALLOWED_USERS="$RET"
41
 
  fi 
 
44
  fi
42
45
  if [ -n "$ALLOWED_USERS" ]; then
43
46
    NEW_XWRAPPER_CONFIG=$(tempfile -m 644)
44
47
    if ! [ -e "$XWRAPPER_CONFIG" ]; then