This is a lightweight web interface for mpd, which doesn't require any other web server.
Created attachment 116819 [details] ebuild Depends on dev-perl/JSON-XS not on portage tree, see Bug# 175364.The license is also not on portage.
Comment on attachment 116819 [details] ebuild ><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="lightweight low-dependency web interface to mpd" >HOMEPAGE="http://ion0.com/davemp/" >SRC_URI="http://ion0.com/davemp/downloads/files/${P}.tar.gz" > >LICENSE="CCPL-Attribution-NonCommercial-ShareAlike-2.5" >SLOT="0" >KEYWORDS="~amd64 ~x86" > > >DEPEND="dev-perl/JSON-XS > dev-perl/HTTP-Server-Simple > dev-perl/Class-Accessor > media-sound/mpd" > >src_unpack() { > unpack ${A} > cd "${WORKDIR}/${P}" > epatch "${FILESDIR}"/davempd.pl.patch > epatch "${FILESDIR}"/davemp.conf.patch >} > > > >src_install() { > exeinto /etc/init.d > newexe ${FILESDIR}/davemp davemp > dodir /usr/share/${PN} > dodir /usr/lib/${PN} > insinto /usr/share/${PN}/ > doins -r themes > insinto /usr/lib/${PN}/ > doins -r lib/* > insinto /etc > newins davemp.conf davemp.conf > dobin davempd.pl > dodoc README Changelog >} > > ></PRE></BODY></HTML>
Created attachment 116821 [details] license The license for davemp
Created attachment 116822 [details, diff] config file patch this looks for the themes directory at the right place : /usr/share/davemp/themes
Created attachment 116824 [details] perl script patch Looks for the lib directory at the right place /usr/lib/davemp
Created attachment 116827 [details] init script The stop() command doesn't look very clean to me : i call killall. But start-stop-daemon doesn't seem to record correctly the pid. Indeed : "actual pid"="recorded pid"+1.
Created attachment 116828 [details] ebuild Corrects the typo in the license. Sorry for comment #2, this is the first i use bugzilla.
Created attachment 116839 [details] new ebuild some corrections suggested by genstef : replace epatch by sed making the patch files obsolete
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/