summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-14 10:44:58 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-03-14 17:37:12 +0100
commit68c3ab9678b7c1d57f2127540b1218f018eff6df (patch)
treef48d00d2a1f56a567a66cf56c1da712863a43e75 /debian
parent237da2fa95be9aa381edd28b4ea5a8672fd5dc89 (diff)
downloadtde-packaging-68c3ab9678b7c1d57f2127540b1218f018eff6df.tar.gz
tde-packaging-68c3ab9678b7c1d57f2127540b1218f018eff6df.zip
DEB kgdb: Switch to cmake.
The man pages has been moved to the main tree. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit bcf70d5c885d4a5f5bdd227648332d5688b56935)
Diffstat (limited to 'debian')
-rw-r--r--debian/_base/applications/kdbg/debian/control2
-rw-r--r--debian/_base/applications/kdbg/debian/install1
-rw-r--r--debian/_base/applications/kdbg/debian/kdbg.192
-rw-r--r--debian/_base/applications/kdbg/debian/kdbg.xpm122
-rwxr-xr-xdebian/_base/applications/kdbg/debian/rules33
5 files changed, 16 insertions, 234 deletions
diff --git a/debian/_base/applications/kdbg/debian/control b/debian/_base/applications/kdbg/debian/control
index 450235ff5..4911d1bb4 100644
--- a/debian/_base/applications/kdbg/debian/control
+++ b/debian/_base/applications/kdbg/debian/control
@@ -2,7 +2,7 @@ Source: kdbg-trinity
Section: tde
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
-Build-Depends: debhelper (>= 9~), quilt, cdbs, tdelibs14-trinity-dev, autotools-dev, automake, libtool
+Build-Depends: debhelper (>= 9~), quilt, cdbs, cmake, tdelibs14-trinity-dev
Standards-Version: 3.8.4
Homepage: http://www.kdbg.org/
diff --git a/debian/_base/applications/kdbg/debian/install b/debian/_base/applications/kdbg/debian/install
new file mode 100644
index 000000000..0dc675f86
--- /dev/null
+++ b/debian/_base/applications/kdbg/debian/install
@@ -0,0 +1 @@
+kdbg/pics/kdbg.xpm opt/trinity/share/pixmaps
diff --git a/debian/_base/applications/kdbg/debian/kdbg.1 b/debian/_base/applications/kdbg/debian/kdbg.1
deleted file mode 100644
index 588ef94db..000000000
--- a/debian/_base/applications/kdbg/debian/kdbg.1
+++ /dev/null
@@ -1,92 +0,0 @@
-.\" Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH KDBG 1 "March 25, 2005"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh disable hyphenation
-.\" .hy enable hyphenation
-.\" .ad l left justify
-.\" .ad b justify to both left and right margins
-.\" .nf disable filling
-.\" .fi enable filling
-.\" .br insert line break
-.\" .sp <n> insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-kdbg \- a graphical debugger interface
-.SH SYNOPSIS
-.B kdbg
-[ \fIgeneric-options\fP ]
-[ \fB\-t\fP \fIfile\fP ] [ \fB\-r\fP \fIdevice\fP ]
-[ \fB\-l\fP \fIlanguage\fP ] [ \fB\-p\fP \fIpid\fP ]
-[ \fIprogram\fP ] [ \fIcore\fP ]
-.SH DESCRIPTION
-\fBKDbg\fP is a graphical user interface to \fBgdb\fP, the GNU debugger. It
-provides an intuitive interface for setting breakpoints, inspecting
-variables, stepping through code and much more. KDbg requires TDE but
-you can of course debug any program.
-.PP
-KDbg can also debug XSLT (XML stylesheet translation) scripts by
-interfacing with \fBxsldbg\fP. Debian users must install the \fIkxsldbg\fP
-package to make use of this feature.
-.PP
-You can pass KDbg the path of the executable to debug (\fIprogram\fP) or
-a core dump to debug (\fIcore\fP).
-.PP
-Features of KDbg include:
-.PP
-.RS
-Inspection of variable values in a tree structure.
-.PP
-Direct member: For certain compound data types the most important
-member values are displayed next to the variable name, so that it is
-not necessary to expand the subtree of that variable in order to see
-the member value. KDbg can also display Qt's QString values, which
-are Unicode strings.
-.PP
-Debugger at your finger tips: The basic debugger functions (step,
-next, run, finish, until, set/clear/enable/disable breakpoint) are
-bound to function keys F5 through F10. Quick and easy.
-.PP
-View source code, search text, set program arguments and environment
-variables, display arbitrary expressions.
-.PP
-Debugging of core dumps, attaching to running processes is possible.
-.PP
-Conditional breakpoints.
-.RE
-.SH OPTIONS
-Below are the kdbg-specific options.
-For a full summary of options, run \fIkdbg \-\-help\fP.
-.TP
-\fB\-t\fP \fIfile\fP
-Write a transcript of the conversation with the debugger to the given
-file.
-.TP
-\fB\-r\fP \fIdevice\fP
-Use remote debugging via the given device.
-.TP
-\fB\-l\fP \fIlanguage\fP
-Specify the language of the program/script to debug.
-This must be either \fIC\fP (for a C/C++ program) or
-\fIXSL\fP (for an XSLT script).
-If this option is not passed then KDbg will try to deduce the language
-from the given filename.
-.TP
-\fB\-p\fP \fIpid\fP
-Attach to the process with the given process ID.
-.SH SEE ALSO
-.BR gdb (1),
-.BR xsldbg (1).
-.PP
-Full user documentation is available through the TDE Help Centre.
-Alternatively the HTML documentation can be viewed directly from
-\fI/opt/trinity/share/doc/tde/HTML/<lang>/kdbg/\fP.
-.SH AUTHOR
-KDbg was written by Johannes Sixt <Johannes.Sixt@telecom.at>.
-.br
-This manual page was prepared by Ben Burton <bab@debian.org>
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/_base/applications/kdbg/debian/kdbg.xpm b/debian/_base/applications/kdbg/debian/kdbg.xpm
deleted file mode 100644
index 8df7ac5f7..000000000
--- a/debian/_base/applications/kdbg/debian/kdbg.xpm
+++ /dev/null
@@ -1,122 +0,0 @@
-/* XPM */
-static char *kdbg[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 84 1",
-" c black",
-". c #0C0D16",
-"X c #10111D",
-"o c #11111E",
-"O c #151526",
-"+ c #17182A",
-"@ c #191A26",
-"# c #18182C",
-"$ c #1D1E33",
-"% c #1E1C36",
-"& c #22233D",
-"* c #21243B",
-"= c #23253C",
-"- c #23253D",
-"; c #272A3C",
-": c #313928",
-"> c #333A29",
-", c #262843",
-"< c #2A2B42",
-"1 c #2A2C43",
-"2 c #2A2D47",
-"3 c #292B48",
-"4 c #292B4C",
-"5 c #2B2F4A",
-"6 c #2B2F4B",
-"7 c #2A2C4E",
-"8 c #2C2F4D",
-"9 c #2B2F50",
-"0 c #2D2F57",
-"q c #2E3153",
-"w c #2E3154",
-"e c #2E3254",
-"r c #2E3256",
-"t c #2F3256",
-"y c #2E3059",
-"u c #303359",
-"i c #30345A",
-"p c #31355C",
-"a c #31355D",
-"s c #313761",
-"d c #353464",
-"f c #323864",
-"g c #343A6A",
-"h c #353A6C",
-"j c #363B6F",
-"k c #363C70",
-"l c #383E75",
-"z c #3A3D75",
-"x c #383F7A",
-"c c #393F7C",
-"v c #225025",
-"b c #225425",
-"n c #235926",
-"m c #236828",
-"M c #236F29",
-"N c #247E2A",
-"B c #3A4180",
-"V c #3B4282",
-"C c #3C4181",
-"Z c #3E4181",
-"A c #3C4385",
-"S c #3D4488",
-"D c #3E4589",
-"F c #3E468D",
-"G c #3F4793",
-"H c #404790",
-"J c #404894",
-"K c #434C9E",
-"L c #444DA1",
-"P c #454DA4",
-"I c #454EA6",
-"U c #4751AE",
-"Y c #4954B6",
-"T c #4A55B8",
-"R c #4B56BC",
-"E c #4E5AC6",
-"W c #4F5BCB",
-"Q c #525FD5",
-"! c #5462DD",
-"~ c #5A69EF",
-"^ c #24882B",
-"/ c #25A32E",
-"( c #CE0000",
-") c None",
-/* pixels */
-"))))))))))))))))))))))))))))))))",
-"))))))))))))))))))))))))))))))))",
-"))))))))))))))))))))))))))))))))",
-"))))))))))))))))))))))))))))))))",
-"))))))))))) )))) )))))))))))",
-")))()))))) vbv )) vbv ))))))()))",
-"))))()))) nmMmn nmMmn ))))())))",
-")))))())) mN^NmvvmN^Nm )))()))))",
-"))))))()) M^/((((((/^M ))())))))",
-")))))))() m((O4it,X((m )()))))))",
-"))))))))( (>7kkkgfa*>( ())))))))",
-")))) )))( ycBBBclhs- ())) ))))",
-"))) ()(AFG((((xhs()( )))",
-") )))( C(K(PPKG(c(t ())) )",
-") )))))()%JL(YTYULJ(lfo)())))) )",
-"))))))())dK(R(WERU(F(g&))())))))",
-"))))))())C(YEQ(QE(PGB(q))())))))",
-")))) ( )H(TW!~!WTPJB(y) ( ))))",
-"))) )( H(YEQ!QEYPGB(a () )))",
-")) ))())F(URE(ER(LFc(t))()) ))",
-") )))())lH(U(TTUL(A(f3))())) )",
-") )))))()0DJ(PPPKGD(ga$)())))) )",
-")))))))( #c(F(JJFA(k(q. ()))))))",
-"))))) ()(lcB((((hst()( )))))",
-")))) )))(+sgkkhgfaq2.())) ))))",
-")))) )))()(-iaaaiq81@()())) ))))",
-")))) ))()))((55521;(()))()) ))))",
-"))) )())))) (((((( )))))() )))",
-"))) )()))))))) ))))))))() )))",
-")) ())))))))))))))))))))))( ))",
-")) ())))))))))))))))))))))))( ))",
-"))))))))))))))))))))))))))))))))"
-};
diff --git a/debian/_base/applications/kdbg/debian/rules b/debian/_base/applications/kdbg/debian/rules
index a4ee92738..91bb7058b 100755
--- a/debian/_base/applications/kdbg/debian/rules
+++ b/debian/_base/applications/kdbg/debian/rules
@@ -1,26 +1,21 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Currently is not possible to build with --enable-final
-DEB_BUILD_OPTIONS += noopt
-
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
-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)
-
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
-install/kdbg-trinity::
- dh_testdir
-
- dh_install debian/kdbg.xpm opt/trinity/share/pixmaps
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -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"
- dh_installman debian/kdbg.1
- mkdir -p debian/kdbg-trinity/opt/trinity/share/man
- mv debian/kdbg-trinity/usr/share/man/man1 debian/kdbg-trinity/opt/trinity/share/man/
- rmdir debian/kdbg-trinity/usr/share/man
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)