Re: giflib in graphics/gdal

2012-02-22 Thread Rainer Hurling

On 22.02.2012 22:37 (UTC+1), Rainer Hurling wrote:

On 22.02.2012 22:27 (UTC+1), Peter Jeremy wrote:

On 2012-Feb-21 14:51:50 -0500, Steve Wills wrote:

Is it correct to use portmaster -o graphics/giflib graphics/libungif


Looks OK to me.


And then rebuild all ports that used libungif.


And thew next question is I have in /var/db/pgs bot giflib and
libingif.
How can I find whic one is installed, please? Or are both?


They install files to the same place, overwriting each other. So
whichever
one was installed last would be the one that's really installed.


It's not quite that simple. Both install include/gif_lib.h but the
associated libraries have different names. If you have both
installed, the most most recently installed will select which
include/gif_lib.h is used but the library used will depend on the
whims of the port's configuration tools.


is they're very similar, so it didn't cause problems. Nevertheless, it's
still a bad idea for them both to be installed, hence the addition of
the
conflict between them.


It's very unfortunate that the ports depending on libungif weren't all
cleaned up before the conflict was added. The current situation is a
mess and, for many people, requires manual intervention to make the
ports system work.


Yes, for example graphics/osg is another candidate ...


Oops, just recognized, that there is already PR ports/165370 and 
ports/165372 for it. Sorry for the noise.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-22 Thread ajtiM
On Wednesday 22 February 2012 15:27:09 Peter Jeremy wrote:
> On 2012-Feb-21 14:51:50 -0500, Steve Wills  wrote:
> >> Is it correct to use portmaster -o graphics/giflib graphics/libungif
> >
> >Looks OK to me.
> 
> And then rebuild all ports that used libungif.
> 
> >> And thew next question is I have in /var/db/pgs bot giflib and libingif.
> >> How can I find whic one is installed, please? Or are both?
> >
> >They install files to the same place, overwriting each other. So whichever
> >one was installed last would be the one that's really installed.
> 
> It's not quite that simple.  Both install include/gif_lib.h but the
> associated libraries have different names.  If you have both
> installed, the most most recently installed will select which
> include/gif_lib.h is used but the library used will depend on the
> whims of the port's configuration tools.
> 
> >is they're very similar, so it didn't cause problems. Nevertheless, it's
> >still a bad idea for them both to be installed, hence the addition of the
> >conflict between them.
> 
> It's very unfortunate that the ports depending on libungif weren't all
> cleaned up before the conflict was added.  The current situation is a
> mess and, for many people, requires manual intervention to make the
> ports system work.

I did use portmaster -o and looks like it works for now without problems...

Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-22 Thread Rainer Hurling

On 22.02.2012 22:27 (UTC+1), Peter Jeremy wrote:

On 2012-Feb-21 14:51:50 -0500, Steve Wills  wrote:

Is it correct to use portmaster -o graphics/giflib graphics/libungif


Looks OK to me.


And then rebuild all ports that used libungif.


And thew next question is I have in /var/db/pgs bot giflib and libingif.
How can I find whic one is installed, please? Or are both?


They install files to the same place, overwriting each other. So whichever
one was installed last would be the one that's really installed.


It's not quite that simple.  Both install include/gif_lib.h but the
associated libraries have different names.  If you have both
installed, the most most recently installed will select which
include/gif_lib.h is used but the library used will depend on the
whims of the port's configuration tools.


is they're very similar, so it didn't cause problems. Nevertheless, it's
still a bad idea for them both to be installed, hence the addition of the
conflict between them.


It's very unfortunate that the ports depending on libungif weren't all
cleaned up before the conflict was added.  The current situation is a
mess and, for many people, requires manual intervention to make the
ports system work.


Yes, for example graphics/osg is another candidate ...
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-22 Thread Peter Jeremy
On 2012-Feb-21 14:51:50 -0500, Steve Wills  wrote:
>> Is it correct to use portmaster -o graphics/giflib graphics/libungif
>
>Looks OK to me.

And then rebuild all ports that used libungif.

>> And thew next question is I have in /var/db/pgs bot giflib and libingif.
>> How can I find whic one is installed, please? Or are both?
>
>They install files to the same place, overwriting each other. So whichever
>one was installed last would be the one that's really installed.

It's not quite that simple.  Both install include/gif_lib.h but the
associated libraries have different names.  If you have both
installed, the most most recently installed will select which
include/gif_lib.h is used but the library used will depend on the
whims of the port's configuration tools.

>is they're very similar, so it didn't cause problems. Nevertheless, it's
>still a bad idea for them both to be installed, hence the addition of the
>conflict between them.

It's very unfortunate that the ports depending on libungif weren't all
cleaned up before the conflict was added.  The current situation is a
mess and, for many people, requires manual intervention to make the
ports system work.

-- 
Peter Jeremy


pgpEnRSvwJ7MB.pgp
Description: PGP signature


Re: giflib in graphics/gdal

2012-02-21 Thread Steve Wills
> I saw new gdal in ports...
>

Yes, the graphics/gdal port was updated to use giflib.

> My question is: in the /usr/ports/UPDATING is first uninstall libungif and
> than install giflib and reinstall all ports.
> Is it correct to use portmaster -o graphics/giflib graphics/libungif
>

Looks OK to me.

> And thew next question is I have in /var/db/pgs bot giflib and libingif.
> How can I find whic one is installed, please? Or are both?

They install files to the same place, overwriting each other. So whichever
one was installed last would be the one that's really installed. This is
the reason for the addition of the conflict between the two. The good news
is they're very similar, so it didn't cause problems. Nevertheless, it's
still a bad idea for them both to be installed, hence the addition of the
conflict between them.

Steve


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-21 Thread Franci Nabalanci
I saw new gdal in ports...

My question is: in the /usr/ports/UPDATING is first uninstall libungif and
than install giflib and reinstall all ports.
Is it correct to use portmaster -o graphics/giflib graphics/libungif

And thew next question is I have in /var/db/pgs bot giflib and libingif.
How can I find whic one is installed, please? Or are both?

Thanks in advance.


On Tue, Feb 21, 2012 at 7:40 AM, Jerry  wrote:

> On Tue, 21 Feb 2012 08:39:38 +0100
> Rainer Hurling articulated:
>
> > Dear list,
> >
> > after changing from graphics/ungif to graphics/giflib there is a
> > problem with building graphics/gdal. Because other ports depending on
> > it, this should be corrected as soon as possible, I think.
> >
> > The patch could be something like this:
> >
> > --- Makefile.orig   2012-02-08 07:52:24.0 +0100
> > +++ Makefile2012-02-21 08:34:04.0 +0100
> > @@ -104,7 +104,7 @@
> >   .endif
> >
> >   .if !defined(WITHOUT_GIF)
> > -LIB_DEPENDS+=  ungif.5:${PORTSDIR}/graphics/libungif
> > +LIB_DEPENDS+=  gif.5:${PORTSDIR}/graphics/giflib
> >   CONFIGURE_ARGS+=   --with-gif=${LOCALBASE}
> >   .endif
> >
> > @@ -276,9 +276,6 @@
> >   .endif
> >
> >   post-patch:
> > -.if !defined(WITHOUT_GIF)
> > -   @${REINPLACE_CMD} -e 's|lgif|lungif|' ${WRKSRC}/configure
> > -.endif
> >   .if defined(WITH_PYTHON)
> >  @${REINPLACE_CMD} -e '\
> >  s,%%MAKE_ENV%%,${MAKE_ENV},; \
>
> Did you contact the port maintainer: sunp...@freebsd.org as well as
> possibly submitting a PR against the port? If not, it might prove
> useful.
>
> --
> Jerry ♔
>
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
>
> ___
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-21 Thread Rainer Hurling

Am 21.02.2012 14:40 (UTC+1) schrieb Jerry:

On Tue, 21 Feb 2012 08:39:38 +0100
Rainer Hurling articulated:


Dear list,

after changing from graphics/ungif to graphics/giflib there is a
problem with building graphics/gdal. Because other ports depending on
it, this should be corrected as soon as possible, I think.

The patch could be something like this:

--- Makefile.orig   2012-02-08 07:52:24.0 +0100
+++ Makefile2012-02-21 08:34:04.0 +0100
@@ -104,7 +104,7 @@
   .endif

   .if !defined(WITHOUT_GIF)
-LIB_DEPENDS+=  ungif.5:${PORTSDIR}/graphics/libungif
+LIB_DEPENDS+=  gif.5:${PORTSDIR}/graphics/giflib
   CONFIGURE_ARGS+=   --with-gif=${LOCALBASE}
   .endif

@@ -276,9 +276,6 @@
   .endif

   post-patch:
-.if !defined(WITHOUT_GIF)
-   @${REINPLACE_CMD} -e 's|lgif|lungif|' ${WRKSRC}/configure
-.endif
   .if defined(WITH_PYTHON)
  @${REINPLACE_CMD} -e '\
  s,%%MAKE_ENV%%,${MAKE_ENV},; \


Did you contact the port maintainer: sunp...@freebsd.org as well as
possibly submitting a PR against the port? If not, it might prove
useful.


As you can see in CC of the original posting he should get a copy.

I did not file a PR because I thought this should be corrected as soon 
as possible. But perhaps this was not the best way ...

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: giflib in graphics/gdal

2012-02-21 Thread Jerry
On Tue, 21 Feb 2012 08:39:38 +0100
Rainer Hurling articulated:

> Dear list,
> 
> after changing from graphics/ungif to graphics/giflib there is a
> problem with building graphics/gdal. Because other ports depending on
> it, this should be corrected as soon as possible, I think.
> 
> The patch could be something like this:
> 
> --- Makefile.orig   2012-02-08 07:52:24.0 +0100
> +++ Makefile2012-02-21 08:34:04.0 +0100
> @@ -104,7 +104,7 @@
>   .endif
> 
>   .if !defined(WITHOUT_GIF)
> -LIB_DEPENDS+=  ungif.5:${PORTSDIR}/graphics/libungif
> +LIB_DEPENDS+=  gif.5:${PORTSDIR}/graphics/giflib
>   CONFIGURE_ARGS+=   --with-gif=${LOCALBASE}
>   .endif
> 
> @@ -276,9 +276,6 @@
>   .endif
> 
>   post-patch:
> -.if !defined(WITHOUT_GIF)
> -   @${REINPLACE_CMD} -e 's|lgif|lungif|' ${WRKSRC}/configure
> -.endif
>   .if defined(WITH_PYTHON)
>  @${REINPLACE_CMD} -e '\
>  s,%%MAKE_ENV%%,${MAKE_ENV},; \

Did you contact the port maintainer: sunp...@freebsd.org as well as
possibly submitting a PR against the port? If not, it might prove
useful.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"