Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 17:01:19 +0200 (CEST)
From:      Simun Mikecin <numisemis@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nick@foobar.com
Subject:   ports/87787: [update] graphics/pear-Image_Graph 0.7.1
Message-ID:  <20051021150119.C34EC26D04C@mail.logos.hr>
Resent-Message-ID: <200510211510.j9LFAH7c037483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87787
>Category:       ports
>Synopsis:       [update] graphics/pear-Image_Graph 0.7.1
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 21 15:10:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Simun Mikecin
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD mail.logos.hr 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Mon Jul 26 14:07:00 CEST 2004 root@mail.logos.hr:/usr/obj/usr/src.5.2.1-R/sys/MAIL i386


	
>Description:
This is an update of graphics/pear-Image_Graph port from the last version
commited to the ports tree (0.3.0) to the latest version (0.7.1).
This version requires graphics/pear-Image_Canvas port to be installed (at
this moment that port is still not commited, in the PR database it is
recorded as ports/87785).
>How-To-Repeat:
	
>Fix:
diff -urN pear-Image_Graph.orig/Makefile pear-Image_Graph/Makefile
--- pear-Image_Graph.orig/Makefile	Mon Mar  7 21:12:59 2005
+++ pear-Image_Graph/Makefile	Fri Oct 21 16:18:33 2005
@@ -6,37 +6,29 @@
 #
 
 PORTNAME=	Image_Graph
