writerperfect (0.7.3-1) debian-dir only changes

Summary

 debian/changelog                  |   77 ++++++++++++++++++++++++++++++++++
 debian/compat                     |    1 
 debian/control                    |   13 +++++
 debian/copyright                  |   13 +++++
 debian/dirs                       |    2 
 debian/docs                       |    1 
 debian/patches/00list             |    1 
 debian/patches/01_string_h.dpatch |   47 +++++++++++++++++++++
 debian/rules                      |   84 ++++++++++++++++++++++++++++++++++++++
 9 files changed, 239 insertions(+)

    
download this patch

Patch contents

--- writerperfect-0.7.3.orig/debian/copyright
+++ writerperfect-0.7.3/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Rene Engelhard <rene@debian.org> on
+Mon, 31 May 2004 00:12:41 +0200.
+
+It was downloaded from http://libwpd.sf.net
+
+Copyright:
+
+Upstream Authors: William Lachance (w_lach@yahoo.ca)
+                  Marc Maurer (j.m.maurer@student.utwente.nl)
+                                                                                
+libwpd, wpd2sxw, and WriterPerfect are all licensed under the terms of the LGPL                                                                                 
+On Debian systems you can find the full text of the LGPL under
+/usr/share/common-licenses/LGPL.
--- writerperfect-0.7.3.orig/debian/docs
+++ writerperfect-0.7.3/debian/docs
@@ -0,0 +1 @@
+README
--- writerperfect-0.7.3.orig/debian/control
+++ writerperfect-0.7.3/debian/control
@@ -0,0 +1,13 @@
+Source: writerperfect
+Section: utils
+Priority: optional
+Maintainer: Rene Engelhard <rene@debian.org>
+Build-Depends: debhelper (>= 4.0.0), libwpd8-dev (>= 0.8.2-2), pkg-config, libglib2.0-dev, libgsf-1-dev (>= 1.13.2-1), libxml2-dev, zlib1g-dev, dpatch
+Standards-Version: 3.6.1
+
+Package: wpd2sxw
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: WordPerfect to OpenOffice.org converter
+ This package contains a utility for converting WordPerfect files
+ into OpenOffice.org/StarOffice writer documents.
--- writerperfect-0.7.3.orig/debian/patches/01_string_h.dpatch
+++ writerperfect-0.7.3/debian/patches/01_string_h.dpatch
@@ -0,0 +1,47 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_string_h.dpatch by  <rene@mini.rene-engelhard.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad writerperfect-0.7.2~/filter/TableStyle.cxx writerperfect-0.7.2/filter/TableStyle.cxx
+--- writerperfect-0.7.2~/filter/TableStyle.cxx	2007-09-10 16:13:52.000000000 +0200
++++ writerperfect-0.7.2/filter/TableStyle.cxx	2007-09-10 16:13:57.000000000 +0200
+@@ -30,6 +30,7 @@
+ #include "FilterInternal.hxx"
+ #include "TableStyle.hxx"
+ #include "DocumentElement.hxx"
++#include <string.h>
+ 
+ #ifdef _MSC_VER
+ #include <minmax.h>
+diff -urNad writerperfect-0.7.2~/filter/TextRunStyle.cxx writerperfect-0.7.2/filter/TextRunStyle.cxx
+--- writerperfect-0.7.2~/filter/TextRunStyle.cxx	2007-09-10 16:13:52.000000000 +0200
++++ writerperfect-0.7.2/filter/TextRunStyle.cxx	2007-09-10 16:13:57.000000000 +0200
+@@ -31,6 +31,7 @@
+ #include "TextRunStyle.hxx"
+ #include "WriterProperties.hxx"
+ #include "DocumentElement.hxx"
++#include <string.h>
+ 
+ #ifdef _MSC_VER
+ #include <minmax.h>
+diff -urNad writerperfect-0.7.2~/wpd2sxw/DiskDocumentHandler.cxx writerperfect-0.7.2/wpd2sxw/DiskDocumentHandler.cxx
+--- writerperfect-0.7.2~/wpd2sxw/DiskDocumentHandler.cxx	2007-09-10 16:13:52.000000000 +0200
++++ writerperfect-0.7.2/wpd2sxw/DiskDocumentHandler.cxx	2007-09-10 16:13:57.000000000 +0200
+@@ -1,4 +1,5 @@
+ #include "DiskDocumentHandler.hxx"
++#include <string.h>
+ 
+ DiskDocumentHandler::DiskDocumentHandler(GsfOutput *pOutput) :
+         mpOutput(pOutput),
+diff -urNad writerperfect-0.7.2~/wpd2sxw/StdOutHandler.cxx writerperfect-0.7.2/wpd2sxw/StdOutHandler.cxx
+--- writerperfect-0.7.2~/wpd2sxw/StdOutHandler.cxx	2007-05-08 17:29:26.000000000 +0200
++++ writerperfect-0.7.2/wpd2sxw/StdOutHandler.cxx	2007-09-10 16:14:10.000000000 +0200
+@@ -1,4 +1,5 @@
+ #include "StdOutHandler.hxx"
++#include <string.h>
+ 
+ StdOutHandler::StdOutHandler() :
+ 	mbIsTagOpened(false)
--- writerperfect-0.7.3.orig/debian/patches/00list
+++ writerperfect-0.7.3/debian/patches/00list
@@ -0,0 +1 @@
+01_string_h
--- writerperfect-0.7.3.orig/debian/compat
+++ writerperfect-0.7.3/debian/compat
@@ -0,0 +1 @@
+4
--- writerperfect-0.7.3.orig/debian/changelog
+++ writerperfect-0.7.3/debian/changelog
@@ -0,0 +1,77 @@
+writerperfect (0.7.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 03 Dec 2007 21:59:25 +0100
+
+writerperfect (0.7.2-2) unstable; urgency=low
+
+  * fix g++-4.3 build 
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 10 Sep 2007 16:04:29 +0200
+
+writerperfect (0.7.2-1) unstable; urgency=medium
+
+  * New upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 31 Aug 2007 18:07:17 +0200
+
+writerperfect (0.7.1-3) unstable; urgency=low
+
+  * build-dep on zlib1g-dev (closes: #379362)
+
+ -- Rene Engelhard <rene@debian.org>  Sun, 23 Jul 2006 17:50:13 +0200
+
+writerperfect (0.7.1-2) unstable; urgency=low
+
+  * rebbuild against new libgsf, increase builddeps accordingly 
+
+ -- Rene Engelhard <rene@debian.org>  Tue,  1 Nov 2005 20:55:42 +0100
+
+writerperfect (0.7.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 24 Oct 2005 17:38:59 +0200
+
+writerperfect (0.7.0-4) unstable; urgency=low
+
+  * C++ ABI transition:
+    - rebuild against libwpd8c2 / libwpd-stream8c2
+    - Build-Depend on libwpd8-dev (>= 0.8.2-2)
+
+ -- Rene Engelhard <rene@debian.org>  Wed,  6 Jul 2005 01:38:45 +0200
+
+writerperfect (0.7.0-3) unstable; urgency=low
+
+  * rebuild to not depend on experimentals libgcc1 (closes: #300700)
+    - source-upload because jennifer doesn't find the source for a
+      binary-(N)MU when the source still is in incoming -
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 21 Mar 2005 12:57:52 +0100
+
+writerperfect (0.7.0-2) unstable; urgency=low
+
+  * upload to unstable for libwpd 0.8.0.. 
+
+ -- Rene Engelhard <rene@debian.org>  Tue, 22 Feb 2005 11:32:55 +0100
+
+writerperfect (0.7.0-1) experimental; urgency=low
+
+  * new upstream release.
+  * new source package name...
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 10 Feb 2005 19:49:50 +0100
+
+wpd2sxw (0.6.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Sat, 31 Jul 2004 03:46:09 +0200
+
+wpd2sxw (0.6.0-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 31 May 2004 00:12:41 +0200
+
--- writerperfect-0.7.3.orig/debian/dirs
+++ writerperfect-0.7.3/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
--- writerperfect-0.7.3.orig/debian/rules
+++ writerperfect-0.7.3/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+include /usr/share/dpatch/dpatch.make
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: patch-stamp configure
+	dh_testdir
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	rm -f config.log
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/wpd2sxw
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGES
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	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