rfc: news item for png15

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

rfc: news item for png15

Samuli Suominen-4
small news item for stable users. lets keep it simple...


2011-10-14-libpng15.en.txt (952 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

pva0xd
В Птн, 14/10/2011 в 01:01 +0300, Samuli Suominen пишет:
> small news item for stable users. lets keep it simple...

I think it's better to put all knowledge from forum post inside:
1.  --keep-going option for revdep-rebuild.
2. better find:
find /usr -name "*.la" -o -name "*.pc" -o -name "*-config" -exec grep -H
png14 {} \;
or even better to provide one-liner for user's convenience.

--
Peter.


Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Ryan Hill-3
In reply to this post by Samuli Suominen-4
On Fri, 14 Oct 2011 01:01:50 +0300
Samuli Suominen <[hidden email]> wrote:

> Title: Upgrade to libpng15
> Author: Samuli Suominen <[hidden email]>
> Content-Type: text/plain
> Posted: 2011-10-14
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <media-libs/libpng-1.5
>
> After upgrading from libpng14 to libpng15 it's important that you rebuild
> cairo and gdk-pixbuf soon as possible if they are installed.
                      ^ as
> Then you can proceed with rebuilding rest of the software against the new
                                      ^ the
> library:
>
> # revdep-rebuild --library libpng14.so.14
>
> In case of failure, try skipping the failing package and rebuilding it
> later in the process.

How?
 
> If you find packages not building with message "ld: cannot find -lpng14",
                                        ^ the
> they are likely caused by broken libtool archives (.la) in your system.
>
> You can identify those files with following one-liner:
>
> # find /usr/ -name '*.la' -exec grep png14 {} +
>
> More information and help is available at following forums post:
                                           ^ the           ^-s?
>
> http://forums.gentoo.org/viewtopic-t-894950.html
>



--
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Ryan Hill-3
In reply to this post by Samuli Suominen-4
On Fri, 14 Oct 2011 01:01:50 +0300
Samuli Suominen <[hidden email]> wrote:

> Title: Upgrade to libpng15
> Author: Samuli Suominen <[hidden email]>
> Content-Type: text/plain
> Posted: 2011-10-14
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <media-libs/libpng-1.5
>
> After upgrading from libpng14 to libpng15 it's important that you rebuild
> cairo and gdk-pixbuf soon as possible if they are installed.
                      ^ as
>
> Then you can proceed with rebuilding rest of the software against the new
                                      ^ the
> library:
>
> # revdep-rebuild --library libpng14.so.14
>
> In case of failure, try skipping the failing package and rebuilding it
> later in the process.

How?

> If you find packages not building with message "ld: cannot find -lpng14",
                                        ^ the
> they are likely caused by broken libtool archives (.la) in your system.
>
> You can identify those files with following one-liner:
>
> # find /usr/ -name '*.la' -exec grep png14 {} +
>
> More information and help is available at following forums post:
                                           ^ the           ^-s?
>
> http://forums.gentoo.org/viewtopic-t-894950.html
>



--
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Michał Górny-5
In reply to this post by pva0xd
On Fri, 14 Oct 2011 04:30:56 +0400
Peter Volkov <[hidden email]> wrote:

> 2. better find:
> find /usr -name "*.la" -o -name "*.pc" -o -name "*-config" -exec grep
> -H png14 {} \;

find /usr -name "*.la" -o -name "*.pc" -o -name "*-config" \
        -exec grep -H png14 {} +

This is going to take less grep calls, and it is easier to type too.

--
Best regards,
Michał Górny

signature.asc (325 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Pacho Ramos
In reply to this post by Ryan Hill-3
El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribió:

> On Fri, 14 Oct 2011 01:01:50 +0300
> Samuli Suominen <[hidden email]> wrote:
>
> > Title: Upgrade to libpng15
> > Author: Samuli Suominen <[hidden email]>
> > Content-Type: text/plain
> > Posted: 2011-10-14
> > Revision: 1
> > News-Item-Format: 1.0
> > Display-If-Installed: <media-libs/libpng-1.5
> >
> > After upgrading from libpng14 to libpng15 it's important that you rebuild
> > cairo and gdk-pixbuf soon as possible if they are installed.
>                       ^ as
> >
> > Then you can proceed with rebuilding rest of the software against the new
>                                       ^ the
> > library:
> >
> > # revdep-rebuild --library libpng14.so.14
> >
> > In case of failure, try skipping the failing package and rebuilding it
> > later in the process.
>
> How?
>
Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
-- --keep-going" two times :-/

> > If you find packages not building with message "ld: cannot find -lpng14",
>                                         ^ the
> > they are likely caused by broken libtool archives (.la) in your system.
> >
> > You can identify those files with following one-liner:
> >
> > # find /usr/ -name '*.la' -exec grep png14 {} +
> >
> > More information and help is available at following forums post:
>                                            ^ the           ^-s?
> >
> > http://forums.gentoo.org/viewtopic-t-894950.html
> >
>
>
>


signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Pacho Ramos
In reply to this post by Samuli Suominen-4
El vie, 14-10-2011 a las 01:01 +0300, Samuli Suominen escribió:
> small news item for stable users. lets keep it simple...
>

Is early rebuilding of gdk-pixbuf still needed now that fixed version
will be stabilized before libpng15?

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Dale-46
In reply to this post by Pacho Ramos
Pacho Ramos wrote:

> El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribió:
>> On Fri, 14 Oct 2011 01:01:50 +0300
>> Samuli Suominen<[hidden email]>  wrote:
>>
>>> Title: Upgrade to libpng15
>>> Author: Samuli Suominen<[hidden email]>
>>> Content-Type: text/plain
>>> Posted: 2011-10-14
>>> Revision: 1
>>> News-Item-Format: 1.0
>>> Display-If-Installed:<media-libs/libpng-1.5
>>>
>>> After upgrading from libpng14 to libpng15 it's important that you rebuild
>>> cairo and gdk-pixbuf soon as possible if they are installed.
>>                        ^ as
>>> Then you can proceed with rebuilding rest of the software against the new
>>                                        ^ the
>>> library:
>>>
>>> # revdep-rebuild --library libpng14.so.14
>>>
>>> In case of failure, try skipping the failing package and rebuilding it
>>> later in the process.
>> How?
>>
> Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
> -- --keep-going" two times :-/
>
>

I tested that and it just wanted to rebuild the same packages, twice.  
On mine, libreoffice was one of them.  Recompiling that twice on a older
system may annoy some.  ;-)

Dale

:-)  :-)

Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Pacho Ramos
El vie, 14-10-2011 a las 03:53 -0500, Dale escribió:

