それで困ったことになっていたわけではありません。
・MPDを動かしているサービスを停止
[vortexbox.localdomain mpd-0.17.4]# sudo systemctl stop vortexbox-player.service
・ソース解凍
[vortexbox.localdomain mpd]# tar xJvf mpd-0.17.4.tar.xz
〜 省略 〜
mpd-0.17.4/AUTHORS
mpd-0.17.4/NEWS
・パッチを当てる
[vortexbox.localdomain mpd-0.17.4]# zcat ../mpd-0.17git-20120226rtopt.diff | patch -p1
patching file Makefile.am
Hunk #1 succeeded at 221 (offset 1 line).
Hunk #2 succeeded at 402 with fuzz 2 (offset 10 lines).
patching file configure.ac
Hunk #3 succeeded at 1584 (offset 8 lines).
patching file src/conf.c
Hunk #1 succeeded at 102 (offset -1 lines).
patching file src/conf.h
patching file src/decoder_thread.c
Hunk #2 succeeded at 464 (offset 4 lines).
patching file src/main.c
Hunk #2 succeeded at 314 (offset -3 lines).
Hunk #3 succeeded at 324 (offset -3 lines).
Hunk #4 succeeded at 381 (offset -3 lines).
Hunk #5 succeeded at 487 (offset -3 lines).
patching file src/output_internal.h
patching file src/output_thread.c
Hunk #1 succeeded at 32 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 584 (offset 5 lines).
patching file src/player_thread.c
Hunk #2 succeeded at 1087 (offset 27 lines).
patching file src/rt_opt.c
patching file src/rt_opt.h
patching file src/update.c
Hunk #1 succeeded at 33 (offset 2 lines).
Hunk #2 succeeded at 76 (offset 5 lines).
・./autogen.shを実行
[vortexbox.localdomain mpd-0.17.4]# ./autogen.sh
〜 省略 〜
config.status: creating Makefile
config.status: creating doc/doxygen.conf
config.status: creating mpd.service
config.status: creating config.h
config.status: executing depfiles commands
MPD is ready for compilation, type "make" to begin.
・./configureを実行
[vortexbox.localdomain mpd-0.17.4]# ./configure --enable-wildmidi --enable-fluidsynth --enable-mikmod --enable-bzip2 --enable-zzip --enable-iso9660 --enable-pipe-output --enable-lastfm --enable-rtopt --prefix=/usr/local
〜 省略 〜
########### MPD CONFIGURATION ############
Archive support:
(+bzip2) (+ISO9660) (+ZIP)
Autodiscovery support:
(+Avahi) (-Bonjour)
Client support:
(+IPv6) (+TCP) (+UNIX Domain Sockets)
File format support:
(+AAC) (-C64 SID) (+FFMPEG) (+FLAC) (+FluidSynth) (-GME) (+libsndfile)
(+MikMod) (-MODPLUG) (+MAD) (+MPG123) (+MP4) (+Musepack)
(-OggTremor) (+OggVorbis) (+WAVE) (+WavPack) (+WildMidi)
Other features:
(+libsamplerate) (+inotify) (+SQLite) (+rtopt)
Metadata support:
(+ID3)
Playback support:
(+ALSA) (-FFADO) (+FIFO) (+File Recorder) (+HTTP Daemon) (+JACK)
(+libao) (-Media MVP) (+OSS) (-OpenAL) (-OS X) (+Pipeline)
(+PulseAudio) (-ROAR) (+SHOUTcast) (-Solaris) (-WinMM)
Streaming encoder support:
(+FLAC) (+LAME) (+Ogg Vorbis) (+TwoLAME) (+WAVE)
Streaming support:
(+CDIO_PARANOIA) (+CURL) (-Despotify) (+Last.FM) (-Soundcloud)
(+MMS) (-SOUP)
##########################################
〜 省略 〜
config.status: creating config.h
config.status: executing depfiles commands
MPD is ready for compilation, type "make" to begin.
・make実行
[vortexbox.localdomain mpd-0.17.4]# make
〜 省略 〜
vorbis -lm -logg libmixer_plugins.a -lpulse libutil.a -pthread -lgthread-2.0 -lrt -lglib-2.0 -lmp3lame -lm
make[1]: ディレクトリ `/home/hanaguro/src/mpd/mpd-0.17.4' から出ます
・インストール
[vortexbox.localdomain mpd-0.17.4]# sudo make install-strip
・MPDを動かしているサービスを開始
[vortexbox.localdomain mpd-0.17.4]# sudo systemctl start vortexbox-player.service
0 件のコメント:
コメントを投稿