Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116346 - unify xml2 with xml USE flags in a few packages
Summary: unify xml2 with xml USE flags in a few packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: SpanKY
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
: 124310 127027 135500 136795 (view as bug list)
Depends on: 116347
Blocks:
  Show dependency tree
 
Reported: 2005-12-21 20:22 UTC by SpanKY
Modified: 2007-05-31 10:54 UTC (History)
18 users (show)

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


Attachments
list of ebuilds with xml2 use flag (xml2list.txt,3.97 KB, text/plain)
2006-02-07 17:12 UTC, Jakub Moc (RETIRED)
Details
updated list of ebuilds with xml2 use flag (xml2use-sorted.txt,1.37 KB, text/plain)
2006-06-05 12:04 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-12-21 20:22:40 UTC
it'd be great if we could unify xml and xml2 USE flags into just plain old "xml"

the only packages which use both "xml" and "xml2" are:
net-fs/samba
dev-lang/php
net-print/pykota
net-misc/sitecopy

can people review their package and comment
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2005-12-22 00:18:44 UTC
Both

 -- net-fs/samba and
 -- net-print/pykota

pratically use xml2, with internal (==package) retrocompatibility checks on
the presence of older libraries. Moreover, the xml functionality is used
only by a very small percentage of users (and the vast majority of them use
xml2).
I'm confident :-) there will be no issue in unifying the xml and xml2
use flags.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2005-12-22 00:35:29 UTC
The unification is easily possible for the affected dev-lang/php ebuilds, we'll just move the "xml2" USE flag to be plain "xml" and move the only use of "xml" to the "expat" USE flag, wich serves our purpose, conclusion: it can be done easily and without problems.
Best regards, CHTEKK.
Comment 3 SpanKY gentoo-dev 2005-12-23 20:15:38 UTC
can you guys go ahead and do what you gotta do then ? :)
Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2005-12-24 03:32:52 UTC
The change was done in the PHP Overlay:
http://svn.gnqs.org/projects/gentoo-php-overlay/changeset/387
We plan to introduce it (and the new eclasses) when bug 115887 is finally solved (vapier, if you could take a quick look, tnx!).
Best regards, CHTEKK.
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2005-12-24 09:17:49 UTC
Can we hold on a moment?

How are we going to get the word out to our users that they need to change their USE flags?  Could we get the word out first, before we change anything, so that they're warned in advance?

I'm worried about breaking boxes in production use over the Christmas period, when most firms are going to be skeleton-staffed at best.

Best regards,
Stu
Comment 6 SpanKY gentoo-dev 2005-12-24 11:08:47 UTC
as noted on the mailing list, i dont think it's an issue

this bug is just to track the few packages which use both xml and xml2, the rest of the process is going to be tracked on the mailing list
Comment 7 Christian Andreetta (RETIRED) gentoo-dev 2005-12-25 02:29:35 UTC
net-fs/samba and net-print/pykota ebuilds are ready. Could a profile specify an alias?
I.e.: xml==xml2? This could prevent any user issue...
Comment 8 Luca Longinotti (RETIRED) gentoo-dev 2006-01-04 03:02:09 UTC
The new revisions of dev-lang/php are in the tree wich fix this, now there is only the "xml" USE flag.
Best regards, CHTEKK.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 04:41:30 UTC
www-apps/tikiwiki - erroneous einfo referring users to re-emerge php with non-existent xml2 use flag

www-apps/horde - erroneous pkg_setup() check for php with xml2 use flag
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2006-02-07 06:17:06 UTC
www-apps/tikiwiki done, spanky can take care of horde
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 17:12:20 UTC
Created attachment 79178 [details]
list of ebuilds with xml2 use flag


Also, we missed app-text/xml2 here, which is using xml2 use flag to select between  libxml and libxml2. 

@text-markup, pick one, please. ;)
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-02-27 15:02:57 UTC
*** Bug 124310 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 23:16:06 UTC
*** Bug 127027 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2006-04-02 09:02:37 UTC
Fixed for openoffice
Comment 15 SpanKY gentoo-dev 2006-04-02 14:35:22 UTC
i dont think we're going to retroactively fix the php stuff ... dev-lang/php is fixed and it deprecates dev-php/php and dev-php/mod_php