> Pacho Ramos wrote:
> > El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribió:
> >> On Fri, 14 Oct 2011 01:01:50 +0300
> >> Samuli Suominen<[hidden email]>  wrote:
> >>
> >>> Title: Upgrade to libpng15
> >>> Author: Samuli Suominen<[hidden email]>
> >>> Content-Type: text/plain
> >>> Posted: 2011-10-14
> >>> Revision: 1
> >>> News-Item-Format: 1.0
> >>> Display-If-Installed:<media-libs/libpng-1.5
> >>>
> >>> After upgrading from libpng14 to libpng15 it's important that you rebuild
> >>> cairo and gdk-pixbuf soon as possible if they are installed.
> >>                        ^ as
> >>> Then you can proceed with rebuilding rest of the software against the new
> >>                                        ^ the
> >>> library:
> >>>
> >>> # revdep-rebuild --library libpng14.so.14
> >>>
> >>> In case of failure, try skipping the failing package and rebuilding it
> >>> later in the process.
> >> How?
> >>
> > Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
> > -- --keep-going" two times :-/
> >
> >
>
> I tested that and it just wanted to rebuild the same packages, twice.  
> On mine, libreoffice was one of them.  Recompiling that twice on a older
> system may annoy some.  ;-)
>
> Dale
>
> :-)  :-)
>
>
It shouldn't, I am sure I have used this some times before and it worked
as expected, but I don't know when revdep-rebuild cache files are
removed (and then, broken packages recalculated) :-/

Any revdep-rebuild maintainer here to clarify this please? Thanks :)

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Dale-46
Pacho Ramos wrote:
> It shouldn't, I am sure I have used this some times before and it
> worked as expected, but I don't know when revdep-rebuild cache files
> are removed (and then, broken packages recalculated) :-/ Any
> revdep-rebuild maintainer here to clarify this please? Thanks :)

I always run revdep-rebuild with the -i option. It starts fresh each
time or is supposed to anyway.  This is a snipped list of what was
rebuilt the first time and that it says it wants to rebuild again as I
just ran it again:

root@fireball / # revdep-rebuild -i --library libpng14.so.14 -- -a -j5
  * Configuring search environment for revdep-rebuild

  * Checking reverse dependencies
  * Packages containing binaries and libraries using libpng14.so.14
  * will be emerged.

  * Collecting system binaries and libraries
  * Generated new 1_files.rr
  * Checking dynamic linking
[ 8% ]  *   found /usr/bin/enblend
<<<<  SNIPPED >>>>
[ 100% ]
  * Generated new 3_broken.rr
<<<<  SNIPPED >>>>
  * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot --with-bdeps y --backtrack=30
