Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 19:30:15 +0200
From:      "Julian H. Stacey" <jhs@FreeBSD.ORG>
To:        Chuck Robey <chuckr@glue.umd.edu>
Cc:        chuckr@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: ports/print/a2ps PAPERSIZE 
Message-ID:  <199710221730.SAA01155@wall.jhs.no_domain>
In-Reply-To: Your message of "Tue, 21 Oct 1997 16:45:46 EDT." <Pine.BSF.3.96.971021163057.7146B-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Reference:
> From:		Chuck Robey <chuckr@glue.umd.edu> 
> Date:		Tue, 21 Oct 1997 16:45:46 -0400 (EDT) 
> Message-id:	<Pine.BSF.3.96.971021163057.7146B-100000@picnic.mat.net> 

Hi Chuck ( Robey)
You wrote:
> On Sun, 19 Oct 1997, Julian H. Stacey wrote:
> > Hi chuckr@FreeBSD.org (maintainer of a2ps)
> > cc ports@
> > I note:
> > 	current/ports/print/a2ps: 			$(PAPERSIZE)
> > 	current/src/gnu/usr.bin/groff/devps/Makefile:	${PAGE}
> > Could we  perhaps use just one env. var for both ?
> > Right now in my /etc/csh.cshrc for instance I have dup. info:
> 
> I used PAPERSIZE because that's what a2ps used to use, and because it's
> what gs still uses.  If I were going to change it, I think a more
> canonically correct term would me "media", wouldn't you?

Well PAPER is not always appropriate, but PAGE seems appropriate in all cases,
so maybe PAGE_SIZE ? ( MEDIA seems a bit non-obvious).
But to allow for present & future ports that may use all obvious names
internally, & to allow for future ports/*/*/patches/patch-??,
that will contain swap scripts from all the variant names to one common
FreeBSD page size name, perhaps we might be better off with a unique name,
such as FreeBSD_PAGE or so ?

The main thing is to get all src & ports to use one common variable, what 
that is, isn't so important.
Easiest might be to let the one who does all the commit work choose the name ?
Do you have commit privs to normalise
	ports/print/a2ps japanese/ghostscript print/ghostscript[ 34]
	current/src/gnu/usr.bin/groff/devps/Makefile
etc ?

> > ------
> > setenv  PAGE            A4
> > # PAGE  is set for:
> > #       src/gnu/usr.bin/groff/devps/Makefile 
> > #        which creates
> > #       /usr/obj/net/desk/usr2/src/current/gnu/usr.bin/groff/devps/DESC
> > #        which contains
> > #       res 792000 or 841890
> > #        which produces:
> > #       /usr/share/groff_font/devps/DESC
> > # PAGE  is also set for:
> > #       src/contrib/groff/devps/Makefile.sub
> > setenv  PAPERSIZE       A4      # for ports/print/a2ps
> > -------------

Julian
--
Julian H. Stacey       jhs@freebsd.org         http://www.freebsd.org/~jhs/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710221730.SAA01155>