On 8/4/19 3:27 PM, Ken Moffat via blfs-dev wrote:
On Sat, Aug 03, 2019 at 03:25:48AM +0100, Ken Moffat via blfs-dev wrote:
It looks as if pango-1.44.1 breaks pygtk :
in the build -
pango.c: In function '__PangoFontset_class_init':
pango.c:5526:5: error: unknown type name 'PangoFontsetClass'; did you mean
'PangoContextClass'?
5526 | PangoFontsetClass *klass = PANGO_FONTSET_CLASS(gclass);
| ^~~~~~~~~~~~~~~~~
| PangoContextClass
The problem is that in pango-1.44 a lot of things which used to be
in the headers are now in -private headers which do not get
installed (and cannot be installed). And the implementation details
have changed.
A look at the xrefs shows the following mention pygtk -
openbox: if using external dep Obmenu to configure, required
keybinder2: recommended
pycairo - a comment re needing python2 for pygtk
vte2: optional
gimp: recommended
nmap: optional, for zenmap
avahi: optional
I've no idea about keybinder2, but it seems to be python2.
For gimp, it builds if --disable-python is used. Surprisingly, a
lot of gimp users have python2 plugins in the belief that python is
easier than scheme! So, a less than ideal build. I'm pressing on
with that to see how the rest of this build turns out.
I've also posted to gimp-dev.
ĸen
I'd like to start a discussion here on reverting Pango.
As noted in the comments section here, this version of Pango drops
support for bitmap fonts:
https://blogs.gnome.org/mclasen/2019/07/27/more-text-rendering-updates/
This causes terminal emulators to display empty boxes in double-width
spaces, as just one example. In addition, there are countless rendering
bugs here:
https://gitlab.gnome.org/GNOME/pango/issues
The developers are also recommending an unreleased version of Cairo to
fix "rendering issues" in some of those issues. I don't think we want that.
I'm most definitely sure that removing Python support from GIMP is NOT
the way to go. Note that there is a bug here for moving to PyGObject
from PyGTK, but little to no progress:
https://gitlab.gnome.org/GNOME/gimp/issues/339
I propose that we revert Pango to 1.42.x from 1.44.3 because of their
dropping of bitmap font support, recommendation to use an unstable
cairo, problems with PyGTK, and rendering issues.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page