Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 175365

Summary: [EBUILD] media-sound/davemp-1.23
Product: Gentoo Linux Reporter: gizmm0
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement CC: sound, sunrise
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://ion0.com/davemp/
Whiteboard: sunrise-removal
Package list:
Runtime testing required: ---
Bug Depends on: 175364    
Bug Blocks:    
Attachments: ebuild
license
config file patch
perl script patch
init script
ebuild
new ebuild

Description gizmm0 2007-04-20 16:17:57 UTC
This is a lightweight web interface for mpd, which doesn't require any other web server.
Comment 1 gizmm0 2007-04-20 16:21:50 UTC
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 2 gizmm0 2007-04-20 16:26:43 UTC
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>
Comment 3 gizmm0 2007-04-20 16:28:43 UTC
Created attachment 116821 [details]
license

The license for davemp
Comment 4 gizmm0 2007-04-20 16:30:31 UTC
Created attachment 116822 [details, diff]
config file patch

this looks for the themes directory at the right place : /usr/share/davemp/themes
Comment 5 gizmm0 2007-04-20 16:31:51 UTC
Created attachment 116824 [details]
perl script patch

Looks for the lib directory at the right place /usr/lib/davemp
Comment 6 gizmm0 2007-04-20 16:36:12 UTC
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.
Comment 7 gizmm0 2007-04-20 16:38:36 UTC
Created attachment 116828 [details]
ebuild

Corrects the typo in the license. Sorry for comment #2, this is the first i use bugzilla.
Comment 8 gizmm0 2007-04-20 17:53:40 UTC
Created attachment 116839 [details]
new ebuild

some corrections suggested by genstef : replace epatch by sed making the patch files obsolete
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:03 UTC
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/