From d92f8534352982cd063a286c5c3e93eaa25b6606 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sat, 27 Nov 1999 14:39:41 +0000 Subject: Initial import of kplot3d version 0.69. A KDE 3D surface plotting tool. PR: 14610 Submitted by: Chris D. Faulhaber --- graphics/kplot3d/Makefile | 21 ++++++ graphics/kplot3d/distinfo | 1 + graphics/kplot3d/files/patch-aa | 138 ++++++++++++++++++++++++++++++++++++++++ graphics/kplot3d/files/patch-ab | 13 ++++ graphics/kplot3d/pkg-comment | 1 + graphics/kplot3d/pkg-descr | 8 +++ graphics/kplot3d/pkg-plist | 13 ++++ 7 files changed, 195 insertions(+) create mode 100644 graphics/kplot3d/Makefile create mode 100644 graphics/kplot3d/distinfo create mode 100644 graphics/kplot3d/files/patch-aa create mode 100644 graphics/kplot3d/files/patch-ab create mode 100644 graphics/kplot3d/pkg-comment create mode 100644 graphics/kplot3d/pkg-descr create mode 100644 graphics/kplot3d/pkg-plist (limited to 'graphics') diff --git a/graphics/kplot3d/Makefile b/graphics/kplot3d/Makefile new file mode 100644 index 000000000000..a3fd1531b4e5 --- /dev/null +++ b/graphics/kplot3d/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: kplot3d +# Version required: 0.69 +# Date created: 30 October 1999 +# Whom: Chris D. Faulhaber +# +# $FreeBSD$ +# + +DISTNAME= kplot3d-0.69 +CATEGORIES= graphics kde +MASTER_SITES= http://members.xoom.com/kplot3d/ + +MAINTAINER= jedgar@fxp.org + +LIB_DEPENDS= kdecore.2:${PORTSDIR}/x11/kdelibs11 + +FETCH_BEFORE_ARGS= -b # members.xoom.com is broken +USE_QT= yes +GNU_CONFIGURE= yes + +.include diff --git a/graphics/kplot3d/distinfo b/graphics/kplot3d/distinfo new file mode 100644 index 000000000000..7ab78f8d5ea5 --- /dev/null +++ b/graphics/kplot3d/distinfo @@ -0,0 +1 @@ +MD5 (kplot3d-0.69.tar.gz) = b282bdca123d015c88dbbda2ef0dfc7e diff --git a/graphics/kplot3d/files/patch-aa b/graphics/kplot3d/files/patch-aa new file mode 100644 index 000000000000..3e0a3b5b3bc0 --- /dev/null +++ b/graphics/kplot3d/files/patch-aa @@ -0,0 +1,138 @@ +--- kplot3d/SetColor.cpp.orig Sat Nov 27 08:05:33 1999 ++++ kplot3d/SetColor.cpp Sat Nov 27 08:28:36 1999 +@@ -148,9 +148,30 @@ + Button_gray->setGeometry( 240, 90, 30, 30 ); + Button_gray->setText( "" ); + { +- QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(10789024) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); +- QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) ); +- QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); ++ QColorGroup normal( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); ++ QColorGroup disabled( ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ) ); ++ QColorGroup active( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); + QPalette palette( normal, disabled, active ); + Button_gray->setPalette( palette ); + } +@@ -161,9 +182,30 @@ + Button_blue->setGeometry( 200, 90, 30, 30 ); + Button_blue->setText( "" ); + { +- QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(8388608) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); +- QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) ); +- QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); ++ QColorGroup normal( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)8388608 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); ++ QColorGroup disabled( ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ) ); ++ QColorGroup active( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); + QPalette palette( normal, disabled, active ); + Button_blue->setPalette( palette ); + } +@@ -174,9 +216,30 @@ + Button_mag->setGeometry( 280, 90, 30, 30 ); + Button_mag->setText( "" ); + { +- QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(8388736) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); +- QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) ); +- QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); ++ QColorGroup normal( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)8388736 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); ++ QColorGroup disabled( ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ) ); ++ QColorGroup active( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); + QPalette palette( normal, disabled, active ); + Button_mag->setPalette( palette ); + } +@@ -186,9 +249,30 @@ + Button_green->setGeometry( 320, 90, 30, 30 ); + Button_green->setText( "" ); + { +- QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(32768) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); +- QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) ); +- QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(8421504) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) ); ++ QColorGroup normal( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)32768 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); ++ QColorGroup disabled( ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)12632256 ) ); ++ QColorGroup active( ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)12632256 ), ++ QColor( (unsigned int)16777215 ), ++ QColor( (unsigned int)8421504 ), ++ QColor( (unsigned int)10789024 ), ++ QColor( (unsigned int)0 ), ++ QColor( (unsigned int)16777215 ) ); + QPalette palette( normal, disabled, active ); + Button_green->setPalette( palette ); + } diff --git a/graphics/kplot3d/files/patch-ab b/graphics/kplot3d/files/patch-ab new file mode 100644 index 000000000000..f111ef779d74 --- /dev/null +++ b/graphics/kplot3d/files/patch-ab @@ -0,0 +1,13 @@ +--- kplot3d/kplot3d.cpp.orig Sat Nov 27 08:30:23 1999 ++++ kplot3d/kplot3d.cpp Sat Nov 27 08:31:45 1999 +@@ -178,8 +178,8 @@ + // toolBar()->insertButton(Icon("editpaste.xpm"), ID_EDIT_PASTE, true, i18n("Paste")); + // toolBar()->insertSeparator(); + +- toolBar()->insertButton( QPixmap( axes ), ID_GENERAL, true, i18n("Axes options")); +- toolBar()->insertButton( QPixmap( toggle_icon ), ID_TOGGLE, true, i18n("Toggle surface type")); ++ toolBar()->insertButton( QPixmap( (const char**)axes ), ID_GENERAL, true, i18n("Axes options")); ++ toolBar()->insertButton( QPixmap( (const char**)toggle_icon ), ID_TOGGLE, true, i18n("Toggle surface type")); + toolBar()->insertButton(Icon("help.xpm"), ID_HELP, SIGNAL(pressed()), kapp, SLOT(appHelpActivated()), true, i18n("Help")); + + /////////////////////////////////////////////////////////////////// diff --git a/graphics/kplot3d/pkg-comment b/graphics/kplot3d/pkg-comment new file mode 100644 index 000000000000..15e8d291a2b8 --- /dev/null +++ b/graphics/kplot3d/pkg-comment @@ -0,0 +1 @@ +KDE 3d surface plotting tool diff --git a/graphics/kplot3d/pkg-descr b/graphics/kplot3d/pkg-descr new file mode 100644 index 000000000000..9e245b9a36fc --- /dev/null +++ b/graphics/kplot3d/pkg-descr @@ -0,0 +1,8 @@ +Kplot3d is KDE version of tool for plotting 3d surface +of function z = f(x,y). It supports shaded and grid +(with erasing of invisible lines) modes, fast realtime +surface rotation, printing result image, save images to +local files. + +- Chris D. Faulhaber +jedgar@fxp.org diff --git a/graphics/kplot3d/pkg-plist b/graphics/kplot3d/pkg-plist new file mode 100644 index 000000000000..26e6e38032f1 --- /dev/null +++ b/graphics/kplot3d/pkg-plist @@ -0,0 +1,13 @@ +bin/kplot3d +share/applnk/Applications/kplot3d.kdelnk +share/doc/HTML/en/kplot3d/index-1.html +share/doc/HTML/en/kplot3d/index-2.html +share/doc/HTML/en/kplot3d/index-3.html +share/doc/HTML/en/kplot3d/index-4.html +share/doc/HTML/en/kplot3d/index-5.html +share/doc/HTML/en/kplot3d/index-6.html +share/doc/HTML/en/kplot3d/index.html +share/icons/kplot3d.xpm +share/icons/mini/kplot3d.xpm +share/locale/ru/LC_MESSAGES/kplot3d.mo +@dirrm share/doc/HTML/en/kplot3d -- cgit v1.2.3