Re: Unable to properly maintain my packages due to png troubles
On Sun, Sep 01, 2002 at 07:18:27PM +0900, Junichi Uekawa wrote:
> On Sun, 1 Sep 2002 11:53:34 +0200 Davide Puricelli <evo@debian.org> wrote:
> > 1) why Steve didn't send a new message to all the G1 maintainers, asking
> > them to ignore his previous email and to use imlib+png2?
>
> Because imlib+png2 didn't happen when he sent the mail at first.
I think he meant after the change.
> > 2) which imlib packages should I use to be able to build both G1 and G2
> > packages? At the moment I have:
> > gdk-imlib1
> > gdk-imlib1-dev
> > gdk-imlib2
> > imlib-base
> > imlib-progs
> > imlib1
> > imlib1-dev
> > imlib2
You only need gdk-imlib1-dev for building GNOME 1 packages. GNOME 2
packages do not require imlib. gdk-imlib1-dev does not require
imlib1-dev or libpng2-dev.
> G1 packages should be built with png2 packages,
> G2 packages should be built with png3 packages.
>
> I have requested maintainers to make them Depends: on libpng2-dev
> and libpng3-dev so that it gets obvious, but they failed to
> heed my request.
Good. This would be incorrect, because they are not necessary to build.
The version of png that imlib and pixbuf were compiled against is
relevant. Now that GNOME 1 gnome-config is fixed, GNOME programs will
not be linked to any libpng unless it is explicitly required.
> > 3) the most important question: libpng will be fixed to be able to
> > install both libpng2-dev and libpng3-dev at the same time?
>
> My decision is to make it Never happen, so that applications
> cannot be satisfied its build-dependency if such cases happen
> where libpng2 and libpng3 are going to be linked at the same time.
>
> However, that has not happened.
You do not need libpng2-dev installed to maintain GNOME 1 packages in
unstable. You do not need libpng3-dev installed to maintain GNOME 2
packages. You should be able to build both GNOME 1 and GNOME 2 packages
on the same system without the use of a chroot. The exception to this is
if your program makes *direct* use of a libpng, which is rare because
simple PNG functionality is offered by imlib/pixbuf in GNOME 1 and
pixbuf in Gtk2. Only programs like Gimp that need libpng access should
declare build dependencies on libpng?-dev, and link -lpng at build time.
> regards,
> junichi
Regards,
Rob
Reply to: