Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lilypond/, media-sound/lilypond/files/
Date: Wed, 26 May 2021 10:24:37
Message-Id: 1622024668.532fd8eb6e25bb2cffb263a2a5fb47d176373c5d.fordfrog@gentoo
1 commit: 532fd8eb6e25bb2cffb263a2a5fb47d176373c5d
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 26 10:24:17 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 10:24:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=532fd8eb
7
8 media-sound/lilypond: bump to 2.22.1 & 2.23.2 + py3_10
9
10 Closes: https://bugs.gentoo.org/792036
11 Package-Manager: Portage-3.0.19, Repoman-3.0.3
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-sound/lilypond/Manifest | 2 ++
15 .../lilypond/files/lilypond-2.22.1-fix-font-size.patch | 13 +++++++++++++
16 media-sound/lilypond/lilypond-2.22.0.ebuild | 2 +-
17 .../{lilypond-2.22.0.ebuild => lilypond-2.22.1.ebuild} | 6 +++---
18 media-sound/lilypond/lilypond-2.23.0.ebuild | 2 +-
19 .../{lilypond-9999.ebuild => lilypond-2.23.2.ebuild} | 2 +-
20 media-sound/lilypond/lilypond-9999.ebuild | 2 +-
21 7 files changed, 22 insertions(+), 7 deletions(-)
22
23 diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest
24 index 2e1f1538edc..2a71a9ca0ff 100644
25 --- a/media-sound/lilypond/Manifest
26 +++ b/media-sound/lilypond/Manifest
27 @@ -1,2 +1,4 @@
28 DIST lilypond-2.22.0.tar.gz 18023031 BLAKE2B a7512629be43680c6e6bda1404c9b8e4a9bfb0b65ad565aede9dba983ae8e5fb350e8a53250cd01314b4d032d1bbe7b391bb3acd411dc6665868f4cd04f15011 SHA512 4dcc4da1bd1aa1d10ca802acbe29f2256587cd8e2643651b6d2e42cfce0b9572d0eb1139fbc59cec98ad6b86b86e7a6910becb6be7a4350ee0adfe366daa0a65
29 +DIST lilypond-2.22.1.tar.gz 18033161 BLAKE2B 41bd0159e8e851a3582c35285d301113e6a50c95c7b5adbe8ab1de3cc4e84a0580fe54e2166372b6640ab3d486b48d40edbcf4eacbf211d4fcb4e5d6defae2ff SHA512 dfe159928afd8592769fe9bf940b35e285465c2103707d855e82dba860e817a195c906fa9bda6fdfabce6f5adeaf49111891e14a822bf9cfb70a98312c6a9d1d
30 DIST lilypond-2.23.0.tar.gz 17047610 BLAKE2B 5d19a9936893a37db3ff6de269978d586012b7546fe5f3147e86966f1d521731dd2cf074c90de5b49feff6ee6f5057c90fe6485d7ae9126a8a5810b55d2dc5b2 SHA512 0138338e9e650f1d0d96504cd31d8b191307ae3fcec839162c80b8d233b27a9ff94f5b107aa2318278a874ed14e5e47747211ac4b44839d6749337f06dc12a6d
31 +DIST lilypond-2.23.2.tar.gz 17080861 BLAKE2B e27bde3625454dc070e4aeaa8c857c5e62b3e73fd197ba014805f657210942b3d1ef03d2d75594f63e7cc1838fbcbd40e2b42d14707b6b6eeec02cdd3f346754 SHA512 f5713394d7e79dad585e21690d8ac3c057eebe77113f1f307e8e1e117bccc26bdc5370a144505ebd887e653cee114cb9efcf75ec56b9d0320bbdf79e32498269
32
33 diff --git a/media-sound/lilypond/files/lilypond-2.22.1-fix-font-size.patch b/media-sound/lilypond/files/lilypond-2.22.1-fix-font-size.patch
34 new file mode 100644
35 index 00000000000..ab2bd8e59ae
36 --- /dev/null
37 +++ b/media-sound/lilypond/files/lilypond-2.22.1-fix-font-size.patch
38 @@ -0,0 +1,13 @@
39 +diff --git a/lily/pango-font.cc b/lily/pango-font.cc
40 +index 053ce17..48bddd3 100644
41 +--- a/lily/pango-font.cc
42 ++++ b/lily/pango-font.cc
43 +@@ -382,7 +382,7 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item) const
44 + tail = SCM_CDRLOC (*tail);
45 + }
46 +
47 +- PangoFontDescription *descr = pango_font_describe (pa->font);
48 ++ PangoFontDescription *descr = pango_context_get_font_description (context_);
49 + Real size = pango_font_description_get_size (descr)
50 + / (static_cast<Real> (PANGO_SCALE));
51 + pango_font_description_free (descr);
52
53 diff --git a/media-sound/lilypond/lilypond-2.22.0.ebuild b/media-sound/lilypond/lilypond-2.22.0.ebuild
54 index 4b0263ccad9..60368b53079 100644
55 --- a/media-sound/lilypond/lilypond-2.22.0.ebuild
56 +++ b/media-sound/lilypond/lilypond-2.22.0.ebuild
57 @@ -2,7 +2,7 @@
58 # Distributed under the terms of the GNU General Public License v2
59
60 EAPI=7
61 -PYTHON_COMPAT=( python3_{7,8,9} )
62 +PYTHON_COMPAT=( python3_{7..10} )
63
64 inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
65
66
67 diff --git a/media-sound/lilypond/lilypond-2.22.0.ebuild b/media-sound/lilypond/lilypond-2.22.1.ebuild
68 similarity index 96%
69 copy from media-sound/lilypond/lilypond-2.22.0.ebuild
70 copy to media-sound/lilypond/lilypond-2.22.1.ebuild
71 index 4b0263ccad9..cf3311c16dd 100644
72 --- a/media-sound/lilypond/lilypond-2.22.0.ebuild
73 +++ b/media-sound/lilypond/lilypond-2.22.1.ebuild
74 @@ -2,7 +2,7 @@
75 # Distributed under the terms of the GNU General Public License v2
76
77 EAPI=7
78 -PYTHON_COMPAT=( python3_{7,8,9} )
79 +PYTHON_COMPAT=( python3_{7..10} )
80
81 inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
82
83 @@ -12,7 +12,7 @@ if [[ "${PV}" = "9999" ]]; then
84 else
85 MAIN_VER=$(ver_cut 1-2)
86 SRC_URI="http://lilypond.org/download/sources/v${MAIN_VER}/${P}.tar.gz"
87 - KEYWORDS="amd64 ~arm arm64 ~hppa x86"
88 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
89 fi
90
91 DESCRIPTION="GNU Music Typesetter"
92 @@ -63,7 +63,7 @@ DEPEND="${RDEPEND}
93 RESTRICT="test"
94
95 PATCHES=(
96 - "${FILESDIR}"/${PN}-2.21.1-fix-font-size.patch
97 + "${FILESDIR}"/${P}-fix-font-size.patch
98 )
99
100 DOCS=( DEDICATION HACKING README.md ROADMAP )
101
102 diff --git a/media-sound/lilypond/lilypond-2.23.0.ebuild b/media-sound/lilypond/lilypond-2.23.0.ebuild
103 index de2a548eb65..c82db90488d 100644
104 --- a/media-sound/lilypond/lilypond-2.23.0.ebuild
105 +++ b/media-sound/lilypond/lilypond-2.23.0.ebuild
106 @@ -2,7 +2,7 @@
107 # Distributed under the terms of the GNU General Public License v2
108
109 EAPI=7
110 -PYTHON_COMPAT=( python3_{7,8,9} )
111 +PYTHON_COMPAT=( python3_{7..10} )
112
113 inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
114
115
116 diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-2.23.2.ebuild
117 similarity index 98%
118 copy from media-sound/lilypond/lilypond-9999.ebuild
119 copy to media-sound/lilypond/lilypond-2.23.2.ebuild
120 index 24d67598c44..fea5dc370d4 100644
121 --- a/media-sound/lilypond/lilypond-9999.ebuild
122 +++ b/media-sound/lilypond/lilypond-2.23.2.ebuild
123 @@ -2,7 +2,7 @@
124 # Distributed under the terms of the GNU General Public License v2
125
126 EAPI=7
127 -PYTHON_COMPAT=( python3_{7,8,9} )
128 +PYTHON_COMPAT=( python3_{7..10} )
129
130 inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils
131
132
133 diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild
134 index 24d67598c44..fea5dc370d4 100644
135 --- a/media-sound/lilypond/lilypond-9999.ebuild
136 +++ b/media-sound/lilypond/lilypond-9999.ebuild
137 @@ -2,7 +2,7 @@
138 # Distributed under the terms of the GNU General Public License v2
139
140 EAPI=7
141 -PYTHON_COMPAT=( python3_{7,8,9} )
142 +PYTHON_COMPAT=( python3_{7..10} )
143
144 inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils