From owner-freebsd-ports@FreeBSD.ORG Mon May 28 14:06:32 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53E8E1065674 for ; Mon, 28 May 2012 14:06:32 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0678FC1D for ; Mon, 28 May 2012 14:06:31 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.5/8.14.5) with ESMTP id q4SE6IiF035203; Mon, 28 May 2012 09:06:18 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <4FC3865A.20700@missouri.edu> Date: Mon, 28 May 2012 09:06:18 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: =?UTF-8?B?Tmlrb2xhIExlxI1pxIc=?= References: <20120526090137.001691dc@scorpio> <4FC0F8EA.1090005@missouri.edu> <4FC11B66.9000302@missouri.edu> <4b8eeb05337b220f301268ce014a159d@anthesphoria.net> <4FC2D159.4050801@missouri.edu> <4FC2D59E.3090302@missouri.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: sam.lin4ml@gmail.com, freebsd-ports@freebsd.org, romain@blogreen.org Subject: Re: Request to review: print/texlive-install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 14:06:32 -0000 On 05/27/2012 08:48 PM, Nikola Lečić wrote: > On Sun, 27 May 2012 20:32:14 -0500, Stephen Montgomery-Smith wrote: >> Hi People, >> >> I have written a simple port which is in essence a wrapper around the >> texlive installation script. It also builds (almost) all of the binaries >> from scratch. >> >> Does anyone have any suggestions? Would anyone mind if this port was >> committed? >> >> There are a number of issues. In particular there is no checksum >> calculated for install-tl-unx.tar.gz because I suspect that it changes >> very often. >> >> Also the install-tl-xxxxxxxx script doesn't seem to have a capability to >> be run in batch mode. I hacked a way around this, but it could be easily >> broken if the script were to change in some unexpected way. >> >> But it does build and install texlive in a fairly timely manner. And the >> result can be made into a (large) package using pkg_create. > > Stephen, TeX Live 2011 builds fine for me with this port. Just a few > comments: > > 1. Biber doesn't need compat7x. It works on 7 and above without it. > Moreover, the TeX Live's configure script already takes care of the > FreeBSD version in the FreeBSD way. Please take a look: > > > http://www.tug.org/svn/texlive/trunk/Build/source/utils/biber/configure?revision=26215&view=markup > > lines 3563-3583, or just search for '__FreeBSD_version'. The binaries > distributed with the source work on FreeBSD>=701000 and biber will not > be installed if older FreeBSD is detected. > > (I meant that it could be possible to cover FreeBSD-6 with biber > binaries distributed over CTAN. But that's not extremely important for > now.) > > 2. fontconfig is a run dependency as well, xetex needs it to run. Thanks. What about perl - is that a run dependency as well? > > 3. TeX Live ships with its own portable FreeBSD i386/amd64 xz and wget > binaries and install-tl/tlmgr use them. They will not work on FreeBSD<7. > Therefore, it could be possible that you need to add xz and wget as > build/run dependencies on FreeBSD<7 and on architectures other than > i386/amd64, although I haven't checked this. I won't worry about FreeBSD<7. They are end of line anyway. > > 4. Since the aim of your port is not to create portable binaries, there > is no reason not to build xindy. You can freely add '--enable-xindy > CLISP=/path to the clisp binary/', and lang/clisp as a build dependency. > I was looking at the online docs of xindy. Is the version of xindy that comes with texlive out of date? The online docs don't match the program that comes with xindy.