Hi,

On Tue, Jul 09, 2024 at 03:30:34PM +0200, Jeremie Courreges-Anglas wrote:
> On Tue, Jul 09, 2024 at 10:15:10PM +0900, SASANO Takayoshi wrote:
> Not sure what you folks mean with "another package".  A subpackage?
> Or another port, maybe?  There are already 3 FLAVORS in the
> ghostscript/gnu port and I'm not sure this would mix well with
> MULTI_PACKAGES.  Another port would probably need some tweaks for the
> shared libs.  Just putting everything inside the same package seems
> easier.

Slightly offtopic, but do we still need ghostscripts a4 and no_x11
FLAVORS?

I remember that someone asked me about the a4 FLAVOR a long time
ago, and there still are some source files with #ifdef A4:

./base/gxdevice.h
./contrib/gdevln03.c
./contrib/gdevxes.c
./contrib/japanese/gdevmjc.c
./devices/gdevescp.c

Ignoring the contrib stuff, base/gxdevice.h uses the #ifdef A4 for
deriving some *default* macros, so I assume that thos values can
be overridden by command line switches. And devices/gdevescp.c uses
#ifdef A4 for Stylus 800 printers, which may date back to 1993. No
idea wether this printer series is still relevant today. IMHO, the
a4 FLAVOR could be dropped; maybe switching the default to -DA4
secretly, like we did more than a decade ago for another port, after
which not a single person complained ;-)

For no_x11: it isn't really useful *unless* you don't install the
x*.tgz install sets. I don't know who still doesn't install them
today, even on smallish devices.

Ciao,
        Kili

Reply via email to