-PORTVERSION=	0.3.0
+PORTVERSION=	0.7.1
 CATEGORIES=	graphics www pear
 
 MAINTAINER=	nick@foobar.org
 COMMENT=	An OO PEAR graph rendering package
 
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
-RUN_DEPENDS=	${PEARDIR}/Image/Color.php:${PORTSDIR}/graphics/pear-Image_Color \
-		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
+RUN_DEPENDS=	${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \
+		${PEARDIR}/Image/Canvas.php:${PORTSDIR}/graphics/pear-Image_Canvas
 
-# TODO: add PDFLIB support as soon as the FreeBSD port of PHP supports it
-
-USE_PHP=	gd ming
 USE_REINPLACE=	yes
 
-PKGMESSAGE=	${WRKDIR}/pkg-message
-SUB_FILES=	pkg-message
-
 CATEGORY=	Image
-FILES=		Graph.php Graph/Axis.php Graph/Color.php \
-		Graph/Common.php Graph/Config.php Graph/Constants.php \
-		Graph/DataPreprocessor.php Graph/DataSelector.php \
-		Graph/Dataset.php Graph/Driver.php Graph/Element.php \
+FILES=		Graph.php Graph/Axis.php Graph/Common.php Graph/Config.php \
+		Graph/Constants.php Graph/DataPreprocessor.php \
+		Graph/DataSelector.php Graph/Dataset.php  Graph/Element.php \
 		Graph/Fill.php Graph/Font.php Graph/Grid.php \
 		Graph/Layout.php Graph/Legend.php Graph/Logo.php \
 		Graph/Marker.php Graph/Plot.php Graph/Plotarea.php \
 		Graph/Simple.php Graph/Title.php Graph/Tool.php \
 		Graph/Axis/Category.php Graph/Axis/Logarithmic.php \
 		Graph/Axis/Radar.php Graph/Axis/Marker/Area.php \
-		Graph/Axis/Marker/Line.php \
-		Graph/DataPreprocessor/Array.php \
+		Graph/Axis/Marker/Line.php Graph/DataPreprocessor/Array.php \
 		Graph/DataPreprocessor/Currency.php \
 		Graph/DataPreprocessor/Date.php \
 		Graph/DataPreprocessor/Formatted.php \
@@ -44,21 +36,19 @@
 		Graph/DataPreprocessor/NumberText.php \
 		Graph/DataPreprocessor/RomanNumerals.php \
 		Graph/DataPreprocessor/Sequential.php \
+		Graph/Dataset/Function.php Graph/Dataset/Random.php \
+		Graph/Dataset/Sequential.php Graph/Dataset/Trivial.php \
+		Graph/Dataset/VectorFunction.php \
 		Graph/DataSelector/EveryNthPoint.php \
-		Graph/DataSelector/NoZeros.php Graph/Dataset/Function.php \
-		Graph/Dataset/Random.php Graph/Dataset/Sequential.php \
-		Graph/Dataset/Trivial.php Graph/Dataset/VectorFunction.php \
-		Graph/Driver/GD.php Graph/Driver/PDFlib.php \
-		Graph/Driver/SVG.php Graph/Driver/SWF.php \
-		Graph/Driver/GD/GIF.php Graph/Driver/GD/JPG.php \
-		Graph/Driver/GD/PNG.php Graph/Driver/GD/WBMP.php \
+		Graph/DataSelector/NoZeros.php Graph/DataSelector/Values.php \
 		Graph/Figure/Circle.php Graph/Figure/Ellipse.php \
 		Graph/Figure/Polygon.php Graph/Figure/Rectangle.php \
 		Graph/Fill/Array.php Graph/Fill/Gradient.php \
-		Graph/Fill/Image.php Graph/Font/Extended.php \
-		Graph/Font/TTF.php Graph/Font/Vertical.php \
-		Graph/Grid/Bars.php Graph/Grid/Lines.php \
-		Graph/Grid/Polar.php Graph/Layout/Horizontal.php \
+		Graph/Fill/Image.php Graph/Grid/Bars.php \
+		Graph/Grid/Lines.php Graph/Grid/Polar.php \
+		Graph/Images/Icons/pinpoint.png \
+		Graph/Images/Icons/pinpointr.png Graph/Images/Maps/README \
+		Graph/Layout/Horizontal.php \
 		Graph/Layout/Matrix.php Graph/Layout/Vertical.php \
 		Graph/Line/Array.php Graph/Line/Dashed.php \
 		Graph/Line/Dotted.php Graph/Line/Formatted.php \
@@ -69,39 +59,109 @@
 		Graph/Marker/Diamond.php Graph/Marker/Icon.php \
 		Graph/Marker/Pinpoint.php Graph/Marker/Plus.php \
 		Graph/Marker/Pointing.php Graph/Marker/ReversePinpoint.php \
-		Graph/Marker/Triangle.php Graph/Marker/Value.php \
-		Graph/Marker/Pointing/Angular.php \
+		Graph/Marker/Star.php Graph/Marker/Triangle.php \
+		Graph/Marker/Value.php Graph/Marker/Pointing/Angular.php \
 		Graph/Marker/Pointing/Radial.php Graph/Plot/Area.php \
 		Graph/Plot/Band.php Graph/Plot/Bar.php \
 		Graph/Plot/BoxWhisker.php Graph/Plot/CandleStick.php \
 		Graph/Plot/Dot.php Graph/Plot/Impulse.php \
-		Graph/Plot/Line.php Graph/Plot/Pie.php \
+		Graph/Plot/Line.php Graph/Plot/Odo.php Graph/Plot/Pie.php \
 		Graph/Plot/Radar.php Graph/Plot/Step.php \
-		Graph/Plot/Smoothed/Area.php \
-		Graph/Plot/Smoothed/Bezier.php \
-		Graph/Plot/Smoothed/Line.php Graph/Plot/Smoothed/Radar.php \
+		Graph/Plot/Fit/Line.php Graph/Plot/Smoothed/Area.php \
+		Graph/Plot/Smoothed/Bezier.php Graph/Plot/Smoothed/Line.php \
+		Graph/Plot/Smoothed/Radar.php \
 		Graph/Plotarea/Element.php Graph/Plotarea/Map.php \
-		Graph/Plotarea/Radar.php \
-		Graph/Fonts/fontmap.txt
+		Graph/Plotarea/Radar.php
 
 TESTS=		freetype.php gd.php README axis/category.php \
 		axis/intersection.php axis/intersection_secondary_axis.php \
 		axis/inversion.php axis/labelinterval.php \
-		axis/logarithmic.php driver/driver_body.php driver/gif.php \
-		driver/gradients.php driver/jpg.php driver/pear-icon.png \
-		driver/png.php driver/svg.php driver/text.php \
-		driver/wbmp.php plot/area.php plot/bar.php plot/impulse.php \
-		plot/line.php plot/step.php
-
-DOCS=		ChangeLog colors.txt Drivers.txt LICENSE README examples/barchart1.php \
-		examples/drivers1.php examples/drivers2.php examples/linechart1.php \
-		examples/piechart1.php examples/images/audi.png examples/images/bmw.png \
-		examples/images/coins.png examples/images/mercedes.png \
+		axis/logarithmic.php plot/area.php plot/bar.php \
+		plot/impulse.php plot/line.php plot/step.php \
+		plot/horizontal/area.php plot/horizontal/bar.php \
+		plot/horizontal/impulse.php plot/horizontal/line.php \
+		plot/horizontal/step.php
+
+DOCS=		ChangeLog colors.txt LICENSE README examples/antialias.php  \
+		examples/axis_direction.php \
+		examples/category_axis_explanation.php \
+		examples/color_chart.php \
+		examples/customize.php \
+		examples/datapreprocessor.php \
+		examples/double_category_axis.php \
+		examples/driver_filepdf.php \
+		examples/driver_pdf.php \
+		examples/driver_png_svg.php \
+		examples/driver_swf01.php \
+		examples/driver_swf02.php \
+		examples/driver_swf03.php \
+		examples/frontpage_sample.php \
+		examples/gradient_fill_area.php \
+		examples/gradient_pie.php \
+		examples/horizontal.php \
+		examples/gradient_step.php \
+		examples/html_image_map.php \
+		examples/imagemap.png \
+		examples/image_fill.php \
+		examples/index.html \
+		examples/layout_matrix.php \
+		examples/line_break.php \
+		examples/logo_graph.php \
+		examples/log_axis.php \
+		examples/log_axis_intersect.php \
+		examples/manual_labels.php \
+		examples/misc01.php \
+		examples/misc02.php \
+		examples/misc03.php \
+		examples/misc04.php \
+		examples/misc05.php \
+		examples/misc06.php \
+		examples/multiple_plots.php \
+		examples/negative_values.php \
+		examples/plot_all.php \
+		examples/plot_area.php \
+		examples/plot_all_horizontal.php \
+		examples/plot_all_horizontal_invert.php \
+		examples/plot_area_smooth.php \
+		examples/plot_area_stack.php \
+		examples/plot_band.php \
+		examples/plot_bar.php \
+		examples/plot_bar_horizontal.php \
+		examples/plot_bar_multiple.php \
+		examples/plot_bar_stacked.php \
+		examples/plot_bar_stacked100pct.php \
+		examples/plot_bar_stacked_horizontal.php \
+		examples/plot_bar_stacked_negative.php \
+		examples/plot_boxwhisker.php \
+		examples/plot_candlestick.php \
+		examples/plot_impulse.php \
+		examples/plot_line.php \
+		examples/plot_impulse_stacked.php \
+		examples/plot_line_smooth.php \
+		examples/plot_map.php \
+		examples/plot_odo.php \
+		examples/plot_pie.php \
+		examples/plot_pie_rotate.php \
+		examples/plot_radar.php \
+		examples/plot_radar_smooth.php \
+		examples/plot_scatter.php \
+		examples/plot_scatter_linefit.php \
+		examples/plot_step.php \
+		examples/secondary_axis.php \
+		examples/simple.php \
+		examples/simple_graph.php \
+		examples/small_pie_plot.php \
+		examples/vector_function.php \
+		examples/data/colors.txt \
+		examples/images/audi-tt-coupe.jpg \
+		examples/images/audi.png \
+		examples/images/bmw.png \
+		examples/images/coins.png \
+		examples/images/mercedes.png \
+		examples/images/modify.jpg \
+		examples/images/mountain.jpg \
 		examples/images/porsche.png
 
-FONTDIR=	${PEARDIR}/${CATEGORY}/Graph/Fonts
-
-PLIST_FILES+=	share/pear/${CATEGORY}/Graph/Fonts/fontmap.txt-dist
 LATEST_LINK=	pear-Image_Graph
 
 post-patch:
@@ -111,9 +171,5 @@
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
-
-post-install-script:
-	@${CP} ${WRKSRC}/Graph/Fonts/fontmap.txt ${FONTDIR}/fontmap.txt-dist
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -urN pear-Image_Graph.orig/distinfo pear-Image_Graph/distinfo
--- pear-Image_Graph.orig/distinfo	Mon Mar  7 21:12:59 2005
+++ pear-Image_Graph/distinfo	Fri Oct 21 15:28:02 2005
@@ -1,2 +1,2 @@
-MD5 (PEAR/Image_Graph-0.3.0.tgz) = c2603540777bdbc30e02a0908ae5c629
-SIZE (PEAR/Image_Graph-0.3.0.tgz) = 145705
+MD5 (PEAR/Image_Graph-0.7.1.tgz) = 2492103af6a37f856459fe0e0e72ba86
+SIZE (PEAR/Image_Graph-0.7.1.tgz) = 363754
diff -urN pear-Image_Graph.orig/files/pkg-message.in pear-Image_Graph/files/pkg-message.in
--- pear-Image_Graph.orig/files/pkg-message.in	Mon Mar  7 21:12:59 2005
+++ pear-Image_Graph/files/pkg-message.in	Thu Jan  1 01:00:00 1970
@@ -1,12 +0,0 @@
-------------------------------------------------------------------
-In order to render fonts correctly, Image_Graph requires TrueType fonts to
-be installed in its fonts directory.  In order to link all the TrueType
-fonts currently installed on your system to the Image_Graph directory, you
-should execute the following command:
-
-sh -c ' \
-for i in `locate \*.\[Tt\]\[Tt\]\[Ff\]`; do \
-	ln -s $i %%PREFIX%%/share/pear/Image/Graph/Fonts; \
-done'
-
-------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021150119.C34EC26D04C>