head 1.10; access; symbols pkgsrc-2013Q2:1.10.0.22 pkgsrc-2013Q2-base:1.10 pkgsrc-2012Q4:1.10.0.20 pkgsrc-2012Q4-base:1.10 pkgsrc-2011Q4:1.10.0.18 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q2:1.10.0.16 pkgsrc-2011Q2-base:1.10 pkgsrc-2009Q4:1.10.0.14 pkgsrc-2009Q4-base:1.10 pkgsrc-2008Q4:1.10.0.12 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.10 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.8 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.6 pkgsrc-2008Q2-base:1.10 pkgsrc-2008Q1:1.10.0.4 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.2 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.9.0.24 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.22 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.20 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.18 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.16 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.14 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.12 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.10 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.8 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.6 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.4 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.2 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.8.0.4 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.2 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.6.0.2 netbsd-1-6-1-base:1.6 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.10 date 2007.11.29.18.36.37; author wiz; state dead; branches; next 1.9; 1.9 date 2004.11.18.06.25.11; author grant; state Exp; branches; next 1.8; 1.8 date 2004.05.06.14.48.57; author drochner; state dead; branches; next 1.7; 1.7 date 2003.04.17.23.14.13; author nathanw; state Exp; branches; next 1.6; 1.6 date 2002.10.25.08.59.05; author skrll; state Exp; branches; next 1.5; 1.5 date 2002.03.21.18.52.31; author drochner; state Exp; branches; next 1.4; 1.4 date 2001.06.21.16.38.34; author rh; 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.12.20.36.27; author tron; state Exp; branches; next ; desc @@ 1.10 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-ai,v 1.9 2004/11/18 06:25:11 grant Exp $ --- libxmms/xmmsctrl.h.orig 2003-06-12 04:44:17.000000000 +1000 +++ libxmms/xmmsctrl.h @@@@ -83,6 +83,9 @@@@ void xmms_remote_quit(gint session); void xmms_remote_play_pause(gint session); void xmms_remote_playlist_ins_url_string(gint session, gchar * string, gint pos); +void xmms_remote_main_volume_up(gint session ); +void xmms_remote_main_volume_down(gint session ); + #ifdef __cplusplus }; @ 1.9 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.8 log @update to 1.2.10 changes: -bugfixes -IPv6 support integrated -new translations -minor feature additions @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.7 2003/04/17 23:14:13 nathanw Exp $ d3 5 a7 10 --- xmms/main.c.orig 2002-02-27 09:30:28.000000000 -0500 +++ xmms/main.c 2003-04-16 15:41:12.000000000 -0400 @@@@ -3377,7 +3377,7 @@@@ { gchar *filename; struct cmdlineopt options; -#if defined(HAVE_SCHED_SETSCHEDULER) && defined(HAVE_SCHED_GET_PRIORITY_MAX) +#if defined(HAVE_SCHED_SETSCHEDULER) && defined(HAVE_SCHED_GET_PRIORITY_MAX) && !defined(__NetBSD__) struct sched_param sparam; #endif d9 6 a14 29 @@@@ -3387,7 +3387,9 @@@@ #endif signal(SIGPIPE, SIG_IGN); /* for controlsocket.c */ +#if 0 /* XXXNJW This makes debugging nearly impossible. */ signal(SIGSEGV, segfault_handler); +#endif g_thread_init(NULL); if (!g_thread_supported()) { @@@@ -3408,7 +3410,7 @@@@ if (geteuid() == 0) { -#if defined(HAVE_SCHED_SETSCHEDULER) && defined(HAVE_SCHED_GET_PRIORITY_MAX) +#if defined(HAVE_SCHED_SETSCHEDULER) && defined(HAVE_SCHED_GET_PRIORITY_MAX) && !defined(__NetBSD__) if (cfg.use_realtime) { sparam.sched_priority = sched_get_priority_max(SCHED_RR); @@@@ -3500,8 +3502,8 @@@@ /* enable_x11r5_session_management(argc, argv); */ sm_init(argc, argv); - GDK_THREADS_LEAVE(); gtk_main(); + GDK_THREADS_LEAVE(); return 0; } @ 1.7 log @Pull in a couple of lock fixes from xmms CVS to avoid mutex locking botches. Also, disable the SEGV handler, as it makes bug-hunting of people's random crashes much harder. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 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-ai,v 1.5 2002/03/21 18:52:31 drochner Exp $ d3 3 a5 3 --- xmms/main.c.orig Wed Feb 27 15:30:28 2002 +++ xmms/main.c Thu Mar 21 12:58:10 2002 @@@@ -3377,7 +3394,7 @@@@ d14 11 a24 1 @@@@ -3408,7 +3425,7 @@@@ d33 10 @ 1.5 log @update to 1.2.7 changes: General: * Replaced folder icons. New ones by Jakub Steiner. * Don't display playlist numbers elsewhere when turned off. * Support 32-bit and 16-bit "bitfield" bmps in skins. CD Audio: * Supply a dummy user and hostname to the cddb server. * Picked up support for Darwin (from FINK cvs) and NetBSD (from NetBSD cvs) MPG123: * Handle UTF-16 encoded tags. * Major stability fixes Translation/Internationalization: * New translations: Basque (eu), Tajik (tg), Vietnamese (vi), Nynorsk (nn), Thai (th). General: * --play-pause command to toggle playback. * Updated README/man pages. * Added xmms_remote_play_pause(), xmms_remote_playlist_ins_url_string() * Realtime priority works again, it was broken in 1.2.5. * bzip2 skins should now work regardless of Tar version. * Key bindings are now saved when you exit XMMS. * NetWM support updated to the latest specs. * Handles @@ in URL's properly if username:password@@host is not used. Playlist: * Added 'Sort by date' * Page Up/Down keys scrolls one page, instead of the 3 line inheritance from Winamp. * Extended M3U lists now supported. * Added reading of playlist info for selection. Equalizer: * Added Import/WinAMP Presets to the preset menu to import an entire set of WinAMP presets (WINAMP.q1) into the preset list. Vorbis: * Fixed an endianess problem on smallendian boxes * 1.0rc1 or higher required. MPG123: * Handle more broken mp3s. * No more "-" for mp3s with ID3v2 tags that contain no usable information. * VBR files without XING header are now handled more gracefully. Mikmod: * Mikmod plugin now recognizes mod.* files. CD Audio: * Setting the environmental variable XMMS_CDDB_CLIENT_NAME, will make XMMS use that instead when identifying to CDDB servers. * Better handling of CDDB requests. * Don't poll current time when paused, can cause weird things on some drives. OSS Output: * Do endian/sign conversion if necessary. ESD Output: * Will use ESD stream volume instead of the OSS mixer as default. * Assorted bugfixes/memleaks plugged. @ text @d1 1 a1 1 $NetBSD$ a4 24 @@@@ -37,6 +37,23 @@@@ #include "libxmms/dirbrowser.h" #include "xmms_mini.xpm" +#ifdef __NetBSD__ +#include +#include + +/* + * NetBSD uses non-preemptive pth, so we yield the processor periodically + */ + +gint +pth_nbschedule (gpointer data) +{ + pthread_yield_np(); + + return TRUE; +} +#endif + GtkWidget *mainwin, *mainwin_url_window = NULL, *mainwin_dir_browser = NULL; GtkWidget *mainwin_jtt = NULL, *mainwin_jtf = NULL; GtkItemFactory *mainwin_options_menu, *mainwin_songname_menu, *mainwin_vis_menu; a22 10 @@@@ -3501,6 +3518,9 @@@@ /* enable_x11r5_session_management(argc, argv); */ sm_init(argc, argv); GDK_THREADS_LEAVE(); +#ifdef __NetBSD__ + gtk_timeout_add (150, pth_nbschedule, NULL); +#endif gtk_main(); return 0; @ 1.4 log @Update xmms to 1.2.5. Changes include: Translation/Internationalization: * New translations (gl, pt, id, sr) * Translations work in libxmms. * Handles broken translations better. Plugins: * Joystick plugin suppports more than 4 buttons. * Vorbis plugin handles streams. * Vorbis plugin generate data in native endianness. * File info dialog for Vorbis plugin. * Alot of bugfixes to the Vorbis plugin. * Tonegen input plugin supports more frequencys at the same time. * Solaris output plugin added. * Additional fixes to the Solaris plugin after it moved to the XMMS source. * IR plugin can now configure IR code length. * OSS Output can now configure the mixer device manually. * Handle no effect plugins without crash. * Esd plugin makes use of ESPEAKER variable. * ID3v1.1 support, ID3v1.0 still saves the entire comment. Portability: * CDAudio ported to OpenBSD. * Fixed glitches in FreeBSD audio playback. * Compilation fixes for Tru64 Unix, FreeBSD, OpenBSD. Playlist: * Physically delete file from playlist. * Right-click menu in the playlist. * Playlist counter wraps at ~136 years instead of ~600 hours. * Pressing middle mouse button in the playlist will try to add the content of the clipboard. Double click will clear the playlist. Misc: * MiniIcon now shows up in KDE2 taskbar. * Gnomexmms shows the title in the tooltip. * DGA support has been dropped. * Fullscreen code should be more sane now. * Man pages. (xmms, gnomexmms, wmxmms) Core: * Set realtime mode and drop root privilieges before initalizing GTK. (XMMS would not work with GTK 1.2.10) * Better shuffleplay support. * Possible to show WM decorations. * Fixed segfaults in the controlsocket. * Generic titles instead of Input plugin specific (mpg123, vorbis, cdaudio). * %F - File path, for titlestrings. * Smaller fixes, memory leaks and stability issues. @ text @d3 3 a5 3 --- xmms/main.c.orig Sun Jun 17 01:05:47 2001 +++ xmms/main.c @@@@ -36,6 +36,23 @@@@ d29 1 a29 1 @@@@ -3330,7 +3347,7 @@@@ d36 1 d38 1 a38 2 #endif @@@@ -3361,7 +3378,7 @@@@ d47 1 a47 2 @@@@ -3450,6 +3467,11 @@@@ d50 1 a50 1 + a53 1 + @ 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 --- xmms/main.c.orig Mon Nov 20 16:45:10 2000 d5 1 a5 1 @@@@ -35,6 +35,23 @@@@ d29 2 a30 1 @@@@ -3232,7 +3249,7 @@@@ d32 3 a34 4 gint i; gboolean have_display = FALSE; -#ifdef HAVE_SCHED_SETSCHEDULER +#if defined(HAVE_SCHED_SETSCHEDULER) && !defined(__NetBSD__) d38 1 a38 1 @@@@ -3283,7 +3300,7 @@@@ d42 2 a43 2 -#ifdef HAVE_SCHED_SETSCHEDULER +#if defined(HAVE_SCHED_SETSCHEDULER) && !defined(__NetBSD__) d47 1 a47 1 @@@@ -3401,6 +3418,11 @@@@ @ 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 --- xmms/main.c.orig Mon Jan 31 19:35:16 2000 d5 3 a7 3 @@@@ -34,6 +34,23 @@@@ #include "libxmms/util.h" #include "libxmms/dga.h" d26 1 a26 1 GtkWidget *mainwin, *mainwin_filesel = NULL, *mainwin_url_window = NULL; d29 1 a29 1 @@@@ -2945,7 +2962,7 @@@@ d38 1 a38 1 @@@@ -2988,7 +3005,7 @@@@ d47 1 a47 2 @@@@ -3106,6 +3123,11 @@@@ playlist_start_get_info_thread(); d49 1 d53 1 a53 1 + gtk_timeout_add (200, pth_nbschedule, NULL); @ 1.1 log @- Use "pth" instead of "mit-pthreads". - Reenable "libmikmod" support. - Adapt CD-ROM driver to NetBSD. - Correct package list. @ text @d4 26 a29 2 +++ xmms/main.c Sun Mar 12 14:58:05 2000 @@@@ -2945,7 +2945,7 @@@@ d38 1 a38 1 @@@@ -2988,7 +2988,7 @@@@ d47 12 @