Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192292 - dev-dotnet/taglib-sharp-2.0.2.0 version bump
Summary: dev-dotnet/taglib-sharp-2.0.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-09-12 13:02 UTC by Claes Mogren
Modified: 2008-01-03 22:09 UTC (History)
1 user (show)

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


Attachments
taglib-sharp-2.0.2.0.ebuild (taglib-sharp-2.0.2.0.ebuild,706 bytes, text/plain)
2007-09-12 13:02 UTC, Claes Mogren
Details
Improved ebuild for taglib-sharp-2.0.2.0 (taglib-sharp-2.0.2.0.ebuild,1.07 KB, text/plain)
2007-11-25 20:40 UTC, Nirbheek Chauhan (RETIRED)
Details
Fix the documentation install directory (taglib-sharp-fix-docdir.patch,1.00 KB, patch)
2007-11-25 20:40 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff
Fix the documentation building test in configure (taglib-sharp-fix-docs-test.patch,519 bytes, patch)
2007-11-25 20:41 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff
Patch configure.ac to make gnome-sharp an optional dependency (taglib-sharp-gnome-sharp-toggle.patch,1022 bytes, patch)
2007-11-25 20:42 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff
Improved ebuild for taglib-sharp-2.0.2.0 (with fix for sandbox violation) (taglib-sharp-2.0.2.0.ebuild,1.18 KB, text/plain)
2007-11-25 21:12 UTC, Nirbheek Chauhan (RETIRED)
Details
Fix sandbox violation (taglib-sharp-fix-sandbox-violation.patch,1.56 KB, patch)
2007-11-25 21:13 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff
Ebuild for taglib-sharp with proper error messaging (|| die) (taglib-sharp-2.0.2.0.ebuild,1.21 KB, text/plain)
2008-01-03 21:59 UTC, Nirbheek Chauhan (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claes Mogren 2007-09-12 13:02:05 UTC
Ebuild for the completely managed versision of taglib#. Not a wrapper of taglib any more. 

Reproducible: Always

Steps to Reproduce:

Actual Results:  
I could not get the documentation working in the same way as in taglib-sharp-1.9.75474. Get a violation when it tries to access /usr/lib64/monodoc/monodoc.xml


The ebuild is only tested on ~amd64 and I haven't been able to tell what version of mono that is required. The homepage has moved to http://www.taglib-sharp.com
Comment 1 Claes Mogren 2007-09-12 13:02:49 UTC
Created attachment 130701 [details]
taglib-sharp-2.0.2.0.ebuild

taglib-sharp-2.0.2.0.ebuild
Comment 2 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-14 17:59:35 UTC
Thanks for the ebuild. However, there are some issues you should consider before we can accept it:

1. You have IUSE="doc" but don't refer to doc use flag anywhere else in the ebuild
2. You can check which packages does taglib-sharp depends on after reading configure.ac, and so it seems that monodoc and gnome-sharp are also supported. You can introduce them as conditional dependencies (doc and X use flags)
3. Sources include examples subdirectory, you can make use of the "examples" use flag.
4. The access violation happens because taglib-sharp wants to append stuff to monodoc.xml, we have to find a way to avoid it
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 20:40:03 UTC
Created attachment 137000 [details]
Improved ebuild for taglib-sharp-2.0.2.0

The attached ebuild does the following:

 * taglib-sharp-fix-docdir.patch, taglib-sharp-fix-docs-test.patch
    doc USE flag works and installs documentation in the correct place now
 * taglib-sharp-fix-docs-test.patch
    add a gnome-sharp dependency and make it optional (USE=gnome)
 * econf dies on its own, remove "|| die" for it
 * inherit autotools to use eautoreconf after applying patches
 * Use EAPI=1

Patches used in the ebuild are attached below
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 20:40:54 UTC
Created attachment 137002 [details, diff]
Fix the documentation install directory
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 20:41:26 UTC
Created attachment 137004 [details, diff]
Fix the documentation building test in configure
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 20:42:07 UTC
Created attachment 137006 [details, diff]
Patch configure.ac to make gnome-sharp an optional dependency
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 21:12:34 UTC
Created attachment 137009 [details]
Improved ebuild for taglib-sharp-2.0.2.0 (with fix for sandbox violation)

My sandbox seems to have been malfunctioning, it wasn't flagging the append to monodoc.xml as a violation. Here's the ebuild + patch to fix the sandbox violation.
Comment 8 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-11-25 21:13:27 UTC
Created attachment 137010 [details, diff]
Fix sandbox violation

Fix the sandbox violation by simply removing the relevant code
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2008-01-03 21:59:07 UTC
Created attachment 139996 [details]
Ebuild for taglib-sharp with proper error messaging (|| die)

Changes made to ebuild as per IRC chat with jurek;

- "|| die" for econf and eautoreconf (my memory seems to have been faulty; they both require it as well)
- Fix "$Header $"
- Fix Copyright date to 1999-2008 (Happy New Year! ;)
Comment 10 Jurek Bartuszek (RETIRED) gentoo-dev 2008-01-03 22:09:30 UTC
Fixed in CVS, thanks!