pkgsrc/textproc/libxml++/Makefile

28 lines
752 B
Makefile
Raw Normal View History

2020-06-02 10:22:31 +02:00
# $NetBSD: Makefile,v 1.29 2020/06/02 08:22:58 adam Exp $
Update libxml++ to version 2.40.1 Changelog: 2.40: Major changes since 2.38: * Use (and require) C++11. (Murray Cumming, Kjell Ahlstedt, Mikhail Titov) * SaxParser: Fix "double free or corruption" if a std::exception is thrown by a handler method. (Daniel Trebbien, Kjell Ahlstedt) 2.40.0 (unstable): * Build improvements. (Kjell Ahlstedt) 2.38.1 (stable): * Fix the build with C++11 compilers, such as MS Visual C++ 2013 - Implicit conversions from streams to bool are no longer allowed.) (Mikhail Titov) * Build: Disable deprecated API in dependencies if --enable-warnings=fatal (Kjell Ahlstedt) * Build: Require libxml2 2.7.7 or later (Kjell Ahlstedt) 2.38.0 (stable): This stable version is identical to the unstable version 2.37.2. API additions since 2.36: * Add Node::add_child_with_new_ns(). (Kjell Ahlstedt) Bug #737682 (Mathias Lorente) * Add XsdSchema and XsdValidator classes. Deprecate Schema and SchemaValidator. Add RelaxNGSchema and RelaxNGValidator. (Kjell Ahlstedt) Bug #737712 (Michel Stam) Thanks to Tjalling Hattink, who made initial versions of the RelaxNG classes. * Parser: Add input operator>>(std::istream& in, Parser& parser). (Kjell Ahlstedt) Bug #329281 (Pierre Thierry) * Parser: Add [set|get]_include_default_attributes() and [set|get]_parser_options(). (Kjell Ahlstedt) Bug #701674 (Bob Nolty) 2.36.0 (unstable): * Element::set_namespace_declaration(): It is not an error to set the same URI twice. (Kjell Ahlstedt) Bug #635846, comment 27. * Require libxml-2.0 >= 2.7.3. (Kjell Ahlstedt) * Parser::initialize_context(): Call xmlCtxtUseOptions(). (Kjell Ahlstedt) 2.35.4 (unstable): * Document: - Add process_xinclude(), using new XIncludeStart and XIncludeEnd classes, derived from Node. (Kjell Ahlsted) Bug #338521. - Make the Document(xmlDoc*) constructor public. (Kjell Ahlsted) Bug #668980. * Parser: Make it thread-safe. (Kjell Ahlstedt) Bug #681467. * Schema::set_document(): If the argument 'document' is 0 then create an empty document, as the documentation says. (Kjell Ahlstedt) * Improve the error handling. (Kjell Ahlstedt) Bug #635846. * Documentation: - Add incremental parsing to the SaxParser example program. - DtdValidation and SchemaValidation: Print all exception information. - Improve error descriptions. (Kjell Ahlstedt) 2.35.3 (unstable): * Node: - Add eval_to_[boolean|number|string]() methods. (Kjell Ahlstedt) Bug #316244 - Fix memory problems in import_node(). (Kjell Ahlstedt) Bug #672992 * Build: - The examples are now built and run during make check. (Kjell Ahlstedt) Bug #678390 - Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally. (Kjell Ahlstedt) 2.35.2 (unstable): * Node: Add get_first_child(). (Murray Cumming, Based on a patch by Ilya Murav'jov in bug #648125) * Build: Remove the --disable-api-exceptions configure option. (Murray Cumming) 2.35.1 (unstable): * Handle attributes with default values correctly. (Kjell Ahlstedt) Bug #669635. * Improved handling of entity references and processing instructions. (Kjell Ahlstedt) Bug #669481 * Parser: Throw more detailed error messages. (Kjell Ahlstedt) Bug #304020 (Virgile Devaux) * Document: Make the Document(xmlDoc*) constructor protected. (Murray Cumming) Bug #668980 (A. Pignotti).
2016-03-10 22:00:45 +01:00
DISTNAME= libxml++-2.40.1
2020-06-02 10:22:31 +02:00
PKGREVISION= 5
CATEGORIES= textproc
Update libxml++ to version 2.40.1 Changelog: 2.40: Major changes since 2.38: * Use (and require) C++11. (Murray Cumming, Kjell Ahlstedt, Mikhail Titov) * SaxParser: Fix "double free or corruption" if a std::exception is thrown by a handler method. (Daniel Trebbien, Kjell Ahlstedt) 2.40.0 (unstable): * Build improvements. (Kjell Ahlstedt) 2.38.1 (stable): * Fix the build with C++11 compilers, such as MS Visual C++ 2013 - Implicit conversions from streams to bool are no longer allowed.) (Mikhail Titov) * Build: Disable deprecated API in dependencies if --enable-warnings=fatal (Kjell Ahlstedt) * Build: Require libxml2 2.7.7 or later (Kjell Ahlstedt) 2.38.0 (stable): This stable version is identical to the unstable version 2.37.2. API additions since 2.36: * Add Node::add_child_with_new_ns(). (Kjell Ahlstedt) Bug #737682 (Mathias Lorente) * Add XsdSchema and XsdValidator classes. Deprecate Schema and SchemaValidator. Add RelaxNGSchema and RelaxNGValidator. (Kjell Ahlstedt) Bug #737712 (Michel Stam) Thanks to Tjalling Hattink, who made initial versions of the RelaxNG classes. * Parser: Add input operator>>(std::istream& in, Parser& parser). (Kjell Ahlstedt) Bug #329281 (Pierre Thierry) * Parser: Add [set|get]_include_default_attributes() and [set|get]_parser_options(). (Kjell Ahlstedt) Bug #701674 (Bob Nolty) 2.36.0 (unstable): * Element::set_namespace_declaration(): It is not an error to set the same URI twice. (Kjell Ahlstedt) Bug #635846, comment 27. * Require libxml-2.0 >= 2.7.3. (Kjell Ahlstedt) * Parser::initialize_context(): Call xmlCtxtUseOptions(). (Kjell Ahlstedt) 2.35.4 (unstable): * Document: - Add process_xinclude(), using new XIncludeStart and XIncludeEnd classes, derived from Node. (Kjell Ahlsted) Bug #338521. - Make the Document(xmlDoc*) constructor public. (Kjell Ahlsted) Bug #668980. * Parser: Make it thread-safe. (Kjell Ahlstedt) Bug #681467. * Schema::set_document(): If the argument 'document' is 0 then create an empty document, as the documentation says. (Kjell Ahlstedt) * Improve the error handling. (Kjell Ahlstedt) Bug #635846. * Documentation: - Add incremental parsing to the SaxParser example program. - DtdValidation and SchemaValidation: Print all exception information. - Improve error descriptions. (Kjell Ahlstedt) 2.35.3 (unstable): * Node: - Add eval_to_[boolean|number|string]() methods. (Kjell Ahlstedt) Bug #316244 - Fix memory problems in import_node(). (Kjell Ahlstedt) Bug #672992 * Build: - The examples are now built and run during make check. (Kjell Ahlstedt) Bug #678390 - Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally. (Kjell Ahlstedt) 2.35.2 (unstable): * Node: Add get_first_child(). (Murray Cumming, Based on a patch by Ilya Murav'jov in bug #648125) * Build: Remove the --disable-api-exceptions configure option. (Murray Cumming) 2.35.1 (unstable): * Handle attributes with default values correctly. (Kjell Ahlstedt) Bug #669635. * Improved handling of entity references and processing instructions. (Kjell Ahlstedt) Bug #669481 * Parser: Throw more detailed error messages. (Kjell Ahlstedt) Bug #304020 (Virgile Devaux) * Document: Make the Document(xmlDoc*) constructor protected. (Murray Cumming) Bug #668980 (A. Pignotti).
2016-03-10 22:00:45 +01:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml++/2.40/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= evaldo@gardenali.biz
HOMEPAGE= http://libxmlplusplus.sourceforge.net/
COMMENT= C++ wrapper for the libxml XML parser library
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config gmake perl
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libxml++-2.6.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= MMDOCTOOLDIR=${PREFIX}/share/glibmm-2.4/doctool
CONFLICTS+= libxml++2-[0-9]*
.include "../../devel/glibmm/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"