--- kxmleditor-1.0.0.orig/debian/menu +++ kxmleditor-1.0.0/debian/menu @@ -0,0 +1,3 @@ +?package(kxmleditor):needs=X11 section=Apps/Editors\ + title="kxmleditor" command="/usr/bin/kxmleditor" kderemove="y" + --- kxmleditor-1.0.0.orig/debian/control +++ kxmleditor-1.0.0/debian/control @@ -0,0 +1,16 @@ +Source: kxmleditor +Section: editors +Priority: optional +Maintainer: Mike Hommey +Build-Depends: debhelper (>> 4.0.0), kdelibs4-dev, libqt3-compat-headers +Standards-Version: 3.6.1 + +Package: kxmleditor +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libkxmleditor1 +Description: XML Editor for KDE + KXML Editor is simple program, that display and edit contents + of XML file. Left side contain tree with XML document structure, + right side contain list of attributes for selected XML element + and its contents. --- kxmleditor-1.0.0.orig/debian/rules +++ kxmleditor-1.0.0/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +export DH_COMPAT=4 + +# 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) + +TOPDIR := $(shell pwd) +t = ${TOPDIR}/debian/kxmleditor + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp + +-include debian/debiandirs + +debian/debiandirs: admin/debianrules + perl -w admin/debianrules echodirs > debian/debiandirs + +build-stamp: + dh_testdir + + CFLAGS="$(CFLAGS)" ./configure $(configkde) --with-xinerama --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + -$(MAKE) distclean + -rm -f build-stamp debian/debiandirs stamp-h.in configure.files + dh_clean + + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/kxmleditor. + $(MAKE) install DESTDIR=$(t) + + # The following symlink should be relative, not absolute. + rm -f $(t)/usr/share/doc/kde/HTML/en/kxmleditor/common + cd $(t)/usr/share/doc/kde/HTML/en/kxmleditor/ ; ln -s ../common common + + # Lintian overrides + install -d $(t)/usr/share/lintian/overrides + install -m 644 debian/kxmleditor.lintian $(t)/usr/share/lintian/overrides/kxmleditor + + touch install-stamp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installinfo + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress -X.docbook + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -a -l$(t)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- kxmleditor-1.0.0.orig/debian/changelog +++ kxmleditor-1.0.0/debian/changelog @@ -0,0 +1,85 @@ +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.0.0.orig/debian/kxmleditor.lintian +++ kxmleditor-1.0.0/debian/kxmleditor.lintian @@ -0,0 +1,2 @@ +kxmleditor: non-dev-pkg-with-shlib-symlink usr/lib/libkxmleditorpart.so.1.0.0 usr/lib/libkxmleditorpart.so +kxmleditor: menu-item-contains-unknown-tag kderemove /usr/lib/menu/kxmleditor:2 --- kxmleditor-1.0.0.orig/debian/manpages +++ kxmleditor-1.0.0/debian/manpages @@ -0,0 +1 @@ +debian/kxmleditor.1 --- kxmleditor-1.0.0.orig/debian/copyright +++ kxmleditor-1.0.0/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Joerg Jaspert (JJ) on +Tue, 9 Apr 2002 22:29:11 +0200. + +It was downloaded from http://kxmleditor.sourceforge.net/ + +Upstream Authors: Lumir Vanek + Olaf Hartig + Mateusz Korniak + +Copyright: + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. --- kxmleditor-1.0.0.orig/debian/kxmleditor.1 +++ kxmleditor-1.0.0/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