--keep-going -v -D -a -j5 app-emulation/emul-linux-x86-baselibs:0
app-emulation/emul-linux-x86-gtklibs:0
app-emulation/emul-linux-x86-medialibs:0 app-office/libreoffice:0
app-text/ghostscript-gpl:0 app-text/podofo:0 app-text/poppler:0
dev-db/libiodbc:0 dev-lang/R:0 dev-python/notify-python:0
gnome-base/libglade:2.0 gnome-base/librsvg:2 gnome-extra/polkit-gnome:0
kde-base/kdelibs:4 kde-base/ksplash:4 media-gfx/enblend:0
media-gfx/gimp:2 media-gfx/hugin:0 media-gfx/imagemagick:0
media-libs/gd:2 media-libs/gegl:0 media-libs/imlib2:0
media-libs/libpano13:0 media-libs/libwmf:0 media-libs/netpbm:0
media-libs/openjpeg:0 media-libs/plotutils:0 media-libs/sdl-image:0
media-libs/vigra:0 media-video/dvdauthor:0 media-video/mplayer:0
net-libs/webkit-gtk:2 net-print/cups:0 sys-libs/slang:0
www-client/links:2 www-client/seamonkey:0 x11-libs/cairo:0
x11-libs/fltk:1 x11-libs/fox:1.6 x11-libs/gdk-pixbuf:2 x11-libs/qt-gui:4
x11-libs/wxGTK:2.8
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-emulation/emul-linux-x86-baselibs-20110722  
USE="-development" 0 kB
[ebuild   R    ] sys-libs/slang-2.2.2  USE="pcre png readline zlib -cjk"
0 kB
[ebuild   R    ] media-libs/libpano13-2.9.18  USE="java -static-libs" 0 kB
[ebuild   R    ] media-libs/gd-2.0.35-r1  USE="jpeg png truetype
-fontconfig -xpm" 0 kB
[ebuild   R    ] media-libs/imlib2-1.4.4  USE="X bzip2 gif jpeg mp3 nls
png tiff zlib -doc (-mmx)" 0 kB
[ebuild   R    ] www-client/links-2.3_pre1-r1  USE="X bzip2 gpm jpeg ssl
tiff unicode zlib -directfb -fbcon -livecd (-svga)" 0 kB
[ebuild   R    ] media-libs/plotutils-2.6  USE="X png -static-libs" 0 kB
[ebuild   R    ] x11-libs/fltk-1.1.10-r2  USE="opengl threads xinerama
-debug -doc -examples -games -xft" 0 kB
[ebuild   R    ] x11-libs/fox-1.6.40  USE="bzip2 jpeg opengl png tiff
truetype zlib -debug -doc -profile" 0 kB
[ebuild   R    ] media-gfx/enblend-4.0  USE="image-cache openexr openmp
-debug -doc -gpu" 0 kB
[ebuild   R    ] media-libs/sdl-image-1.2.10-r1  USE="gif jpeg png tiff
-static-libs" 0 kB
[ebuild   R    ] media-libs/netpbm-10.51.00-r1  USE="X jbig jpeg jpeg2k
png tiff xml zlib -rle (-svga)" 0 kB
[ebuild   R    ] x11-libs/cairo-1.10.2-r1  USE="X glib opengl svg xcb
(-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -qt4
-static-libs" 0 kB
[ebuild   R    ] x11-libs/gdk-pixbuf-2.22.1-r2  USE="X introspection
jpeg jpeg2k svg tiff -debug -doc -test" 0 kB
[ebuild   R   #] net-print/cups-1.5.0-r2  USE="X dbus java jpeg pam png
ssl threads tiff -acl -debug -gnutls -kerberos -ldap -perl -php -python
-samba -slp -static-libs -usb -xinetd" LINGUAS="-da -de -es -eu -fi -fr
-id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 0 kB
[ebuild   R    ] gnome-base/librsvg-2.34.1  USE="gtk -doc -tools" 0 kB
[ebuild   R    ] app-text/ghostscript-gpl-9.04-r3  USE="X cups dbus gtk
jpeg2k -bindist -djvu -idn -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW"
0 kB
[ebuild   R    ] dev-db/libiodbc-3.52.7  USE="gtk" 0 kB
[ebuild   R    ] gnome-base/libglade-2.6.4  USE="-doc -static-libs
-test" 0 kB
[ebuild   R    ] gnome-extra/polkit-gnome-0.101-r1  USE="introspection
-doc -examples" 0 kB
[ebuild   R    ] x11-libs/wxGTK-2.8.11.0  USE="X opengl sdl tiff -debug
-doc -gnome -gstreamer -odbc -pch" 0 kB
[ebuild   R    ] media-libs/libwmf-0.2.8.4-r4  USE="X xml -debug -doc
-expat" 0 kB
[ebuild   R    ] dev-lang/R-2.10.1  USE="X bash-completion cairo java
jpeg nls png readline threads tk -doc -lapack -minimal -perl" 0 kB
[ebuild   R    ] media-gfx/imagemagick-6.7.1.0  USE="X bzip2 corefonts
cxx jbig jpeg jpeg2k lcms openmp png svg tiff truetype wmf xml zlib
-autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -lqr -lzma
-opencl -openexr -perl -q32 -q64 -q8 -raw -static-libs -webp" 0 kB
[ebuild   R    ] media-video/dvdauthor-0.6.18  0 kB
[ebuild   R   ~] x11-libs/qt-gui-4.7.4  USE="accessibility cups dbus
exceptions glib mng qt3support tiff xinerama (-aqua) -debug -egl
-gtkstyle -nas -nis -pch -private-headers -raster -trace" 0 kB
[ebuild   R    ] media-libs/openjpeg-1.4-r1  USE="-doc -test" 0 kB
[ebuild   R    ] media-libs/vigra-1.7.1  USE="hdf5 jpeg png python tiff
-doc -fftw -test" 0 kB
[ebuild   R    ] app-text/podofo-0.9.1  USE="boost -debug -test" 0 kB
[ebuild   R   ~] media-gfx/hugin-2011.2.0  USE="sift -lapack -python"
LINGUAS="-bg -ca -cs -da -de -en_GB -es -fi -fr -hu -it -ja -ko -nl -pl
-pt_BR -ro -ru -sk -sl -sv -uk -zh_CN -zh_TW" 0 kB
[ebuild   R    ] app-text/poppler-0.16.7  USE="cairo curl cxx
introspection jpeg jpeg2k lcms png qt4 utils xpdf-headers -cjk -debug
-doc -exceptions" 0 kB
[ebuild   R    ] media-video/mplayer-1.0_rc4_p20110322-r1  USE="3dnow
3dnowext X a52 alsa ass cddb cdio dirac dv dvd dvdnav enca encode esd
faac faad gif iconv ipv6 jpeg jpeg2k live mad mmx mmxext mng mp3 network
opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse
sse2 toolame tremor truetype twolame unicode vorbis x264 xinerama
xscreensaver xv xvid -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl
-bluray -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga
-directfb -doc -dts -dvb (-dxr3) -fbcon -ftp -ggi -gsm -jack -joystick
-ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -mpg123 -nas -nut -openal
-oss -pnm -pulseaudio -pvr -radio -rtmp -samba -ssse3 -tga -theora -v4l
-v4l2 -vdpau (-vidix) -vpx (-win32codecs) -xanim -xvmc -zoran"
VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB
[ebuild   R    ] media-libs/gegl-0.1.6  USE="cairo exif ffmpeg jpeg
jpeg2k mmx png sdl sse svg -debug -graphviz -lua -openexr -raw -umfpack
-v4l" 0 kB
[ebuild   R   ~] kde-base/kdelibs-4.7.2  USE="3dnow alsa bzip2 fam
handbook jpeg2k mmx nls opengl (policykit) semantic-desktop spell sse
sse2 ssl udev udisks upower zeroconf -acl (-altivec) (-aqua) -bindist
-debug -doc (-kdeenablefinal) -kerberos -lzma -openexr -test -upnp" 0 kB
[ebuild   R   ~] kde-base/ksplash-4.7.2  USE="3dnow mmx sse sse2
xinerama (-altivec) (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild   R    ] net-libs/webkit-gtk-1.2.7  USE="gstreamer jit (-aqua)
-coverage -debug -doc (-introspection) -test" 0 kB
[ebuild   R    ] dev-python/notify-python-0.1.1-r2  USE="-examples" 0 kB
[ebuild   R   ~] www-client/seamonkey-2.4.1-r1  USE="alsa chatzilla dbus
ipc libnotify methodjit roaming startup-notification webm -crypt
-custom-cflags -custom-optimization -debug -system-sqlite -wifi"
LINGUAS="en en_US -be -ca -cs -de -en_GB -es -es_AR -es_ES -fi -fr -gl
-hu -it -ja -lt -nb -nb_NO -nl -pl -pt -pt_PT -ru -sk -sv -sv_SE -tr -zh
-zh_CN" 0 kB
[ebuild   R    ] app-office/libreoffice-3.3.4  USE="bash-completion cups
dbus gtk java kde nsplugin opengl (-aqua) -binfilter -custom-cflags
-debug -eds -gnome -gstreamer (-kdeenablefinal) -ldap -odk -templates"
LINGUAS="en en_US -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca
-ca_XV -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa
-fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn
-ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb
-ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru
-rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te
-tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
[ebuild   R    ] media-gfx/gimp-2.6.11-r5  USE="alsa curl dbus doc exif
jpeg lcms mmx mng pdf png smp sse svg tiff webkit wmf -aalib (-altivec)
-debug -gnome -python" 0 kB
[ebuild   R    ] app-emulation/emul-linux-x86-gtklibs-20110722  
USE="-development" 0 kB
[ebuild   R    ] app-emulation/emul-linux-x86-medialibs-20110722  
USE="-development" 0 kB

Total: 42 packages (42 reinstalls), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

That list is identical to the first time I ran it.  I don't know what
you were expecting but this is what it does.

Dale

:-)  :-)

Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Pacho Ramos
El vie, 14-10-2011 a las 16:48 -0500, Dale escribió:

