Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

19
textproc/gdome2/DESCR Normal file
View File

@@ -0,0 +1,19 @@
The Document Object Model is a platform and language-neutral interface that
will allow programs and scripts to dynamically access and update the content,
structure and style of documents.
A DOM implementation (also called a host implementation) is that piece of
software which takes a parsed XML or HTML document and makes it available for
processing via the DOM interfaces. A browser contains a host implementation,
for example.
Here some key points about libgdome:
* Libgdome is a DOM level2 Implementation.
* Libgdome supports "Core" and "XML" modules (DOM level2 Core Recommendation).
* Libgdome supports "Events" and "MutationEvents" modules (DOM level2 Events
Recommendation).
* Libgdome is based on libxml2.
* Libgdome is written in C.
* The internal document representation is that libxml except for DocumentType,
Entity and Notations interfaces.
* Libgdome is released under the GNU LGPL.

20
textproc/gdome2/Makefile Normal file
View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.14 2012/10/25 06:55:50 asau Exp $
DISTNAME= gdome2-0.8.1
PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= http://gdome2.cs.unibo.it/tarball/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://gdome2.cs.unibo.it/
COMMENT= Gnome DOM (Document Object Model) engine
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-html-dir=${DESTDIR}${PREFIX}/share/doc/html
PKGCONFIG_OVERRIDE= ${WRKSRC}/gdome2.pc.in
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

50
textproc/gdome2/PLIST Normal file
View File

@@ -0,0 +1,50 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:17:16 joerg Exp $
bin/gdome-config
include/libgdome/gdome-events.h
include/libgdome/gdome-libxml-util.h
include/libgdome/gdome-private-list.h
include/libgdome/gdome-refdebug.h
include/libgdome/gdome-treegc.h
include/libgdome/gdome-util.h
include/libgdome/gdome-xpath.h
include/libgdome/gdome.h
lib/gdomeConf.sh
lib/libgdome.la
lib/pkgconfig/gdome2.pc
man/man1/gdome-config.1
share/aclocal/gdome2.m4
share/doc/html/gdome2-0.8.1/book1.html
share/doc/html/gdome2-0.8.1/gdome2-basic-types-and-enumerations.html
share/doc/html/gdome2-0.8.1/gdome2-core.html
share/doc/html/gdome2-0.8.1/gdome2-events-basic-types-and-enumerations.html
share/doc/html/gdome2-0.8.1/gdome2-events.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeattr.html
share/doc/html/gdome2-0.8.1/gdome2-gdomecdatasection.html
share/doc/html/gdome2-0.8.1/gdome2-gdomecharacterdata.html
share/doc/html/gdome2-0.8.1/gdome2-gdomecomment.html
share/doc/html/gdome2-0.8.1/gdome2-gdomedocument.html
share/doc/html/gdome2-0.8.1/gdome2-gdomedocumentfragment.html
share/doc/html/gdome2-0.8.1/gdome2-gdomedocumenttype.html
share/doc/html/gdome2-0.8.1/gdome2-gdomedomimplementation.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeelement.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeentity.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeentityreference.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeevent.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeeventlistener.html
share/doc/html/gdome2-0.8.1/gdome2-gdomemutationevent.html
share/doc/html/gdome2-0.8.1/gdome2-gdomenamednodemap.html
share/doc/html/gdome2-0.8.1/gdome2-gdomenode.html
share/doc/html/gdome2-0.8.1/gdome2-gdomenodelist.html
share/doc/html/gdome2-0.8.1/gdome2-gdomenotation.html
share/doc/html/gdome2-0.8.1/gdome2-gdomeprocessinginstruction.html
share/doc/html/gdome2-0.8.1/gdome2-gdometext.html
share/doc/html/gdome2-0.8.1/gdome2-gdomexpathevaluator.html
share/doc/html/gdome2-0.8.1/gdome2-gdomexpathnamespace.html
share/doc/html/gdome2-0.8.1/gdome2-gdomexpathnsresolver.html
share/doc/html/gdome2-0.8.1/gdome2-gdomexpathresult.html
share/doc/html/gdome2-0.8.1/gdome2-memory.html
share/doc/html/gdome2-0.8.1/gdome2-module-private-list.html
share/doc/html/gdome2-0.8.1/gdome2-module-tree-garbage-collector.html
share/doc/html/gdome2-0.8.1/gdome2-xpath-basic-types-and-enumerations.html
share/doc/html/gdome2-0.8.1/gdome2-xpath.html
share/doc/html/gdome2-0.8.1/index.sgml

View File

@@ -0,0 +1,16 @@
# $NetBSD: buildlink3.mk,v 1.14 2012/09/15 10:06:36 obache Exp $
BUILDLINK_TREE+= gdome2
.if !defined(GDOME2_BUILDLINK3_MK)
GDOME2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gdome2+= gdome2>=0.8.1nb1
BUILDLINK_ABI_DEPENDS.gdome2+= gdome2>=0.8.1nb7
BUILDLINK_PKGSRCDIR.gdome2?= ../../textproc/gdome2
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.endif # GDOME2_BUILDLINK3_MK
BUILDLINK_TREE+= -gdome2

8
textproc/gdome2/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.5 2012/11/19 03:01:44 joerg Exp $
SHA1 (gdome2-0.8.1.tar.gz) = e9a3e4140c873d8232635ad10bb135ef7803c408
RMD160 (gdome2-0.8.1.tar.gz) = 5cc3ff29e0ed040e3bbd02cba4d95b9b634c4072
Size (gdome2-0.8.1.tar.gz) = 518965 bytes
SHA1 (patch-aa) = 7e194447d1b4cf4a0799aef6c211e724e577c33c
SHA1 (patch-ab) = 642f5e5319bdebf3fab8b346d68558e117cb5d26
SHA1 (patch-libgdome_gdomecore_gdome-xml-documentt.c) = fb032a0f47d26d4f36cc9e3c720370fb227b14dc

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.1 2005/11/17 18:22:16 rillig Exp $
SunPro says: A void function cannot return a value.
--- libgdome/gdomecore/gdome-xml-node.c.orig 2003-10-03 17:53:33.000000000 +0200
+++ libgdome/gdomecore/gdome-xml-node.c 2005-11-17 19:14:02.383302400 +0100
@@ -252,9 +252,11 @@ gdome_xml_n_unref (GdomeNode *self, Gdom
switch (type) {
case XML_DOCUMENT_TYPE_NODE:
case XML_DTD_NODE:
- return gdome_xml_dt_unref (self, exc);
+ (void)gdome_xml_dt_unref (self, exc);
+ return;
case XML_DOCUMENT_NODE:
- return gdome_xml_doc_unref (self, exc);
+ (void)gdome_xml_doc_unref (self, exc);
+ return;
default:
if (priv->refcnt > 0)
priv->refcnt--;

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1 2006/02/10 12:09:24 adam Exp $
--- libgdome/xpath/gdome-xpath-xpnsresolv.h.orig 2006-02-10 12:52:28.000000000 +0100
+++ libgdome/xpath/gdome-xpath-xpnsresolv.h
@@ -42,6 +42,6 @@ void gdome_xpath_xpnsresolv_ref (GdomeXP
void gdome_xpath_xpnsresolv_unref (GdomeXPathNSResolver *self, GdomeException *exc);
GdomeDOMString * gdome_xpath_xpnsresolv_lookupNamespaceURI( GdomeXPathNSResolver *self, GdomeDOMString *prefix, GdomeException *exc);
-const GdomeXPathNSResolverVtab gdome_xpath_xpnsresolv_vtab;
+extern const GdomeXPathNSResolverVtab gdome_xpath_xpnsresolv_vtab;
#endif /* GDOME_XPNSRESOLV_FILE */

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-libgdome_gdomecore_gdome-xml-documentt.c,v 1.1 2012/11/19 03:01:44 joerg Exp $
--- libgdome/gdomecore/gdome-xml-documentt.c.orig 2012-11-19 01:08:40.000000000 +0000
+++ libgdome/gdomecore/gdome-xml-documentt.c
@@ -342,7 +342,7 @@ gdome_xml_dt_internalSubset (GdomeDocume
}
xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL);
xmlOutputBufferFlush(out_buff);
- ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
+ ret = g_strndup (xmlBufferContent(out_buff->buffer), xmlBufferLength(out_buff->buffer));
(void)xmlOutputBufferClose(out_buff);
return gdome_xml_str_mkref_own (ret);