Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93544 - Ebuild for Ampache
Summary: Ebuild for Ampache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Micheal Marineau (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 05:48 UTC by Steven Coutts
Modified: 2005-06-26 20:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ignore (,896 bytes, text/plain)
2005-05-22 05:49 UTC, Steven Coutts
Details
3.3.1 Beta 1 Ebuild (ampache-3.3.1_beta1.ebuild,899 bytes, text/plain)
2005-05-22 06:24 UTC, Steven Coutts
Details
Ampache 3.3.1 Beta2 Ebuild (ampache-3.3.1_beta2.ebuild,899 bytes, text/plain)
2005-06-01 23:29 UTC, Steven Coutts
Details
Ampache 3.3.1 Stable Release (ampache-3.3.1.ebuild,720 bytes, text/plain)
2005-06-23 04:44 UTC, Steven Coutts
Details
Ampache 3.3.1 Stable Release (ampache-3.3.1.ebuild,714 bytes, text/plain)
2005-06-23 06:58 UTC, Steven Coutts
Details
Ampache 3.3.1 Stable Ebuild (ampache-3.3.1.ebuild,714 bytes, text/plain)
2005-06-25 01:51 UTC, Steven Coutts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Coutts 2005-05-22 05:48:24 UTC
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.
Comment 1 Steven Coutts 2005-05-22 05:49:22 UTC
Created attachment 59534 [details]
ignore

Ebuild for Ampache 3.3.1_beta1
Comment 2 Steven Coutts 2005-05-22 06:24:49 UTC
Created attachment 59536 [details]
3.3.1 Beta 1 Ebuild
Comment 3 Steven Coutts 2005-06-01 23:29:15 UTC
Created attachment 60442 [details]
Ampache 3.3.1 Beta2 Ebuild
Comment 4 Steven Coutts 2005-06-01 23:40:25 UTC
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. 
 
Comment 5 Steven Coutts 2005-06-23 04:44:02 UTC
Created attachment 61774 [details]
Ampache 3.3.1 Stable Release
Comment 6 Steven Coutts 2005-06-23 06:58:52 UTC
Created attachment 61780 [details]
Ampache 3.3.1 Stable Release

This one works!!
Comment 7 Micheal Marineau (RETIRED) gentoo-dev 2005-06-24 15:15:00 UTC
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 / :-(
Comment 8 Steven Coutts 2005-06-25 01:40:24 UTC
(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! :) 
 
Comment 9 Steven Coutts 2005-06-25 01:43:39 UTC
(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. 
 
Comment 10 Steven Coutts 2005-06-25 01:51:42 UTC
Created attachment 61894 [details]
Ampache 3.3.1 Stable Ebuild
Comment 11 Micheal Marineau (RETIRED) gentoo-dev 2005-06-26 17:33:57 UTC
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!
Comment 12 Micheal Marineau (RETIRED) gentoo-dev 2005-06-26 17:47:51 UTC
Committed to CVS, Thanks!
Comment 13 Renat Lumpau (RETIRED) gentoo-dev 2005-06-26 18:29:08 UTC
1. Why RESTRICT="nomirror" if it's GPL-2?
2. You shouldn't rm -rf in src_install. Sequential `ebuild installs' shouldn't fail.
Comment 14 Renat Lumpau (RETIRED) gentoo-dev 2005-06-26 18:30:38 UTC
reassigning
Comment 15 Micheal Marineau (RETIRED) gentoo-dev 2005-06-26 19:54:56 UTC
(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.
Comment 16 Micheal Marineau (RETIRED) gentoo-dev 2005-06-26 20:58:51 UTC
(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.
Comment 17 Micheal Marineau (RETIRED) gentoo-dev 2005-06-26 20:59:59 UTC
closing again, let me know if there is still a problem.