diff options
author | Joseph Jezak <josejx@gentoo.org> | 2007-09-08 06:05:01 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2007-09-08 06:05:01 +0000 |
commit | d7b197f4dec615ddcf38e583b69b76a68b64a86f (patch) | |
tree | f5f74d040ed7e4a4e179fb5222557dc4bc630230 /media-sound/trommler | |
parent | Assigning to python-herd, dropped old version. (diff) | |
download | historical-d7b197f4dec615ddcf38e583b69b76a68b64a86f.tar.gz historical-d7b197f4dec615ddcf38e583b69b76a68b64a86f.tar.bz2 historical-d7b197f4dec615ddcf38e583b69b76a68b64a86f.zip |
Added patch for big endian systems, marked ppc stable.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'media-sound/trommler')
-rw-r--r-- | media-sound/trommler/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/trommler/Manifest | 28 | ||||
-rw-r--r-- | media-sound/trommler/files/trommler-be.patch | 33 | ||||
-rw-r--r-- | media-sound/trommler/trommler-3.7.ebuild | 10 |
4 files changed, 62 insertions, 15 deletions
diff --git a/media-sound/trommler/ChangeLog b/media-sound/trommler/ChangeLog index 3e6711f548d8..d65cdfc03c27 100644 --- a/media-sound/trommler/ChangeLog +++ b/media-sound/trommler/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/trommler # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/ChangeLog,v 1.17 2007/08/20 23:35:32 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/ChangeLog,v 1.18 2007/09/08 06:05:00 josejx Exp $ + + 08 Sep 2007; Joseph Jezak <josejx@gentoo.org> +files/trommler-be.patch, + trommler-3.7.ebuild: + Added patch for big endian systems, marked ppc stable. 20 Aug 2007; Markus Ullmann <jokey@gentoo.org> trommler-3.7.ebuild: Stable on x86 wrt bug #189143 diff --git a/media-sound/trommler/Manifest b/media-sound/trommler/Manifest index 870575ec03c7..99fb4d96e70a 100644 --- a/media-sound/trommler/Manifest +++ b/media-sound/trommler/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX trommler-be.patch 849 RMD160 ea39340734780c608215cc896870fcd5258cf0fb SHA1 ad5fa926cbd4bc0e11cc81437081530a831a5e64 SHA256 169ffa244bdd7fc53ed17074a75a37179f9c32ceb65ea2cd485b1a289ed2e684 +MD5 12b1778ca8e3e3c4e0f2d41fc814864d files/trommler-be.patch 849 +RMD160 ea39340734780c608215cc896870fcd5258cf0fb files/trommler-be.patch 849 +SHA256 169ffa244bdd7fc53ed17074a75a37179f9c32ceb65ea2cd485b1a289ed2e684 files/trommler-be.patch 849 AUX trommler.wrapper 124 RMD160 81134186535dc18671db2a12e6104e651a4f8c6a SHA1 1acb743fc2512dd968d544fadcf0ecc325723468 SHA256 b012e3193fae3d3b621ba9ea165295c485a6572ad7acbf78eb69e6a00bffbb4c MD5 0998d538756ef5970d446668a345c772 files/trommler.wrapper 124 RMD160 81134186535dc18671db2a12e6104e651a4f8c6a files/trommler.wrapper 124 @@ -11,14 +15,14 @@ EBUILD trommler-3.3.ebuild 807 RMD160 b5a4f30208d56322d2217796e7ea34436b533e6b S MD5 32f63857a9592028ccaa2b9886a7a8a8 trommler-3.3.ebuild 807 RMD160 b5a4f30208d56322d2217796e7ea34436b533e6b trommler-3.3.ebuild 807 SHA256 271c04c8d467606848d2d895943d7330aefde50e42cdc9c8da68e287a6993c57 trommler-3.3.ebuild 807 -EBUILD trommler-3.7.ebuild 1128 RMD160 7d0503faf37f123800ea49adcd473549975207ba SHA1 873607cf670db145b5445c50bca078e1e16c02d7 SHA256 801694c383e184d4b45da47ec4c3d399b0c24c7269862b069a757910a00e4983 -MD5 1b4c659309ca884565d496a6d8ee6940 trommler-3.7.ebuild 1128 -RMD160 7d0503faf37f123800ea49adcd473549975207ba trommler-3.7.ebuild 1128 -SHA256 801694c383e184d4b45da47ec4c3d399b0c24c7269862b069a757910a00e4983 trommler-3.7.ebuild 1128 -MISC ChangeLog 1932 RMD160 9b4e72ae73a2ac545a794d1490378180464c9388 SHA1 66f518ff8332116c7214ae16fe533734d358d4cf SHA256 2fd3400550931858fe9aa4e83e33b4ddfd92ea3fc7ebf9d77d637e365bf9a0c2 -MD5 0451b265d04850096518f478f8769b38 ChangeLog 1932 -RMD160 9b4e72ae73a2ac545a794d1490378180464c9388 ChangeLog 1932 -SHA256 2fd3400550931858fe9aa4e83e33b4ddfd92ea3fc7ebf9d77d637e365bf9a0c2 ChangeLog 1932 +EBUILD trommler-3.7.ebuild 1206 RMD160 9538bc399466f4cc841dbdd8d5926901c660b07e SHA1 c8d3b82fd11fcfc4cf72f4dd80087021431eb0e1 SHA256 46eaa4bdaa60f8467d2792e8db9e5099d231e179cb69a5c4e357b25a993862d4 +MD5 d77a857afbaa08493d6aa4a9507da0a3 trommler-3.7.ebuild 1206 +RMD160 9538bc399466f4cc841dbdd8d5926901c660b07e trommler-3.7.ebuild 1206 +SHA256 46eaa4bdaa60f8467d2792e8db9e5099d231e179cb69a5c4e357b25a993862d4 trommler-3.7.ebuild 1206 +MISC ChangeLog 2088 RMD160 1304f5f99b7850e18877ae80190bd1a7836823ab SHA1 d7c262f18a6c57e0e27925bbb8579435e53b6d12 SHA256 2f58c5bb50bf6526113c18732dd4349f4a7999955ba58a3105535894bd80c070 +MD5 c828319a6f0c6b5e0e337fc701adc907 ChangeLog 2088 +RMD160 1304f5f99b7850e18877ae80190bd1a7836823ab ChangeLog 2088 +SHA256 2f58c5bb50bf6526113c18732dd4349f4a7999955ba58a3105535894bd80c070 ChangeLog 2088 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 @@ -30,9 +34,9 @@ MD5 9929da999c0f812bf9f89eebfd58ff20 files/digest-trommler-3.7 238 RMD160 7b39bfd6307f0cf7943ee226712b01dc9d0851d1 files/digest-trommler-3.7 238 SHA256 58a52e65ae3860f486efcb983dcb981cf2cae199df34ed3ace6c887c358e3fed files/digest-trommler-3.7 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.5 (GNU/Linux) +Version: GnuPG v2.0.6 (GNU/Linux) -iD8DBQFGyiVNz974XjDVpbkRAo6LAKCRhYNmreNYhg8oPEExDYP1CHnS6wCcD3Ad -pRK91G29n8RcOkipDeOdQA8= -=ueAO +iD8DBQFG4jvOcsIHjyDViGQRAvgdAJ4smVjUAvb8KKxSXc8ckZN5/rjf+gCgpS7C +xOemu+CHsL7oOEP+ts0DQvo= +=npc/ -----END PGP SIGNATURE----- diff --git a/media-sound/trommler/files/trommler-be.patch b/media-sound/trommler/files/trommler-be.patch new file mode 100644 index 000000000000..49316012d059 --- /dev/null +++ b/media-sound/trommler/files/trommler-be.patch @@ -0,0 +1,33 @@ +--- drummer.c 2004-05-10 22:20:47.000000000 -0400 ++++ /home/jjezak/Trommler/drummer.c 2007-09-07 22:53:57.000000000 -0400 +@@ -408,6 +408,16 @@ + fseek(fp,0,SEEK_SET); + DRUM_SAMPLE(drum) = calloc(DRUM_LENGTH(drum),sizeof(INT16)); + fread(DRUM_SAMPLE(drum),sizeof(INT16),DRUM_LENGTH(drum),fp); ++ ++ /* Big endian swap fix */ ++#ifdef __BIG_ENDIAN__ ++ int i; ++ INT16 *p = DRUM_SAMPLE(drum); ++ for(i=0; i<DRUM_LENGTH(drum); i++){ ++ *p = (INT16) (*p << 8 | *p >> 8); ++ p++; ++ } ++#endif /* __BIG_ENDIAN */ + fclose(fp); + } + +--- soundcard.c 2004-05-07 18:18:50.000000000 -0400 ++++ /home/jjezak/Trommler/soundcard.c 2007-09-07 22:53:57.000000000 -0400 +@@ -105,7 +105,11 @@ + }Soundcard = + { + -1, ++#ifdef __BIG_ENDIAN__ ++ AFMT_S16_BE, ++#else + AFMT_S16_LE, ++#endif /* __BIG_ENDIAN__ */ + #ifdef MAIN + 1, + #else diff --git a/media-sound/trommler/trommler-3.7.ebuild b/media-sound/trommler/trommler-3.7.ebuild index 0efd18fe2b01..e5190c4e8db2 100644 --- a/media-sound/trommler/trommler-3.7.ebuild +++ b/media-sound/trommler/trommler-3.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.7.ebuild,v 1.6 2007/08/20 23:35:32 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.7.ebuild,v 1.7 2007/09/08 06:05:00 josejx Exp $ inherit eutils toolchain-funcs @@ -12,7 +12,7 @@ SRC_URI="http://muth.org/Robert/${MY_PN}/${P/-/.}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~ppc -sparc x86" +KEYWORDS="~alpha amd64 ppc -sparc x86" IUSE="doc sox" RDEPEND=">=x11-libs/gtk+-2 @@ -22,6 +22,12 @@ DEPEND="${RDEPEND} S="${WORKDIR}"/${MY_PN} +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/trommler-be.patch +} + src_compile() { emake export.h || die "emake export.h failed." emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+-2.0)" \ |