summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-09 20:38:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-09 20:38:28 +0200
commitf2b3fcc64e6fb551fbc5f4cd62f15128697ab08b (patch)
tree4a723a2043cdc34ffb47974d736a7e85963bcfb8
parentded8dc0c76e59ed36c14f7a8705aa02b4d33ee0c (diff)
downloadtde-packaging-f2b3fcc64e6fb551fbc5f4cd62f15128697ab08b.zip
tde-packaging-f2b3fcc64e6fb551fbc5f4cd62f15128697ab08b.tar.gz
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>
-rw-r--r--debian/_base/applications/kxmleditor/debian/control2
-rw-r--r--debian/_base/applications/kxmleditor/debian/docs3
-rw-r--r--debian/_base/applications/kxmleditor/debian/kxmleditor-trinity.1122
-rw-r--r--debian/_base/applications/kxmleditor/debian/manpages1
-rwxr-xr-xdebian/_base/applications/kxmleditor/debian/rules17
-rw-r--r--ubuntu/_base/applications/kxmleditor/debian/control2
-rw-r--r--ubuntu/_base/applications/kxmleditor/debian/docs3
-rw-r--r--ubuntu/_base/applications/kxmleditor/debian/kxmleditor-trinity.1122
-rw-r--r--ubuntu/_base/applications/kxmleditor/debian/manpages1
-rwxr-xr-xubuntu/_base/applications/kxmleditor/debian/rules17
10 files changed, 32 insertions, 258 deletions
diff --git a/debian/_base/applications/kxmleditor/debian/control b/debian/_base/applications/kxmleditor/debian/control
index 8aa7bad..c0fef6f 100644
--- a/debian/_base/applications/kxmleditor/debian/control
+++ b/debian/_base/applications/kxmleditor/debian/control
@@ -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
diff --git a/debian/_base/applications/kxmleditor/debian/docs b/debian/_base/applications/kxmleditor/debian/docs
new file mode 100644
index 0000000..ca0272a
--- /dev/null
+++ b/debian/_base/applications/kxmleditor/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README
+TODO
diff --git a/debian/_base/applications/kxmleditor/debian/kxmleditor-trinity.1 b/debian/_base/applications/kxmleditor/debian/kxmleditor-trinity.1
deleted file mode 100644
index 42eb2bc..0000000
--- a/debian/_base/applications/kxmleditor/debian/kxmleditor-trinity.1
+++ /dev/null
@@ -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).
diff --git a/debian/_base/applications/kxmleditor/debian/manpages b/debian/_base/applications/kxmleditor/debian/manpages
deleted file mode 100644
index 1e55a53..0000000
--- a/debian/_base/applications/kxmleditor/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/kxmleditor-trinity.1
diff --git a/debian/_base/applications/kxmleditor/debian/rules b/debian/_base/applications/kxmleditor/debian/rules
index 2aebaac..cee2a30 100755
--- a/debian/_base/applications/kxmleditor/debian/rules
+++ b/debian/_base/applications/kxmleditor/debian/rules
@@ -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"
diff --git a/ubuntu/_base/applications/kxmleditor/debian/control b/ubuntu/_base/applications/kxmleditor/debian/control
index 8aa7bad..c0fef6f 100644
--- a/ubuntu/_base/applications/kxmleditor/debian/control
+++ b/ubuntu/_base/applications/kxmleditor/debian/control
@@ -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
diff --git a/ubuntu/_base/applications/kxmleditor/debian/docs b/ubuntu/_base/applications/kxmleditor/debian/docs
new file mode 100644
index 0000000..ca0272a
--- /dev/null
+++ b/ubuntu/_base/applications/kxmleditor/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+README
+TODO
diff --git a/ubuntu/_base/applications/kxmleditor/debian/kxmleditor-trinity.1 b/ubuntu/_base/applications/kxmleditor/debian/kxmleditor-trinity.1
deleted file mode 100644
index 42eb2bc..0000000
--- a/ubuntu/_base/applications/kxmleditor/debian/kxmleditor-trinity.1
+++ /dev/null
@@ -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).
diff --git a/ubuntu/_base/applications/kxmleditor/debian/manpages b/ubuntu/_base/applications/kxmleditor/debian/manpages
deleted file mode 100644
index 1e55a53..0000000
--- a/ubuntu/_base/applications/kxmleditor/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/kxmleditor-trinity.1
diff --git a/ubuntu/_base/applications/kxmleditor/debian/rules b/ubuntu/_base/applications/kxmleditor/debian/rules
index 2aebaac..cee2a30 100755
--- a/ubuntu/_base/applications/kxmleditor/debian/rules
+++ b/ubuntu/_base/applications/kxmleditor/debian/rules
@@ -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"