[xorg-commit-diffs] xc/programs/Xserver/hw/xfree86/etc Imakefile, 1.1.4.3, 1.1.4.4 dmmap.shar, 1.1.4.2, 1.1.4.3 gtf.c, 1.1.4.1, 1.1.4.2 gtf.man, 1.1.4.1, 1.1.4.2

Egbert Eich xorg-commit at pdx.freedesktop.org
Thu Apr 15 03:16:45 PDT 2004


Committed by: eich

Update of /cvs/xorg/xc/programs/Xserver/hw/xfree86/etc
In directory pdx:/home/eich/tstbuild/xc/programs/Xserver/hw/xfree86/etc

Modified Files:
      Tag: XORG-CURRENT
	Imakefile dmmap.shar gtf.c gtf.man 
Log Message:
2004-04-15  Egbert Eich  <eich at freedesktop.org>
        Merged changes from RELEASE-1 branch
	


Index: Imakefile
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/etc/Imakefile,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- a/Imakefile	5 Mar 2004 13:40:45 -0000	1.1.4.3
+++ b/Imakefile	15 Apr 2004 10:16:42 -0000	1.1.4.4
@@ -174,6 +174,7 @@
 
        SRCS9 = gtf.c
 
+DEFINES = ConfigDefines
 AllTarget(ProgramTargetName(gtf))
 
 NormalProgramTarget(gtf,gtf.o,NullParameter,MathLibrary,NullParameter)

Index: dmmap.shar
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/etc/dmmap.shar,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/dmmap.shar	5 Mar 2004 13:40:45 -0000	1.1.4.2
+++ b/dmmap.shar	15 Apr 2004 10:16:42 -0000	1.1.4.3
@@ -414,7 +414,7 @@
 else
 echo 'x - extracting dmmap-1.0/conf/install (Text)'
 sed 's/^X//' << 'SHAR_EOF' > 'dmmap-1.0/conf/install' &&
-: !/bin/sh
+!/bin/sh
 #
 # installation script for dmmap driver
 #

Index: gtf.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/etc/gtf.c,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/gtf.c	5 Mar 2004 13:40:45 -0000	1.1.4.1
+++ b/gtf.c	15 Apr 2004 10:16:42 -0000	1.1.4.2
@@ -1,3 +1,4 @@
+/* $XdotOrg$ */
 /* gtf.c  Generate mode timings using the GTF Timing Standard
  *
  * gcc gtf.c -o gtf -lm -Wall
@@ -63,7 +64,7 @@
  *
  * This program takes a desired resolution and vertical refresh rate,
  * and computes mode timings according to the GTF Timing Standard.
- * These mode timings can then be formatted as an XFree86 modeline
+ * These mode timings can then be formatted as an XServer modeline
  * or a mode description for use by fbset(8).
  *
  *
@@ -74,7 +75,7 @@
  * surrounding the addressable video); on most non-overscan type
  * systems, the margin period is zero.  I've implemented the margin
  * computations but not enabled it because 1) I don't really have
- * any experience with this, and 2) neither XFree86 modelines nor
+ * any experience with this, and 2) neither XServer modelines nor
  * fbset fb.modes provide an obvious way for margin timings to be
  * included in their mode descriptions (needs more investigation).
  * 
@@ -102,7 +103,7 @@
  * o Error checking.
  *
  */
-/* $XFree86: xc/programs/Xserver/hw/xfree86/etc/gtf.c,v 1.2 2002/11/15 17:01:53 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/etc/gtf.c,v 1.2 2002/11/15 17:01:53tsi Exp $ */
 
 
 #include <stdio.h>
@@ -145,7 +146,7 @@
 typedef struct __options
 {
     int x, y;
-    int xf86mode, fbmode;
+    int xorgmode, fbmode;
     float v_freq;
 } options;
 
@@ -180,7 +181,7 @@
 
 
 
-/* print_xf86_mode() - print the XFree86 modeline, given mode timings. */
+/* print_xf86_mode() - print the XServer modeline, given mode timings. */
 
 void print_xf86_mode (mode *m)
 {
@@ -282,7 +283,7 @@
  * feel like testing it right now.
  *
  * XXX margin computations are implemented but not tested (nor used by
- * XFree86 of fbset mode descriptions, from what I can tell).
+ * XServer of fbset mode descriptions, from what I can tell).
  */
 
 mode *vert_refresh (int h_pixels, int v_lines, float freq,
@@ -674,8 +675,9 @@
                    (strcmp (argv[n], "--fbmode") == 0)) {
             o->fbmode = 1;
         } else if ((strcmp (argv[n], "-x") == 0) ||
+		   (strcmp (argv[n], "--xorgmode") == 0) ||
                    (strcmp (argv[n], "--xf86mode") == 0)) {
-            o->xf86mode = 1;
+            o->xorgmode = 1;
         } else {
             goto bad_option;
         }
@@ -683,10 +685,10 @@
         n++;
     }
 
-    /* if neither xf86mode nor fbmode were requested, default to
-       xf86mode */
+    /* if neither xorgmode nor fbmode were requested, default to
+       xorgmode */
 
-    if (!o->fbmode && !o->xf86mode) o->xf86mode = 1;
+    if (!o->fbmode && !o->xorgmode) o->xorgmode = 1;
     
     return (o);
     
@@ -694,7 +696,7 @@
 
     fprintf (stderr, "\n");
     fprintf (stderr, "usage: %s x y refresh [-v|--verbose] "
-             "[-f|--fbmode] [-x|-xf86mode]\n", argv[0]);
+             "[-f|--fbmode] [-x|--xorgmode]\n", argv[0]);
 
     fprintf (stderr, "\n");
     
@@ -708,7 +710,7 @@
              "(traces each step of the computation)\n");
     fprintf (stderr, "  -f|--fbmode : output an fbset(8)-style mode "
              "description\n");
-    fprintf (stderr, " -x|-xf86mode : output an XFree86-style mode "
+    fprintf (stderr, " -x|--xorgmode : output an "__XSERVERNAME__"-style mode "
              "description (this is the default\n"
              "                if no mode description is requested)\n");
     
@@ -732,7 +734,7 @@
     m = vert_refresh (o->x, o->y, o->v_freq, 0, 0);
     if (!m) exit (1);
 
-    if (o->xf86mode)
+    if (o->xorgmode)
         print_xf86_mode(m);
     
     if (o->fbmode)

Index: gtf.man
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/etc/gtf.man,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- a/gtf.man	5 Mar 2004 13:40:45 -0000	1.1.4.1
+++ b/gtf.man	15 Apr 2004 10:16:42 -0000	1.1.4.2
@@ -1,4 +1,4 @@
-.\" $XFree86$ 
+.\" $XFree86$
 .TH GTF 1 __vendorversion__
 .SH NAME
 gtf - calculate VESA GTF mode lines
@@ -9,14 +9,14 @@
 .I refresh
 .RB [ \-v | \-\-verbose ]
 .RB [ \-f | \-\-fbmode ]
-.RB [ \-x | \-\-xf86mode ]
+.RB [ \-x | \-\-xorgmode ]
 .SH DESCRIPTION
 .I Gtf
 is a utility for calculating VESA GTF modes.  Given the desired
 horizontal and vertical resolutions and refresh rate (in Hz), the parameters
 for a matching VESA GTF mode are printed out.  Two output formats are
-supported: mode lines suitable for the XFree86
-.B XF86Config(__filemansuffix__)
+supported: mode lines suitable for the __xservername__
+.B __xconfigfile__(__filemansuffix__)
 file, and mode parameters suitable for the Linux
 .B fbset(8)
 utility.
@@ -27,15 +27,15 @@
 Enable verbose printouts  This shows a trace for each step of the
 computation.
 .TP 8
-.BR \-x | \-\-xf86mode
-Print the mode parameters as XFree86-style mode lines.  This is the
+.BR \-x | \-\-xorgmode
+Print the mode parameters as __xservername__-style mode lines.  This is the
 default format.
 .TP 8
 .BR \-f | \-\-fbset
 Print the mode parameters in a format suitable for
 .BR fbset(8) .
 .SH "SEE ALSO"
-XF86Config(__filemansuffix__)
+__xconfigfile__(__filemansuffix__)
 .SH AUTHOR
 Andy Ritger.
 .PP




More information about the xorg-commit-diffs mailing list