public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/fontforge/
Date: Fri, 11 Mar 2022 00:41:30 +0000 (UTC)	[thread overview]
Message-ID: <1646959273.70c8abad51fa5b2f9e38f2efb45f8e78bc66b8d8.sam@gentoo> (raw)

commit:     70c8abad51fa5b2f9e38f2efb45f8e78bc66b8d8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 00:06:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 00:41:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c8abad

media-gfx/fontforge: add 20220308

Closes: https://bugs.gentoo.org/792639
Closes: https://bugs.gentoo.org/786309
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/fontforge/Manifest                  |   1 +
 media-gfx/fontforge/fontforge-20220308.ebuild | 110 ++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest
index 11eaed591734..7544371e98cd 100644
--- a/media-gfx/fontforge/Manifest
+++ b/media-gfx/fontforge/Manifest
@@ -1 +1,2 @@
 DIST fontforge-20201107.tar.xz 14163424 BLAKE2B 8ce9148eef6e5b7206ab5c70310ff36fac67c392117e3c0b28060803a54306bf21c179b62b98734e11253739eac29e2ea8bcf3014c09432bb3a0b2b0f3ec631a SHA512 cf9666395405ab02943f0160959f04251bd2a80e279a8f60431089ad19a4c5a232efd42097050ed9f6c1fb39d01488176262949fd81f5f0960fe853b497437dc
+DIST fontforge-20220308.tar.xz 13719032 BLAKE2B 66939a77014b086b95ea21c3af2a2c910c19ebba000d50e514000667a6b193f5a90fc55b6046793811cac3a7330c479973746ac09041f21b0237047105f4d305 SHA512 9975cffec8aa47bcb8c22405bea544cd263dc939b253e8fba2fbaa3b90a60e05b98eaf58365db8ae854d1fff8e641866a7e2e027003ae03a77104d6650dafb6c

