1 |
commit: 46af22f0c24778870b6f2a4f52702c1e9a32fe38 |
2 |
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 14 13:32:05 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 15:34:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46af22f0 |
7 |
|
8 |
media-sound/denemo: bump to version 2.3.0 |
9 |
|
10 |
- bump to EAPI=7 |
11 |
- inherit xdg instead of xdg-utils |
12 |
- rename doc USE flag to gtk-doc |
13 |
- add subslot modifier for media-libs/aubio and media-sound/fluidsynth |
14 |
|
15 |
The bug below blocks this update for multilib machines and needs to be |
16 |
merged first! |
17 |
Bug: https://bugs.gentoo.org/691274 |
18 |
|
19 |
Closes: https://bugs.gentoo.org/691920 |
20 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
21 |
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com> |
22 |
Closes: https://github.com/gentoo/gentoo/pull/12704 |
23 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
24 |
|
25 |
media-sound/denemo/Manifest | 1 + |
26 |
media-sound/denemo/denemo-2.3.0.ebuild | 122 +++++++++++++++++++++ |
27 |
...0001-configure.ac-patch-to-find-guile-2.2.patch | 80 ++++++++++++++ |
28 |
3 files changed, 203 insertions(+) |
29 |
|
30 |
diff --git a/media-sound/denemo/Manifest b/media-sound/denemo/Manifest |
31 |
index ea8a1e53296..43707e3a159 100644 |
32 |
--- a/media-sound/denemo/Manifest |
33 |
+++ b/media-sound/denemo/Manifest |
34 |
@@ -1 +1,2 @@ |
35 |
DIST denemo-2.2.0.tar.gz 17032009 BLAKE2B 66732fcdaa5d5119ca2a45e5a8c6829e05092a4f0e18e3c8a991bddaaf863ea05889654af47150650d2c67397afa957de0fc3ce0ada86a22be00ae91d4add993 SHA512 74bef7b888abd86db42cee7ecb404e1b9211f9965207366c99980137194acd2afa6ec8b1c18da8a12fe4c6951d8a1bb873b313f5749ea629bb7eaeedf12368ef |
36 |
+DIST denemo-2.3.0.tar.gz 17322118 BLAKE2B b15d0d7b01b50c903c0f2064198fdf258a84a63965c7ed09e8d146f2c35581bca8f62ee4e212579fe8811099e49dde33e32045b7af6c542d98e9193a6a81bf5b SHA512 dbfbe25e0e6c7bbdb3e96d6a31dab3409937451738644ff199d075d7c647b0c88ee8cb61efb71b03aea72fe80780665871962f0ea1aa152e704040d03833604f |
37 |
|
38 |
diff --git a/media-sound/denemo/denemo-2.3.0.ebuild b/media-sound/denemo/denemo-2.3.0.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000000..6bc0a16e994 |
41 |
--- /dev/null |
42 |
+++ b/media-sound/denemo/denemo-2.3.0.ebuild |
43 |
@@ -0,0 +1,122 @@ |
44 |
+# Copyright 1999-2019 Gentoo Authors |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=7 |
48 |
+inherit autotools xdg |
49 |
+ |
50 |
+DESCRIPTION="A music notation editor" |
51 |
+HOMEPAGE="http://www.denemo.org/" |
52 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="GPL-3+ OFL-1.1" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+ |
58 |
+# configure options currently not used: |
59 |
+# --enable-mem(no) memory debugging: needs Electric fence (efence), which |
60 |
+# is not available in portage. See https://github.com/boundarydevices/efence |
61 |
+# --enable-gtk-doc-pdf(no) doesn't work |
62 |
+IUSE="alsa +aubio debug +evince jack +fluidsynth gtk-doc +gtk3 nls +portaudio |
63 |
+ +portmidi +rubberband static test" |
64 |
+ |
65 |
+RESTRICT="!test? ( test )" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ dev-libs/libxml2:2 |
69 |
+ >=dev-scheme/guile-2:12= |
70 |
+ gnome-base/librsvg:2 |
71 |
+ media-libs/fontconfig:1.0 |
72 |
+ >=media-libs/libsmf-1.3 |
73 |
+ >=media-libs/libsndfile-1.0.28-r1 |
74 |
+ >=media-sound/lilypond-2.19.54[guile2] |
75 |
+ alsa? ( >=media-libs/alsa-lib-1.1.2 ) |
76 |
+ aubio? ( >=media-libs/aubio-0.4.1-r1:= ) |
77 |
+ evince? ( >=app-text/evince-3.22.1-r1:= ) |
78 |
+ fluidsynth? ( >=media-sound/fluidsynth-1.1.6-r1:= ) |
79 |
+ gtk3? ( |
80 |
+ x11-libs/gtk+:3 |
81 |
+ x11-libs/gtksourceview:3.0= |
82 |
+ ) |
83 |
+ !gtk3? ( |
84 |
+ x11-libs/gtk+:2 |
85 |
+ x11-libs/gtksourceview:2.0 |
86 |
+ ) |
87 |
+ jack? ( virtual/jack ) |
88 |
+ portaudio? ( |
89 |
+ >=media-libs/portaudio-19_pre20140130 |
90 |
+ sci-libs/fftw:3.0= |
91 |
+ ) |
92 |
+ portmidi? ( >=media-libs/portmidi-217-r1 ) |
93 |
+ rubberband? ( >=media-libs/rubberband-1.8.1-r1 ) |
94 |
+" |
95 |
+ |
96 |
+DEPEND="${RDEPEND}" |
97 |
+ |
98 |
+BDEPEND=" |
99 |
+ >=dev-util/intltool-0.51.0-r1 |
100 |
+ >=sys-devel/flex-2.6.1 |
101 |
+ virtual/pkgconfig |
102 |
+ virtual/yacc |
103 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 ) |
104 |
+ nls? ( >=sys-devel/gettext-0.19.8.1 ) |
105 |
+" |
106 |
+ |
107 |
+REQUIRED_USE=" |
108 |
+ evince? ( gtk3 ) |
109 |
+" |
110 |
+ |
111 |
+DOCS=( AUTHORS ChangeLog docs/{DESIGN{,.lilypond},GOALS,TODO} NEWS ) |
112 |
+ |
113 |
+PATCHES=( |
114 |
+ "${FILESDIR}/${P}-0001-configure.ac-patch-to-find-guile-2.2.patch" |
115 |
+) |
116 |
+ |
117 |
+src_prepare() { |
118 |
+ sed -e '/^Categories=/s/GNOME\;/GNOME\;GTK\;/' -i pixmaps/denemo.desktop || die |
119 |
+ default |
120 |
+ eautoreconf |
121 |
+} |
122 |
+ |
123 |
+src_configure() { |
124 |
+ myeconfargs=( |
125 |
+ --disable-gtk-doc-pdf |
126 |
+ --disable-installed-tests |
127 |
+ --disable-mem |
128 |
+ --disable-rpath |
129 |
+ --enable-x11 |
130 |
+ $(use_enable alsa) |
131 |
+ $(use_enable aubio) |
132 |
+ # --enable-doc does nothing for itself |
133 |
+ # basic html documentation is always being installed in the |
134 |
+ # /usr/share/denemo/manual directory |
135 |
+ $(use_enable gtk-doc doc) |
136 |
+ $(use_enable gtk-doc gtk-doc) |
137 |
+ $(use_enable gtk-doc gtk-doc-html) |
138 |
+ $(use_enable evince) |
139 |
+ $(use_enable fluidsynth) |
140 |
+ $(use_enable jack) |
141 |
+ $(use_enable nls) |
142 |
+ $(use_enable portaudio) |
143 |
+ $(use_enable portmidi) |
144 |
+ $(use_enable rubberband) |
145 |
+ $(use_enable static) |
146 |
+ $(usex gtk3 --enable-gtk3 --enable-gtk2) |
147 |
+ ) |
148 |
+ econf "${myeconfargs[@]}" |
149 |
+} |
150 |
+ |
151 |
+src_test() { |
152 |
+ # make check fails if used with parallel builds |
153 |
+ emake -j1 check |
154 |
+} |
155 |
+ |
156 |
+src_install() { |
157 |
+ default |
158 |
+ |
159 |
+ # link html documentation installed in /usr/share/denemo/manual |
160 |
+ dodir /usr/share/doc/${PF}/html |
161 |
+ local f |
162 |
+ for f in denemo-manual.html denemo.css images; do |
163 |
+ dosym ../../../denemo/manual/"${f}" /usr/share/doc/${PF}/html/"${f}" |
164 |
+ done |
165 |
+} |
166 |
|
167 |
diff --git a/media-sound/denemo/files/denemo-2.3.0-0001-configure.ac-patch-to-find-guile-2.2.patch b/media-sound/denemo/files/denemo-2.3.0-0001-configure.ac-patch-to-find-guile-2.2.patch |
168 |
new file mode 100644 |
169 |
index 00000000000..982ccfade86 |
170 |
--- /dev/null |
171 |
+++ b/media-sound/denemo/files/denemo-2.3.0-0001-configure.ac-patch-to-find-guile-2.2.patch |
172 |
@@ -0,0 +1,80 @@ |
173 |
+From 9a515060df9024ef64bce2055fd3f2ceada5efa8 Mon Sep 17 00:00:00 2001 |
174 |
+From: Bernd Waibel <waebbl@×××××.com> |
175 |
+Date: Wed, 14 Aug 2019 13:51:32 +0200 |
176 |
+Subject: [PATCH] configure.ac: patch to find guile-2.2 |
177 |
+ |
178 |
+The patch uses the GUILE_PKG command to find any installed |
179 |
+version of guile instead of explicitly checking for guile-1.8 |
180 |
+and guile-2.0 but missing guile-2.2. |
181 |
+This patch was already provided to upstream with denemo-2.2, but |
182 |
+didn't yet get accepted due to not being able to compile the |
183 |
+Windows version with this patch (cf. http://savannah.gnu.org/bugs/?54821) |
184 |
+ |
185 |
+Signed-off-by: Bernd Waibel <waebbl@×××××.com> |
186 |
+--- |
187 |
+ configure.ac | 41 +++-------------------------------------- |
188 |
+ 1 file changed, 3 insertions(+), 38 deletions(-) |
189 |
+ |
190 |
+diff --git a/configure.ac b/configure.ac |
191 |
+index f85b74e..1fc0af0 100644 |
192 |
+--- a/configure.ac |
193 |
++++ b/configure.ac |
194 |
+@@ -30,7 +30,10 @@ AC_PROG_CXX |
195 |
+ AC_PROG_INSTALL |
196 |
+ AC_PROG_YACC |
197 |
+ AM_PROG_LEX |
198 |
++GUILE_PKG |
199 |
+ GUILE_FLAGS |
200 |
++CFLAGS="$CFLAGS $GUILE_CFLAGS" |
201 |
++LIBS="$LIBS $GUILE_LIBS" |
202 |
+ |
203 |
+ AC_PROG_LIBTOOL |
204 |
+ |
205 |
+@@ -63,44 +66,6 @@ AS_COMPILER_FLAG([-fdiagnostics-color=auto], |
206 |
+ |
207 |
+ AM_CONDITIONAL(ENABLE_GLIB_TEST, [test "x$enable_glibtest" = "xyes"]) |
208 |
+ |
209 |
+-AC_ARG_ENABLE( |
210 |
+- guile_1_8, |
211 |
+- AS_HELP_STRING([--enable-guile_1_8], [use GUILE_1_8 @<:@default=no@:>@]), |
212 |
+- [ |
213 |
+- if test "x$enableval" != "xno"; then |
214 |
+- useguile_1_8=yes |
215 |
+- PKG_CHECK_MODULES(GUILE_1_8, guile-1.8 >= 1.8) |
216 |
+- LIBS="$LIBS $GUILE_1_8_LIBS" |
217 |
+- CFLAGS="$CFLAGS $GUILE_1_8_CFLAGS" |
218 |
+- fi |
219 |
+- ], [ useguile_1_8=no ]) |
220 |
+- |
221 |
+-AC_ARG_ENABLE( |
222 |
+- guile_2_0, |
223 |
+- AS_HELP_STRING([--enable-guile_2_0], [use GUILE_2_0 @<:@default=no@:>@]), |
224 |
+- [ |
225 |
+- if test "x$enableval" != "xno"; then |
226 |
+- useguile_2_0=yes |
227 |
+- PKG_CHECK_MODULES(GUILE_2, guile-2.0 >= 2.0) |
228 |
+- LIBS="$LIBS $GUILE_2_LIBS" |
229 |
+- CFLAGS="$CFLAGS $GUILE_2_CFLAGS" |
230 |
+- fi |
231 |
+- ], [ useguile_2_0=no ]) |
232 |
+- |
233 |
+-if [test "x$useguile_1_8" = "xno"] && [test "x$useguile_2_0" = "xno"]; then |
234 |
+- PKG_CHECK_MODULES([GUILE_2], [guile-2.0], useguile_2_0=yes, useguile_2_0=no) |
235 |
+- LIBS="$LIBS $GUILE_2_LIBS" |
236 |
+- CFLAGS="$CFLAGS $GUILE_2_CFLAGS" |
237 |
+- if test "x$useguile_2_0" = "xno"; then |
238 |
+- PKG_CHECK_MODULES(GUILE_1_8, guile-1.8 >= 1.8) |
239 |
+- LIBS="$LIBS $GUILE_1_8_LIBS" |
240 |
+- CFLAGS="$CFLAGS $GUILE_1_8_CFLAGS" |
241 |
+- useguile_1_8=yes |
242 |
+- else |
243 |
+- useguile_2_0=yes |
244 |
+- fi |
245 |
+-fi |
246 |
+- |
247 |
+ PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.30]) |
248 |
+ CFLAGS="$CFLAGS $GLIB_CFLAGS" |
249 |
+ LIBS="$LIBS $GLIB_LIBS" |
250 |
+-- |
251 |
+2.22.0 |
252 |
+ |