Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102452 - An ebuild for Cairo 0.9.2, with patch, needed for GTK 2.8
Summary: An ebuild for Cairo 0.9.2, with patch, needed for GTK 2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 79640
  Show dependency tree
 
Reported: 2005-08-13 22:15 UTC by Stepan Moskovchenko
Modified: 2005-08-16 07:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch for Cairo for the RENDER workaround with Gentoo's X version string (cairo-fix-render-versionstring.patch,689 bytes, patch)
2005-08-13 22:16 UTC, Stepan Moskovchenko
Details | Diff
Ebuild for Cairo 0.9.2 (cairo-0.9.2.ebuild,1.04 KB, text/plain)
2005-08-13 22:17 UTC, Stepan Moskovchenko
Details
gtk+-2.8.0 ebuild (gtk+-2.8.0.ebuild,2.84 KB, text/plain)
2005-08-14 06:50 UTC, Pau Rodriguez
Details
glitz-0.4.4 ebuild (glitz-0.4.4.ebuild,602 bytes, text/plain)
2005-08-14 06:58 UTC, Pau Rodriguez
Details
cairo-0.9.2 ebuild (cairo-0.9.2.ebuild,1.01 KB, text/plain)
2005-08-14 06:59 UTC, Pau Rodriguez
Details
Ebuild for Pango 1.10.0 (pango-1.10.0.ebuild.patch,345 bytes, patch)
2005-08-16 07:10 UTC, Stepan Moskovchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Moskovchenko 2005-08-13 22:15:37 UTC
Attached are the ebuilds. Created very quickly, please test, but they worked for me.

The patch here is needed for that buggy RENDER thing from Xorg. This is the
patch that was proposed for Cairo 0.6 I believe.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stepan Moskovchenko 2005-08-13 22:16:26 UTC
Created attachment 65894 [details, diff]
The patch for Cairo for the RENDER workaround with Gentoo's X version string
Comment 2 Stepan Moskovchenko 2005-08-13 22:17:15 UTC
Created attachment 65895 [details]
Ebuild for Cairo 0.9.2
Comment 3 Pau Rodriguez 2005-08-14 06:50:11 UTC
Created attachment 65921 [details]
gtk+-2.8.0 ebuild

Only problem encountred when compiling pango-1.9.1 and cairo-0.9.2
What happend.

I attrached my gtk+-2.8.0 ebuild if anybody found the error.

I solved compiling pango with cairo-0.6 and then updated to cairo-0.9.2 but I
don't test binaryes yet.
Comment 4 Pau Rodriguez 2005-08-14 06:58:33 UTC
Created attachment 65923 [details]
glitz-0.4.4 ebuild
Comment 5 Pau Rodriguez 2005-08-14 06:59:50 UTC
Created attachment 65924 [details]
cairo-0.9.2 ebuild

with problem glitz solved (with glitz ebuild of course)
Comment 6 Pau Rodriguez 2005-08-14 07:12:33 UTC
(In reply to comment #5)
> Created an attachment (id=65924) [edit]
> cairo-0.9.2 ebuild
> 
> with problem glitz solved (with glitz ebuild of course)

problem building with both gtk+2.8.0 and pango-1.9.1 with both cairo ebuilds.
And no pango-1.10 tarball yet!
Comment 7 Stepan Moskovchenko 2005-08-14 08:19:25 UTC
>problem building with both gtk+2.8.0 and pango-1.9.1 with both cairo ebuilds.
>And no pango-1.10 tarball yet!

Yes, pango will not build with cairo 0.6. Btut Gtk 2.8 needs cairo 2.8. The part
of pango that will not compile is actually a small example app, but the rest of
pango builds fine. I was told this issue is already fixed in cvs and it will all
work fine with cairo in version 1.10. This should be available some time on
Monday, August 15.
Comment 8 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-15 11:43:39 UTC
An ebuild for cairo-0.9.2 is now in the tree. Thank you for your help.

Please note that when you have modified versions of ebuilds currently in our
tree, it's usually nicer if you post uniffied diffs in your reports instead of
the complete files.

Stepan,
You didn't give much background about your patch in comment #1. Please add to
your comments the rationale and/or origin of the included patches.

Pau,
I can't understand what you're trying to say in comment #3. If you have problems
with pango or gtk+, using ebuilds in our tree, please open new reports for them.
You can also open new reports to contribute new ebuilds for other packages like
glitz.


Thanks.
Comment 9 Stepan Moskovchenko 2005-08-15 13:12:51 UTC
The patch from Comment #1 resolves an issue that Cairo has with Xorg. According
to the Cairo developers, there is a bug within Xorg's RENDER system that
prevents the background from being displayed properly (in gnome, anyway) as well
as other things. Cairo employs a workaround for this, and it knows to turn on
the workaround by looking at the X vendor string. Since Gentoo modifies this
string, Cairo no longer knows to use its workaround, and this patch fixes that.

A notable symptom of unpatched cairo is an improperly rendered gnome background
image on the desktop. It only happens when an image is set as a background, and
not if you are using solid color, etc. The background will be dirty with bits of
other windows. Dragging a window leaves trails behind, and mousing over an icon
leaves trails around it as well.

>Stepan,
>You didn't give much background about your patch in comment #1. Please add to
>your comments the rationale and/or origin of the included patches.
Comment 10 Stepan Moskovchenko 2005-08-16 07:10:58 UTC
Created attachment 66080 [details, diff]
Ebuild for Pango 1.10.0

Here it is, pango-1.10.0 just came out today, so there's teh ebuild. It's a
patch against 1.9.1. I commented out the patch for compiling against the latest
Cairo because this change has already been made to the source in version
1.10.0.