Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50479 - musicman-0.11.ebuild (New)
Summary: musicman-0.11.ebuild (New)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Frank van de Pol (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-05-08 12:21 UTC by Daniel Rendall
Modified: 2004-07-07 15:26 UTC (History)
3 users (show)

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


Attachments
musicman-0.11.ebuild (musicman-0.11.ebuild,1013 bytes, text/plain)
2004-05-08 12:24 UTC, Daniel Rendall
Details
musicman-0.11.ebuild (revised to inherit kde) (musicman-0.11.ebuild,1.28 KB, text/plain)
2004-05-09 01:33 UTC, Daniel Rendall
Details
musicman-0.11.ebuild (another one) (musicman-0.11.ebuild,400 bytes, text/plain)
2004-05-22 20:40 UTC, Sridhar Dhanapalan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Rendall 2004-05-08 12:21:22 UTC
Hi!

Here's a simple ebuild I've put together (my first attempt at one) which installs MusicMan, a plugin for Konqueror for managing ID3 tags and filenames of MP3 files (see http://musicman.sourceforge.net/)

I've read the guides on contributing ebuilds and common mistakes in ebuilds and I don't think there are any obvious errors in it. There's a mysterious QT issue in that I get access violation messages if I compile it with the sandbox; using FEATURES="-sandbox" 'solves' the problem. Judging from the forums, this problem has occurred with other packages as well.

I don't know the best portage category for it, I thought maybe media-sound was the most appropriate.

Regards
Daniel Rendall
Comment 1 Daniel Rendall 2004-05-08 12:24:32 UTC
Created attachment 31008 [details]
musicman-0.11.ebuild
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-05-08 20:07:34 UTC
maybe inherit kde at the top will remove access violations
Comment 3 Daniel Rendall 2004-05-09 01:33:55 UTC
Created attachment 31027 [details]
musicman-0.11.ebuild (revised to inherit kde)

Revised version of the ebuild which inherits kde (thus removing the sandbox
issue). After some experimentation I determined that it should use the
inherited 'src_compile' function but needs to define the 'src_install' function
otherwise things end up in the wrong place because the /usr prefix is missing.

I think this now emerges cleanly.
Comment 4 Sridhar Dhanapalan 2004-05-22 20:40:14 UTC
Created attachment 31867 [details]
musicman-0.11.ebuild (another one)

Here is the ebuild I have been using. I have had no problems with it.
Comment 5 Frank van de Pol (RETIRED) gentoo-dev 2004-07-02 17:51:16 UTC
Hi Daniel,

your ebuild looks good; I've a few remarks:
- as written in the COPYING file and musicman.lsm this application appears to be released under the GPL-1 license, not LGPL-2.1 - can you please check with the author to be 100% sure?

- I successfully tested it om my gcc-3.3 machine. However, if I try to compile using the new gcc-3.4 it fails:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -fno-exceptions -fno-check-new  -c -o musicmanconfig.lo `test -f 'musicmanconfig.cpp' || echo './'`musicmanconfig.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
mmconfig.cpp:37: error: extra `;'
make[3]: *** [mmconfig.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/musicman-0.11/work/musicman/musicman/kcmmusicman'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/musicman-0.11/work/musicman/musicman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/musicman-0.11/work/musicman'
make: *** [all] Error 2

!!! ERROR: media-sound/musicman-0.11 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Comment 6 Frank van de Pol (RETIRED) gentoo-dev 2004-07-07 15:26:42 UTC
Added to portage CVS. Thanks!