xorg: Changes to 'debian-unstable'
debian/changelog | 7 +++
debian/xserver-xorg.postinst.in | 78 ----------------------------------------
2 files changed, 6 insertions(+), 79 deletions(-)
New commits:
commit 4b21f9970b745df62a4e1fc56d3cf00b4ed1e414
Author: David Nusinow <dnusinow@debian.org>
Date: Mon Jun 18 16:17:18 2007 +0100
Remove the code to migrate old XFree86 templates over to Xorg.
You'll have to install etch now if you're migrating from sarge for your
settings to transition over.
diff --git a/debian/changelog b/debian/changelog
index e0c741a..9899ec0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,7 +13,12 @@ xorg (1:7.2-6) UNRELEASED; urgency=low
the obsolete -modesetting drivers on other architectures, and prefer
-intel to -i810.
- -- Brice Goglin <Brice.Goglin@ens-lyon.org> Thu, 14 Jun 2007 23:34:24 +0200
+ [ David Nusinow ]
+ * Remove the code to migrate old XFree86 templates over to Xorg. You'll have
+ to install etch now if you're migrating from sarge for your settings to
+ transition over.
+
+ -- David Nusinow <dnusinow@debian.org> Mon, 18 Jun 2007 16:16:06 +0100
xorg (1:7.2-5) unstable; urgency=low
diff --git a/debian/xserver-xorg.postinst.in b/debian/xserver-xorg.postinst.in
index 7aca749..a2eb7c1 100644
--- a/debian/xserver-xorg.postinst.in
+++ b/debian/xserver-xorg.postinst.in
@@ -660,84 +660,6 @@ if [ -z "$2" ]; then
FIRSTINST=yes
fi
-# Migrate debconf templates from xserver-xfree86 to xserver-xorg
-XF86TEMPLATELIST=$(debconf-show xserver-xfree86 | sed -e 's/^\*//g' | awk '{print $1}' | sed -e 's/\:$//g')
-
-if [ -n "$FIRSTINST" ] && [ -z "$RECONFIGURE" ] && [ -n "$XF86TEMPLATELIST" ]; then
- MIGRATE_XF86=true
- warn "Migrating xserver-xfree86 debconf values to xserver-xorg."
- # set +e is required otherwise debconf will kick us out if the template is not
- # there.
- set +e
- for XF86TEMPLATE in $XF86TEMPLATELIST; do
- XORGTEMPLATE=$(echo "$XF86TEMPLATE" | sed -e 's/xserver-xfree86/xserver-xorg/g')
- # db_get doesn't need checking. If we are here is because it is in the list.
- db_get "$XF86TEMPLATE"
- db_set "$XORGTEMPLATE" "$RET"
- if [ "$RET" = "10 $XORGTEMPLATE doesn't exist" ]; then
- debug_echo "$XF86TEMPLATE is not mapped to $XORGTEMPLATE"
- else
- db_fset "$XORGTEMPLATE" seen true
- fi
- done
- # migrate special cases
- db_metaget xserver-xfree86/config/display/modes choices
- if [ "$RET" != "10 xserver-xfree86/config/display/modes doesn't exist" ]; then
- db_subst xserver-xorg/config/display/modes choices "$RET"
- else
- db_subst xserver-xorg/config/display/modes choices @DEFAULT_DCRESOLUTIONS@
- fi
- # migrate keyboard/rules
- db_get xserver-xorg/config/inputdevice/keyboard/rules
- if [ "$RET" = "xfree86" ]; then
- db_set xserver-xorg/config/inputdevice/keyboard/rules "xorg"
- fi
- db_set xserver-xorg/config/monitor/use_sync_ranges true
- set -e
- if [ -e "$XF86CONFIG" ] && [ ! -e "$XORGCONFIG" ]; then
- touch "$CONFIG_AUX_DIR/.migrateconfig"
- cp "$XF86CONFIG" "$XORGCONFIG"
- if [ -e "$XF86CONFIG_CHECKSUM" ] && [ ! -e "$XORGCONFIG_CHECKSUM" ]; then
- cat "$XF86CONFIG_CHECKSUM" | sed -e 's/XF86Config-4/xorg\.conf/' > "$XORGCONFIG_CHECKSUM"
- fi
- if [ -e "$XF86CONFIG_ROSTER" ] && [ ! -e "$XORGCONFIG_ROSTER" ]; then
- echo "$THIS_PACKAGE" > "$XORGCONFIG_ROSTER"
- fi
- fi
-fi
-
-# migrate from old select-type templates
-for TEMPLATE in xserver-xorg/config/inputdevice/mouse/emulate3buttons ; do
- db_get "$TEMPLATE" || continue
- if [ "$RET" = "Yes" ]; then
- db_set $TEMPLATE "true"
- elif [ "$RET" = "No" ]; then
- db_set $TEMPLATE "false"
- fi
-done
-
-# Delete obsolete templates
-for TEMPLATE in xserver-xorg/config/inputdevice/mouse/zaxismapping; do
- db_get "$TEMPLATE" || continue
- db_unregister "$TEMPLATE"
-done
-
-# migrate from "expert" to "advanced"
-db_get xserver-xorg/config/monitor/selection-method
-if [ "$RET" = "Expert" ]; then
- db_set xserver-xorg/config/monitor/selection-method "Advanced"
-fi
-
-# migrate from ATI driver sub-modules to ATI driver
-db_get xserver-xorg/config/device/driver
-case "$RET" in
- atimisc|r128|radeon)
- db_set xserver-xorg/config/device/driver "ati"
- ;;
- *)
- ;;
-esac
-
# The only supported protocol (per Zephaniah Hull) for the GPM repeater is
# IntelliMouse; migrate anyone using that mouse device to that protocol. Other
# values used to work as well, but no longer do since the XFree86 mouse driver
Reply to: