Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

pangox-compat with pango 1.44



Hello, i don't emerge x11-libs/pangox-compat 0.0.2-r1 with the new x11-libs/pango-1.44.7

pangox.c: In function 'pango_x_font_class_init':
pangox.c:282:13: error: 'PangoFontClass' {aka 'struct _PangoFontClass'} has no member named 'find_shaper'

In last version pango-1.42.4, it's ok.


A problem with engrampa-1.22.1, just supress function  g_ptr_array_copy in src/glib-utils.c and declaration in src/glib-utils.h.

I dont know patch in emerge. Juste pause compil for suppressions. If some one tell me some url for patch. Thank you


I add vdpau in VIDEO_CARDS for mesa and vdpauinfo is ok, vlc use the card for decode.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Gentoo had an issue with this also.  Their solution was to freeze x11-libs/pango at 1.42.xx.  pango 1.44 was prompted by a security issue in 1.42.xx, but the fixes have been backported to 1.42.xx.  It's doubtful that a patch is forthcoming for pangox-compat because it is deprecated, indeed no fix is currently available, rather the packages that depend upon it hopefully will drop that dependency.  In my case the only package was celestia, which depends upon it indirectly due to a dependency on gtkglext which in turn depends upon pangox-compat.  Looking deeper I see that celestia-9999 has dropped that dependency, so I'll try fixing it that way or just do without until a better fix comes along.

If you absolutely, positively must have pangox-compat you can make it work (with a fair amount of work).  I did this before discovering all the above.  Not for the faint of heart, but here's the details.

Mask the pango-1.44.7 package:


Then grab the pango-1.42.4-r2 ebuild: https://raw.githubusercontent.com/gentoo/gentoo/master/x11-libs/pango/pango-1.42.4-r2.ebuild

and put it in your local repo.

Then copy the following folders from meta-repo to your local repo:


Then change the dependency on x11-libs/pango in the following files in your local repo to >x11-libs/pango-1.41.0:

emerge -C gtkspell pangomm pygtk libgnomecanvas libgnomeui librsvg gtk+ vte
emerge -av pango
emerge -av gtkspell pangomm pygtk libgnomecanvas libgnomeui librsvg gtk+ vte

You may not have all of the above packages, or you may have additional packages depending on pango-1.44.7, you'll have to play that by ear.

Almost anything else would be better, but if you must have it, that will work.

Edit: celestia-9999 worked!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...