diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 10:06:13 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 10:06:13 -0500 |
commit | 8d5bed7640a5505fbe21ee184f7908255251e512 (patch) | |
tree | 765407468d8dda616abdb32a80e8965c9e276aa1 /ubuntu/maverick | |
parent | 3fbac94d736aa9c26be38aec4665545eadddb617 (diff) | |
download | tde-packaging-8d5bed7640a5505fbe21ee184f7908255251e512.tar.gz tde-packaging-8d5bed7640a5505fbe21ee184f7908255251e512.zip |
Add initial packaging files for ksensors to Debian and Ubuntu
Diffstat (limited to 'ubuntu/maverick')
11 files changed, 662 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/ksensors/debian/changelog b/ubuntu/maverick/applications/ksensors/debian/changelog new file mode 100644 index 000000000..13cd26f35 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/changelog @@ -0,0 +1,436 @@ +ksensors (0.7.3-18) unstable; urgency=low + + * Link the ksensors binary with libtqt-mt (closes: bug#555063). + * Apply patch from Michael Schuele to fix multi-core sensors (closes: + bug#494090). + * Bumped standard version to 3.8.3 (no changes). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 14 Nov 2009 13:50:57 +0000 + +ksensors (0.7.3-17) unstable; urgency=low + + * Switch to debhelper 5. + * Bumped standard version to 3.8.2 (no changes). + * Don't assume config.guess and config.sub are updated by libtoolize + (Closes: bug#533987). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 30 Jun 2009 14:45:13 +0200 + +ksensors (0.7.3-16) unstable; urgency=medium + + * Bumped standard version to 3.8.0 (no changes). + * Get rid of libqt3-compat-headers, patch by Barry de Freese (closes: + bug#464657). + * Use to libsensors4 API. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 30 Jun 2008 16:12:07 +0200 + +ksensors (0.7.3-15) unstable; urgency=low + + * Update menu to match the new Debian menu subpolicy. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 30 Jul 2007 19:36:50 +0200 + +ksensors (0.7.3-14) unstable; urgency=low + + * Remove debconf templates as version 0.6.0 is now very old (not even + in sarge). + * Fix the installation path of the sound files (closes: bug#406706). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 21 Jun 2007 21:01:59 +0200 + +ksensors (0.7.3-13) unstable; urgency=medium + + * Fix the parsing of hddtemp output (closes: bug#394057). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Oct 2006 17:46:29 +0200 + +ksensors (0.7.3-12) unstable; urgency=medium + + * Backports Norvegian translation from CVS. + * Add support for sensors without min/max settings (closes: bug#391922). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 10 Oct 2006 22:41:09 +0200 + +ksensors (0.7.3-11) unstable; urgency=low + + * Fixed a silly test of the autoconf version in the KDE scripts. + * Bumped standard version to 3.7.2 (no changes). + + -- Aurelien Jarno <aurel32@debian.org> Fri, 21 Jul 2006 19:20:41 +0200 + +ksensors (0.7.3-10) unstable; urgency=low + + * Put all QRadioButtons of the alarm tab into a QButtonGroup widget + instead of a QLayout widget (closes: bug#353553). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 19 Feb 2006 22:32:06 +0100 + +ksensors (0.7.3-9) unstable; urgency=low + + * Relibtoolize the package to get rid of a lot of unneeded + dependencies, + + -- Aurelien Jarno <aurel32@debian.org> Thu, 24 Nov 2005 20:35:47 +0100 + +ksensors (0.7.3-8) unstable; urgency=low + + * Added Swedish translation of ksensors. Thanks to Daniel Nylander (closes: + bug#337117). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 3 Nov 2005 01:59:54 +0100 + +ksensors (0.7.3-7) unstable; urgency=low + + * Patches pulled from CVS: + - Polish translation. + - Support for reading temperature from SCSI disks. Thanks to James + Stark (closes: bug#334614). + + -- Aurelien Jarno <aurel32@debian.org> Wed, 19 Oct 2005 22:19:56 +0200 + +ksensors (0.7.3-6) unstable; urgency=low + + * Added Swedish debconf translation. Thanks to Daniel Nylander (closes: + bug#330609). + + -- Aurelien Jarno <aurel32@debian.org> Mon, 3 Oct 2005 00:27:51 +0200 + +ksensors (0.7.3-5) unstable; urgency=low + + * C++ transition: build-depends on libqt3-mt-dev (>= 3:3.3.4-7) and + kdelibs4-dev (>= 4:3.4.2-1). + * Bumped Standards-Version to 3.6.2 (no changes). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 18 Aug 2005 11:05:13 +0200 + +ksensors (0.7.3-4) unstable; urgency=low + + * Added Vietnamese debconf translation. Thanks to Clytie Siddall (closes + bug#312175). + * Fixed a typo in the debconf template. Thanks to Clytie Siddall (closes: + bug#312176). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 7 Jun 2005 01:15:46 +0200 + +ksensors (0.7.3-3) unstable; urgency=low + + * Added Czech debconf translation. Thanks to Miroslav Kure (closes: + bug#293619). + + -- Aurelien Jarno <aurel32@debian.org> Fri, 4 Feb 2005 21:41:06 +0100 + +ksensors (0.7.3-2) unstable; urgency=low + + * Added Italian debconf translation. Thanks to Luca Monducci. (closes: + bug#272147). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 26 Sep 2004 00:57:43 +0200 + +ksensors (0.7.3-1) unstable; urgency=low + + * New upstream version: + - Added support for reading ACPI temperatures (closes: bug#255079). + + -- Aurelien Jarno <aurel32@debian.org> Thu, 19 Aug 2004 00:06:13 +0200 + +ksensors (0.7.2-17) unstable; urgency=low + + * Fixed display of values in the panel (closes: bug#265807). + * Fixed segfault when removing an info panel (closes: bug#225712, + #265806). + * Added an alarm sound (closes: bug#231280). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 17 Aug 2004 01:45:27 +0200 + +ksensors (0.7.2-16) unstable; urgency=low + + * Dont build-depends on make, it is a build-essential package. + * Applied a patch from Geoff Oakham to fix a freeze when used with hddtemp. + Thanks! (closes: bug#249093). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 15 May 2004 21:50:48 +0200 + +ksensors (0.7.2-15) unstable; urgency=low + + * Build-Depends on libsensors-dev (>= 2.8.4-1) so KSensors will be + built against libsensors3. + + -- Aurelien Jarno <aurel32@debian.org> Sun, 29 Feb 2004 18:58:22 +0100 + +ksensors (0.7.2-14) unstable; urgency=low + + * Moved ja.po in the right directory (closes: bug#227820). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 15 Feb 2004 23:20:17 +0100 + +ksensors (0.7.2-13) unstable; urgency=low + + * Added Japanese debconf translation. Thanks to Hideki Yamane. (closes: + bug#227820). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 10 Feb 2004 23:58:39 +0100 + +ksensors (0.7.2-12) unstable; urgency=low + + * Added de debconf translation. Thanks to the german Skolelinux team + (closes: bug#2223114). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 6 Dec 2003 23:45:54 +0100 + +ksensors (0.7.2-11) unstable; urgency=low + + * Added dependency on lm-sensors (closes: Bug#215794). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 14 Oct 2003 21:48:13 +0200 + +ksensors (0.7.2-10) unstable; urgency=low + + * Build-Depends on libsensors-dev (>= 2.8.0-2) so KSensors will be + built against libsensors2 (closes: Bug#203953, Bug#212938). + * Added ru debconf translation. Thanks to Ilgiz Kalmetev (closes: + Bug#214366). + + -- Aurelien Jarno <aurel32@debian.org> Mon, 6 Oct 2003 11:01:36 +0200 + +ksensors (0.7.2-9) unstable; urgency=low + + * The nl debconf translation is from Bart Cornelis and not Wessel + Dankers. Updated the changelog. Sorry Bart. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 20 Aug 2003 12:37:05 +0200 + +ksensors (0.7.2-8) unstable; urgency=low + + * Added nl debconf translation. Thanks to Bart Cornelis (closes: + Bug#204919). + * Bumped Standards-Version to 3.6.1. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 20 Aug 2003 11:24:53 +0200 + +ksensors (0.7.2-7) unstable; urgency=low + + * Added es debconf translation. Thanks to Carlos Alberto MartÃn Edo + (closes: Bug#201571). + * Bumped Standards-Version to 3.6.0. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 16 Jul 2003 17:36:03 +0200 + +ksensors (0.7.2-6) unstable; urgency=low + + * Added pt_BR debconf translations. Thanks to Andre Luis Lopes + (closes: Bug#198362). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 22 Jun 2003 02:59:03 +0200 + +ksensors (0.7.2-5) unstable; urgency=low + + * Rebuilt against latests libsensors-1debian1. + * Build-Depends on libsensors-dev (>= 2.7.0-4). + * Bumped Standards-Version to 3.5.10. + * Changed icon to full colors. + + -- Aurelien Jarno <aurel32@debian.org> Sun, 1 Jun 2003 23:52:09 +0200 + +ksensors (0.7.2-4) unstable; urgency=low + + * Rebuilt against latest libsensors1 (closes: Bug#191562). + * Depends on libsensors1 (>> 2.7.0) as this libraries has some lack + of dependencies. + + -- Aurelien Jarno <aurel32@debian.org> Thu, 1 May 2003 21:50:57 +0200 + +ksensors (0.7.2-3) unstable; urgency=low + + * Bumped Standards-Version to 3.5.9. + * Changed section from x11 to kde. + + -- Aurelien Jarno <aurel32@debian.org> Sat, 19 Apr 2003 15:31:26 +0200 + +ksensors (0.7.2-2) unstable; urgency=low + + * Debconf templates are now managed with po-debconf. + * Depends on ${misc:Depends}. + * Don't depends on both xlibs (>> 4.1.0) and xlibs (>> 4.2.0). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 4 Mar 2003 23:19:44 +0100 + +ksensors (0.7.2-1) unstable; urgency=low + + * New upstream release. + + -- Aurelien Jarno <aurel32@debian.org> Mon, 24 Feb 2003 09:42:58 +0100 + +ksensors (0.7-11) unstable; urgency=low + + * Build-depends on libqt3-compat-headers. + * Fixed a bug introduced by KDE 3 (closes: Bug#180982). + + -- Aurelien Jarno <aurel32@debian.org> Sun, 16 Feb 2003 17:48:52 +0100 + +ksensors (0.7-10) unstable; urgency=low + + * Rebuilt for KDE 3.1. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 5 Feb 2003 22:51:50 +0100 + +ksensors (0.7-9) unstable; urgency=low + + * Force build with gcc-2.95 on most archs, gcc-2.96 on ia64 and gcc-3.0 on + hppa. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 8 Jan 2003 14:53:22 +0100 + +ksensors (0.7-8) unstable; urgency=low + + * Updated the code for hddtemp-0.3. + + -- Aurelien Jarno <aurel32@debian.org> Sat, 4 Jan 2003 10:11:30 +0100 + +ksensors (0.7-7) unstable; urgency=low + + * Standards-Version bumped to 3.5.8. + * Changed icon to 24 colors to follow the menu policy. + * Updated copyright file. + + -- Aurelien Jarno <aurel32@debian.org> Fri, 20 Dec 2002 19:08:58 +0100 + +ksensors (0.7-6) unstable; urgency=low + + * Added a patch to handle temperature sensors whose name doesn't begin with + "temp" or "temp1" correctly (closes: Bug#165353). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 19 Oct 2002 20:56:32 +0200 + +ksensors (0.7-5) unstable; urgency=low + + * Added a patch to save the config on KDE exit (closes: Bug#158164). + + -- Aurelien Jarno <aurel32@debian.org> Tue, 8 Oct 2002 01:13:24 +0200 + +ksensors (0.7-4) unstable; urgency=low + + * Updated the code to correctly handle the degree sign in the output of + hddtemp. + + -- Aurelien Jarno <aurel32@debian.org> Thu, 26 Sep 2002 02:24:47 +0200 + +ksensors (0.7-3) unstable; urgency=low + + * Added an autostart option in configuration dialog (closes: Bug#155532). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 7 Sep 2002 11:59:19 +0200 + +ksensors (0.7-2) unstable; urgency=low + + * Added a patch to open the panel on same desktop as on exit + (closes: Bug#158164). + * Updated Policy standard compliance to 3.5.7 + + -- Aurelien Jarno <aurel32@debian.org> Wed, 4 Sep 2002 15:04:42 +0200 + +ksensors (0.7-1) unstable; urgency=low + + * New upstream release + Changelog: + - Allow docking fan and voltage sensors + - Configuration dialog redesign (more modular). + - Several panel sizes + For more information, please see the full Changelog in + /usr/share/doc/ksensors. + + -- Aurelien Jarno <aurel32@debian.org> Thu, 13 Jun 2002 17:49:49 +0200 + +ksensors (0.6.1-2) unstable; urgency=low + + * Now depends on debconf. + * Now recommends hddtemp. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 8 May 2002 22:45:50 +0200 + +ksensors (0.6.1-1) unstable; urgency=low + + * New upstream release. + Changelog: + - New Hardisks Temperatures sensor panels + - Changed cpu state, swap and ram panels appearance. + - Added splash screen. + - Added --nodock option. + - Configurable Panels colors. + - Support for multiple lm-sensors chips. + For more information, please see the full Changelog in + /usr/share/doc/ksensors. + + -- Aurelien Jarno <aurel32@debian.org> Thu, 2 May 2002 01:09:17 +0200 + +ksensors (0.5-8) unstable; urgency=low + + * This time with a correct "Maintainer" field. + + -- Aurelien Jarno <aurel32@debian.org> Wed, 10 Apr 2002 23:05:17 +0200 + +ksensors (0.5-7) unstable; urgency=low + + * Rebuild ksensors under pbuilder so it will depends on libsensors1 + (closes: Bug#142218). + + -- Aurelien Jarno <aurel32@debian.org> Wed, 10 Apr 2002 21:29:53 +0200 + +ksensors (0.5-6) unstable; urgency=low + + * Added Build-Depends. + + -- Aurelien Jarno <aurel32@debian.org> Sun, 31 Mar 2002 13:26:10 +0200 + +ksensors (0.5-5) unstable; urgency=low + + * Changed my maintainer e-mail address to <aurel32@debian.org>. :) + + -- Aurelien Jarno <aurel32@debian.org> Mon, 18 Mar 2002 21:24:46 +0100 + +ksensors (0.5-4) unstable; urgency=low + + * Created an autostart file (closes: Bug#136562). + + -- Aurelien Jarno <aurelien@aurel32.net> Sun, 3 Mar 2002 19:51:32 +0100 + +ksensors (0.5-3) unstable; urgency=low + + * Initial Debian upload (closes: Bug#129913). + + -- Aurelien Jarno <aurelien@aurel32.net> Fri, 8 Feb 2002 14:23:09 +0100 + +ksensors (0.5-2) unstable; urgency=low + + * Add Build-Depends. + + -- Aurelien Jarno <aurelien@aurel32.net> Thu, 24 Jan 2002 15:49:03 +0100 + +ksensors (0.5-1) unstable; urgency=low + + * New upstream release. + Changelog: + * Added Voltage Sensors panels + * Added Cpu state and Uptime panels + * Temperatures in celsius,farenheit or kelvin scales + * Configurable update intervals for sensors and system info panels + * English, spanish, french, german and dutch translations + * Configuration dialog redesign + + -- Aurelien Jarno <aurelien@aurel32.net> Sun, 12 Jan 2002 23:41:57 +0100 + +sensors (0.4-1) unstable; urgency=low + + * New upstream release. + + -- Aurelien Jarno <aurelien@aurel32.net> Mon, 07 Jan 2002 09:43:17 +0100 + +ksensors (0.3-1) unstable; urgency=low + + * Initial Release. + + -- Aurelien Jarno <aurelien@aurel32.net> Wed, 12 Dec 2001 16:49:52 +0100 + +Local variables: +mode: debian-changelog +End: diff --git a/ubuntu/maverick/applications/ksensors/debian/compat b/ubuntu/maverick/applications/ksensors/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/maverick/applications/ksensors/debian/control b/ubuntu/maverick/applications/ksensors/debian/control new file mode 100644 index 000000000..1e146a298 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/control @@ -0,0 +1,19 @@ +Source: ksensors +Section: kde +Priority: optional +Maintainer: Aurelien Jarno <aurel32@debian.org> +Build-Depends: debhelper (>> 5), autotools-dev, automake1.7, autoconf, libtool, perl, libsensors4-dev, libqt3-mt-dev (>= 3:3.3.4-7), kdelibs4-dev (>= 4:3.4.2), imagemagick +Build-Conflicts: autoconf2.13 +Standards-Version: 3.8.3 +Homepage: http://ksensors.sourceforge.net + +Package: ksensors +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lm-sensors +Recommends: hddtemp (>= 0.3beta2-1) +Description: lm-sensors frontend for KDE + This is a lm-sensors frontend for KDE for monitoring a motherboard. + It allows you to access information from temperature and fan speed + sensors. + . + You will need lm-sensors kernel modules to use this package. diff --git a/ubuntu/maverick/applications/ksensors/debian/copyright b/ubuntu/maverick/applications/ksensors/debian/copyright new file mode 100644 index 000000000..354853a55 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Aurelien Jarno <aurelien@aurel32.net> on +Wed, 12 Dec 2001 16:49:52 +0100 + +It was downloaded from http://ksensors.sourceforge.net + +Upstream Authors: + Miguel Novas <michaell@teleline.es> + +Copyright: + (C) 2001-2002 by Miguel Novas <michaell@teleline.es> + + + +You are free to distribute this software under the terms of the GNU General +Public License. On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. diff --git a/ubuntu/maverick/applications/ksensors/debian/dirs b/ubuntu/maverick/applications/ksensors/debian/dirs new file mode 100644 index 000000000..4d1cf676d --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/dirs @@ -0,0 +1,3 @@ +usr/share/lintian/overrides +usr/share/pixmaps +usr/share/sounds diff --git a/ubuntu/maverick/applications/ksensors/debian/docs b/ubuntu/maverick/applications/ksensors/debian/docs new file mode 100644 index 000000000..f4efe9c7f --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/docs @@ -0,0 +1,5 @@ +LEEME +LIESMICH +LISEZMOI +README +TODO diff --git a/ubuntu/maverick/applications/ksensors/debian/ksensors.1 b/ubuntu/maverick/applications/ksensors/debian/ksensors.1 new file mode 100644 index 000000000..e39b676a4 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/ksensors.1 @@ -0,0 +1,62 @@ +.\" 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 KSENSORS 1 "May 02, 2002" +.\" 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 +ksensors \- lm-sensors frontend for KDE +.SH SYNOPSIS +.B ksensors +.RI "[ options ]" +.SH DESCRIPTION +.B KSensors +is a lm-sensors frontend for KDE for monitoring a motherboard. +It allows you to access information from temperature and fan +speed sensors. +.SH OPTIONS +A summary of options are included below. +.TP +.B \-\-nodock +Don't dock in KDE system tray. +.TP +.B \-\-splash +Show splash screen. +.TP +.B \-\-help +Show summary of 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 of program. +.TP +.B \-\-license +Show license information +.SH AUTHOR +.B KSensors +was written by Miguel Novas <michaell@teleline.es>. +.br +This manual page was written by Aurelien Jarno <aurel32@debian.org>, +for the Debian GNU/Linux system (but may be used by others). diff --git a/ubuntu/maverick/applications/ksensors/debian/manpages b/ubuntu/maverick/applications/ksensors/debian/manpages new file mode 100644 index 000000000..a01059191 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/manpages @@ -0,0 +1 @@ +debian/ksensors.1 diff --git a/ubuntu/maverick/applications/ksensors/debian/menu b/ubuntu/maverick/applications/ksensors/debian/menu new file mode 100644 index 000000000..93b2ad9e9 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/menu @@ -0,0 +1,7 @@ +?package(ksensors): \ + needs="X11" \ + section="Applications/System/Hardware" \ + hints="KDE" \ + title="KSensors" \ + command="/usr/bin/ksensors" \ + icon="/usr/share/pixmaps/ksensors.xpm" diff --git a/ubuntu/maverick/applications/ksensors/debian/overrides b/ubuntu/maverick/applications/ksensors/debian/overrides new file mode 100644 index 000000000..0feb180c0 --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/overrides @@ -0,0 +1 @@ +ksensors: menu-item-contains-unknown-tag kderemove /usr/lib/menu/ksensors:8 diff --git a/ubuntu/maverick/applications/ksensors/debian/rules b/ubuntu/maverick/applications/ksensors/debian/rules new file mode 100644 index 000000000..89b76e8dd --- /dev/null +++ b/ubuntu/maverick/applications/ksensors/debian/rules @@ -0,0 +1,111 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: build-stamp + +-include debian/debiandirs + +debian/debiandirs: admin/debianrules + perl -w admin/debianrules echodirs > debian/debiandirs + +build-stamp: + dh_testdir + + /usr/bin/libtoolize -f + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + cp -f /usr/share/misc/config.guess admin/config.guess + cp -f /usr/share/misc/config.sub admin/config.sub + + $(MAKE) -f admin/Makefile.common + + QTDIR=/usr/share/tqt3 ./configure $(configkde) --disable-final + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) clean distclean + -rm -f po/*.gmo + -rm -f debian/debiandirs + -rm -f admin/config.sub admin/config.guess admin/ltmain.sh configure + -rm -f admin/libtool.m4.in aclocal.m4 acinclude.m4 + -rm -f config.log + -find $(CURDIR) -name Makefile.in -exec rm -f {} \; + -rm -f build-stamp install-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install overrides. + install -p -o root -g root -m 644 $(CURDIR)/debian/overrides $(CURDIR)/debian/ksensors/usr/share/lintian/overrides/ksensors + + # Main install. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ksensors + + # Make common links for docs. + for p in `dh_listpackages`; do \ + for i in `find $(CURDIR)/debian/ksensors/usr/share/doc/kde/HTML -type d -name $$p -name $$p -not -regex .*/en/$$p`; do \ + ln -f -n -s ../common $$i/common; done; done + + # Installing icons + /usr/bin/convert $(CURDIR)/src/pics/hi16-app-ksensors.png $(CURDIR)/debian/ksensors/usr/share/pixmaps/ksensors.xpm + + perl -w admin/debianrules cleanup + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs +# dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron + dh_installman +# dh_installinfo + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress --exclude=.docbook + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure |