cmus is a small ncurses based music player. It supports various
output methods by output-plugins. It has got completely configurable
keybindings and it can be controlled from the outside via cmus-remote(1).
===> The following configuration options are available for cmus-2.12.0_3:
BASU=on: MPRIS protocol support via basu
EXAMPLES=on: Build and/or install examples
====> Output plugins
AO=off: libao audio library support
JACK=off: JACK audio server support
OSS=on: Open Sound System support
PULSEAUDIO=off: PulseAudio sound server support
SNDIO=on: Sndio audio support
====> Input plugins
AAC=off: AAC/MP4 format support
CDIO=off: CDIO support via libcdio
CUE=off: Embedded CUE sheets support
DISCID=off: libdiscid CDDA identification support
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
FLAC=off: FLAC lossless audio codec support
MAD=off: MAD MP3 audio decoder support
MIKMOD=off: MOD audio format support
MODPLUG=on: ModPlug decoder support
MP4=off: MP4 media format support
OPUS=off: Opus audio codec support
SAMPLERATE=off: Sample rate conversion support
TREMOR=off: Tremor audio decoder support
VORBIS=off: Ogg Vorbis audio codec support
WAV=off: WAV audio format support
WAVPACK=off: WavPack lossless audio format support
===> Use 'make config' to modify these settings
audio/cmus: Fix build when Input and Output plugin options are empty
Use find to strip .so if exist, i.e., if Input or Output plugins options
where selected.
This fixes post-install when no plugins are selected.
audio/cmus: Fix absence of colors in terminal
Apply uptream patch to fix function detection. check_function failed to
compile due to clang -Wint-conversion warning became error.
See also: https://github.com/cmus/cmus/pull/1269
PR: 276318
Reported by: Ivan <ivan@drm.su>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
audio: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <dmagda+libsamplerate@ee.ryerson.ca>
* <trasz@FreeBSD.org>
* Adam Weinberger
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aleksander Fafula <alex@bsdguru.org>
* Alex Allan <alex@kamaz.org.uk>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kojevnikov <alexander@kojevnikov.com>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexander Vereeken <Alexander88207@protonmail.com>
(Only the first 15 lines of the commit message are shown above )
audio/libmad: Set SONAME to libmad.so.0 instead of libmad.so.0.16.2
- Bump PORTREVISION of dependent ports for shlib change
- Bump PORTREVISION for package change
audio/cmus: Fix detection using pkg-config with libmad 0.16
Filename for libmad's pc file is now libmad.pc, this broke pkg-config
check however fallback detection code still worked.
Approved by: portmgr (blanket)
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
audio/cmus: Disable MAD by default
According to the submitter libmad is vulnerable and inefficient and
should not be used anymore. The ffmpeg plugin serves as a fallback
input plugin. This should not cause any functional differences
other than slightly slower seek in MP3s.
Submitted by: daniel.engberg.lists_pyret.net
Differential Revision: https://reviews.freebsd.org/D22264
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
audio/cmus: Fix build on powerpc
checking for successful build of ffmpeg.c...
cc1: error: unrecognized command line option "-std=gnu11"
no
configure failed.
track_info.o: In function `track_info_new':
track_info.c:(.text+0x2c): undefined reference to `__atomic_fetch_add_8'
Allow build on powerpc64 again as the error in BROKEN looks to be
same as the first error on powerc.
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
Fix broken UI when linking with devel/ncurses
Ports r438165 fixed building cmus with devel/ncurses installed, but
stripped NCURSES_CFLAGS too aggressivly. The build picked up base's
curses.h over the correct headers from devel/ncurses.
PR: 218548
Reported by: Oleg Gushchenkov <gor@clogic.com.ua>
Reviewed by: Oleg Gushchenkov <gor@clogic.com.ua>
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D10355
Update to 2.8.0-rc0
- Fix build with devel/ncurses installed [1], which erroneously
redefines _POSIX_C_SOURCE as 200112L globally via its pkg-config
file and hides strndup from cmus. A workaround for this was applied
to cmus in DPorts commit d2907fe but it never made it back to
FreeBSD.
Changes: https://github.com/cmus/cmus/releases/tag/v2.8.0-rc0
PR: 216325, 214475 [1]
Reported by: Oleg Gushchenkov <gor@clogic.com.ua> [1]
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D10242
audio/cmus: Enable AAC FFMPEG MP4 by default
Enable the AAC, FFMPEG and MP4 codecs by default, so that the binary packages
are more valuable out of the box. Prior to this change, it was limited to
playing mp3, Vorbis and FLAC format files.
While I'm here:
- Add LICENSE_FILE
PR: 203533
Submitted by: Tobias Kortkamp <t tobik me>
Approved by: maintainer (timeout, 1 month, 15 days)
MFH: 2015Q4
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
defined because the base system iconv supports these extensions too.
Add/remove patches to/from ports to call iconv with non-const arguments.
This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier. Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.
This exposed some ports that link with libiconv when it is available instead
of using libc iconv. In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above )
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
- Switch audio/musepack to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed
- Fix audio/abcde by requiring python
- Fix audio/moc plist with MUSEPACK enabled
Approved by: portmgr blanket
Convert audio from USE_GMAKE to USES=gmake
While here:
- Trim headers
- Convert some USE_GNOME=pkgconfig to USES=pkgconfig
- Add some missing pkgconf dependencies
- Convert some USE_GNOME=gnomehack to USES=pathfix
Add a new macro to deal with conflict between ncurses from base and ncurses from
ports.
If a ports is linked against ncurses from base or from the ports, it should then
add:
USE_NCURSES=yes
it is also possible to specify the hard dependency on the ports ncurses or one
the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
PR: ports/155269
Submitted by: me
Reviwed by: pav@
Approved by: portmgr (pav@)
Exp-run by: portmgr (pav@)