Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81768 - cdcover ebuild (New Package)
Summary: cdcover ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://cdcover.sourceforge.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-02-12 11:43 UTC by Roland Schäuble
Modified: 2008-06-07 09:23 UTC (History)
4 users (show)

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


Attachments
cdcover-0.5.3 ebuild (cdcover-0.5.3.ebuild,693 bytes, text/plain)
2005-02-12 11:45 UTC, Roland Schäuble
Details
Ebuild for cdcover-0.7.1 (cdcover-0.7.1.ebuild,674 bytes, text/plain)
2006-04-08 10:30 UTC, Roland Schäuble
Details
Updated cdcover-0.7.1 ebuild (cdcover-0.7.1.ebuild,932 bytes, text/plain)
2007-07-03 10:45 UTC, BT
Details
cdcover .desktop menu entry file (cdcover.desktop,212 bytes, text/plain)
2007-07-03 10:46 UTC, BT
Details
Updated cdcover-0.7.1 ebuild (cdcover-0.7.1.ebuild,971 bytes, text/plain)
2007-07-04 00:56 UTC, BT
Details
Updated cdcover-0.7.1 ebuild (cdcover-0.7.1.ebuild,952 bytes, text/plain)
2007-07-04 02:21 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Schäuble 2005-02-12 11:43:32 UTC
Hi gentoo team,

Please find attached cdcover-0.5.3 ebuild.
cdcover is an application, written in python to create
cdcovers for jewel cd-cases. It can use the PyCDDB or CDDB/DiscID python modules
to access a CDDB server to get information about audio discs and fill 
in the information automatically.

Roland
Comment 1 Roland Schäuble 2005-02-12 11:45:34 UTC
Created attachment 51072 [details]
cdcover-0.5.3 ebuild
Comment 2 Roland Schäuble 2006-04-08 10:30:02 UTC
Created attachment 84213 [details]
Ebuild for cdcover-0.7.1

Updated for new version and sourceforge mirror.
Comment 3 BT 2007-07-03 10:45:49 UTC
Created attachment 123755 [details]
Updated cdcover-0.7.1 ebuild

Updated cdcover-0.7.1 ebuild. The previous 0.7.1 ebuild didn't work for me.

Main changes:

1. Removed virtual/psviewer dependency as this no longer exists. Replaced with gsview and gv USE flags. Both are optional and are provided for convenience. PostScript viewer is configurable in cdcover. I personally use Evince and it works fine.
2. Added a .desktop file for menu entry.
3. Added an optional cddb USE flag which allows cdcover to retrieve freedb entries.
4. Added a check for tk support in python. The ebuild will die if tk support is not present.
5. Various other fixes such as ebuild formating, cleaner description and updated ebuild header.
Comment 4 BT 2007-07-03 10:46:38 UTC
Created attachment 123756 [details]
cdcover .desktop menu entry file
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-07-03 14:37:21 UTC
(In reply to comment #4)
> Created an attachment (id=123756) [edit]
> cdcover .desktop menu entry file
> 

Since you are allready inheriting eutils eclass, it also provides command make_desktop_entry to create one.

Example, make_desktop_entry cdcover "CD Cover" cdcover
Second one, make_desktop_entry command "Name" icon

Where icon is one from /usr/share/pixmaps, if one doesn't get installed by default "doicon" command can be used if there is one that can be used in sources.
Comment 6 BT 2007-07-03 14:51:17 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Created an attachment (id=123756) [edit]
> > cdcover .desktop menu entry file
> > 
> 
> Since you are allready inheriting eutils eclass, it also provides command
> make_desktop_entry to create one.
> 
> Example, make_desktop_entry cdcover "CD Cover" cdcover
> Second one, make_desktop_entry command "Name" icon
> 
> Where icon is one from /usr/share/pixmaps, if one doesn't get installed by
> default "doicon" command can be used if there is one that can be used in
> sources.
> 

I had used that function originally but removed it as it was creating a file named cdcover-cdcover.desktop instead of cdcover.desktop. It worked without problems but I removed it and went with the newmenu method. I'll change it back if you recommend.

This prob isn't the most appropriate place to ask, but could you or some other dev please take a look at bug #172799. New ebuild for MediaTomb UPnP MediaServer. Thanks.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-07-03 16:47:19 UTC
(In reply to comment #6)
> I had used that function originally but removed it as it was creating a file
> named cdcover-cdcover.desktop instead of cdcover.desktop. It worked without
> problems but I removed it and went with the newmenu method. I'll change it back
> if you recommend.

Yes, please. Filename being that way is intentional to avoid file collisions with other applications, general name like cdcover.desktop could easily be used by some other multimedia application..

I'm looking into adding this to tree, it's in my local overlay now for testing and I tend to move working stuff from there to tree eventually. :)
Comment 8 BT 2007-07-04 00:56:19 UTC
Created attachment 123846 [details]
Updated cdcover-0.7.1 ebuild

Samuli,

I have updated the ebuild to now use make_desktop_entry. Thank you for the feedback.
Comment 9 BT 2007-07-04 02:21:34 UTC
Created attachment 123849 [details]
Updated cdcover-0.7.1 ebuild

Forgot to remove an echo statement from the ebuild.
Comment 10 BT 2007-09-09 03:09:31 UTC
Version 0.7.2 released on 2007-08-05 which fixes a minor bug. The 0.7.1 ebuild work as-is, just rename the ebuild to "cdcover-0.7.2.ebuild".

Samuli Suominen, can we please have a progress update for this ebuild?
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-06-07 09:23:36 UTC
(In reply to comment #10)
> Version 0.7.2 released on 2007-08-05 which fixes a minor bug. The 0.7.1 ebuild
> work as-is, just rename the ebuild to "cdcover-0.7.2.ebuild".
> 
> Samuli Suominen, can we please have a progress update for this ebuild?
> 

0.7.3 in portage now.