head 1.5; access; symbols pkgsrc-2015Q4:1.4.0.24 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.22 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.20 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.18 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.16 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.14 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.12 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.10 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.8 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.6 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.12 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.16 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.14 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.12 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.10 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.8 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.6 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.4 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.2 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.1.1.1.0.14 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.12 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.10 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.8 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.6 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.4 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2016.02.16.08.56.27; author leot; state dead; branches; next 1.4; commitid CUq46v8xsa9tr7Vy; 1.4 date 2013.02.10.08.39.00; author ryoon; state Exp; branches; next 1.3; 1.3 date 2011.09.12.06.27.21; author dholland; state Exp; branches; next 1.2; 1.2 date 2009.07.07.21.18.52; author joerg; state Exp; branches; next 1.1; 1.1 date 2008.04.07.16.10.37; author bjs; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.04.07.16.10.37; author bjs; state Exp; branches; next ; desc @@ 1.5 log @...and also remove moc-devel/patches/*. @ text @$NetBSD: patch-ad,v 1.4 2013/02/10 08:39:00 ryoon Exp $ regen after patching configure.in: - use export-dynamic correctly (first hunk) - check for sched_get_priority_max being in -lrt --- configure.orig 2012-10-11 19:45:04.000000000 +0000 +++ configure @@@@ -18085,7 +18085,7 @@@@ $as_echo "no" >&6; } fi -if test "x$PKG_CONFIG" == "x" +if test "x$PKG_CONFIG" = "x" then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&5 $as_echo "$as_me: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&2;} @@@@ -24165,6 +24165,72 @@@@ eval as_val=\$$as_ac_var #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF +else + { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lrt" >&5 +echo $ECHO_N "checking for sched_get_priority_max in -lrt... $ECHO_C" >&6; } +if test "${ac_cv_lib_rt_sched_get_priority_max+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lrt $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sched_get_priority_max (); +int +main () +{ +return sched_get_priority_max (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_rt_sched_get_priority_max=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_rt_sched_get_priority_max=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_get_priority_max" >&5 +echo "${ECHO_T}$ac_cv_lib_rt_sched_get_priority_max" >&6; } +if test $ac_cv_lib_rt_sched_get_priority_max = yes; then + EXTRA_LIBS="$EXTRA_LIBS -lrt" +fi + fi done @@@@ -25078,6 +25144,7 @@@@ if ac_fn_c_try_link "$LINENO"; then : mp_cv_ncursesw=yes else mp_cv_ncursesw=no + LIBS="$mp_save_LIBS" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@@@ -27422,7 +27489,7 @@@@ if test "${with_vorbis+set}" = set; then fi -if test "x$with_vorbis" == "xtremor" +if test "x$with_vorbis" = "xtremor" then pkg_failed=no @ 1.4 log @Update to 2.5.0b1 Changelog: 2.5.0 * Autotools and packaging changes: - Upgraded autoconf version requirement to 2.60 - Added '--with-alsa' to suppress ALSA sound driver inclusion - Added '--without-oss' to suppress OSS sound driver inclusion - Added '--disable-cache' to remove tags cache support - Added specific GDB support to '--enable-debug' - Refactor decoder plug-ins' autoconf scripts into source directories - Ensure that all decoders get into the source distribution tarball - Removed SID decoder's dependance on .la-file presence - Removed distribution-specific .spec file - Minor reformatting of the configure summary - Added warnings for various deprecations and potential problems - Added warnings for unmet future package requirements * Improved support for embedded systems: - Refined FFmpeg decoder configuration for use with cross-compilation - Provided use of Tremor with the Vorbis decoder - Improve portability to non-GNU library platforms - Added --with-libiconv-prefix configure option * Audio driver changes: - Allow use of the OSSv4 per-application mixer API - Provided SNDIO support for OpenBSD systems (Alexander Polakov) * New and changed audio decoders: - New TiMidity decoder for MIDI (Hendrik Iben) - Migrate AAC decoder to later FAAD2 API (Max Klinger) - Added AAC+ (HE-AAC) support to AAC decoder - New SidPlay2 decoder for SID (Hendrik Iben) - New Modplug decoder (Hendrik Iben) - New WavPack decoder (Alexandrov Sergey) - Renamed SndFile plugin for consistancy - Removed M4A format support from AAC decoder plugin * Overhauled FFmpeg/LibAV decoder: - Resolved FFmpeg API deprecations - Provided LibAV compatibility - Provided proper stereo downmixing - Increased number of decodable formats (including Xiph Opus) - Added decoding of audio from video formats - Added logging of FFmpeg/LibAV messages - Added seeking in most (but not all) formats - Fixed misreporting of tags, duration and bitrates - Fixed memory and file descriptor leakages - Fixed severe distortion on 8-bit samples - Fixed loop playing FLAC files - Fixed many miscellaneous bugs * Audio reproduction changes: - Improved support for 8-bit sample size - Added software mixer (Hendrik Iben) - Added parametric equalizer (Hendrik Iben) - Fixed many bugs which produced distorted sound * General configuration file changes: - Reconciled and regularised example config and keymap files - Introduced lists and function-like syntax - Introduced variable substitution - Introduced symbol and boolean option types - Improved security of the configuration file * Changed configuration file options: - Layout# options moved to a list and function-like syntax - SoundDriver option moved to a list syntax - Renamed OSSMixerChannel to OSSMixerChannel1 - Renamed ALSAMixer to ALSAMixer1 - QueueNextSongReturn moved to yes/no values - TagsCacheSize set to zero now disables tag caching * New configuration file options: - OnSongChange: run an external command (Jack Miller) - RepeatSongChange: govern the running of the OnSongChange command - OnStop: run an external command on stopping - EnforceTagsEncoding: substitutes ID3v1TagsEncoding for ISO-8859-1 encoding in id3v2 tags (Aleks Sherikov) - FileNamesIconv: converts from local to UTF8 encoding for file names (Aleks Sherikov) - NonUTFXterm: converts UTF8 to local encoding for X-Term titles (Aleks Sherikov) - AutoLoadLyrics: says whether MOC should look for lyrics files - PreferredDecoders: allow finer control over decoder selection - XTerms: externalises terminals regarded as X-Terms - UseMIMEMagic: says whether to identify audio files by using MIME - JackStartServer: autostart JACK the server (Max Klinger) - ShowTimePercent: set the percent played state (Daniel T. Borelli) - Various options for SidPlay2, Modplug and TiMidity support * New command line options: - '-O' to override configuration file settings - '-q' to queue files from command line (Martin Milata) - '-j' to jump to some position in the current track (Nuno Cardoso) - '-Q' to display user formatted information (Juho Hämäläinen) - '-v' to set the volume (Jack Miller) - '-t' and '--on/off' to toggle or set playback options (Jack Miller) * Screen handling changes: - Changed minimum screen height to 7 lines (Tero Marttila) - Added support for GNU screen title (Jonathan Derque) - Restore screen to console mode after reporting fatal errors - Fixed overlength highlight bar - Fixed screen upset when tags contain control characters * New and updated client interaction features: - 'a' command: also add a directory to the playlist (Filippo Giunchedi) - 'Y' command: prune unreadable files from the playlist (tyranix) - 'L' command: display music lyrics (Géraud Le Falher) - Queued messages for display in the message area - Added play queue (Martin Milata) - Mark a fragment of a file which can be passed to external commands * Improve text entry history and editting: - Recognise ^u (by default) as delete to start of line - Recognise ^k (by default) as delete to end of line - Save and restore entered text prior to history scrolling - Save history entry modifications - Do not save adjacent duplicate entries - Do not save or modify with blank entries - Position cursor at end of restored or history line * Theme changes: - Enabled highlighted playlist numbers and file times (Marc Tschiesche) - Fixed miscoloured frame when switching themes (Alexander Polakov) - Fixed default colour settings * General code cleaning: - Refactoring, optimisations and cosmetic improvements - Silenced many build warnings and errors - Replaced various deprecated, legacy and platform-specific functions * Significant bug fixes: - Fixed stale locks freeze in tags cache database following a crash. - Fixed CURL timeout for internet streaming errors (Daniel Stenberg) - Fixed audio distortion on MP3 file having overly long tag values - Fixed false positive stream detection in the MP3 decoder - Fixed Ogg/Vorbis stream detection in the Vorbis decoder - Fixed 'LRINTF error' raised when reconfiguring MOC - Handle backspace key properly - Fixed pthread stack overflow segfault on OpenBSD. - Fixed segfault when text entry history becomes full - Fixed segfault processing playlists with relative paths - Fixed memory corruptions when toggling tag reading - Fixed severe distortion on 11025Hz 16-bit mono audios - Fixed freeze at end of playing audio file - Fixed server crash when attempting to play a deleted file - Fixed MIME type detection on HTTP redirection - Fixed crash when mixer value is above 100% - Workaround for streams that have the actual title as tags/comments - Indentified cause of "undefined symbol" build errors (node/701) - Plugged all known memory and file descriptor leaks * Miscellaneous: - Updated and reformatted mocp manpage and equalizer README file - Made many warning and error reports more informative and consistant - Better logging of more problem determination information - More informative version information display - Introduced MD5-based decoder verification tools - Improved compatibility with 64-bit systems - Improved compatibility with big-endian systems - Moved tags cache to a Berkeley DB - Integration of down-stream distribution patches - Fixed many bugs which crashed MOC @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2011/09/12 06:27:21 dholland Exp $ @ 1.3 log @Apply joerg's fixes to moc here, to fix clang build issues. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2009/07/07 21:18:52 joerg Exp $ d8 1 a8 1 --- configure.orig 2008-02-25 22:38:19.000000000 +0000 d10 11 a20 11 @@@@ -22310,7 +22310,7 @@@@ _ACEOF ;; esac -LDFLAGS="$LDFLAGS -export-dynamic" +LDFLAGS="$LDFLAGS -Wl,--export-dynamic" { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } @@@@ -22895,6 +22895,72 @@@@ if test `eval echo '${'$as_ac_var'}'` = #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d92 11 a102 2 @@@@ -27118,6 +27184,7 @@@@ else sed 's/^/| /' conftest.$ac_ext >&5 d104 3 a106 3 mp_cv_ncursesw=no + LIBS="$mp_save_LIBS" fi d108 1 a108 1 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ @ 1.2 log @Add patches to work with NetBSD's curses. @ text @d1 1 a1 1 $NetBSD$ d3 6 a8 1 --- configure.orig 2008-02-25 23:38:19.000000000 +0100 d10 9 @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- configure.orig 2008-02-25 17:38:19.000000000 -0500 d78 8 @ 1.1.1.1 log @ Add a moc-devel package for version 2.5.0alpha3. This package uses a getline() function taken from nbftp--bothering with gnulib was too annoying. It works for me on NetBSD-current, but please let me know if there are any problems. I've also extended the check for sched_get_priority_max(3)--both here and in audio/moc--to look in librt prior to giving up. This allows moc to run with realtime priority on NetBSD-current; unfortunately, presently this requires root perms. @ text @@