[SCM] deutex: composition tool for doom-style WAD files branch, master, updated. upstream/4.4.902-7-ge1d0130

Jon Dowland jmtd at debian.org
Fri Sep 3 15:36:38 UTC 2010


The following commit has been merged in the master branch:
commit e1d013017eebb38048fa382904b61edefc307b4c
Author: Jon Dowland <jmtd at debian.org>
Date:   Fri Sep 3 16:02:13 2010 +0100

    bump standards version

diff --git a/configure b/configure
index c8642cb..aef2088 100755
--- a/configure
+++ b/configure
@@ -466,7 +466,7 @@ echo "build directory is $BUILDDIR"
 #
 if expr "$PREFIX" : '//*usr/*$' >/dev/null
 then
-  BINDIR=/usr/bin		# FHS-ly correct is /usr/games
+  BINDIR=/usr/games
   ETCDIR=/etc/$APPNAME/%v
   ETCDIRNV=/etc/$APPNAME
   MANDIR=/usr/share/man
@@ -509,17 +509,17 @@ echo generating Makefile
   echo "# DO NOT EDIT -- generated by ./configure"
   echo
   echo "AWK               = $AWK"
-  echo "BINDIR            = $BINDIR"
+  echo "BINDIR            = \$(DESTDIR)/$BINDIR"
   echo "CC                = $CC"
   echo "CFLAGS            = $CFLAGS"
-  echo "ETCDIR            = $ETCDIR" | sed "s/%v/$VERSION/g"
-  echo "ETCDIRNV          = $ETCDIRNV"
+  echo "ETCDIR            = \$(DESTDIR)/$ETCDIR" | sed "s/%v/$VERSION/g"
+  echo "ETCDIRNV          = \$(DESTDIR)/$ETCDIRNV"
   echo "HAVE_INTTYPES     = $HAVE_INTTYPES"
   echo "HAVE_SNPRINTF     = $HAVE_SNPRINTF"
   echo "LDFLAGS           = $LDFLAGS"
-  echo "MANDIR            = $MANDIR"
-  echo "SHAREDIR          = $SHAREDIR" | sed "s/%v/$VERSION/g"
-  echo "SHAREDIRNV        = $SHAREDIRNV"
+  echo "MANDIR            = \$(DESTDIR)/$MANDIR"
+  echo "SHAREDIR          = \$(DESTDIR)/$SHAREDIR" | sed "s/%v/$VERSION/g"
+  echo "SHAREDIRNV        = \$(DESTDIR)/$SHAREDIRNV"
   echo
   cat Makefile.in
 ) >Makefile
diff --git a/debian/changelog b/debian/changelog
index 0822cdc..8efd806 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ deutex (4.4.902-12) unstable; urgency=low
 
   * Update control file to reflect new VCS location
   * add misc:Depends to quieten lintian
+  * bump standards version
 
- -- Jon Dowland <jmtd at debian.org>  Fri, 03 Sep 2010 16:00:46 +0100
+ -- Jon Dowland <jmtd at debian.org>  Fri, 03 Sep 2010 16:02:07 +0100
 
 deutex (4.4.902-11) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 9ad8249..172a9b7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Jon Dowland <jmtd at debian.org>
 Build-Depends: debhelper (>= 7.0.0), quilt
-Standards-Version: 3.8.2
+Standards-Version: 3.9.1
 Vcs-Git: git://git.debian.org/git/pkg-games/deutex.git
 Vcs-Browser: http://git.debian.org/?p=pkg-games/deutex.git
 Homepage: http://www.teaser.fr/~amajorel/deutex/
diff --git a/deutex.6 b/deutex.6
index 9818dd3..7f95b36 100644
--- a/deutex.6
+++ b/deutex.6
@@ -3,8 +3,8 @@
 .\" DeuTex incorporates code derived from DEU 5.21 that was put in the
 .\" public domain in 1994 by Raphaël Quinet and Brendon Wyber.
 .\" 
