From owner-cvs-all@FreeBSD.ORG Sun Dec 19 08:51:21 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DA8106564A; Sun, 19 Dec 2010 08:51:21 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EAE408FC08; Sun, 19 Dec 2010 08:51:20 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBJ8pKSs063295; Sun, 19 Dec 2010 08:51:20 GMT (envelope-from makc@repoman.freebsd.org) Received: (from makc@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBJ8pKRk063294; Sun, 19 Dec 2010 08:51:20 GMT (envelope-from makc) Message-Id: <201012190851.oBJ8pKRk063294@repoman.freebsd.org> From: Max Brazhnikov Date: Sun, 19 Dec 2010 08:51:20 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/math/scilab Makefile distinfo pkg-plist ports/math/scilab/files extra-patch-NOPORTDOCS extra-patch-bin-JAVA_HOME patch-build.incl.xml patch-etc-librarypath.xml patch-modules-atoms-macros-atoms_gui-atomsGui.sci patch-modules-atoms-macros-atoms_internals-atomsAUWriteAccess.sci patch-modules-atoms-macros-atoms_internals-atomsDownload.sci patch-modules-core-includes-Thread_Wrapper.h ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2010 08:51:21 -0000 makc 2010-12-19 08:51:20 UTC FreeBSD ports repository Modified files: math/scilab Makefile distinfo pkg-plist math/scilab/files patch-build.incl.xml patch-etc-librarypath.xml Added files: math/scilab/files extra-patch-NOPORTDOCS extra-patch-bin-JAVA_HOME patch-modules-atoms-macros-atoms_gui-atomsGui.sci patch-modules-atoms-macros-atoms_internals-atomsAUWriteAccess.sci patch-modules-atoms-macros-atoms_internals-atomsDownload.sci patch-modules-core-includes-Thread_Wrapper.h patch-modules-dynamic_link-macros-ilib_gen_Make_unix.sci Removed files: math/scilab/files patch-modules-core-src-c-getmemory.c patch-modules-hdf5-src-java-org-scilab-modules-hdf5-read-H5Read.java patch-modules-xcos-src-java-org-scilab-modules-graph-ScilabCanvas.java Log: Update to 5.3.0 Upstream changes: http://www.scilab.org/content/download/1791/19327/file/changes5.2.2-5.3.0.pdf Port changes: -Drop dependency on readline from ports - this was never removed from the 4.x port and isn't used -Make UMFPACK off by default - the only reason it was on by default was for consistency among 5.2.x versions, since I didn't expose the knob through OPTIONS properly until 5.2.2 -Update JGraphX to compatible version for Scilab 5.3.0 -Scilab does not start java in the normal way (with javavmwrapper) so the JAVA_HOME environment variable isn't set properly. Explictly set JAVA_HOME to whatever was used to build the port. This seems to correct occasional crashes on startup. -Use batik-all.jar instead of batik.jar - has some extra classes in it -Additional dependency: java/jakarta-commons-beanutils -"bsdjava" (java/jdk16) doesn't work with this version. Require diablo or openjdk. -Use COMMENT in DESKTOP_ENTRIES -Switch to a dynamic plist for include/scilab, lib/scilab, and share/scilab. These directories vary quite a bit depending on what options are set but should be exclusive to scilab. -Reorganize post-patch section so java related substitutions aren't done unless building with java -Fix NOPORTDOCS to actually do something -Silence post-patch output -Remove rename of Visual Basic demos - BSD make couldn't handle the unquoted spaces in the path names, but this port now uses GNU make -Remove unnecessary find statements in pre-install -Remove empty directories in DATADIR/modules - toolboxes don't like them -Fix where threads incorrectly detected as Linux style -A couple patches are no longer necessary -ATOMS (package manager for downloading toolboxes in binary form) is not available for FreeBSD. It tries to download a list of available packages from the Scilab website (based on uname). There is no list for FreeBSD and it HTTP 404's. Scilab misinterprets this and says "Please connect to the Internet", which is a bit misleading. Patch to indicate that this will never work. I considered faking the uname to Linux, but there are no RPMs in ports for math-type things, like fortran, blas/lapack, etc. so I doubt anything would run. Porting any desired toolboxs is probably the best route. -Fix ATOMS to use fetch instead of requiring wget or curl (Due to the previous issue, this will only be useful for 3rd party repositories) -Fix toolbox build macros to not write to PREFIX/share/scilab when building as root PR: ports/153274 Submitted by: Rob Farmer (maintainer) Revision Changes Path 1.73 +82 -83 ports/math/scilab/Makefile 1.19 +4 -6 ports/math/scilab/distinfo 1.1 +28 -0 ports/math/scilab/files/extra-patch-NOPORTDOCS (new) 1.1 +30 -0 ports/math/scilab/files/extra-patch-bin-JAVA_HOME (new) 1.2 +7 -7 ports/math/scilab/files/patch-build.incl.xml 1.2 +9 -6 ports/math/scilab/files/patch-etc-librarypath.xml 1.1 +11 -0 ports/math/scilab/files/patch-modules-atoms-macros-atoms_gui-atomsGui.sci (new) 1.1 +32 -0 ports/math/scilab/files/patch-modules-atoms-macros-atoms_internals-atomsAUWriteAccess.sci (new) 1.1 +84 -0 ports/math/scilab/files/patch-modules-atoms-macros-atoms_internals-atomsDownload.sci (new) 1.1 +16 -0 ports/math/scilab/files/patch-modules-core-includes-Thread_Wrapper.h (new) 1.2 +0 -28 ports/math/scilab/files/patch-modules-core-src-c-getmemory.c (dead) 1.1 +42 -0 ports/math/scilab/files/patch-modules-dynamic_link-macros-ilib_gen_Make_unix.sci (new) 1.2 +0 -12 ports/math/scilab/files/patch-modules-hdf5-src-java-org-scilab-modules-hdf5-read-H5Read.java (dead) 1.2 +0 -11 ports/math/scilab/files/patch-modules-xcos-src-java-org-scilab-modules-graph-ScilabCanvas.java (dead) 1.21 +27 -14575 ports/math/scilab/pkg-plist