Notice: "libpng" is being removed
- From:
- Adam Vandenberg
- Date:
- 2011-03-14 @ 22:05
Homebrew includes a "libpng" formula, even though it is a system duplicate.
Previous versions of Homebrew didn't do everything necessary in the
"ENV.x11" function to help configure scripts find the system libpng
reliably.
The code in ENV.x11 has been fixed for a while now, and it turns out
everything that was failing to compile against the system libpng
before (because it could find the header, or the conf script, or
whatever) now compile Just Fine (TM) against the system version.
So, we will be removing "libpng" from core.
If you have custom formulae (that aren't in core) that use this library, change:
depends_on 'libpng'
to:
def instal.
...
ENV.x11 # Before the ./configure line!
...
end
Chances are this will work.
Note, it appears that Lion will include libpng 1.5.x instead of 1.2.x,
so people on the Lion preview may be experience conflicts already with
the keg-only brew.
Re: [homebrew] Notice: "libpng" is being removed
- From:
- Benoit Daloze
- Date:
- 2011-03-19 @ 00:17
Hi,
On 14 March 2011 23:05, Adam Vandenberg <flangy@gmail.com> wrote:
> Homebrew includes a "libpng" formula, even though it is a system duplicate.
> Previous versions of Homebrew didn't do everything necessary in the
> "ENV.x11" function to help configure scripts find the system libpng
> reliably.
> The code in ENV.x11 has been fixed for a while now, and it turns out
> everything that was failing to compile against the system libpng
> before (because it could find the header, or the conf script, or
> whatever) now compile Just Fine (TM) against the system version.
>
> So, we will be removing "libpng" from core.
>
Do you plan anything to invite the user to uninstall it and recompile (or
fix library paths of) the formulae which use libpng ?
If nothing is shown, I think libpng will stay for most of us a useless keg.
A more global idea would be to detect formulae which are usually only
dependencies (I guess most keg-only and the "libraries") not used anymore
and to have a command to list them.