Package Details: mpd-light 0.22.6-1

Git Clone URL: https://aur.archlinux.org/mpd-light.git (read-only, click to copy)
Package Base: mpd-light
Description: Flexible, powerful, server-side application for playing music. Light version without ao, ffmpeg, jack, modplug, pulse, shout, sidplay, soundcloud, wavpack, avahi, smbclient and zziplib support.
Upstream URL: https://www.musicpd.org/
Licenses: GPL2
Conflicts: mpd
Provides: mpd
Replaces: mpd
Submitter: OK100
Maintainer: AmberArch
Last Packager: TZ86
Votes: 11
Popularity: 0.013380
First Submitted: 2012-02-17 18:03 (UTC)
Last Updated: 2021-03-19 07:24 (UTC)

Latest Comments

lamarpavel commented on 2022-01-18 06:38 (UTC) (edited on 2022-01-18 06:42 (UTC) by lamarpavel)

Since version 0.23 there is support for pipewire. Adding the flag '-Dpipewire=disabled' (or enabled and then adding the dependency pipewire to depends) to the PKGBUILD would be appreciated.

lamarpavel commented on 2021-09-07 08:07 (UTC)

The build is currently failing due to missing build dependency rsync. Adding it to makedepends in the PKGBUILD solves the problem.

BachoSeven commented on 2021-05-12 20:44 (UTC)

Build is failing because of a dependency conflict for Sphynx(last part, when building documentation):

