--- deutex-4.4.902.orig/debian/control +++ deutex-4.4.902/debian/control @@ -0,0 +1,25 @@ +Source: deutex +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Jon Dowland +Build-Depends: debhelper (>= 7.0.0), quilt +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/ + +Package: deutex +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: doom-engine +Provides: doom-wad-editor +Recommends: boom-wad | doom-wad +Description: composition tool for doom-style WAD files + DEU's Texture Companion (DeuTex) is a resource editor that + can extract and insert graphics, sounds, levels and other + resources in doom-format WAD (where's all the data?) files. + . + DeuTex is command-line oriented and is most useful for + assembling WAD files as part of a build procedure, such as + via Makefile. --- deutex-4.4.902.orig/debian/menu +++ deutex-4.4.902/debian/menu @@ -0,0 +1,11 @@ +?package(deutex):needs="text" \ + section="Games/Tools" \ + title="deutex" \ + hints="Doom" \ + command="/usr/games/deutex" + +?package(deutex):needs="text" \ + section="Games/Tools" \ + title="deusf" \ + hints="Doom" \ + command="/usr/games/deusf" --- deutex-4.4.902.orig/debian/watch +++ deutex-4.4.902/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://www.teaser.fr/~amajorel/deutex/ deutex-(.*)\.tar\.gz + --- deutex-4.4.902.orig/debian/changelog +++ deutex-4.4.902/debian/changelog @@ -0,0 +1,145 @@ +deutex (4.4.902-14) unstable; urgency=low + + * Recognise freedoom.wad as an IWAD. Thanks Fabian Greffrath. + Closes: #691152. + + -- Jon Dowland Mon, 22 Oct 2012 16:09:33 +0100 + +deutex (4.4.902-13) unstable; urgency=low + + * Recommend either boom-wad or doom-wad, since the latter is + not satisfyable in main. Closes: #682132. + + -- Jon Dowland Fri, 20 Jul 2012 17:08:20 +0100 + +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 + * add a README.source + + -- Jon Dowland Fri, 03 Sep 2010 16:03:44 +0100 + +deutex (4.4.902-11) unstable; urgency=low + + [ Cyril Brulebois ] + * Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file. + + [ Barry deFreese ] + * Bump debhelper build-dep to match compat + * Make clean not ignore errors + * Remove XS- from VCS fields + * Upgrade watch file to version 3 + + [ Ansgar Burchardt ] + * debian/control: Add Homepage field + + [ Jon Dowland ] + * change menu area to Games/Tools. + * use quilt for patch management. + * bump standards version to 3.8.2. + * add a lintian-check passing copyright line to debian/copyright + * Update my e-mail address in Uploaders: + * debhelper up to 7. + + -- Jon Dowland Thu, 09 Jul 2009 18:53:06 +0100 + +deutex (4.4.902-10) unstable; urgency=low + + * update standards version to 3.7.2 + * change Maintainer to Debian Games Team + * remove dh_link + * add doom-wad to Recommends: (most features require an IWAD) + * fix path to deutex in menu entry (thanks ads) + * add dh_installmenu + * remove redundant dh_installman + + -- Jon Dowland Tue, 12 Sep 2006 23:51:24 +0100 + +deutex (4.4.902-9) unstable; urgency=low + + * remove stray files (tags,op,op2,gcc4-) + * don't bother fixing ./docsrc/deutex.6 (since we don't use it) + * check for not-logging before writing to the log FP to avoid + segfaults when CWD is a read-only filesystem: see + + + -- Jon Dowland Thu, 6 Apr 2006 16:55:26 +0100 + +deutex (4.4.902-8) unstable; urgency=low + + * do not invoke dh_installexamples + * updated policy + * install the FAQ + + -- Jon Dowland Tue, 14 Mar 2006 22:14:25 +0000 + +deutex (4.4.902-7) unstable; urgency=low + + * look for the IWADs in /usr/share/games/doom in addition to $CWD + * updated maintainer field + + -- Jon Dowland Sun, 5 Mar 2006 16:45:31 +0000 + +deutex (4.4.902-6) unstable; urgency=low + + * add support DEB_BUILD_OPTIONS containing "debug" + + -- Jon Dowland Sat, 12 Nov 2005 17:01:31 +0000 + +deutex (4.4.902-5) unstable; urgency=low + + * add /usr/games to dirs + + -- Jon Dowland Sun, 16 Oct 2005 13:15:37 +0100 + +deutex (4.4.902-4) unstable; urgency=low + + * remove unixtmp1 stuff that got stranded from a build + * yet more (c) -> \(co substitution in manpage + + -- Jon Dowland Sat, 15 Oct 2005 18:00:41 +0100 + +deutex (4.4.902-3) unstable; urgency=low + + * add the lzw.c licence notes + * remove groff-ism in the manpages + + -- Jon Dowland Wed, 12 Oct 2005 18:36:15 +0100 + +deutex (4.4.902-2) unstable; urgency=low + + * put binaries in /usr/games + * change acute-accent in upstream maintainer's name for roff + * clarify copyright holders + * remove misc:depends from control (not used) + + -- Jon Dowland Sun, 9 Oct 2005 22:04:52 +0100 + +deutex (4.4.902-1) unstable; urgency=low + + * New upstream release + + -- Jon Dowland Mon, 26 Sep 2005 22:34:12 +0100 + +deutex (4.4.0-3) unstable; urgency=low + + * Remove some dpatch relics + * Clean-up rules file + * Fulfilling ITP. Closes: #322473. + + -- Jon Dowland Thu, 1 Sep 2005 23:40:35 +0100 + +deutex (4.4.0-2) unstable; urgency=low + + * prepared package for upload. Closes: #322473. + + -- Jon Dowland Wed, 17 Aug 2005 22:48:01 +0100 + +deutex (4.4.0-1) unstable; urgency=low + + * Initial Release. + + -- Jon Dowland Wed, 10 Aug 2005 21:09:59 +0100 + --- deutex-4.4.902.orig/debian/dirs +++ deutex-4.4.902/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/man +usr/share/man/man6 --- deutex-4.4.902.orig/debian/rules +++ deutex-4.4.902/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# -*- makefile -*- +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + $(MAKE) -f /usr/share/quilt/quilt.make patch + ./configure --prefix=/usr --cflags="$(CFLAGS)" + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + -rm Makefile src/config.h + + $(MAKE) -f /usr/share/quilt/quilt.make unpatch + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=./debian/deutex + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs FAQ + dh_installmenu + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- deutex-4.4.902.orig/debian/compat +++ deutex-4.4.902/debian/compat @@ -0,0 +1 @@ +7 --- deutex-4.4.902.orig/debian/README.source +++ deutex-4.4.902/debian/README.source @@ -0,0 +1,2 @@ +See /usr/share/doc/quilt/README.source for an explanation of how +this package manages patches. --- deutex-4.4.902.orig/debian/docs +++ deutex-4.4.902/debian/docs @@ -0,0 +1,3 @@ +dtexman6.txt +README +TODO --- deutex-4.4.902.orig/debian/copyright +++ deutex-4.4.902/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Jon Dowland on +Wed, 10 Aug 2005 21:09:59 +0100. + +It was downloaded from + +Copyright Holders: + Jef Poskanzer (1989) + David Koblas (1993) + Olivier Montanuy (1994-1995) + David Kaplan (1995) + André Majorel (1999-2005) + +Current maintainer © 2009 André Majorel + +License: + +This package is distributed under the terms of version 2 of the GNU general +public licence (GPL), with the additions listed below. On Debian systems the +GNU General Public License (GPL) version 2 is located on the filesystem at +/usr/share/common-licenses/GPL-2. + +The file lzw.c was derived from ppmtogif.c and giftoppm.c from netpbm and has +the following notes: + +> Permission to use, copy, modify, and to distribute this software and its +> documentation for any purpose is hereby granted without fee, provided that +> the above copyright notice appear in all copies and that both that copyright +> notice and this permission notice appear in supporting documentation. There +> is no representations about the suitability of this software for any +> purpose. this software is provided "as is" without express or implied +> warranty. --- deutex-4.4.902.orig/debian/patches/series +++ deutex-4.4.902/debian/patches/series @@ -0,0 +1,5 @@ +destdir_hack.patch +iwad_search_path.patch +logging_segv.patch +manpage_charset.patch +freedoom.patch --- deutex-4.4.902.orig/debian/patches/logging_segv.patch +++ deutex-4.4.902/debian/patches/logging_segv.patch @@ -0,0 +1,53 @@ +Fix a segfault when we aren't logging + +--- deutex-4.4.902.orig/src/log.c ++++ deutex-4.4.902/src/log.c +@@ -40,10 +40,10 @@ + { + 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 @@ + */ + 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 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 @@ + { + va_list list; + +- if (logfp == NULL) ++ if (logfp == NULL || logfp == &nolog) + return; + va_start (list, fmt); + vlprintf (fmt, list); +@@ -104,7 +104,7 @@ + */ + 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-4.4.902.orig/debian/patches/iwad_search_path.patch +++ deutex-4.4.902/debian/patches/iwad_search_path.patch @@ -0,0 +1,22 @@ +Look in /usr/share/games/doom for IWADs + +--- deutex-4.4.902.orig/src/deutex.c ++++ deutex-4.4.902/src/deutex.c +@@ -1118,6 +1118,17 @@ + } + } + 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"); --- deutex-4.4.902.orig/debian/patches/manpage_charset.patch +++ deutex-4.4.902/debian/patches/manpage_charset.patch @@ -0,0 +1,33 @@ +Fix charset issues in manpages + +--- deutex-4.4.902.orig/deutex.6 ++++ deutex-4.4.902/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 @@ + .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 @@ + and Chuck Rossi. + The original manual was written by Kevin McGrail . + .PP +-As of version 4 (1999), the maintainer is André Majorel ++As of version 4 (1999), the maintainer is Andr\o"\(aae" Majorel + . + .PP + Questions and bug reports should be sent to the current maintainer, \fInot\fP --- deutex-4.4.902.orig/debian/patches/freedoom.patch +++ deutex-4.4.902/debian/patches/freedoom.patch @@ -0,0 +1,10 @@ +--- a/src/deutex.c ++++ b/src/deutex.c +@@ -1087,6 +1087,7 @@ int main (int argc, char *argv_non_const + "doom2", /* Doom II */ + "plutonia", /* Final Doom */ + "tnt", /* Final Doom */ ++ "freedoom", /* Freedoom */ + "heretic", /* Heretic */ + "hexen", /* Hexen */ + "strife1", /* Strife */ --- deutex-4.4.902.orig/debian/patches/destdir_hack.patch +++ deutex-4.4.902/debian/patches/destdir_hack.patch @@ -0,0 +1,37 @@ +install to /usr/games + DESTDIR hack + +--- deutex-4.4.902.orig/configure ++++ deutex-4.4.902/configure +@@ -466,7 +466,7 @@ + # + 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 "# 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