View | Details | Raw Unified | Return to bug 262288 | Differences between
and this patch

Collapse All | Expand All

(-)p2new/usr/local/bin/xml2-config (-7 / +7 lines)
Lines 1-9 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
2
3
prefix=/usr/local
3
prefix=$(cd "$(dirname "$0")"; pwd -P)/..
4
exec_prefix=${prefix}
4
exec_prefix=${prefix}
5
includedir=${prefix}/include
5
includedir=${prefix}/include
6
libdir=${exec_prefix}/lib
6
libdir=${prefix}/lib
7
cflags=
7
cflags=
8
libs=
8
libs=
9
9
Lines 58-64 Link Here
58
      ;;
58
      ;;
59
59
60
    --version)
60
    --version)
61
	echo 2.9.12
61
	echo 2.9.13
62
	exit 0
62
	exit 0
63
	;;
63
	;;
64
64
Lines 67-79 Link Here
67
	;;
67
	;;
68
68
69
    --cflags)
69
    --cflags)
70
        cflags="-I${includedir}/libxml2 -I/usr/include "
70
        cflags="-I${includedir}/libxml2 "
71
       	;;
71
       	;;
72
72
73
    --libtool-libs)
73
    --libtool-libs)
74
	if [ -r ${libdir}/libxml2.la ]
74
	if [ -r ${libdir}/ ]
75
	then
75
	then
76
	    echo ${libdir}/libxml2.la
76
	    echo ${libdir}/
77
	fi
77
	fi
78
        ;;
78
        ;;
79
79
Lines 86-92 Link Here
86
            shift
86
            shift
87
            libs="-lxml2"
87
            libs="-lxml2"
88
        else
88
        else
89
            libs="-lxml2 -lz  -L/usr/lib -llzma  -L/usr/lib  -lm  "
89
            libs="-lxml2 -lz -llzma -pthread  -licudata -licui18n -licuuc -lm -ldl"
90
        fi
90
        fi
91
91
92
        if [ "-L${libdir}" != "-L/usr/lib" -a "-L${libdir}" != "-L/usr/lib64" ]; then
92
        if [ "-L${libdir}" != "-L/usr/lib" -a "-L${libdir}" != "-L/usr/lib64" ]; then
(-)p2new/usr/local/bin/xslt-config (-7 / +7 lines)
Lines 1-10 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
2
3
prefix=/usr/local
3
prefix=$(cd "$(dirname "$0")"; pwd -P)/..
4
exec_prefix=${prefix}
4
exec_prefix=${prefix}
5
exec_prefix_set=no
5
exec_prefix_set=no
6
includedir=${prefix}/include
6
includedir=${prefix}/include
7
libdir=${exec_prefix}/lib
7
libdir=${prefix}/lib
8
8
9
usage()
9
usage()
10
{
10
{
Lines 60-71 Link Here
60
	;;
60
	;;
61
61
62
    --version)
62
    --version)
63
	echo 1.1.34
63
	echo 1.1.35
64
	exit 0
64
	exit 0
65
	;;
65
	;;
66
66
67
    --plugins)
67
    --plugins)
68
	echo /usr/local/lib/libxslt-plugins
68
	echo ${libdir}/libxslt-plugins
69
	exit 0
69
	exit 0
70
	;;
70
	;;
71
71
Lines 74-80 Link Here
74
	;;
74
	;;
75
75
76
    --cflags)
76
    --cflags)
77
        cflags="-I/usr/local/include/libxml2 "
77
        cflags=""
78
        if test "$includedir" != "/usr/include"; then
78
        if test "$includedir" != "/usr/include"; then
79
            cflags="$cflags -I${includedir}"
79
            cflags="$cflags -I${includedir}"
80
        fi
80
        fi
Lines 83-91 Link Here
83
    --libs)
83
    --libs)
84
        if [ "$2" = "--dynamic" ]; then
84
        if [ "$2" = "--dynamic" ]; then
85
            shift
85
            shift
86
            libs="-lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm "
86
            libs="-lxslt -lxml2"
87
        else
87
        else
88
            libs="-lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm  -lm"
88
            libs="-lxslt -lxml2 -lm"
89
        fi
89
        fi
90
90
91
        if [ "-L${libdir}" != "-L/usr/lib" -a "-L${libdir}" != "-L/usr/lib64" ]; then
91
        if [ "-L${libdir}" != "-L/usr/lib" -a "-L${libdir}" != "-L/usr/lib64" ]; then
(-)p2new/usr/local/include/libexslt/exslt.h (+6 lines)
Lines 1-3 Link Here
1
/*
2
 * Summary: main header file
3
 *
4
 * Copy: See Copyright for the status of this software.
5
 */
6
1
7
2
#ifndef __EXSLT_H__
8
#ifndef __EXSLT_H__
3
#define __EXSLT_H__
9
#define __EXSLT_H__
(-)p2new/usr/local/include/libexslt/exsltconfig.h (-1 / +1 lines)
Lines 18-24 Link Here
18
 *
18
 *
19
 * the version string like "1.2.3"
19
 * the version string like "1.2.3"
20
 */
20
 */
21
#define LIBEXSLT_DOTTED_VERSION "1.1.34"
21
#define LIBEXSLT_DOTTED_VERSION "0.8.20"
22
22
23
/**
23
/**
24
 * LIBEXSLT_VERSION:
24
 * LIBEXSLT_VERSION:
(-)p2new/usr/local/include/libexslt/exsltexports.h (-3 / +3 lines)
Lines 1-9 Link Here
1
/*
1
/*
2
 * exsltexports.h : macros for marking symbols as exportable/importable.
2
 * Summary: macros for marking symbols as exportable/importable.
3
 *
3
 *
4
 * See Copyright for the status of this software.
4
 * Copy: See Copyright for the status of this software.
5
 *
5
 *
6
 * igor@zlatkovic.com
6
 * Author: Igor Zlatkovic <igor@zlatkovic.com>
7
 */
7
 */
8
8
9
#ifndef __EXSLT_EXPORTS_H__
9
#ifndef __EXSLT_EXPORTS_H__
(-)p2new/usr/local/include/libxml2/libxml/encoding.h (-18 / +3 lines)
Lines 27-35 Link Here
27
#ifdef LIBXML_ICONV_ENABLED
27
#ifdef LIBXML_ICONV_ENABLED
28
#include <iconv.h>
28
#include <iconv.h>
29
#endif
29
#endif
30
#ifdef LIBXML_ICU_ENABLED
30
31
#include <unicode/ucnv.h>
32
#endif
33
#ifdef __cplusplus
31
#ifdef __cplusplus
34
extern "C" {
32
extern "C" {
35
#endif
33
#endif
Lines 128-146 Link Here
128
 * Block defining the handlers for non UTF-8 encodings.
126
 * Block defining the handlers for non UTF-8 encodings.
129
 * If iconv is supported, there are two extra fields.
127
 * If iconv is supported, there are two extra fields.
130
 */
128
 */
131
#ifdef LIBXML_ICU_ENABLED
132
/* Size of pivot buffer, same as icu/source/common/ucnv.cpp CHUNK_SIZE */
133
#define ICU_PIVOT_BUF_SIZE 1024
134
struct _uconv_t {
135
  UConverter *uconv; /* for conversion between an encoding and UTF-16 */
136
  UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */
137
  UChar      pivot_buf[ICU_PIVOT_BUF_SIZE];
138
  UChar      *pivot_source;
139
  UChar      *pivot_target;
140
};
141
typedef struct _uconv_t uconv_t;
142
#endif
143
144
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
129
typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
145
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
130
typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
146
struct _xmlCharEncodingHandler {
131
struct _xmlCharEncodingHandler {
Lines 152-159 Link Here
152
    iconv_t                    iconv_out;
137
    iconv_t                    iconv_out;
153
#endif /* LIBXML_ICONV_ENABLED */
138
#endif /* LIBXML_ICONV_ENABLED */
154
#ifdef LIBXML_ICU_ENABLED
139
#ifdef LIBXML_ICU_ENABLED
155
    uconv_t                    *uconv_in;
140
    struct _uconv_t            *uconv_in;
156
    uconv_t                    *uconv_out;
141
    struct _uconv_t            *uconv_out;
157
#endif /* LIBXML_ICU_ENABLED */
142
#endif /* LIBXML_ICU_ENABLED */
158
};
143
};
159
144
(-)p2new/usr/local/include/libxml2/libxml/xmlversion.h (-6 / +6 lines)
Lines 29-54 Link Here
29
 *
29
 *
30
 * the version string like "1.2.3"
30
 * the version string like "1.2.3"
31
 */
31
 */
32
#define LIBXML_DOTTED_VERSION "2.9.12"
32
#define LIBXML_DOTTED_VERSION "2.9.13"
33
33
34
/**
34
/**
35
 * LIBXML_VERSION:
35
 * LIBXML_VERSION:
36
 *
36
 *
37
 * the version number: 1.2.3 value is 10203
37
 * the version number: 1.2.3 value is 10203
38
 */
38
 */
39
#define LIBXML_VERSION 20912
39
#define LIBXML_VERSION 209013
40
40
41
/**
41
/**
42
 * LIBXML_VERSION_STRING:
42
 * LIBXML_VERSION_STRING:
43
 *
43
 *
44
 * the version number string, 1.2.3 value is "10203"
44
 * the version number string, 1.2.3 value is "10203"
45
 */
45
 */
46
#define LIBXML_VERSION_STRING "20912"
46
#define LIBXML_VERSION_STRING "209013"
47
47
48
/**
48
/**
49
 * LIBXML_VERSION_EXTRA:
49
 * LIBXML_VERSION_EXTRA:
50
 *
50
 *
51
 * extra version information, used to show a CVS compilation
51
 * extra version information, used to show a git commit description
52
 */
52
 */
53
#define LIBXML_VERSION_EXTRA ""
53
#define LIBXML_VERSION_EXTRA ""
54
54
Lines 58-64 Link Here
58
 * Macro to check that the libxml version in use is compatible with
58
 * Macro to check that the libxml version in use is compatible with
59
 * the version the software has been compiled against
59
 * the version the software has been compiled against
60
 */
60
 */
61
#define LIBXML_TEST_VERSION xmlCheckVersion(20912);
61
#define LIBXML_TEST_VERSION xmlCheckVersion(209013);
62
62
63
#ifndef VMS
63
#ifndef VMS
64
#if 0
64
#if 0
Lines 279-285 Link Here
279
 *
279
 *
280
 * Whether icu support is available
280
 * Whether icu support is available
281
 */
281
 */
282
#if 0
282
#if 1
283
#define LIBXML_ICU_ENABLED
283
#define LIBXML_ICU_ENABLED
284
#endif
284
#endif
285
285
(-)p2new/usr/local/include/libxslt/extensions.h (-1 / +1 lines)
Lines 246-252 Link Here
246
					 const xmlChar *URI);
246
					 const xmlChar *URI);
247
247
248
/**
248
/**
249
 * Test module http://xmlsoft.org/XSLT/
249
 * Test of the extension module API
250
 */
250
 */
251
XSLTPUBFUN void XSLTCALL
251
XSLTPUBFUN void XSLTCALL
252
		xsltRegisterTestModule	(void);
252
		xsltRegisterTestModule	(void);
(-)p2new/usr/local/include/libxslt/preproc.h (-1 / +1 lines)
Lines 22-28 Link Here
22
/*
22
/*
23
 * Interfaces
23
 * Interfaces
24
 */
