Project page for libpng version 1.4

Goal

Develop a stable and robust libpng 1.2 to 1.4 upgrade path and make sure all spells work with libpng 1.4

Tasks

  • Upgrades from prior libpng version successfully without breakage
  • All spells depending on libpng must cast successfully and work with version 1.4
  • Passes all test cases detailed here

Information

The work is being done in the git branch devel-libpng. It will be merged with the normal test grimoire when the goal is accomplished.

How to help out

  • scribe add libpng from git://download.sourcemage.org/smgl/grimoire.git:libpng:devel-libpng

  • cast libpng

  • Note all successes and failures in the spells table below
  • Fix anything you can fix in the devel-libpng branch

Note: any issues not related to libpng 1.4 should be fixed in master and pulled into the devel-libpng branch, and not fixed in the devel-libpng branch directly.

Test Cases

To be determined

Spells

cairomm

OK

cairo

OK

there was issue, see below

cuda-toolkit

NOK

binary release, links to 1.2 only

cups

OK

dvipdfmx

OK

dvipng

OK

firefox

OK

gdk-pixbuf

OK

gd

OK

gegl

OK

gimp

OK

graphviz

OK

gst-plugins-bad

OK

gtk+2

OK

gtkmm2

OK

gtkspell

OK

icoutils

OK

imagemagick

OK

imlib2

OK

inkscape

OK

k3b

OK

kdebase-workspace4

OK

kdelibs4

OK

kdelibs

OK

last.fm

OK

libgnomecanvas

OK

libgnomeprintui

OK

libnotify

OK

libquicktime

OK

librsvg2

OK

libwmf

OK

links-twibright

OK

mjpegtools

OK

mlterm

OK

mplayer

OK

pangomm

OK

pango

OK

poppler

OK

pycairo

OK

pygame

OK

pygtk2

OK

qt4

OK

qt-x11

OK

fixed with a patch

scim

OK

seamonkey

OK

slang

OK

slim

OK

fixed with a sed command

sox

OK

texlive

OK

vlc

OK

xaralx

OK

fixed with sed

xplanet

OK

xsane

OK

xulrunner

OK

fixed with a patch

Open Issues

Cairo

cairo 1.8.8 doesn't compile with libpng 1.4, cairo 1.8.10 does, but there are stability problems between cairo 1.8.10 and firefox and friends (or probably xulrunner). For now the devel-libpng branch has cairo 1.8.10 but we need to sort this out before the branch can be merged back into master.

Stealth's findings:

  • 1.8.10 has been known buggy for the last few months as a reason for random crashing of
    gtk (and not only) apps mostly with such message:
    
    --
    The program 'firefox' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'RenderBadPicture (invalid Picture parameter)'.
      (Details: serial 955915 error_code 169 request_code 152 minor_code 7)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error()
    function.)
    Segmentation fault
    --
    
    This affects at least seamonkey, firefox, sylpheed, gajim, xchat and any other program
    which is lanched for >20 hours.
    
    Some kind of memleak is detected. To solve this problem, distributions build
    firefox, seamonkey, etc. with a holy, stable, and internal cairo library, but that
    doesn't solve the issue for small apps like sylpheed and xchat (since cairo isn't
    shipped with them).

Added patch to version 1.8.8 (with commit 3ea3d0f246dcc3bad74c1f0e8ab11b6fa4be1b47) so it compiles for me. Please report it also worked for you. - PyroBor

Grimoire/libpng14 (last edited 2010-08-22 18:28:36 by BorKraljic)