- Ressurrect deskutils/taskjuggler.

- Fix compilation by removing a patch.

PR:		ports/78917
Submitted by:	Clive Crous <clive@darkarts.co.za>
This commit is contained in:
Florent Thoumie 2005-03-16 22:24:17 +00:00
parent 0edf310d20
commit 3783250dfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131441
7 changed files with 222 additions and 0 deletions

View file

@ -123,6 +123,7 @@
SUBDIR += sliderule
SUBDIR += splashsetter
SUBDIR += superkaramba
SUBDIR += taskjuggler
SUBDIR += teapot
SUBDIR += timer-applet
SUBDIR += treeline

View file

@ -0,0 +1,48 @@
# New ports collection makefile for: taskjuggler
# Date created: 23 February 2004
# Whom: Dean Povey <povey@wedgetail.com>
#
# $FreeBSD$
#
PORTNAME= taskjuggler
PORTVERSION= 2.0.1
CATEGORIES= deskutils
MASTER_SITES= http://www.taskjuggler.org/download/
MAINTAINER= povey@wedgetail.com
COMMENT= A project management tool for UNIX based operating systems
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
${SITE_PERL}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
${SITE_PERL}/PostScript/Simple.pm:${PORTSDIR}/print/p5-PostScript-Simple \
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
poster:${PORTSDIR}/print/poster \
xsltproc:${PORTSDIR}/textproc/libxslt
# KTJView currently doesn't compile
#OPTIONS= KTJVIEW "Build KDE KTJView program (Requires KDE)" off
USE_BZIP2= yes
USE_QT_VER= 3
USE_XLIB= yes
USE_PERL5_RUN= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
# KTJView currently doesn't compile
#.if defined(WITH_KTJVIEW)
#LIB_DEPENDS+= kwalletbackend:${PORTSDIR}/x11/kdelibs3
#CONFIGURE_ARGS+= --with-kde-support=yes
#.include "files/ktjview-plist.mk"
#.endif
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e 's|share/doc/packages/|share/doc/|g'
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (taskjuggler-2.0.1.tar.bz2) = a7d43e1e7e0baeb777791b1438e7aaac
SIZE (taskjuggler-2.0.1.tar.bz2) = 888067

View file

@ -0,0 +1,14 @@
PLIST_FILES+= bin/ktjview \
lib/kde3/libktjviewpart.so \
lib/kde3/libktjviewpart.la \
share/icons/hicolor/16x16/apps/ktjview.png \
share/icons/hicolor/32x32/apps/ktjview.png \
share/icons/hicolor/48x48/apps/ktjview.png \
share/icons/locolor/16x16/apps/ktjview.png \
share/icons/locolor/32x32/apps/ktjview.png \
share/services/ktjview.desktop \
share/apps/ktjviewpart/ktjview_part.rc \
share/apps/ktjview/ktjview_shell.rc \
PLIST_DIRS+= share/apps/ktjviewpart \
share/apps/ktjview

View file

