commit: 590bcfe25fb7735ad02f8cc142567defbae4f604 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Sep 9 23:32:13 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Sep 9 23:32:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590bcfe2
x11-libs/pango: add 1.57.0 I can't see any indication that pango (at least now) follows the odd-even convention as GNOME and GNOME-adjacent projects often do, so 1.57.0 indeed seems to be a stable release, not a development one. Upstream don't do branches for older releases either. Closes: https://bugs.gentoo.org/960222 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-libs/pango/Manifest | 1 + x11-libs/pango/pango-1.57.0.ebuild | 96 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest index ae686586f79d..6ca20013c7b9 100644 --- a/x11-libs/pango/Manifest +++ b/x11-libs/pango/Manifest @@ -2,3 +2,4 @@ DIST pango-1.52.2.tar.xz 1963588 BLAKE2B 9367703addcc6805fc14f0c0184d9d1b4093b89 DIST pango-1.54.0.tar.xz 1963180 BLAKE2B 92c389ab3f21631c245575e30804ffee6fef7b60bc6acdf08159aa325d878cf335203267720aec9143ea2a4e590578424cd64011f73da22e1b0beca85e85a276 SHA512 b08792a811e033b2dc9ae78278ea522fad1064de3a4d33460271eb0502613ee21d2c82349f8e7d8f59d59e0c020b7a3a8efa194572e16e2e78db422956fd97ea DIST pango-1.56.3.tar.xz 1883584 BLAKE2B 02b12409a0d16090ebde13e6d92b2053468e32b4b97eb0f758e05ea2ffc44141367b77cef7bb2b701785a4f9f9071d06e47a6d4974e2aa5839571fd0de19efc3 SHA512 adb5aa66ea0c45f7bb112867a77f25d31d39bbb18fd8d41df0c1fd329714def874aa3cb8a49847561a75b0824c2abf8ce09a610d088e88d7de015c36a1536ac0 DIST pango-1.56.4.tar.xz 1883988 BLAKE2B 727261844a914af5229379f7a0b41c2cc05df106523189f31112e50ba01a94bf45f17eacfb3e91fe51a2ea1d09132b6021cf51b8a0986ba258e651fc48e3f468 SHA512 19471618a66b68e19786c458387f2bc8027ecbda5aaf29efcc025a99b3a74402765c6c4c6ea2997d8f1219ef7f1bea817e6ca55e494dff24780f5d3f2a6242a2 +DIST pango-1.57.0.tar.xz 2566400 BLAKE2B b74cb272812132c83d3654a0f5b292639556c014adf6b917f3588f242f56804336cf9bf701e6b32469251315e454a50b88216412ba39204ee6c4440f83eaeeaa SHA512 e3d251e0c2d5cb7f2e9d26e675aa2fae0c3cedce9e73b77f92a4abbeff55eaa819811e4c064ca036d3964a3ee4592f596ebfa7c0a760189b9d8c38a5f3a4ea3a diff --git a/x11-libs/pango/pango-1.57.0.ebuild b/x11-libs/pango/pango-1.57.0.ebuild new file mode 100644 index 000000000000..7a5bfa239420 --- /dev/null +++ b/x11-libs/pango/pango-1.57.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome2-utils meson-multilib xdg + +DESCRIPTION="Internationalized text layout and rendering library" +HOMEPAGE="https://www.gtk.org/docs/architecture/pango https://gitlab.gnome.org/GNOME/pango" +SRC_URI="https://download.gnome.org/sources/pango/$(ver_cut 1-2)/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +IUSE="debug examples gtk-doc +introspection sysprof test X" +REQUIRED_USE="gtk-doc? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.82:2[${MULTILIB_USEDEP}] + >=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}] + >=media-libs/harfbuzz-8.4.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}] + >=media-libs/fontconfig-2.17.0:1.0[${MULTILIB_USEDEP}] + >=x11-libs/cairo-1.18.0[X?,${MULTILIB_USEDEP}] + >=media-libs/freetype-2.5.0.1:2[harfbuzz,png,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.83.2:= ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] ) + X? ( x11-base/xorg-proto ) +" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig + dev-python/docutils + gtk-doc? ( dev-util/gi-docgen ) + test? ( media-fonts/cantarell ) +" + +src_prepare() { + default + xdg_environment_reset + gnome2_environment_reset + + # get rid of a win32 example + rm examples/pangowin32tobmp.c || die + + # Skip broken test: https://gitlab.gnome.org/GNOME/pango/-/issues/677 + rm tests/layouts/valid-20.layout || die + + # Often breaks w/ new harfbuzz (bug #960222) + sed -i -e '/test-font-data/d' tests/meson.build || die +} + +multilib_src_configure() { + if use debug; then + append-cflags -DPANGO_ENABLE_DEBUG + else + append-cflags -DG_DISABLE_CAST_CHECKS + fi + + local emesonargs=( + # Never use gi-docgen subproject + --wrap-mode nofallback + + $(meson_use gtk-doc documentation) + $(meson_native_use_feature introspection) + -Dman-pages=true + $(meson_use test build-testsuite) + -Dbuild-examples=false + -Dfontconfig=enabled + $(meson_feature sysprof) + -Dlibthai=disabled + -Dcairo=enabled + $(meson_feature X xft) + -Dfreetype=enabled + ) + meson_src_configure +} + +multilib_src_install_all() { + if use examples; then + dodoc -r examples + fi + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/Pango* "${ED}"/usr/share/gtk-doc/html/ || die + fi +}
