Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2020 10:43:44 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528911 - in head/cad: . graywolf graywolf/files
Message-ID:  <202003221043.02MAhiU0003967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 22 10:43:44 2020
New Revision: 528911
URL: https://svnweb.freebsd.org/changeset/ports/528911

Log:
  New port: cad/graywolf: Fork of TimberWolf, a placement tool in VLSI design

Added:
  head/cad/graywolf/
  head/cad/graywolf/Makefile   (contents, props changed)
  head/cad/graywolf/distinfo   (contents, props changed)
  head/cad/graywolf/files/
  head/cad/graywolf/files/patch-src_Ylib_timer.c   (contents, props changed)
  head/cad/graywolf/files/patch-src_genrows_draw.c   (contents, props changed)
  head/cad/graywolf/pkg-descr   (contents, props changed)
  head/cad/graywolf/pkg-plist   (contents, props changed)
Modified:
  head/cad/Makefile

Modified: head/cad/Makefile
==============================================================================
--- head/cad/Makefile	Sun Mar 22 10:29:41 2020	(r528910)
+++ head/cad/Makefile	Sun Mar 22 10:43:44 2020	(r528911)
@@ -39,6 +39,7 @@
     SUBDIR += gmsh
     SUBDIR += gnucap
     SUBDIR += gplcver
+    SUBDIR += graywolf
     SUBDIR += gspiceui
     SUBDIR += gtkwave
     SUBDIR += impact

Added: head/cad/graywolf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/Makefile	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	graywolf
+DISTVERSION=	0.1.6-3
+DISTVERSIONSUFFIX=	-g6c5e24f
+CATEGORIES=	cad
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fork of TimberWolf, a placement tool in VLSI design
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libgsl.so:math/gsl
+
+USES=		cmake pkgconfig xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	rubund
+USE_XORG=	ice sm x11 xext
+USE_LDCONFIG=	yes
+
+USE_GCC=	any # lots of obviously incorrect C where clang fails, which gcc nevertheless magically finds a way to compile
+
+.include <bsd.port.mk>

Added: head/cad/graywolf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/distinfo	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584870522
+SHA256 (rubund-graywolf-0.1.6-3-g6c5e24f_GH0.tar.gz) = 79f8a15e8e6228bd3f5bdb5fccfdcc1b891327d6ced166eac180d523ee60662f
+SIZE (rubund-graywolf-0.1.6-3-g6c5e24f_GH0.tar.gz) = 910961

Added: head/cad/graywolf/files/patch-src_Ylib_timer.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/files/patch-src_Ylib_timer.c	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,26 @@
+--- src/Ylib/timer.c.orig	2018-08-23 20:02:57 UTC
++++ src/Ylib/timer.c
+@@ -58,6 +58,23 @@ REVISIONS:  
+ #include <sys/timeb.h>
+ #endif /* SYS5 */
+ 
++#include <sys/time.h>
++
++// from /usr/src/lib/libcompat/4.1/ftime.c
++int ftime(struct timeb *tbp) {
++	struct timezone tz;
++	struct timeval t;
++
++	if (gettimeofday(&t, &tz) < 0)
++		return (-1);
++	tbp->millitm = t.tv_usec / 1000;
++	tbp->time = t.tv_sec;
++	tbp->timezone = tz.tz_minuteswest;
++	tbp->dstflag = tz.tz_dsttime;
++
++	return (0);
++}
++
+ static INT base_timeS = 0 ;       /* the time in seconds at the start */
+ static INT milli_timeS ;         /* the millisecond part of the start */
+ /* initialize the timer */

Added: head/cad/graywolf/files/patch-src_genrows_draw.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/files/patch-src_genrows_draw.c	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,11 @@
+--- src/genrows/draw.c.orig	2018-08-23 20:02:57 UTC
++++ src/genrows/draw.c
+@@ -1209,7 +1209,7 @@ process_graphics()
+ 	shortRowG = FALSE ;
+ 	remakerows() ;
+ 	draw_the_data() ;
+-	if (last_chanceG) (VOID)last_chance() ;
++	if (last_chanceG) last_chance() ;
+ 
+     }
+ 

Added: head/cad/graywolf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/pkg-descr	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,13 @@
+graywolf is a fork of TimberWolf 6.3.5
+
+TimberWolf was developed at Yale University, and was distributed as open source
+for a time until it was taken commercial. The last open-source version of
+TimberWolf does not perform detail routing, but is a professional-grade
+placement tool. In order to continue improving the open-source version, graywolf
+has been forked off from version 6.3.5 of TimberWolf.
+
+The main improvement in graywolf is that the build process is more streamlined
+and that it behaves as a normal linux tool - you can call it from anywhere and
+no environment variables must be set first.
+
+WWW: https://github.com/rubund/graywolf

Added: head/cad/graywolf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/graywolf/pkg-plist	Sun Mar 22 10:43:44 2020	(r528911)
@@ -0,0 +1,20 @@
+bin/graywolf
+lib/graywolf/bin/Mincut
+lib/graywolf/bin/TimberWolfMC
+lib/graywolf/bin/TimberWolfSC
+lib/graywolf/bin/flow/flow.noroute/macro.fdbg
+lib/graywolf/bin/flow/flow.noroute/macro.flow
+lib/graywolf/bin/flow/flow.noroute/macro.fnog
+lib/graywolf/bin/flow/flow.noroute/mixed.flow
+lib/graywolf/bin/flow/flow.noroute/mixed.fnog
+lib/graywolf/bin/flow/flow.noroute/standard.fdbg
+lib/graywolf/bin/flow/flow.noroute/standard.flow
+lib/graywolf/bin/flow/flow.noroute/standard.fnog
+lib/graywolf/bin/genrows
+lib/graywolf/bin/mc_compact
+lib/graywolf/bin/show_flows
+lib/graywolf/bin/splt_file.a
+lib/graywolf/bin/syntax
+lib/libycadgraywolf.so
+lib/libycadgraywolf.so.1
+lib/libycadgraywolf.so.1.0.0



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