--- kxmleditor-1.1.4.orig/debian/control +++ kxmleditor-1.1.4/debian/control @@ -0,0 +1,19 @@ +Source: kxmleditor +Section: kde +Priority: optional +Maintainer: Alejandro Exojo Piqueras +Build-Depends: debhelper (>> 4.0.0), kdelibs4-dev, qt3-dev-tools (>> 3.3), automake1.7, sharutils +Build-Conflicts: autoconf2.13, automake1.4 +Standards-Version: 3.6.1 + +Package: kxmleditor +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libkxmleditor1 +Description: XML Editor for KDE + KXML Editor is a simple program, that displays and edits the contents of an + XML file. It can be embedded in Quanta, and used with DCOP. + . + The left side contains a tree representing the XML document structure. The + right side contains a list of attributes for the selected XML element and its + contents. --- kxmleditor-1.1.4.orig/debian/changelog +++ kxmleditor-1.1.4/debian/changelog @@ -0,0 +1,131 @@ +kxmleditor (1.1.4-1build1) breezy; urgency=low + + * Rebuild for new C++ ABI + + -- Matthias Klose Mon, 6 Jun 2005 16:38:32 +0000 + +kxmleditor (1.1.4-1) unstable; urgency=low + + * New upstream release (Closes: #277487). + * New maintainer (Closes: #255299), thanks Mike for the previous work. + * Added a watch file for DEHS (by Mike Hommey). + * Corrected the description by a native English speaker. ;-) + * Moved section from "editors" to "kde". + * Updated "Build-Depends": changed libqt3-compat-headers to qt3-dev-tools + greater or equal than 3.3 (because it contains files created with + designer 3.3) and added automake1.7 and sharutils (for future uuencoded + diffs). + * Add "Build-Conflict" with old autoconf/automake versions. + * Reflex the work of all mantainers, and added the GPL excerpt in + debian/copyright. + * Add scapes to unscaped dashes in manpage. + * Quoted all entries, and deleted obsolete "kderemove" in debian/menu. + * debian/rules: + - Keep change from Frank Lichtenheld's NMU, because it is still needed to + create in the correct place the UIC-generated headers. + - Delete stamps at the beggining of clean target. (Policy 4.8) + - Moved the creation of the symbolic link to kxmleditor.links. + - Add support for build directory different from source directory. + - Pass --enable-final to configure. + - Remove dh_installinfo and lintian overrides. + - Moved DH_COMPAT to debian/compat. + * Removed shlibs.local and kxmleditor.lintian, aren't necessary anymore. + * Added a patch-system and two patches: + - patches/02_part_makefile_am.diff: Fixes LIBADD and installation prefixes. + - patches/03_include_mocs.diff: Includes MOC files in the source files. + + -- Alejandro Exojo Piqueras Fri, 07 Jan 2005 12:05:07 +0100 + +kxmleditor (1.0.0-1.1) unstable; urgency=low + + * NMU + * Fix build problems with Qt 3.3 by forcing the regeneration + of all source files. Fix suggested by Ben Burton (Closes: #265680) + + -- Frank Lichtenheld Thu, 16 Sep 2004 01:39:40 +0200 + +kxmleditor (1.0.0-1) unstable; urgency=low + + * New upstream release + * debian/rules: fixed once and for all the CFLAGS setting. + + -- Mike Hommey Tue, 27 Jan 2004 16:33:57 +0900 + +kxmleditor (0.9.2-1) unstable; urgency=low + + * New upstream release + * Bumped Standards-Version to 3.6.1. + * debian/rules: + - Removed the unneeded INSTALL_PROGRAM environment variable setting. + - Removed the alpha workaround, which should not be needed anymore. + - Fixed the configure call so that the build system works as expected + (for CFLAGS and arch detection) + - Added an install-stamp rule. + - Cleaned up unneeded variables. + + -- Mike Hommey Wed, 14 Jan 2004 19:40:56 +0900 + +kxmleditor (0.9.1-1) unstable; urgency=low + + * New upstream release + + -- Mike Hommey Mon, 5 Jan 2004 16:02:28 +0900 + +kxmleditor (0.9.0-1) unstable; urgency=low + + * New upstream release + + -- Mike Hommey Sat, 27 Dec 2003 18:23:47 +0900 + +kxmleditor (0.8.4-1) unstable; urgency=low + + * New upstream release + + -- Mike Hommey Fri, 12 Dec 2003 13:44:09 +0900 + +kxmleditor (0.8.1-4) unstable; urgency=low + + * NMU + * Added lintian override for the changed menu + + -- Uli Martens Mon, 14 Jul 2003 20:59:39 +0200 + +kxmleditor (0.8.1-3) unstable; urgency=low + + * Modify debian menu so that kxmleditor doesn't appear twice in kde + menus + + -- Mike Hommey Thu, 10 Apr 2003 01:06:34 +0200 + +kxmleditor (0.8.1-2) unstable; urgency=low + + * Merged libxmleditorpart1 and kxmleditor, since libs are KParts + components and not shared libraries. + * Fixed dh_compress usage to avoid compression of kxmleditor documentation. + * Add lintian overrides. + * Adjust dependency to debhelper >= 4.0.0. + + -- Mike Hommey Thu, 3 Apr 2003 02:58:42 +0200 + +kxmleditor (0.8.1-1) unstable; urgency=low + + * New maintainer. Closes: #187049 + * New upstream release. Closes: #181833 + * Changed libxmleditor1 to libxmleditorpart1 to fit new upstream + library name. + * Updated to Standards-Version 3.5.9. + + -- Mike Hommey Wed, 2 Apr 2003 23:27:23 +0200 + +kxmleditor (0.7.1-2) unstable; urgency=low + + * Added work-around for broken alpha build in debian/rules. + + -- Joerg Jaspert Tue, 30 Apr 2002 23:55:03 +0200 + +kxmleditor (0.7.1-1) unstable; urgency=low + + * Initial Release (closes: #113797) + + -- Joerg Jaspert (JJ) Thu, 11 Apr 2002 00:09:53 +0200 + --- kxmleditor-1.1.4.orig/debian/copyright +++ kxmleditor-1.1.4/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Joerg Jaspert (JJ) on +Tue, 9 Apr 2002 22:29:11 +0200. +It was mantained by Mike Hommey since 2 Apr 2003. +It is actually mantained by Alejandro Exojo Piqueras + +It was downloaded from http://kxmleditor.sourceforge.net/ + +Upstream Authors: Lumir Vanek + Olaf Hartig + Mateusz Korniak + +Copyright: (c) 2001-2004, The KXML Editor Developers + + 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 Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program 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. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- kxmleditor-1.1.4.orig/debian/watch +++ kxmleditor-1.1.4/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://ftp2.sf.net/pub/sourceforge/k/kx/kxmleditor/kxmleditor-?_?([\w+\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate --- kxmleditor-1.1.4.orig/debian/menu +++ kxmleditor-1.1.4/debian/menu @@ -0,0 +1,6 @@ +?package(kxmleditor):\ + needs="X11"\ + section="Apps/Editors"\ + title="kxmleditor"\ + hints="KDE"\ + command="/usr/bin/kxmleditor" --- kxmleditor-1.1.4.orig/debian/compat +++ kxmleditor-1.1.4/debian/compat @@ -0,0 +1 @@ +4 --- kxmleditor-1.1.4.orig/debian/kxmleditor.links +++ kxmleditor-1.1.4/debian/kxmleditor.links @@ -0,0 +1 @@ +usr/share/doc/kde/HTML/en/common usr/share/doc/kde/HTML/en/kxmleditor/common --- kxmleditor-1.1.4.orig/debian/patches/02_part_makefile_am.diff +++ kxmleditor-1.1.4/debian/patches/02_part_makefile_am.diff @@ -0,0 +1,33 @@ +diff -Nrua kxmleditor-1.1.4.orig/part/Makefile.am kxmleditor-1.1.4/part/Makefile.am +--- kxmleditor-1.1.4.orig/part/Makefile.am 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/Makefile.am 2005-01-07 02:28:03.000000000 +0100 +@@ -1,26 +1,16 @@ +-####### kdevelop will overwrite this part!!! (begin)########## +- +-lib_LTLIBRARIES = libkxmleditorpart.la ++kde_module_LTLIBRARIES = libkxmleditorpart.la + + libkxmleditorpart_la_SOURCES = kxesearchdialogbase.ui kxesearchdialog.cpp kxeprocinstrdialogbase.ui kxeprocinstrdialog.cpp kxespecprocinstrdialogbase.ui kxespecprocinstrdialog.cpp kxeelementdialogbase.ui kxeelementdialog.cpp kxeattributedialogbase.ui kxeattributedialog.cpp kxechardatadialogbase.ui kxechardatadialog.cpp kxeattachdialogbase.ui kxechoosestringdialogbase.ui kxechoosestringdialog.cpp kxefilenewdialog.cpp kxeconfiguration.cpp kxesettings.cpp kxetreeviewsettingspage.ui kxetreeviewsettings.cpp kxenewfilesettingspage.ui kxenewfilesettings.cpp kxeprintsettingspage.ui kxeprintsettings.cpp kxearchiveextssettingspage.ui kxearchiveextssettings.cpp kxetextviewsettingspage.ui kxetextviewsettings.cpp kxe_treeviewitem.cpp kxe_treeview.cpp kxe_viewelement.cpp kxe_viewattributes.cpp kxesyntaxhighlighter.cpp kxetexteditordialogbase.ui kxetexteditordialog.cpp actions.cpp qdom_add.cpp kxecommand.cpp commands_file.cpp commands_edit.cpp commands_insert.cpp kxmleditorpart.cpp kxmleditorfactory.cpp dcopiface_part_ro.skel dcopiface_part_ro.cpp kxedocument.cpp + + libkxmleditorpart_la_LDFLAGS = -module $(all_libraries) -version-info 1:0:0 +-libkxmleditorpart_la_LIBADD = $(LIB_KDEPRINT) $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) ++libkxmleditorpart_la_LIBADD = $(LIB_KDEPRINT) + + SUBDIRS = pics icons + + EXTRA_DIST = kxmleditorpartBrowseUI.rc kxmleditorpartEditUI.rc kxedocument.rc kxmleditorpart.desktop + ++kde_services_DATA = kxmleditorpart.desktop + +-install-data-local: +- $(mkinstalldirs) $(kde_servicesdir) +- $(INSTALL_DATA) $(srcdir)/kxmleditorpart.desktop $(kde_servicesdir)/kxmleditorpart.desktop +- +-uninstall-local: +- -rm -f $(kde_servicesdir)/kxmleditorpart.desktop +- -rmdir $(kde_servicesdir) +- +-####### kdevelop will overwrite this part!!! (end)############ + # this 10 paths are KDE specific. Use them: + # kde_htmldir Where your docs should go to. (contains lang subdirs) + # kde_appsdir Where your application file (.kdelnk) should go to. --- kxmleditor-1.1.4.orig/debian/patches/03_include_mocs.diff +++ kxmleditor-1.1.4/debian/patches/03_include_mocs.diff @@ -0,0 +1,171 @@ +diff -Nrua kxmleditor-1.1.4.orig/kxmleditor/kxmleditorshell.cpp kxmleditor-1.1.4/kxmleditor/kxmleditorshell.cpp +--- kxmleditor-1.1.4.orig/kxmleditor/kxmleditorshell.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/kxmleditor/kxmleditorshell.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -493,3 +493,5 @@ + { + m_pActFileOpenRecent->addURL(url); + } ++ ++#include "kxmleditorshell.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/actions.cpp kxmleditor-1.1.4/part/actions.cpp +--- kxmleditor-1.1.4.orig/part/actions.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/actions.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -227,3 +227,5 @@ + adjustSize(); + } + ++ ++#include "actions.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxearchiveextssettings.cpp kxmleditor-1.1.4/part/kxearchiveextssettings.cpp +--- kxmleditor-1.1.4.orig/part/kxearchiveextssettings.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxearchiveextssettings.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -151,3 +151,5 @@ + emit sigDialogPageChanged(); + } + } ++ ++#include "kxearchiveextssettings.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxeattributedialog.cpp kxmleditor-1.1.4/part/kxeattributedialog.cpp +--- kxmleditor-1.1.4.orig/part/kxeattributedialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxeattributedialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -177,3 +177,5 @@ + + return ""; + } ++ ++#include "kxeattributedialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxechardatadialog.cpp kxmleditor-1.1.4/part/kxechardatadialog.cpp +--- kxmleditor-1.1.4.orig/part/kxechardatadialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxechardatadialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -117,3 +117,5 @@ + } + + ++ ++#include "kxechardatadialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxechoosestringdialog.cpp kxmleditor-1.1.4/part/kxechoosestringdialog.cpp +--- kxmleditor-1.1.4.orig/part/kxechoosestringdialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxechoosestringdialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -40,3 +40,5 @@ + m_strChoosedText = m_pComboBox->currentText(); + accept(); + } ++ ++#include "kxechoosestringdialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxeconfiguration.cpp kxmleditor-1.1.4/part/kxeconfiguration.cpp +--- kxmleditor-1.1.4.orig/part/kxeconfiguration.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxeconfiguration.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -179,3 +179,5 @@ + m_pDialog->enableButtonApply( true ); + m_pDialog->enableButtonOK( true ); + } ++ ++#include "kxeconfiguration.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxedocument.cpp kxmleditor-1.1.4/part/kxedocument.cpp +--- kxmleditor-1.1.4.orig/part/kxedocument.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxedocument.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -629,3 +629,5 @@ + } + return 0L; + } ++ ++#include "kxedocument.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxeelementdialog.cpp kxmleditor-1.1.4/part/kxeelementdialog.cpp +--- kxmleditor-1.1.4.orig/part/kxeelementdialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxeelementdialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -187,3 +187,5 @@ + return ""; + } + ++ ++#include "kxeelementdialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxeprocinstrdialog.cpp kxmleditor-1.1.4/part/kxeprocinstrdialog.cpp +--- kxmleditor-1.1.4.orig/part/kxeprocinstrdialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxeprocinstrdialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -181,3 +181,5 @@ + + return ""; + } ++ ++#include "kxeprocinstrdialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxesearchdialog.cpp kxmleditor-1.1.4/part/kxesearchdialog.cpp +--- kxmleditor-1.1.4.orig/part/kxesearchdialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxesearchdialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -54,3 +54,5 @@ + else + m_pPushButtonFind->setEnabled(false); + } ++ ++#include "kxesearchdialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxesettings.cpp kxmleditor-1.1.4/part/kxesettings.cpp +--- kxmleditor-1.1.4.orig/part/kxesettings.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxesettings.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -65,3 +65,5 @@ + emit sigChanged(); + } + } ++ ++#include "kxesettings.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxespecprocinstrdialog.cpp kxmleditor-1.1.4/part/kxespecprocinstrdialog.cpp +--- kxmleditor-1.1.4.orig/part/kxespecprocinstrdialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxespecprocinstrdialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -133,3 +133,5 @@ + return QString("version = '")+m_pLineEditVersion->text()+ + "' encoding = '"+m_pComboBoxEncoding->currentText()+"' "; + } ++ ++#include "kxespecprocinstrdialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxetexteditordialog.cpp kxmleditor-1.1.4/part/kxetexteditordialog.cpp +--- kxmleditor-1.1.4.orig/part/kxetexteditordialog.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxetexteditordialog.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -118,3 +118,5 @@ + + m_pSyntaxHighlighter->rehighlight(); + } ++ ++#include "kxetexteditordialog.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxe_treeview.cpp kxmleditor-1.1.4/part/kxe_treeview.cpp +--- kxmleditor-1.1.4.orig/part/kxe_treeview.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxe_treeview.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -907,3 +907,5 @@ + KListView::keyPressEvent(e); + emit sigKeyPressed(e); + } ++ ++#include "kxe_treeview.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxe_viewattributes.cpp kxmleditor-1.1.4/part/kxe_viewattributes.cpp +--- kxmleditor-1.1.4.orig/part/kxe_viewattributes.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxe_viewattributes.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -155,3 +155,5 @@ + else + kdError() << "KXMLEditor " << k_funcinfo << " node is not an attribute (but should be)" << endl; + } ++ ++#include "kxe_viewattributes.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxe_viewelement.cpp kxmleditor-1.1.4/part/kxe_viewelement.cpp +--- kxmleditor-1.1.4.orig/part/kxe_viewelement.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxe_viewelement.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -124,3 +124,5 @@ + + m_pSyntaxHighlighter->rehighlight(); + } ++ ++#include "kxe_viewelement.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxmleditorfactory.cpp kxmleditor-1.1.4/part/kxmleditorfactory.cpp +--- kxmleditor-1.1.4.orig/part/kxmleditorfactory.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxmleditorfactory.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -102,3 +102,5 @@ + + return s_pKXEConfig; + } ++ ++#include "kxmleditorfactory.moc" +diff -Nrua kxmleditor-1.1.4.orig/part/kxmleditorpart.cpp kxmleditor-1.1.4/part/kxmleditorpart.cpp +--- kxmleditor-1.1.4.orig/part/kxmleditorpart.cpp 2004-12-30 12:38:15.000000000 +0100 ++++ kxmleditor-1.1.4/part/kxmleditorpart.cpp 2004-12-30 14:10:59.000000000 +0100 +@@ -1921,3 +1921,5 @@ + // Stylesheet + m_pActDetachStylesheet->setEnabled(!m_pDocument->getSpecProcInstr("xml-stylesheet").isNull()); + } ++ ++#include "kxmleditorpart.moc" --- kxmleditor-1.1.4.orig/debian/manpages +++ kxmleditor-1.1.4/debian/manpages @@ -0,0 +1 @@ +debian/kxmleditor.1 --- kxmleditor-1.1.4.orig/debian/rules +++ kxmleditor-1.1.4/debian/rules @@ -0,0 +1,128 @@ +#!/usr/bin/make -f + +#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) + +objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +-include debian/debiandirs + +debian/debiandirs: admin/debianrules + perl -w admin/debianrules echodirs > debian/debiandirs + +configure: configure-stamp +configure-stamp: + dh_testdir + + # Apply Debian specific patches + @if test -d $(CURDIR)/debian/patches ;\ + then \ + for i in $(CURDIR)/debian/patches/*.diff.uu ;\ + do \ + cd $(CURDIR)/debian/patches ;\ + uudecode "$$i" ;\ + cd $(CURDIR) ;\ + done ;\ + patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort);\ + fi ;\ + if test ! -f patch-stamp; then \ + for patch in $$patches ;\ + do \ + echo APPLYING PATCH\: "$${patch##*/}" ;\ + patch -p1 < "$$patch" ;\ + done ;\ + touch patch-stamp ;\ + fi + + # Touch all *.ui files, because we need to regenerate them + touch `find . -name "*.ui"` + + # Recreate configure and Makefile.in + $(MAKE) -f Makefile.dist + # Create object dir, and build inside of it + mkdir $(objdir) + cd $(objdir) && \ + ../configure $(configkde) --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) --enable-final + touch configure-stamp + +build: configure + dh_testdir + cd $(objdir) && \ + $(MAKE) + +clean: + dh_testdir + dh_testroot + -rm -f configure-stamp debian/debiandirs + + # Remove Debian specific patches + @if test -d $(CURDIR)/debian/patches ;\ + then \ + patches=$$(find $(CURDIR)/debian/patches -name *.diff | sort -r);\ + fi ;\ + if test -f patch-stamp; then \ + for patch in $$patches ;\ + do \ + echo REMOVING PATCH\: "$${patch##*/}" ;\ + patch -p1 -R < "$$patch" ;\ + done ;\ + for i in $(CURDIR)/debian/patches/*.diff.uu ;\ + do \ + rm -f "$${i%%.uu}" ;\ + done ;\ + rm -f patch-stamp ;\ + fi + + rm -rf $(objdir) + -$(MAKE) distclean + dh_clean + + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd $(objdir) && \ + $(MAKE) install DESTDIR=$(CURDIR)/debian/kxmleditor + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress -X.docbook + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- kxmleditor-1.1.4.orig/debian/kxmleditor.1 +++ kxmleditor-1.1.4/debian/kxmleditor.1 @@ -0,0 +1,122 @@ +.TH KXMLEDITOR "1" "April 2002" "KXMLEDITOR" "User Commands" +.SH NAME +kxmleditor \- manual page for kxmleditor +.SH SYNOPSIS +.B kxmleditor +[\fIQt-options\fR] [\fIKDE-options\fR] [\fIFile\fR] +.SH DESCRIPTION +KXML Editor is an utility to display and edit XML files +.SS "Generic options:" +.TP +\fB\-\-help\fR +Show help about options +.TP +\fB\-\-help\-qt\fR +Show Qt specific options +.TP +\fB\-\-help\-kde\fR +Show KDE specific options +.TP +\fB\-\-help\-all\fR +Show all options +.TP +\fB\-\-author\fR +Show author information +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information +.TP +\fB\-\-license\fR +Show license information +.TP +\fB\-\-\fR +End of options +.SS "KDE-options" +.TP +\fB\-\-caption \fR +Use 'caption' as name in the titlebar. +.TP +\fB\-\-icon \fR +Use 'icon' as the application icon. +.TP +\fB\-\-miniicon \fR +Use 'icon' as the icon in the titlebar. +.TP +\fB\-\-dcopserver \fR +Use the DCOP Server specified by 'server'. +.TP +\fB\-\-nocrashhandler\fR +Disable crash handler, to get core dumps. +.TP +\fB\-\-waitforwm\fR +Waits for a WM_NET compatible windowmanager. +.TP +\fB\-\-style