Author: fabbione
Date: 2004-10-18 00:44:59 -0500 (Mon, 18 Oct 2004)
New Revision: 48

Modified:
   xorg/trunk/debian/CHANGESETS
   xorg/trunk/debian/control
   xorg/trunk/debian/scripts/split-source
Log:
* Split xc/include into subpackages as proposed on debian-x mailing list:
  + Update debian/control to reflect the new packages.
  + Modify debian/scripts/split-source to handle the top level include files
    properly.



Modified: xorg/trunk/debian/CHANGESETS
===================================================================
--- xorg/trunk/debian/CHANGESETS        2004-10-17 08:19:45 UTC (rev 47)
+++ xorg/trunk/debian/CHANGESETS        2004-10-18 05:44:59 UTC (rev 48)
@@ -59,4 +59,10 @@
   + Add The Bitstream Type 1 fonts license.
     43
 
+* Split xc/include into subpackages as proposed on debian-x mailing list:
+  + Update debian/control to reflect the new packages.
+  + Modify debian/scripts/split-source to handle the top level include files
+    properly.
+    48
+
 vim:set ai et sts=4 sw=4 tw=80:

Modified: xorg/trunk/debian/control
===================================================================
--- xorg/trunk/debian/control   2004-10-17 08:19:45 UTC (rev 47)
+++ xorg/trunk/debian/control   2004-10-18 05:44:59 UTC (rev 48)
@@ -36,6 +36,31 @@
 Description: bar
  foo
 
+Package: xorg-source-include-dps
+Architecture: all
+Description: bar
+ foo
+
+Package: xorg-source-include-bitmaps
+Architecture: all
+Description: bar
+ foo
+
+Package: xorg-source-include-extensions
+Architecture: all
+Description: bar
+ foo
+
+Package: xorg-source-include-fonts
+Architecture: all
+Description: bar
+ foo
+
+Package: xorg-source-include-gl
+Architecture: all
+Description: bar
+ foo
+
 Package: xorg-source-lib-fs
 Architecture: all
 Description: bar

Modified: xorg/trunk/debian/scripts/split-source
===================================================================
--- xorg/trunk/debian/scripts/split-source      2004-10-17 08:19:45 UTC (rev 47)
+++ xorg/trunk/debian/scripts/split-source      2004-10-18 05:44:59 UTC (rev 48)
@@ -30,13 +30,13 @@
 # onefilelist variable contains the list of subdirectories that will be packed 
 # exactly as they are. Example: xc/doc -> xorg-source-doc.tar.gz
 
-onefilelist="doc fonts include nls util extras"
+onefilelist="doc fonts nls util extras"
 
 # multifilelist variable contains the list of subdirectories that will be 
packed
 # scanned for the relative subdirectories. 
 # Example: xc/programs/Xserver -> xorg-source-programs-Xserver.tar.gz
 
-multifilelist="lib programs"
+multifilelist="lib programs include"
 
 # expand the list and add paths to the single entries.
 
@@ -67,6 +67,13 @@
   fi
 done
 
+# handle special "include" case to include top level files.
+
+extrafiles="$(ls -lad $src/include/* | grep -v ^d | awk '{print $NF}')"
+echo -n "Creating xorg-source-include.tar.gz: "
+tar zclp -f $dst/xorg-source-include.tar.gz $extrafiles
+echo "done."
+
 # handle special "config" case to include top level files and Imakefiles
 # for $multifilelist
 

Reply via email to