mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-libs/pango: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
DIST pango-1.42.4-patchset.tar.xz 6040 BLAKE2B ec3f1a6a4de30e0864e7f0bf0950cb7a7b4bada8c3db496a8e5b1e770f221ae72b43167178445ea9cd0d6b88e51d2af49e7fdf27b2e792997fe7c37e55d429c1 SHA512 b7654c3493931e3c6d3cbd40ee49c5cbebaf403954bae75dea80e9f03e12dd5082548aff6a9e778821b8f935e227a7efaad4c1b980fa108e7258042221cadfc1
|
||||
DIST pango-1.42.4.tar.xz 833876 BLAKE2B 7de1094a29750b9e59ea1e5c92644fa5d6b835828d027963a53cce3f204ee1ea0042ec492e209de9136f05ca131ccda959bc477d4f6e9c72e5f620ddf4235f26 SHA512 993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc
|
||||
DIST pango-1.50.7.tar.xz 4294752 BLAKE2B 049b7c09f2ec35ca229eadcd146513d2b292fac8c2296a1635f32c1e21a2ff14979c4ce4a88f966d2d85dad55e356f089c09e00062d06373f7d0760871333046 SHA512 4d754ed753fc34074c2a8751459406af7eb1eccb227c6158287f7e2921614d918cae47d078d4a2b4c098b641e40274e81bf1ec6b6a1b147efd550626665767d3
|
||||
DIST pango-1.50.8.tar.xz 4298760 BLAKE2B 76531815c5b472823b62e0c7a44d4a6c8cf38d587527cceff46e9e7ad302c53abd5827ed4242db2f754761928632b986517ca2814a1ddb9501b2832bbadb3116 SHA512 81821e5837d5fb78a07ac8f8e360de9a9bf9b2418a3e0654f80ee3dce7f98325ea2483cc7c1d1db4a662886a1244530515d83480f4c3bc0510788a9bbbae2f91
|
||||
DIST pango-1.50.9.tar.xz 4262208 BLAKE2B 13495015a7b22fb33d6c06e2fd2f325f30a80ee88a9ae7306aea477bc0551762ef20b3ebb4d8c4a45e791f25e675264a1d1973b703e131b4caab42369e4bd293 SHA512 f108274174c0ff5eabedddd8a3ed23ba124c85b72dbc9c003fee388fe8775deb0946ad3dfd7c96e70a30268cbd390e29c4c184ff30300d99add70ba0ead59b3e
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
https://gitlab.gnome.org/GNOME/pango/-/commit/0226bdd9c223f5651b6657a14cebc900bbac4b19
|
||||
https://bugs.gentoo.org/836317
|
||||
|
||||
Fixes tests with Harfbuzz 4.0.0 ish.
|
||||
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
Date: Fri, 10 Jun 2022 08:00:22 -0400
|
||||
Subject: [PATCH] Update tests to pass on F36
|
||||
|
||||
Rounding differences are our downfall :(
|
||||
--- a/tests/layouts/valid-14.layout
|
||||
+++ b/tests/layouts/valid-14.layout
|
||||
@@ -25,7 +25,7 @@
|
||||
"is-ellipsized" : true,
|
||||
"unknown-glyphs" : 1,
|
||||
"width" : 161792,
|
||||
- "height" : 20480,
|
||||
+ "height" : 21047,
|
||||
"log-attrs" : [
|
||||
{
|
||||
"char-break" : true,
|
||||
@@ -261,7 +261,7 @@
|
||||
]
|
||||
},
|
||||
"flags" : 0,
|
||||
- "y-offset" : 0,
|
||||
+ "y-offset" : 567,
|
||||
"start-x-offset" : 0,
|
||||
"end-x-offset" : 0,
|
||||
"glyphs" : [
|
||||
@@ -360,7 +360,7 @@
|
||||
]
|
||||
},
|
||||
"flags" : 0,
|
||||
- "y-offset" : 0,
|
||||
+ "y-offset" : 337,
|
||||
"start-x-offset" : 0,
|
||||
"end-x-offset" : 0,
|
||||
"glyphs" : [
|
||||
--- a/tests/layouts/valid-20.layout
|
||||
+++ b/tests/layouts/valid-20.layout
|
||||
@@ -40,7 +40,7 @@
|
||||
"is-wrapped" : false,
|
||||
"is-ellipsized" : false,
|
||||
"unknown-glyphs" : 0,
|
||||
- "width" : 67584,
|
||||
+ "width" : 76800,
|
||||
"height" : 25600,
|
||||
"log-attrs" : [
|
||||
{
|
||||
@@ -138,7 +138,7 @@
|
||||
"glyphs" : [
|
||||
{
|
||||
"glyph" : 244,
|
||||
- "width" : 15360,
|
||||
+ "width" : 18432,
|
||||
"x-offset" : 14764,
|
||||
"y-offset" : 3845,
|
||||
"is-cluster-start" : true,
|
||||
@@ -146,7 +146,7 @@
|
||||
},
|
||||
{
|
||||
"glyph" : 272,
|
||||
- "width" : 15360,
|
||||
+ "width" : 18432,
|
||||
"x-offset" : 14764,
|
||||
"y-offset" : 4280,
|
||||
"is-cluster-start" : true,
|
||||
@@ -154,7 +154,7 @@
|
||||
},
|
||||
{
|
||||
"glyph" : 273,
|
||||
- "width" : 15360,
|
||||
+ "width" : 18432,
|
||||
"x-offset" : 14764,
|
||||
"y-offset" : 3507,
|
||||
"is-cluster-start" : true,
|
||||
GitLab
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic gnome2-utils meson-multilib xdg
|
||||
|
||||
DESCRIPTION="Internationalized text layout and rendering library"
|
||||
HOMEPAGE="https://www.pango.org/ https://gitlab.gnome.org/GNOME/pango"
|
||||
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/pango/$(ver_cut 1-2)/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
IUSE="debug +introspection sysprof test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.62.2:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/fribidi-1.0.6[${MULTILIB_USEDEP}]
|
||||
>=media-libs/harfbuzz-2.6.0:=[glib(+),introspection?,truetype(+),${MULTILIB_USEDEP}]
|
||||
>=media-libs/fontconfig-2.13.0:1.0=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/cairo-1.12.10:=[X?,${MULTILIB_USEDEP}]
|
||||
>=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
||||
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
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
test? ( media-fonts/cantarell )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-harfbuzz-4.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
gnome2_environment_reset
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
-Dgtk_doc=false # we ship pregenerated docs
|
||||
$(meson_native_use_feature introspection)
|
||||
-Dinstall-tests=false
|
||||
-Dfontconfig=enabled
|
||||
$(meson_feature sysprof)
|
||||
-Dlibthai=disabled
|
||||
-Dcairo=enabled
|
||||
$(meson_feature X xft)
|
||||
-Dfreetype=enabled
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
insinto /usr/share/gtk-doc/html
|
||||
# This will install PangoXft API docs regardless of USE=-X, but this is intentional
|
||||
doins -r "${S}"/docs/Pango*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if has_version 'media-libs/freetype[-harfbuzz]' ; then
|
||||
ewarn "media-libs/freetype is installed without harfbuzz support. This may"
|
||||
ewarn "lead to minor font rendering problems, see bug 712374."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user