Re: xv and png
Rainer Müller wrote: Joerg van den Hoff wrote: and it would be really great, if the PNG patch could really be included: missing PNG support is the one big shortcoming of `xv'. as `xv' seems otherwise frozen since the mid nineties applying the patch seems a one time action. I will work on inclusion of this patch. As may have already noticed, I committed an update with PNG support in r35810 [1]. Rainer http://trac.macosforge.org/projects/macports/changeset/35810 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
On Apr 5, 2008, at 13:06, Rainer Müller wrote: Ryan Schmidt wrote: Well, that is contrary to the FAQ, which explains why MacPorts uses its own libraries in most cases. libpng is not a library for which we should be making an exception to this rule. We have a lot of dependencies like this. That's why we have this lib: thing at all. If the maintainer wants to manage this, it is ok to use it. But there is no general rule to use stuff from outside or 'overwrite' dependencies. Then we have a lot of ports that are in violation of this guideline and should be updated. Using the lib: style of dependency used to be preferred. Now it is not. But since half of our ports are not maintained, many ports have not received the necessary love to change this and many other things. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
On Fri, Apr 04, 2008 at 08:02:43PM -0500, Ryan Schmidt wrote: On Apr 4, 2008, at 19:39, Rainer Müller wrote: Joerg van den Hoff wrote: standard `xv' does not have png support although patches seem to exist. The standard xv release does not support PNG images according to the homepage. Even if there are any patches available somewhere, they are not applied at the moment. There is an official patch on the downloads page, Patch to read/ write PNG files [1]. The statement in the description is, This version has been patched to support the PNG PhotoCD image types. But it seems that it is just using the standard source distribution without additional patches. `port info xv' lists `libpng' as one of the dependencies and PNG is explicitely mentioned under the supported file formats. therefore I installed it hoping for PNG support, but without success: no display of png images. Strange enough, it is really linked against libpng. But it can't display PNG images for me neither. $ otool -L /opt/local/bin/xv /opt/local/bin/xv: [...] /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /opt/local/lib/libtiff.3.dylib (compatibility version 12.0.0, current version 12.2.0) /usr/X11/lib/libpng.3.dylib (compatibility version 4.0.0, current version 4.0.0) [...] Looks like it's also linked against the system's libpng, not MacPorts' libpng, which is unfortunate and should be fixed. is mr. nomaintainer informed? :-) and it would be really great, if the PNG patch could really be included: missing PNG support is the one big shortcoming of `xv'. as `xv' seems otherwise frozen since the mid nineties applying the patch seems a one time action. and for standard tasks `xv' still seems really superior to `ImageMagick' (standard operations such as edge detection run faster by a signifcant factor (5-10) and yield really much better results). joerg ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
Joerg van den Hoff wrote: and it would be really great, if the PNG patch could really be included: missing PNG support is the one big shortcoming of `xv'. as `xv' seems otherwise frozen since the mid nineties applying the patch seems a one time action. I will work on inclusion of this patch. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
Ryan Schmidt wrote: Looks like it's also linked against the system's libpng, not MacPorts' libpng, which is unfortunate and should be fixed. It has a dependency on lib:libpng.3:libpng, so this is intended. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
On Apr 5, 2008, at 05:32, Rainer Müller wrote: Ryan Schmidt wrote: Looks like it's also linked against the system's libpng, not MacPorts' libpng, which is unfortunate and should be fixed. It has a dependency on lib:libpng.3:libpng, so this is intended. Well, that is contrary to the FAQ, which explains why MacPorts uses its own libraries in most cases. libpng is not a library for which we should be making an exception to this rule. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
Ryan Schmidt wrote: Well, that is contrary to the FAQ, which explains why MacPorts uses its own libraries in most cases. libpng is not a library for which we should be making an exception to this rule. We have a lot of dependencies like this. That's why we have this lib: thing at all. If the maintainer wants to manage this, it is ok to use it. But there is no general rule to use stuff from outside or 'overwrite' dependencies. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
xv and png
dear all, standard `xv' does not have png support although patches seem to exist. `port info xv' lists `libpng' as one of the dependencies and PNG is explicitely mentioned under the supported file formats. therefore I installed it hoping for PNG support, but without success: no display of png images. any ideas? thanks joerg ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
Joerg van den Hoff wrote: standard `xv' does not have png support although patches seem to exist. The standard xv release does not support PNG images according to the homepage. Even if there are any patches available somewhere, they are not applied at the moment. There is an official patch on the downloads page, Patch to read/write PNG files [1]. The statement in the description is, This version has been patched to support the PNG PhotoCD image types. But it seems that it is just using the standard source distribution without additional patches. `port info xv' lists `libpng' as one of the dependencies and PNG is explicitely mentioned under the supported file formats. therefore I installed it hoping for PNG support, but without success: no display of png images. Strange enough, it is really linked against libpng. But it can't display PNG images for me neither. $ otool -L /opt/local/bin/xv /opt/local/bin/xv: [...] /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /opt/local/lib/libtiff.3.dylib (compatibility version 12.0.0, current version 12.2.0) /usr/X11/lib/libpng.3.dylib (compatibility version 4.0.0, current version 4.0.0) [...] Rainer [1] http://www.trilon.com/xv/downloads.html#png-patch ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: xv and png
On Apr 4, 2008, at 19:39, Rainer Müller wrote: Joerg van den Hoff wrote: standard `xv' does not have png support although patches seem to exist. The standard xv release does not support PNG images according to the homepage. Even if there are any patches available somewhere, they are not applied at the moment. There is an official patch on the downloads page, Patch to read/ write PNG files [1]. The statement in the description is, This version has been patched to support the PNG PhotoCD image types. But it seems that it is just using the standard source distribution without additional patches. `port info xv' lists `libpng' as one of the dependencies and PNG is explicitely mentioned under the supported file formats. therefore I installed it hoping for PNG support, but without success: no display of png images. Strange enough, it is really linked against libpng. But it can't display PNG images for me neither. $ otool -L /opt/local/bin/xv /opt/local/bin/xv: [...] /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0) /opt/local/lib/libtiff.3.dylib (compatibility version 12.0.0, current version 12.2.0) /usr/X11/lib/libpng.3.dylib (compatibility version 4.0.0, current version 4.0.0) [...] Looks like it's also linked against the system's libpng, not MacPorts' libpng, which is unfortunate and should be fixed. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users