Date: Wed, 24 Mar 2004 23:33:28 +0900 (JST) From: UMENO Takashi <umeno@rr.iij4u.or.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64657: Maintainer Update: graphics/mingplot to 0.3 and SIZE'ify Message-ID: <200403241433.i2OEXSpF080288@belldandy.unnumbered.net> Resent-Message-ID: <200403241440.i2OEeDP5073436@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64657 >Category: ports >Synopsis: Maintainer Update: graphics/mingplot to 0.3 and SIZE'ify >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 24 06:40:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: UMENO Takashi >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD belldandy.unnumbered.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Mar 20 12:38:01 JST 2004 umeno@belldandy.unnumbered.net:/usr/obj/usr/src/sys/SAKUYA21 i386 >Description: Maintainer Update: graphics/mingplot to 0.3 and SIZE'ify. Remove file: files/patch-mingchart.rb >How-To-Repeat: N/A >Fix: diff -urN mingplot.orig/Makefile mingplot/Makefile --- mingplot.orig/Makefile Tue Mar 23 22:32:52 2004 +++ mingplot/Makefile Wed Mar 24 15:44:00 2004 @@ -6,7 +6,7 @@ # PORTNAME= mingplot -PORTVERSION= 0.2 +PORTVERSION= 0.3 CATEGORIES= graphics www MASTER_SITES= http://namazu.org/~satoru/mingplot/ diff -urN mingplot.orig/distinfo mingplot/distinfo --- mingplot.orig/distinfo Mon Dec 8 06:36:42 2003 +++ mingplot/distinfo Wed Mar 24 15:45:19 2004 @@ -1 +1,2 @@ -MD5 (mingplot-0.2.tar.gz) = 7f54e5224f14f5e490617f540fafebe8 +MD5 (mingplot-0.3.tar.gz) = f2c53c6b90e79a5d543e8711fd744698 +SIZE (mingplot-0.3.tar.gz) = 47090 diff -urN mingplot.orig/files/patch-mingchart.rb mingplot/files/patch-mingchart.rb --- mingplot.orig/files/patch-mingchart.rb Mon Dec 8 06:36:42 2003 +++ mingplot/files/patch-mingchart.rb Thu Jan 1 09:00:00 1970 @@ -1,69 +0,0 @@ ---- mingchart.rb.orig Fri Aug 15 10:06:17 2003 -+++ mingchart.rb Fri Aug 15 10:06:20 2003 -@@ -188,7 +188,7 @@ - - def add_axises - shape = SWFShape.new -- shape.set_line(@axis_line_width, *@axis_line_color) -+ shape.set_line(@axis_line_width, *@axis_line_color.to_a) - shape.move_pen(@canvas_x_margin, @canvas_y_margin) - shape.draw_line(0, @y_length) - shape.draw_line(@x_length, 0) -@@ -325,7 +325,7 @@ - item.move_to(xx + x_margin, yy + y_margin) - - line = SWFShape.new -- line.set_line(@scale_line_width, *@scale_line_color) -+ line.set_line(@scale_line_width, *@scale_line_color.to_a) - line.move_pen_to(xx, yy) - if at == :bottom - line.draw_line(0, -@s...) -@@ -354,7 +354,7 @@ - xx = convert_x(x) - yy = @canvas_height - @canvas_y_margin - line = SWFShape.new -- line.set_line(@grid_line_width, *@grid_line_color) -+ line.set_line(@grid_line_width, *@grid_line_color.to_a) - line.move_pen_to(xx, yy) - line.draw_line(0, -@y...) - @movie.add(line) -@@ -370,7 +370,7 @@ - xx = @canvas_x_margin - yy = convert_y(y, side) - line = SWFShape.new -- line.set_line(@grid_line_width, *@grid_line_color) -+ line.set_line(@grid_line_width, *@grid_line_color.to_a) - line.move_pen_to(xx, yy) - line.draw_line(@x_length, 0) - @movie.add(line) -@@ -424,7 +424,7 @@ - - def draw_line (data, color, side, fill_p = false) - line = SWFShape.new -- line.set_line(@line_width, *color) -+ line.set_line(@line_width, *color.to_a) - first_time = true - - if fill_p -@@ -549,8 +549,9 @@ - texts.push([text, width, height, lineno]) - } - -- total_height = texts.map {|x| x[2] }.inject(0) {|x, y| -- x + y * @line_title_line_height_ratio -+ total_height = 0 -+ texts.map {|x| x[2] }.each {|v| -+ total_height += v * @line_title_line_height_ratio - } - max_width = texts.map {|x| x[1] }.max - -@@ -571,7 +572,7 @@ - base_y + height + height * i * @line_title_line_height_ratio) - - line = SWFShape.new -- line.set_line(@line_width, *@line_colors[lineno]) -+ line.set_line(@line_width, *@line_colors[lineno].to_a) - line.draw_line(@line_title_line_length, 0) - item = @movie.add(line) - item.move_to(base_x + @line_title_line_margin, - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403241433.i2OEXSpF080288>