diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-02-24 02:18:06 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-02-24 02:23:49 +0100 |
commit | fcaa927cebf1bc3db1404487e3fa7757a8e1eb99 (patch) | |
tree | 2a83c6e22fe5eae02e106087d7e4b80b9348ecb0 /media-sound/lilypond | |
parent | media-sound/lilypond: remove python3.7 compat (diff) | |
download | gentoo-fcaa927cebf1bc3db1404487e3fa7757a8e1eb99.tar.gz gentoo-fcaa927cebf1bc3db1404487e3fa7757a8e1eb99.tar.bz2 gentoo-fcaa927cebf1bc3db1404487e3fa7757a8e1eb99.zip |
media-sound/lilypond: add free temporary font description patch
Closes: https://bugs.gentoo.org/833864
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'media-sound/lilypond')
-rw-r--r-- | media-sound/lilypond/files/lilypond-2.22.1-free_font.patch | 14 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.22.1-r1.ebuild (renamed from media-sound/lilypond/lilypond-2.22.1.ebuild) | 1 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.23.0-r1.ebuild (renamed from media-sound/lilypond/lilypond-2.23.0.ebuild) | 1 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.23.2-r1.ebuild (renamed from media-sound/lilypond/lilypond-2.23.2.ebuild) | 3 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-9999.ebuild | 1 |
5 files changed, 19 insertions, 1 deletions
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<Real> (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.ebuild b/media-sound/lilypond/lilypond-2.22.1-r1.ebuild index 8757a650991f..48e98a5be8f0 100644 --- a/media-sound/lilypond/lilypond-2.22.1.ebuild +++ b/media-sound/lilypond/lilypond-2.22.1-r1.ebuild @@ -64,6 +64,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${P}-fix-font-size.patch + "${FILESDIR}"/${P}-free_font.patch ) DOCS=( DEDICATION HACKING README.md ROADMAP ) diff --git a/media-sound/lilypond/lilypond-2.23.0.ebuild b/media-sound/lilypond/lilypond-2.23.0-r1.ebuild index 71ce2205451a..e20ef84346b3 100644 --- a/media-sound/lilypond/lilypond-2.23.0.ebuild +++ b/media-sound/lilypond/lilypond-2.23.0-r1.ebuild @@ -59,6 +59,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${P}-fix-font-size.patch + "${FILESDIR}"/${PN}-2.22.1-free_font.patch ) DOCS=( DEDICATION HACKING README.md ROADMAP ) diff --git a/media-sound/lilypond/lilypond-2.23.2.ebuild b/media-sound/lilypond/lilypond-2.23.2-r1.ebuild index adb492fe79e4..267d1a8af4de 100644 --- a/media-sound/lilypond/lilypond-2.23.2.ebuild +++ b/media-sound/lilypond/lilypond-2.23.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -59,6 +59,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-2.23.0-fix-font-size.patch + "${FILESDIR}"/${PN}-2.22.1-free_font.patch ) DOCS=( DEDICATION HACKING README.md ROADMAP ) diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild index ebce02eda789..23bd30635ead 100644 --- a/media-sound/lilypond/lilypond-9999.ebuild +++ b/media-sound/lilypond/lilypond-9999.ebuild @@ -59,6 +59,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/${PN}-2.23.0-fix-font-size.patch + "${FILESDIR}"/${PN}-2.22.1-free_font.patch ) DOCS=( DEDICATION HACKING README.md ROADMAP ) |