From owner-svn-ports-all@FreeBSD.ORG Thu Dec 19 14:36:14 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC29A8BE; Thu, 19 Dec 2013 14:36:14 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D68CE1627; Thu, 19 Dec 2013 14:36:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBJEaE8n060558; Thu, 19 Dec 2013 14:36:14 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBJEaDX6060549; Thu, 19 Dec 2013 14:36:13 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312191436.rBJEaDX6060549@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 19 Dec 2013 14:36:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r336917 - in branches/2014Q1/graphics/graphopt: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 14:36:15 -0000 Author: bapt Date: Thu Dec 19 14:36:13 2013 New Revision: 336917 URL: http://svnweb.freebsd.org/changeset/ports/336917 Log: MFH: r336915 - Fix build with clang - Add LICENSE - Add desktop entry file - Support staging PR: pors/184815 Submitted by: KATO Tsuguru Added: branches/2014Q1/graphics/graphopt/files/patch-src__classes__dotImporter.cc - copied unchanged from r336915, head/graphics/graphopt/files/patch-src__classes__dotImporter.cc branches/2014Q1/graphics/graphopt/files/patch-src__classes__nodes.cc - copied unchanged from r336915, head/graphics/graphopt/files/patch-src__classes__nodes.cc branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileReader.cc - copied unchanged from r336915, head/graphics/graphopt/files/patch-src__classes__optFileReader.cc branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileWriter.cc - copied unchanged from r336915, head/graphics/graphopt/files/patch-src__classes__optFileWriter.cc branches/2014Q1/graphics/graphopt/files/patch-src__classes__visioExporter.cc - copied unchanged from r336915, head/graphics/graphopt/files/patch-src__classes__visioExporter.cc Modified: branches/2014Q1/graphics/graphopt/Makefile (contents, props changed) branches/2014Q1/graphics/graphopt/files/patch-src:classes:psExporter.cc (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/graphics/graphopt/Makefile ============================================================================== --- branches/2014Q1/graphics/graphopt/Makefile Thu Dec 19 14:32:47 2013 (r336916) +++ branches/2014Q1/graphics/graphopt/Makefile Thu Dec 19 14:36:13 2013 (r336917) @@ -3,16 +3,19 @@ PORTNAME= graphopt PORTVERSION= 0.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= Graph Layout Optimizer +COMMENT= Graph layout optimizer + +LICENSE= GPLv2 # (or later) USE_GNOME= gtk12 GNU_CONFIGURE= yes -NO_STAGE= yes +DESKTOP_ENTRIES="GraphOpt" "" "" "${PORTNAME}" "Graphics;GTK;" "" + .include Modified: branches/2014Q1/graphics/graphopt/files/patch-src:classes:psExporter.cc ============================================================================== --- branches/2014Q1/graphics/graphopt/files/patch-src:classes:psExporter.cc Thu Dec 19 14:32:47 2013 (r336916) +++ branches/2014Q1/graphics/graphopt/files/patch-src:classes:psExporter.cc Thu Dec 19 14:36:13 2013 (r336917) @@ -1,10 +1,13 @@ --- src/classes/psExporter.cc.orig Mon Aug 9 09:31:11 2004 +++ src/classes/psExporter.cc Mon Aug 9 09:31:38 2004 -@@ -23,13 +23,13 @@ void psExporter::do_export() { - fclose(outfile); - } +@@ -1,4 +1,5 @@ + #include "psExporter.h" ++#include + psExporter::psExporter(char *what_file, nodes *what_nodes) { +@@ -26,7 +27,7 @@ + void psExporter::write_headers(FILE *outfile) { char *line = new char[200]; - sprintf(line, "\%!PS-Adobe-1.0\n%%%%BoundingBox: 0 0 %d %d\n%%%%DocumentFonts: Helvetica\n%%%%Pages: 1\n", @@ -12,6 +15,3 @@ translatexcoord((double) biggest_x) + 2 * margin, translateycoord((double) biggest_y) + 2 * margin); fwrite(line, strlen(line), 1, outfile); - delete line; - } - Copied: branches/2014Q1/graphics/graphopt/files/patch-src__classes__dotImporter.cc (from r336915, head/graphics/graphopt/files/patch-src__classes__dotImporter.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/graphopt/files/patch-src__classes__dotImporter.cc Thu Dec 19 14:36:13 2013 (r336917, copy of r336915, head/graphics/graphopt/files/patch-src__classes__dotImporter.cc) @@ -0,0 +1,10 @@ +--- src/classes/dotImporter.cc.orig ++++ src/classes/dotImporter.cc +@@ -1,5 +1,6 @@ + #include "dotImporter.h" +-#include ++#include ++#include + #include + #include "../interface.h" + Copied: branches/2014Q1/graphics/graphopt/files/patch-src__classes__nodes.cc (from r336915, head/graphics/graphopt/files/patch-src__classes__nodes.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/graphopt/files/patch-src__classes__nodes.cc Thu Dec 19 14:36:13 2013 (r336917, copy of r336915, head/graphics/graphopt/files/patch-src__classes__nodes.cc) @@ -0,0 +1,9 @@ +--- src/classes/nodes.cc.orig 2013-12-10 00:22:15.000000000 +0900 ++++ src/classes/nodes.cc 2013-12-10 00:22:39.000000000 +0900 +@@ -1,4 +1,5 @@ +-#include ++#include ++#include + #include "nodes.h" + + Copied: branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileReader.cc (from r336915, head/graphics/graphopt/files/patch-src__classes__optFileReader.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileReader.cc Thu Dec 19 14:36:13 2013 (r336917, copy of r336915, head/graphics/graphopt/files/patch-src__classes__optFileReader.cc) @@ -0,0 +1,10 @@ +--- src/classes/optFileReader.cc.orig ++++ src/classes/optFileReader.cc +@@ -1,5 +1,6 @@ + #include "optFileReader.h" +-#include ++#include ++#include + #include + #include "../interface.h" + Copied: branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileWriter.cc (from r336915, head/graphics/graphopt/files/patch-src__classes__optFileWriter.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/graphopt/files/patch-src__classes__optFileWriter.cc Thu Dec 19 14:36:13 2013 (r336917, copy of r336915, head/graphics/graphopt/files/patch-src__classes__optFileWriter.cc) @@ -0,0 +1,8 @@ +--- src/classes/optFileWriter.cc.orig ++++ src/classes/optFileWriter.cc +@@ -1,4 +1,5 @@ + #include "optFileWriter.h" ++#include + + + optFileWriter::optFileWriter(char *what_file, nodes *what_nodes) { Copied: branches/2014Q1/graphics/graphopt/files/patch-src__classes__visioExporter.cc (from r336915, head/graphics/graphopt/files/patch-src__classes__visioExporter.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/graphics/graphopt/files/patch-src__classes__visioExporter.cc Thu Dec 19 14:36:13 2013 (r336917, copy of r336915, head/graphics/graphopt/files/patch-src__classes__visioExporter.cc) @@ -0,0 +1,8 @@ +--- src/classes/visioExporter.cc.orig ++++ src/classes/visioExporter.cc +@@ -1,4 +1,5 @@ + #include "visioExporter.h" ++#include + + + visioExporter::visioExporter(char *what_file, nodes *what_nodes) {