I have created a very useful jukebox that streams my music to my office at work and plays it through my music system at home. Created my first ever ebuild for this if anyone is interested. www.ampache.org Reproducible: Always Steps to Reproduce: 1. 2. 3. Would it possible to get this into portage? I would be happy to maintain the package.
Created attachment 59534 [details] ignore Ebuild for Ampache 3.3.1_beta1
Created attachment 59536 [details] 3.3.1 Beta 1 Ebuild
Created attachment 60442 [details] Ampache 3.3.1 Beta2 Ebuild
Anyone know why I get the following errors on a unmerge -: >>> Unmerging www-apps/ampache-3.3.1_beta2... No package files given... Grabbing a set. --- !empty dir /var/www/localhost/icons --- !empty dir /var/www/localhost/error --- !empty dir /var/www/localhost/cgi-bin * Remove whatever is listed above by hand * Checking permissions on web site and document root directories .. * Cannot find file /.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file */.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file Checking/.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file permissions/.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file on/.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file web/.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file site/.webapp Fatal error: No package installed in /var/www/localhost/htdocs/ampache Fatal error(s) - aborting * Cannot find file and/.webapp It does eventually unmerge successfully.
Created attachment 61774 [details] Ampache 3.3.1 Stable Release
Created attachment 61780 [details] Ampache 3.3.1 Stable Release This one works!!
Sorry I haven't said anything sooner, but I've been watching this bug intending to get ampache into portage once I get the chance. I'm new to dealing with installing www-apps, but I'll toy with it for a little bit. the ebuild needs a bit of work, I just tried the most recent one and it dumped amache into / :-(
(In reply to comment #7) > Sorry I haven't said anything sooner, but I've been watching this bug intending > to get ampache into portage once I get the chance. I'm new to dealing with > installing www-apps, but I'll toy with it for a little bit. the ebuild needs a > bit of work, I just tried the most recent one and it dumped amache into / :-( Hmm, works fine here, gets installed into http://localhost/ampache Still get those errors when un-emerging through. I am very new to ebuilds as you can tell! :)
(In reply to comment #8) > > Hmm, works fine here, gets installed into http://localhost/ampache > > Still get those errors when un-emerging through. I am very new to ebuilds as > you can tell! :) > Ignore that, it does unmerge successfully.
Created attachment 61894 [details] Ampache 3.3.1 Stable Ebuild
oops, I was playing around with the ebuild and made a typo, taht's why it went into / so it works for me afterall :-P off to portage it goes!
Committed to CVS, Thanks!
1. Why RESTRICT="nomirror" if it's GPL-2? 2. You shouldn't rm -rf in src_install. Sequential `ebuild installs' shouldn't fail.
reassigning
(In reply to comment #13) > 1. Why RESTRICT="nomirror" if it's GPL-2? > 2. You shouldn't rm -rf in src_install. Sequential `ebuild installs' shouldn't fail. oops, I started to clean that up, but then committed the non-cleaned up one by accident. I'll take care of it soon.
(In reply to comment #13) > 1. Why RESTRICT="nomirror" if it's GPL-2? > 2. You shouldn't rm -rf in src_install. Sequential `ebuild installs' shouldn't fail. Ok, cleaned up and committed, and all looks good as far as I can see. I am still using a rm -rf, but it doesn't cause anything to fail. I could do it with a for loop as some other www-app ebuilds do, but it seems a recursive rm is cleaner in this case.
closing again, let me know if there is still a problem.