From owner-svn-ports-all@freebsd.org Sun Mar 22 10:43:47 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6B9727D4C0; Sun, 22 Mar 2020 10:43:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48lYyp3WZVz4m9h; Sun, 22 Mar 2020 10:43:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 64941241FF; Sun, 22 Mar 2020 10:43:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02MAhkUX003974; Sun, 22 Mar 2020 10:43:46 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02MAhiU0003967; Sun, 22 Mar 2020 10:43:44 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202003221043.02MAhiU0003967@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 22 Mar 2020 10:43:44 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/cad: . graywolf graywolf/files X-SVN-Commit-Revision: 528911 X-SVN-Commit-Repository: ports 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.29 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: Sun, 22 Mar 2020 10:43:48 -0000 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 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 + #endif /* SYS5 */ + ++#include ++ ++// 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