From owner-freebsd-ports@FreeBSD.ORG Wed Aug 15 01:06:21 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26711065672 for ; Wed, 15 Aug 2012 01:06:21 +0000 (UTC) (envelope-from dennylin93@hs.ntnu.edu.tw) Received: from mail.hs.ntnu.edu.tw (mail.hs.ntnu.edu.tw [140.131.149.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1888FC08 for ; Wed, 15 Aug 2012 01:06:20 +0000 (UTC) Received: by mail.hs.ntnu.edu.tw (Postfix, from userid 1001) id 6887D1C643B; Wed, 15 Aug 2012 09:06:14 +0800 (CST) Date: Wed, 15 Aug 2012 09:06:14 +0800 From: Denny Lin To: Dominic Fandrey Message-ID: <20120815010613.GG57907@mail.hs.ntnu.edu.tw> References: <50170F2E.2060804@bsdforen.de> <50276571.5070709@bsdforen.de> <20120813024530.GC57907@mail.hs.ntnu.edu.tw> <5028B1B7.4030909@bsdforen.de> <20120814014929.GD57907@mail.hs.ntnu.edu.tw> <502A56E9.1030801@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <502A56E9.1030801@bsdforen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org Subject: Re: [CFT] TexLive port 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: Wed, 15 Aug 2012 01:06:21 -0000 On Tue, Aug 14, 2012 at 03:47:21PM +0200, Dominic Fandrey wrote: > Hi, > > On 14/08/2012 03:49, Denny Lin wrote: > >On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote: > >>On 13/08/2012 04:45, Denny Lin wrote: > >>>On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote: > >>>>On 31/07/2012 00:48, Dominic Fandrey wrote: > >>>>Here we go: > >>>>http://www.home.hs-karlsruhe.de/~fado1011/texlive/ > >>> > >>>Adding this line to print/texlive-base/Makefile should remove the need > >>>to patch graphics/poppler: > >>>CFLAGS+= -I${LOCALBASE}/include > > I still think this is a proplem of poppler, so it should be fixed > there. However, I agree the way I go about fixing it is not optimal. > > So I have updated the patch. Still not satisfactory, but maybe a > little better. > > >>>texlinks: config file `fmtutil.cnf' not found. > >> > >>Something must have gone wrong with texlive-texmf. The file should be > >>in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf > >> > >>>I tried searching for fmtutil.cnf: > >>># find work/texlive-20120701-source/ -name fmtutil.cnf > >>>work/texlive-20120701-source/texk/tetex/fmtutil.cnf > >>> > >>>This error occurs even when I patched poppler, so it should be unrelated > >>>to the workaround mentioned above. > >> > >>Maybe just try to wipe all the teTeX stuff and make a clean start > >>with print/texlive. It works in my Tinderbox, so the installation > >>procedure should be fine. > > > >Ok, it seems that a few files were accidentally deleted in the process > >of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and > >the error disappeared. > > Do you by any chance remember all the tetex related things you needed > to remove? I'd like to add them to CONFLICTS. > > >However, I noticed a problem with the symlinks in print/texlive-base. > >For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but > >this line in post-install: > > link="${LOCALBASE}/share/texmf$${link##*/texmf}"; > >changed it to /usr/local/share/texmffmtutil. Not all the symlinks need > >to be modified. > > Thanks for that one, it didn't cause problems with doxygen or any of the > tex docs I have lying around, so I suppose this one was difficult to find. > > >I've attached a fix although it's not very elegant (everything worked as > >expected after the symlinks were fixed). > > Doing it that way was a bad idea from the start. You'll like the way > I do it in the updated patch better. > > >I also reworked texlive-texmf > >to build the plist and install the files at the same time to make it run > >faster. > > That shouldn't be working, because generate-plist is run before > do-install. Run: > # pkg_info -Lx texlive-texmf > > And check whether it lists any files. Yes, you are correct. The plist is empty. It looks like this method won't work. Do all the files in texlive-20120701-texmf.tar.xz really have to be installed for Tex Live to work? Some of the packages for Linux are nowhere near 2 GB. We might be able to just install commonly used files. -- Denny Lin