summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick_automake/applications/ktechlab
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 16:17:43 -0500
commit9b2075d9b89fc628c447fbb98f43ef72e4a9c81d (patch)
tree2de9e866f064b1c7d36df24de1df305474f949fe /ubuntu/maverick_automake/applications/ktechlab
downloadtde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.tar.gz
tde-packaging-9b2075d9b89fc628c447fbb98f43ef72e4a9c81d.zip
Initial import from old SVN repository
Note that only the Debian and Ubuntu folders were preserved
Diffstat (limited to 'ubuntu/maverick_automake/applications/ktechlab')
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/changelog102
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/compat1
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/control16
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/copyright49
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/debiandirs32
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/docs2
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/ktechlab.1151
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/manpages2
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/menu6
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/microbe.1162
-rw-r--r--ubuntu/maverick_automake/applications/ktechlab/debian/patches/.gitignore0
-rwxr-xr-xubuntu/maverick_automake/applications/ktechlab/debian/rules116
12 files changed, 639 insertions, 0 deletions
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/changelog b/ubuntu/maverick_automake/applications/ktechlab/debian/changelog
new file mode 100644
index 000000000..9ce9a570a
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/changelog
@@ -0,0 +1,102 @@
+ktechlab-kde3 (0.3-9~1ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600
+
+ktechlab-kde3 (0.3-9~0ubuntu5) intrepid; urgency=low
+
+ * Moved KDE3 to /opt/kde3
+ * Integrated properly with KDE4.2+
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600
+
+ktechlab-kde3 (0.3-9~0ubuntu2) intrepid; urgency=low
+
+ * Added -kde3 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 kdesdk-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/ubuntu/maverick_automake/applications/ktechlab/debian/compat b/ubuntu/maverick_automake/applications/ktechlab/debian/compat
new file mode 100644
index 000000000..1e8b31496
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/control b/ubuntu/maverick_automake/applications/ktechlab/debian/control
new file mode 100644
index 000000000..b6757384b
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/control
@@ -0,0 +1,16 @@
+Source: ktechlab-kde3
+Section: kde
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: debhelper (>= 6.0.0), imagemagick, kdelibs4-kde3-dev, dpatch, gpsim-dev (>= 0.21.11-2), libgtk2.0-dev, libreadline5-dev, libopts25-dev, chrpath, libpopt-dev, kdesdk-scripts-kde3, automake1.11-kde3, autoconf2.63, libtool, libltdl-dev
+Standards-Version: 3.8.3
+
+Package: ktechlab-kde3
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: gputils
+Description: circuit simulator for microcontrollers and electronics [KDE3]
+ 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/ubuntu/maverick_automake/applications/ktechlab/debian/copyright b/ubuntu/maverick_automake/applications/ktechlab/debian/copyright
new file mode 100644
index 000000000..5b1af8a2e
--- /dev/null
+++ b/ubuntu/maverick_automake/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/ubuntu/maverick_automake/applications/ktechlab/debian/debiandirs b/ubuntu/maverick_automake/applications/ktechlab/debian/debiandirs
new file mode 100644
index 000000000..22305506e
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/debiandirs
@@ -0,0 +1,32 @@
+export kde_confdir=/etc/kde3
+export kde_prefix=/opt/kde3
+export kde_bindir=/opt/kde3/bin
+export kde_includedir=/opt/kde3/include/kde
+export kde_libdir=/opt/kde3/lib
+export kde_cgidir=/opt/kde3/lib/cgi-bin
+export kde_moduledir=/opt/kde3/lib/kde3
+export kde_appsdir=/opt/kde3/share/applnk
+export kde_datadir=/opt/kde3/share/apps
+export kde_htmldir=/opt/kde3/share/doc/kde/HTML
+export kde_icondir=/opt/kde3/share/icons
+export kde_locale=/opt/kde3/share/locale
+export kde_mimedir=/opt/kde3/share/mimelnk
+export kde_servicesdir=/opt/kde3/share/services
+export kde_servicetypesdir=/opt/kde3/share/servicetypes
+export kde_sounddir=/opt/kde3/share/sounds
+export kde_templatesdir=/opt/kde3/share/templates
+export kde_wallpaperdir=/opt/kde3/share/wallpapers
+export mandir=/opt/kde3/share/man
+export infodir=/opt/kde3/share/info
+export sysconfdir=/etc
+export QTDIR=/usr/share/qt3
+export IDL=/opt/kde3/bin/cuteidl
+export DCOPIDL=/opt/kde3/bin/dcopidl
+export DCOPIDL2CPP=/opt/kde3/bin/dcopidl2cpp
+export KDB2HTML=/opt/kde3/bin/kdb2html
+export MCOPIDL=/opt/kde3/bin/mcopidl
+export ARTSCCONFIG=/opt/kde3/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
+configkdevelop=--disable-debug --disable-rpath --enable-docbase --enable-kdoc2 --libdir=$(kde_libdir) --includedir=$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=$(mandir) --with-kdelibsdoc-dir=/opt/kde3/share/doc/kdelibs3-doc/html --with-xinerama
+configkdepim=--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/ubuntu/maverick_automake/applications/ktechlab/debian/docs b/ubuntu/maverick_automake/applications/ktechlab/debian/docs
new file mode 100644
index 000000000..724e08449
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/ktechlab.1 b/ubuntu/maverick_automake/applications/ktechlab/debian/ktechlab.1
new file mode 100644
index 000000000..226deb2e6
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/ktechlab.1
@@ -0,0 +1,151 @@
+.\" This file was generated by kdemangen.pl
+.TH KTECHLAB 1 "Jan 2006" "K Desktop Environment" "An IDE for microcontrollers and electronics"
+.SH NAME
+ktechlab
+\- An IDE for microcontrollers and electronics
+.SH SYNOPSIS
+ktechlab [Qt\-options] [KDE\-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\-kde
+Show KDE 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 KDE 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 KDE 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/ubuntu/maverick_automake/applications/ktechlab/debian/manpages b/ubuntu/maverick_automake/applications/ktechlab/debian/manpages
new file mode 100644
index 000000000..ae17eaa94
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/manpages
@@ -0,0 +1,2 @@
+debian/ktechlab.1
+debian/microbe.1
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/menu b/ubuntu/maverick_automake/applications/ktechlab/debian/menu
new file mode 100644
index 000000000..65fccb438
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/menu
@@ -0,0 +1,6 @@
+?package(ktechlab):needs="X11" \
+ section="Applications/Programming" \
+ hints="KDE" \
+ title="KTechLab" \
+ command="/opt/kde3/bin/ktechlab" \
+ icon="/usr/share/pixmaps/ktechlab.xpm"
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/microbe.1 b/ubuntu/maverick_automake/applications/ktechlab/debian/microbe.1
new file mode 100644
index 000000000..ad4ae5ec0
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/microbe.1
@@ -0,0 +1,162 @@
+.\" This file was generated by kdemangen.pl
+.TH MICROBE 1 "Jan 2006" "K Desktop Environment" "The Microbe Compiler"
+.SH NAME
+microbe
+\- The Microbe Compiler
+.SH SYNOPSIS
+microbe [Qt\-options] [KDE\-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\-kde
+Show KDE 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 KDE 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 KDE 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/ubuntu/maverick_automake/applications/ktechlab/debian/patches/.gitignore b/ubuntu/maverick_automake/applications/ktechlab/debian/patches/.gitignore
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/patches/.gitignore
diff --git a/ubuntu/maverick_automake/applications/ktechlab/debian/rules b/ubuntu/maverick_automake/applications/ktechlab/debian/rules
new file mode 100755
index 000000000..6a006f9b9
--- /dev/null
+++ b/ubuntu/maverick_automake/applications/ktechlab/debian/rules
@@ -0,0 +1,116 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+-include debian/debiandirs
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde
+DEB_CONFIGURE_MANDIR := /opt/kde3/share/man
+DEB_CONFIGURE_PREFIX := /opt/kde3
+DEB_CONFIGURE_INFODIR := /opt/kde3/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+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: configure.in
+ dh_testdir
+ dpatch apply-all
+
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ PATH=/opt/kde3/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/kde3/lib CMAKE_INCLUDE_PATH=/opt/kde3/include/kde CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/kde3
+
+build: build-stamp debian/ktechlab.xpm
+
+build-stamp: config.status
+ dh_testdir
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+ env PATH=/opt/kde3/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/kde3/lib CMAKE_INCLUDE_PATH=/opt/kde3/include/kde $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f po/Makefile ] || $(MAKE) -C po clean
+ dpatch deapply-all
+ rm -rf debian/patched
+
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
+
+ [ ! -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/kde3/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/kde3/lib CMAKE_INCLUDE_PATH=/opt/kde3/include/kde $(MAKE) install DESTDIR=$(CURDIR)/debian/ktechlab-kde3
+ env PATH=/opt/kde3/bin:$(PATH) CMAKE_LIBRARY_PATH=/opt/kde3/lib CMAKE_INCLUDE_PATH=/opt/kde3/include/kde $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ktechlab-kde3
+ install -D -m 644 debian/ktechlab.xpm debian/ktechlab-kde3/opt/kde3/share/pixmaps/ktechlab.xpm
+ chrpath -d $(CURDIR)/debian/ktechlab-kde3/opt/kde3/bin/ktechlab
+ chrpath -d $(CURDIR)/debian/ktechlab-kde3/opt/kde3/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
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install unpatch