[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xorg: Changes to 'debian-unstable'



 debian/changelog              |   22 +++++++++++++++++++++-
 debian/local/dexconf          |    7 ++-----
 debian/xserver-xorg.templates |    1 -
 3 files changed, 23 insertions(+), 7 deletions(-)

New commits:
commit 05ac83fd64ccd4addddf493c787fbfa98306f123
Author: David Nusinow <dnusinow@debian.org>
Date:   Mon Jun 11 22:57:42 2007 -0400

    Slim down the modes we write out by default
    
    The /config/display/modes now has no default (blank). As a result of this,
    under normal conditions, this multi-select field will be empty.  The
    debconfage and dexconf will not fill in this section at all. The server
    will then choose the highest resolution that it can probe with DDC. This
    should work for most people, who are probably choosing their best
    resolution anyway. If xresprobe is available and used, the resolutions it
    finds will be selected. Until there is a good way for the server to store
    this information by itself, we should leave this as it is. Most people can
    get by without this section, but it'll help some of those with broken
    hardware.
    
    If the user does select a mode or modes for this question, dexconf no
    longer iterates through a set of depths and puts the mode list in for
    each. Instead, if dexconf does find a set of specified modes, it will
    write a single "Display" subsection for the screen, and it will contain
    the modes. This is functionally equivalent to what we were doing anyway,
    and it cuts down the number of lines in our xorg.conf considerably.
    
    Conflicts:
    
    	debian/changelog

diff --git a/debian/changelog b/debian/changelog
index 69bf215..8857ace 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,7 +29,27 @@ xorg (1:7.2-4) UNRELEASED; urgency=low
   * Debconf translations:
     - Vietnamese. Closes: #426978, #427180
 
- -- Brice Goglin <Brice.Goglin@ens-lyon.org>  Tue, 15 May 2007 18:41:22 +0200
+  [ David Nusinow ]
+  * Get rid of all the explicit modes by default. They just bloated the
+    default config for no reason.
+    + The /config/display/modes now has no default (blank). As a result of
+      this, under normal conditions, this multi-select field will be empty.
+      The debconfage and dexconf will not fill in this section at all. The
+      server will then choose the highest resolution that it can probe with
+      DDC. This should work for most people, who are probably choosing their
+      best resolution anyway. If xresprobe is available and used, the
+      resolutions it finds will be selected. Until there is a good way for the
+      server to store this information by itself, we should leave this as it
+      is. Most people can get by without this section, but it'll help some of
+      those with broken hardware.
+    + If the user does select a mode or modes for this question, dexconf no
+      longer iterates through a set of depths and puts the mode list in for
+      each. Instead, if dexconf does find a set of specified modes, it will
+      write a single "Display" subsection for the screen, and it will contain
+      the modes. This is functionally equivalent to what we were doing anyway,
+      and it cuts down the number of lines in our xorg.conf considerably.
+
+ -- David Nusinow <dnusinow@debian.org>  Mon, 11 Jun 2007 22:56:52 -0400
 
 xorg (1:7.2-3) unstable; urgency=low
 
diff --git a/debian/local/dexconf b/debian/local/dexconf
index 021d7b6..0d5b2d3 100644
--- a/debian/local/dexconf
+++ b/debian/local/dexconf
@@ -365,14 +365,11 @@ Section "Screen"
 	Monitor		"$MONITOR_IDENTIFIER"
 	DefaultDepth	$DISPLAY_DEFAULT_DEPTH
 SECTION
-for DEPTH in 1 4 8 15 16 24; do
-  printf "\tSubSection \"Display\"\n" >&4
-  printf "\t\tDepth\t\t$DEPTH\n" >&4
   if [ -n "$DISPLAY_MODES" ]; then
+	printf "\tSubSection \"Display\"\n" >&4
     printf "\t\tModes\t\t$DISPLAY_MODES\n" >&4
+    printf "\tEndSubSection\n" >&4
   fi
-  printf "\tEndSubSection\n" >&4
-done
 printf "EndSection\n" >&4
 
 ### SERVERLAYOUT
diff --git a/debian/xserver-xorg.templates b/debian/xserver-xorg.templates
index 4ddc528..03d6f55 100644
--- a/debian/xserver-xorg.templates
+++ b/debian/xserver-xorg.templates
@@ -9,7 +9,6 @@
 Template: xserver-xorg/config/display/modes
 Type: multiselect
 Choices: 1920x1440, 1920x1200, 1856x1392, 1792x1344, 1680x1050, 1600x1200, 1440x900, 1400x1050, 1280x1024, 1280x960, 1280x854, 1280x800, 1280x768, 1200x800, 1152x864, 1152x768, 1024x768, 800x600, 640x480
-Default: 1024x768, 800x600, 640x480
 _Description: Video modes to be used by the X server:
  Please keep only the resolutions you would like the X server to use.  Removing
  all of them is the same as removing none, since in both cases the



Reply to: