-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update pango-1.49 to 1.54 (plus deps)
Starting with the crashes observed in inkscapes' text widget, pango ('shaping engine' for multi-language text) turned out to be the major suspect. Updating from pango 1.49 to 1.54 is doable (the existing high 1.90 version is apparently a preparation for pango-2.0). Checking the dependencies, it is required to update libsigc++-3, fontconfig, and cairo too (more about fontconfig at the end of the message). Problems arise when it comes to updating the corresponding C++ bindings. https://github.com/GNOME/glibmm reads: " glibmm-2.4 and glibmm-2.68 are different parallel-installable ABIs. This file describes glibmm-2.68. " How does this affect the update? Installed is glibmm-2.66.2-0 (which can be updated to 2.66.7, not urgent), and we see libs like /usr/lib/libgiomm-2.4.so.1.3.0, updating to the latest version (glibmm-2.82.0) would yield libs like libgiomm-2.68.so.1.3.0. Looking at download.gnome.org/sources, reveals that _some_ older versions of cairomm and pangomm are still maintained until now, these are the ones that work with the 2.4-ABI, whereas the latest and greatest ones would use the 2.68-ABI. So the C++ bindings used now are cairomm-1.14.5 and pangomm-2.46.4. How to handle the 2.68-ABI shall be decided later (IMHO). Fontconfig This update does not try to apply any of the widespread customizations for the config files found in other distros. It may yield to some issues here (corner-cases)?, I have not observed any, but checking is indeed required (Font-issues tend to draw very long trails in discussions and mailboxes). [pango-crash] https://gitlab.gnome.org/GNOME/pango/-/issues/678 P.S. The Inkscape text issues are gone after the update ...
Showing
6 changed files
with
45 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
#!/usr//bin/env beesh | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION fontconfig-2.12.4-0 | ||
# BEE_VERSION fontconfig-2.15.0-1 | ||
|
||
SRCURL[0]="https://fontconfig.org/release/fontconfig-${PKGVERSION}.tar.gz" | ||
#SRCURL[0]="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${PKGVERSION}.tar.xz" | ||
SRCURL[0]="https://beehive.molgen.mpg.de/5bb3a2829aecb22ae553c39099bd0d6a/fontconfig-2.15.0.tar.xz" | ||
|
||
mee_patch() { | ||
start_cmd rm -fv ${S}/src/fcobjshash.h | ||
} | ||
# PATCHURL+=() | ||
|
||
mee_configure() { | ||
bee_configure \ | ||
--disable-docs | ||
} | ||
# build_in_sourcedir | ||
|
||
mee_install_post() { | ||
ln -vs ${DATADIR}/fontconfig/conf.avail/25-unhint-nonlatin.conf ${D}${SYSCONFDIR}/fonts/conf.d/ | ||
# sourcesubdir_append src | ||
|
||
mkdir -pv ${D}${MANDIR}/man{1,3,5} | ||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
install -v -m644 ${S}/fc-*/*.1 ${D}${MANDIR}/man1 | ||
install -v -m644 ${S}/doc/*.3 ${D}${MANDIR}/man3 | ||
install -v -m644 ${S}/doc/fonts-conf.5 ${D}${MANDIR}/man5 | ||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
mkdir -pv ${D}${DOCDIR}/fontconfig-devel | ||
#mee_configure() { | ||
# bee_configure | ||
#} | ||
|
||
#mee_build() { | ||
# bee_build | ||
#} | ||
|
||
#mee_install() { | ||
# bee_install | ||
#} | ||
|
||
install -v -m644 ${S}/doc/fontconfig-devel/* \ | ||
${D}${DOCDIR}/fontconfig-devel && | ||
install -v -m644 ${S}/doc/*.{pdf,sgml,txt,html} \ | ||
${D}${DOCDIR} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters