summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINODE64 <ffelix@inode64.com>2023-01-18 11:02:07 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-18 12:15:34 +0100
commit5549bc0c928ed79d7126c0a334b3b7c549cde845 (patch)
tree90dfb6820b5fe22d3fb06f80fcaf6491aa675c8c /dev-python/weasyprint
parentvirtual/dist-kernel: Stabilize 5.10.163 amd64 arm64 ppc64 x86, #891151 (diff)
downloadgentoo-5549bc0c928ed79d7126c0a334b3b7c549cde845.tar.gz
gentoo-5549bc0c928ed79d7126c0a334b3b7c549cde845.tar.bz2
gentoo-5549bc0c928ed79d7126c0a334b3b7c549cde845.zip
dev-python/weasyprint: add media-fonts/dejavu RDEP
The package needs media-fonts/dejavu to prevent a coredump if no fonts are installed. ``` $ /usr/bin/weasyprint https://www.google.com google.pdf WARNING: Ignored `overflow-y:scroll` at 1:59, unknown property. WARNING: Ignored `display:inline-box` at 1:330, invalid value. (process:843463): Pango-CRITICAL **: 10:28:18.166: pango_font_describe: assertion 'font != NULL' failed (process:843463): Pango-CRITICAL **: 10:28:18.166: pango_font_description_unset_fields: assertion 'desc != NULL' failed (process:843463): Pango-CRITICAL **: 10:28:18.166: pango_font_description_hash: assertion 'desc != NULL' failed (process:843463): Pango-CRITICAL **: 10:28:18.166: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed Segmentation fault ('core' dumped) ``` Signed-off-by: INODE64 <ffelix@inode64.com> Closes: https://github.com/gentoo/gentoo/pull/29155 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/weasyprint')
-rw-r--r--dev-python/weasyprint/weasyprint-57.1-r1.ebuild (renamed from dev-python/weasyprint/weasyprint-57.1.ebuild)2
-rw-r--r--dev-python/weasyprint/weasyprint-57.2-r1.ebuild (renamed from dev-python/weasyprint/weasyprint-57.2.ebuild)2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-python/weasyprint/weasyprint-57.1.ebuild b/dev-python/weasyprint/weasyprint-57.1-r1.ebuild
index 92ed178dfd3a..df8f1a72c91c 100644
--- a/dev-python/weasyprint/weasyprint-57.1.ebuild
+++ b/dev-python/weasyprint/weasyprint-57.1-r1.ebuild
@@ -29,6 +29,7 @@ RDEPEND="
>=dev-python/pydyf-0.5.0[${PYTHON_USEDEP}]
>=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}]
>=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}]
+ media-fonts/dejavu
x11-libs/pango
"
@@ -39,7 +40,6 @@ BDEPEND="
<app-text/ghostscript-gpl-9.56.0
)
media-fonts/ahem
- media-fonts/dejavu
)
"
diff --git a/dev-python/weasyprint/weasyprint-57.2.ebuild b/dev-python/weasyprint/weasyprint-57.2-r1.ebuild
index 7b1485291755..c9362f1c7799 100644
--- a/dev-python/weasyprint/weasyprint-57.2.ebuild
+++ b/dev-python/weasyprint/weasyprint-57.2-r1.ebuild
@@ -29,6 +29,7 @@ RDEPEND="
>=dev-python/pydyf-0.5.0[${PYTHON_USEDEP}]
>=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}]
>=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}]
+ media-fonts/dejavu
x11-libs/pango
"
@@ -39,7 +40,6 @@ BDEPEND="
<app-text/ghostscript-gpl-9.56.0
)
media-fonts/ahem
- media-fonts/dejavu
)
"