24
 */
25
extern const xmlChar *xsltExtMarker;
25
XSLTPUBVAR const xmlChar *xsltExtMarker;
26
26
27
XSLTPUBFUN xsltElemPreCompPtr XSLTCALL
27
XSLTPUBFUN xsltElemPreCompPtr XSLTCALL
28
		xsltDocumentComp	(xsltStylesheetPtr style,
28
		xsltDocumentComp	(xsltStylesheetPtr style,
(-)p2new/usr/local/include/libxslt/xsltconfig.h (-7 / +7 lines)
Lines 20-40 Link Here
20
 *
20
 *
21
 * the version string like "1.2.3"
21
 * the version string like "1.2.3"
22
 */
22
 */
23
#define LIBXSLT_DOTTED_VERSION "1.1.34"
23
#define LIBXSLT_DOTTED_VERSION "1.1.35"
24
24
25
/**
25
/**
26
 * LIBXSLT_VERSION:
26
 * LIBXSLT_VERSION:
27
 *
27
 *
28
 * the version number: 1.2.3 value is 10203
28
 * the version number: 1.2.3 value is 10203
29
 */
29
 */
30
#define LIBXSLT_VERSION 10134
30
#define LIBXSLT_VERSION 10135
31
31
32
/**
32
/**
33
 * LIBXSLT_VERSION_STRING:
33
 * LIBXSLT_VERSION_STRING:
34
 *
34
 *
35
 * the version number string, 1.2.3 value is "10203"
35
 * the version number string, 1.2.3 value is "10203"
36
 */
36
 */
37
#define LIBXSLT_VERSION_STRING "10134"
37
#define LIBXSLT_VERSION_STRING "10135"
38
38
39
/**
39
/**
40
 * LIBXSLT_VERSION_EXTRA:
40
 * LIBXSLT_VERSION_EXTRA:
Lines 50-56 Link Here
50
 * is insignifiant and being able to run xsltpoc -v is useful. On
50
 * is insignifiant and being able to run xsltpoc -v is useful. On
51
 * by default unless --without-debug is passed to configure
51
 * by default unless --without-debug is passed to configure
52
 */
52
 */
53
#if 1
53
#if 0
54
#define WITH_XSLT_DEBUG
54
#define WITH_XSLT_DEBUG
55
#endif
55
#endif
56
56
Lines 117-123 Link Here
117
 * is insignifiant.
117
 * is insignifiant.
118
 * On by default unless --without-profiler is passed to configure
118
 * On by default unless --without-profiler is passed to configure
119
 */
119
 */
120
#if 1
120
#if 0
121
#ifndef WITH_PROFILER
121
#ifndef WITH_PROFILER
122
#define WITH_PROFILER
122
#define WITH_PROFILER
123
#endif
123
#endif
Lines 129-139 Link Here
129
 * Whether module support is configured into libxslt
129
 * Whether module support is configured into libxslt
130
 * Note: no default module path for win32 platforms
130
 * Note: no default module path for win32 platforms
131
 */
131
 */
132
#if 0
132
#if 1
133
#ifndef WITH_MODULES
133
#ifndef WITH_MODULES
134
#define WITH_MODULES
134
#define WITH_MODULES
135
#endif
135
#endif
136
#define LIBXSLT_DEFAULT_PLUGINS_PATH() "/usr/local/lib/libxslt-plugins"
136
#define LIBXSLT_DEFAULT_PLUGINS_PATH() ""
137
#endif
137
#endif
138
138
139
/**
139
/**
(-)p2new/usr/local/include/libxslt/xsltInternals.h (-10 / +14 lines)
Lines 291-296 Link Here
291
    int              templMax;		/* Size of the templtes stack */
291
    int              templMax;		/* Size of the templtes stack */
292
    xsltTemplatePtr *templCalledTab;	/* templates called */
292
    xsltTemplatePtr *templCalledTab;	/* templates called */
293
    int             *templCountTab;  /* .. and how often */
293
    int             *templCountTab;  /* .. and how often */
294
295
    /* Conflict resolution */
296
    int position;
294
};
297
};
295
298
296
/**
299
/**
Lines 1501-1516 Link Here
1501
     * Template descriptions.
1504
     * Template descriptions.
1502
     */
1505
     */
1503
    xsltTemplatePtr templates;	/* the ordered list of templates */
1506
    xsltTemplatePtr templates;	/* the ordered list of templates */
1504
    void *templatesHash;	/* hash table or wherever compiled templates
1507
    xmlHashTablePtr templatesHash;       /* hash table or wherever compiled
1505
				   information is stored */
1508
                                            templates information is stored */
1506
    void *rootMatch;		/* template based on / */
1509
    struct _xsltCompMatch *rootMatch;    /* template based on / */
1507
    void *keyMatch;		/* template based on key() */
1510
    struct _xsltCompMatch *keyMatch;     /* template based on key() */
1508
    void *elemMatch;		/* template based on * */
1511
    struct _xsltCompMatch *elemMatch;    /* template based on * */
1509
    void *attrMatch;		/* template based on @* */
1512
    struct _xsltCompMatch *attrMatch;    /* template based on @* */
1510
    void *parentMatch;		/* template based on .. */
1513
    struct _xsltCompMatch *parentMatch;  /* template based on .. */
1511
    void *textMatch;		/* template based on text() */
1514
    struct _xsltCompMatch *textMatch;    /* template based on text() */
1512
    void *piMatch;		/* template based on processing-instruction() */
1515
    struct _xsltCompMatch *piMatch;      /* template based on
1513
    void *commentMatch;		/* template based on comment() */
1516
                                            processing-instruction() */
1517
    struct _xsltCompMatch *commentMatch; /* template based on comment() */
