@cpp.js/package-tiff 1.0.0-beta.26 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/cppjs.config.js +11 -16
  4. package/package.json +8 -15
  5. package/dist/prebuilt/Android-arm64-v8a/include/tiff.h +0 -899
  6. package/dist/prebuilt/Android-arm64-v8a/include/tiffconf.h +0 -144
  7. package/dist/prebuilt/Android-arm64-v8a/include/tiffio.h +0 -653
  8. package/dist/prebuilt/Android-arm64-v8a/include/tiffio.hxx +0 -39
  9. package/dist/prebuilt/Android-arm64-v8a/include/tiffvers.h +0 -36
  10. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfig.cmake +0 -27
  11. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfigVersion.cmake +0 -65
  12. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffTargets-release.cmake +0 -19
  13. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffTargets.cmake +0 -106
  14. package/dist/prebuilt/Android-arm64-v8a/lib/libtiff.so +0 -0
  15. package/dist/prebuilt/Android-arm64-v8a/lib/libtiffxx.so +0 -0
  16. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libtiff-4.pc +0 -12
  17. package/dist/prebuilt/Android-x86_64/include/tiff.h +0 -899
  18. package/dist/prebuilt/Android-x86_64/include/tiffconf.h +0 -144
  19. package/dist/prebuilt/Android-x86_64/include/tiffio.h +0 -653
  20. package/dist/prebuilt/Android-x86_64/include/tiffio.hxx +0 -39
  21. package/dist/prebuilt/Android-x86_64/include/tiffvers.h +0 -36
  22. package/dist/prebuilt/Android-x86_64/lib/cmake/tiff/TiffConfig.cmake +0 -27
  23. package/dist/prebuilt/Android-x86_64/lib/cmake/tiff/TiffConfigVersion.cmake +0 -65
  24. package/dist/prebuilt/Android-x86_64/lib/cmake/tiff/TiffTargets-release.cmake +0 -19
  25. package/dist/prebuilt/Android-x86_64/lib/cmake/tiff/TiffTargets.cmake +0 -106
  26. package/dist/prebuilt/Android-x86_64/lib/libtiff.so +0 -0
  27. package/dist/prebuilt/Android-x86_64/lib/libtiffxx.so +0 -0
  28. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libtiff-4.pc +0 -12
  29. package/dist/prebuilt/CMakeLists.txt +0 -44
  30. package/dist/prebuilt/Emscripten-x86_64/include/tiff.h +0 -899
  31. package/dist/prebuilt/Emscripten-x86_64/include/tiffconf.h +0 -144
  32. package/dist/prebuilt/Emscripten-x86_64/include/tiffio.h +0 -653
  33. package/dist/prebuilt/Emscripten-x86_64/include/tiffio.hxx +0 -39
  34. package/dist/prebuilt/Emscripten-x86_64/include/tiffvers.h +0 -36
  35. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfig.cmake +0 -27
  36. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfigVersion.cmake +0 -65
  37. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffTargets-release.cmake +0 -19
  38. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffTargets.cmake +0 -106
  39. package/dist/prebuilt/Emscripten-x86_64/lib/libtiff.a +0 -0
  40. package/dist/prebuilt/Emscripten-x86_64/lib/libtiffxx.a +0 -0
  41. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libtiff-4.pc +0 -12
  42. package/dist/prebuilt/iOS-iphoneos/include/tiff.h +0 -899
  43. package/dist/prebuilt/iOS-iphoneos/include/tiffconf.h +0 -144
  44. package/dist/prebuilt/iOS-iphoneos/include/tiffio.h +0 -653
  45. package/dist/prebuilt/iOS-iphoneos/include/tiffio.hxx +0 -39
  46. package/dist/prebuilt/iOS-iphoneos/include/tiffvers.h +0 -36
  47. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfig.cmake +0 -27
  48. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfigVersion.cmake +0 -65
  49. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffTargets-release.cmake +0 -19
  50. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffTargets.cmake +0 -107
  51. package/dist/prebuilt/iOS-iphoneos/lib/libtiff.a +0 -0
  52. package/dist/prebuilt/iOS-iphoneos/lib/libtiffxx.a +0 -0
  53. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libtiff-4.pc +0 -12
  54. package/dist/prebuilt/iOS-iphonesimulator/include/tiff.h +0 -899
  55. package/dist/prebuilt/iOS-iphonesimulator/include/tiffconf.h +0 -144
  56. package/dist/prebuilt/iOS-iphonesimulator/include/tiffio.h +0 -653
  57. package/dist/prebuilt/iOS-iphonesimulator/include/tiffio.hxx +0 -39
  58. package/dist/prebuilt/iOS-iphonesimulator/include/tiffvers.h +0 -36
  59. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfig.cmake +0 -27
  60. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfigVersion.cmake +0 -65
  61. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffTargets-release.cmake +0 -19
  62. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffTargets.cmake +0 -107
  63. package/dist/prebuilt/iOS-iphonesimulator/lib/libtiff.a +0 -0
  64. package/dist/prebuilt/iOS-iphonesimulator/lib/libtiffxx.a +0 -0
  65. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libtiff-4.pc +0 -12
  66. package/tiff.xcframework/Info.plist +0 -50
  67. package/tiff.xcframework/ios-arm64_arm64e/Headers/tiff.h +0 -899
  68. package/tiff.xcframework/ios-arm64_arm64e/Headers/tiffconf.h +0 -144
  69. package/tiff.xcframework/ios-arm64_arm64e/Headers/tiffio.h +0 -653
  70. package/tiff.xcframework/ios-arm64_arm64e/Headers/tiffio.hxx +0 -39
  71. package/tiff.xcframework/ios-arm64_arm64e/Headers/tiffvers.h +0 -36
  72. package/tiff.xcframework/ios-arm64_arm64e/libtiff.a +0 -0
  73. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiff.h +0 -899
  74. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffconf.h +0 -144
  75. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.h +0 -653
  76. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.hxx +0 -39
  77. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffvers.h +0 -36
  78. package/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/libtiff.a +0 -0
  79. package/tiffxx.xcframework/Info.plist +0 -50
  80. package/tiffxx.xcframework/ios-arm64_arm64e/Headers/tiff.h +0 -899
  81. package/tiffxx.xcframework/ios-arm64_arm64e/Headers/tiffconf.h +0 -144
  82. package/tiffxx.xcframework/ios-arm64_arm64e/Headers/tiffio.h +0 -653
  83. package/tiffxx.xcframework/ios-arm64_arm64e/Headers/tiffio.hxx +0 -39
  84. package/tiffxx.xcframework/ios-arm64_arm64e/Headers/tiffvers.h +0 -36
  85. package/tiffxx.xcframework/ios-arm64_arm64e/libtiffxx.a +0 -0
  86. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiff.h +0 -899
  87. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffconf.h +0 -144
  88. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.h +0 -653
  89. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.hxx +0 -39
  90. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffvers.h +0 -36
  91. package/tiffxx.xcframework/ios-arm64_arm64e_x86_64-simulator/libtiffxx.a +0 -0
