remove non-autotools-related changes from xprop autofoo.patch
authorPhil Blundell <philb@gnu.org>
Sat, 13 Nov 2004 16:53:03 +0000 (16:53 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 13 Nov 2004 16:53:03 +0000 (16:53 +0000)
BKrev: 41963befSoDdSngL_ZWFVbzpRErTlg

xprop/xprop/autofoo.patch

index b09ba94..18070e2 100644 (file)
@@ -1,25 +1,3 @@
-diff -urN xprop.orig/Imakefile xprop/Imakefile
---- xprop.orig/Imakefile       2004-04-23 21:55:03.000000000 +0200
-+++ xprop/Imakefile    1970-01-01 01:00:00.000000000 +0100
-@@ -1,18 +0,0 @@
--XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:55 cpqbld Exp $
--
--
--
--
--XCOMM $XFree86: xc/programs/xprop/Imakefile,v 1.5tsi Exp $
--
--        DEPLIBS = $(DEPXMUULIB) $(DEPXONLYLIB)
--LOCAL_LIBRARIES = $(XMUULIB) $(XONLYLIB)
--           SRCS = xprop.c dsimple.c
--           OBJS = xprop.o dsimple.o
--
--        DEFINES = XawI18nDefines
--
--LinkSourceFile(dsimple.c,../xlsfonts)
--LinkSourceFile(dsimple.h,../xlsfonts)
--
--ComplexProgramTarget(xprop)
 diff -urN xprop.orig/Makefile.am xprop/Makefile.am
 --- xprop.orig/Makefile.am     1970-01-01 01:00:00.000000000 +0100
 +++ xprop/Makefile.am  2004-08-15 18:49:43.000000000 +0200
@@ -177,95 +155,3 @@ diff -urN xprop.orig/xprop.c xprop/xprop.c
  #include <X11/Xlib.h>
  #include <X11/Xos.h>
  #include <X11/Xfuncs.h>
-@@ -1279,6 +1283,45 @@
-       }
- }
-+/*
-+ * 
-+ * Routines for parsing command line:
-+ *
-+ */
-+
-+void
-+usage (void)
-+{
-+    char **cpp;
-+    static char *help_message[] = {
-+"where options include:",
-+"    -grammar                       print out full grammar for command line",
-+"    -display host:dpy              the X server to contact",
-+"    -id id                         resource id of window to examine",
-+"    -name name                     name of window to examine",
-+"    -font name                     name of font to examine",
-+"    -remove propname               remove a property",
-+"    -set propname value            set a property to a given value",
-+"    -root                          examine the root window",
-+"    -len n                         display at most n bytes of any property",
-+"    -notype                        do not display the type field",
-+"    -fs filename                   where to look for formats for properties",
-+"    -frame                         don't ignore window manager frames",
-+"    -f propname format [dformat]   formats to use for property of given name",
-+"    -spy                           examine window properties forever",
-+NULL};
-+
-+    fflush (stdout);
-+    fprintf (stderr,
-+           "usage:  %s [-options ...] [[format [dformat]] atom] ...\n\n", 
-+           program_name);
-+    for (cpp = help_message; *cpp; cpp++) {
-+      fprintf (stderr, "%s\n", *cpp);
-+    }
-+    fprintf (stderr, "\n");
-+    exit (1);
-+}
-+
- static thunk *
- Handle_Prop_Requests (int argc, char **argv)
- {
-@@ -1502,45 +1545,6 @@
-                   data, nelements);
- }
--/*
-- * 
-- * Routines for parsing command line:
-- *
-- */
--
--void
--usage (void)
--{
--    char **cpp;
--    static char *help_message[] = {
--"where options include:",
--"    -grammar                       print out full grammar for command line",
--"    -display host:dpy              the X server to contact",
--"    -id id                         resource id of window to examine",
--"    -name name                     name of window to examine",
--"    -font name                     name of font to examine",
--"    -remove propname               remove a property",
--"    -set propname value            set a property to a given value",
--"    -root                          examine the root window",
--"    -len n                         display at most n bytes of any property",
--"    -notype                        do not display the type field",
--"    -fs filename                   where to look for formats for properties",
--"    -frame                         don't ignore window manager frames",
--"    -f propname format [dformat]   formats to use for property of given name",
--"    -spy                           examine window properties forever",
--NULL};
--
--    fflush (stdout);
--    fprintf (stderr,
--           "usage:  %s [-options ...] [[format [dformat]] atom] ...\n\n", 
--           program_name);
--    for (cpp = help_message; *cpp; cpp++) {
--      fprintf (stderr, "%s\n", *cpp);
--    }
--    fprintf (stderr, "\n");
--    exit (1);
--}
--
- static void
- grammar (void)
- {