diff --git a/media-gfx/fontforge/fontforge-20220308.ebuild b/media-gfx/fontforge/fontforge-20220308.ebuild
new file mode 100644
index 000000000000..399f51098dac
--- /dev/null
+++ b/media-gfx/fontforge/fontforge-20220308.ebuild
@@ -0,0 +1,110 @@
+# Copyright 2004-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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}/fontforge-${PV}.tar.xz"
+
+LICENSE="BSD GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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:0= )
+	jpeg? ( virtual/jpeg:0 )
+	png? ( media-libs/libpng:0= )
+	tiff? ( media-libs/tiff:0= )
+	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:0=
+			x11-libs/libXi:0=
+		)
+	)
+	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
+)
+
+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	other threads:[~2022-03-11  0:41 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11  0:41 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07  2:52 [gentoo-commits] repo/gentoo:master commit in: media-gfx/fontforge/ Sam James
2024-06-14  1:50 Sam James
2024-06-11 17:18 Sam James
2024-06-11 17:18 Sam James
2024-06-11 17:18 Sam James
2024-06-11 16:57 Sam James
2024-06-11 16:54 Sam James
2024-06-11 16:54 Sam James
2024-05-03 11:22 Sam James
2024-05-03 11:20 Sam James
2023-06-26 17:15 David Seifert
2023-03-04 14:19 Arthur Zamarin
2023-02-26 19:30 Sam James
2023-02-24 10:01 Sam James
2023-02-24  9:21 Sam James
2023-02-24  9:21 Sam James
2023-02-24  9:21 Sam James
2023-02-24  9:21 Sam James
2023-02-24  9:21 Sam James
2023-01-13 11:10 Sam James
2022-12-18  8:32 Sam James
2022-08-26 15:40 Arthur Zamarin
2022-08-16 18:51 Arthur Zamarin
2022-08-12 10:49 Agostino Sarubbo
2022-08-12 10:32 Agostino Sarubbo
2022-08-10  8:04 Arthur Zamarin
2022-08-09 18:31 Arthur Zamarin
2022-08-09 17:58 Arthur Zamarin
2022-08-09 17:21 Arthur Zamarin
2022-08-03  3:00 Sam James
2022-05-17 12:48 WANG Xuerui
2021-11-22  9:44 Sam James
2021-09-26 22:28 James Le Cuirot
2021-03-28 14:26 Sam James
2021-03-25 21:29 Sam James
2021-03-25 18:12 Agostino Sarubbo
2021-03-25 17:52 Sergei Trofimovich
2021-03-24 19:42 Sam James
2021-03-22  0:10 Sam James
2021-03-22  0:10 Sam James
2021-03-22  0:10 Sam James
2021-01-06 14:07 Fabian Groffen
2020-11-16  2:44 Sam James
2020-11-10 20:42 Mike Gilbert
2020-10-14 21:41 Mike Gilbert
2020-05-13 23:50 Mike Gilbert
2020-05-13 10:06 Agostino Sarubbo
2020-04-30 14:38 Agostino Sarubbo
2020-04-28 19:23 Mart Raudsepp
2020-04-27 17:08 Sergei Trofimovich
2020-04-25  4:10 Mike Gilbert
2020-04-24 21:48 Sergei Trofimovich
2020-04-24  6:47 Agostino Sarubbo
2020-04-23 11:15 Agostino Sarubbo
2020-04-23 10:41 Agostino Sarubbo
2020-04-23 10:09 Agostino Sarubbo
2020-04-06 17:54 Sergei Trofimovich
2020-03-31 17:51 Mart Raudsepp
2020-03-30 20:58 Mike Gilbert
2020-03-29 18:15 Mike Gilbert
2020-03-22 10:30 Agostino Sarubbo
2020-03-20 11:30 Agostino Sarubbo
2020-03-20 11:29 Agostino Sarubbo
2020-03-20 11:28 Agostino Sarubbo
2020-03-20 11:27 Agostino Sarubbo
2020-03-20 11:14 Agostino Sarubbo
2020-03-20  9:04 Agostino Sarubbo
2020-03-20  8:59 Agostino Sarubbo
2020-02-10 11:54 Michał Górny
2020-01-27 22:02 Mike Gilbert
2019-03-25 18:48 Mike Gilbert
2019-03-25 14:33 Mike Gilbert
2019-03-24 19:11 Mike Gilbert
2019-03-23 19:51 Mike Gilbert
2019-03-23 19:41 Mike Gilbert
2019-03-23 13:58 Mike Gilbert
2019-03-23 13:16 Mike Gilbert
2018-07-28  0:53 Mikle Kolyada
2018-07-11 13:29 Mikle Kolyada
2018-07-02 18:27 Markus Meier
2018-06-19 17:29 Tobias Klausmann
2018-06-16 19:32 Andreas Hüttel
2018-05-31 20:48 Sergei Trofimovich
2018-05-31  8:13 Sergei Trofimovich
2018-05-29 16:08 Mikle Kolyada
2018-05-29 11:17 Thomas Deutschmann
2018-05-28 20:40 Mart Raudsepp
2018-03-28 19:09 Matt Turner
2018-02-02 20:36 Mike Gilbert
2018-01-28  4:34 Mike Frysinger
2018-01-20 17:21 Mike Gilbert
2018-01-18 19:03 Markus Meier
2017-12-31 21:37 Sergei Trofimovich
2017-11-11 18:14 Mike Gilbert
2017-11-11 18:14 Mike Gilbert
2017-11-11 17:51 Mike Gilbert
2017-11-11 14:52 Mike Gilbert
2017-11-08 12:51 Tobias Klausmann
2017-10-28 23:36 Sergei Trofimovich
2017-10-26 21:47 Sergei Trofimovich
2017-10-26 21:32 Sergei Trofimovich
2017-10-26 19:12 Sergei Trofimovich
2017-10-26 17:38 Thomas Deutschmann
2017-10-25 23:37 Manuel Rüger
2017-09-19 16:22 Mike Gilbert
2017-09-06 19:40 Mike Gilbert
2017-08-20  1:59 Mike Gilbert
2017-08-20  1:41 Mike Gilbert
2017-08-20  1:41 Mike Gilbert
2017-08-20  1:41 Mike Gilbert
2016-11-20  7:59 Michael Palimaka
2016-11-13  1:29 Mike Gilbert
2016-11-13  0:52 Mike Gilbert
2016-10-05 18:52 Markus Meier
2016-09-29  4:06 Jeroen Roovers
2016-09-21 17:48 Tobias Klausmann
2016-08-03  1:16 Mike Gilbert
2016-08-02 17:54 Mike Gilbert
2016-08-02 17:54 Mike Gilbert
2016-03-16  2:24 Mike Gilbert
2015-12-05  9:11 Jeroen Roovers
2015-11-24 20:38 Markus Meier
2015-11-16 14:19 Agostino Sarubbo
2015-11-13  9:42 Agostino Sarubbo
2015-11-12  9:40 Agostino Sarubbo
2015-11-12  4:38 Mike Gilbert
2015-11-12  4:13 Mike Gilbert
2015-11-11 10:05 Agostino Sarubbo
2015-11-11  8:54 Agostino Sarubbo
2015-08-18  6:19 Jeroen Roovers
2015-08-16 20:35 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646959273.70c8abad51fa5b2f9e38f2efb45f8e78bc66b8d8.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox