From a3b5d595125428a77e31d3d3b31bf523e42e0c1f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 10 Dec 2011 18:36:40 -0600 Subject: Add untested kmatplot packaging to Ubuntu Maverick --- .../applications/kmatplot/debian/changelog | 81 +++++++++++++++++++++ .../maverick/applications/kmatplot/debian/compat | 1 + .../maverick/applications/kmatplot/debian/control | 26 +++++++ .../applications/kmatplot/debian/copyright | 18 +++++ .../applications/kmatplot/debian/debianrules | 84 ++++++++++++++++++++++ ubuntu/maverick/applications/kmatplot/debian/dirs | 1 + .../applications/kmatplot/debian/kmatplot.1 | 38 ++++++++++ .../applications/kmatplot/debian/kmatplot.manpages | 1 + ubuntu/maverick/applications/kmatplot/debian/menu | 2 + ubuntu/maverick/applications/kmatplot/debian/rules | 6 ++ 10 files changed, 258 insertions(+) create mode 100644 ubuntu/maverick/applications/kmatplot/debian/changelog create mode 100644 ubuntu/maverick/applications/kmatplot/debian/compat create mode 100644 ubuntu/maverick/applications/kmatplot/debian/control create mode 100644 ubuntu/maverick/applications/kmatplot/debian/copyright create mode 100644 ubuntu/maverick/applications/kmatplot/debian/debianrules create mode 100644 ubuntu/maverick/applications/kmatplot/debian/dirs create mode 100644 ubuntu/maverick/applications/kmatplot/debian/kmatplot.1 create mode 100644 ubuntu/maverick/applications/kmatplot/debian/kmatplot.manpages create mode 100644 ubuntu/maverick/applications/kmatplot/debian/menu create mode 100755 ubuntu/maverick/applications/kmatplot/debian/rules (limited to 'ubuntu/maverick/applications/kmatplot') diff --git a/ubuntu/maverick/applications/kmatplot/debian/changelog b/ubuntu/maverick/applications/kmatplot/debian/changelog new file mode 100644 index 000000000..6bd58f944 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/changelog @@ -0,0 +1,81 @@ +kmatplot-trinity (0.4-9-0ubuntu0) lucid; urgency=low + + * Initial import + + -- Timothy Pearson Sat, 10 Dec 2011 18:34:00 -0600 + +kmatplot (0.4-8) unstable; urgency=low + + * Orphan package + + -- Hugo van der Merwe Wed, 11 Jan 2006 12:29:07 +0200 + +kmatplot (0.4-7.2) unstable; urgency=low + + * 0-day NMU during BSP. + * Build-conflicts on autoconf and autoconf2.13 to fix FTBFS on sparc. + + -- Aurelien Jarno Sat, 17 Dec 2005 17:00:30 +0100 + +kmatplot (0.4-7.1) unstable; urgency=low + + * 0-day NMU during BSP. + * Rebuild for the Qt/KDE transition (closes: bug#327980). + * Rebuilt for libreadline transition (closes: bug#326338). + * Applied a patch from Andreas Jochen to make the package buildable with + gcc-4.0 (closes: bug#300867). + * Build the shared libraries with -fPIC (closes: bug#286533). + * Added support for GNU/kFreeBSD. + + -- Aurelien Jarno Sat, 17 Dec 2005 15:43:54 +0100 + +kmatplot (0.4-7) unstable; urgency=low + + * Rebuild with latest unstable packages (Closes: #249482) + + -- Hugo van der Merwe Wed, 15 Dec 2004 09:57:20 +0200 + +kmatplot (0.4-6) unstable; urgency=low + + * Build with new octave (Closes: #240548) + + -- Hugo van der Merwe Mon, 29 Mar 2004 02:11:03 +0200 + +kmatplot (0.4-5) unstable; urgency=low + + * Update build-dependencies (Closes: #224711,#219556) + (ACK NMU by J.H.M. Dassen, thanks.) + * Build with octave-2.1.52 (Closes: #210510) + * Switched to cdbs. + * (0.4-4 never uploaded due to dead hard-drive, and long GPG key + salvaging operation - I don't keep backups of secret keys ;-) + + -- Hugo van der Merwe Wed, 31 Dec 2003 18:09:41 +0200 + +kmatplot (0.4-3.1) unstable; urgency=medium + + * NMU + * [debian/control] Updated build dependencies to fix FTBFS. (Closes: #219556) + + -- J.H.M. Dassen (Ray) Sun, 21 Dec 2003 12:39:58 +0100 + +kmatplot (0.4-3) unstable; urgency=low + + * Applied patch from John Lightsey fixing G++ and QT3 build + problems. (Closes: #184028) + + -- Hugo van der Merwe Sun, 1 Jun 2003 12:55:36 +0200 + +kmatplot (0.4-2) unstable; urgency=low + + * Fixed SearchPath so that kmatplot finds its rc file. Thanks Laurent + Jacques. + + -- Hugo van der Merwe Sun, 12 May 2002 00:01:15 +0200 + +kmatplot (0.4-1) unstable; urgency=low + + * Initial Release. (Closes: #144363) + + -- Hugo van der Merwe Wed, 24 Apr 2002 17:24:30 +0200 + diff --git a/ubuntu/maverick/applications/kmatplot/debian/compat b/ubuntu/maverick/applications/kmatplot/debian/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/compat @@ -0,0 +1 @@ +4 diff --git a/ubuntu/maverick/applications/kmatplot/debian/control b/ubuntu/maverick/applications/kmatplot/debian/control new file mode 100644 index 000000000..214c653c2 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/control @@ -0,0 +1,26 @@ +Source: kmatplot-trinity +Section: math +Priority: optional +Maintainer: Timothy Pearson +Build-Depends: debhelper (>> 3.0.0), libtqtinterface-dev, xlibmesa-gl-dev, octave2.1-headers, cdbs, automake, autoconf, libtool, libltdl-dev +Build-Conflicts: scilab +Standards-Version: 3.8.4 + +Package: kmatplot-trinity +Architecture: any +Depends: ${shlibs:Depends} +Recommends: octave2.1 +Description: A Gnuplot-like tool for plotting data sets in 2D or 3D + KMatplot is a gnuplot-like tool for plotting data sets in either two or + three dimensions. It can plot many types of 2d plots, including pixmaps + and contours, and 3d surfaces. It offers a full WYSIWYG mode with + multiple objects on a single page. + . + As opposite to Gnuplot, KMatplot is very clickable, so easier to use + for unexperienced users. It can be used instead of Gnuplot with Octave + and Scilab - there are new dll functions installed in those packages, + which communicate with KMatplot through an Unix socket. Those functions + are named 'kplot', 'kimage', kmesh', ... and are similar to those found + in Octave by default. + . + The Debian package is not built with Scilab support by default. diff --git a/ubuntu/maverick/applications/kmatplot/debian/copyright b/ubuntu/maverick/applications/kmatplot/debian/copyright new file mode 100644 index 000000000..e61cc889c --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Hugo van der Merwe on +Wed, 24 Apr 2002 15:23:52 +0200. + +It was downloaded from http://kmatplot.sourceforge.net/ + +Upstream Author: Kamil Dobkowski + +Copyright: + +This software is copyright (c) 2000-2002 by Kamil Dobkowski + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +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/kmatplot/debian/debianrules b/ubuntu/maverick/applications/kmatplot/debian/debianrules new file mode 100644 index 000000000..7cfb17bd9 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/debianrules @@ -0,0 +1,84 @@ +#!/usr/bin/perl -w + +use Shell qw(mv cp mkdir rm) ; +use File::Find; +use Cwd; + +$origPwd = `pwd`; +chomp $origPwd; + + +if (@ARGV && $ARGV[0] eq 'cleanup') { + +if (-d "debian/tmp/usr/share/config") { + if (! -d "debian/tmp/$tde_confdir") { + system("mv debian/tmp/usr/share/config debian/tmp/$tde_confdir"); + } +} +system("rm -f `find debian/ -name \".anchors\"`"); +system("chmod 755 debian/*preinst debian/*postinst"); + +exit; +} + +$TQTDIR="/usr/share/tqt3"; +$tde_prefix="/opt/trinity"; +$tde_htmldir="$tde_prefix/share/doc/kde/HTML"; +$tde_icondir="$tde_prefix/share/icons"; +$tde_sounddir="$tde_prefix/share/sounds"; +$tde_datadir="$tde_prefix/share/apps"; +$tde_locale="$tde_prefix/share/locale"; +$tde_confdir="/etc/tde2"; +$tde_cgidir="$tde_prefix/lib/cgi-bin"; +$tde_appsdir="$tde_prefix/share/applnk"; +$tde_mimedir="$tde_prefix/share/mimelnk"; +$tde_wallpaperdir="$tde_prefix/share/wallpapers"; +$tde_bindir="$tde_prefix/bin"; +$tde_servicesdir="$tde_prefix/share/services"; +$tde_servicetypesdir="$tde_prefix/share/servicetypes"; +$tde_includedir="$tde_prefix/include/tde"; +$tde_libdir="$tde_prefix/lib"; +$tde_moduledir="$tde_prefix/lib/tde"; +$mandir="$tde_prefix/share/man"; +$infodir="$tde_prefix/share/info"; +$IDL="$tde_bindir/cuteidl"; +$DCOPIDL="$tde_bindir/dcopidl"; +$DCOPIDL2CPP="$tde_bindir/dcopidl2cpp"; +$KDB2HTML="$tde_bindir/kdb2html"; +$MCOPIDL="$tde_bindir/mcopidl"; +$ARTSCCONFIG="$tde_bindir/artsc-config"; + +if (@ARGV && $ARGV[0] eq 'echodirs') { + print STDOUT "export tde_htmldir=$tde_htmldir\n"; + print STDOUT "export tde_appsdir=$tde_appsdir\n"; + print STDOUT "export tde_icondir=$tde_icondir\n"; + print STDOUT "export tde_sounddir=$tde_sounddir\n"; + print STDOUT "export tde_datadir=$tde_datadir\n"; + print STDOUT "export tde_cgidir=$tde_cgidir\n"; + print STDOUT "export tde_locale=$tde_locale\n"; + print STDOUT "export tde_confdir=$tde_confdir\n"; + print STDOUT "export tde_mimedir=$tde_mimedir\n"; + print STDOUT "export tde_wallpaperdir=$tde_wallpaperdir\n"; + print STDOUT "export tde_bindir=$tde_bindir\n"; + print STDOUT "export tde_servicesdir=$tde_servicesdir\n"; + print STDOUT "export tde_servicetypesdir=$tde_servicetypesdir\n"; + print STDOUT "export tde_includedir=$tde_includedir\n"; + print STDOUT "export tde_libdir=$tde_libdir\n"; + print STDOUT "export tde_moduledir=$tde_moduledir\n"; + print STDOUT "export mandir=$mandir\n"; + print STDOUT "export infodir=$infodir\n"; + print STDOUT "export TQTDIR=$TQTDIR\n"; + print STDOUT "export tde_prefix=$tde_prefix\n"; + print STDOUT "export INSTALL_DATA=install -p -c -m 644\n"; + print STDOUT "export IDL=$IDL\n"; + print STDOUT "export DCOPIDL=$DCOPIDL\n"; + print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n"; + print STDOUT "export KDB2HTML=$KDB2HTML\n"; + print STDOUT "export MCOPIDL=$MCOPIDL\n"; + print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n"; + print STDOUT "configtde=--disable-debug --disable-rpath --prefix=\$(tde_prefix) --libexecdir=\$(tde_bindir) --libdir=\$(tde_libdir) --includedir=\$(tde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n"; + print STDOUT "configtdevelop=--disable-debug --enable-docbase --enable-kdoc2 --disable-rpath --libdir=\$(tde_libdir) --includedir=\$(tde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-tdelibsdoc-dir=/usr/share/doc/tdelibs3-doc/html\n"; + print STDOUT "configtdepim=--disable-debug --with-extra-includes=/usr/include/libpisock --enable-shared --disable-rpath --libdir=\$(tde_libdir) --includedir=\$(tde_includedir) --prefix=\$(tde_prefix) --libexecdir=\$(tde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n"; + exit +} + diff --git a/ubuntu/maverick/applications/kmatplot/debian/dirs b/ubuntu/maverick/applications/kmatplot/debian/dirs new file mode 100644 index 000000000..e77248175 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/ubuntu/maverick/applications/kmatplot/debian/kmatplot.1 b/ubuntu/maverick/applications/kmatplot/debian/kmatplot.1 new file mode 100644 index 000000000..0937e379f --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/kmatplot.1 @@ -0,0 +1,38 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH KMATPLOT 1 "May 1, 2002" +.\" Please adjust this date whenever revising the manpage. + +.SH NAME +kmatplot \- A Gnuplot-like tool for plotting data sets in 2D or 3D. + +.SH SYNOPSIS +.B kmatplot + +.SH DESCRIPTION +This manual page briefly documents +.B KMatplot. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B KMatplot +is a Gnuplot-like tool for plotting data sets in either two or +three dimensions. It can plot many types of 2d plots, including pixmaps +and contours, and 3d surfaces. It offers a full WYSIWYG mode with +multiple objects on a single page. + +As opposite to Gnuplot, +.B KMatplot is very clickable, so easier to use for unexperienced users. +It can be used instead of Gnuplot with Octave and Scilab (although the +Debian package is not built with Scilab support by default) - there are +new dll functions installed in those packages, which communicate with +.B KMatplot +through a Unix socket. Those functions are named 'kplot', 'kimage', +kmesh', and are similar to those found in Octave by default. + +Example plots can be found in the Help menu of the program. Help for +many of the Octave functions can be found within Octave, for example: +"help kplot", "help kaddaxes". + +.SH AUTHOR +This manual page was written by Hugo van der Merwe , +for the Debian GNU/Linux system (but may be used by others). diff --git a/ubuntu/maverick/applications/kmatplot/debian/kmatplot.manpages b/ubuntu/maverick/applications/kmatplot/debian/kmatplot.manpages new file mode 100644 index 000000000..e093ba20c --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/kmatplot.manpages @@ -0,0 +1 @@ +debian/kmatplot.1 diff --git a/ubuntu/maverick/applications/kmatplot/debian/menu b/ubuntu/maverick/applications/kmatplot/debian/menu new file mode 100644 index 000000000..6cb3a60a8 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/menu @@ -0,0 +1,2 @@ +?package(kmatplot):needs="X11" section="Apps/Math"\ + title="kmatplot" command="/usr/bin/kmatplot" diff --git a/ubuntu/maverick/applications/kmatplot/debian/rules b/ubuntu/maverick/applications/kmatplot/debian/rules new file mode 100755 index 000000000..0df925fe4 --- /dev/null +++ b/ubuntu/maverick/applications/kmatplot/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +export QSETTINGSDIR=/etc +DEB_CONFIGURE_EXTRA_FLAGS := --enable-mt --with-qsettings-dir=/etc +DEB_INSTALL_DOCS_ALL := -- cgit v1.2.1