commit:     bd09f86b331b2f4f9c8cea8a0c5a7429af5afbcb
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 20:58:24 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 06:02:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd09f86b

media-gfx/fontforge: drop 20230101

Security cleanup for superseded -rX ebuild, also missing patches to
support py3.12. Fixed version was stabled a year and a half ago.

Bug: https://bugs.gentoo.org/926521
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-gfx/fontforge/fontforge-20230101.ebuild | 110 --------------------------
 1 file changed, 110 deletions(-)

diff --git a/media-gfx/fontforge/fontforge-20230101.ebuild 
b/media-gfx/fontforge/fontforge-20230101.ebuild
deleted file mode 100644
index 024285605af1..000000000000
--- a/media-gfx/fontforge/fontforge-20230101.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 2004-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1 xdg cmake
-
-DESCRIPTION="postscript font editor and converter"
-HOMEPAGE="https://fontforge.org/";
-SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/${P}.tar.xz";
-
-LICENSE="BSD GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="doc truetype-debugger gif gtk jpeg png +python readline test tiff svg 
woff2 X"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-       >=dev-libs/glib-2.67:2
-       dev-libs/libltdl:0
-       dev-libs/libxml2:2=
-       >=media-libs/freetype-2.3.7:2=
-       gif? ( media-libs/giflib:= )
-       jpeg? ( media-libs/libjpeg-turbo:= )
-       png? ( media-libs/libpng:= )
-       tiff? ( media-libs/tiff:= )
-       truetype-debugger? ( 
>=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)] )
-       gtk? ( >=x11-libs/gtk+-3.10:3 )
-       !gtk? (
-               X? (
-                       >=x11-libs/cairo-1.6:0=
-                       >=x11-libs/pango-1.10:0=[X]
-                       x11-libs/libX11:=
-                       x11-libs/libXi:=
-               )
-       )
-       python? ( ${PYTHON_DEPS} )
-       readline? ( sys-libs/readline:0= )
-       woff2? ( media-libs/woff2:0= )
-"
-DEPEND="${RDEPEND}
-       !gtk? ( X? ( x11-base/xorg-proto ) )
-"
-BDEPEND="
-       sys-devel/gettext
-       doc? ( >=dev-python/sphinx-2 )
-       python? ( ${PYTHON_DEPS} )
-       test? ( ${RDEPEND} )
-"
-
-PATCHES=(
-       "${FILESDIR}"/fontforge-doc-no-warn-error.patch
-       "${FILESDIR}"/${PN}-20230101-workaround-broken-translations.patch
-)
-
-pkg_setup() {
-       use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DENABLE_DOCS=$(usex doc ON OFF)
-               -DENABLE_LIBGIF=$(usex gif ON OFF)
-               -DENABLE_LIBJPEG=$(usex jpeg ON OFF)
-               -DENABLE_LIBPNG=$(usex png ON OFF)
-               -DENABLE_LIBREADLINE=$(usex readline ON OFF)
-               -DENABLE_LIBSPIRO=OFF # No package in Gentoo
-               -DENABLE_LIBTIFF=$(usex tiff ON OFF)
-               -DENABLE_MAINTAINER_TOOLS=OFF
-               -DENABLE_PYTHON_EXTENSION=$(usex python ON OFF)
-               -DENABLE_PYTHON_SCRIPTING=$(usex python ON OFF)
-               -DENABLE_TILE_PATH=ON
-               -DENABLE_WOFF2=$(usex woff2 ON OFF)
-       )
-
-       if use gtk || use X; then
-               mycmakeargs+=(
-                       -DENABLE_GUI=ON
-                       # Prefer GTK over X11 if both USE flage are enabled
-                       -DENABLE_X11=$(usex gtk OFF ON)
-               )
-       else
-               mycmakeargs+=( -DENABLE_GUI=OFF )
-       fi
-
-       if use python; then
-               python_setup
-               mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
-       fi
-
-       if use truetype-debugger ; then
-               local ft2="${ESYSROOT}/usr/include/freetype2"
-               local ft2i="${ft2}/internal4fontforge"
-               mycmakeargs+=(
-                       -DENABLE_FREETYPE_DEBUGGER="${ft2}"
-                       
-DFreeTypeSource_INCLUDE_DIRS="${ft2};${ft2i}/include;${ft2i}/include/freetype;${ft2i}/src/truetype"
-               )
-       fi
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-       docompress -x /usr/share/doc/${PF}/html
-       einstalldocs
-       find "${ED}" -name '*.la' -type f -delete || die
-}

Reply via email to