1514
1518
1515
    /*
1519
    /*
1516
     * Namespace aliases.
1520
     * Namespace aliases.
(-)p2new/usr/local/lib/cmake/libxml2/libxml2-config.cmake (-115 lines)
Lines 1-115 Link Here
1
# libxml2-config.cmake
2
# --------------------
3
#
4
# Libxml2 cmake module.
5
# This module sets the following variables:
6
#
7
# ::
8
#
9
#   LIBXML2_INCLUDE_DIR        - Directory where LibXml2 headers are located.
10
#   LIBXML2_INCLUDE_DIRS       - list of the include directories needed to use LibXml2.
11
#   LIBXML2_LIBRARY            - path to the LibXml2 library.
12
#   LIBXML2_LIBRARIES          - xml2 libraries to link against.
13
#   LIBXML2_DEFINITIONS        - the compiler switches required for using LibXml2.
14
#   LIBXML2_VERSION_MAJOR      - The major version of libxml2.
15
#   LIBXML2_VERSION_MINOR      - The minor version of libxml2.
16
#   LIBXML2_VERSION_PATCH      - The patch version of libxml2.
17
#   LIBXML2_VERSION_STRING     - version number as a string (ex: "2.3.4")
18
#   LIBXML2_MODULES            - whether libxml2 has dso support
19
#   LIBXML2_XMLLINT_EXECUTABLE - path to the XML checking tool xmllint coming with LibXml2
20
#
21
# The following targets are defined:
22
#
23
#   LibXml2::LibXml2          - the LibXml2 library
24
#   LibXml2::xmllint          - the xmllint command-line executable
25
26
get_filename_component(_libxml2_rootdir ${CMAKE_CURRENT_LIST_DIR}/../../../ ABSOLUTE)
27
28
set(LIBXML2_VERSION_MAJOR  2)
29
set(LIBXML2_VERSION_MINOR  9)
30
set(LIBXML2_VERSION_MICRO  12)
31
set(LIBXML2_VERSION_STRING "2.9.12")
32
set(LIBXML2_DEFINITIONS    "")
33
set(LIBXML2_INSTALL_PREFIX ${_libxml2_rootdir})
34
set(LIBXML2_INCLUDE_DIR    ${_libxml2_rootdir}/include/libxml2)
35
set(LIBXML2_LIBRARY_DIR    ${_libxml2_rootdir}/lib)
36
37
find_library(LIBXML2_LIBRARY NAMES xml2 HINTS ${LIBXML2_LIBRARY_DIR} NO_DEFAULT_PATH)
38
find_program(LIBXML2_XMLCATALOG_EXECUTABLE NAMES xmlcatalog HINTS ${_libxml2_rootdir}/bin NO_DEFAULT_PATH)
39
find_program(LIBXML2_XMLLINT_EXECUTABLE NAMES xmllint HINTS ${_libxml2_rootdir}/bin NO_DEFAULT_PATH)
40
41
set(LIBXML2_LIBRARIES ${LIBXML2_LIBRARY})
42
set(LIBXML2_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIR})
43
unset(LIBXML2_INTERFACE_LINK_LIBRARIES)
44
45
include(CMakeFindDependencyMacro)
46
47
set(LIBXML2_WITH_ICONV 1)
48
set(LIBXML2_WITH_THREADS 1)
49
set(LIBXML2_WITH_ICU 0)
50
set(LIBXML2_WITH_LZMA 1)
51
set(LIBXML2_WITH_ZLIB 1)
52
53
if(LIBXML2_WITH_ICONV)
54
  find_dependency(Iconv)
55
  list(APPEND LIBXML2_LIBRARIES    ${Iconv_LIBRARIES})
56
  list(APPEND LIBXML2_INCLUDE_DIRS ${Iconv_INCLUDE_DIRS})
57
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "Iconv::Iconv")
58
endif()
59
60
if(LIBXML2_WITH_THREADS)
61
  find_dependency(Threads)
62
  list(APPEND LIBXML2_LIBRARIES    ${CMAKE_THREAD_LIBS_INIT})
63
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Threads::Threads>")
64
endif()
65
66
if(LIBXML2_WITH_ICU)
67
  find_dependency(ICU COMPONENTS data i18n uc)
68
  list(APPEND LIBXML2_LIBRARIES    ${ICU_LIBRARIES})
69
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ICU::data>;\$<LINK_ONLY:ICU::i18n>;\$<LINK_ONLY:ICU::uc>")
70
endif()
71
72
if(LIBXML2_WITH_LZMA)
73
  find_dependency(LibLZMA)
74
  list(APPEND LIBXML2_LIBRARIES    ${LIBLZMA_LIBRARIES})
75
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:LibLZMA::LibLZMA>")
76
endif()
77
78
if(LIBXML2_WITH_ZLIB)
79
  find_dependency(ZLIB)
80
  list(APPEND LIBXML2_LIBRARIES    ${ZLIB_LIBRARIES})
81
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ZLIB::ZLIB>")
82
endif()
83
84
if(UNIX)
85
  list(APPEND LIBXML2_LIBRARIES    m)
86
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>")
87
endif()
88
89
if(WIN32)
90
  list(APPEND LIBXML2_LIBRARIES    ws2_32)
91
  list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ws2_32>")
92
endif()
93
94
# whether libxml2 has dso support
95
set(LIBXML2_MODULES 1)
96
97
mark_as_advanced(LIBXML2_LIBRARY LIBXML2_XMLCATALOG_EXECUTABLE LIBXML2_XMLLINT_EXECUTABLE)
98
99
if(NOT TARGET LibXml2::LibXml2 AND DEFINED LIBXML2_LIBRARY AND DEFINED LIBXML2_INCLUDE_DIRS)
100
  add_library(LibXml2::LibXml2 UNKNOWN IMPORTED)
101
  set_target_properties(LibXml2::LibXml2 PROPERTIES IMPORTED_LOCATION "${LIBXML2_LIBRARY}")
102
  set_target_properties(LibXml2::LibXml2 PROPERTIES INTERFACE_COMPILE_OPTIONS "${LIBXML2_DEFINITIONS}")
103
  set_target_properties(LibXml2::LibXml2 PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${LIBXML2_INCLUDE_DIRS}")
104
  set_target_properties(LibXml2::LibXml2 PROPERTIES INTERFACE_LINK_LIBRARIES "${LIBXML2_INTERFACE_LINK_LIBRARIES}")
105
endif()
106
107
if(NOT TARGET LibXml2::xmlcatalog AND DEFINED LIBXML2_XMLCATALOG_EXECUTABLE)
108
  add_executable(LibXml2::xmlcatalog IMPORTED)
109
  set_target_properties(LibXml2::xmlcatalog PROPERTIES IMPORTED_LOCATION "${LIBXML2_XMLCATALOG_EXECUTABLE}")
110
endif()
111
112
if(NOT TARGET LibXml2::xmllint AND DEFINED LIBXML2_XMLLINT_EXECUTABLE)
113
  add_executable(LibXml2::xmllint IMPORTED)
114
  set_target_properties(LibXml2::xmllint PROPERTIES IMPORTED_LOCATION "${LIBXML2_XMLLINT_EXECUTABLE}")
115
endif()
(-)p2new/usr/local/lib/cmake/libxml2-2.9.13/libxml2-config-version.cmake (+88 lines)
Line 0 Link Here
1
# This is a basic version file for the Config-mode of find_package().
2
# It is used by write_basic_package_version_file() as input file for configure_file()
3
# to create a version-file which can be installed along a config.cmake file.
4
#
5
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
# the requested version string are exactly the same and it sets
7
# PACKAGE_VERSION_COMPATIBLE if the current version is equal to the requested version.
8
# The tweak version component is ignored.
9
# The variable CVF_VERSION must be set before calling configure_file().
10
11
12
if (PACKAGE_FIND_VERSION_RANGE)
13
  message(AUTHOR_WARNING
14
    "`find_package()` specify a version range but the version strategy "
15
    "(ExactVersion) of the module `${PACKAGE_FIND_NAME}` is incompatible "
16
    "with this request. Only the lower endpoint of the range will be used.")
17
endif()
18
19
set(PACKAGE_VERSION "2.9.13")
20
21
if("2.9.13" MATCHES "^([0-9]+)\\.([0-9]+)\\.([0-9]+)") # strip the tweak version
22
  set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
23
  set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}")
24
  set(CVF_VERSION_PATCH "${CMAKE_MATCH_3}")
25
26
  if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
27
    string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
28
  endif()
29
  if(NOT CVF_VERSION_MINOR VERSION_EQUAL 0)
30
    string(REGEX REPLACE "^0+" "" CVF_VERSION_MINOR "${CVF_VERSION_MINOR}")
31
  endif()
32
  if(NOT CVF_VERSION_PATCH VERSION_EQUAL 0)
33
    string(REGEX REPLACE "^0+" "" CVF_VERSION_PATCH "${CVF_VERSION_PATCH}")
34
  endif()
35
36
  set(CVF_VERSION_NO_TWEAK "${CVF_VERSION_MAJOR}.${CVF_VERSION_MINOR}.${CVF_VERSION_PATCH}")
37
else()
38
  set(CVF_VERSION_NO_TWEAK "2.9.13")
39
endif()
40
41
if(PACKAGE_FIND_VERSION MATCHES "^([0-9]+)\\.([0-9]+)\\.([0-9]+)") # strip the tweak version
42
  set(REQUESTED_VERSION_MAJOR "${CMAKE_MATCH_1}")
43
  set(REQUESTED_VERSION_MINOR "${CMAKE_MATCH_2}")
44
  set(REQUESTED_VERSION_PATCH "${CMAKE_MATCH_3}")
45
46
  if(NOT REQUESTED_VERSION_MAJOR VERSION_EQUAL 0)
47
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_MAJOR "${REQUESTED_VERSION_MAJOR}")
48
  endif()
49
  if(NOT REQUESTED_VERSION_MINOR VERSION_EQUAL 0)
50
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_MINOR "${REQUESTED_VERSION_MINOR}")
51
  endif()
52
  if(NOT REQUESTED_VERSION_PATCH VERSION_EQUAL 0)
53
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_PATCH "${REQUESTED_VERSION_PATCH}")
54
  endif()
55
56
  set(REQUESTED_VERSION_NO_TWEAK
57
      "${REQUESTED_VERSION_MAJOR}.${REQUESTED_VERSION_MINOR}.${REQUESTED_VERSION_PATCH}")
58
else()
59
  set(REQUESTED_VERSION_NO_TWEAK "${PACKAGE_FIND_VERSION}")
60
endif()
61
62
if(REQUESTED_VERSION_NO_TWEAK STREQUAL CVF_VERSION_NO_TWEAK)
63
  set(PACKAGE_VERSION_COMPATIBLE TRUE)
64
else()
65
  set(PACKAGE_VERSION_COMPATIBLE FALSE)
66
endif()
67
68
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
69
  set(PACKAGE_VERSION_EXACT TRUE)
70
endif()
71
72
73
# if the installed project requested no architecture check, don't perform the check
74
if("FALSE")
75
  return()
76
endif()
77
78
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
79
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
80
  return()
81
endif()
82
83
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
84
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
85
  math(EXPR installedBits "8 * 8")
86
  set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
87
  set(PACKAGE_VERSION_UNSUITABLE TRUE)
88
endif()
(-)p2new/usr/local/lib/cmake/libxml2-2.9.13/libxml2-config.cmake (+160 lines)
Line 0 Link Here
1
# libxml2-config.cmake
2
# --------------------
3
#
4
# Libxml2 cmake module.
5
# This module sets the following variables:
6
#
7
# ::
8
#
9
#   LIBXML2_INCLUDE_DIR        - Directory where LibXml2 headers are located.
10
#   LIBXML2_INCLUDE_DIRS       - list of the include directories needed to use LibXml2.
11
#   LIBXML2_LIBRARY            - path to the LibXml2 library.
12
#   LIBXML2_LIBRARIES          - xml2 libraries to link against.
13
#   LIBXML2_DEFINITIONS        - the compiler switches required for using LibXml2.
14
#   LIBXML2_VERSION_MAJOR      - The major version of libxml2.
15
#   LIBXML2_VERSION_MINOR      - The minor version of libxml2.
16
#   LIBXML2_VERSION_PATCH      - The patch version of libxml2.
17
#   LIBXML2_VERSION_STRING     - version number as a string (ex: "2.3.4")
18
#   LIBXML2_MODULES            - whether libxml2 has dso support
19
#   LIBXML2_XMLLINT_EXECUTABLE - path to the XML checking tool xmllint coming with LibXml2
20
21
include("${CMAKE_CURRENT_LIST_DIR}/libxml2-export.cmake")
22
23
24
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
25
####### Any changes to this file will be overwritten by the next CMake run ####
26
####### The input file was libxml2-config.cmake.cmake.in                            ########
27
28
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
29
30
macro(set_and_check _var _file)
31
  set(${_var} "${_file}")
32
  if(NOT EXISTS "${_file}")
33
    message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
34
  endif()
35
endmacro()
36
37
macro(check_required_components _NAME)
38
  foreach(comp ${${_NAME}_FIND_COMPONENTS})
39
    if(NOT ${_NAME}_${comp}_FOUND)
40
      if(${_NAME}_FIND_REQUIRED_${comp})
41
        set(${_NAME}_FOUND FALSE)
42
      endif()
43
    endif()
44
  endforeach()
45
endmacro()
46
47
####################################################################################
48
49
set(LIBXML2_VERSION_MAJOR  2)
50
set(LIBXML2_VERSION_MINOR  9)
51
set(LIBXML2_VERSION_PATCH  13)
52
set(LIBXML2_VERSION_STRING "2.9.13")
53
set(LIBXML2_INSTALL_PREFIX ${PACKAGE_PREFIX_DIR})
54
set(LIBXML2_INCLUDE_DIR    ${PACKAGE_PREFIX_DIR}/include/libxml2)
55
set(LIBXML2_LIBRARY_DIR    ${PACKAGE_PREFIX_DIR}/lib)
56
57
macro(select_library_location target basename)
58
  if(TARGET ${target})
59
    foreach(property IN ITEMS IMPORTED_LOCATION IMPORTED_IMPLIB)
60
      get_target_property(${basename}_${property}_DEBUG ${target} ${property}_DEBUG)
61
      get_target_property(${basename}_${property}_MINSIZEREL ${target} ${property}_MINSIZEREL)
62
      get_target_property(${basename}_${property}_RELEASE ${target} ${property}_RELEASE)
63
      get_target_property(${basename}_${property}_RELWITHDEBINFO ${target} ${property}_RELWITHDEBINFO)
64
65
      if(${basename}_${property}_DEBUG AND ${basename}_${property}_RELEASE)
66
        set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_RELEASE})
67
      elseif(${basename}_${property}_DEBUG AND ${basename}_${property}_RELWITHDEBINFO)
68
        set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_RELWITHDEBINFO})
69
      elseif(${basename}_${property}_DEBUG AND ${basename}_${property}_MINSIZEREL)
70
        set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_MINSIZEREL})
71
      elseif(${basename}_${property}_RELEASE)
72
        set(${basename}_LIBRARY ${${basename}_${property}_RELEASE})
73
      elseif(${basename}_${property}_RELWITHDEBINFO)
74
        set(${basename}_LIBRARY ${${basename}_${property}_RELWITHDEBINFO})
75
      elseif(${basename}_${property}_MINSIZEREL)
76
        set(${basename}_LIBRARY ${${basename}_${property}_MINSIZEREL})
77
      elseif(${basename}_${property}_DEBUG)
78
        set(${basename}_LIBRARY ${${basename}_${property}_DEBUG})
79
      endif()
80
    endforeach()
81
  endif()
82
endmacro()
83
84
macro(select_executable_location target basename)
85
  if(TARGET ${target})
86
    get_target_property(${basename}_IMPORTED_LOCATION_DEBUG ${target} IMPORTED_LOCATION_DEBUG)
87
    get_target_property(${basename}_IMPORTED_LOCATION_MINSIZEREL ${target} IMPORTED_LOCATION_MINSIZEREL)
88
    get_target_property(${basename}_IMPORTED_LOCATION_RELEASE ${target} IMPORTED_LOCATION_RELEASE)
89
    get_target_property(${basename}_IMPORTED_LOCATION_RELWITHDEBINFO ${target} IMPORTED_LOCATION_RELWITHDEBINFO)
90
91
    if(${basename}_IMPORTED_LOCATION_RELEASE)
92
      set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_RELEASE})
93
    elseif(${basename}_IMPORTED_LOCATION_RELWITHDEBINFO)
94
      set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_RELWITHDEBINFO})
95
    elseif(${basename}_IMPORTED_LOCATION_MINSIZEREL)
96
      set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_MINSIZEREL})
97
    elseif(${basename}_IMPORTED_LOCATION_DEBUG)
98
      set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_DEBUG})
99
    endif()
100
  endif()
101
endmacro()
102
103
select_library_location(LibXml2::LibXml2 LIBXML2)
104
select_executable_location(LibXml2::xmlcatalog LIBXML2_XMLCATALOG)
105
select_executable_location(LibXml2::xmllint LIBXML2_XMLLINT)
106
107
set(LIBXML2_LIBRARIES ${LIBXML2_LIBRARY})
108
set(LIBXML2_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIR})
109
110
include(CMakeFindDependencyMacro)
111
112
set(LIBXML2_SHARED ON)
113
set(LIBXML2_WITH_ICONV ON)
114
set(LIBXML2_WITH_THREADS ON)
115
set(LIBXML2_WITH_ICU true)
116
set(LIBXML2_WITH_LZMA ON)
117
set(LIBXML2_WITH_ZLIB ON)
118
119
if(LIBXML2_WITH_ICONV)
120
  find_dependency(Iconv)
121
  list(APPEND LIBXML2_LIBRARIES    ${Iconv_LIBRARIES})
122
  list(APPEND LIBXML2_INCLUDE_DIRS ${Iconv_INCLUDE_DIRS})
123
endif()
124
125
if(NOT LIBXML2_SHARED)
126
  set(LIBXML2_DEFINITIONS -DLIBXML_STATIC)
127
128
  if(LIBXML2_WITH_THREADS)
129
    find_dependency(Threads)
130
    list(APPEND LIBXML2_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
131
  endif()
132
133
  if(LIBXML2_WITH_ICU)
134
    find_dependency(ICU COMPONENTS data i18n uc)
135
    list(APPEND LIBXML2_LIBRARIES    ${ICU_LIBRARIES})
136
  endif()
137
138
  if(LIBXML2_WITH_LZMA)
139
    find_dependency(LibLZMA)
140
    list(APPEND LIBXML2_LIBRARIES    ${LIBLZMA_LIBRARIES})
141
  endif()
142
143
  if(LIBXML2_WITH_ZLIB)
144
    find_dependency(ZLIB)
145
    list(APPEND LIBXML2_LIBRARIES    ${ZLIB_LIBRARIES})
146
  endif()
147
148
  if(UNIX)
149
    list(APPEND LIBXML2_LIBRARIES m)
150
  endif()
151
152
  if(WIN32)
153
    list(APPEND LIBXML2_LIBRARIES ws2_32)
154
  endif()
155
endif()
156
157
# whether libxml2 has dso support
158
set(LIBXML2_MODULES ON)
159
160
mark_as_advanced(LIBXML2_LIBRARY LIBXML2_XMLCATALOG_EXECUTABLE LIBXML2_XMLLINT_EXECUTABLE)
(-)p2new/usr/local/lib/cmake/libxml2-2.9.13/libxml2-export-release.cmake (+37 lines)
Line 0 Link Here
1
#----------------------------------------------------------------
2
# Generated CMake target import file for configuration "Release".
3
#----------------------------------------------------------------
4
5
# Commands may need to know the format version.
6
set(CMAKE_IMPORT_FILE_VERSION 1)
7
8
# Import target "LibXml2::LibXml2" for configuration "Release"
9
set_property(TARGET LibXml2::LibXml2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
set_target_properties(LibXml2::LibXml2 PROPERTIES
11
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libxml2.so.2.9.13"
12
  IMPORTED_SONAME_RELEASE "libxml2.so.2.9.13"
13
  )
14
15
list(APPEND _IMPORT_CHECK_TARGETS LibXml2::LibXml2 )
16
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXml2::LibXml2 "${_IMPORT_PREFIX}/lib/libxml2.so.2.9.13" )
17
18
# Import target "LibXml2::xmlcatalog" for configuration "Release"
19
set_property(TARGET LibXml2::xmlcatalog APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20
set_target_properties(LibXml2::xmlcatalog PROPERTIES
21
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/xmlcatalog"
22
  )
23
24
list(APPEND _IMPORT_CHECK_TARGETS LibXml2::xmlcatalog )
25
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXml2::xmlcatalog "${_IMPORT_PREFIX}/bin/xmlcatalog" )
26
27
# Import target "LibXml2::xmllint" for configuration "Release"
28
set_property(TARGET LibXml2::xmllint APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
29
set_target_properties(LibXml2::xmllint PROPERTIES
30
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/xmllint"
31
  )
32
33
list(APPEND _IMPORT_CHECK_TARGETS LibXml2::xmllint )
34
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXml2::xmllint "${_IMPORT_PREFIX}/bin/xmllint" )
35
36
# Commands beyond this point should not need to know the version.
37
set(CMAKE_IMPORT_FILE_VERSION)
(-)p2new/usr/local/lib/cmake/libxml2-2.9.13/libxml2-export.cmake (+105 lines)
Line 0 Link Here
1
# Generated by CMake
2
3
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
4
   message(FATAL_ERROR "CMake >= 2.6.0 required")
5
endif()
6
cmake_policy(PUSH)
7
cmake_policy(VERSION 2.6...3.20)
8
#----------------------------------------------------------------
9
# Generated CMake target import file.
10
#----------------------------------------------------------------
11
12
# Commands may need to know the format version.
13
set(CMAKE_IMPORT_FILE_VERSION 1)
14
15
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
16
set(_targetsDefined)
17
set(_targetsNotDefined)
18
set(_expectedTargets)
19
foreach(_expectedTarget LibXml2::LibXml2 LibXml2::xmlcatalog LibXml2::xmllint)
20
  list(APPEND _expectedTargets ${_expectedTarget})
21
  if(NOT TARGET ${_expectedTarget})
22
    list(APPEND _targetsNotDefined ${_expectedTarget})
23
  endif()
24
  if(TARGET ${_expectedTarget})
25
    list(APPEND _targetsDefined ${_expectedTarget})
26
  endif()
27
endforeach()
28
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
29
  unset(_targetsDefined)
30
  unset(_targetsNotDefined)
31
  unset(_expectedTargets)
32
  set(CMAKE_IMPORT_FILE_VERSION)
33
  cmake_policy(POP)
34
  return()
35
endif()
36
if(NOT "${_targetsDefined}" STREQUAL "")
37
  message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
38
endif()
39
unset(_targetsDefined)
40
unset(_targetsNotDefined)
41
unset(_expectedTargets)
42
43
44
# Compute the installation prefix relative to this file.
45
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
46
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
47
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
48
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
49
if(_IMPORT_PREFIX STREQUAL "/")
50
  set(_IMPORT_PREFIX "")
51
endif()
52
53
# Create imported target LibXml2::LibXml2
54
add_library(LibXml2::LibXml2 SHARED IMPORTED)
55
56
set_target_properties(LibXml2::LibXml2 PROPERTIES
57
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/libxml2"
58
  INTERFACE_LINK_LIBRARIES "Iconv::Iconv"
59
)
60
61
# Create imported target LibXml2::xmlcatalog
62
add_executable(LibXml2::xmlcatalog IMPORTED)
63
64
# Create imported target LibXml2::xmllint
65
add_executable(LibXml2::xmllint IMPORTED)
66
67
if(CMAKE_VERSION VERSION_LESS 2.8.12)
68
  message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
69
endif()
70
71
# Load information for each installed configuration.
72
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
73
file(GLOB CONFIG_FILES "${_DIR}/libxml2-export-*.cmake")
74
foreach(f ${CONFIG_FILES})
75
  include(${f})
76
endforeach()
77
78
# Cleanup temporary variables.
79
set(_IMPORT_PREFIX)
80
81
# Loop over all imported files and verify that they actually exist
82
foreach(target ${_IMPORT_CHECK_TARGETS} )
83
  foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
84
    if(NOT EXISTS "${file}" )
85
      message(FATAL_ERROR "The imported target \"${target}\" references the file
86
   \"${file}\"
87
but this file does not exist.  Possible reasons include:
88
* The file was deleted, renamed, or moved to another location.
89
* An install or uninstall procedure did not complete successfully.
90
* The installation package was faulty and contained
91
   \"${CMAKE_CURRENT_LIST_FILE}\"
92
but not all the files it references.
93
")
94
    endif()
95
  endforeach()
96
  unset(_IMPORT_CHECK_FILES_FOR_${target})
97
endforeach()
98
unset(_IMPORT_CHECK_TARGETS)
99
100
# This file does not depend on other imported targets which have
101
# been exported from the same project but in a separate export set.
102
103
# Commands beyond this point should not need to know the version.
104
set(CMAKE_IMPORT_FILE_VERSION)
105
cmake_policy(POP)
(-)p2new/usr/local/lib/cmake/libxslt-1.1.35/FindGcrypt.cmake (+40 lines)
Line 0 Link Here
1
include(FindPackageHandleStandardArgs)
2
include(SelectLibraryConfigurations)
3
4
find_path(GCRYPT_INCLUDE_DIRS NAMES gcrypt.h)
5
6
mark_as_advanced(GCRYPT_INCLUDE_DIRS)
7
8
find_library(GCRYPT_LIBRARY_DEBUG NAMES gcryptd)
9
find_library(GCRYPT_LIBRARY_RELEASE NAMES gcrypt)
10
11
select_library_configurations(GCRYPT)
12
13
if(GCRYPT_INCLUDE_DIRS AND EXISTS "${GCRYPT_INCLUDE_DIRS}/gcrypt.h")
14
	file(STRINGS "${GCRYPT_INCLUDE_DIRS}/gcrypt.h" _GCRYPT_VERSION_DEFINE REGEX "#define[\t ]+GCRYPT_VERSION[\t ]+\"[^\"]*\".*")
15
	string(REGEX REPLACE "#define[\t ]+GCRYPT_VERSION[\t ]+\"([^\"]*)\".*" "\\1" GCRYPT_VERSION "${_GCRYPT_VERSION_DEFINE}")
16
	unset(_GCRYPT_VERSION_DEFINE)
17
endif()
18
19
find_package_handle_standard_args(
20
	Gcrypt
21
	FOUND_VAR GCRYPT_FOUND
22
	REQUIRED_VARS GCRYPT_INCLUDE_DIRS GCRYPT_LIBRARIES
23
	VERSION_VAR GCRYPT_VERSION
24
)
25
26
if(GCRYPT_FOUND AND NOT TARGET Gcrypt::Gcrypt)
27
	add_library(Gcrypt::Gcrypt UNKNOWN IMPORTED)
28
	if(GCRYPT_LIBRARY_RELEASE)
29
		set_property(TARGET Gcrypt::Gcrypt APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
30
		set_target_properties(Gcrypt::Gcrypt PROPERTIES IMPORTED_LOCATION_RELEASE "${GCRYPT_LIBRARY_RELEASE}")
31
	endif()
32
	if(GCRYPT_LIBRARY_DEBUG)
33
		set_property(TARGET Gcrypt::Gcrypt APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
34
		set_target_properties(Gcrypt::Gcrypt PROPERTIES IMPORTED_LOCATION_DEBUG "${GCRYPT_LIBRARY_DEBUG}")
35
	endif()
36
	set_target_properties(
37
		Gcrypt::Gcrypt PROPERTIES
38
		INTERFACE_INCLUDE_DIRECTORIES "${GCRYPT_INCLUDE_DIRS}"
39
	)
40
endif()
(-)p2new/usr/local/lib/cmake/libxslt-1.1.35/libxslt-config-version.cmake (+88 lines)
Line 0 Link Here
1
# This is a basic version file for the Config-mode of find_package().
2
# It is used by write_basic_package_version_file() as input file for configure_file()
3
# to create a version-file which can be installed along a config.cmake file.
4
#
5
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
# the requested version string are exactly the same and it sets
7
# PACKAGE_VERSION_COMPATIBLE if the current version is equal to the requested version.
8
# The tweak version component is ignored.
9
# The variable CVF_VERSION must be set before calling configure_file().
10
11
12
if (PACKAGE_FIND_VERSION_RANGE)
13
  message(AUTHOR_WARNING
14
    "`find_package()` specify a version range but the version strategy "
15
    "(ExactVersion) of the module `${PACKAGE_FIND_NAME}` is incompatible "
16
    "with this request. Only the lower endpoint of the range will be used.")
17
endif()
18
19
set(PACKAGE_VERSION "1.1.35")
20
21
if("1.1.35" MATCHES "^([0-9]+)\\.([0-9]+)\\.([0-9]+)") # strip the tweak version
22
  set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
23
  set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}")
24
  set(CVF_VERSION_PATCH "${CMAKE_MATCH_3}")
25
26
  if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
27
    string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
28
  endif()
29
  if(NOT CVF_VERSION_MINOR VERSION_EQUAL 0)
30
    string(REGEX REPLACE "^0+" "" CVF_VERSION_MINOR "${CVF_VERSION_MINOR}")
31
  endif()
32
  if(NOT CVF_VERSION_PATCH VERSION_EQUAL 0)
33
    string(REGEX REPLACE "^0+" "" CVF_VERSION_PATCH "${CVF_VERSION_PATCH}")
34
  endif()
35
36
  set(CVF_VERSION_NO_TWEAK "${CVF_VERSION_MAJOR}.${CVF_VERSION_MINOR}.${CVF_VERSION_PATCH}")
37
else()
38
  set(CVF_VERSION_NO_TWEAK "1.1.35")
39
endif()
40
41
if(PACKAGE_FIND_VERSION MATCHES "^([0-9]+)\\.([0-9]+)\\.([0-9]+)") # strip the tweak version
42
  set(REQUESTED_VERSION_MAJOR "${CMAKE_MATCH_1}")
43
  set(REQUESTED_VERSION_MINOR "${CMAKE_MATCH_2}")
44
  set(REQUESTED_VERSION_PATCH "${CMAKE_MATCH_3}")
45
46
  if(NOT REQUESTED_VERSION_MAJOR VERSION_EQUAL 0)
47
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_MAJOR "${REQUESTED_VERSION_MAJOR}")
48
  endif()
49
  if(NOT REQUESTED_VERSION_MINOR VERSION_EQUAL 0)
50
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_MINOR "${REQUESTED_VERSION_MINOR}")
51
  endif()
52
  if(NOT REQUESTED_VERSION_PATCH VERSION_EQUAL 0)
53
    string(REGEX REPLACE "^0+" "" REQUESTED_VERSION_PATCH "${REQUESTED_VERSION_PATCH}")
54
  endif()
55
56
  set(REQUESTED_VERSION_NO_TWEAK
57
      "${REQUESTED_VERSION_MAJOR}.${REQUESTED_VERSION_MINOR}.${REQUESTED_VERSION_PATCH}")
58
else()
59
  set(REQUESTED_VERSION_NO_TWEAK "${PACKAGE_FIND_VERSION}")
60
endif()
61
62
if(REQUESTED_VERSION_NO_TWEAK STREQUAL CVF_VERSION_NO_TWEAK)
63
  set(PACKAGE_VERSION_COMPATIBLE TRUE)
64
else()
65
  set(PACKAGE_VERSION_COMPATIBLE FALSE)
66
endif()
67
68
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
69
  set(PACKAGE_VERSION_EXACT TRUE)
70
endif()
71
72
73
# if the installed project requested no architecture check, don't perform the check
74
if("FALSE")
75
  return()
76
endif()
77
78
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
79
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
80
  return()
81
endif()
82
83
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
84
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
85
  math(EXPR installedBits "8 * 8")
86
  set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
87
  set(PACKAGE_VERSION_UNSUITABLE TRUE)
88
endif()
(-)p2new/usr/local/lib/cmake/libxslt-1.1.35/libxslt-config.cmake (+122 lines)
Line 0 Link Here
1
set(LIBXSLT_VERSION "1.1.35")
2
set(LIBXSLT_VERSION_MAJOR "1")
3
set(LIBXSLT_VERSION_MINOR "1")
4
set(LIBXSLT_VERSION_PATCH "35")
5
6
set(LIBEXSLT_VERSION "0.8.20")
7
set(LIBEXSLT_VERSION_MAJOR "0")
8
set(LIBEXSLT_VERSION_MINOR "8")
9
set(LIBEXSLT_VERSION_PATCH "20")
10
11
12
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
13
####### Any changes to this file will be overwritten by the next CMake run ####
14
####### The input file was libxslt-config.cmake.cmake.in                            ########
15
16
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
17
18
macro(set_and_check _var _file)
19
  set(${_var} "${_file}")
20
  if(NOT EXISTS "${_file}")
21
    message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
22
  endif()
23
endmacro()
24
25
macro(check_required_components _NAME)
26
  foreach(comp ${${_NAME}_FIND_COMPONENTS})
27
    if(NOT ${_NAME}_${comp}_FOUND)
28
      if(${_NAME}_FIND_REQUIRED_${comp})
29
        set(${_NAME}_FOUND FALSE)
30
      endif()
31
    endif()
32
  endforeach()
33
endmacro()
34
35
####################################################################################
36
37
include("${CMAKE_CURRENT_LIST_DIR}/libxslt-export.cmake")
38
39
set(LIBXSLT_DEFINITIONS "")
40
set(LIBXSLT_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
41
set(LIBXSLT_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/lib")
42
set(LIBXSLT_EXSLT_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
43
set(LIBXSLT_EXSLT_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/lib")
44
45
macro(select_library_location target basename)
46
	if(TARGET ${target})
47
		foreach(property IN ITEMS IMPORTED_LOCATION IMPORTED_IMPLIB)
48
			get_target_property(${basename}_${property}_DEBUG ${target} ${property}_DEBUG)
49
			get_target_property(${basename}_${property}_MINSIZEREL ${target} ${property}_MINSIZEREL)
50
			get_target_property(${basename}_${property}_RELEASE ${target} ${property}_RELEASE)
51
			get_target_property(${basename}_${property}_RELWITHDEBINFO ${target} ${property}_RELWITHDEBINFO)
52
53
			if(${basename}_${property}_DEBUG AND ${basename}_${property}_RELEASE)
54
				set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_RELEASE})
55
			elseif(${basename}_${property}_DEBUG AND ${basename}_${property}_RELWITHDEBINFO)
56
				set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_RELWITHDEBINFO})
57
			elseif(${basename}_${property}_DEBUG AND ${basename}_${property}_MINSIZEREL)
58
				set(${basename}_LIBRARY debug ${${basename}_${property}_DEBUG} optimized ${${basename}_${property}_MINSIZEREL})
59
			elseif(${basename}_${property}_RELEASE)
60
				set(${basename}_LIBRARY ${${basename}_${property}_RELEASE})
61
			elseif(${basename}_${property}_RELWITHDEBINFO)
62
				set(${basename}_LIBRARY ${${basename}_${property}_RELWITHDEBINFO})
63
			elseif(${basename}_${property}_MINSIZEREL)
64
				set(${basename}_LIBRARY ${${basename}_${property}_MINSIZEREL})
65
			elseif(${basename}_${property}_DEBUG)
66
				set(${basename}_LIBRARY ${${basename}_${property}_DEBUG})
67
			endif()
68
		endforeach()
69
	endif()
70
endmacro()
71
72
macro(select_executable_location target basename)
73
	if(TARGET ${target})
74
		get_target_property(${basename}_IMPORTED_LOCATION_DEBUG ${target} IMPORTED_LOCATION_DEBUG)
75
		get_target_property(${basename}_IMPORTED_LOCATION_MINSIZEREL ${target} IMPORTED_LOCATION_MINSIZEREL)
76
		get_target_property(${basename}_IMPORTED_LOCATION_RELEASE ${target} IMPORTED_LOCATION_RELEASE)
77
		get_target_property(${basename}_IMPORTED_LOCATION_RELWITHDEBINFO ${target} IMPORTED_LOCATION_RELWITHDEBINFO)
78
79
		if(${basename}_IMPORTED_LOCATION_RELEASE)
80
			set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_RELEASE})
81
		elseif(${basename}_IMPORTED_LOCATION_RELWITHDEBINFO)
82
			set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_RELWITHDEBINFO})
83
		elseif(${basename}_IMPORTED_LOCATION_MINSIZEREL)
84
			set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_MINSIZEREL})
85
		elseif(${basename}_IMPORTED_LOCATION_DEBUG)
86
			set(${basename}_EXECUTABLE ${${basename}_IMPORTED_LOCATION_DEBUG})
87
		endif()
88
	endif()
89
endmacro()
90
91
select_library_location(LibXslt::LibXslt LIBXSLT)
92
select_library_location(LibXslt::LibExslt LIBXSLT_EXSLT)
93
select_executable_location(LibXslt::xsltproc LIBXSLT_XSLTPROC)
94
95
set(LIBXSLT_INCLUDE_DIRS ${LIBXSLT_INCLUDE_DIR})
96
set(LIBXSLT_LIBRARIES ${LIBXSLT_LIBRARY})
97
set(LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXSLT_EXSLT_INCLUDE_DIR})
98
set(LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_EXSLT_LIBRARY})
99
100
include(CMakeFindDependencyMacro)
101
102
set(LIBXSLT_SHARED ON)
103
set(LIBXSLT_WITH_CRYPTO ON)
104
105
find_dependency(LibXml2 CONFIG)
106
list(APPEND LIBXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
107
list(APPEND LIBXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
108
109
if(NOT LIBXSLT_SHARED)
110
	if(LIBXSLT_WITH_CRYPTO)
111
		list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
112
		find_dependency(Gcrypt)
113
		list(APPEND LIBXSLT_EXSLT_LIBRARIES ${GCRYPT_LIBRARIES})
114
	endif()
115
116
	if(UNIX)
117
		list(APPEND LIBXSLT_LIBRARIES m)
118
	endif()
119
endif()
120
121
list(APPEND LIBXSLT_EXSLT_INCLUDE_DIRS ${LIBXSLT_INCLUDE_DIRS})
122
list(APPEND LIBXSLT_EXSLT_LIBRARIES ${LIBXSLT_LIBRARIES})
(-)p2new/usr/local/lib/cmake/libxslt-1.1.35/libxslt-export-release.cmake (+38 lines)
Line 0 Link Here
1
#----------------------------------------------------------------
2
# Generated CMake target import file for configuration "Release".
3
#----------------------------------------------------------------
4
5
# Commands may need to know the format version.
6
set(CMAKE_IMPORT_FILE_VERSION 1)
7
8
# Import target "LibXslt::LibXslt" for configuration "Release"
9
set_property(TARGET LibXslt::LibXslt APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
set_target_properties(LibXslt::LibXslt PROPERTIES
11
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libxslt.so.1.1.35"
12
  IMPORTED_SONAME_RELEASE "libxslt.so.1.1.35"
13
  )
14
15
list(APPEND _IMPORT_CHECK_TARGETS LibXslt::LibXslt )
16
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXslt::LibXslt "${_IMPORT_PREFIX}/lib/libxslt.so.1.1.35" )
17
18
# Import target "LibXslt::LibExslt" for configuration "Release"
19
set_property(TARGET LibXslt::LibExslt APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20
set_target_properties(LibXslt::LibExslt PROPERTIES
21
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libexslt.so.0.8.20"
22
  IMPORTED_SONAME_RELEASE "libexslt.so.0.8.20"
23
  )
24
25
list(APPEND _IMPORT_CHECK_TARGETS LibXslt::LibExslt )
26
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXslt::LibExslt "${_IMPORT_PREFIX}/lib/libexslt.so.0.8.20" )
27
28
# Import target "LibXslt::xsltproc" for configuration "Release"
29
set_property(TARGET LibXslt::xsltproc APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
30
set_target_properties(LibXslt::xsltproc PROPERTIES
31
  IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/xsltproc"
32
  )
33
34
list(APPEND _IMPORT_CHECK_TARGETS LibXslt::xsltproc )
35
list(APPEND _IMPORT_CHECK_FILES_FOR_LibXslt::xsltproc "${_IMPORT_PREFIX}/bin/xsltproc" )
36
37
# Commands beyond this point should not need to know the version.
38
set(CMAKE_IMPORT_FILE_VERSION)
(-)p2new/usr/local/lib/cmake/libxslt-1.1.35/libxslt-export.cmake (+110 lines)
Line 0 Link Here
1
# Generated by CMake
2
3
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
4
   message(FATAL_ERROR "CMake >= 2.6.0 required")
5
endif()
6
cmake_policy(PUSH)
7
cmake_policy(VERSION 2.6...3.20)
8
#----------------------------------------------------------------
9
# Generated CMake target import file.
10
#----------------------------------------------------------------
11
12
# Commands may need to know the format version.
13
set(CMAKE_IMPORT_FILE_VERSION 1)
14
15
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
16
set(_targetsDefined)
17
set(_targetsNotDefined)
18
set(_expectedTargets)
19
foreach(_expectedTarget LibXslt::LibXslt LibXslt::LibExslt LibXslt::xsltproc)
20
  list(APPEND _expectedTargets ${_expectedTarget})
21
  if(NOT TARGET ${_expectedTarget})
22
    list(APPEND _targetsNotDefined ${_expectedTarget})
23
  endif()
24
  if(TARGET ${_expectedTarget})
25
    list(APPEND _targetsDefined ${_expectedTarget})
26
  endif()
27
endforeach()
28
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
29
  unset(_targetsDefined)
30
  unset(_targetsNotDefined)
31
  unset(_expectedTargets)
32
  set(CMAKE_IMPORT_FILE_VERSION)
33
  cmake_policy(POP)
34
  return()
35
endif()
36
if(NOT "${_targetsDefined}" STREQUAL "")
37
  message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
38
endif()
39
unset(_targetsDefined)
40
unset(_targetsNotDefined)
41
unset(_expectedTargets)
42
43
44
# Compute the installation prefix relative to this file.
45
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
46
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
47
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
48
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
49
if(_IMPORT_PREFIX STREQUAL "/")
50
  set(_IMPORT_PREFIX "")
51
endif()
52
53
# Create imported target LibXslt::LibXslt
54
add_library(LibXslt::LibXslt SHARED IMPORTED)
55
56
set_target_properties(LibXslt::LibXslt PROPERTIES
57
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
58
  INTERFACE_LINK_LIBRARIES "LibXml2::LibXml2"
59
)
60
61
# Create imported target LibXslt::LibExslt
62
add_library(LibXslt::LibExslt SHARED IMPORTED)
63
64
set_target_properties(LibXslt::LibExslt PROPERTIES
65
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
66
  INTERFACE_LINK_LIBRARIES "LibXslt::LibXslt;LibXml2::LibXml2"
67
)
68
69
# Create imported target LibXslt::xsltproc
70
add_executable(LibXslt::xsltproc IMPORTED)
71
72
if(CMAKE_VERSION VERSION_LESS 2.8.12)
73
  message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
74
endif()
75
76
# Load information for each installed configuration.
77
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
78
file(GLOB CONFIG_FILES "${_DIR}/libxslt-export-*.cmake")
79
foreach(f ${CONFIG_FILES})
80
  include(${f})
81
endforeach()
82
83
# Cleanup temporary variables.
84
set(_IMPORT_PREFIX)
85
86
# Loop over all imported files and verify that they actually exist
87
foreach(target ${_IMPORT_CHECK_TARGETS} )
88
  foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
89
    if(NOT EXISTS "${file}" )
90
      message(FATAL_ERROR "The imported target \"${target}\" references the file
91
   \"${file}\"
92
but this file does not exist.  Possible reasons include:
93
* The file was deleted, renamed, or moved to another location.
94
* An install or uninstall procedure did not complete successfully.
95
* The installation package was faulty and contained
96
   \"${CMAKE_CURRENT_LIST_FILE}\"
97
but not all the files it references.
98
")
99
    endif()
100
  endforeach()
101
  unset(_IMPORT_CHECK_FILES_FOR_${target})
102
endforeach()
103
unset(_IMPORT_CHECK_TARGETS)
104
105
# This file does not depend on other imported targets which have
106
# been exported from the same project but in a separate export set.
107
108
# Commands beyond this point should not need to know the version.
109
set(CMAKE_IMPORT_FILE_VERSION)
110
cmake_policy(POP)
(-)p2new/usr/local/lib/xml2Conf.sh (-9 / +3 lines)
Lines 1-14 Link Here
1
#
1
#
2
# Configuration file for using the XML library in GNOME applications
2
# Configuration file for using the XML library in GNOME applications
3
#
3
#
4
5
prefix=@prefix@
6
exec_prefix=@exec_prefix@
7
includedir=@includedir@
8
libdir=@libdir@
9
10
XML2_LIBDIR="-L/usr/local/lib"
4
XML2_LIBDIR="-L/usr/local/lib"
11
XML2_LIBS="-lxml2 -lz  -L/usr/lib -llzma  -L/usr/lib  -lm"
5
XML2_LIBS="-lxml2 -lz -llzma -pthread  -licudata -licui18n -licuuc -lm"
12
XML2_INCLUDEDIR="-I/usr/local/include/libxml2 -I/usr/include"
6
XML2_INCLUDEDIR="-I/usr/local/include/libxml2"
13
MODULE_VERSION="xml2-2.9.12"
7
MODULE_VERSION="xml2-2.9.13"
14
8
(-)p2new/usr/local/lib/xsltConf.sh (-2 / +2 lines)
Lines 2-8 Link Here
2
# Configuration file for using the xslt library
2
# Configuration file for using the xslt library
3
#
3
#
4
XSLT_LIBDIR="-L/usr/local/lib"
4
XSLT_LIBDIR="-L/usr/local/lib"
5
XSLT_LIBS="-lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm  "
5
XSLT_LIBS="-lxslt -lxml2"
6
XSLT_PRIVATE_LIBS="-lm"
6
XSLT_PRIVATE_LIBS="-lm"
7
XSLT_INCLUDEDIR="-I/usr/local/include"
7
XSLT_INCLUDEDIR="-I/usr/local/include"
8
MODULE_VERSION="xslt-1.1.34"
8
MODULE_VERSION="xslt-1.1.35"
(-)p2new/usr/local/libdata/pkgconfig/libexslt.pc (-4 / +4 lines)
Lines 1-13 Link Here
1
prefix=/usr/local
1
prefix=/usr/local
2
exec_prefix=${prefix}
2
exec_prefix=${prefix}
3
libdir=${exec_prefix}/lib
3
libdir=${prefix}/lib
4
includedir=${prefix}/include
4
includedir=${prefix}/include
5
5
6
6
7
Name: libexslt
7
Name: libexslt
8
Version: 0.8.20
8
Version: 0.8.20
9
Description: EXSLT Extension library
9
Description: EXSLT Extension library
10
Requires: libxml-2.0
10
Requires: libxml-2.0, libxslt
11
Cflags: -I${includedir}
11
Cflags: -I${includedir}
12
Libs: -L${libdir} -lexslt -lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm 
12
Libs: -L${libdir} -lexslt
13
Libs.private: -lm -L/usr/local/lib -lgcrypt -lgpg-error
13
Libs.private: -lm -lgcrypt
(-)p2new/usr/local/libdata/pkgconfig/libxml-2.0.pc (-4 / +4 lines)
Lines 1-13 Link Here
1
prefix=/usr/local
1
prefix=/usr/local
2
exec_prefix=${prefix}
2
exec_prefix=${prefix}
3
libdir=${exec_prefix}/lib
3
libdir=${prefix}/lib
4
includedir=${prefix}/include
4
includedir=${prefix}/include
5
modules=1
5
modules=1
6
6
7
Name: libXML
7
Name: libXML
8
Version: 2.9.12
8
Version: 2.9.13
9
Description: libXML library version2.
9
Description: libXML library version2.
10
Requires:
10
Requires:
11
Libs: -L${libdir} -lxml2
11
Libs: -L${libdir} -lxml2
12
Libs.private:  -lz  -L/usr/lib -llzma -L/usr/lib -lm  
12
Libs.private: -licudata -licui18n -licuuc -pthread -lz -llzma  -lm  
13
Cflags: -I${includedir}/libxml2 -I/usr/include 
13
Cflags: -I${includedir}/libxml2 
(-)p2new/usr/local/libdata/pkgconfig/libxslt.pc (-3 / +3 lines)
Lines 1-13 Link Here
1
prefix=/usr/local
1
prefix=/usr/local
2
exec_prefix=${prefix}
2
exec_prefix=${prefix}
3
libdir=${exec_prefix}/lib
3
libdir=${prefix}/lib
4
includedir=${prefix}/include
4
includedir=${prefix}/include
5
5
6
6
7
Name: libxslt
7
Name: libxslt
8
Version: 1.1.34
8
Version: 1.1.35
9
Description: XSLT library version 2.
9
Description: XSLT library version 2.
10
Requires: libxml-2.0
10
Requires: libxml-2.0
11
Cflags: -I${includedir}
11
Cflags: -I${includedir}
12
Libs: -L${libdir} -lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm  
12
Libs: -L${libdir} -lxslt
13
Libs.private: -lm
13
Libs.private: -lm
(-)p2new/usr/local/share/aclocal/libxml.m4 (-192 lines)
Lines 1-192 Link Here
1
# Configure paths for LIBXML2
2
# Simon Josefsson 2020-02-12
3
# Fix autoconf 2.70+ warnings
4
# Mike Hommey 2004-06-19
5
# use CPPFLAGS instead of CFLAGS
6
# Toshio Kuratomi 2001-04-21
7
# Adapted from:
8
# Configure paths for GLIB
9
# Owen Taylor     97-11-3
10
11
dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
12
dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS
13
dnl
14
AC_DEFUN([AM_PATH_XML2],[ 
15
AC_ARG_WITH(xml-prefix,
16
            [  --with-xml-prefix=PFX   Prefix where libxml is installed (optional)],
17
            xml_config_prefix="$withval", xml_config_prefix="")
18
AC_ARG_WITH(xml-exec-prefix,
19
            [  --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)],
20
            xml_config_exec_prefix="$withval", xml_config_exec_prefix="")
21
AC_ARG_ENABLE(xmltest,
22
              [  --disable-xmltest       Do not try to compile and run a test LIBXML program],,
23
              enable_xmltest=yes)
24
25
  if test x$xml_config_exec_prefix != x ; then
26
     xml_config_args="$xml_config_args"
27
     if test x${XML2_CONFIG+set} != xset ; then
28
        XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
29
     fi
30
  fi
31
  if test x$xml_config_prefix != x ; then
32
     xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
33
     if test x${XML2_CONFIG+set} != xset ; then
34
        XML2_CONFIG=$xml_config_prefix/bin/xml2-config
35
     fi
36
  fi
37
38
  AC_PATH_PROG(XML2_CONFIG, xml2-config, no)
39
  min_xml_version=ifelse([$1], ,2.0.0,[$1])
40
  AC_MSG_CHECKING(for libxml - version >= $min_xml_version)
41
  no_xml=""
42
  if test "$XML2_CONFIG" = "no" ; then
43
    no_xml=yes
44
  else
45
    XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
46
    XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
47
    xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
48
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
49
    xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
50
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
51
    xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
52
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
53
    if test "x$enable_xmltest" = "xyes" ; then
54
      ac_save_CPPFLAGS="$CPPFLAGS"
55
      ac_save_LIBS="$LIBS"
56
      CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
57
      LIBS="$XML_LIBS $LIBS"
58
dnl
59
dnl Now check if the installed libxml is sufficiently new.
60
dnl (Also sanity checks the results of xml2-config to some extent)
61
dnl
62
      rm -f conf.xmltest
63
      AC_RUN_IFELSE(
64
            [AC_LANG_SOURCE([[
65
#include <stdlib.h>
66
#include <stdio.h>
67
#include <string.h>
68
#include <libxml/xmlversion.h>
69
70
int 
71
main()
72
{
73
  int xml_major_version, xml_minor_version, xml_micro_version;
74
  int major, minor, micro;
75
  char *tmp_version;
76
77
  system("touch conf.xmltest");
78
79
  /* Capture xml2-config output via autoconf/configure variables */
80
  /* HP/UX 9 (%@#!) writes to sscanf strings */
81
  tmp_version = (char *)strdup("$min_xml_version");
82
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
83
     printf("%s, bad version string from xml2-config\n", "$min_xml_version");
84
     exit(1);
85
   }
86
   free(tmp_version);
87
88
   /* Capture the version information from the header files */
89
   tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
90
   if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
91
     printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
92
     exit(1);
93
   }
94
   free(tmp_version);
95
96
 /* Compare xml2-config output to the libxml headers */
97
  if ((xml_major_version != $xml_config_major_version) ||
98
      (xml_minor_version != $xml_config_minor_version) ||
99
      (xml_micro_version != $xml_config_micro_version))
100
    {
101
      printf("*** libxml header files (version %d.%d.%d) do not match\n",
102
         xml_major_version, xml_minor_version, xml_micro_version);
103
      printf("*** xml2-config (version %d.%d.%d)\n",
104
         $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
105
      return 1;
106
    } 
107
/* Compare the headers to the library to make sure we match */
108
  /* Less than ideal -- doesn't provide us with return value feedback, 
109
   * only exits if there's a serious mismatch between header and library.
110
   */
111
    LIBXML_TEST_VERSION;
112
113
    /* Test that the library is greater than our minimum version */
114
    if ((xml_major_version > major) ||
115
        ((xml_major_version == major) && (xml_minor_version > minor)) ||
116
        ((xml_major_version == major) && (xml_minor_version == minor) &&
117
        (xml_micro_version >= micro)))
118
      {
119
        return 0;
120
       }
121
     else
122
      {
123
        printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
124
               xml_major_version, xml_minor_version, xml_micro_version);
125
        printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
126
           major, minor, micro);
127
        printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
128
        printf("***\n");
129
        printf("*** If you have already installed a sufficiently new version, this error\n");
130
        printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
131
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
132
        printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
133
        printf("*** correct copy of xml2-config. (In this case, you will have to\n");
134
        printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
135
        printf("*** so that the correct libraries are found at run-time))\n");
136
    }
137
  return 1;
138
}
139
]])],, no_xml=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
140
       CPPFLAGS="$ac_save_CPPFLAGS"
141
       LIBS="$ac_save_LIBS"
142
     fi
143
  fi
144
145
  if test "x$no_xml" = x ; then
146
     AC_MSG_RESULT(yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version))
147
     ifelse([$2], , :, [$2])     
148
  else
149
     AC_MSG_RESULT(no)
150
     if test "$XML2_CONFIG" = "no" ; then
151
       echo "*** The xml2-config script installed by LIBXML could not be found"
152
       echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
153
       echo "*** your path, or set the XML2_CONFIG environment variable to the"
154
       echo "*** full path to xml2-config."
155
     else
156
       if test -f conf.xmltest ; then
157
        :
158
       else
159
          echo "*** Could not run libxml test program, checking why..."
160
          CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
161
          LIBS="$LIBS $XML_LIBS"
162
	  AC_LINK_IFELSE(
163
            [AC_LANG_PROGRAM([[
164
#include <libxml/xmlversion.h>
165
#include <stdio.h>
166
]],    [[ LIBXML_TEST_VERSION; return 0;]])],
167
        [ echo "*** The test program compiled, but did not run. This usually means"
168
          echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
169
          echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
170
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
171
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
172
          echo "*** is required on your system"
173
          echo "***"
174
          echo "*** If you have an old version installed, it is best to remove it, although"
175
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
176
        [ echo "*** The test program failed to compile or link. See the file config.log for the"
177
          echo "*** exact error that occurred. This usually means LIBXML was incorrectly installed"
178
          echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
179
          echo "*** may want to edit the xml2-config script: $XML2_CONFIG" ])
180
          CPPFLAGS="$ac_save_CPPFLAGS"
181
          LIBS="$ac_save_LIBS"
182
       fi
183
     fi
184
185
     XML_CPPFLAGS=""
186
     XML_LIBS=""
187
     ifelse([$3], , :, [$3])
188
  fi
189
  AC_SUBST(XML_CPPFLAGS)
190
  AC_SUBST(XML_LIBS)
191
  rm -f conf.xmltest
192
])
(-)p2new/usr/local/share/aclocal/libxslt.m4 (-191 lines)
Lines 1-191 Link Here
1
# Based on:
2
# Configure paths for LIBXML2
3
# Toshio Kuratomi 2001-04-21
4
# Adapted from:
5
# Configure paths for GLIB
6
# Owen Taylor     97-11-3
7
#
8
# Modified to work with libxslt by Thomas Schraitle 2002/10/25
9
# Fixed by Edward Rudd 2004/05/12
10
11
dnl AM_PATH_XSLT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
12
dnl Test for XML, and define XML_CFLAGS and XML_LIBS
13
dnl
14
AC_DEFUN([AM_PATH_XSLT],[
15
AC_ARG_WITH(xslt-prefix,
16
            [  --with-xslt-prefix=PFX   Prefix where libxslt is installed (optional)],
17
            xslt_config_prefix="$withval", xslt_config_prefix="")
18
AC_ARG_WITH(xslt-exec-prefix,
19
            [  --with-xslt-exec-prefix=PFX Exec prefix where libxslt is installed (optional)],
20
            xslt_config_exec_prefix="$withval", xslt_config_exec_prefix="")
21
AC_ARG_ENABLE(xslttest,
22
              [  --disable-xslttest       Do not try to compile and run a test LIBXSLT program],,
23
              enable_xslttest=yes)
24
25
  if test x$xslt_config_exec_prefix != x ; then
26
     xslt_config_args="$xslt_config_args --exec-prefix=$xslt_config_exec_prefix"
27
     if test x${XSLT_CONFIG+set} != xset ; then
28
        XSLT_CONFIG=$xslt_config_exec_prefix/bin/xslt-config
29
     fi
30
  fi
31
  if test x$xslt_config_prefix != x ; then
32
     xslt_config_args="$xslt_config_args --prefix=$xslt_config_prefix"
33
     if test x${XSLT_CONFIG+set} != xset ; then
34
        XSLT_CONFIG=$xslt_config_prefix/bin/xslt-config
35
     fi
36
  fi
37
38
  AC_PATH_PROG(XSLT_CONFIG, xslt-config, no)
39
  min_xslt_version=ifelse([$1], ,1.0.0,[$1])
40
  AC_MSG_CHECKING(for libxslt - version >= $min_xslt_version)
41
  no_xslt=""
42
  if test "$XSLT_CONFIG" = "no" ; then
43
    no_xslt=yes
44
  else
45
    XSLT_CFLAGS=`$XSLT_CONFIG $xslt_config_args --cflags`
46
    XSLT_LIBS=`$XSLT_CONFIG $xslt_config_args --libs`
47
    xslt_config_major_version=`$XSLT_CONFIG $xslt_config_args --version | \
48
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
49
    xslt_config_minor_version=`$XSLT_CONFIG $xslt_config_args --version | \
50
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
51
    xslt_config_micro_version=`$XSLT_CONFIG $xslt_config_args --version | \
52
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
53
    if test "x$enable_xslttest" = "xyes" ; then
54
      ac_save_CFLAGS="$CFLAGS"
55
      ac_save_LIBS="$LIBS"
56
      CFLAGS="$CFLAGS $XSLT_CFLAGS"
57
      LIBS="$XSLT_LIBS $LIBS"
58
dnl
59
dnl Now check if the installed libxslt is sufficiently new.
60
dnl (Also sanity checks the results of xslt-config to some extent)
61
dnl
62
      rm -f conf.xslttest
63
      AC_TRY_RUN([
64
#include <stdlib.h>
65
#include <stdio.h>
66
#include <string.h>
67
#include <libxslt/xsltconfig.h>
68
#include <libxslt/xslt.h>
69
int 
70
main()
71
{
72
  int xslt_major_version, xslt_minor_version, xslt_micro_version;
73
  int major, minor, micro;
74
  char *tmp_version;
75
76
  system("touch conf.xslttest");
77
78
  /* Capture xslt-config output via autoconf/configure variables */
79
  /* HP/UX 9 (%@#!) writes to sscanf strings */
80
  tmp_version = (char *)strdup("$min_xslt_version");
81
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
82
     printf("%s, bad version string from xslt-config\n", "$min_xslt_version");
83
     exit(1);
84
   }
85
   free(tmp_version);
86
87
   /* Capture the version information from the header files */
88
   tmp_version = (char *)strdup(LIBXSLT_DOTTED_VERSION);
89
   if (sscanf(tmp_version, "%d.%d.%d", &xslt_major_version, &xslt_minor_version, &xslt_micro_version) != 3) {
90
     printf("%s, bad version string from libxslt includes\n", "LIBXSLT_DOTTED_VERSION");
91
     exit(1);
92
   }
93
   free(tmp_version);
94
95
 /* Compare xslt-config output to the libxslt headers */
96
  if ((xslt_major_version != $xslt_config_major_version) ||
97
      (xslt_minor_version != $xslt_config_minor_version) ||
98
      (xslt_micro_version != $xslt_config_micro_version))
99
    {
100
      printf("*** libxslt header files (version %d.%d.%d) do not match\n",
101
         xslt_major_version, xslt_minor_version, xslt_micro_version);
102
      printf("*** xslt-config (version %d.%d.%d)\n",
103
         $xslt_config_major_version, $xslt_config_minor_version, $xslt_config_micro_version);
104
      return 1;
105
    } 
106
/* Compare the headers to the library to make sure we match */
107
  /* Less than ideal -- doesn't provide us with return value feedback, 
108
   * only exits if there's a serious mismatch between header and library.
109
   */
110
    /* copied from LIBXML_TEST_VERSION; */
111
    xmlCheckVersion(LIBXML_VERSION);
112
113
    /* Test that the library is greater than our minimum version */
114
    if ((xslt_major_version > major) ||
115
        ((xslt_major_version == major) && (xslt_minor_version > minor)) ||
116
        ((xslt_major_version == major) && (xslt_minor_version == minor) &&
117
        (xslt_micro_version >= micro)))
118
      {
119
        return 0;
120
       }
121
     else
122
      {
123
        printf("\n*** An old version of libxslt (%d.%d.%d) was found.\n",
124
               xslt_major_version, xslt_minor_version, xslt_micro_version);
125
        printf("*** You need a version of libxslt newer than %d.%d.%d. The latest version of\n",
126
           major, minor, micro);
127
        printf("*** libxslt is always available from ftp://ftp.xmlsoft.org.\n");
128
        printf("***\n");
129
        printf("*** If you have already installed a sufficiently new version, this error\n");
130
        printf("*** probably means that the wrong copy of the xslt-config shell script is\n");
131
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
132
        printf("*** of LIBXSLT, but you can also set the XSLT_CONFIG environment to point to the\n");
133
        printf("*** correct copy of xslt-config. (In this case, you will have to\n");
134
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
135
        printf("*** so that the correct libraries are found at run-time))\n");
136
    }
137
  return 1;
138
}
139
],, no_xslt=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
140
       CFLAGS="$ac_save_CFLAGS"
141
       LIBS="$ac_save_LIBS"
142
     fi
143
  fi
144
145
  if test "x$no_xslt" = x ; then
146
     AC_MSG_RESULT(yes (version $xslt_config_major_version.$xslt_config_minor_version.$xslt_config_micro_version))
147
     ifelse([$2], , :, [$2])     
148
  else
149
     AC_MSG_RESULT(no)
150
     if test "$XSLT_CONFIG" = "no" ; then
151
       echo "*** The xslt-config script installed by LIBXSLT could not be found"
152
       echo "*** If libxslt was installed in PREFIX, make sure PREFIX/bin is in"
153
       echo "*** your path, or set the XSLT_CONFIG environment variable to the"
154
       echo "*** full path to xslt-config."
155
     else
156
       if test -f conf.xslttest ; then
157
        :
158
       else
159
          echo "*** Could not run libxslt test program, checking why..."
160
          CFLAGS="$CFLAGS $XSLT_CFLAGS"
161
          LIBS="$LIBS $XSLT_LIBS"
162
          AC_TRY_LINK([
163
#include <libxslt/xslt.h>
164
#include <stdio.h>
165
],      [ LIBXSLT_TEST_VERSION; return 0;],
166
        [ echo "*** The test program compiled, but did not run. This usually means"
167
          echo "*** that the run-time linker is not finding LIBXSLT or finding the wrong"
168
          echo "*** version of LIBXSLT. If it is not finding LIBXSLT, you'll need to set your"
169
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
170
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
171
          echo "*** is required on your system"
172
          echo "***"
173
          echo "*** If you have an old version installed, it is best to remove it, although"
174
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
175
        [ echo "*** The test program failed to compile or link. See the file config.log for the"
176
          echo "*** exact error that occured. This usually means LIBXSLT was incorrectly installed"
177
          echo "*** or that you have moved LIBXSLT since it was installed. In the latter case, you"
178
          echo "*** may want to edit the xslt-config script: $XSLT_CONFIG" ])
179
          CFLAGS="$ac_save_CFLAGS"
180
          LIBS="$ac_save_LIBS"
181
       fi
182
     fi
183
184
     XSLT_CFLAGS=""
185
     XSLT_LIBS=""
186
     ifelse([$3], , :, [$3])
187
  fi
188
  AC_SUBST(XSLT_CFLAGS)
189
  AC_SUBST(XSLT_LIBS)
190
  rm -f conf.xslttest
191
])
(-)p2new/usr/local/share/licenses/libxml2-2.9.12/catalog.mk (-13 lines)
Lines 1-13 Link Here
1
_LICENSE=MIT TRIO
2
_LICENSE_COMB=multi
3
_LICENSE_NAME=Multiple (all of): MIT TRIO
4
_LICENSE_PERMS=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
5
_LICENSE_GROUPS=
6
_LICENSE_NAME_MIT =MIT license / X11 license
7
_LICENSE_PERMS_MIT =dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
8
_LICENSE_GROUPS_MIT =COPYFREE FSF GPL OSI
9
_LICENSE_DISTFILES_MIT =libxml2-2.9.12.tar.gz
10
_LICENSE_NAME_TRIO =Trio License
11
_LICENSE_PERMS_TRIO =dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
12
_LICENSE_GROUPS_TRIO =
13
_LICENSE_DISTFILES_TRIO =libxml2-2.9.12.tar.gz
(-)p2new/usr/local/share/licenses/libxml2-2.9.12/LICENSE (-3 lines)
Lines 1-3 Link Here
1
This package has multiple licenses (all of):
2
- MIT (MIT license / X11 license)
3
- TRIO (Trio License)
(-)p2new/usr/local/share/licenses/libxml2-2.9.12/MIT (-23 lines)
Lines 1-23 Link Here
1
Except where otherwise noted in the source code (e.g. the files hash.c,
2
list.c and the trio files, which are covered by a similar licence but
3
with different Copyright notices) all the files are:
4
5
 Copyright (C) 1998-2012 Daniel Veillard.  All Rights Reserved.
6
7
Permission is hereby granted, free of charge, to any person obtaining a copy
8
of this software and associated documentation files (the "Software"), to deal
9
in the Software without restriction, including without limitation the rights
10
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
copies of the Software, and to permit persons to whom the Software is fur-
12
nished to do so, subject to the following conditions:
13
14
The above copyright notice and this permission notice shall be included in
15
all copies or substantial portions of the Software.
16
17
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
19
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
20
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
THE SOFTWARE.
(-)p2new/usr/local/share/licenses/libxml2-2.9.12/TRIO (-12 lines)
Lines 1-12 Link Here
1
(Following sentences are from trio.c of libxml2-2.9.4.tar.gz.)
2
3
Copyright (C) 1998 Bjorn Reese and Daniel Stenberg.
4
5
Permission to use, copy, modify, and distribute this software for any
6
purpose with or without fee is hereby granted, provided that the above
7
copyright notice and this permission notice appear in all copies.
8
9
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
10
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
11
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
12
CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
(-)p2new/usr/local/share/licenses/libxml2-2.9.13/catalog.mk (+5 lines)
Line 0 Link Here
1
_LICENSE=MIT
2
_LICENSE_NAME=MIT license / X11 license
3
_LICENSE_PERMS=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
4
_LICENSE_GROUPS=COPYFREE FSF GPL OSI
5
_LICENSE_DISTFILES=libxml2-2.9.13.tar.xz
(-)p2new/usr/local/share/licenses/libxml2-2.9.13/LICENSE (+1 lines)
Line 0 Link Here
1
This package has a single license: MIT (MIT license / X11 license).
(-)p2new/usr/local/share/licenses/libxml2-2.9.13/MIT (+2 lines)
Line 0 Link Here
1
The license: MIT (MIT license / X11 license) is standard, please
2
read from the web.
(-)p2new/usr/local/share/licenses/libxslt-1.1.34_2/catalog.mk (-5 lines)
Lines 1-5 Link Here
1
_LICENSE=MIT
2
_LICENSE_NAME=MIT license / X11 license
3
_LICENSE_PERMS=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
4
_LICENSE_GROUPS=COPYFREE FSF GPL OSI
5
_LICENSE_DISTFILES=libxslt-1.1.34.tar.gz
(-)p2new/usr/local/share/licenses/libxslt-1.1.34_2/LICENSE (-1 lines)
Line 1 Link Here
1
This package has a single license: MIT (MIT license / X11 license).
(-)p2new/usr/local/share/licenses/libxslt-1.1.34_2/MIT (-53 lines)
Lines 1-53 Link Here
1
Licence for libxslt except libexslt
2
----------------------------------------------------------------------
3
 Copyright (C) 2001-2002 Daniel Veillard.  All Rights Reserved.
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is fur-
10
nished to do so, subject to the following conditions:
11
12
The above copyright notice and this permission notice shall be included in
13
all copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
17
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18
DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
20
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22
Except as contained in this notice, the name of Daniel Veillard shall not
23
be used in advertising or otherwise to promote the sale, use or other deal-
24
ings in this Software without prior written authorization from him.
25
26
----------------------------------------------------------------------
27
28
Licence for libexslt
29
----------------------------------------------------------------------
30
 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
31
 All Rights Reserved.
32
33
Permission is hereby granted, free of charge, to any person obtaining a copy
34
of this software and associated documentation files (the "Software"), to deal
35
in the Software without restriction, including without limitation the rights
36
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37
copies of the Software, and to permit persons to whom the Software is fur-
38
nished to do so, subject to the following conditions:
39
40
The above copyright notice and this permission notice shall be included in
41
all copies or substantial portions of the Software.
42
43
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
45
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
46
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
47
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
48
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
49
50
Except as contained in this notice, the name of the authors shall not
51
be used in advertising or otherwise to promote the sale, use or other deal-
52
ings in this Software without prior written authorization from him.
53
----------------------------------------------------------------------
(-)p2new/usr/local/share/licenses/libxslt-1.1.35/catalog.mk (+5 lines)
Line 0 Link Here
1
_LICENSE=MIT
2
_LICENSE_NAME=MIT license / X11 license
3
_LICENSE_PERMS=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
4
_LICENSE_GROUPS=COPYFREE FSF GPL OSI
5
_LICENSE_DISTFILES=libxslt-1.1.35.tar.xz
(-)p2new/usr/local/share/licenses/libxslt-1.1.35/LICENSE (+1 lines)
Line 0 Link Here
1
This package has a single license: MIT (MIT license / X11 license).
(-)p2new/usr/local/share/licenses/libxslt-1.1.35/MIT (+53 lines)
Line 0 Link Here
1
Licence for libxslt except libexslt
2
----------------------------------------------------------------------
3
 Copyright (C) 2001-2002 Daniel Veillard.  All Rights Reserved.
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is fur-
10
nished to do so, subject to the following conditions:
11
12
The above copyright notice and this permission notice shall be included in
13
all copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
17
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18
DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
20
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22
Except as contained in this notice, the name of Daniel Veillard shall not
23
be used in advertising or otherwise to promote the sale, use or other deal-
24
ings in this Software without prior written authorization from him.
25
26
----------------------------------------------------------------------
27
28
Licence for libexslt
29
----------------------------------------------------------------------
30
 Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
31
 All Rights Reserved.
32
33
Permission is hereby granted, free of charge, to any person obtaining a copy
34
of this software and associated documentation files (the "Software"), to deal
35
in the Software without restriction, including without limitation the rights
36
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37
copies of the Software, and to permit persons to whom the Software is fur-
38
nished to do so, subject to the following conditions:
39
40
The above copyright notice and this permission notice shall be included in
41
all copies or substantial portions of the Software.
42
43
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
45
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
46
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
47
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
48
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
49
50
Except as contained in this notice, the name of the authors shall not
51
be used in advertising or otherwise to promote the sale, use or other deal-
52
ings in this Software without prior written authorization from him.
53
----------------------------------------------------------------------

Return to bug 262288