Cairo 1.7.1 required for Pango

From Pango's config.log:
configure:22656: checking for CAIRO
configure:22663: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
Requested 'cairo >= 1.7.1' but version of cairo is 1.6.5
configure:22666: $? = 1
configure:22679: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
Requested 'cairo >= 1.7.1' but version of cairo is 1.6.5
configure:22682: $? = 1
Requested 'cairo >= 1.7.1' but version of cairo is 1.6.5
configure:22709: result: no
configure:22711: result: no
configure:22970: error: *** Could not enable any of FreeType, X11, Cairo, or Win32 backend
s.
*** Must have at least one backend to build Pango.

I'll try building Cairo from git.

Using pixman/cairo from the

Using pixman/cairo from the git repository allows Pango SVN to build. I should probably find a way to add pixman and cairo git repositories to the jhbuild environment. But GTK+ is still building, so I'll report back with my results later.

We're waiting for releases

We're waiting for releases of cairo and pixman to be able to update those. I don't want to use the git version because it adds a hard dependency on git, and there is almost no gain in using it.

Unfortunately, I think this

Unfortunately, I think this may have introduced some very nasty bugs in scrolling. I'll try an older copy of Pango (and the older cairo 1.6.5) to see if that helps any.

What scrolling bug? It works

What scrolling bug? It works fine for me, what are you doing to trigger that bug?

Building Geany SVN on top of

Building Geany SVN on top of cairo 1.7.1, Scintilla's scrolling is all kinds of messed up. The editor is completely unusable now. I'm building some older cairo/pango sources, to see if that sorts it.

Pango 1.20.5, Cairo 1.6.5, GTK+ SVN ... same behavior. :(

OK, attempt number three has

OK, attempt number three has given some good results.

I went back to the latest Cairo from git, Pango from SVN, and GTK+ 2.13.1; the bug is gone. So it must be related to GTK+ Quartz.

I could try to narrow down the change(s) that cause this regression, if you like. It will take some time to do all of the builds,

Sure, that would be great,

Sure, that would be great, thanks! The easiest way is probably to checkout by date (-D) and do binary search that way.

So far, I know the

So far, I know the regression is somewhere between GTK+ 2.13.4 and 2.13.5; SVN r20784 to r20889 ...

Thanks! I'll take a look.

Thanks! I'll take a look.

I know it's a bit early to

I know it's a bit early to ask for status reports, but do you know of the changes made between the versions which could cause trouble? I did a svn diff between the two revisions (but only on gdk/quartz/*.c) and didn't notice any significant changes.

After some testing and

After some testing and looking through SVN logs, I found the commit which causes the regression: http://svn.gnome.org/viewvc/gtk%2B?view=revision&revision=20870

This patch makes Scintilla draw lines in reverse order and scrolling goes "backwards".

Thanks! It looks like a

Thanks! It looks like a simpler test case is any code using gtkruler. We are looking into the issue, hopefully will solve it soon.

If you wanna test this

If you wanna test this tentative patch and report back that would be great:
http://people.imendio.com/richard/patches/flipped.patch

A quick look at Geany with

A quick look at Geany with latest GTK+ SVN and your patch, it appears Scintilla is back in proper working order. So far, no problems here.

Thanks.

OK, thanks :)

OK, thanks :)