[594/599] Generating HTML documentation with a custom command
FAILED: doc/html
/usr/bin/sphinx-build -q -b html -d doc/doctrees /home/fra/.cache/paru/clone/mpd-light/src/mpd-0.22.6/doc doc/html
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Jinja2 3.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('Jinja2<3.0,>=2.3'), {'Sphinx'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.0.1', 'console_scripts', 'sphinx-build')())
  File "/usr/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.9/site-packages/sphinx/application.py", line 25, in <module>
    from docutils.parsers.rst import Directive, roles
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/__init__.py", line 75, in <module>
    from docutils.parsers.rst import roles, states
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/roles.py", line 78, in <module>
    from docutils.utils.code_analyzer import Lexer, LexerError
  File "/usr/lib/python3.9/site-packages/docutils/utils/code_analyzer.py", line 12, in <module>
    from pkg_resources import DistributionNotFound as ResourceError
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Jinja2<3.0,>=2.3' distribution was not found and is required by Sphinx
[596/599] Generating Manpage documentation with a custom command
FAILED: doc/mpd.1 doc/mpd.conf.5
/usr/bin/sphinx-build -q -b man -d doc/man_doctrees /home/fra/.cache/paru/clone/mpd-light/src/mpd-0.22.6/doc doc
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Jinja2 3.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('Jinja2<3.0,>=2.3'), {'Sphinx'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.0.1', 'console_scripts', 'sphinx-build')())
  File "/usr/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.9/site-packages/sphinx/application.py", line 25, in <module>
    from docutils.parsers.rst import Directive, roles
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/__init__.py", line 75, in <module>
    from docutils.parsers.rst import roles, states
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/roles.py", line 78, in <module>
    from docutils.utils.code_analyzer import Lexer, LexerError
  File "/usr/lib/python3.9/site-packages/docutils/utils/code_analyzer.py", line 12, in <module>
    from pkg_resources import DistributionNotFound as ResourceError
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Jinja2<3.0,>=2.3' distribution was not found and is required by Sphinx
[598/599] Compiling C++ object mpd.p/src_db_update_Archive.cxx.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mpd-light-0.22.6-1':

LiteracyFanatic commented on 2019-10-14 08:27 (UTC) (edited on 2019-10-14 08:28 (UTC) by LiteracyFanatic)

No, mpg123 was not installed when I built the package.

TZ86 commented on 2019-10-14 07:20 (UTC) (edited on 2019-10-14 07:20 (UTC) by TZ86)

@LiteracyFanatic

Is it possible you've mpg123 installed when you built that package?

LiteracyFanatic commented on 2019-10-14 04:27 (UTC)

I installed the package and started the user unit file for mpd. I received the following error in the journal.

/usr/bin/mpd: error while loading shared libraries: libmpg123.so.0: cannot open shared object file: No such file or directory

Installing mpg123 fixed it. Not sure if the package acutally needs to be added as a dependency or if there is a ./configure option or something that would make it work without it.

TZ86 commented on 2018-01-06 08:37 (UTC) (edited on 2018-01-06 08:39 (UTC) by TZ86)

@cu6apum

Just add --disable-lsr, --disable-soxr, --disable-sqlite and --disable-nfs configure options to your PKGBUILD, and don't forgot to remove redundant depends. You're always can unpack source tarball, check ./configure --help for options which you don't need, then replace "enable" with "disable" and add them to PKGBUILD.

https://pastebin.com/BFJVMdJz

cu6apum commented on 2018-01-05 21:33 (UTC)

Hi there. Wonderful!!! A great fork of a nice but very fat daemon. Is there any way to cut out samplerate/soxr things and sqlite/nfs (assumed they're not needed for renderer-only purpose, no local content)?

Many thanks from a newbie.

TZ86 commented on 2016-12-25 06:31 (UTC)

@jpoppe Done.

jpoppe commented on 2016-12-24 21:22 (UTC) (edited on 2016-12-24 21:22 (UTC) by jpoppe)

Could you please add 'armv7h' to the arch field so it will work with the later Raspberry models, thanks!

kvigor commented on 2015-09-25 15:49 (UTC)

The regular MPD package has started segfaulting in libsmbclient on my Raspberry Pi, so I installed this package. To do so, I had to add 'armv6h' to the arch field in PKGBUILD. Based on my experience, it works just fine and you can add it to the supported architectures. Also, I note that while your description says smbclient is excluded, the config script will actually include it if libsmbclient happens to be installed on your system. I fixed this by explicitly adding --disable-smbclient to the configure call in PKGBUILD. I don't know if you would want to add this or not, but it made my life better. Thanks for the build, solved my problem!

TZ86 commented on 2014-11-09 07:45 (UTC)

@ava1ar Just rebuild the package.

ava1ar commented on 2014-11-09 07:12 (UTC)

Looks like openal package is required to run, without it I am getting "/usr/bin/mpd: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory"

TZ86 commented on 2014-03-13 10:13 (UTC)

@mikes What exactly says mpd when you trying to start it? Also may you upload build log to pastebin.com and paste link there?

mikes commented on 2014-03-13 10:00 (UTC)

@TZ86 i tried to compile it again with the same error. Lame and opus were needed in order for mpd to be able to start. I recompiled with: --disable-opus \ --disable-lame-encoder \ and now everything is fine.

TZ86 commented on 2014-03-07 16:17 (UTC)

@mikes >and mpd needed lame and opus to be able to start Hm, I cannot reproduce it. Have you tried to rebuild this package?

mikes commented on 2014-03-07 14:09 (UTC)

I built it on my rpi and mpd needed lame and opus to be able to start. Shouldn't they be depedencies or am i doing something wrong?

dimigon commented on 2013-04-01 15:02 (UTC)

You'll also need the cdio paranoia patch that fixes up the the include path for the header. You'll find it here: https://github.com/quantumdream/misc/commit/1ec7e977b19d7a4e8bc90240adfb06fa60aebd72

commented on 2012-11-02 05:58 (UTC)

Could you please add the following lines to your PKGBUILD: provides=('mpd') conflicts=('mpd')

OK100 commented on 2012-07-15 06:26 (UTC)

Done.

commented on 2012-07-15 06:05 (UTC)

Could you please move /lib/systemd/system/mpd.service to /usr/lib/systemd/system/mpd.service so I can update glibc to 2.16.0-2?

commented on 2012-07-05 22:35 (UTC)

There's 0.17 already. md5sum 06be323c1655d5503912d76786284f30 Also compiles on ARM, so you can add it to architecture.