@@ -1,36 +0,0 @@
1
- /* tiffvers.h version information is updated according to version information
2
- * in configure.ac */
3
-
4
- /* clang-format off */
5
-
6
- /* clang-format disabled because FindTIFF.cmake is very sensitive to the
7
- * formatting of below line being a single line.
8
- * Furthermore, configure_file variables of type "" are
9
- * modified by clang-format and won't be substituted by CMake.
10
- */
11
- #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
12
- /*
13
- * This define can be used in code that requires
14
- * compilation-related definitions specific to a
15
- * version or versions of the library. Runtime
16
- * version checking should be done based on the
17
- * string returned by TIFFGetVersion.
18
- */
19
- #define TIFFLIB_VERSION 20240911
20
-
21
- /* The following defines have been added in 4.5.0 */
22
- #define TIFFLIB_MAJOR_VERSION 4
23
- #define TIFFLIB_MINOR_VERSION 7
24
- #define TIFFLIB_MICRO_VERSION 0
25
- #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0"
26
-
27
- /* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
28
- * greater or equal to major.minor.micro
29
- */
30
- #define TIFFLIB_AT_LEAST(major, minor, micro) \
31
- (TIFFLIB_MAJOR_VERSION > (major) || \
32
- (TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION > (minor)) || \
33
- (TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION == (minor) && \
34
- TIFFLIB_MICRO_VERSION >= (micro)))
35
-
36
- /* clang-format on */
@@ -1,27 +0,0 @@
1
- if(NOT "ON")
2
- # TODO: import dependencies
3
- endif()
4
-
5
- function(set_variable_from_rel_or_absolute_path var root rel_or_abs_path)
6
- if(IS_ABSOLUTE "${rel_or_abs_path}")
7
- set(${var} "${rel_or_abs_path}" PARENT_SCOPE)
8
- else()
9
- set(${var} "${root}/${rel_or_abs_path}" PARENT_SCOPE)
10
- endif()
11
- endfunction()
12
-
13
- # Tell the user project where to find our headers and libraries
14
- get_filename_component(_DIR "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE)
15
- get_filename_component(_ROOT "${_DIR}/" ABSOLUTE)
16
- # Use _ROOT as prefix here for the possibility of relocation after installation.
17
- set_variable_from_rel_or_absolute_path("TIFF_INCLUDE_DIR" "${_ROOT}" "include")
18
- set(TIFF_INCLUDE_DIRS ${TIFF_INCLUDE_DIR})
19
-
20
- set(TIFF_LIBRARIES TIFF::tiff)
21
-
22
- if(NOT TARGET TIFF::tiff)
23
- include("${CMAKE_CURRENT_LIST_DIR}/TiffTargets.cmake")
24
- endif()
25
-
26
- unset (_ROOT)
27
- unset (_DIR)
@@ -1,65 +0,0 @@
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 >= requested version,
8
- # but only if the requested major version is the same as the current one.
9
- # The variable CVF_VERSION must be set before calling configure_file().
10
-
11
-
12
- set(PACKAGE_VERSION "4.7.0")
13
-
14
- if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
15
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
16
- else()
17
-
18
- if("4.7.0" MATCHES "^([0-9]+)\\.")
19
- set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
20
- if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
21
- string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
22
- endif()
23
- else()
24
- set(CVF_VERSION_MAJOR "4.7.0")
25
- endif()
26
-
27
- if(PACKAGE_FIND_VERSION_RANGE)
28
- # both endpoints of the range must have the expected major version
29
- math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
30
- if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
31
- OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
32
- OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
33
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
34
- elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
35
- AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
36
- OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
37
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
38
- else()
39
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
40
- endif()
41
- else()
42
- if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
43
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
44
- else()
45
- set(PACKAGE_VERSION_COMPATIBLE FALSE)
46
- endif()
47
-
48
- if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
49
- set(PACKAGE_VERSION_EXACT TRUE)
50
- endif()
51
- endif()
52
- endif()
53
-
54
-
55
- # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
56
- if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
57
- return()
58
- endif()
59
-
60
- # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
61
- if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
62
- math(EXPR installedBits "8 * 8")
63
- set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
64
- set(PACKAGE_VERSION_UNSUITABLE TRUE)
65
- endif()
@@ -1,19 +0,0 @@
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 "TIFF::tiff" for configuration "Release"
9
- set_property(TARGET TIFF::tiff APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
- set_target_properties(TIFF::tiff PROPERTIES
11
- IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libtiff.so"
12
- IMPORTED_SONAME_RELEASE "libtiff.so"
13
- )
14
-
15
- list(APPEND _cmake_import_check_targets TIFF::tiff )
16
- list(APPEND _cmake_import_check_files_for_TIFF::tiff "${_IMPORT_PREFIX}/lib/libtiff.so" )
17
-
18
- # Commands beyond this point should not need to know the version.
19
- set(CMAKE_IMPORT_FILE_VERSION)
@@ -1,106 +0,0 @@
1
- # Generated by CMake
2
-
3
- if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
- message(FATAL_ERROR "CMake >= 2.8.3 required")
5
- endif()
6
- if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
- message(FATAL_ERROR "CMake >= 2.8.3 required")
8
- endif()
9
- cmake_policy(PUSH)
10
- cmake_policy(VERSION 2.8.3...3.29)
11
- #----------------------------------------------------------------
12
- # Generated CMake target import file.
13
- #----------------------------------------------------------------
14
-
15
- # Commands may need to know the format version.
16
- set(CMAKE_IMPORT_FILE_VERSION 1)
17
-
18
- # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
- set(_cmake_targets_defined "")
20
- set(_cmake_targets_not_defined "")
21
- set(_cmake_expected_targets "")
22
- foreach(_cmake_expected_target IN ITEMS TIFF::tiff)
23
- list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
- if(TARGET "${_cmake_expected_target}")
25
- list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
- else()
27
- list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
- endif()
29
- endforeach()
30
- unset(_cmake_expected_target)
31
- if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
- unset(_cmake_targets_defined)
33
- unset(_cmake_targets_not_defined)
34
- unset(_cmake_expected_targets)
35
- unset(CMAKE_IMPORT_FILE_VERSION)
36
- cmake_policy(POP)
37
- return()
38
- endif()
39
- if(NOT _cmake_targets_defined STREQUAL "")
40
- string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
- string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
- message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
- endif()
44
- unset(_cmake_targets_defined)
45
- unset(_cmake_targets_not_defined)
46
- unset(_cmake_expected_targets)
47
-
48
-
49
- # Compute the installation prefix relative to this file.
50
- get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
- get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
- if(_IMPORT_PREFIX STREQUAL "/")
55
- set(_IMPORT_PREFIX "")
56
- endif()
57
-
58
- # Create imported target TIFF::tiff
59
- add_library(TIFF::tiff SHARED IMPORTED)
60
-
61
- set_target_properties(TIFF::tiff PROPERTIES
62
- INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
63
- )
64
-
65
- # Load information for each installed configuration.
66
- file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/TiffTargets-*.cmake")
67
- foreach(_cmake_config_file IN LISTS _cmake_config_files)
68
- include("${_cmake_config_file}")
69
- endforeach()
70
- unset(_cmake_config_file)
71
- unset(_cmake_config_files)
72
-
73
- # Cleanup temporary variables.
74
- set(_IMPORT_PREFIX)
75
-
76
- # Loop over all imported files and verify that they actually exist
77
- foreach(_cmake_target IN LISTS _cmake_import_check_targets)
78
- if(CMAKE_VERSION VERSION_LESS "3.28"
79
- OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
80
- OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
81
- foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
82
- if(NOT EXISTS "${_cmake_file}")
83
- message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
84
- \"${_cmake_file}\"
85
- but this file does not exist. Possible reasons include:
86
- * The file was deleted, renamed, or moved to another location.
87
- * An install or uninstall procedure did not complete successfully.
88
- * The installation package was faulty and contained
89
- \"${CMAKE_CURRENT_LIST_FILE}\"
90
- but not all the files it references.
91
- ")
92
- endif()
93
- endforeach()
94
- endif()
95
- unset(_cmake_file)
96
- unset("_cmake_import_check_files_for_${_cmake_target}")
97
- endforeach()
98
- unset(_cmake_target)
99
- unset(_cmake_import_check_targets)
100
-
101
- # This file does not depend on other imported targets which have
102
- # been exported from the same project but in a separate export set.
103
-
104
- # Commands beyond this point should not need to know the version.
105
- set(CMAKE_IMPORT_FILE_VERSION)
106
- cmake_policy(POP)
@@ -1,12 +0,0 @@
1
- prefix=/tmp/cppjs/live/packages/cppjs-package-tiff/.cppjs/build/Source-Release/prebuilt/Android-arm64-v8a
2
- exec_prefix=${prefix}
3
- libdir=${exec_prefix}/lib
4
- includedir=${prefix}/include
5
-
6
- Name: libtiff
7
- Description: Tag Image File Format (TIFF) library.
8
- Version: 4.7.0
9
- Libs: -L${libdir} -ltiff
10
- Libs.private: -lm
11
- Cflags: -I${includedir}
12
- Requires.private: zlib