diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-07-29 10:43:08 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-07-29 10:43:08 +0000 |
commit | cc8f22f87e45bfc7507eac7a24d2e0ae4e790927 (patch) | |
tree | ff45a03b2893ba93b7514f038cf347167a6ffac8 /media-sound/horgand | |
parent | Removed version that did not compile, Bug #182585. (diff) | |
download | gentoo-2-cc8f22f87e45bfc7507eac7a24d2e0ae4e790927.tar.gz gentoo-2-cc8f22f87e45bfc7507eac7a24d2e0ae4e790927.tar.bz2 gentoo-2-cc8f22f87e45bfc7507eac7a24d2e0ae4e790927.zip |
Version bump, fixing also bug 135469. Thanks to Jouni Rinne for reporting and Dominique Michel for ebuild ideas and patches.
(Portage version: 2.1.3)
Diffstat (limited to 'media-sound/horgand')
-rw-r--r-- | media-sound/horgand/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/horgand/files/digest-horgand-1.07 | 6 | ||||
-rw-r--r-- | media-sound/horgand/files/horgand-1.07-debug.patch | 84 | ||||
-rw-r--r-- | media-sound/horgand/horgand-1.07.ebuild | 44 |
4 files changed, 142 insertions, 1 deletions
diff --git a/media-sound/horgand/ChangeLog b/media-sound/horgand/ChangeLog index 5b04a922daa2..6f2266dba5f3 100644 --- a/media-sound/horgand/ChangeLog +++ b/media-sound/horgand/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/horgand # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/ChangeLog,v 1.11 2007/02/03 19:09:42 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/ChangeLog,v 1.12 2007/07/29 10:43:08 drac Exp $ + +*horgand-1.07 (29 Jul 2007) + + 29 Jul 2007; Samuli Suominen <drac@gentoo.org> + +files/horgand-1.07-debug.patch, +horgand-1.07.ebuild: + Version bump, fixing also bug 135469. Thanks to Jouni Rinne for reporting + and Dominique Michel for ebuild ideas and patches. 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/media-sound/horgand/files/digest-horgand-1.07 b/media-sound/horgand/files/digest-horgand-1.07 new file mode 100644 index 000000000000..92d1205937bc --- /dev/null +++ b/media-sound/horgand/files/digest-horgand-1.07 @@ -0,0 +1,6 @@ +MD5 320a4696e4289f367eaa32484f791ff9 horgand-1.07.tar.gz 2457076 +RMD160 28dc9bbc180005429b5ad242b7adcedd04f831e2 horgand-1.07.tar.gz 2457076 +SHA256 78e2463854ab0782a7bbc05a7fa4c4bdb494b83992ca3df24b01677b6fcb44ae horgand-1.07.tar.gz 2457076 +MD5 2274141696d8cb163853b92c831fcff1 horgand_1.07-1.diff.gz 16947 +RMD160 41fedffb483f111319340f6b51674e4d7d1acee7 horgand_1.07-1.diff.gz 16947 +SHA256 7e1e9766d7da29d32c62df0828faee15ed39dc42d216e6ff2a144ec3e5bf6f98 horgand_1.07-1.diff.gz 16947 diff --git a/media-sound/horgand/files/horgand-1.07-debug.patch b/media-sound/horgand/files/horgand-1.07-debug.patch new file mode 100644 index 000000000000..9792e7388329 --- /dev/null +++ b/media-sound/horgand/files/horgand-1.07-debug.patch @@ -0,0 +1,84 @@ +--- src/organMIDIIn.C 2004-06-23 17:34:05.000000000 +0200 ++++ src/organMIDIIn.C 2006-09-22 22:38:53.000000000 +0200 +@@ -30,22 +30,26 @@ + { + + int l1; ++ printf("DEBUG: IN 1\n"); + snd_seq_event_t *midievent; +- ++ printf("DEBUG: IN 2\n"); + midievent = NULL; ++ printf("DEBUG: IN 3\n"); + snd_seq_event_input (MidiInPuerto[keIN].midi_in, &midievent); ++ printf("DEBUG: IN 4\n"); + if (midievent == NULL) + return; +- ++ printf("DEBUG: IN noreturn_5\n"); + + switch (midievent->type) + { + case SND_SEQ_EVENT_PITCHBEND: ++ printf("DEBUG: IN switch_1\n"); + pitch = (float) midievent->data.control.value / 8192.0; + break; + + case SND_SEQ_EVENT_PGMCHANGE: +- ++ printf("DEBUG: IN switch_2\n"); + + if ((midievent->data.control.value > 0) + && (midievent->data.control.value < 33)) +@@ -57,6 +61,7 @@ + + case SND_SEQ_EVENT_CONTROLLER: + ++ printf("DEBUG: IN switch_3\n"); + if (midievent->data.control.param == 1) + modulation = (float) midievent->data.control.value / 12.7; + +@@ -85,7 +90,8 @@ + + + case SND_SEQ_EVENT_NOTEON: +- ++ ++ printf("DEBUG: IN switch_4\n"); + if (midievent->data.note.velocity != 0) + { + for (l1 = 0; l1 < POLY; l1++) +@@ -135,6 +141,7 @@ + + case SND_SEQ_EVENT_NOTEOFF: + ++ printf("DEBUG: IN switch_5\n"); + vumvum = vum; + vum = 0; + for (l1 = 0; l1 < POLY; l1++) +--- src/main.C.orig 2006-09-22 22:41:42.000000000 +0200 ++++ src/main.C 2006-09-22 22:43:40.000000000 +0200 +@@ -52,17 +52,22 @@ + void * + thread1 (void *arg) + { ++ printf("DEBUG: thread_1\n"); + pon_realtime(); ++ printf("DEBUG: thread_1 realtime_on\n"); + while (Pexitprogram ==0) hor.midievents(1); ++ printf("DEBUG: thread_1 while ends\n"); + return (0); + }; + + void * + thread2 (void *arg) + { +- ++ printf("DEBUG: thread_2\n"); + pon_realtime(); ++ printf("DEBUG: thread_2 realtime_on\n"); + while (Pexitprogram ==0) hor.Alg1s(hor.PERIOD,0); ++ printf("DEBUG: thread_2 while ends\n"); + return(0); + + }; diff --git a/media-sound/horgand/horgand-1.07.ebuild b/media-sound/horgand/horgand-1.07.ebuild new file mode 100644 index 000000000000..868a59fa700b --- /dev/null +++ b/media-sound/horgand/horgand-1.07.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/horgand-1.07.ebuild,v 1.1 2007/07/29 10:43:08 drac Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="horgand is an opensource software organ." +HOMEPAGE="http://personal.telefonica.terra.es/web/soudfontcombi/" +SRC_URI="http://download.berlios.de/horgand/${P}.tar.gz + mirror://debian/pool/main/h/${PN}/${PN}_${PV}-1.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=x11-libs/fltk-1.1.2 + media-libs/libsndfile + media-libs/alsa-lib + media-sound/jack-audio-connection-kit" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${PN}_${PV}-1.diff + epatch "${FILESDIR}"/${P}-debug.patch +} + +src_compile() { + econf + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags) \ + $(pkg-config --cflags jack) $(pkg-config --cflags sndfile)" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README + dodir /usr/$(get_libdir)/${PN} + mv "${D}"/usr/bin/${PN} "${D}"/usr/$(get_libdir)/${PN}/${PN} + newbin debian/${PN}.wrapper ${PN} + doman man/${PN}.1 + make_desktop_entry ${PN} Horgand +} |