summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications/ktechlab
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/applications/ktechlab')
-rw-r--r--debian/_base/applications/ktechlab/debian/changelog102
-rw-r--r--debian/_base/applications/ktechlab/debian/compat1
-rw-r--r--debian/_base/applications/ktechlab/debian/control18
-rw-r--r--debian/_base/applications/ktechlab/debian/copyright49
-rw-r--r--debian/_base/applications/ktechlab/debian/debiandirs32
-rw-r--r--debian/_base/applications/ktechlab/debian/docs2
-rw-r--r--debian/_base/applications/ktechlab/debian/ktechlab.1151
-rw-r--r--debian/_base/applications/ktechlab/debian/manpages2
-rw-r--r--debian/_base/applications/ktechlab/debian/menu6
-rw-r--r--debian/_base/applications/ktechlab/debian/microbe.1162
-rw-r--r--debian/_base/applications/ktechlab/debian/patches/.gitignore0
-rwxr-xr-xdebian/_base/applications/ktechlab/debian/rules107
-rw-r--r--debian/_base/applications/ktechlab/debian/source/format1
-rw-r--r--debian/_base/applications/ktechlab/debian/source/options6
14 files changed, 639 insertions, 0 deletions
diff --git a/debian/_base/applications/ktechlab/debian/changelog b/debian/_base/applications/ktechlab/debian/changelog
new file mode 100644
index 000000000..757702a77
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/changelog
@@ -0,0 +1,102 @@
+ktechlab-trinity (0.3-9~1ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 Jul 2009 16:08:00 -0600
+
+ktechlab-trinity (0.3-9~0ubuntu5) intrepid; urgency=low
+
+ * Moved Trinity to /opt/trinity
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600
+
+ktechlab-trinity (0.3-9~0ubuntu2) intrepid; urgency=low
+
+ * Added -trinity suffix
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Wed, 19 Dec 2008 12:52:00 -0600
+
+ktechlab (0.3-9) unstable; urgency=low
+
+ * adopted the package ktechlab, with the agreement of Steffen Joeris.
+ * Made a new patch to make the package compilable with g++-4.3:
+ src/electronics/simulation/matrix.cpp: simplified the invokation of
+ new ETMap() to use the default parameters
+ other places: cleaned the calls to std::abs which need either a
+ float or a double, made a few modifications to include math.h,
+ define the type uint when necessary.
+ (Closes: #474842)
+ * Made a true Homepage: entry in debian/control
+ * Upgraded Standards-Version to 3.7.3
+ * added a French translation, modified po/Makefile.in to deal with
+ translations.
+ * Raised the DH_COMPAT level to 6.
+ * Added tdesdk-scripts to build-depends to get the extractrc command
+
+ -- Georges Khaznadar <georgesk@ofset.org> Sat, 07 Jun 2008 05:38:09 +0200
+
+ktechlab (0.3-8) unstable; urgency=medium
+
+ * Add libpopt-dev as build-depends to avoid FTBFS (Closes: #441480)
+ * Remove two rpaths from the binaries and add chrpath to
+ build-depends
+ * Change Apps to Applications in menu file to follow new format
+
+ -- Steffen Joeris <white@debian.org> Wed, 19 Sep 2007 22:29:06 +1000
+
+ktechlab (0.3-7) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Steffen Joeris <white@debian.org> Tue, 08 May 2007 18:02:15 +1000
+
+ktechlab (0.3-6) experimental; urgency=low
+
+ * Expand 30-g++-4.2.dpatch to cover another compiler problem,
+ thanks to Martin Michlmayer (Closes: #394173)
+ * Change my maintainer address
+
+ -- Steffen Joeris <white@debian.org> Tue, 9 Jan 2007 09:48:19 +0100
+
+ktechlab (0.3-5) unstable; urgency=low
+
+ * Add gpsim-dev to build-depends to get pic support working
+ (Closes: #357691)
+ * Add libgtk2.0-dev and libreadline5-dev to build-depends
+ * Upload sponsored by Petter Reinholdtsen.
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Fri, 29 Sep 2006 17:25:55 +1000
+
+ktechlab (0.3-4) unstable; urgency=low
+
+ * Now recommends gputils for other features
+ * Add 30-g++.dpatch to prevent FTBFS with g++-4.2 (Closes: #362208)
+ * Upload sponsored by Petter Reinholdtsen.
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Sat, 24 Jun 2006 14:03:05 +0200
+
+ktechlab (0.3-3) unstable; urgency=low
+
+ * Include patch to let ktechlab build with g++-4.1
+ Thanks to Martin Michlmayr (Closes: #356611)
+ * Upload sponsored by Petter Reinholdtsen.
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Mon, 13 Mar 2006 00:57:32 +0100
+
+ktechlab (0.3-2) unstable; urgency=low
+
+ * remove include sys/io.h to let the package build
+ on other archs then i386 and amd64 (Closes: #349854)
+ * add dpatch to build-depends
+ * upload sponsored by Petter Reinholdtsen.
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Thu, 26 Jan 2006 00:21:36 +0100
+
+ktechlab (0.3-1) unstable; urgency=low
+
+ * Initial release (Closes: #308551)
+ * Upload sponsored by Petter Reinholdtsen.
+
+ -- Steffen Joeris <steffen.joeris@skolelinux.de> Thu, 12 Jan 2006 00:47:52 +0100
+
diff --git a/debian/_base/applications/ktechlab/debian/compat b/debian/_base/applications/ktechlab/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/_base/applications/ktechlab/debian/control b/debian/_base/applications/ktechlab/debian/control
new file mode 100644
index 000000000..39ffbf05e
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/control
@@ -0,0 +1,18 @@
+Source: ktechlab-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: debhelper (>= 7.0.50~), cdbs, quilt, imagemagick, tdelibs14-trinity-dev, gpsim-dev (>= 0.21.11-2), libgtk2.0-dev, libreadline-dev | libreadline6-dev, libopts25-dev, chrpath, libpopt-dev, tdesdk-scripts-trinity, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+
+Package: ktechlab-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: ktechlab-trinity (<< 4:14.0.0~)
+Breaks: ktechlab-trinity (<< 4:14.0.0~)
+Recommends: gputils
+Description: circuit simulator for microcontrollers and electronics [Trinity]
+ KTechlab is a circuit simulator with a nice, clickable and discoverable
+ interface. It supports many discrete components, logic circuits as well
+ as PIC programming in its own Basic dialect and some form of assembler.
+Homepage: http://ktechlab.org/
diff --git a/debian/_base/applications/ktechlab/debian/copyright b/debian/_base/applications/ktechlab/debian/copyright
new file mode 100644
index 000000000..5b1af8a2e
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/copyright
@@ -0,0 +1,49 @@
+This package was debianized by Steffen Joeris <steffen.joeris@skolelinux.de> on
+Thu, 12 Jan 2006 00:47:52 +0100.
+
+It was downloaded from http://ktechlab.org/download/
+
+Copyright Holder: David Saxton <david@bluehaze.org>
+ Daniel Clarke <daniel.jc@gmail.com>
+ (Main Developers)
+
+Additional Copyright Holders:
+ Copyright (C) 1997 Martin Jones (mjones@kde.org)
+Files: src/gui/colorcombo.h
+
+ Copyright (C) 2005 by Fredy Yanardi
+Files: src/electronics/components/magnitudecomparator.h
+ src/electronics/components/magnitudecomparator.cpp
+
+ Copyright (C) 2005 by John Myers
+Files: src/electronics/components/rotoswitch.h
+ src/electronics/components/rotoswitch.cpp
+
+ Copyright (C) 2005 Christoph Cullmann <cullmann@kde.org>
+Files: src/katemdi.h
+ src/katemdi.cpp
+
+ Copyright (C) 2002, 2003 Joseph Wenninger <jowenn@kde.org>
+Files: src/katemdi.h
+ src/katemdi.cpp
+
+ Copyright (C) 2002 Simon Hausmann <hausmann@kde.org>
+Files: src/katemdi.cpp
+
+ Copyright Anders Lund <anders.lund@lund.tdcadsl.dk>
+Files: src/view.cpp
+
+
+License:
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License, version 2
+or higher as published by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANDABILITY of FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU General Public License for details.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/_base/applications/ktechlab/debian/debiandirs b/debian/_base/applications/ktechlab/debian/debiandirs
new file mode 100644
index 000000000..f2d481ccf
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/debiandirs
@@ -0,0 +1,32 @@
+export kde_confdir=/etc/trinity
+export kde_prefix=/opt/trinity
+export kde_bindir=/opt/trinity/bin
+export kde_includedir=/opt/trinity/include/tde
+export kde_libdir=/opt/trinity/lib
+export kde_cgidir=/opt/trinity/lib/cgi-bin
+export kde_moduledir=/opt/trinity/lib/trinity
+export kde_appsdir=/opt/trinity/share/applnk
+export kde_datadir=/opt/trinity/share/apps
+export kde_htmldir=/opt/trinity/share/doc/tde/HTML
+export kde_icondir=/opt/trinity/share/icons
+export kde_locale=/opt/trinity/share/locale
+export kde_mimedir=/opt/trinity/share/mimelnk
+export kde_servicesdir=/opt/trinity/share/services
+export kde_servicetypesdir=/opt/trinity/share/servicetypes
+export kde_sounddir=/opt/trinity/share/sounds
+export kde_templatesdir=/opt/trinity/share/templates
+export kde_wallpaperdir=/opt/trinity/share/wallpapers
+export mandir=/opt/trinity/share/man
+export infodir=/opt/trinity/share/info
+export sysconfdir=/etc
+export QTDIR=/usr/share/qt3
+export IDL=/opt/trinity/bin/cuteidl
+export DCOPIDL=/opt/trinity/bin/dcopidl
+export DCOPIDL2CPP=/opt/trinity/bin/dcopidl2cpp
+export KDB2HTML=/opt/trinity/bin/kdb2html
+export MCOPIDL=/opt/trinity/bin/mcopidl
+export ARTSCCONFIG=/opt/trinity/bin/artsc-config
+export INSTALL_DATA=install -p -c -m 644
+configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --libexecdir=$(kde_bindir) --sysconfdir=$(sysconfdir) --libdir=$(kde_libdir) --includedir=$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --infodir=$(infodir) --with-xinerama
+configtdevelop=--disable-debug --disable-rpath --enable-docbase --enable-kdoc2 --libdir=$(kde_libdir) --includedir=$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --with-tdelibsdoc-dir=/opt/trinity/share/doc/tdelibs3-doc/html --with-xinerama
+configtdepim=--disable-debug --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=$(kde_prefix) --libexecdir=$(kde_bindir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --infodir=$(infodir) --with-xinerama
diff --git a/debian/_base/applications/ktechlab/debian/docs b/debian/_base/applications/ktechlab/debian/docs
new file mode 100644
index 000000000..724e08449
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/debian/_base/applications/ktechlab/debian/ktechlab.1 b/debian/_base/applications/ktechlab/debian/ktechlab.1
new file mode 100644
index 000000000..bb49c1dab
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/ktechlab.1
@@ -0,0 +1,151 @@
+.\" This file was generated by kdemangen.pl
+.TH KTECHLAB 1 "Jan 2006" "Trinity Desktop Environment" "An IDE for microcontrollers and electronics"
+.SH NAME
+ktechlab
+\- An IDE for microcontrollers and electronics
+.SH SYNOPSIS
+ktechlab [Qt\-options] [TDE\-options] [URL]
+.SH DESCRIPTION
+An IDE for microcontrollers and electronics
+.SH OPTIONS
+.SS
+.SS Arguments:
+.TP
+.B URL
+Document to open.
+.SS Generic options:
+.TP
+.B \-\-help
+Show help about options
+.TP
+.B \-\-help\-qt
+Show Qt specific options
+.TP
+.B \-\-help\-tde
+Show TDE specific options
+.TP
+.B \-\-help\-all
+Show all options
+.TP
+.B \-\-author
+Show author information
+.TP
+.B \-v, \-\-version
+Show version information
+.TP
+.B \-\-license
+Show license information
+.TP
+.B \-\-
+End of options
+.SS
+.SS TDE options:
+.TP
+.B \-\-caption <caption>
+Use 'caption' as name in the titlebar
+.TP
+.B \-\-icon <icon>
+Use 'icon' as the application icon
+.TP
+.B \-\-miniicon <icon>
+Use 'icon' as the icon in the titlebar
+.TP
+.B \-\-config <filename>
+Use alternative configuration file
+.TP
+.B \-\-dcopserver <server>
+Use the DCOP Server specified by 'server'
+.TP
+.B \-\-nocrashhandler
+Disable crash handler, to get core dumps
+.TP
+.B \-\-waitforwm
+Waits for a WM_NET compatible windowmanager
+.TP
+.B \-\-style <style>
+sets the application GUI style
+.TP
+.B \-\-geometry <geometry>
+sets the client geometry of the main widget - see man X for the argument format
+.SS
+.SS Qt options:
+.TP
+.B \-\-display <displayname>
+Use the X-server display 'displayname'
+.TP
+.B \-\-session <sessionId>
+Restore the application for the given 'sessionId'
+.TP
+.B \-\-cmap
+Causes the application to install a private color
+map on an 8-bit display
+.TP
+.B \-\-ncols <count>
+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
+.B \-\-nograb
+tells Qt to never grab the mouse or the keyboard
+.TP
+.B \-\-dograb
+running under a debugger can cause an implicit
+-nograb, use -dograb to override
+.TP
+.B \-\-sync
+switches to synchronous mode for debugging
+.TP
+.B \-\-fn, \-\-font <fontname>
+defines the application font
+.TP
+.B \-\-bg, \-\-background <color>
+sets the default background color and an
+application palette (light and dark shades are
+calculated)
+.TP
+.B \-\-fg, \-\-foreground <color>
+sets the default foreground color
+.TP
+.B \-\-btn, \-\-button <color>
+sets the default button color
+.TP
+.B \-\-name <name>
+sets the application name
+.TP
+.B \-\-title <title>
+sets the application title (caption)
+.TP
+.B \-\-visual TrueColor
+forces the application to use a TrueColor visual on
+an 8-bit display
+.TP
+.B \-\-inputstyle <inputstyle>
+sets XIM (X Input Method) input style. Possible
+values are onthespot, overthespot, offthespot and
+root
+.TP
+.B \-\-im <XIM server>
+set XIM server
+.TP
+.B \-\-noxim
+disable XIM
+.TP
+.B \-\-reverse
+mirrors the whole layout of widgets
+.SS
+
+.SH SEE ALSO
+Full user documentation is available through the TDE Help Center. You can also enter the URL
+.BR help:/ktechlab/
+directly into konqueror or you can run
+.BR "`khelpcenter help:/ktechlab/'"
+from the command-line.
+.br
+.SH AUTHORS
+.nf
+David Saxton <david@bluehaze.org>
+.br
+Daniel Clarke <daniel.jc@gmail.com>
+.br
+
diff --git a/debian/_base/applications/ktechlab/debian/manpages b/debian/_base/applications/ktechlab/debian/manpages
new file mode 100644
index 000000000..ae17eaa94
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/manpages
@@ -0,0 +1,2 @@
+debian/ktechlab.1
+debian/microbe.1
diff --git a/debian/_base/applications/ktechlab/debian/menu b/debian/_base/applications/ktechlab/debian/menu
new file mode 100644
index 000000000..d3828adaf
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/menu
@@ -0,0 +1,6 @@
+?package(ktechlab-trinity):needs="X11" \
+ section="Applications/Programming" \
+ hints="TDE" \
+ title="KTechLab" \
+ command="/opt/trinity/bin/ktechlab" \
+ icon="/opt/trinity/share/pixmaps/ktechlab.xpm"
diff --git a/debian/_base/applications/ktechlab/debian/microbe.1 b/debian/_base/applications/ktechlab/debian/microbe.1
new file mode 100644
index 000000000..bbe54c32b
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/microbe.1
@@ -0,0 +1,162 @@
+.\" This file was generated by kdemangen.pl
+.TH MICROBE 1 "Jan 2006" "Trinity Desktop Environment" "The Microbe Compiler"
+.SH NAME
+microbe
+\- The Microbe Compiler
+.SH SYNOPSIS
+microbe [Qt\-options] [TDE\-options] [options] [Input URL] [Output URL]
+.SH DESCRIPTION
+
+.SH OPTIONS
+.SS
+.SS Arguments:
+.TP
+.B Input
+URL Input filename
+.TP
+.B Output
+URL Output filename
+.SS Options:
+.TP
+.B \-\-show\-source
+Show source code lines in assembly output
+.TP
+.B \-\-nooptimize
+Do not attempt optimization of generated instructions.
+.SS
+.SS Generic options:
+.TP
+.B \-\-help
+Show help about options
+.TP
+.B \-\-help\-qt
+Show Qt specific options
+.TP
+.B \-\-help\-tde
+Show TDE specific options
+.TP
+.B \-\-help\-all
+Show all options
+.TP
+.B \-\-author
+Show author information
+.TP
+.B \-v, \-\-version
+Show version information
+.TP
+.B \-\-license
+Show license information
+.TP
+.B \-\-
+End of options
+.SS
+.SS TDE options:
+.TP
+.B \-\-caption <caption>
+Use 'caption' as name in the titlebar
+.TP
+.B \-\-icon <icon>
+Use 'icon' as the application icon
+.TP
+.B \-\-miniicon <icon>
+Use 'icon' as the icon in the titlebar
+.TP
+.B \-\-config <filename>
+Use alternative configuration file
+.TP
+.B \-\-dcopserver <server>
+Use the DCOP Server specified by 'server'
+.TP
+.B \-\-nocrashhandler
+Disable crash handler, to get core dumps
+.TP
+.B \-\-waitforwm
+Waits for a WM_NET compatible windowmanager
+.TP
+.B \-\-style <style>
+sets the application GUI style
+.TP
+.B \-\-geometry <geometry>
+sets the client geometry of the main widget - see man X for the argument format
+.SS
+.SS Qt options:
+.TP
+.B \-\-display <displayname>
+Use the X-server display 'displayname'
+.TP
+.B \-\-session <sessionId>
+Restore the application for the given 'sessionId'
+.TP
+.B \-\-cmap
+Causes the application to install a private color
+map on an 8-bit display
+.TP
+.B \-\-ncols <count>
+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
+.B \-\-nograb
+tells Qt to never grab the mouse or the keyboard
+.TP
+.B \-\-dograb
+running under a debugger can cause an implicit
+-nograb, use -dograb to override
+.TP
+.B \-\-sync
+switches to synchronous mode for debugging
+.TP
+.B \-\-fn, \-\-font <fontname>
+defines the application font
+.TP
+.B \-\-bg, \-\-background <color>
+sets the default background color and an
+application palette (light and dark shades are
+calculated)
+.TP
+.B \-\-fg, \-\-foreground <color>
+sets the default foreground color
+.TP
+.B \-\-btn, \-\-button <color>
+sets the default button color
+.TP
+.B \-\-name <name>
+sets the application name
+.TP
+.B \-\-title <title>
+sets the application title (caption)
+.TP
+.B \-\-visual TrueColor
+forces the application to use a TrueColor visual on
+an 8-bit display
+.TP
+.B \-\-inputstyle <inputstyle>
+sets XIM (X Input Method) input style. Possible
+values are onthespot, overthespot, offthespot and
+root
+.TP
+.B \-\-im <XIM server>
+set XIM server
+.TP
+.B \-\-noxim
+disable XIM
+.TP
+.B \-\-reverse
+mirrors the whole layout of widgets
+.SS
+
+.SH SEE ALSO
+Full user documentation is available through the TDE Help Center. You can also enter the URL
+.BR help:/microbe/
+directly into konqueror or you can run
+.BR "`khelpcenter help:/microbe/'"
+from the command-line.
+.br
+.SH AUTHORS
+.nf
+Daniel Clarke <daniel.jc@gmail.com>
+.br
+David Saxton <david@bluehaze.org>
+.br
+
diff --git a/debian/_base/applications/ktechlab/debian/patches/.gitignore b/debian/_base/applications/ktechlab/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/patches/.gitignore
diff --git a/debian/_base/applications/ktechlab/debian/rules b/debian/_base/applications/ktechlab/debian/rules
new file mode 100755
index 000000000..103f921f7
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/rules
@@ -0,0 +1,107 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+-include debian/debiandirs
+
+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
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+#debian/debiandirs: admin/debianrules
+# perl -w admin/debianrules echodirs > debian/debiandirs
+
+debian/ktechlab.xpm: icons/hi32-app-ktechlab.png
+ convert $< $@
+
+config.status:
+ dh_testdir
+
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub admin/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess admin/config.guess
+endif
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+ PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/tde CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity
+
+build: build-stamp debian/ktechlab.xpm
+
+build-stamp: config.status
+ dh_testdir
+ env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/tde $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f po/Makefile ] || $(MAKE) -C po clean
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f config.log debian/ktechlab.xpm config.sub config.guess
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/tde $(MAKE) install DESTDIR=$(CURDIR)/debian/ktechlab-trinity
+ env PATH=/opt/trinity/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/trinity/lib CMAKE_INCLUDE_PATH=/opt/trinity/include/tde $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ktechlab-trinity
+ install -D -m 644 debian/ktechlab.xpm debian/ktechlab-trinity/opt/trinity/share/pixmaps/ktechlab.xpm
+ chrpath -d $(CURDIR)/debian/ktechlab-trinity/opt/trinity/bin/ktechlab
+ chrpath -d $(CURDIR)/debian/ktechlab-trinity/opt/trinity/bin/microbe
+
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+ dh_installman
+ mv debian/ktechlab-trinity/usr/share/man debian/ktechlab-trinity/opt/trinity/share/
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install unpatch
diff --git a/debian/_base/applications/ktechlab/debian/source/format b/debian/_base/applications/ktechlab/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/ktechlab/debian/source/options b/debian/_base/applications/ktechlab/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/ktechlab/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*