Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10734 - docbook-xsl-stylesheets-1.57.0.ebuild (updated ebuild)
Summary: docbook-xsl-stylesheets-1.57.0.ebuild (updated ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-14 07:24 UTC by Ryan Shaw
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
docbook-xsl-stylesheets-1.57.0.ebuild (docbook-xsl-stylesheets-1.57.0.ebuild,1.68 KB, text/plain)
2002-11-14 07:25 UTC, Ryan Shaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Shaw 2002-11-14 07:24:51 UTC
Update of the docbook-xsl-stylesheets ebuild to the latest version.
Comment 1 Ryan Shaw 2002-11-14 07:25:26 UTC
Created attachment 5662 [details]
docbook-xsl-stylesheets-1.57.0.ebuild
Comment 2 Ryan Shaw 2002-11-14 07:45:38 UTC
This ebuild follows the practice of the previous ebuild,
using SLOT="0" and overwriting /etc/xml/catalog. However,
I do not agree with this approach. There is nothing wrong
with having different versions of the Docbook stylesheets
installed. In fact, a user who works with lots of Docbook
documents may even require older versions.

Thus I would suggest that we begin installing each new 
release of the Docbook stylesheets in a separate SLOT, 
and modify the ebuilds to simply add their entries to 
/etc/xml/catalog rather than overwriting it.
Comment 3 Matthew Turk (RETIRED) gentoo-dev 2002-11-16 01:06:36 UTC
Ok, just a quick question - what are the changes made between versions for XSL 
stylesheets?  Bug fixes, that sort of thing?  Or major changes?  If we see 
primarily bugfixes, then I think it might actually end up being far easier to 
keep track of installation for compatible stylesheets by updating the whole 
installation and leaving SLOT="0".  In the past, having multiple entries of 
SGML has crippled some users' installations by preventing installation of 
ANYTHING that relied on docbook.  Can it be guaranteed that this wouldn't 
happen if we change slot on the XSL stylesheets? 
Comment 4 Ryan Shaw 2002-11-17 03:43:31 UTC
Looking over the changelog for the docbook stylesheets, it does seem
like the changes are mostly bugfixes. So maybe sticking with SLOT=0
is the right thing to do. However, overwriting /etc/xml/catalog still
seems bad: other packages could be writing to this file as well, right?
Instead maybe it should use xmlcatalog --del to remove any old docbook
XSL entries.
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2002-12-20 00:46:04 UTC
Ok, I've started taking a look at this.  I'm going to have to change things 
around a bit, fixing up the postrm stuff so that it doesn't just blindly 
delete the xmlcatalog...  Indeed, yes, other packages DO write to that file.  
Ugh, this needs to be fixed, and I'll have to bump the portrevision, I think. 
Comment 6 Matthew Turk (RETIRED) gentoo-dev 2002-12-20 01:14:33 UTC
Ok, what I've done is hardcoded a remove of 1.52.2, which I didn't particularly want to do, but it seems to be the only way.  From here on out, the package will clean up after itself...  I'm committing the new ebuild.