head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.22 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.20 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.18 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.16 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.14 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.12 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.10 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.8 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.6 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.4 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.2 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.8.0.24 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.22 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.20 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.18 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.16 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.14 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.12 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.10 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.8 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.6 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.4 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.2 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.7.0.4 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.2 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.5.0.2 netbsd-1-6-1-base:1.5 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.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.9 date 2007.11.29.18.36.37; author wiz; state dead; branches; next 1.8; 1.8 date 2004.11.18.06.25.11; author grant; state Exp; branches; next 1.7; 1.7 date 2004.05.06.14.48.57; author drochner; state dead; branches; next 1.6; 1.6 date 2003.10.05.10.56.37; author xtraeme; state Exp; branches; next 1.5; 1.5 date 2002.10.25.08.59.05; author skrll; state Exp; branches; next 1.4; 1.4 date 2001.08.11.20.48.46; author fredb; state Exp; branches; next 1.3; 1.3 date 2001.05.20.20.52.24; author rh; state Exp; branches; next 1.2; 1.2 date 2001.05.06.18.23.52; author rh; state Exp; branches; next 1.1; 1.1 date 2000.03.07.23.03.13; author tron; state Exp; branches; next ; desc @@ 1.9 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-ah,v 1.8 2004/11/18 06:25:11 grant Exp $ --- libxmms/xmmsctrl.c.orig 2004-02-24 07:31:42.000000000 +1100 +++ libxmms/xmmsctrl.c @@@@ -382,6 +382,22 @@@@ void xmms_remote_play_pause(gint session remote_cmd(session, CMD_PLAY_PAUSE); } +void xmms_remote_main_volume_up(gint session) +{ + gint vol = xmms_remote_get_main_volume(session); + vol += 5; + xmms_remote_set_main_volume(session, vol); +} + +void xmms_remote_main_volume_down(gint session) +{ + gint vol = xmms_remote_get_main_volume(session); + vol -= 5; + if (vol < 0) + vol = 0; + xmms_remote_set_main_volume(session, vol); +} + gboolean xmms_remote_is_playing(gint session) { return remote_get_gboolean(session, CMD_IS_PLAYING); @ 1.8 log @apply patches based on what is found at: http://www.steve.org.uk/Software/xmms/ for command line volume control: -l (louder) -q (qieter) bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @update to 1.2.10 changes: -bugfixes -IPv6 support integrated -new translations -minor feature additions @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.6 2003/10/05 10:56:37 xtraeme Exp $ d3 5 a7 4 --- libxmms/util.c.orig Sun Oct 5 12:46:32 2003 +++ libxmms/util.c Sun Oct 5 12:47:21 2003 @@@@ -11,6 +11,7 @@@@ #endif d9 17 a25 8 #ifdef __FreeBSD__ +#include #include #endif @@@@ -72,7 +73,7 @@@@ gboolean xmms_check_realtime_priority(void) d27 1 a27 5 -#ifdef HAVE_SCHED_SETSCHEDULER +#if !defined(__NetBSD__) && defined(HAVE_SCHED_SETSCHEDULER) #ifdef __FreeBSD__ /* * Check if priority scheduling is enabled in the kernel @ 1.6 log @Add in the #ifdef __FreeBSD__ statement to get u_int, size_t definitions. Fixes build on FreeBSD, closes PR pkg/21910. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Remove some unnecessary stuff now that pth is --enable-syscall-hard. Bump PKGREVISION. OK'd by Rene. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.4 2001/08/11 20:48:46 fredb Exp $ d3 11 a13 3 --- libxmms/util.c.orig Fri Jun 1 08:07:49 2001 +++ libxmms/util.c @@@@ -72,7 +76,7 @@@@ @ 1.4 log @Include to get prototype for pthread_yield_in(). @ text @d1 1 a1 1 $NetBSD$ a4 11 @@@@ -32,6 +32,10 @@@@ # endif #endif +#ifdef __NetBSD__ +#include +#endif + GtkWidget *xmms_show_message(gchar * title, gchar * text, gchar * button_text, gboolean modal, GtkSignalFunc button_action, gpointer action_data) { a13 23 @@@@ -98,11 +102,22 @@@@ #ifdef HAVE_NANOSLEEP struct timespec req; +#ifdef __NetBSD__ + unsigned long n = usec / 50000; + usec %= 50000; + do { +#endif + req.tv_sec = usec / 1000000; usec -= req.tv_sec * 1000000; req.tv_nsec = usec * 1000; nanosleep(&req, NULL); + +#ifdef __NetBSD__ + pthread_yield_np(); + } while (n--); +#endif #else struct timeval tv; @ 1.3 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 @d3 1 a3 1 --- libxmms/util.c.orig Mon Oct 2 17:28:41 2000 d5 12 a16 1 @@@@ -68,7 +68,7 @@@@ d25 1 a25 1 @@@@ -94,11 +94,22 @@@@ @ 1.2 log @Fix a few pthreads problems and make this package actually work. Closes PR pkg/11091 by Gabriel Rosenkoett @ text @d3 1 a3 1 --- libxmms/util.c.orig Mon Nov 15 17:50:37 1999 d5 1 a5 1 @@@@ -56,7 +56,7 @@@@ d14 8 a21 4 @@@@ -94,5 +94,8 @@@@ usec -= tv.tv_sec * 1000; req.tv_usec = usec; select(0,NULL,NULL,NULL,&tv); d23 7 d32 5 a36 2 #endif } @ 1.1 log @Bring this package closer to a working state. Configuring the "libxmms" library doesn't work properly yet. @ text @d4 1 a4 1 +++ libxmms/util.c Tue Mar 7 23:53:13 2000 d14 9 @