head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.22 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.20 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.18 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.16 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.14 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.12 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.10 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.8 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.6 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.4 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.2 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.6.0.28 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.26 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.24 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.22 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.20 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.18 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.16 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.14 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.12 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.10 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.8 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.6 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.4 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.2 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.4.0.12 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.10 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.6 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.8 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.4 pkgviews-base:1.4 buildlink2:1.4.0.2 buildlink2-base:1.4 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.3; locks; strict; comment @# @; 1.7 date 2007.11.29.18.36.36; author wiz; state dead; branches; next 1.6; 1.6 date 2004.05.12.18.50.21; author drochner; state Exp; branches; next 1.5; 1.5 date 2004.05.06.14.48.57; author drochner; state dead; branches; next 1.4; 1.4 date 2001.05.20.20.52.24; author rh; state Exp; branches; next 1.3; 1.3 date 2001.05.06.18.23.52; author rh; state Exp; branches; next 1.2; 1.2 date 2000.08.14.14.20.59; author wiz; state dead; branches; next 1.1; 1.1 date 2000.03.07.23.03.13; author tron; state Exp; branches; next ; desc @@ 1.7 log @Update to 1.2.11: xmms 1.2.11 The '1211 days since last release' release. XMMS was 10 years old on 2007-11-15. * Make the --toggle switches take an optional value to either enable or disable the function. * New command line switches: --quit, --toggle-shuffle, --toggle-repeat, --toggle-advance, --queue * New remote commands: xmms_remote_playqueue_clear, xmms_remote_get_playqueue_pos_from_playlist_pos, xmms_remote_get_playlist_pos_from_playqueue_pos, xmms_remote_playqueue_add, xmms_remote_get_playqueue_length, xmms_remote_playqueue_remove. * Playqueue manager. Adds queue control enabling you to reorder the queue and a search like the jump to file dialog. OGG/Vorbis: * Save stream to disk adds -N if the file already exist * Don't apply the +6dB boost if replaygain information is missing Alsa: * Soft volume works without mixer Songchange: * Optional command to run at end of song. Diskwriter: * Effect plugins are applied on the saved file MPG123: * Enable shoutcast title streaming by default * CTRL-Q as default keybind to quit * Close dialogs with escape key Solaris: * Support OSS and AMD8111 @ text @$NetBSD: patch-af,v 1.6 2004/05/12 18:50:21 drochner Exp $ --- Output/sun/configure.c.orig 2004-05-12 22:33:27.000000000 +0200 +++ Output/sun/configure.c 2004-05-12 22:34:11.000000000 +0200 @@@@ -75,12 +75,12 @@@@ xmms_cfg_write_default_file(cfgfile); xmms_cfg_free(cfgfile); - configure_win_destroy(); + gtk_widget_destroy(configure_win); } static void configure_win_cancel_cb(GtkWidget *w, gpointer data) { - configure_win_destroy(); + gtk_widget_destroy(configure_win); } static void mixer_cbutton_toggled_cb(GtkWidget *w, int id) @ 1.6 log @-make sure the NetBSD is found instead of the version which comes with xmms, and link in -lossaudio -fix the sun audio configuration dialog to avoid double unlocking of mutexes which NetBSD's libpthread gets mad about @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @update to 1.2.10 changes: -bugfixes -IPv6 support integrated -new translations -minor feature additions @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2001/05/20 20:52:24 rh Exp $ d3 5 a7 3 --- Output/OSS/audio.c.orig Sat Jul 29 02:19:41 2000 +++ Output/OSS/audio.c @@@@ -39,9 +39,22 @@@@ d9 5 a13 1 static void oss_calc_device_buffer_used(void) d15 2 a16 18 +#if defined(__NetBSD__) && SOUND_VERSION <= 0x030000 + struct audio_info info; +#endif audio_buf_info buf_info; if(paused) device_buffer_used = 0; +#if defined(__NetBSD__) && SOUND_VERSION <= 0x030000 + /* + This is to work around a bug in NetBSD-1.5.1 and earlier, in which + the SNDCTL_DSP_GETOSPACE(&buf_info) ioctl was not handled properly. + The correct information is always available via the native audio + driver, so use that instead. + */ + else if (!ioctl(fd, AUDIO_GETINFO, &info)) + device_buffer_used = info.play.seek; +#endif else if (!ioctl(fd, SNDCTL_DSP_GETOSPACE, &buf_info)) device_buffer_used = (buf_info.fragstotal * buf_info.fragsize) - buf_info.bytes; d18 2 @ 1.4 log @Update xmms to 1.2.4. Notable changes include: - localisation support - additional plugins, most notably the ability to play ogg-vorbis files - tons of bugfixes - better sound buffer availability estimates for NetBSD (this hopefully reduces jitter a bit on slower systems). @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Fix a few pthreads problems and make this package actually work. Closes PR pkg/11091 by Gabriel Rosenkoett @ text @d3 1 a3 1 --- Output/OSS/audio.c.orig Sun May 6 19:45:56 2001 d5 1 a5 3 @@@@ -574,10 +574,16 @@@@ unpause = FALSE; remove_prebuffer = FALSE; d7 4 a10 4 +#ifdef __NetBSD__ +#define DSPNAME "/dev/sound" +#else +#define DSPNAME "/dev/dsp" d12 16 a27 10 + if (oss_cfg.audio_device > 0) - device_name = g_strdup_printf("/dev/dsp%d", oss_cfg.audio_device); + device_name = g_strdup_printf(DSPNAME "%d", oss_cfg.audio_device); else - device_name = g_strdup("/dev/dsp"); + device_name = g_strdup(DSPNAME); fd = open(device_name, O_WRONLY); if (fd == -1) { @ 1.2 log @LTCONFIG_OVERRIDE -> minus two patches. Correct linking with libossaudio: plus two patches. Still doesn't work, though. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2000/03/07 23:03:13 tron Exp $ d3 5 a7 3 --- libxmms/configure.orig Tue Mar 7 23:25:18 2000 +++ libxmms/configure Tue Mar 7 23:28:07 2000 @@@@ -1473,6 +1473,7 @@@@ d9 15 a23 14 +if false; then # Check for any special flags to pass to ltconfig. libtool_flags="--cache-file=$cache_file" test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" @@@@ -1626,6 +1627,7 @@@@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +fi # Redirect the config.log output again, so that the ltconfig log is not # clobbered by the next message. @ 1.1 log @Bring this package closer to a working state. Configuring the "libxmms" library doesn't work properly yet. @ text @d1 1 a1 1 $NetBSD$ @