@ -0,0 +1,103 @@
--- tjx2gantt/tjx2gantt Mon Jul 14 22:31:53 2003
+++ tjx2gantt/tjx2gantt.patch Wed Feb 25 09:07:00 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
#
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# !!! This Software is __ALPHA__ !!!
@@ -18,12 +18,10 @@
$| = 1;
use strict;
-use warnings;
package tjTask;
use strict;
- use warnings;
use Class::MethodMaker
new_hash_init => 'new',
get_set => [ qw(Index ProjectID complete Priority Type Id Name ParentTask
@@ -393,10 +391,10 @@
my ($x2, $y2) = _trans_coord($_x2, $_y2);
#-- balken
$p->setcolour(222,222,222);
- $p->box($x1, $y1, $x2, $y2, 1);
+ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2);
#-- rahmen drum
$p->setcolour(0,0,0);
- $p->box($x1, $y1, $x2, $y2, 0);
+ $p->box({ filled => 0 }, $x1, $y1, $x2, $y2);
#-- linie dazwischen
my $l_y = $y2+($task_space/2)-($task_height/2);
$p->line($page_border+5, $l_y, $page_x-($page_border*2), $l_y );
@@ -458,35 +456,35 @@
if ( Delta_Days($today_year, $today_month, $today_day, $end_year, $end_month, $end_day) < 0 ) {
if ( $persent < 100 ) {
$p->setcolour(255,0,0);
- $p->box($x1, $y1, $x2, $y2, 1);
+ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2);
}
} else {
$p->setcolour(255,255,255);
- $p->box($x1, $y1, $x2, $y2, 1);
+ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2);
}
#-- buffer balken pinseln
if ( $task->startBuffer ) {
my $buf = $task->startBuffer;
my ($buf_length, $d) = _trans_coord($_x1 + (($task_length/100*$buf) * $day_x), 0);
$p->setcolour(222,222,222);
- $p->box($x1, $y1, $buf_length, $y2, 1);
+ $p->box({ filled => 1 }, $x1, $y1, $buf_length, $y2);
}
if ( $task->endBuffer ) {
my $buf = $task->endBuffer;
my ($buf_length, $d) = _trans_coord($_x2 - (($task_length/100*$buf) * $day_x), 0);
$p->setcolour(222,222,222);
- $p->box($buf_length, $y1, $x2, $y2, 1);
+ $p->box({ filled => 1 }, $buf_length, $y1, $x2, $y2);
}
#-- länge von % feritg balken
my ($per_length, $d) = _trans_coord($_x1 + (($task_length/100*$persent) * $day_x), 0);
#-- % done balken pinseln
if ($persent > 0) {
$p->setcolour(0,255,0);
- $p->box($x1, $y1, $per_length, $y2, 1);
+ $p->box({ filled => 1 }, $x1, $y1, $per_length, $y2);
}
#-- rahmen um den task
$p->setcolour(0,0,0);
- $p->box($x1, $y1, $x2, $y2, 0);
+ $p->box({ filled => 0 }, $x1, $y1, $x2, $y2);
#-- text
$task->label($name);
$task->label_x($x1+1);
@@ -494,7 +492,7 @@
}
if ( $task->Type eq 'Container' ) {
$p->setcolour(0,0,0);
- $p->box($x1-1, $y1, $x2+1, $y2+($task_height/1.2), 1);
+ $p->box({ filled => 1 }, $x1-1, $y1, $x2+1, $y2+($task_height/1.2));
#-- pfeil vorn
$p->polygon(
$x1+1, $y2+($task_height/1.2),
@@ -517,7 +515,7 @@
if ( $task->Type eq 'Milestone' ) {
$p->setcolour(0,0,0);
my ($x, $y) = _trans_coord($_x1, $_y1+($task_height/2));
- $p->circle($x, $y, 1, 1);
+ $p->circle({ filled => 1 }, $x, $y, 1);
$p->setfont("Helvetica", 6);
my $am = sprintf('%02d', $start_month);
my $ad = sprintf('%02d', $start_day);
@@ -585,7 +583,7 @@
my $h_month_week = 3;
my ($_x, $_y) = ($i*$day_x, $day_x*$h_month_week);
my ($x, $y) = _trans_coord($_x, $_y);
- $p->box($x, $y, $x+$day_x, $page_border, 1);
+ $p->box({ filled => 1 }, $x, $y, $x+$day_x, $page_border);
#-- die linien haben unterschiedliche höhe
#-- is es ein wochen-anfang
if ( $act_dow == 1 ) {

View file

@ -0,0 +1,11 @@
This is a port of Taskjuggler, a project management tool for Linux and UNIX
system-based operating systems. Instead of clicking yourself painfully through
hundreds of dialog boxes you specify your Taskjuggler project in a simple text
format. You simply list all your tasks and their dependencies. The information
is sent through Taskjuggler and you will get all sorts of reports in HTML or
XML format.
WWW: http://www.taskjuggler.org/
- Dean Povey
povey@wedgetail.com

View file

@ -0,0 +1,43 @@
bin/taskjuggler
bin/tjx2gantt
%%DOCSDIR%%/Examples/BigProject/Common/Resources.tjsp
%%DOCSDIR%%/Examples/BigProject/Project1/Project1-Interface.tjsp
%%DOCSDIR%%/Examples/BigProject/Project1/Project1.html
%%DOCSDIR%%/Examples/BigProject/Project1/Project1.tjp
%%DOCSDIR%%/Examples/BigProject/Project2/Project2.html
%%DOCSDIR%%/Examples/BigProject/Project2/Project2.tjp
%%DOCSDIR%%/Examples/BigProject/README
%%DOCSDIR%%/Examples/FirstProject/Accounting.html
%%DOCSDIR%%/Examples/FirstProject/AccountingSoftware.tjp
%%DOCSDIR%%/Examples/FirstProject/AccountingSoftware.tjx
%%DOCSDIR%%/Examples/FirstProject/Calendar.html
%%DOCSDIR%%/Examples/FirstProject/Staff-Details.html
%%DOCSDIR%%/Examples/FirstProject/Staff-Overview.html
%%DOCSDIR%%/Examples/FirstProject/Status-Report.html
%%DOCSDIR%%/Examples/FirstProject/Tasks-Details.html
%%DOCSDIR%%/Examples/FirstProject/Tasks-Overview.html
%%DOCSDIR%%/Examples/FirstProject/acso.eps
%%DOCSDIR%%/Examples/FirstProject/acso_poster.eps
%%DOCSDIR%%/Examples/ShiftSchedule/Calendar-anders.html
%%DOCSDIR%%/Examples/ShiftSchedule/Calendar-joe.html
%%DOCSDIR%%/Examples/ShiftSchedule/Calendar-khaled.html
%%DOCSDIR%%/Examples/ShiftSchedule/Calendar-paul.html
%%DOCSDIR%%/Examples/ShiftSchedule/Calendar-sally.html
%%DOCSDIR%%/Examples/ShiftSchedule/ResourceUsage-Jun.html
%%DOCSDIR%%/Examples/ShiftSchedule/ShiftSchedule.tjp
%%DOCSDIR%%/Examples/ShiftSchedule/ShiftTimes-06-03.html
%%DOCSDIR%%/Examples/ShiftSchedule/ShiftTimes-06-10.html
%%DOCSDIR%%/Examples/ShiftSchedule/TaskCoverage-Jun.html
%%DOCSDIR%%/tjx2gantt/README
%%DOCSDIR%%/tjx2gantt/TODO
%%DOCSDIR%%/tjx2gantt/testProject.tjp
@dirrm %%DOCSDIR%%/Examples/FirstProject
@dirrm %%DOCSDIR%%/Examples/BigProject/Common
@dirrm %%DOCSDIR%%/Examples/BigProject/Project1
@dirrm %%DOCSDIR%%/Examples/BigProject/Project2
@dirrm %%DOCSDIR%%/Examples/BigProject
@dirrm %%DOCSDIR%%/Examples/ShiftSchedule
@dirrm %%DOCSDIR%%/Examples
@dirrm %%DOCSDIR%%/manual
@dirrm %%DOCSDIR%%/tjx2gantt
@dirrm %%DOCSDIR%%