Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/denemo/files: denemo-0.9.6-jack.patch
Date: Sat, 29 Sep 2012 05:07:30
Message-Id: 20120929050714.A25B521601@flycatcher.gentoo.org
1 radhermit 12/09/29 05:07:14
2
3 Added: denemo-0.9.6-jack.patch
4 Log:
5 Add missing header files to fix build with jack enabled (bug #436376 by Dominique Michel).
6
7 (Portage version: 2.2.0_alpha133/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-sound/denemo/files/denemo-0.9.6-jack.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/denemo/files/denemo-0.9.6-jack.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/denemo/files/denemo-0.9.6-jack.patch?rev=1.1&content-type=text/plain
14
15 Index: denemo-0.9.6-jack.patch
16 ===================================================================
17 --- src/jackbackend.h
18 +++ src/jackbackend.h
19 @@ -0,0 +1,23 @@
20 +/*
21 + * jackbackend.h
22 + * JACK audio and MIDI backends.
23 + *
24 + * for Denemo, a gtk+ frontend to GNU Lilypond
25 + * Copyright (C) 2011 Dominic Sacré
26 + *
27 + * This program is free software: you can redistribute it and/or modify
28 + * it under the terms of the GNU General Public License as published by
29 + * the Free Software Foundation, either version 3 of the License, or
30 + * (at your option) any later version.
31 + */
32 +
33 +#ifndef JACKBACKEND_H
34 +#define JACKBACKEND_H
35 +
36 +#include "audiointerface.h"
37 +
38 +extern backend_t jack_audio_backend;
39 +extern backend_t jack_midi_backend;
40 +
41 +
42 +#endif // JACKBACKEND_H
43 --- src/jackutil.h
44 +++ src/jackutil.h
45 @@ -0,0 +1,37 @@
46 +/*
47 + * jackutil.h
48 + * JACK utility functions.
49 + *
50 + * for Denemo, a gtk+ frontend to GNU Lilypond
51 + * Copyright (C) 2011 Dominic Sacré
52 + *
53 + * This program is free software: you can redistribute it and/or modify
54 + * it under the terms of the GNU General Public License as published by
55 + * the Free Software Foundation, either version 3 of the License, or
56 + * (at your option) any later version.
57 + */
58 +
59 +#ifndef JACKUTIL_H
60 +#define JACKUTIL_H
61 +
62 +#include <glib.h>
63 +
64 +/**
65 + * Returns a list of available JACK port names, that is, ports to which our
66 + * own input/output ports can be connected.
67 + *
68 + * If the JACK server is not running or there are no available ports, this
69 + * function returns NULL.
70 + *
71 + * @param midi if TRUE returns MIDI ports, otherwise audio ports.
72 + * @param output if TRUE returns output ports, otherwise input ports.
73 + */
74 +GList *get_jack_ports(gboolean midi, gboolean output);
75 +
76 +/**
77 + * Frees a list returned by get_jack_ports()
78 + */
79 +void free_jack_ports(GList *list);
80 +
81 +
82 +#endif // JACKUTIL_H