> Pacho Ramos wrote:
> > It shouldn't, I am sure I have used this some times before and it
> > worked as expected, but I don't know when revdep-rebuild cache files
> > are removed (and then, broken packages recalculated) :-/ Any
> > revdep-rebuild maintainer here to clarify this please? Thanks :)
>
> I always run revdep-rebuild with the -i option. It starts fresh each
> time or is supposed to anyway.  This is a snipped list of what was
> rebuilt the first time and that it says it wants to rebuild again as I
> just ran it again:
>
> root@fireball / # revdep-rebuild -i --library libpng14.so.14 -- -a -j5
>   * Configuring search environment for revdep-rebuild
>
>   * Checking reverse dependencies
>   * Packages containing binaries and libraries using libpng14.so.14
>   * will be emerged.
>
>   * Collecting system binaries and libraries
>   * Generated new 1_files.rr
>   * Checking dynamic linking
> [ 8% ]  *   found /usr/bin/enblend
> <<<<  SNIPPED >>>>
> [ 100% ]
>   * Generated new 3_broken.rr
> <<<<  SNIPPED >>>>
>   * All prepared. Starting rebuild
> emerge --complete-graph=y --oneshot --with-bdeps y --backtrack=30
> --keep-going -v -D -a -j5 app-emulation/emul-linux-x86-baselibs:0
> app-emulation/emul-linux-x86-gtklibs:0
> app-emulation/emul-linux-x86-medialibs:0 app-office/libreoffice:0
> app-text/ghostscript-gpl:0 app-text/podofo:0 app-text/poppler:0
> dev-db/libiodbc:0 dev-lang/R:0 dev-python/notify-python:0
> gnome-base/libglade:2.0 gnome-base/librsvg:2 gnome-extra/polkit-gnome:0
> kde-base/kdelibs:4 kde-base/ksplash:4 media-gfx/enblend:0
> media-gfx/gimp:2 media-gfx/hugin:0 media-gfx/imagemagick:0
> media-libs/gd:2 media-libs/gegl:0 media-libs/imlib2:0
> media-libs/libpano13:0 media-libs/libwmf:0 media-libs/netpbm:0
> media-libs/openjpeg:0 media-libs/plotutils:0 media-libs/sdl-image:0
> media-libs/vigra:0 media-video/dvdauthor:0 media-video/mplayer:0
> net-libs/webkit-gtk:2 net-print/cups:0 sys-libs/slang:0
> www-client/links:2 www-client/seamonkey:0 x11-libs/cairo:0
> x11-libs/fltk:1 x11-libs/fox:1.6 x11-libs/gdk-pixbuf:2 x11-libs/qt-gui:4
> x11-libs/wxGTK:2.8
> ..........
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild   R    ] app-emulation/emul-linux-x86-baselibs-20110722  
> USE="-development" 0 kB
> [ebuild   R    ] sys-libs/slang-2.2.2  USE="pcre png readline zlib -cjk"
> 0 kB
> [ebuild   R    ] media-libs/libpano13-2.9.18  USE="java -static-libs" 0 kB
> [ebuild   R    ] media-libs/gd-2.0.35-r1  USE="jpeg png truetype
> -fontconfig -xpm" 0 kB
> [ebuild   R    ] media-libs/imlib2-1.4.4  USE="X bzip2 gif jpeg mp3 nls
> png tiff zlib -doc (-mmx)" 0 kB
> [ebuild   R    ] www-client/links-2.3_pre1-r1  USE="X bzip2 gpm jpeg ssl
> tiff unicode zlib -directfb -fbcon -livecd (-svga)" 0 kB
> [ebuild   R    ] media-libs/plotutils-2.6  USE="X png -static-libs" 0 kB
> [ebuild   R    ] x11-libs/fltk-1.1.10-r2  USE="opengl threads xinerama
> -debug -doc -examples -games -xft" 0 kB
> [ebuild   R    ] x11-libs/fox-1.6.40  USE="bzip2 jpeg opengl png tiff
> truetype zlib -debug -doc -profile" 0 kB
> [ebuild   R    ] media-gfx/enblend-4.0  USE="image-cache openexr openmp
> -debug -doc -gpu" 0 kB
> [ebuild   R    ] media-libs/sdl-image-1.2.10-r1  USE="gif jpeg png tiff
> -static-libs" 0 kB
> [ebuild   R    ] media-libs/netpbm-10.51.00-r1  USE="X jbig jpeg jpeg2k
> png tiff xml zlib -rle (-svga)" 0 kB
> [ebuild   R    ] x11-libs/cairo-1.10.2-r1  USE="X glib opengl svg xcb
> (-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -qt4
> -static-libs" 0 kB
> [ebuild   R    ] x11-libs/gdk-pixbuf-2.22.1-r2  USE="X introspection
> jpeg jpeg2k svg tiff -debug -doc -test" 0 kB
> [ebuild   R   #] net-print/cups-1.5.0-r2  USE="X dbus java jpeg pam png
> ssl threads tiff -acl -debug -gnutls -kerberos -ldap -perl -php -python
> -samba -slp -static-libs -usb -xinetd" LINGUAS="-da -de -es -eu -fi -fr
> -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 0 kB
> [ebuild   R    ] gnome-base/librsvg-2.34.1  USE="gtk -doc -tools" 0 kB
> [ebuild   R    ] app-text/ghostscript-gpl-9.04-r3  USE="X cups dbus gtk
> jpeg2k -bindist -djvu -idn -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW"
> 0 kB
> [ebuild   R    ] dev-db/libiodbc-3.52.7  USE="gtk" 0 kB
> [ebuild   R    ] gnome-base/libglade-2.6.4  USE="-doc -static-libs
> -test" 0 kB
> [ebuild   R    ] gnome-extra/polkit-gnome-0.101-r1  USE="introspection
> -doc -examples" 0 kB
> [ebuild   R    ] x11-libs/wxGTK-2.8.11.0  USE="X opengl sdl tiff -debug
> -doc -gnome -gstreamer -odbc -pch" 0 kB
> [ebuild   R    ] media-libs/libwmf-0.2.8.4-r4  USE="X xml -debug -doc
> -expat" 0 kB
> [ebuild   R    ] dev-lang/R-2.10.1  USE="X bash-completion cairo java
> jpeg nls png readline threads tk -doc -lapack -minimal -perl" 0 kB
> [ebuild   R    ] media-gfx/imagemagick-6.7.1.0  USE="X bzip2 corefonts
> cxx jbig jpeg jpeg2k lcms openmp png svg tiff truetype wmf xml zlib
> -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -lqr -lzma
> -opencl -openexr -perl -q32 -q64 -q8 -raw -static-libs -webp" 0 kB
> [ebuild   R    ] media-video/dvdauthor-0.6.18  0 kB
> [ebuild   R   ~] x11-libs/qt-gui-4.7.4  USE="accessibility cups dbus
> exceptions glib mng qt3support tiff xinerama (-aqua) -debug -egl
> -gtkstyle -nas -nis -pch -private-headers -raster -trace" 0 kB
> [ebuild   R    ] media-libs/openjpeg-1.4-r1  USE="-doc -test" 0 kB
> [ebuild   R    ] media-libs/vigra-1.7.1  USE="hdf5 jpeg png python tiff
> -doc -fftw -test" 0 kB
> [ebuild   R    ] app-text/podofo-0.9.1  USE="boost -debug -test" 0 kB
> [ebuild   R   ~] media-gfx/hugin-2011.2.0  USE="sift -lapack -python"
> LINGUAS="-bg -ca -cs -da -de -en_GB -es -fi -fr -hu -it -ja -ko -nl -pl
> -pt_BR -ro -ru -sk -sl -sv -uk -zh_CN -zh_TW" 0 kB
> [ebuild   R    ] app-text/poppler-0.16.7  USE="cairo curl cxx
> introspection jpeg jpeg2k lcms png qt4 utils xpdf-headers -cjk -debug
> -doc -exceptions" 0 kB
> [ebuild   R    ] media-video/mplayer-1.0_rc4_p20110322-r1  USE="3dnow
> 3dnowext X a52 alsa ass cddb cdio dirac dv dvd dvdnav enca encode esd
> faac faad gif iconv ipv6 jpeg jpeg2k live mad mmx mmxext mng mp3 network
> opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse
> sse2 toolame tremor truetype twolame unicode vorbis x264 xinerama
> xscreensaver xv xvid -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl
> -bluray -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga
> -directfb -doc -dts -dvb (-dxr3) -fbcon -ftp -ggi -gsm -jack -joystick
> -ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -mpg123 -nas -nut -openal
> -oss -pnm -pulseaudio -pvr -radio -rtmp -samba -ssse3 -tga -theora -v4l
> -v4l2 -vdpau (-vidix) -vpx (-win32codecs) -xanim -xvmc -zoran"
> VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB
> [ebuild   R    ] media-libs/gegl-0.1.6  USE="cairo exif ffmpeg jpeg
> jpeg2k mmx png sdl sse svg -debug -graphviz -lua -openexr -raw -umfpack
> -v4l" 0 kB
> [ebuild   R   ~] kde-base/kdelibs-4.7.2  USE="3dnow alsa bzip2 fam
> handbook jpeg2k mmx nls opengl (policykit) semantic-desktop spell sse
> sse2 ssl udev udisks upower zeroconf -acl (-altivec) (-aqua) -bindist
> -debug -doc (-kdeenablefinal) -kerberos -lzma -openexr -test -upnp" 0 kB
> [ebuild   R   ~] kde-base/ksplash-4.7.2  USE="3dnow mmx sse sse2
> xinerama (-altivec) (-aqua) -debug (-kdeenablefinal)" 0 kB
> [ebuild   R    ] net-libs/webkit-gtk-1.2.7  USE="gstreamer jit (-aqua)
> -coverage -debug -doc (-introspection) -test" 0 kB
> [ebuild   R    ] dev-python/notify-python-0.1.1-r2  USE="-examples" 0 kB
> [ebuild   R   ~] www-client/seamonkey-2.4.1-r1  USE="alsa chatzilla dbus
> ipc libnotify methodjit roaming startup-notification webm -crypt
> -custom-cflags -custom-optimization -debug -system-sqlite -wifi"
> LINGUAS="en en_US -be -ca -cs -de -en_GB -es -es_AR -es_ES -fi -fr -gl
> -hu -it -ja -lt -nb -nb_NO -nl -pl -pt -pt_PT -ru -sk -sv -sv_SE -tr -zh
> -zh_CN" 0 kB
> [ebuild   R    ] app-office/libreoffice-3.3.4  USE="bash-completion cups
> dbus gtk java kde nsplugin opengl (-aqua) -binfilter -custom-cflags
> -debug -eds -gnome -gstreamer (-kdeenablefinal) -ldap -odk -templates"
> LINGUAS="en en_US -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca
> -ca_XV -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa
> -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn
> -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb
> -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru
> -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te
> -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
> [ebuild   R    ] media-gfx/gimp-2.6.11-r5  USE="alsa curl dbus doc exif
> jpeg lcms mmx mng pdf png smp sse svg tiff webkit wmf -aalib (-altivec)
> -debug -gnome -python" 0 kB
> [ebuild   R    ] app-emulation/emul-linux-x86-gtklibs-20110722  
> USE="-development" 0 kB
> [ebuild   R    ] app-emulation/emul-linux-x86-medialibs-20110722  
> USE="-development" 0 kB
>
> Total: 42 packages (42 reinstalls), Size of downloads: 0 kB
>
> Would you like to merge these packages? [Yes/No]
>
> That list is identical to the first time I ran it.  I don't know what
> you were expecting but this is what it does.
>
> Dale
>
> :-)  :-)
>
>
Well, I would expect it to properly recalculate broken packages after
previous run that failed to complete to build failures

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Markos Chandras-2
In reply to this post by Samuli Suominen-4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10/13/2011 11:01 PM, Samuli Suominen wrote:
> small news item for stable users. lets keep it simple... You can
> identify those files with following one-liner: ... # find /usr/
> -name '*.la' -exec grep png14 {} +
What happens once you identify the broken .la files? Should people
delete these .la files? Should they just rebuild the package? Should
they run lafilefixer? I think you need to add some bits here on how to
deal with the remaining .la files ;)

