mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Initial import of kplot3d version 0.69.
A KDE 3D surface plotting tool. PR: 14610 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
This commit is contained in:
parent
95328a4ca9
commit
d92f853435
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23450
21
graphics/kplot3d/Makefile
Normal file
21
graphics/kplot3d/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# New ports collection makefile for: kplot3d
|
||||
# Version required: 0.69
|
||||
# Date created: 30 October 1999
|
||||
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
||||
#
|
||||
# $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 <bsd.port.mk>
|
1
graphics/kplot3d/distinfo
Normal file
1
graphics/kplot3d/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (kplot3d-0.69.tar.gz) = b282bdca123d015c88dbbda2ef0dfc7e
|
138
graphics/kplot3d/files/patch-aa
Normal file
138
graphics/kplot3d/files/patch-aa
Normal file
@ -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 );
|
||||
}
|
13
graphics/kplot3d/files/patch-ab
Normal file
13
graphics/kplot3d/files/patch-ab
Normal file
@ -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"));
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
1
graphics/kplot3d/pkg-comment
Normal file
1
graphics/kplot3d/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
KDE 3d surface plotting tool
|
8
graphics/kplot3d/pkg-descr
Normal file
8
graphics/kplot3d/pkg-descr
Normal file
@ -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
|
13
graphics/kplot3d/pkg-plist
Normal file
13
graphics/kplot3d/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user