Example "cross-zlib" package added to Mercurial

Richard W.M. Jones rjones at redhat.com
Sun Feb 15 22:32:17 UTC 2009


On Sun, Feb 15, 2009 at 08:18:18PM +0100, Farkas Levente wrote:
> what's the plane here?
> do you wanna include it in f10/f11 somehow or just an example?
> i still prefer to rename the main package to cross-zlib. it's very
> strance to be a mingw32-zlib which produce mingw64-zlib what's more
> darwin-zlib?

Renaming the source package(s) imposes a big penalty - getting the
guidelines changed and every package re-reviewed.  Maybe something
that we can consider for Fedora 12, or maybe something we want to
avoid.  It largely depends on how much precious spare time we can
afford to spend playing Fedora games.

> >     +BuildRequires:  mingw64-filesystem >= 10
> 
> ihmo here again would be better to one common cross-filesystem which
> contains all macros, script, dirs etc. why we create 3 such packages? i
> think now and in a few months as many things get clear (as daniel
> suggested) would be better to create test packages based on a new
> 'feature for f12 cross-compiler'.

There's not a lot of commonality.  The filesystem layouts are quite
different between the three cross-compilers.

> >     +BuildRequires:  mingw64-gcc
> >     +BuildRequires:  mingw64-binutils
> 
> and again if we create cross-xxx packages then we can create
> meta-packages like cross-gcc which requires all gcc and these BR can be
> 3 times shorter.

On the other hand, this is an actively bad idea.  We are currently
using 3 different versions of GCC from 3 different upstream projects.
Binutils doesn't even exist on Darwin.  Go and have a look at this
diagram again:

http://lists.fedoraproject.org/pipermail/fedora-mingw/2009-February/000465.html

> why not used the same way as in kmod packages:
> - first setup and patch the source
> - then create as many new copy as required
> - then build:

Yes makes sense.  Also using a loop would be better.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v



More information about the mingw mailing list