summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca>2012-12-17 14:34:49 +0000
committertaca <taca>2012-12-17 14:34:49 +0000
commit8cd0d8c38dfeef2af13db729270aff525829cfe4 (patch)
tree7817aa485cd1504776ba2deb4cb7ba631960ca12 /textproc
parent581b5ea771d73caabaaea2fe0a1cf02f1e918504 (diff)
downloadpkgsrc-8cd0d8c38dfeef2af13db729270aff525829cfe4.tar.gz
Update ruby-libxml to 2.4.0.
= Release History == 2.4.0 / 2012-12-14 Charlie Savage * Support libxml 2.9.0 (Daniel Veillard) * Extensive new interfaces for xml schema functionality including suppor for schemal elements, types, facets and attributes (Anton Sozontov) * Fix Encoding#from_s bug and update docs (Nikita Afanasenko) * Node#content= encoding (Nikita Afanasenko)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-libxml/Makefile4
-rw-r--r--textproc/ruby-libxml/PLIST14
-rw-r--r--textproc/ruby-libxml/distinfo9
-rw-r--r--textproc/ruby-libxml/patches/patch-ext_libxml_ruby__xml__node.c18
4 files changed, 19 insertions, 26 deletions
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile
index 613cba17828..e5314d700b5 100644
--- a/textproc/ruby-libxml/Makefile
+++ b/textproc/ruby-libxml/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2012/09/27 13:09:11 taca Exp $
+# $NetBSD: Makefile,v 1.16 2012/12/17 14:34:49 taca Exp $
-DISTNAME= libxml-ruby-2.3.3
+DISTNAME= libxml-ruby-2.4.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/ruby-//}
CATEGORIES= textproc
diff --git a/textproc/ruby-libxml/PLIST b/textproc/ruby-libxml/PLIST
index 77e9680343a..32ed81576e5 100644
--- a/textproc/ruby-libxml/PLIST
+++ b/textproc/ruby-libxml/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2012/03/20 13:45:32 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2012/12/17 14:34:50 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/HISTORY
${GEM_LIBDIR}/LICENSE
@@ -59,6 +59,14 @@ ${GEM_LIBDIR}/ext/libxml/ruby_xml_sax_parser.c
${GEM_LIBDIR}/ext/libxml/ruby_xml_sax_parser.h
${GEM_LIBDIR}/ext/libxml/ruby_xml_schema.c
${GEM_LIBDIR}/ext/libxml/ruby_xml_schema.h
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_attribute.c
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_attribute.h
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_element.c
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_element.h
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_facet.c
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_facet.h
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_type.c
+${GEM_LIBDIR}/ext/libxml/ruby_xml_schema_type.h
${GEM_LIBDIR}/ext/libxml/ruby_xml_version.h
${GEM_LIBDIR}/ext/libxml/ruby_xml_xinclude.c
${GEM_LIBDIR}/ext/libxml/ruby_xml_xinclude.h
@@ -90,6 +98,10 @@ ${GEM_LIBDIR}/lib/libxml/properties.rb
${GEM_LIBDIR}/lib/libxml/reader.rb
${GEM_LIBDIR}/lib/libxml/sax_callbacks.rb
${GEM_LIBDIR}/lib/libxml/sax_parser.rb
+${GEM_LIBDIR}/lib/libxml/schema.rb
+${GEM_LIBDIR}/lib/libxml/schema/attribute.rb
+${GEM_LIBDIR}/lib/libxml/schema/element.rb
+${GEM_LIBDIR}/lib/libxml/schema/type.rb
${GEM_LIBDIR}/lib/libxml/tree.rb
${GEM_LIBDIR}/lib/libxml/xpath_object.rb
${GEM_LIBDIR}/lib/libxml_ruby.${RUBY_DLEXT}
diff --git a/textproc/ruby-libxml/distinfo b/textproc/ruby-libxml/distinfo
index 1abb505f863..1bd76e82c98 100644
--- a/textproc/ruby-libxml/distinfo
+++ b/textproc/ruby-libxml/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.11 2012/09/27 13:09:11 taca Exp $
+$NetBSD: distinfo,v 1.12 2012/12/17 14:34:50 taca Exp $
-SHA1 (libxml-ruby-2.3.3.gem) = 0959b85a9fbd75296f960aab5041d4b1c357560b
-RMD160 (libxml-ruby-2.3.3.gem) = b5a93eb306927e87d2b05be6066a91b8488f7415
-Size (libxml-ruby-2.3.3.gem) = 250368 bytes
-SHA1 (patch-ext_libxml_ruby__xml__node.c) = 4d95701695786f0b1dae0a47e9cbe20ab88e6f0c
+SHA1 (libxml-ruby-2.4.0.gem) = 117a31827d164242c9eb0f72275ecdb27a4856e8
+RMD160 (libxml-ruby-2.4.0.gem) = e732dd157233cc8df734855079b69803f03341bc
+Size (libxml-ruby-2.4.0.gem) = 260608 bytes
diff --git a/textproc/ruby-libxml/patches/patch-ext_libxml_ruby__xml__node.c b/textproc/ruby-libxml/patches/patch-ext_libxml_ruby__xml__node.c
deleted file mode 100644
index 05e2767bffd..00000000000
--- a/textproc/ruby-libxml/patches/patch-ext_libxml_ruby__xml__node.c
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-ext_libxml_ruby__xml__node.c,v 1.1 2012/09/27 13:09:11 taca Exp $
-
-Adopt to libxml 2.9.0.
-
---- ext/libxml/ruby_xml_node.c.orig 2012-09-27 09:39:32.000000000 +0000
-+++ ext/libxml/ruby_xml_node.c
-@@ -619,9 +619,9 @@ static VALUE rxml_node_to_s(int argc, VA
- xmlOutputBufferFlush(output);
-
- if (output->conv)
-- result = rxml_new_cstr((const char*) output->conv->content, xencoding);
-+ result = rxml_new_cstr((const char*) xmlBufContent(output->conv), xencoding);
- else
-- result = rxml_new_cstr((const char*) output->buffer->content, xencoding);
-+ result = rxml_new_cstr((const char*) xmlBufContent(output->buffer), xencoding);
-
- xmlOutputBufferClose(output);
-