r6884 - in packages/trunk/libphysfs/debian: . patches

Barry deFreese bddebian-guest at alioth.debian.org
Wed May 7 05:06:58 UTC 2008


Author: bddebian-guest
Date: 2008-05-07 05:06:58 +0000 (Wed, 07 May 2008)
New Revision: 6884

Added:
   packages/trunk/libphysfs/debian/patches/
   packages/trunk/libphysfs/debian/patches/01_manpages.diff
   packages/trunk/libphysfs/debian/patches/series
Modified:
   packages/trunk/libphysfs/debian/changelog
   packages/trunk/libphysfs/debian/control
   packages/trunk/libphysfs/debian/rules
Log:
  * Add quilt patching system.
    + 01_manpages.diff - Fix generated manpages.


Modified: packages/trunk/libphysfs/debian/changelog
===================================================================
--- packages/trunk/libphysfs/debian/changelog	2008-05-07 04:45:49 UTC (rev 6883)
+++ packages/trunk/libphysfs/debian/changelog	2008-05-07 05:06:58 UTC (rev 6884)
@@ -11,6 +11,8 @@
   * Make clean not ignore errors.
   * Remove un-needed dirs files.
   * Remove unnecessary build-dep on automake1.7.
+  * Add quilt patching system.
+    + 01_manpages.diff - Fix generated manpages.
   * Bump debhelper build-dep and compat to 5.
   * Bump Standards Version to 3.7.3. (No changes needed).
 

Modified: packages/trunk/libphysfs/debian/control
===================================================================
--- packages/trunk/libphysfs/debian/control	2008-05-07 04:45:49 UTC (rev 6883)
+++ packages/trunk/libphysfs/debian/control	2008-05-07 05:06:58 UTC (rev 6884)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Barry deFreese <bddebian at comcast.net>
-Build-Depends: debhelper (>= 5.0.0), doxygen, autotools-dev, zlib1g-dev (>= 1:1.2.2-7)
+Build-Depends: debhelper (>= 5.0.0), quilt, doxygen, autotools-dev, zlib1g-dev (>= 1:1.2.2-7)
 Standards-Version: 3.7.3
 Homepage: http://www.icculus.org/physfs/
 

Added: packages/trunk/libphysfs/debian/patches/01_manpages.diff
===================================================================
--- packages/trunk/libphysfs/debian/patches/01_manpages.diff	                        (rev 0)
+++ packages/trunk/libphysfs/debian/patches/01_manpages.diff	2008-05-07 05:06:58 UTC (rev 6884)
@@ -0,0 +1,77 @@
+Index: physfs-1.0.1/physfs.h
+===================================================================
+--- physfs-1.0.1.orig/physfs.h	2008-05-06 22:33:26.000000000 -0400
++++ physfs-1.0.1/physfs.h	2008-05-06 23:00:58.000000000 -0400
+@@ -1,4 +1,6 @@
+-/** \file physfs.h */
++/** \file physfs.h
++ * main header file for physfs
++ */
+ 
+ /**
+  * \mainpage PhysicsFS
+@@ -889,7 +891,7 @@
+  * PHYSFS_freeList(rc);
+  * \endcode
+  *
+- *  ...will print:
++ *  \...will print:
+  *
+  * \verbatim
+  * We've got [x.sav].
+@@ -977,10 +979,10 @@
+  *  (Jan 1, 1970). The exact derivation and accuracy of this time depends on
+  *  the particular archiver. If there is no reasonable way to obtain this
+  *  information for a particular archiver, or there was some sort of error,
+- *  this function returns (-1).
++ *  this function returns (\-1).
+  *
+  *   \param filename filename to check, in platform-independent notation.
+- *  \return last modified time of the file. -1 if it can't be determined.
++ *  \return last modified time of the file. \-1 if it can't be determined.
+  */
+ __EXPORT__ PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename);
+ 
+@@ -1096,7 +1098,7 @@
+  *   \param objCount number of (objSize) objects to read from (handle).
+  *  \return number of objects read. PHYSFS_getLastError() can shed light on
+  *           the reason this might be < (objCount), as can PHYSFS_eof().
+- *            -1 if complete failure.
++ *            \-1 if complete failure.
+  *
+  * \sa PHYSFS_eof
+  */
+@@ -1116,7 +1118,7 @@
+  *   \param objSize size in bytes of objects being read from (handle).
+  *   \param objCount number of (objSize) objects to read from (handle).
+  *  \return number of objects written. PHYSFS_getLastError() can shed light on
+- *           the reason this might be < (objCount). -1 if complete failure.
++ *           the reason this might be < (objCount). \-1 if complete failure.
+  */
+ __EXPORT__ PHYSFS_sint64 PHYSFS_write(PHYSFS_file *handle,
+                                       const void *buffer,
+@@ -1146,7 +1148,7 @@
+  * \brief Determine current position within a PhysicsFS filehandle.
+  *
+  *   \param handle handle returned from PHYSFS_open*().
+- *  \return offset in bytes from start of file. -1 if error occurred.
++ *  \return offset in bytes from start of file. \-1 if error occurred.
+  *           Specifics of the error can be gleaned from PHYSFS_getLastError().
+  *
+  * \sa PHYSFS_seek
+@@ -1176,13 +1178,13 @@
+  * \brief Get total length of a file in bytes.
+  *
+  * Note that if the file size can't be determined (since the archive is
+- *  "streamed" or whatnot) than this will report (-1). Also note that if
++ *  "streamed" or whatnot) than this will report (\-1). Also note that if
+  *  another process/thread is writing to this file at the same time, then
+  *  the information this function supplies could be incorrect before you
+  *  get it. Use with caution, or better yet, don't use at all.
+  *
+  *   \param handle handle returned from PHYSFS_open*().
+- *  \return size in bytes of the file. -1 if can't be determined.
++ *  \return size in bytes of the file. \-1 if can't be determined.
+  *
+  * \sa PHYSFS_tell
+  * \sa PHYSFS_seek

Added: packages/trunk/libphysfs/debian/patches/series
===================================================================
--- packages/trunk/libphysfs/debian/patches/series	                        (rev 0)
+++ packages/trunk/libphysfs/debian/patches/series	2008-05-07 05:06:58 UTC (rev 6884)
@@ -0,0 +1 @@
+01_manpages.diff

Modified: packages/trunk/libphysfs/debian/rules
===================================================================
--- packages/trunk/libphysfs/debian/rules	2008-05-07 04:45:49 UTC (rev 6883)
+++ packages/trunk/libphysfs/debian/rules	2008-05-07 05:06:58 UTC (rev 6884)
@@ -9,6 +9,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+include /usr/share/quilt/quilt.make
 
 CFLAGS = -Wall -g
 
@@ -21,7 +22,7 @@
 	INSTALL_PROGRAM += -s
 endif
 
-config.status: configure
+config.status: patch configure
 	dh_testdir
 
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -47,7 +48,7 @@
 	
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 




More information about the Pkg-games-commits mailing list