Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312555 Details for
Bug 416945
media-sound/mpd-0.16.5 works in MacOSX with patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Better patch (uses +prefix, not -createuser)
mpd.patch (text/plain), 3.67 KB, created by
Matthew Alexander LaChance
on 2012-05-21 17:22:21 UTC
(
hide
)
Description:
Better patch (uses +prefix, not -createuser)
Filename:
MIME Type:
Creator:
Matthew Alexander LaChance
Created:
2012-05-21 17:22:21 UTC
Size:
3.67 KB
patch
obsolete
>*** usr/portage/media-sound/mpd/mpd-0.16.5.ebuild 2012-05-05 05:05:09.000000000 -0400 >--- var/portage/media-sound/mpd/mpd-0.16.5-r1.ebuild 2012-05-21 13:18:04.000000000 -0400 >*************** >*** 1,6 **** > # Copyright 1999-2012 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >! # $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.16.5.ebuild,v 1.10 2012/05/05 08:39:48 mgorny Exp $ > > EAPI=4 > inherit eutils flag-o-matic linux-info multilib >--- 1,6 ---- > # Copyright 1999-2012 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >! # $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.16.5.ebuild,v 1.9 2012/04/25 07:04:22 angelos Exp $ > > EAPI=4 > inherit eutils flag-o-matic linux-info multilib >*************** >*** 11,21 **** > > LICENSE="GPL-2" > SLOT="0" >! KEYWORDS="amd64 arm hppa ppc ppc64 sh sparc x86 ~x86-fbsd" > IUSE="aac +alsa ao audiofile bzip2 cdio cue +curl debug +fifo +ffmpeg flac > fluidsynth profile +id3tag inotify ipv6 jack lame lastfmradio mms libsamplerate >! +mad mikmod modplug mpg123 musepack +network ogg openal oss pipe pulseaudio sid >! sndfile sqlite tcpd twolame unicode vorbis wavpack wildmidi zeroconf zip" > > REQUIRED_USE="|| ( alsa ao fifo jack network openal oss pipe pulseaudio ) > || ( aac audiofile ffmpeg flac fluidsynth mad mikmod modplug mpg123 musepack >--- 11,22 ---- > > LICENSE="GPL-2" > SLOT="0" >! KEYWORDS="amd64 arm hppa ppc ppc64 sh sparc ~x64-macos x86 ~x86-fbsd" > IUSE="aac +alsa ao audiofile bzip2 cdio cue +curl debug +fifo +ffmpeg flac > fluidsynth profile +id3tag inotify ipv6 jack lame lastfmradio mms libsamplerate >! +mad mikmod modplug mpg123 musepack +network ogg openal oss pipe prefix >! pulseaudio sid sndfile sqlite tcpd twolame unicode vorbis wavpack wildmidi >! zeroconf zip" > > REQUIRED_USE="|| ( alsa ao fifo jack network openal oss pipe pulseaudio ) > || ( aac audiofile ffmpeg flac fluidsynth mad mikmod modplug mpg123 musepack >*************** >*** 62,74 **** > zeroconf? ( net-dns/avahi[dbus] ) > zip? ( dev-libs/zziplib )" > DEPEND="${RDEPEND} >! virtual/pkgconfig" > > pkg_setup() { > use network || ewarn "Icecast and Shoutcast streaming needs networking." > use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." > >! enewuser mpd "" "" "/var/lib/mpd" audio > > if use inotify; then > CONFIG_CHECK="~INOTIFY_USER" >--- 63,75 ---- > zeroconf? ( net-dns/avahi[dbus] ) > zip? ( dev-libs/zziplib )" > DEPEND="${RDEPEND} >! dev-util/pkgconfig" > > pkg_setup() { > use network || ewarn "Icecast and Shoutcast streaming needs networking." > use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." > >! use prefix || enewuser mpd "" "" "/var/lib/mpd" audio > > if use inotify; then > CONFIG_CHECK="~INOTIFY_USER" >*************** >*** 160,169 **** > > if use unicode; then > sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ >! "${D}"/etc/mpd.conf || die "sed failed" > fi > >! diropts -m0755 -o mpd -g audio > dodir /var/lib/mpd > keepdir /var/lib/mpd > dodir /var/lib/mpd/music >--- 161,170 ---- > > if use unicode; then > sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ >! "${ED}"/etc/mpd.conf || die "sed failed" > fi > >! use prefix || diropts -m0755 -o mpd -g audio > dodir /var/lib/mpd > keepdir /var/lib/mpd > dodir /var/lib/mpd/music >*************** >*** 177,181 **** > elog "sure that MPD's pid_file is unset." > > # also change the homedir if the user has existed before >! usermod -d "/var/lib/mpd" mpd > } >--- 178,182 ---- > elog "sure that MPD's pid_file is unset." > > # also change the homedir if the user has existed before >! use prefix || usermod -d "/var/lib/mpd" mpd > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 416945
:
312549
|
312555
|
312569
|
312571
|
312677