--- k3dsurf-0.6.2.orig/debian/k3dsurf.desktop +++ k3dsurf-0.6.2/debian/k3dsurf.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=K3DSurf +Type=Application +StartupNotify=true +Comment=tool for mathematical surfaces +Exec=/usr/bin/k3dsurf +Icon=/usr/share/pixmaps/k3dsurf.xpm +Terminal=false +Categories=Qt;KDE;Education;Math; --- k3dsurf-0.6.2.orig/debian/control +++ k3dsurf-0.6.2/debian/control @@ -0,0 +1,18 @@ +Source: k3dsurf +Section: kde +Priority: optional +Maintainer: Cyril Brulebois +Build-Depends: debhelper (>= 5), libqt3-mt-dev, imagemagick, quilt +Standards-Version: 3.7.3 +Homepage: http://k3dsurf.sourceforge.net/ +Vcs-Git: git://git.debian.org/git/collab-maint/k3dsurf.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/k3dsurf.git;a=summary + +Package: k3dsurf +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: tool for mathematical surfaces + K3DSurf is a program to visualize and manipulate multidimensional + surfaces by using mathematical equations. It's also a modeler for + POV-Ray in the area of parametric surfaces. + --- k3dsurf-0.6.2.orig/debian/patches/10_gcc4.3_includes +++ k3dsurf-0.6.2/debian/patches/10_gcc4.3_includes @@ -0,0 +1,11 @@ +--- a/src/PovConfig.cpp 2007-12-08 15:27:08.000000000 +0100 ++++ b/src/PovConfig.cpp 2007-12-08 15:27:41.000000000 +0100 +@@ -19,6 +19,8 @@ + ***************************************************************************/ + #include "PovConfig.h" + ++#include ++ + static QString xterm="", + Width="200", Height="200", + Start_RowEdit="0", End_RowEdit="200", --- k3dsurf-0.6.2.orig/debian/patches/series +++ k3dsurf-0.6.2/debian/patches/series @@ -0,0 +1 @@ +10_gcc4.3_includes --- k3dsurf-0.6.2.orig/debian/k3dsurf.1 +++ k3dsurf-0.6.2/debian/k3dsurf.1 @@ -0,0 +1,18 @@ +.TH k3dsurf 1 "December 26, 2005" k3dsurf 1 +.SH NAME +k3dsurf \- tool for mathematical surfaces +.SH SYNOPSIS +.B k3dsurf +.SH DESCRIPTION +This manual page documents briefly the +.B k3dsurf +program +.PP +\fBk3dsurf\fP is a program to visualize and manipulate Multidimensional +surfaces by using Mathematical equations. It's also a "Modeler" for +POV-Ray in the area of parametric surfaces. +.SH AUTHOR +k3dsurf was written by Abderrahman Taha . +.PP +This manual page was written by Steffen Joeris , +for the Debian project (but may be used by others). --- k3dsurf-0.6.2.orig/debian/compat +++ k3dsurf-0.6.2/debian/compat @@ -0,0 +1 @@ +5 --- k3dsurf-0.6.2.orig/debian/changelog +++ k3dsurf-0.6.2/debian/changelog @@ -0,0 +1,74 @@ +k3dsurf (0.6.2-2) unstable; urgency=low + + * Add Vcs-Git and Vcs-Browser since the packaging is now hosted on + git.debian.org. + * Rework a bit the long description. + * Add back the patch to fix FTBFS with newer gcc (it was probably dropped + due to a misuse of debuild options), using quilt (Closes: #454843): + - Add debian/patches/10_gcc4.3_includes + * Drop trailing spaces in debian/rules at the same time. + * Bump Standards-Version from 3.7.2 to 3.7.3 (no change needed). + * Pass “LFLAGS="-Wl,-z,defs -Wl,--as-needed"” to the “$(MAKE)” call: + - The latter avoids extra linking. + - The former ensures there's no undefined reference in the temporary + objects, although there is none at the moment. + + -- Cyril Brulebois Wed, 26 Dec 2007 16:22:49 +0100 + +k3dsurf (0.6.2-1) unstable; urgency=low + + * New upstream release (Closes: #430410). + * New maintainer (Closes: #446446). + * Move the homepage from the description to the new source field. + * Remove 10-gcc.dpatch since it is no longer needed (the code implying the + missing include has been commented out). + * Remove the dpatch dependency in debian/control and patch handling in + debian/rules accordingly. + * Achieve the menu transition: Move the menu section from “Apps/Math” to + “Applications/Science/Mathematics”. Adjust the capitalization of the title + to match upstream's. + * Desktop file: + - Remove “Encoding” field, per lintian. + - Add “Name=K3DSurf”, also per lintian. + * No longer ignore “make distclean” errors, per lintian again. + + -- Cyril Brulebois Sat, 13 Oct 2007 10:57:18 +0200 + +k3dsurf (0.6.1-2) unstable; urgency=low + + * Include patch (10-gcc.dpatch) for FTBFS with newer gcc version + (Closes: #417269) Thanks to Martin Michlmayr for testing and patch + * Add build-depends against dpatch + * Change my maintainer address + + -- Steffen Joeris Tue, 03 Apr 2007 20:23:33 +1000 + +k3dsurf (0.6.1-1) unstable; urgency=medium + + * New upstream release + - Fixes important segfault with example files and some other + annoying bugs and is therefore targeted etch + + -- Steffen Joeris Sat, 9 Dec 2006 19:30:41 +0100 + +k3dsurf (0.6.0-1) unstable; urgency=low + + * New upstream release + - Includes OpenGL support + * Remove obsolete debian/docs + + -- Steffen Joeris Tue, 28 Nov 2006 19:44:41 +0100 + +k3dsurf (0.5.5-1) unstable; urgency=low + + * New upstream release + * Bump standards version + * Change to debhelper level 5 + + -- Steffen Joeris Sun, 13 Aug 2006 12:29:44 +1000 + +k3dsurf (0.5.4-1) unstable; urgency=low + + * Initial release (Closes: #345715) + + -- Steffen Joeris Mon, 26 Dec 2005 17:13:36 +0100 --- k3dsurf-0.6.2.orig/debian/menu +++ k3dsurf-0.6.2/debian/menu @@ -0,0 +1,6 @@ +?package(k3dsurf):needs="X11"\ + section="Applications/Science/Mathematics"\ + title="K3DSurf"\ + command="/usr/bin/k3dsurf"\ + hints="KDE"\ + icon="/usr/share/pixmaps/k3dsurf.xpm" --- k3dsurf-0.6.2.orig/debian/manpages +++ k3dsurf-0.6.2/debian/manpages @@ -0,0 +1 @@ +debian/k3dsurf.1 --- k3dsurf-0.6.2.orig/debian/copyright +++ k3dsurf-0.6.2/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Andreas Mueller on +Mon, 26 Dec 2005 17:13:36 +0100. + +It was downloaded from http://kde-apps.org/content/show.php?content=25049 + +Copyright Holder: Copyright © 2005 Abderrahman Taha (taha_ab@yahoo.fr) + + Additional copyright notice for src/fparser/fparser.txt + Copyright 2003 Juha Nieminen, Joel Yliluoma + + The files src/fparser/fparser.h and src/fparser/fparser.cpp + follow the copyright instruction explained in src/fparser/fparser.txt + + +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 +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-2. --- k3dsurf-0.6.2.orig/debian/rules +++ k3dsurf-0.6.2/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: patch configure-stamp +configure-stamp: + dh_testdir + qmake + touch configure-stamp + +debian/k3dsurf.xpm: icon/catenoid_mini_32x32.png + convert $< $@ + +build: build-stamp debian/k3dsurf.xpm + +build-stamp: configure-stamp + dh_testdir + $(MAKE) LFLAGS="-Wl,-z,defs -Wl,--as-needed" + touch build-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + rm -f Makefile + rm -f debian/k3dsurf.xpm + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -D -m 755 bin/k3dsurf $(CURDIR)/debian/k3dsurf/usr/bin/k3dsurf + install -D -m 644 debian/k3dsurf.xpm $(CURDIR)/debian/k3dsurf/usr/share/pixmaps/k3dsurf.xpm + install -D -m 644 debian/k3dsurf.desktop $(CURDIR)/debian/k3dsurf/usr/share/applications/k3dsurf.desktop + + +binary-indep: build install +# We have nothing to do by default. + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + 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 configure