wine, rasqal, graphicsmagick, imagemagick, and raptor are fixed now
Comment 16 Mark Loeser (RETIRED) gentoo-dev 2006-04-08 21:21:08 UTC
handled commoncpp2.  I think that's the only cpp package.  Readd us if not :)
Comment 17 Josh Nichols (RETIRED) gentoo-dev 2006-04-09 06:24:51 UTC
Fixed dev-java/gnu-classpath, which seems to be the only java package. Please re-add if any others come up.
Comment 18 Leonardo Boshell (RETIRED) gentoo-dev 2006-04-09 11:59:18 UTC
app-text/xml2 fixed
Comment 19 Leonardo Boshell (RETIRED) gentoo-dev 2006-04-09 12:21:26 UTC
app-misc/workrave done as well, sorry about the bugspam.
Comment 20 Steev Klimaszewski (RETIRED) gentoo-dev 2006-04-09 14:22:05 UTC
dbus fixed
Comment 21 MATSUU Takuto (RETIRED) gentoo-dev 2006-06-03 12:57:01 UTC
tclxml and tcldom fixed.
Comment 22 Andrej Kacian (RETIRED) gentoo-dev 2006-06-03 13:52:08 UTC
media-sound/ptabtools doesn't have an ebuild which uses xml2 USE flag.
media-sound/jack-rack done.

I also fixed media-libs/libwmf, which is unmaintained.

I don't see anything unfixed in the list that belongs to sound herd, removing it from CC. Feel free to add it back if I missed something.
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-06-04 05:18:38 UTC
*** Bug 135500 has been marked as a duplicate of this bug. ***
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 12:04:04 UTC
Created attachment 88463 [details]
updated list of ebuilds with xml2 use flag
Comment 25 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-06 05:30:58 UTC
app-emulation/fuse done
Comment 26 Christian Andreetta (RETIRED) gentoo-dev 2006-06-08 04:03:53 UTC
net-fs/samba and net-print/pykota: 'xml2' use flag moved to 'xml'
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-06-14 09:53:45 UTC
*** Bug 136795 has been marked as a duplicate of this bug. ***
Comment 28 SpanKY gentoo-dev 2006-06-24 16:38:59 UTC
ive removed xml2 from use.desc so repoman will start to complain now

updated list:
app-office/abiword-2.2.10
app-office/abiword-2.2.11
app-office/abiword-2.4.1
app-office/abiword-2.4.2
app-office/abiword-2.4.2-r1
app-office/abiword-2.4.4
app-text/wv-1.0.0-r1
dev-db/pgcluster-1.3.0b
dev-db/pgcluster-1.3.0c
dev-db/postgresql-7.4.11
dev-db/postgresql-7.4.12
dev-db/postgresql-7.4.13
dev-db/postgresql-7.4.7-r1
dev-db/postgresql-7.4.7-r2
dev-db/postgresql-7.4.8
dev-db/postgresql-7.4.9
dev-db/postgresql-8.0.3
dev-db/postgresql-8.0.4
dev-db/postgresql-8.0.6
dev-db/postgresql-8.0.7
dev-db/postgresql-8.0.8
dev-db/postgresql-8.1.2
dev-db/postgresql-8.1.3
dev-db/postgresql-8.1.3-r1
dev-db/postgresql-8.1.4
media-gfx/k3d-0.5.0.37-r1
media-libs/mlt-20051209
media-tv/dvbtune-0.5
media-video/gpac-0.2.1
media-video/gpac-0.4.0
media-video/gpac-0.4.1_pre20060122
sci-chemistry/gromacs-3.2.1
sci-chemistry/gromacs-3.2.1-r1
sci-chemistry/gromacs-3.3
Comment 29 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 17:28:31 UTC
Ah, so that's why I was on here. gromacs fixed.
Comment 30 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-05 11:17:59 UTC
Mr_Bones_ has fixed the remaining packages and php5-sapi-r2.eclass today and I just removed the old thttpd versions that still had xml2 useflag inherited from php5-sapi-r2.

Finally done, thanks everyone for your help :)