From owner-freebsd-ports@FreeBSD.ORG Sat May 26 16:01:55 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D490B106566B for ; Sat, 26 May 2012 16:01:55 +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 7E7988FC0A for ; Sat, 26 May 2012 16:01:54 +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 q4QFcITe065859 for ; Sat, 26 May 2012 10:38:18 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <4FC0F8EA.1090005@missouri.edu> Date: Sat, 26 May 2012 10:38: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: freebsd-ports@freebsd.org References: <20120526090137.001691dc@scorpio> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: TeXLive merge into FreeBSD ports tree - is this going to happen or not? 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: Sat, 26 May 2012 16:01:55 -0000 On 05/26/2012 09:19 AM, Nikola Lečić wrote: > On Sat, 26 May 2012 09:01:37 -0400, Jerry wrote: >> On Sat, 26 May 2012 22:42:50 +1200 >> Sam Lin articulated: >> > > This was already repeated many times on this mailing list, but I guess > it won't hurt to remind that vanilla TeX Live works on FreeBSD (from 7.0 > to 10-CURRENT) out of the box. It lives in /usr/local/texlive/, has its > own nice text and gui package manager and doesn't mess with the rest of > your system. Just download ISO and install it. This is what I have done, and it has worked very well - except the xdvi program that came with texlive was linked to a different version of the xorg libraries! But http://code.google.com/p/freebsd-texlive/wiki/Installing didn't work for me. I tried the tlmgr command to change to letter paper size, and it gave me error messages. (I must admit that I haven't tried this recently so maybe it got fixed. But I didn't get any good responses when I complained on the freebsd-texlive mailing list - if I remember correctly I was told I shouldn't be using tlmgr.) But also, the current proposed freebsd texlive just looks way to difficult to maintain. Everytime the texlive distribution changes, the texlive ports have to update. If I were to implement texlive as a freebsd port, I would create a port called print/texlive-install. This port would build a texlive install-tl-unx.tar.gz program, just like can be found on the texlive web sites, but with xdvi and other binaries compiled by the port, but everything else operating according to the texlive philosophy. The port would run the install program, and then do a "find /usr/local/texlive" to fill in the appropriate /var/db/pkg/texlive files. I have written other ports where the ported software doesn't work well with the FreeBSD ports philosophy, and my approach has been to embrace the software's philosophy and make the freebsd port a wrapper for the software's installation process. This includes the math/sage port, and the math/octave-forge* ports. If I had the time, I would do the same for a texlive-install port. If wouldn't conflict with (but it would compete against) the current proposed freebsd texlive ports. The reason I haven't done this yet is (1) because of time constraints, and (2) I feel uncomfortable competing with someone elses proposed port structure. P.S. How did I solve the xdvi problem? I installed texlive from the texlive web site. Then I installed the FreeBSD print/teTeX port. Then I set PATH so that it picked up most of the commands from /usr/local/texlive/bin, but picked up xdvi from /usr/local/bin. I know it is an ugly hack. Stephen