Ok, I changed my mind about where to install the demos.  This is the NMU
patch that I'm actually going to upload.

-- 
 Bezitos,
     Maggie.
diff -u xball-3.0/xball.c xball-3.0/xball.c
--- xball-3.0/xball.c
+++ xball-3.0/xball.c
@@ -72,7 +72,7 @@
         puts(" -perpetual               perpetual     Balls do not die if 
specified");
         puts(" -haltSim                 haltSim       Starts w/simulation 
halted if specified");
         puts(" -demoFile                demoFile      A demo file to run at 
startup");
-        puts(" -rgbTxt           /usr/lib/X11/rgb.txt Path to rgb file)");
+        puts(" -rgbTxt           /etc/X11/rgb.txt     Path to rgb file");
 
         exit(0);
     }
diff -u xball-3.0/xball.man xball-3.0/xball.man
--- xball-3.0/xball.man
+++ xball-3.0/xball.man
@@ -63,10 +63,10 @@
 .TP 3
 \fBXBall.rgbTxt\fR
 Specified the file to load for the colors.  The default file is
-/usr/lib/X11/app-defaults/rgb.txt
+/etc/X11/rgb.txt
 .SH FILES
 .TP
-/usr/lib/X11/rgb.txt X11 color names and values.
+/etc/X11/rgb.txt X11 color names and values.
 .sp
 .SH AUTHOR
 .PP
diff -u xball-3.0/debian/changelog xball-3.0/debian/changelog
--- xball-3.0/debian/changelog
+++ xball-3.0/debian/changelog
@@ -1,3 +1,11 @@
+xball (3.0-16.1) unstable; urgency=low
+
+  * NMU to fix RGB_TXT and all other references to point to /etc/X11/rgb.txt,
+    as it is in x11-common. (Closes: #377652).
+  * Added the demo files to the documentation. 
+
+ -- Margarita Manterola <[EMAIL PROTECTED]>  Thu, 13 Jul 2006 19:32:23 -0300
+
 xball (3.0-16) unstable; urgency=high
 
   * Update to add patch in "NMU" 3.0-15.1 (closes: #303337)
diff -u xball-3.0/debian/rules xball-3.0/debian/rules
--- xball-3.0/debian/rules
+++ xball-3.0/debian/rules
@@ -54,8 +54,8 @@
 binary-arch: build install
        dh_testdir
        dh_testroot
+       dh_install
        dh_installdocs
-       dh_installexamples
        dh_installmenu
        dh_installman xball.man
        dh_installchangelogs 
only in patch2:
unchanged:
--- xball-3.0.orig/item.c
+++ xball-3.0/item.c
@@ -31,7 +31,7 @@
 #define ITEM_WIDTH  10  /* The item's default size */
 #define ITEM_HEIGHT 10
 #ifndef RGB_TXT
-#define RGB_TXT     "/usr/lib/X11/rgb.txt"
+#define RGB_TXT     "/etc/X11/rgb.txt"
 #endif
 
 /* put_pixmap - Draws the item's pixmap to the specified location */
only in patch2:
unchanged:
--- xball-3.0.orig/debian/install
+++ xball-3.0/debian/install
@@ -0,0 +1 @@
+demo[0-9]* *.xbm run_demos /usr/share/xball/

Reply via email to