--- ktechlab-0.3.orig/debian/compat +++ ktechlab-0.3/debian/compat @@ -0,0 +1 @@ +6 --- ktechlab-0.3.orig/debian/copyright +++ ktechlab-0.3/debian/copyright @@ -0,0 +1,49 @@ +This package was debianized by Steffen Joeris on +Thu, 12 Jan 2006 00:47:52 +0100. + +It was downloaded from http://ktechlab.org/download/ + +Copyright Holder: David Saxton + Daniel Clarke + (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 +Files: src/katemdi.h + src/katemdi.cpp + + Copyright (C) 2002, 2003 Joseph Wenninger +Files: src/katemdi.h + src/katemdi.cpp + + Copyright (C) 2002 Simon Hausmann +Files: src/katemdi.cpp + + Copyright Anders Lund +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'. --- ktechlab-0.3.orig/debian/menu +++ ktechlab-0.3/debian/menu @@ -0,0 +1,6 @@ +?package(ktechlab):needs="X11" \ + section="Applications/Programming" \ + hints="KDE" \ + title="KTechLab" \ + command="/usr/bin/ktechlab" \ + icon="/usr/share/pixmaps/ktechlab.xpm" --- ktechlab-0.3.orig/debian/control +++ ktechlab-0.3/debian/control @@ -0,0 +1,16 @@ +Source: ktechlab +Section: kde +Priority: optional +Maintainer: Georges Khaznadar +Build-Depends: debhelper (>= 6.0.0), autotools-dev, imagemagick, kdelibs4-dev, dpatch, gpsim-dev (>= 0.21.11-2), libgtk2.0-dev, libreadline5-dev, libopts25-dev, chrpath, libpopt-dev, kdesdk-scripts +Standards-Version: 3.7.3 + +Package: ktechlab +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: gputils +Description: circuit simulator for microcontrollers and electronics + 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/ --- ktechlab-0.3.orig/debian/changelog +++ ktechlab-0.3/debian/changelog @@ -0,0 +1,83 @@ +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 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 Wed, 19 Sep 2007 22:29:06 +1000 + +ktechlab (0.3-7) unstable; urgency=low + + * Upload to unstable + + -- Steffen Joeris 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 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 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 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 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 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 Thu, 12 Jan 2006 00:47:52 +0100 + --- ktechlab-0.3.orig/debian/rules +++ ktechlab-0.3/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +-include debian/debiandirs + +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 +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 + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) + +build: build-stamp debian/ktechlab.xpm + +build-stamp: config.status + dh_testdir + + $(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 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 + $(MAKE) install DESTDIR=$(CURDIR)/debian/ktechlab + $(MAKE) -C po install DESTDIR=$(CURDIR)/debian/ktechlab + install -D -m 644 debian/ktechlab.xpm debian/ktechlab/usr/share/pixmaps/ktechlab.xpm + chrpath -d $(CURDIR)/debian/ktechlab/usr/bin/ktechlab + chrpath -d $(CURDIR)/debian/ktechlab/usr/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 --- ktechlab-0.3.orig/debian/manpages +++ ktechlab-0.3/debian/manpages @@ -0,0 +1,2 @@ +debian/ktechlab.1 +debian/microbe.1 --- ktechlab-0.3.orig/debian/microbe.1 +++ ktechlab-0.3/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 +Use 'caption' as name in the titlebar +.TP +.B \-\-icon +Use 'icon' as the application icon +.TP +.B \-\-miniicon +Use 'icon' as the icon in the titlebar +.TP +.B \-\-config +Use alternative configuration file +.TP +.B \-\-dcopserver +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