trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] digikam - error: invalid use of incomplete type 'png_struct {aka struct png_struct_def}'

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 28 Mar 2012 15:52:09 -0500
On 03/28/2012 03:00 PM, E. Liddell wrote:
> On Wed, 28 Mar 2012 13:07:31 -0500
> "David C. Rankin"<drankinatty@...>  wrote:
>
>> On 03/28/2012 12:14 PM, E. Liddell wrote:
>>> NetBSD may have patched this, but I can't find the actual patch file, just
>>> references to same ("Add media-gfx/gwenview-1.4.2 with libpng 1.5
>>> buildfix (NetBSD patch); Fix media -gfx/digikam-0.9.6 to build with
>>> libpng 1.5 (NetBSD patch)") and some incomplete chunks from a
>>> now-deceased website.
>>
>> Yep, I've found little bits and pieces around as well, but no off-the-shelf
>> patch. It looks like we will just have to open libpng/src/png.c libpng/src/png.h
>> and the digikam and gwenview files and patch the problems for TDE.
>
> Hmmm.  NiLuJe, the guy who was running the defunct site I quoted, is
> traceable (ninuje at gmail [no typo], has a posting history on the forums for Gentoo
> and for MobiRead)--dunno if it's worth contacting him (or the BSD people,
> for that matter) to see if there's a backup of the pre-existing patch somewhere.
> If someone does have it, it might save some time.
>


I'm stumbling onto more pieces as well:

   The patch from the kdedevs:

   Bug:  https://bugs.kde.org/show_bug.cgi?id=266319

   link to patch: https://bugs.kde.org/attachment.cgi?id=57257
   (attached to message as well)

This may handle the gwenview problem or provide an excellent Go-By to create 
our own.

   We will need to see if this applies and if it is fixed in TDE as well 
(png_read_update_info calls png_read_start_image) pngloader.cpp.

https://bugs.kde.org/show_bug.cgi?id=296305

-- 
David C. Rankin, J.D.,P.E.

Attachments: