Re: atari800, svgalib, and non-i386 architectures
On Mon, 3 Dec 2001, Ben Collins wrote:
> On Mon, Dec 03, 2001 at 05:19:53PM -0500, Dale Scheetz wrote:
> > I just got a bug report on the atari800 package. It doesn't build on the
> > powerpc because of missing svgalib components.
> >
> > The depends line is constructed by shlibdeps, and, while it includes the
> > svgalibg1-dev, there is a [i386] associated with it that suggests that
> > this dependency is only needed for i386. (at least that's the way the
> > autobuilder interprets it) This clearly doesn't work correctly.
> >
> > So, my question is two-fold:
> >
> > 1. What arch's support svga?
> >
> > 2. How best to restrict the build to those ports?
> >
> > If the answer to 1. is "only i386", then the question becomes:
>
> Check the svgalib source debian/control file, to see what it builds for.
> Other architectures do have svgalib-dummy, and some have svgalib-ggi
> (which allows it to use svga programs under ggi targets like X and
> framebuffer).
Thanks. svgalib doesn't build -dummy or -ggi, but that isn't a problem.
Svgalib only builds on i386 arch.
>
> Check some other packages that use svgalib and see how they do it, also.
Well, I guess I was actually asking if 'dpkg --print-architecture' is the
best way to determine the build arch. If this will work reliably, I can
simply not build the svgalib component on any but the i386 arch.
Thanks,
Dwarf
--
_-_-_-_-_- Author of "Dwarf's Guide to Debian GNU/Linux" _-_-_-_-_-_-
_- _-
_- aka Dale Scheetz Phone: 1 (850) 656-9769 _-
_- Flexible Software 11000 McCrackin Road _-
_- e-mail: dwarf@polaris.net Tallahassee, FL 32308 _-
_- _-
_-_-_-_-_- Released under the GNU Free Documentation License _-_-_-_-
available at: http://www.polaris.net/~dwarf/
Reply to: