@cpp.js/package-tiff 1.0.0-beta.21

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 (68) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +47 -0
  3. package/cppjs-package-tiff.podspec +13 -0
  4. package/cppjs.build.js +8 -0
  5. package/cppjs.config.js +18 -0
  6. package/dist/prebuilt/Android-arm64-v8a/include/tiff.h +899 -0
  7. package/dist/prebuilt/Android-arm64-v8a/include/tiffconf.h +144 -0
  8. package/dist/prebuilt/Android-arm64-v8a/include/tiffio.h +653 -0
  9. package/dist/prebuilt/Android-arm64-v8a/include/tiffio.hxx +39 -0
  10. package/dist/prebuilt/Android-arm64-v8a/include/tiffvers.h +36 -0
  11. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfig.cmake +28 -0
  12. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffConfigVersion.cmake +65 -0
  13. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffTargets-release.cmake +19 -0
  14. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/tiff/TiffTargets.cmake +106 -0
  15. package/dist/prebuilt/Android-arm64-v8a/lib/libtiff.so +0 -0
  16. package/dist/prebuilt/Android-arm64-v8a/lib/libtiffxx.so +0 -0
  17. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libtiff-4.pc +12 -0
  18. package/dist/prebuilt/CMakeLists.txt +44 -0
  19. package/dist/prebuilt/Emscripten-x86_64/include/tiff.h +899 -0
  20. package/dist/prebuilt/Emscripten-x86_64/include/tiffconf.h +144 -0
  21. package/dist/prebuilt/Emscripten-x86_64/include/tiffio.h +653 -0
  22. package/dist/prebuilt/Emscripten-x86_64/include/tiffio.hxx +39 -0
  23. package/dist/prebuilt/Emscripten-x86_64/include/tiffvers.h +36 -0
  24. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfig.cmake +28 -0
  25. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffConfigVersion.cmake +65 -0
  26. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffTargets-release.cmake +19 -0
  27. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/tiff/TiffTargets.cmake +106 -0
  28. package/dist/prebuilt/Emscripten-x86_64/lib/libtiff.a +0 -0
  29. package/dist/prebuilt/Emscripten-x86_64/lib/libtiffxx.a +0 -0
  30. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libtiff-4.pc +12 -0
  31. package/dist/prebuilt/iOS-iphoneos/include/tiff.h +899 -0
  32. package/dist/prebuilt/iOS-iphoneos/include/tiffconf.h +144 -0
  33. package/dist/prebuilt/iOS-iphoneos/include/tiffio.h +653 -0
  34. package/dist/prebuilt/iOS-iphoneos/include/tiffio.hxx +39 -0
  35. package/dist/prebuilt/iOS-iphoneos/include/tiffvers.h +36 -0
  36. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfig.cmake +28 -0
  37. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffConfigVersion.cmake +65 -0
  38. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffTargets-release.cmake +19 -0
  39. package/dist/prebuilt/iOS-iphoneos/lib/cmake/tiff/TiffTargets.cmake +107 -0
  40. package/dist/prebuilt/iOS-iphoneos/lib/libtiff.a +0 -0
  41. package/dist/prebuilt/iOS-iphoneos/lib/libtiffxx.a +0 -0
  42. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libtiff-4.pc +12 -0
  43. package/dist/prebuilt/iOS-iphonesimulator/include/tiff.h +899 -0
  44. package/dist/prebuilt/iOS-iphonesimulator/include/tiffconf.h +144 -0
  45. package/dist/prebuilt/iOS-iphonesimulator/include/tiffio.h +653 -0
  46. package/dist/prebuilt/iOS-iphonesimulator/include/tiffio.hxx +39 -0
  47. package/dist/prebuilt/iOS-iphonesimulator/include/tiffvers.h +36 -0
  48. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfig.cmake +28 -0
  49. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffConfigVersion.cmake +65 -0
  50. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffTargets-release.cmake +19 -0
  51. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/tiff/TiffTargets.cmake +107 -0
  52. package/dist/prebuilt/iOS-iphonesimulator/lib/libtiff.a +0 -0
  53. package/dist/prebuilt/iOS-iphonesimulator/lib/libtiffxx.a +0 -0
  54. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libtiff-4.pc +12 -0
  55. package/dist/prebuilt/tiff.xcframework/Info.plist +50 -0
  56. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/Headers/tiff.h +899 -0
  57. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/Headers/tiffconf.h +144 -0
  58. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/Headers/tiffio.h +653 -0
  59. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/Headers/tiffio.hxx +39 -0
  60. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/Headers/tiffvers.h +36 -0
  61. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e/libtiff.a +0 -0
  62. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiff.h +899 -0
  63. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffconf.h +144 -0
  64. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.h +653 -0
  65. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffio.hxx +39 -0
  66. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/tiffvers.h +36 -0
  67. package/dist/prebuilt/tiff.xcframework/ios-arm64_arm64e_x86_64-simulator/libtiff.a +0 -0
  68. package/package.json +28 -0
@@ -0,0 +1,36 @@
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.6.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 20230908
20
+
21
+ /* The following defines have been added in 4.5.0 */
22
+ #define TIFFLIB_MAJOR_VERSION 4
23
+ #define TIFFLIB_MINOR_VERSION 6
24
+ #define TIFFLIB_MICRO_VERSION 0
25
+ #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.6.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 */
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@cpp.js/package-tiff",
3
+ "version": "1.0.0-beta.21",
4
+ "nativeVersion": "4.6.0",
5
+ "description": "This package provides the Tiff library compiled with Cpp.js, enabling fast and efficient image processing using the TIFF format. It is built with Cpp.js to provide cross-platform support, leveraging both WebAssembly (WASM) for web applications and native code for mobile platforms. Ideal for developers looking to handle TIFF images with high performance in JavaScript environments.",
6
+ "homepage": "https://github.com/bugra9/cpp.js/tree/main/packages/cppjs-package-tiff#readme",
7
+ "repository": "https://github.com/bugra9/cpp.js.git",
8
+ "license": "libtiff",
9
+ "type": "module",
10
+ "dependencies": {
11
+ "@cpp.js/package-zlib": "1.0.0-beta.25"
12
+ },
13
+ "devDependencies": {
14
+ "cpp.js": "1.0.0-beta.26"
15
+ },
16
+ "keywords": [
17
+ "tiff",
18
+ "libtiff",
19
+ "cpp.js-package",
20
+ "webassembly",
21
+ "react-native"
22
+ ],
23
+ "scripts": {
24
+ "build": "cppjs build",
25
+ "clear": "rm -rf .cppjs dist *.xcframework",
26
+ "postinstall": "cppjs postinstall"
27
+ }
28
+ }