From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 17:30:03 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83E75CA2; Sat, 11 Oct 2014 17:30:03 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F045FEE; Sat, 11 Oct 2014 17:30:02 +0000 (UTC) Received: from [89.204.137.10] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Xd0UR-0005zf-Ns; Sat, 11 Oct 2014 19:29:59 +0200 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id s9BHTvk4005472; Sat, 11 Oct 2014 19:29:57 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id s9BHTufX005471; Sat, 11 Oct 2014 19:29:56 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Sat, 11 Oct 2014 19:29:56 +0200 From: Matthias Apitz To: Kurt Jaeger Subject: Re: print/muttprint Message-ID: <20141011172955.GA5414@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Kurt Jaeger , freebsd-ports@freebsd.org, mat@freebsd.org References: <20141011114310.GA4035@unixarea.DDR.dd> <20141011115119.GI29437@home.opsec.eu> <20141011152016.GA78035@home.opsec.eu> <20141011153949.GA5022@unixarea.DDR.dd> <20141011162857.GJ29437@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141011162857.GJ29437@home.opsec.eu> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.137.10 Cc: mat@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2014 17:30:03 -0000 El día Saturday, October 11, 2014 a las 06:28:57PM +0200, Kurt Jaeger escribió: > Hi! > > > > mat@ mailed that > > > > > > USE_TEX=latex dvipsk > > > > > > should be used instead of the two additional run_deps. > > > > A side note: > > > > bapt switched from 'latex' to texlive: > [...] > > > > Can you test if this works in your use-case and report the results ? > > Btw, what is your use-case ? > > How do you invoke muttprint and what does it call and what does it do > in the end ? Does it really generate a .ps to send to the printer ? Hi, I'm using muttprint to print mail from the MUA mutt; the mail is piped into the configured print cmd: set print_cmd="muttprint --printer pdf --paper A4 --rem_sig " muttprint is a Perl script which needs among other tools: # fgrep system /usr/local/bin/muttprint system("latex -interaction=nonstopmode mail.tex >> $errorRedirection 2>&1"); system("latex -interaction=nonstopmode mail.tex >> $errorRedirection 2>&1"); system("dvips -t $paperformat -o $Temp{ps} $Temp{dvi} >> $errorRedirection 2>&1") ... i.e. needs in PATH 'latex' and 'dvips'; at the end it will generate a Postscript file and hand it over to CUPS which generates for me a PDF file in disk, which does the above mentioned printer 'pdf' in CUPS (but could as well print to any other printer defined in CUPS); this is my use case; > > > > and yes, when you compile the port directly with > > > > # make install > > > > 'USE_TEX= texlive' pulls in > > Tex, but it does not if you compile the ports with poudriere. > > I'm surprised that USE_TEX=texlive in poudriere does not pull it in. Mee too. > Can you provide a build log to show this ? Will do this tomorrow. Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign