Changeset - a0f41d9138d9
[Not reviewed]
default
0 0 7
Nathan Brink (binki) - 16 years ago 2009-03-10 12:25:30
ohnobinki@ohnopublishing.net
dev-libs/libxml: initial import from Gentoo portage
7 files changed with 251 insertions and 0 deletions:
0 comments (0 inline, 0 general)
dev-libs/libxml/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-libs/libxml
 
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/ChangeLog,v 1.23 2009/02/03 23:53:09 patrick Exp $
 

	
 
*libxml-1.8.17-r3 (03 Feb 2009)
 

	
 
  03 Feb 2009; Patrick Lauer <patrick@gentoo.org>
 
  +files/open_call_fix.patch, +libxml-1.8.17-r3.ebuild:
 
  gcc 4.3.3 fix, thanks to Romain Perier. Closes #257309
 

	
 
  14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
 
  libxml-1.8.17-r2.ebuild:
 
  Fix bug #226887.
 

	
 
  09 Jun 2008; Jeremy Olexa <darkside@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  Fix dep on dev-util/gtk-doc-1. bug #221719, thanks to flameeyes for reporting
 

	
 
  14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
 
  add <herd>no-herd</herd>
 

	
 
  07 Feb 2007; Harald van Dijk <truedfx@gentoo.org>
 
  +files/configure-LANG.patch, libxml-1.8.17-r2.ebuild:
 
  Apply configure-LANG.patch to fix build with et_EE locale (#119094)
 

	
 
  27 Dec 2004; Seemant Kulleen <seemant@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  added doc USE with gtk-doc dependency, thanks to: Francisco Javier
 
  <ffelix@sshinf.com> in bug #62760
 

	
 
  28 Jul 2004; Tom Gall <tgall@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  stable on ppc64, bug #55076
 

	
 
  13 May 2004; Stephen P. Becker <geoman@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  Stable on mips.
 

	
 
  17 Feb 2004; Joshua Kinard <kumba@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  Added ~mips to keywords.
 

	
 
  09 Jan 2004; <agriffis@gentoo.org> libxml-1.8.17-r2.ebuild:
 
  stable on ia64
 

	
 
  30 Mar 2003; phoen][x <phoenix@gentoo.org> libxml-1.8.17-r2.ebuild :
 
  Updated SRC_URI. Thanks to 'noidd' in #zaurus for the contribution.
 

	
 
  04 Feb 2003; Aron Griffis <agriffis@gentoo.org> libxml-1.8.17-r2.ebuild :
 
  Mark stable on alpha
 

	
 
  16 Dec 2002; Aron Griffis <agriffis@gentoo.org> libxml-1.8.17-r2.ebuild :
 
  Added ~alpha to KEYWORDS
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 
 
 
*libxml-1.8.17-r2 (25 March 2002)
 

	
 
  06 Jul 2003; Guy Martin <gmsoft@gentoo.org> libxml-1.8.17-r2.ebuild :
 
  Added hppa to KEYWORDS.
 

	
 
  22 Oct 2002; Seemant Kulleen <seemant@gentoo.org> libxml-1.8.17-r2.ebuild :
 

	
 
  Updated SRC_URI. Closes bug #9501 by prophyro@hotmail.com (Boris Terzic)
 

	
 
  06 Aug 2002; Mark Guertin <gerk@gentoo.org> : 
 
  Added ppc to keywords
 

	
 
  25 March 2002; M.Schlemmer <azarah@gentoo.org> :
 

	
 
  Delete the /usr/include/gnome-xml/libxml symlink in pkg_preinst() as it
 
  gets unmerged sometimes.
 

	
 
*libxml-1.8.17-r1 (24 March 2002)
 

	
 
  24 March 2002; M.Schlemmer <azarah@gentoo.org> :
 

	
 
  Fix html pages to install into the correct location.
 

	
 
*libxml-1.8.16 (1 Feb 2002)
 

	
 
  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
 
  
 
  Added initial ChangeLog which should be updated whenever the package is
 
  updated in any way. This changelog is targetted to users. This means that the
 
  comments should well explained and written in clean English. The details about
 
  writing correct changelogs are explained in the skel.ChangeLog file which you
 
  can find in the root directory of the portage repository.
dev-libs/libxml/Manifest
Show inline comments
 
new file 100644
 
AUX configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
 
AUX open_call_fix.patch 363 RMD160 d504ae87018452fb4f4908c7b8f63df33520de8e SHA1 8b5bd7aba70b055c1588dd2f69633e6942c225b2 SHA256 7a9aec42a5e3fe2278eac4273e4315518136888089de1a2a17874e1935154995
 
DIST libxml-1.8.17.tar.gz 996351 RMD160 3d01879e6e5a38f4453d009ea8bd2d2fc9e86bcc SHA1 ebe7b76bb2b62c882000c1a846a6f8f8346e3bb4 SHA256 bffd3178dec8d75e2cfe05f4a4c36319c8fd3206209e32ef84e1a7c5173a86ed
 
EBUILD libxml-1.8.17-r2.ebuild 1244 RMD160 4c44af3c260da701a8973e72ba24a5e2bb0d370b SHA1 5129f8ece342d3ab32fdf36f5454a3cc51331dd9 SHA256 89d296a2c6d1a33b3d34e9c3f127f82a7dbfceb425fe2ae82dd3f9b741e17d95
 
EBUILD libxml-1.8.17-r3.ebuild 1296 RMD160 b954bde1e522234eded6556a442b0cde0250b9dd SHA1 35c6436f9729c380ec81faefc52f8113edb72f14 SHA256 00d19f5b27ef70d1380348a74d291eec75fa19b2ec18bb86e8ea61961e373113
 
MISC ChangeLog 3037 RMD160 cc860089735260e410869be60fe09b0fc59ebdde SHA1 a44d0fa200e3643f8343b8eebc4d233fe3c6636e SHA256 b1d6c07af0ec4bdef22e87368f21298565dd14a259956f14a4b25491a80d62b8
 
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
dev-libs/libxml/files/configure-LANG.patch
Show inline comments
 
new file 100644
 
The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in 
 
option parsing, it may break.
 

	
 
http://bugs.gentoo.org/103483
 

	
 
--- configure
 
+++ configure
 
@@ -54,6 +54,16 @@
 
 infodir='${prefix}/info'
 
 mandir='${prefix}/man'
 
 
 
+# NLS nuisances.
 
+# Only set these to C if already set.  These must not be set unconditionally
 
+# because not all systems understand e.g. LANG=C (notably SCO).
 
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
 
+# Non-C LC_CTYPE values break the ctype check.
 
+if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 
+if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
+
 
 # Initialize some other variables.
 
 subdirs=
 
 MFLAGS= MAKEFLAGS=
 
@@ -452,16 +463,6 @@
 
   esac
 
 done
 
 
 
-# NLS nuisances.
 
-# Only set these to C if already set.  These must not be set unconditionally
 
-# because not all systems understand e.g. LANG=C (notably SCO).
 
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
 
-# Non-C LC_CTYPE values break the ctype check.
 
-if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 
-if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 
-
 
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 
 rm -rf conftest* confdefs.h
 
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
dev-libs/libxml/files/open_call_fix.patch
Show inline comments
 
new file 100644
 
--- old/nanohttp.c	2000-06-28 20:33:46.000000000 +0200
 
+++ new/nanohttp.c	2009-02-02 13:45:31.199209868 +0100
 
@@ -1182,7 +1182,7 @@
 
     if (!strcmp(filename, "-")) 
 
         fd = 0;
 
     else {
 
-        fd = open(filename, O_CREAT | O_WRONLY);
 
+      fd = open(filename, O_CREAT | O_WRONLY, 0644);
 
 	if (fd < 0) {
 
 	    xmlNanoHTTPClose(ctxt);
 
 	    return(-1);
dev-libs/libxml/libxml-1.8.17-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/libxml-1.8.17-r2.ebuild,v 1.30 2008/10/14 09:24:33 robbat2 Exp $
 

	
 
inherit eutils flag-o-matic
 

	
 
DESCRIPTION="Version 1 of the library to manipulate XML files"
 
HOMEPAGE="http://www.xmlsoft.org/"
 
SRC_URI="ftp://xmlsoft.org/old/${P}.tar.gz"
 

	
 
LICENSE="GPL-2 LGPL-2"
 
SLOT="1"
 
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
 
IUSE="doc"
 

	
 
RDEPEND=">=sys-libs/ncurses-5.2"
 
DEPEND="${RDEPEND}
 
	>=sys-libs/readline-4.1
 
	doc? ( >=dev-util/gtk-doc-1 )"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/configure-LANG.patch
 
}
 

	
 
src_compile() {
 
	LIBS="-lncurses" econf || die
 
	emake -j1 || die # Doesn't work with -j 4 (hallski)
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" \
 
		BASE_DIR=/usr/share/doc \
 
		DOC_MODULE=${PF} \
 
		TARGET_DIR=/usr/share/doc/${PF}/html \
 
		install || die
 

	
 
	# This link must be fixed
 
	rm "${D}"/usr/include/gnome-xml/libxml
 
	dosym /usr/include/gnome-xml /usr/include/gnome-xml/libxml
 

	
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
 

	
 
pkg_preinst() {
 
	if [[ -e ${ROOT}/usr/include/gnome-xml/libxml ]] ; then
 
		rm -f "${ROOT}"/usr/include/gnome-xml/libxml
 
	fi
 
}
dev-libs/libxml/libxml-1.8.17-r3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml/libxml-1.8.17-r3.ebuild,v 1.1 2009/02/03 23:53:09 patrick Exp $
 

	
 
inherit eutils flag-o-matic
 

	
 
DESCRIPTION="Version 1 of the library to manipulate XML files"
 
HOMEPAGE="http://www.xmlsoft.org/"
 
SRC_URI="ftp://xmlsoft.org/old/${P}.tar.gz"
 

	
 
LICENSE="GPL-2 LGPL-2"
 
SLOT="1"
 
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
 
IUSE="doc"
 

	
 
RDEPEND=">=sys-libs/ncurses-5.2"
 
DEPEND="${RDEPEND}
 
	>=sys-libs/readline-4.1
 
	doc? ( >=dev-util/gtk-doc-1 )"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 
	epatch "${FILESDIR}"/configure-LANG.patch
 
	epatch "${FILESDIR}"/open_call_fix.patch
 
}
 

	
 
src_compile() {
 
	LIBS="-lncurses" econf || die
 
	emake -j1 || die # Doesn't work with -j 4 (hallski)
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" \
 
		BASE_DIR=/usr/share/doc \
 
		DOC_MODULE=${PF} \
 
		TARGET_DIR=/usr/share/doc/${PF}/html \
 
		install || die
 

	
 
	# This link must be fixed
 
	rm "${D}"/usr/include/gnome-xml/libxml
 
	dosym /usr/include/gnome-xml /usr/include/gnome-xml/libxml
 

	
 
	dodoc AUTHORS ChangeLog NEWS README
 
}
 

	
 
pkg_preinst() {
 
	if [[ -e ${ROOT}/usr/include/gnome-xml/libxml ]] ; then
 
		rm -f "${ROOT}"/usr/include/gnome-xml/libxml
 
	fi
 
}
dev-libs/libxml/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>no-herd</herd>
 
<maintainer>
 
<email>maintainer-needed@gentoo.org</email>
 
</maintainer>
 
</pkgmetadata>
0 comments (0 inline, 0 general)