-.\" DeuTex is Copyright © 1994-1995 Olivier Montanuy,
-.\"           Copyright © 1999-2005 André Majorel.
+.\" DeuTex is Copyright \(co 1994-1995 Olivier Montanuy,
+.\"           Copyright \(co 1999-2005 Andr\o"\(aae" Majorel.
 .\" 
 .\" This program is free software; you can redistribute it and/or modify it
 .\" under the terms of the GNU General Public License as published by the
@@ -533,7 +533,7 @@ overridden by \fB\-main\fP, \fB\-doom\fP and friends.
 .SH BUGS
 See \fBTODO\fP.
 .SH LEGAL
-DeuTex is copyright © 1994-1995 Olivier Montanuy, copyright © 1999-2005 André
+DeuTex is copyright \(co 1994-1995 Olivier Montanuy, copyright \(co 1999-2005 Andr\o"\(aae"
 Majorel.
 .PP
 Most of this program is GPL'd but some of it is available under other licenses.
@@ -551,7 +551,7 @@ Allansson <c91peral=und+ida+liu+se>, James Bonfield
 <mark.mathews=channel1+com> and Chuck Rossi.
 The original manual was written by Kevin McGrail <hevkev=sfo+com>.
 .PP
-As of version 4 (1999), the maintainer is André Majorel
+As of version 4 (1999), the maintainer is Andr\o"\(aae" Majorel
 <URL:http://www.teaser.fr/~amajorel/>.
 .PP
 Questions and bug reports should be sent to the current maintainer, \fInot\fP
diff --git a/src/deutex.c b/src/deutex.c
index ddf6210..20d8a50 100644
--- a/src/deutex.c
+++ b/src/deutex.c
@@ -1118,6 +1118,17 @@ int main (int argc, char *argv_non_const[])
 	 }
        }
        if (! gotit)
+       {
+	 for (w = wads; *w != NULL; w++)
+	 {
+	   if (MakeFileName (MainWAD, "/usr/share/games/doom", "", "", *w, "wad") == TRUE)
+	   {
+	     gotit = 1;
+	     break;
+	   }
+	 }
+       }
+       if (! gotit)
 	  ProgError ("AA18",
 	      "Can't find any of doom.wad, doom2.wad, doompres.wad,"
 	      " heretic.wad, hexen.wad, strife1.wad");
diff --git a/src/log.c b/src/log.c
index 795c03a..bbf0fc8 100644
--- a/src/log.c
+++ b/src/log.c
@@ -40,10 +40,10 @@ int lopen (void)
 {
   if (logfp == &nolog)
     return 1;
-  if (logfp == NULL)
+  if (logfp == NULL || logfp == &nolog)
   {
     logfp = fopen (logfile, "w");
-    if (logfp == NULL)
+    if (logfp == NULL || logfp == &nolog)
     {
       /* Can't use Warning(), we would loop. */
       fflush (stdout);
@@ -65,7 +65,7 @@ int lopen (void)
  */
 void lputc (char c)
 {
-  if (logfp == NULL)
+  if (logfp == NULL || logfp == &nolog)
     return;
   fputc (c, logfp);
   fflush (logfp);  /* We don't want a segfault to truncate the log */
@@ -77,7 +77,7 @@ void lputc (char c)
  */
 void lputs (const char *str)
 {
-  if (logfp == NULL)
+  if (logfp == NULL || logfp == &nolog)
     return;
   fputs (str, logfp);
   fflush (logfp);  /* We don't want a segfault to truncate the log */
@@ -91,7 +91,7 @@ void lprintf (const char *fmt, ...)
 {
   va_list list;
 
-  if (logfp == NULL)
+  if (logfp == NULL || logfp == &nolog)
     return;
   va_start (list, fmt);
   vlprintf (fmt, list);
@@ -104,7 +104,7 @@ void lprintf (const char *fmt, ...)
  */
 void vlprintf (const char *fmt, va_list list)
 {
-  if (logfp == NULL)
+  if (logfp == NULL || logfp == &nolog)
     return;
   vfprintf (logfp, fmt, list);
   fflush (logfp);  /* We don't want a segfault to truncate the log */

-- 
deutex: composition tool for doom-style WAD files



More information about the Pkg-games-commits mailing list