webxml (1.12-3) debian-dir only changes

Summary

 debian/changelog                          |   33 ++++++++
 debian/compat                             |    1 
 debian/control                            |   22 +++++
 debian/copyright                          |   37 +++++++++
 debian/dirs                               |    1 
 debian/examples                           |    1 
 debian/manpages                           |    1 
 debian/menu                               |    2 
 debian/patches/00-missing-eol.patch       |    9 ++
 debian/patches/01-encoding-bug.patch      |   20 ++++
 debian/patches/02-welcome-files-bug.patch |   10 ++
 debian/patches/03-open-file-bug.patch     |   11 ++
 debian/rules                              |   29 +++++++
 debian/watch                              |    3 
 debian/webxml.sgml                        |  123 ++++++++++++++++++++++++++++++
 15 files changed, 303 insertions(+)

    
download this patch

Patch contents

--- webxml-1.12.orig/debian/manpages
+++ webxml-1.12/debian/manpages
@@ -0,0 +1 @@
+debian/webxml.1
--- webxml-1.12.orig/debian/dirs
+++ webxml-1.12/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- webxml-1.12.orig/debian/rules
+++ webxml-1.12/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_MAKE_CLEAN_TARGET    := distclean
+DEB_MAKE_BUILD_TARGET    := all
+DEB_MAKE_INSTALL_TARGET  :=
+DEB_MAKE_CHECK_TARGET    :=
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS := -g -Wall -O0 -pipe -DQT_NO_DEBUG -DQT_SHARED
+	CXXFLAGS := -g -Wall -O0 -pipe -DQT_NO_DEBUG -DQT_SHARED
+else
+	CFLAGS := -g -Wall -O2 -pipe -DQT_NO_DEBUG -DQT_SHARED
+	CXXFLAGS := -g -Wall -O2 -pipe -DQT_NO_DEBUG -DQT_SHARED
+endif
+
+configure/webxml::
+	qmake -o Makefile webxml.pro
+	docbook-to-man debian/webxml.sgml > debian/webxml.1
+
+install/webxml::
+	install -m 755 webxml $(CURDIR)/debian/webxml/usr/bin/
+
+clean::
+	rm -rf debian/webxml.1 Makefile
+	rm -rf .moc .ui .obj
--- webxml-1.12.orig/debian/compat
+++ webxml-1.12/debian/compat
@@ -0,0 +1 @@
+4
--- webxml-1.12.orig/debian/examples
+++ webxml-1.12/debian/examples
@@ -0,0 +1 @@
+web.xml
--- webxml-1.12.orig/debian/changelog
+++ webxml-1.12/debian/changelog
@@ -0,0 +1,33 @@
+webxml (1.12-3) unstable; urgency=low
+
+  * Minor description improvements.
+  * debian/control: Removed DMUA flag. Updated email address.
+
+ -- Martín Ferrari <tincho@debian.org>  Wed, 11 Jun 2008 23:01:38 -0300
+
+webxml (1.12-2) unstable; urgency=low
+
+  * debian/watch: Added watch file.
+  * debian/control:
+    + Added Homepage.
+    + Bumped Standards-Version to 3.7.3. (Menu change)
+    + Added the DM enabling flag and Vcs-Browser field.
+  * debian/copyright: new machine-parseable format.
+  * debian/menu: Changed to Applications/Web Development.
+
+ -- Martín Ferrari <martin.ferrari@gmail.com>  Wed, 30 Jan 2008 06:26:48 -0200
+
+webxml (1.12-1) unstable; urgency=low
+
+  * Initial release. (Closes: #329033: ITP: webxml -- Simple form-based
+    generator/editor of Tomcat's web.xml files - Debian Bug report logs)
+  * Fixed some outstanding upstream bugs:
+    - The "welcome file list" duplicated its entries each time "OK" was
+    pressed.
+    - When opening a file, having already one opened, the lists where
+    concatenated with the old file ones.
+    - The encoding for the XML file was hardcoded as ISO-8859-1, but it would
+    spit out UTF-8 data.
+
+ -- Martin Ferrari <martin.ferrari@gmail.com>  Sun, 18 Sep 2005 20:58:38 -0300
+
--- webxml-1.12.orig/debian/watch
+++ webxml-1.12/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/webxml/webxml_(.*)\.(?:tar\.gz|tar|tgz)
--- webxml-1.12.orig/debian/webxml.sgml
+++ webxml-1.12/debian/webxml.sgml
@@ -0,0 +1,123 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Mart&iacute;n</firstname>">
+  <!ENTITY dhsurname   "<surname>Ferrari</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>September  1, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>martin.ferrari@gmail.com</email>">
+  <!ENTITY dhusername  "Mart&iacute;n Ferrari">
+  <!ENTITY dhucpackage "<refentrytitle>WEBXML</refentrytitle>">
+  <!ENTITY dhpackage   "webxml">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>Simple form-based generator/editor of Tomcat's web.xml files</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      </para>
+
+    <para><command>&dhpackage;</command> is a simple form-based
+    generator/editor of Tomcat's web.xml files.</para>
+
+    <para>It supports the following tags: &lt;servlet&gt;,
+    &lt;servlet-name&gt;, &lt;display-name&gt;, &lt;description&gt;,
+    &lt;servlet-class&gt;, &lt;init-param&gt;, &lt;servlet-mapping&gt;,
+    &lt;url-pattern&gt;.</para>
+
+    <para>These tags are basic and most of them are indispensable for every Web
+    Application.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
--- webxml-1.12.orig/debian/copyright
+++ webxml-1.12/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Martín Ferrari <martin.ferrari@gmail.com> on
+Thu,  1 Sep 2005 05:57:52 -0300.
+
+It was downloaded from http://webxml.sourceforge.net/
+
+Upstream author: Boulgakov Andrei <lark_@users.sourceforge.net>
+
+Files: *
+Copyright: © 2002, 2003 Boulgakov Andrei <lark_@users.sourceforge.net>
+License: GPL-2+
+   Upstream provides no proper copyright notice nor license statement in
+   source, although the presence of the COPYING file along with the notice in
+   the website makes it understandable that this is a mistake of the original
+   author.
+   .
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+   .
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   .
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+Files: debian/*
+Copyright: © 2005-2008 Martín Ferrari <martin.ferrari@gmail.com>
+License: GPL-2+
+   This packaging uses the same licensing as upstream code.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- webxml-1.12.orig/debian/control
+++ webxml-1.12/debian/control
@@ -0,0 +1,22 @@
+Source: webxml
+Section: devel
+Priority: optional
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), qt3-dev-tools,
+ libqt3-mt-dev, docbook-to-man, patchutils
+Maintainer: Martín Ferrari <tincho@debian.org>
+Standards-Version: 3.7.3
+Homepage: http://webxml.sourceforge.net/
+Vcs-Browser: http://canterville.mine.nu/wsvn/debian/trunk/webxml/
+
+Package: webxml
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: simple form-based generator/editor of Tomcat's web.xml files
+ Webxml is a tool to easily edit web application descriptors (web.xml) used in
+ Tomcat and other Java application servers.
+ .
+ It supports the following tags:
+ <servlet>, <servlet-name>, <display-name>, <description>,
+ <servlet-class>, <init-param>, <servlet-mapping>, <url-pattern>.
+ These tags are basic and most of them are indispensable for every web
+ application.
--- webxml-1.12.orig/debian/menu
+++ webxml-1.12/debian/menu
@@ -0,0 +1,2 @@
+?package(webxml):needs="X11" section="Applications/Web Development"\
+  title="webxml" command="/usr/bin/webxml"
--- webxml-1.12.orig/debian/patches/00-missing-eol.patch
+++ webxml-1.12/debian/patches/00-missing-eol.patch
@@ -0,0 +1,9 @@
+--- webxml-1.12.orig/servletentry.h	2002-08-27 10:04:46.000000000 -0300
++++ webxml-1.12/servletentry.h	2005-09-01 06:55:41.000000000 -0300
+@@ -84,4 +84,4 @@
+     {
+ 	return this->LoadOnStartup;
+     }
+-};
+\ No newline at end of file
++};
--- webxml-1.12.orig/debian/patches/03-open-file-bug.patch
+++ webxml-1.12/debian/patches/03-open-file-bug.patch
@@ -0,0 +1,11 @@
+--- webxml/webxml.ui.h	2003-03-06 10:50:23.000000000 -0300
++++ webxml-1.12/webxml.ui.h	2005-09-14 11:51:01.000000000 -0300
+@@ -122,7 +122,7 @@
+     QDomElement root = domTree.documentElement();
+     //qDebug(root.tagName());
+     QDomNodeList wddList=root.childNodes();
+-    if(!wdd)
++    //if(!wdd)
+ 	wdd=new WDDEntries();
+     for(int i=0; i<wddList.length();i++)
+     {
--- webxml-1.12.orig/debian/patches/01-encoding-bug.patch
+++ webxml-1.12/debian/patches/01-encoding-bug.patch
@@ -0,0 +1,20 @@
+--- webxml/webxml.ui.h	2003-03-06 10:50:23.000000000 -0300
++++ webxml-1.12/webxml.ui.h	2005-09-14 11:51:01.000000000 -0300
+@@ -491,7 +491,7 @@
+     QTextStream t( &f );
+     //QTextCodec *codec = QTextCodec::codecForName("KOI8-R"); // get the codec for KOI8-R
+     //t.setCodec(codec);
+-    t << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" << "\n";
++    t << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << "\n";
+     t << "<!DOCTYPE web-app" << "\n";
+     t << "PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\"" << "\n";
+     t << "\"http://java.sun.com/dtd/web-app_2_3.dtd\">" << "\n";
+@@ -878,7 +879,7 @@
+     frmPreview *pr=new frmPreview();
+     QString str;
+      QTextStream t( &str, IO_WriteOnly );
+-    t << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" << "\n";
++    t << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << "\n";
+     t << "<!DOCTYPE web-app" << "\n";
+     t << "PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\"" << "\n";
+     t << "\"http://java.sun.com/dtd/web-app_2_3.dtd\">" << "\n";
--- webxml-1.12.orig/debian/patches/02-welcome-files-bug.patch
+++ webxml-1.12/debian/patches/02-welcome-files-bug.patch
@@ -0,0 +1,10 @@
+--- webxml/webxml.ui.h	2003-03-06 10:50:23.000000000 -0300
++++ webxml-1.12/webxml.ui.h	2005-09-14 11:51:01.000000000 -0300
+@@ -797,6 +797,7 @@
+ 	if(wdf->cbWelcome->isChecked())
+ 	{
+ 		//Welcome file list enabled
++		wdd->getWelcomeFiles()->clear();
+ 		prs=wdf->tblWelcome->numRows();
+ 		for(int i=0; i< prs; i++)
+ 		{