public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Samuli Suominen <ssuominen@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: rfc: news item for png15
Date: Sat, 15 Oct 2011 19:17:17 +0300	[thread overview]
Message-ID: <4E99B20D.8000502@gentoo.org> (raw)
In-Reply-To: <20111013195957.22322b34@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1532 bytes --]

On 10/14/2011 04:59 AM, Ryan Hill wrote:
> On Fri, 14 Oct 2011 01:01:50 +0300
> Samuli Suominen <ssuominen@gentoo.org> wrote:
> 
>> Title: Upgrade to libpng15
>> Author: Samuli Suominen <ssuominen@gentoo.org>
>> 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.

[-- Attachment #2: 2011-10-14-libpng15.en.txt --]
[-- Type: text/plain, Size: 1094 bytes --]

Title: Upgrade to libpng15
Author: Samuli Suominen <ssuominen@gentoo.org>
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 as soon as possible if they are installed.

Then you can proceed with rebuilding the rest of the software against the new
library:

# revdep-rebuild --library libpng14.so.14 -- --keep-going

Note: It might be necessary to run the previous command more than once.

If you find packages not building with the message "ld: cannot find -lpng14",
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 {} +

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
they belong to.

More information and help is available at the following forum post:

http://forums.gentoo.org/viewtopic-t-894950.html

  reply	other threads:[~2011-10-15 16:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 22:01 [gentoo-dev] rfc: news item for png15 Samuli Suominen
2011-10-14  0:30 ` Peter Volkov
2011-10-14  5:51   ` Michał Górny
2011-10-14  1:59 ` [gentoo-dev] " Ryan Hill
2011-10-15 16:17   ` Samuli Suominen [this message]
2011-10-15 21:43     ` Ryan Hill
2011-10-15 21:37       ` Samuli Suominen
2011-10-14  2:48 ` Ryan Hill
2011-10-14  8:46   ` Pacho Ramos
2011-10-14  8:53     ` Dale
2011-10-14 21:03       ` Pacho Ramos
2011-10-14 21:48         ` Dale
2011-10-14 23:20           ` Pacho Ramos
2011-10-14 23:39             ` Dale
2011-10-21  7:23         ` Paul Varner
2011-10-21 17:46           ` Pacho Ramos
2011-10-14  8:48 ` [gentoo-dev] " Pacho Ramos
2011-10-15 16:35   ` Samuli Suominen
2011-10-15 18:46     ` Pacho Ramos
2011-10-14 23:23 ` Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E99B20D.8000502@gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox