From fcaa927cebf1bc3db1404487e3fa7757a8e1eb99 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 24 Feb 2022 02:18:06 +0100 Subject: media-sound/lilypond: add free temporary font description patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/833864 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Maciej Barć --- .../lilypond/files/lilypond-2.22.1-free_font.patch | 14 ++ media-sound/lilypond/lilypond-2.22.1-r1.ebuild | 144 +++++++++++++++++++++ media-sound/lilypond/lilypond-2.22.1.ebuild | 143 -------------------- media-sound/lilypond/lilypond-2.23.0-r1.ebuild | 139 ++++++++++++++++++++ media-sound/lilypond/lilypond-2.23.0.ebuild | 138 -------------------- media-sound/lilypond/lilypond-2.23.2-r1.ebuild | 139 ++++++++++++++++++++ media-sound/lilypond/lilypond-2.23.2.ebuild | 138 -------------------- media-sound/lilypond/lilypond-9999.ebuild | 1 + 8 files changed, 437 insertions(+), 419 deletions(-) create mode 100644 media-sound/lilypond/files/lilypond-2.22.1-free_font.patch create mode 100644 media-sound/lilypond/lilypond-2.22.1-r1.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.22.1.ebuild create mode 100644 media-sound/lilypond/lilypond-2.23.0-r1.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.23.0.ebuild create mode 100644 media-sound/lilypond/lilypond-2.23.2-r1.ebuild delete mode 100644 media-sound/lilypond/lilypond-2.23.2.ebuild (limited to 'media-sound') diff --git a/media-sound/lilypond/files/lilypond-2.22.1-free_font.patch b/media-sound/lilypond/files/lilypond-2.22.1-free_font.patch new file mode 100644 index 000000000000..2d27291551d4 --- /dev/null +++ b/media-sound/lilypond/files/lilypond-2.22.1-free_font.patch @@ -0,0 +1,14 @@ +Revert "Pango_font: Free temporary font description" +This reverts commit 102bed8b5a6332f2021a284bd5a937a2603fb327. +diff --git a/lily/pango-font.cc b/lily/pango-font.cc +index 053ce17143..1a63b18338 100644 +--- a/lily/pango-font.cc ++++ b/lily/pango-font.cc +@@ -385,7 +385,6 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item) const + PangoFontDescription *descr = pango_font_describe (pa->font); + Real size = pango_font_description_get_size (descr) + / (static_cast (PANGO_SCALE)); +- pango_font_description_free (descr); + + if (ps_name_str0.empty ()) + warning (_f ("no PostScript font name for font `%s'", file_name)); diff --git a/media-sound/lilypond/lilypond-2.22.1-r1.ebuild b/media-sound/lilypond/lilypond-2.22.1-r1.ebuild new file mode 100644 index 000000000000..48e98a5be8f0 --- /dev/null +++ b/media-sound/lilypond/lilypond-2.22.1-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils + +if [[ "${PV}" = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/lilypond.git" +else + MAIN_VER=$(ver_cut 1-2) + SRC_URI="http://lilypond.org/download/sources/v${MAIN_VER}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +fi + +DESCRIPTION="GNU Music Typesetter" +HOMEPAGE="http://lilypond.org/" + +LICENSE="GPL-3 FDL-1.3" +SLOT="0" +LANG_USE="l10n_ca l10n_cs l10n_de l10n_en l10n_fr l10n_hu l10n_it l10n_ja l10n_nl l10n_pt l10n_zh" +IUSE="debug doc emacs guile2 profile vim-syntax ${LANG_USE}" +unset LANG_USE +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND=" + dev-texlive/texlive-metapost + sys-apps/texinfo + sys-devel/bison + sys-devel/flex + virtual/pkgconfig + doc? ( app-text/texi2html ) +" +RDEPEND="app-text/ghostscript-gpl + dev-scheme/guile:12=[deprecated,regex] + media-fonts/tex-gyre + media-libs/fontconfig + media-libs/freetype:2 + x11-libs/pango + emacs? ( >=app-editors/emacs-23.1:* ) + guile2? ( >=dev-scheme/guile-2.2:12 ) + !guile2? ( + dev-scheme/guile:12=[deprecated,regex] +