Subject: Re: teTeX3-bin dependency on motif?
To: Hubert Feyrer <hubert@feyrer.de>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 06/07/2005 15:17:13
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jun 07, 2005 at 02:29:00PM +0200, Hubert Feyrer wrote:
> On Tue, 7 Jun 2005, Geert Hendrickx wrote:
> >Then how should we handle this?
> >
> >- Make openmotif a "conditional" dependency (as often done in FreeBSD's
> > ports) ?  Use it if it's already there, don't use it if not.
> >
> >- Modify the package so that it doesn't require openmotif at all?  The
> > resulting xdvi is different then, and some may prefer the openmotif
> > version.
> >
> >- Tear xdvi out and make it a package on its own?  (so that teTeX can be
> > without openmotif)
> 
> I'd go for the middle approach here for now.

The attached patch implements the 2nd approach (forcing the xaw toolkit
for xdvi instead of autodetecting what's available).  

If noone insists on having xdvi using motif, then this is the easiest
solution.  

I would like to have _a_ solution before the branch.  We can always
finetune it later.  

GH

-- 
:wq

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

--- print/teTeX3-bin/Makefile.orig	2005-06-07 15:11:50.000000000 +0200
+++ print/teTeX3-bin/Makefile	2005-06-07 15:12:04.000000000 +0200
@@ -22,7 +22,7 @@
 REPLACE_PERL=	texk/xdvik/t1mapper \
 		texk/oxdvik/t1mapper
 
-CONFIGURE_ARGS+=	--without-texinfo --without-texi2html
+CONFIGURE_ARGS+=	--without-texinfo --without-texi2html --with-xdvi-x-toolkit=xaw
 
 .if defined(PAPERSIZE)
 LOWER_PAPERSIZE_cmd=	${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'

--Dxnq1zWXvFF0Q93v--