- --
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iQIcBAEBCgAGBQJOmMRpAAoJEPqDWhW0r/LCleIQAJkRkWEIMyQR1Zwlq+3Ykb81
T9a2MluJZ52G+wJfy7UoeSJ9rAU6W23EXabS6l/ENiIwFmiAg9V7LmFFslyWFLCE
noSjJxcoknDfWGWAhIiYBX7k2JBwwMZG/6NJpQLNs68L5MhJP/tgt6LNlvdfHs0P
Ats3DY4K+1NF098rtgpV9wE8wlcBuyABeZIbsY4jHGeIl4QalLOm0oqq4V+wVM4l
6QVTgRGYGz0mlWooHLmjBRqao2yAk0ZBFnHOEhClUfiz1tpPftZP7h91k8YLOkca
rpthTHzN1OxEQS5BGvUjq0IX54WPjnlOuKz6RSfm4QFFP5zn9mnovW5hcLu1f+68
fOvbNvzlJ6SHdr/iXuGT/U8DcUTqFWucoSJa0Yxi2qFfiLnvmkrPQKKdfhb2e9xx
l29OVGzN/BKs213XCrlVY40ghWucUd8jzr5WGE1heV7t3Nhx5YYcn0GRBmoyD7L6
Vk/Z6GhD5BE/rYVBUsQqOEq1JkYQ3qAWgW/0pOrHi8xwguGiENx8PnX816JrRS2J
DJDLxpoayU9Li9URZBmgBNCjtyVKoZWjwe9QZjQhVTTq+MXGfl3En727jiMqjKSq
kZa6rczspDebnTNCD6l48VcDbnqIAhbHUopm+ACStLVIVx0j++4vZiYIdY4nQFqb
yFy6/eNVw3JMdsHRb0D1
=v70x
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Dale-46
In reply to this post by Pacho Ramos
Pacho Ramos wrote:

> El vie, 14-10-2011 a las 16:48 -0500, Dale escribió:
>> Pacho Ramos wrote:
>>> It shouldn't, I am sure I have used this some times before and it
>>> worked as expected, but I don't know when revdep-rebuild cache files
>>> are removed (and then, broken packages recalculated) :-/ Any
>>> revdep-rebuild maintainer here to clarify this please? Thanks :)
>> I always run revdep-rebuild with the -i option. It starts fresh each
>> time or is supposed to anyway.  This is a snipped list of what was
>> rebuilt the first time and that it says it wants to rebuild again as I
>> just ran it again:
>>
>>    <<<   SNIPPED>>>
>> That list is identical to the first time I ran it.  I don't know what
>> you were expecting but this is what it does.
>>
>> Dale
>>
>> :-)  :-)
>>
>>
> Well, I would expect it to properly recalculate broken packages after
> previous run that failed to complete to build failures

 From my understanding, it looks for what packages link/use/whatever the
library then it rebuilds them all.  I guess this is one way to catch
them all for sure but it is sort of difficult to know what was already
fixed and what is still broke.

I think I see what you are expecting and I wish it was that way but it
appears we are not getting what we want with this.  Is it doable, maybe,
but not at the moment.  By the way, I run the unstable versions of those
tools.

I guess if the emerge fails, then one would have to use the --resume
option to try to rebuild packages or just rebuild what fails by hand and
hope you don't miss anything.

Dale

:-)  :-)

Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Samuli Suominen-4
In reply to this post by Ryan Hill-3
On 10/14/2011 04:59 AM, Ryan Hill wrote:

> On Fri, 14 Oct 2011 01:01:50 +0300
> Samuli Suominen <[hidden email]> wrote:
>
>> Title: Upgrade to libpng15
>> Author: Samuli Suominen <[hidden email]>
>> Content-Type: text/plain
>> Posted: 2011-10-14
>> Revision: 1
>> News-Item-Format: 1.0
>> Display-If-Installed: <media-libs/libpng-1.5
>>
>> After upgrading from libpng14 to libpng15 it's important that you rebuild
>> cairo and gdk-pixbuf soon as possible if they are installed.
>                       ^ as
>> Then you can proceed with rebuilding rest of the software against the new
>                                       ^ the
>> library:
>>
>> # revdep-rebuild --library libpng14.so.14
>>
>> In case of failure, try skipping the failing package and rebuilding it
>> later in the process.
>
> How?
>  
>> If you find packages not building with message "ld: cannot find -lpng14",
>                                         ^ the
>> they are likely caused by broken libtool archives (.la) in your system.
>>
>> You can identify those files with following one-liner:
>>
>> # find /usr/ -name '*.la' -exec grep png14 {} +
>>
>> More information and help is available at following forums post:
>                                            ^ the           ^-s?
>>
>> http://forums.gentoo.org/viewtopic-t-894950.html
>>
>
>
>
Attaching draft #2.  I've taken account all the replies so far.  I left
complex one-liners out in _purpose_, and _want to_ people not
understanding the issue to follow up in the forums post.

2011-10-14-libpng15.en.txt (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Samuli Suominen-4
In reply to this post by Pacho Ramos
On 10/14/2011 11:48 AM, Pacho Ramos wrote:
> El vie, 14-10-2011 a las 01:01 +0300, Samuli Suominen escribió:
>> small news item for stable users. lets keep it simple...
>>
>
> Is early rebuilding of gdk-pixbuf still needed now that fixed version
> will be stabilized before libpng15?

The blockers that will force gdk-pixbuf to rebuilt first will just
ensure there are no -lpng14 or -lpng15 entries in gdk-pixbuf-2.0.pc that
would break apps compile-time.

The rebuilding of gdk-pixbuf and cairo is still necessary early, because
apps using gdk-pixbuf to handle .png at buildtime AND runtime (mostly
gnome apps) will fail with message ".png: File type is not supported"
(Maybe not with this exact wording, but close to it.) that is an result
of condition where eg. cairo is built against png14 but gdk-pixbuf with
png15 or otherway around -- conflict


Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Pacho Ramos
El sáb, 15-10-2011 a las 19:35 +0300, Samuli Suominen escribió:

> On 10/14/2011 11:48 AM, Pacho Ramos wrote:
> > El vie, 14-10-2011 a las 01:01 +0300, Samuli Suominen escribió:
> >> small news item for stable users. lets keep it simple...
> >>
> >
> > Is early rebuilding of gdk-pixbuf still needed now that fixed version
> > will be stabilized before libpng15?
>
> The blockers that will force gdk-pixbuf to rebuilt first will just
> ensure there are no -lpng14 or -lpng15 entries in gdk-pixbuf-2.0.pc that
> would break apps compile-time.
>
> The rebuilding of gdk-pixbuf and cairo is still necessary early, because
> apps using gdk-pixbuf to handle .png at buildtime AND runtime (mostly
> gnome apps) will fail with message ".png: File type is not supported"
> (Maybe not with this exact wording, but close to it.) that is an result
> of condition where eg. cairo is built against png14 but gdk-pixbuf with
> png15 or otherway around -- conflict
>
>
OK, thanks a lot for the explanation :)

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: rfc: news item for png15

Ryan Hill-3
In reply to this post by Samuli Suominen-4
On Sat, 15 Oct 2011 19:17:17 +0300
Samuli Suominen <[hidden email]> wrote:

> Ocne you have identified the broken files, you can either delete them,
   ^
> edit them in place and replace png14 with png15, or re-emerge the packages

Otherwise good.


--
fonts, gcc-porting,                  it makes no sense how it makes no sense
toolchain, wxwidgets                           but i'll take it free anytime
@ gentoo.org                EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Samuli Suominen-4
On 10/16/2011 12:43 AM, Ryan Hill wrote:

> On Sat, 15 Oct 2011 19:17:17 +0300
> Samuli Suominen <[hidden email]> wrote:
>
>> Ocne you have identified the broken files, you can either delete them,
>    ^
>> edit them in place and replace png14 with png15, or re-emerge the packages
>
> Otherwise good.
>
>

Thanks.

slyfox pointed this out to me already at Freenode and I've fixed it
before committing the news item.

- Samuli

Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Paul Varner
In reply to this post by Pacho Ramos
On Fri, 2011-10-14 at 23:03 +0200, Pacho Ramos wrote:

> It shouldn't, I am sure I have used this some times before and it worked
> as expected, but I don't know when revdep-rebuild cache files are
> removed (and then, broken packages recalculated) :-/
>
> Any revdep-rebuild maintainer here to clarify this please? Thanks :)
 
Actually all of the current versions of revdep-rebuild are broken and
always remove the cache files after completion. The exception to this is
when --pretend is used.

When it is fixed in the next version of gentoolkit, the behavior is to
keep the files if it is a pretend run or if emerge exits with a non-zero
status.

Note: emerge will exit with a non-zero status if --keep-going is used
and there is a build failure.

Regards,
Paul


Reply | Threaded
Open this post in threaded view
|

Re: Re: rfc: news item for png15

Pacho Ramos
El vie, 21-10-2011 a las 02:23 -0500, Paul Varner escribió:

> On Fri, 2011-10-14 at 23:03 +0200, Pacho Ramos wrote:
>
> > It shouldn't, I am sure I have used this some times before and it worked
> > as expected, but I don't know when revdep-rebuild cache files are
> > removed (and then, broken packages recalculated) :-/
> >
> > Any revdep-rebuild maintainer here to clarify this please? Thanks :)
>  
> Actually all of the current versions of revdep-rebuild are broken and
> always remove the cache files after completion. The exception to this is
> when --pretend is used.
>
> When it is fixed in the next version of gentoolkit, the behavior is to
> keep the files if it is a pretend run or if emerge exits with a non-zero
> status.
>
> Note: emerge will exit with a non-zero status if --keep-going is used
> and there is a build failure.
>
> Regards,
> Paul
>
OK, thanks a lot for the info :)


signature.asc (205 bytes) Download Attachment