DEB kxmleditor: Switch to cmake.

Add basic package documentation.
The man page has been moved to the main tree.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/19/head
Slávek Banko 6 years ago
parent ded8dc0c76
commit f2b3fcc64e
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
X-Original-Maintainer: Jose Luis Tallon <jltallon@adv-solutions.net>
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, automake, libtool, tdelibs-trinity-dev
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cmake, tdelibs-trinity-dev
Standards-Version: 3.8.0
Package: kxmleditor-trinity

@ -0,0 +1,3 @@
AUTHORS
README
TODO

@ -1,122 +0,0 @@
.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 <caption>\fR
Use 'caption' as name in the titlebar.
.TP
\fB\-\-icon <icon>\fR
Use 'icon' as the application icon.
.TP
\fB\-\-miniicon <icon>\fR
Use 'icon' as the icon in the titlebar.
.TP
\fB\-\-dcopserver <server>\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 <style>\fR
sets the application GUI style.
.TP
\fB\-\-geometry <geometry>\fR
sets the client geometry of the main widget.
.SS "QT-options"
.TP
\fB\-\-display <displayname>\fR
Use the X-server display 'displayname'.
.TP
\fB\-\-session <sessionId>\fR
Restore the application for the given 'sessionId'.
.TP
\fB\-\-cmap\fR
Causes the application to install a private color map on an 8-bit display.
.TP
\fB\-\-ncols <count>\fR
Limits the number of colors allocated in the color cube on an 8-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
\fB\-\-nograb\fR
tells Qt to never grab the mouse or the keyboard.
.TP
\fB\-\-dograb\fR
running under a debugger can cause an implicit \fB\-\-nograb\fR,
use \fB\-\-dograb\fR to override.
.TP
\fB\-\-sync\fR
switches to synchronous mode for debugging.
.TP
\fB\-\-fn, \-\-font <fontname>\fR
defines the application font.
.TP
\fB\-\-bg, \-\-background <color>\fR
sets the default background color and an application palette
(light and dark shades are calculated).
.TP
\fB\-\-fg, \-\-foreground <color>\fR
sets the default foreground color.
.TP
\fB\-\-btn, \-\-button <color>\fR
sets the default button color.
.TP
\fB\-\-name <name>\fR
sets the application name.
.TP
\fB\-\-title <title>\fR
sets the application title (caption).
.TP
\fB\-\-visual TrueColor\fR
forces the application to use a TrueColor visual on an 8-bit display.
.TP
\fB\-\-inputstyle <inputstyle>\fR
sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fR, \fIoverthespot\fR, \fIoffthespot\fR and \fIroot\fR.
.TP
\fB\-\-im <XIM server>\fR
set XIM server.
.TP
\fB\-\-noxim\fR
disable XIM.
.SS "Arguments:"
.TP
File
file to open
.SH AUTHOR
This manual page was written by Joerg Jaspert (JJ) <joerg@goliathbbs.dnsalias.net>,
for the Debian GNU/Linux system (but may be used by others).

@ -1 +0,0 @@
debian/kxmleditor-trinity.1

@ -1,12 +1,19 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
X-Original-Maintainer: Jose Luis Tallon <jltallon@adv-solutions.net>
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, automake, libtool, tdelibs-trinity-dev
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cmake, tdelibs-trinity-dev
Standards-Version: 3.8.0
Package: kxmleditor-trinity

@ -1,122 +0,0 @@
.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 <caption>\fR
Use 'caption' as name in the titlebar.
.TP
\fB\-\-icon <icon>\fR
Use 'icon' as the application icon.
.TP
\fB\-\-miniicon <icon>\fR
Use 'icon' as the icon in the titlebar.
.TP
\fB\-\-dcopserver <server>\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 <style>\fR
sets the application GUI style.
.TP
\fB\-\-geometry <geometry>\fR
sets the client geometry of the main widget.
.SS "QT-options"
.TP
\fB\-\-display <displayname>\fR
Use the X-server display 'displayname'.
.TP
\fB\-\-session <sessionId>\fR
Restore the application for the given 'sessionId'.
.TP
\fB\-\-cmap\fR
Causes the application to install a private color map on an 8-bit display.
.TP
\fB\-\-ncols <count>\fR
Limits the number of colors allocated in the color cube on an 8-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
\fB\-\-nograb\fR
tells Qt to never grab the mouse or the keyboard.
.TP
\fB\-\-dograb\fR
running under a debugger can cause an implicit \fB\-\-nograb\fR,
use \fB\-\-dograb\fR to override.
.TP
\fB\-\-sync\fR
switches to synchronous mode for debugging.
.TP
\fB\-\-fn, \-\-font <fontname>\fR
defines the application font.
.TP
\fB\-\-bg, \-\-background <color>\fR
sets the default background color and an application palette
(light and dark shades are calculated).
.TP
\fB\-\-fg, \-\-foreground <color>\fR
sets the default foreground color.
.TP
\fB\-\-btn, \-\-button <color>\fR
sets the default button color.
.TP
\fB\-\-name <name>\fR
sets the application name.
.TP
\fB\-\-title <title>\fR
sets the application title (caption).
.TP
\fB\-\-visual TrueColor\fR
forces the application to use a TrueColor visual on an 8-bit display.
.TP
\fB\-\-inputstyle <inputstyle>\fR
sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fR, \fIoverthespot\fR, \fIoffthespot\fR and \fIroot\fR.
.TP
\fB\-\-im <XIM server>\fR
set XIM server.
.TP
\fB\-\-noxim\fR
disable XIM.
.SS "Arguments:"
.TP
File
file to open
.SH AUTHOR
This manual page was written by Joerg Jaspert (JJ) <joerg@goliathbbs.dnsalias.net>,
for the Debian GNU/Linux system (but may be used by others).

@ -1,12 +1,19 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

Loading…
Cancel
Save