[MacPorts] #74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this scope
MacPorts
noreply at macports.org
Sun May 24 09:51:09 UTC 2026
#74025: harfbuzz-14.2.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
error: 'CTFontManagerCreateFontDescriptorsFromURL' was not declared in this
scope
------------------------+-------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Resolution: | Keywords: ppc leopard
Port: harfbuzz |
------------------------+-------------------------
Comment (by ballapete):
Replying to [comment:3 reneeotten]:
>
> I see a possible problems in your logfile:
>
> 2. {{{:debug:extract get_source_date_epoch: uncommitted changes to
/Volumes/BSD-Linux/MacPorts-Ports/graphics/harfbuzz}}} - you are not using
our Portfile; nobody knows what you changed, so there is little point in
asking for help here.
>
> Other than that I don't know... You could try [https://github.com/macos-
powerpc/powerpc-
ports/blob/a64b78870ed09ed3afa27dfc613472dd427a207d/graphics/harfbuzz/Portfile
this Portfile], which is @barracuda156 his PPC overlay and might contain
fixes specific for PPC/older OSes that are not part of MacPorts.
The differences between that of barracuda156 and mine are:
{{{
--- Portfile.txt 2026-05-24 11:46:58.000000000 +0200
+++ /Volumes/BSD-Linux/MacPorts-Ports/graphics/harfbuzz/Portfile
2026-05-24 08:27:48.000000000 +0200
@@ -5,30 +5,33 @@
PortGroup gobject_introspection 1.0
PortGroup meson 1.0
PortGroup muniversal 1.1
+PortGroup legacysupport 1.1
# Please keep the harfbuzz and harfbuzz-devel ports as similar as
possible.
+github.setup harfbuzz harfbuzz 14.2.0
+checksums rmd160 704f3cebb39e523f93ffe9647c2b49f5b2b79607 \
+ sha256
94017020f96d025bb66ae91574e4cf334bcad23e8175a8a40565b3721bc2eaff \
+ size 19555096
+
+name harfbuzz
+conflicts harfbuzz-devel
set my_name harfbuzz
-github.setup harfbuzz ${my_name} 14.2.0
-conflicts ${my_name}-devel
categories graphics
maintainers {ryandesign @ryandesign} {mascguy @mascguy}
openmaintainer
license MIT
description OpenType text shaping engine
long_description HarfBuzz is an {*}${description}.
homepage https://harfbuzz.github.io
-use_xz yes
-checksums rmd160 704f3cebb39e523f93ffe9647c2b49f5b2b79607 \
- sha256
94017020f96d025bb66ae91574e4cf334bcad23e8175a8a40565b3721bc2eaff \
- size 19555096
-github.tarball_from releases
+github.tarball_from releases
dist_subdir ${my_name}
+use_xz yes
# Disable unexpected download of subprojects
meson.wrap_mode nodownload
-set py_ver 3.14
+set py_ver 3.12
set py_ver_nodot [string map {. {}} ${py_ver}]
depends_build-append \
@@ -83,7 +86,7 @@
# NOTE: lib dep for gobject-introspection added via pg
gobject_introspection
depends_lib-append \
path:lib/pkgconfig/cairo.pc:cairo \
- path:lib/pkgconfig/freetype2.pc:freetype \
+ port:freetype \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:graphite2
@@ -111,8 +114,7 @@
${destroot}${docdir}
}
- # This is broken on 10.5: https://trac.macports.org/ticket/71575
- if {${os.platform} eq "darwin" && ${os.major} > 9} {
+ if {${os.platform} eq "darwin" && ${os.major} >= 9} {
configure.args-append \
-Dcoretext=enabled
} else {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74025#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list