diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-12-31 10:19:19 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-12-31 10:19:19 +0000 |
commit | d1b45c3d3bf89c1959bd1c85cc8176a9b9d7d668 (patch) | |
tree | 0a5f584c47f8e8bd527f6b9892863a8100a3f35c /media-plugins | |
parent | Version bumped. (diff) | |
download | historical-d1b45c3d3bf89c1959bd1c85cc8176a9b9d7d668.tar.gz historical-d1b45c3d3bf89c1959bd1c85cc8176a9b9d7d668.tar.bz2 historical-d1b45c3d3bf89c1959bd1c85cc8176a9b9d7d668.zip |
Add audacious-1.4 build patch from bug #203853
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'media-plugins')
4 files changed, 210 insertions, 14 deletions
diff --git a/media-plugins/audacious-g15-spectrum/ChangeLog b/media-plugins/audacious-g15-spectrum/ChangeLog index 7d85fa7b0d56..b922595a4957 100644 --- a/media-plugins/audacious-g15-spectrum/ChangeLog +++ b/media-plugins/audacious-g15-spectrum/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/audacious-g15-spectrum # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-g15-spectrum/ChangeLog,v 1.4 2007/12/25 14:42:42 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-g15-spectrum/ChangeLog,v 1.5 2007/12/31 10:19:19 jokey Exp $ + + 31 Dec 2007; Markus Ullmann <jokey@gentoo.org> + +files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch, + audacious-g15-spectrum-2.5.2.ebuild: + Add audacious-1.4 build patch from bug #203853 *audacious-g15-spectrum-2.5.2 (25 Dec 2007) diff --git a/media-plugins/audacious-g15-spectrum/Manifest b/media-plugins/audacious-g15-spectrum/Manifest index 12c963dea71d..c853fcd538c2 100644 --- a/media-plugins/audacious-g15-spectrum/Manifest +++ b/media-plugins/audacious-g15-spectrum/Manifest @@ -5,20 +5,24 @@ AUX audacious-g15-spectrum-1.0_pre-audacious-1.3.patch 975 RMD160 cb3dd26ea3ccaa MD5 c00ed034e7cec6c88875993366c5a759 files/audacious-g15-spectrum-1.0_pre-audacious-1.3.patch 975 RMD160 cb3dd26ea3ccaa3165a14078a8da9b97e1725bfe files/audacious-g15-spectrum-1.0_pre-audacious-1.3.patch 975 SHA256 d1496ced831da91952881b3451f51370e65baf30eb0c94e41bf37dc034830c3b files/audacious-g15-spectrum-1.0_pre-audacious-1.3.patch 975 +AUX audacious-g15-spectrum-2.5.2-audacious-1.4.patch 6241 RMD160 ba585c930fa43d9608d21e3590b3cc5a47e47ef9 SHA1 7eb62e426e75d4bbf6d4b7c7d05f91fc10106d8c SHA256 af81edd6730764bcb9612f50e8790268692ba080aeda98ccd98d3a8732285878 +MD5 e529face8f58f753d4af1b8978c8a7c1 files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch 6241 +RMD160 ba585c930fa43d9608d21e3590b3cc5a47e47ef9 files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch 6241 +SHA256 af81edd6730764bcb9612f50e8790268692ba080aeda98ccd98d3a8732285878 files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch 6241 DIST g15daemon-audacious-2.5.2.tar.bz2 234010 RMD160 9effb50b03ed7e4652cdff46dd48a979fce1a1ee SHA1 6c2be4e7c70a30d8270ef8ed989dadd19c66e53e SHA256 be2065b2fded807632e1ca3f0b19de70d8beebf38bad8a88cd9b44e4e8a6f956 DIST g15daemon_audacious_spectrum-1.0pre.tar.bz2 222311 RMD160 1b714dc3ccef503e1b66de12b8b03b0085e0e11d SHA1 b25b92bdf6c99c8984ae1569028c67d3f1405738 SHA256 738ee693da0b7dfdd9bbc337ffe4173a05fda2cac2b8bfde5cc7b098f461eb5b EBUILD audacious-g15-spectrum-1.0_pre.ebuild 1002 RMD160 78934b38c0f0c5e336004a0bb06e4cac36173e2d SHA1 149aaabae034d7e5053d48dfeabaf2b19c3b368e SHA256 bf99da937906d27e80849dd6626ae9fd4529709b5dcf5c07b5462816cd2f6420 MD5 9482833c84a175f4028cf37f41423d72 audacious-g15-spectrum-1.0_pre.ebuild 1002 RMD160 78934b38c0f0c5e336004a0bb06e4cac36173e2d audacious-g15-spectrum-1.0_pre.ebuild 1002 SHA256 bf99da937906d27e80849dd6626ae9fd4529709b5dcf5c07b5462816cd2f6420 audacious-g15-spectrum-1.0_pre.ebuild 1002 -EBUILD audacious-g15-spectrum-2.5.2.ebuild 856 RMD160 a2d32df082b602c082697cea12e53689798841e7 SHA1 f074b1247c94192142ac9d259849c29be287446f SHA256 f0a19cc267426f5249d79821b375cd973afbca21e429d0a84b99aa3212597596 -MD5 17ebe2ba4bc2c0c183b96d9fa95f45d1 audacious-g15-spectrum-2.5.2.ebuild 856 -RMD160 a2d32df082b602c082697cea12e53689798841e7 audacious-g15-spectrum-2.5.2.ebuild 856 -SHA256 f0a19cc267426f5249d79821b375cd973afbca21e429d0a84b99aa3212597596 audacious-g15-spectrum-2.5.2.ebuild 856 -MISC ChangeLog 945 RMD160 9b5675929f364f9c6a36345c7e505fe193ef34bd SHA1 fb1ba6b19fb9a13c6a06a44f593d998967077625 SHA256 dbe7b6bc3a756e8f05f712617d73bb5a3a003fc02da27df02d5a032d0a343801 -MD5 647bc441b7533dae1a24fefb6fc1e37e ChangeLog 945 -RMD160 9b5675929f364f9c6a36345c7e505fe193ef34bd ChangeLog 945 -SHA256 dbe7b6bc3a756e8f05f712617d73bb5a3a003fc02da27df02d5a032d0a343801 ChangeLog 945 +EBUILD audacious-g15-spectrum-2.5.2.ebuild 1001 RMD160 bd506dc4e2926ba9ac6a02912f024bbae899cb1e SHA1 32bfe76215aca53f25e0cfd532ef627a466dc7af SHA256 2b42453ed942e2394e2264cb978bbdb7bafb3f4bc3df4ccb38b5671b62d7068e +MD5 c3bdcc9ee92e30bfb81875c7b389ef9b audacious-g15-spectrum-2.5.2.ebuild 1001 +RMD160 bd506dc4e2926ba9ac6a02912f024bbae899cb1e audacious-g15-spectrum-2.5.2.ebuild 1001 +SHA256 2b42453ed942e2394e2264cb978bbdb7bafb3f4bc3df4ccb38b5671b62d7068e audacious-g15-spectrum-2.5.2.ebuild 1001 +MISC ChangeLog 1142 RMD160 5427a7d6efa141bf9e7a30162f8706447771615a SHA1 873b54764bde5391d5de442173049c5f92ff9d61 SHA256 b7bb15daeac99bb648dfe5600877d548e425fbfcd73bd8eaba42972a8aa044ad +MD5 3072c4296f2d8cb611ef8d11e4fa6e1d ChangeLog 1142 +RMD160 5427a7d6efa141bf9e7a30162f8706447771615a ChangeLog 1142 +SHA256 b7bb15daeac99bb648dfe5600877d548e425fbfcd73bd8eaba42972a8aa044ad ChangeLog 1142 MISC metadata.xml 249 RMD160 f108edee61c95c42d98726b435b75d03cbbd4aac SHA1 48461481dfc5a9d1f5b4726a5e9882a2fb966ede SHA256 1dc990d64e5b42c9b17d7358c9f0af7d26702f575957482d93c8fd12a556cc11 MD5 5c2a70625109d5bd093ae8d0588931f1 metadata.xml 249 RMD160 f108edee61c95c42d98726b435b75d03cbbd4aac metadata.xml 249 @@ -32,7 +36,7 @@ SHA256 f1a5465ab09f6532c425086a01f9681928cdfff43ae2ab9e5cdeee13f3c3b1f1 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) -iEYEARECAAYFAkdxFxMACgkQz974XjDVpbmIagCcCNgGuquga7srmXfL2Ez6KP1B -HagAn1QkDbcPak8ne6wmAY9I1OjyDuPX -=pvqB +iEYEARECAAYFAkd4wjcACgkQz974XjDVpbm93gCgq8HJkYG7LXHALloGy7N8mCg1 +vPIAoNI7D1NZ20wrtycGfoCtMqbSHLya +=H6c1 -----END PGP SIGNATURE----- diff --git a/media-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.ebuild b/media-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.ebuild index 4023a11cf368..ccd9603f8d92 100644 --- a/media-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.ebuild +++ b/media-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.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-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.ebuild,v 1.1 2007/12/25 14:42:42 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-g15-spectrum/audacious-g15-spectrum-2.5.2.ebuild,v 1.2 2007/12/31 10:19:19 jokey Exp $ inherit eutils versionator @@ -24,7 +24,15 @@ DEPEND=">=app-misc/g15daemon-1.9.0 RDEPEND="${DEPEND}" -S="$WORKDIR/${MY_PN}-${MY_PV}" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + if has_version '>=media-sound/audacious-1.4'; then + epatch "${FILESDIR}"/${P}-audacious-1.4.patch + fi +} src_install() { emake DESTDIR="${D}" install || die "emake install failed" diff --git a/media-plugins/audacious-g15-spectrum/files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch b/media-plugins/audacious-g15-spectrum/files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch new file mode 100644 index 000000000000..3c973a533ff5 --- /dev/null +++ b/media-plugins/audacious-g15-spectrum/files/audacious-g15-spectrum-2.5.2-audacious-1.4.patch @@ -0,0 +1,179 @@ +--- g15daemon-audacious-2.5.2/g15daemon_audacious_spectrum.c 2007-09-15 06:48:10.000000000 -0400 ++++ g15daemon-audacious-2.5.2-new/g15daemon_audacious_spectrum.c 2007-12-31 00:01:24.000000000 -0500 +@@ -39,10 +39,9 @@ + + #include <audacious/plugin.h> + #include <audacious/util.h> +-#include <audacious/beepctrl.h> ++#include <audacious/auddrct.h> + #include <audacious/configdb.h> + #include <audacious/playlist.h> +-#include <audacious/titlestring.h> + + #include <libg15.h> + #include <libg15render.h> +@@ -197,23 +196,23 @@ + + + VisPlugin g15analyser_vp = { +- NULL, +- NULL, +- 0, +- PLUGIN_NAME " " PLUGIN_VERSION, +- 1, +- 1, +- g15analyser_init, /* init */ +- g15analyser_cleanup, /* cleanup */ +- g15analyser_about, /* about */ +- g15analyser_conf, /* configure */ +- NULL, /* disable_plugin */ +- g15analyser_playback_start, /* playback_start */ +- g15analyser_playback_stop, /* playback_stop */ +- g15analyser_render_pcm, /* render_pcm */ +- g15analyser_render_freq /* render_freq */ ++ .description = PLUGIN_NAME " " PLUGIN_VERSION, ++ .num_pcm_chs_wanted = 1, ++ .num_freq_chs_wanted = 1, ++ .init = g15analyser_init, /* init */ ++ .cleanup = g15analyser_cleanup, /* cleanup */ ++ .about = g15analyser_about, /* about */ ++ .configure = g15analyser_conf, /* configure */ ++ .playback_start = g15analyser_playback_start, /* playback_start */ ++ .playback_stop = g15analyser_playback_stop, /* playback_stop */ ++ .render_pcm = g15analyser_render_pcm, /* render_pcm */ ++ .render_freq = g15analyser_render_freq /* render_freq */ + }; + ++VisPlugin *g15_vp[] = { &g15analyser_vp, NULL }; ++ ++SIMPLE_VISUAL_PLUGIN(g15, g15_vp); ++ + gint g15analyser_disable(gpointer data){ + g15analyser_vp.disable_plugin (&g15analyser_vp); /* disable if unusable */ + return FALSE; +@@ -223,6 +222,11 @@ + return &g15analyser_vp; + } + ++int get_main_volume() { ++ int tmpvol; ++ audacious_drct_get_main_volume(&tmpvol); ++ return tmpvol; ++} + + void g15spectrum_read_config(void) + { +@@ -725,52 +729,52 @@ + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioPlay)) { + if(playing) { + if (paused) { +- xmms_remote_play(g15analyser_vp.xmms_session); ++ audacious_drct_play(); + paused = 0; + } else { +- xmms_remote_pause(g15analyser_vp.xmms_session); ++ audacious_drct_pause(); + paused = 1; + } + } else +- xmms_remote_play(g15analyser_vp.xmms_session); ++ audacious_drct_play(); + } + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioStop)) +- xmms_remote_stop(g15analyser_vp.xmms_session); ++ audacious_drct_stop(); + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioLowerVolume)){ +- volume = xmms_remote_get_main_volume(g15analyser_vp.xmms_session); ++ volume = get_main_volume(); + if(volume<1) + volume=1; +- xmms_remote_set_main_volume(g15analyser_vp.xmms_session, --volume); ++ audacious_drct_set_main_volume(--volume); + } + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioRaiseVolume)){ +- volume = xmms_remote_get_main_volume(g15analyser_vp.xmms_session); ++ volume = get_main_volume(); + if(volume>99) + volume=99; +- xmms_remote_set_main_volume(g15analyser_vp.xmms_session, ++volume); ++ audacious_drct_set_main_volume(++volume); + } + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioMute)){ +- if(xmms_remote_get_main_volume(g15analyser_vp.xmms_session)!=0){ +- lastvolume = xmms_remote_get_main_volume(g15analyser_vp.xmms_session); ++ if(get_main_volume()!=0){ ++ volume = get_main_volume(); + volume = 0; + } + else { + volume = lastvolume; + } + +- xmms_remote_set_main_volume(g15analyser_vp.xmms_session, volume); ++ audacious_drct_set_main_volume(volume); + } + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioNext)) + if (playing) +- xmms_remote_playlist_next(g15analyser_vp.xmms_session); ++ audacious_drct_playlist_next(); + + if(event.xkey.keycode==XKeysymToKeycode(dpy, XF86XK_AudioPrev)) + if (playing) +- xmms_remote_playlist_prev(g15analyser_vp.xmms_session); ++ audacious_drct_playlist_prev(); + + } + return TRUE; +@@ -790,11 +794,11 @@ + pthread_mutex_lock (&g15buf_mutex); + g15r_clearScreen (canvas, G15_COLOR_WHITE); + +- if (xmms_remote_get_playlist_length(g15analyser_vp.xmms_session) > 0) ++ if (audacious_drct_get_playlist_length() > 0) + { +- playlist_pos = xmms_remote_get_playlist_pos(g15analyser_vp.xmms_session); ++ playlist_pos = audacious_drct_get_playlist_pos(); + +- title = xmms_remote_get_playlist_title(g15analyser_vp.xmms_session, playlist_pos); ++ title = audacious_drct_get_playlist_title(playlist_pos); + if(title!=NULL && show_title){ + if (rownum != 1) { + /* +@@ -891,8 +895,8 @@ + } + } + if (show_pbar){ +- int output_time = xmms_remote_get_output_time(g15analyser_vp.xmms_session)/1000; +- int playlist_time = xmms_remote_get_playlist_time(g15analyser_vp.xmms_session,playlist_pos)/1000; ++ int output_time = audacious_drct_get_output_time()/1000; ++ int playlist_time = audacious_drct_get_playlist_time(playlist_pos)/1000; + /* bugfix: Sometimes xmms don't get the output time */ + if (playlist_time == 0){ + playlist_time = 1000; +@@ -974,13 +978,13 @@ + else + g15r_renderString (canvas, (unsigned char *)"Playlist Empty", 0, G15_TEXT_LARGE, 24, 16); + +- if(lastvolume!=xmms_remote_get_main_volume(g15analyser_vp.xmms_session) || vol_timeout>=0) { +- if(lastvolume!=xmms_remote_get_main_volume(g15analyser_vp.xmms_session)) ++ if(lastvolume!=get_main_volume() || vol_timeout>=0) { ++ if(lastvolume!=get_main_volume()) + vol_timeout=10; + else + vol_timeout--; + /* render volume */ +- lastvolume = xmms_remote_get_main_volume(g15analyser_vp.xmms_session); ++ lastvolume = get_main_volume(); + if (lastvolume >= 0) + g15r_drawBar (canvas, 10, 15, 149, 28, G15_COLOR_BLACK, lastvolume, 100, 1); + canvas->mode_xor=1; +@@ -1193,4 +1197,3 @@ + return; + + } +- |