Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/harfbuzz/
Date: Wed, 14 Sep 2022 07:32:10
Message-Id: 1663140698.292102f1f011f30515a6fcc20cf04f8305e26670.asturm@gentoo
1 commit: 292102f1f011f30515a6fcc20cf04f8305e26670
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 13 19:32:58 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 14 07:31:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292102f1
7
8 media-libs/harfbuzz: cleanup vulnerable 4.3.0
9
10 Bug: https://bugs.gentoo.org/856049
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/harfbuzz/Manifest | 1 -
14 media-libs/harfbuzz/harfbuzz-4.3.0.ebuild | 98 -------------------------------
15 2 files changed, 99 deletions(-)
16
17 diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
18 index 1022623cb7c2..c6c3f5c44bcb 100644
19 --- a/media-libs/harfbuzz/Manifest
20 +++ b/media-libs/harfbuzz/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST harfbuzz-4.3.0.tar.gz 29200217 BLAKE2B dfe5e3b47e3d89a5ad7c6eaf6d274027a0eb05d1994b922d3124c97270f34353384c0161d8815fb2e379e82c8bdf046843902ba53db38daa4348e99d99255900 SHA512 bccf7cfb06ac18a9a9bf465c30dbfb51d73762a6667b3a069a85f9f597e6d27858e9e39a36cce12e23ec5b002b9e572638bf00c76bdea66545ae67a2bb7915f4
23 DIST harfbuzz-4.4.1.tar.gz 29231251 BLAKE2B 3947084ea2eedd76d64acfc5286ecd14d772ce0507163bc2c54a86579556a8799959ff4d47ea2919ee8472f8fe50d0266d325e3d0a7024f2ae8dcdf48d14f37e SHA512 bbc415d7b74408b1e8d34bfbc19a3cab002471fdd56d71b469c3129f0eae5532d5c7aaae7bb5cc3942fea6008d2ed9e96a7b20b10f4f5e46db63cecfa5c0248e
24 DIST harfbuzz-5.0.1.tar.gz 29291175 BLAKE2B a30512dbceba7eb339164cfe77685e6ccd8338c297a080341236e90bbcf7451eb27d5227422e040d92ff4267f4d97c377a66cdcaff45ea2b1e69de0602047ae0 SHA512 9d05b97dfce248634b6b3ff69fac5cc344f0c8265bf05595b74b0b060049dba082d358184662b8ea045cd51c3d07e7c4a4804513052094566b777c33ec5af89c
25 DIST harfbuzz-5.1.0.tar.gz 29358116 BLAKE2B 006e66e9c76b505214b948c7c8756af38171b85cc865923e4665a4dd3eb14d89d20456ad4490b11208d57d056b087da78e1742141e41f8a22e644f20d3ea4851 SHA512 bdd7c2ca0b6f2a3a3fffbf0324d3c8bfd64a1753314048f6f67f901d4098e90054eeda9155d134f03c5d3ddefb15e087f872d2d87b2ace07bac6625fb43c7f3e
26
27 diff --git a/media-libs/harfbuzz/harfbuzz-4.3.0.ebuild b/media-libs/harfbuzz/harfbuzz-4.3.0.ebuild
28 deleted file mode 100644
29 index 52a16186c47d..000000000000
30 --- a/media-libs/harfbuzz/harfbuzz-4.3.0.ebuild
31 +++ /dev/null
32 @@ -1,98 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -
40 -inherit flag-o-matic meson-multilib python-any-r1 xdg-utils
41 -
42 -DESCRIPTION="An OpenType text shaping engine"
43 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
44 -
45 -if [[ ${PV} = 9999 ]] ; then
46 - EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git"
47 - inherit git-r3
48 -else
49 - SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 -fi
52 -
53 -LICENSE="Old-MIT ISC icu"
54 -# 0.9.18 introduced the harfbuzz-icu split; bug #472416
55 -# 3.0.0 dropped some unstable APIs; bug #813705
56 -SLOT="0/4.0.0"
57 -
58 -IUSE="+cairo debug doc experimental +glib +graphite icu +introspection test +truetype"
59 -RESTRICT="!test? ( test )"
60 -REQUIRED_USE="introspection? ( glib )"
61 -
62 -RDEPEND="
63 - cairo? ( x11-libs/cairo:= )
64 - glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] )
65 - graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
66 - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
67 - introspection? ( >=dev-libs/gobject-introspection-1.34:= )
68 - truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
69 -"
70 -DEPEND="${RDEPEND}
71 - >=dev-libs/gobject-introspection-common-1.34
72 -"
73 -BDEPEND="
74 - ${PYTHON_DEPS}
75 - virtual/pkgconfig
76 - doc? ( dev-util/gtk-doc )
77 - introspection? ( dev-util/glib-utils )
78 -"
79 -
80 -pkg_setup() {
81 - python-any-r1_pkg_setup
82 - if ! use debug ; then
83 - append-cppflags -DHB_NDEBUG
84 - fi
85 -}
86 -
87 -src_prepare() {
88 - default
89 -
90 - xdg_environment_reset
91 -
92 - sed -i \
93 - -e '/tests\/macos\.tests/d' \
94 - test/shape/data/in-house/Makefile.sources \
95 - || die # bug 726120
96 -
97 - # bug 618772
98 - append-cxxflags -std=c++14
99 -
100 - # bug 790359
101 - filter-flags -fexceptions -fthreadsafe-statics
102 -
103 - # bug 762415
104 - local pyscript
105 - for pyscript in $(find -type f -name "*.py") ; do
106 - python_fix_shebang -q "${pyscript}"
107 - done
108 -}
109 -
110 -multilib_src_configure() {
111 - # harfbuzz-gobject only used for introspection, bug #535852
112 - local emesonargs=(
113 - -Dcoretext="disabled"
114 - -Dchafa="disabled"
115 -
116 - $(meson_feature glib)
117 - $(meson_feature graphite graphite2)
118 - $(meson_feature icu)
119 - $(meson_feature introspection gobject)
120 - $(meson_feature test tests)
121 - $(meson_feature truetype freetype)
122 -
123 - $(meson_native_use_feature cairo)
124 - $(meson_native_use_feature doc docs)
125 - $(meson_native_use_feature introspection)
126 -
127 - $(meson_use experimental experimental_api)
128 - )
129 - meson_src_configure
130 -}