Bug 192292 - dev-dotnet/taglib-sharp-2.0.2.0 version bump
Bug#: 192292 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: dotnet@gentoo.org Reported By: cm@acc.umu.se
Component: Ebuilds
URL: 
Summary: dev-dotnet/taglib-sharp-2.0.2.0 version bump
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2007-09-12 13:02 0000
Description:   Opened: 2007-09-12 13:02 0000
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 From Claes Mogren 2007-09-12 13:02:49 0000 -------
Created an attachment (id=130701) [details]
taglib-sharp-2.0.2.0.ebuild

taglib-sharp-2.0.2.0.ebuild

------- Comment #2 From Jurek Bartuszek 2007-09-14 17:59:35 0000 -------
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 From Nirbheek Chauhan 2007-11-25 20:40:03 0000 -------
Created an attachment (id=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 From Nirbheek Chauhan 2007-11-25 20:40:54 0000 -------
Created an attachment (id=137002) [details]
Fix the documentation install directory

------- Comment #5 From Nirbheek Chauhan 2007-11-25 20:41:26 0000 -------
Created an attachment (id=137004) [details]
Fix the documentation building test in configure

------- Comment #6 From Nirbheek Chauhan 2007-11-25 20:42:07 0000 -------
Created an attachment (id=137006) [details]
Patch configure.ac to make gnome-sharp an optional dependency

------- Comment #7 From Nirbheek Chauhan 2007-11-25 21:12:34 0000 -------
Created an attachment (id=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 From Nirbheek Chauhan 2007-11-25 21:13:27 0000 -------
Created an attachment (id=137010) [details]
Fix sandbox violation

Fix the sandbox violation by simply removing the relevant code

------- Comment #9 From Nirbheek Chauhan 2008-01-03 21:59:07 0000 -------
Created an attachment (id=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 From Jurek Bartuszek 2008-01-03 22:09:30 0000 -------
Fixed in CVS, thanks!