Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317891 - dev-libs/libxml2: prefix support + bootstrap fix
Summary: dev-libs/libxml2: prefix support + bootstrap fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2010-04-30 11:51 UTC by Fabian Groffen
Modified: 2011-02-12 11:27 UTC (History)
1 user (show)

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


Attachments
Prefix diff (libxml2-2.7.7-prefix.patch,5.28 KB, patch)
2010-04-30 11:52 UTC, Fabian Groffen
Details | Diff
libxml2-2.7.8-prefix.patch (libxml2-2.7.8-prefix.patch,3.53 KB, patch)
2011-02-12 10:52 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2010-04-30 11:51:12 UTC
There are a lot of changes, but the majority of them being addition of ED, EROOT or EPREFIX to calling arguments.

The most important bits left are:
- EAPI=3
- addition of KEYWORDS
- 2 Gentoo Prefix specific patches + eprefixify call
- conditional call of python_execute_function to break bootstrapping

Will attach the diff due to its size.
Comment 1 Fabian Groffen gentoo-dev 2010-04-30 11:52:03 UTC
Created attachment 229797 [details, diff]
Prefix diff

Please find the patches being referred to here:
http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/dev-libs/libxml2/files
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-30 13:33:14 UTC
These changes looks mostly fine, but what about simply not building xmllint instead of removing it at pkg_preinst ?
Comment 3 Fabian Groffen gentoo-dev 2010-04-30 13:35:19 UTC
that's only for winnt, but I guess if you can tell it not to build it, that's the more desirable approach as it takes less time.
Comment 4 Fabian Groffen gentoo-dev 2010-05-14 08:23:32 UTC
I see a way to disable building xmlcatalog with configure, but not xmllint.  Is there a way without messing with makefiles?
Comment 5 Fabian Groffen gentoo-dev 2010-05-14 08:24:57 UTC
scratch that, catalog is not the same as xmlcatalog.
Comment 6 Pacho Ramos gentoo-dev 2011-02-11 17:31:43 UTC
Could you please update the patch for 2.7.8? Thanks a lot
Comment 7 Fabian Groffen gentoo-dev 2011-02-12 10:52:15 UTC
Created attachment 262221 [details, diff]
libxml2-2.7.8-prefix.patch

Here it is.  Note that it fixes a flaw in the gx86 ebuild that does an EROOT == / comparison.
Comment 8 Pacho Ramos gentoo-dev 2011-02-12 11:27:15 UTC
+  12 Feb 2011; Pacho Ramos <pacho@gentoo.org>
+  +files/libxml2-2.7.1-catalog_path.patch, +files/libxml2-2.7.2-winnt.patch,
+  libxml2-2.7.8.ebuild:
+  Apply fixes for PREFIX support (bug #317891), thanks a lot to Fabian Groffen
+  for the patch.
+