@coreidml/cli-linux-arm64 0.0.0-stage → 0.0.7
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.
- package/LICENSE +21 -0
- package/README.md +4 -2
- package/THIRD-PARTY-NOTICES.md +73 -0
- package/coreidml +0 -0
- package/libpdfium.so +0 -0
- package/package.json +24 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eduard Paul
|
|
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
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
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,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @coreidml/cli-linux-arm64
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The coreidml command line and MCP server (`coreidml`, with PDFium for page previews) for linux arm64.
|
|
4
|
+
|
|
5
|
+
This package is installed automatically with [`@coreidml/cli`](https://www.npmjs.com/package/@coreidml/cli), whose `coreidml` command runs it.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
## SimpleIDML
|
|
4
|
+
|
|
5
|
+
The blank-document skeleton embedded in the library (`src/CoreIdml/Blank/*.xml`) is derived from
|
|
6
|
+
`tests/regressiontests/IDML/magazineA-template.idml` of SimpleIDML, an InDesign CS5.5 export, trimmed of its
|
|
7
|
+
content. The test fixtures `tests/fixtures/article-1photo.idml`, `magazineA-edito.idml`,
|
|
8
|
+
`article-1photo_import-xml.idml` and `article-1photo_imported-nested-xml.idml` are copied unchanged from the same
|
|
9
|
+
directory, and `tests/fixtures/xml/*.xml` from `tests/regressiontests/XML`. Several tests in `XmlStructureTests.cs`
|
|
10
|
+
port SimpleIDML's `import_xml` regression tests and their expectations. The fixtures are used by the tests only and
|
|
11
|
+
are not part of any shipped package.
|
|
12
|
+
|
|
13
|
+
Source: https://github.com/Starou/SimpleIDML
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Copyright (c) 2012 Stanislas Guerra <stanislas.guerra@gmail.com>
|
|
17
|
+
All rights reserved.
|
|
18
|
+
|
|
19
|
+
Redistribution and use in source and binary forms, with or without
|
|
20
|
+
modification, are permitted provided that the following conditions
|
|
21
|
+
are met:
|
|
22
|
+
1. Redistributions of source code must retain the above copyright
|
|
23
|
+
notice, this list of conditions and the following disclaimer.
|
|
24
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
25
|
+
notice, this list of conditions and the following disclaimer in the
|
|
26
|
+
documentation and/or other materials provided with the distribution.
|
|
27
|
+
3. The name of the author may not be used to endorse or promote products
|
|
28
|
+
derived from this software without specific prior written permission.
|
|
29
|
+
|
|
30
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
31
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
32
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
33
|
+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
34
|
+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
35
|
+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
36
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
37
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
38
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
39
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## idmlkit
|
|
43
|
+
|
|
44
|
+
No code is copied from idmlkit (MIT, https://github.com/jimprivate/idmlkit). Its design ideas are reused: untouched
|
|
45
|
+
package parts are written back byte for byte, and documents can be summarized into compact JSON.
|
|
46
|
+
|
|
47
|
+
## PdfPig (CoreIdml.Pdf, and the native and WebAssembly builds)
|
|
48
|
+
|
|
49
|
+
`src/CoreIdml.Pdf` references the NuGet package PdfPig 0.1.16 (https://github.com/UglyToad/PdfPig) to read PDFs, and
|
|
50
|
+
the native library and WebAssembly build include it. Apache License 2.0; the licence text ships in the package.
|
|
51
|
+
|
|
52
|
+
## PDFium (the coreidml command line only)
|
|
53
|
+
|
|
54
|
+
`src/CoreIdml.Cli` references the NuGet packages bblanchon.PDFium.Linux, .Win32 and .macOS 152.0.7961
|
|
55
|
+
(https://github.com/bblanchon/pdfium-binaries, packaging under Apache-2.0) to rasterize page previews
|
|
56
|
+
(`idml_render_page`, `coreidml render`), and its release archives carry the PDFium library next to the binary. They
|
|
57
|
+
contain prebuilt PDFium (https://pdfium.googlesource.com/pdfium/, BSD-3-Clause and Apache-2.0) and the third-party
|
|
58
|
+
code it bundles (FreeType, libjpeg-turbo, OpenJPEG, lcms2, zlib, ICU and others under their own permissive licences;
|
|
59
|
+
the full list ships in the pdfium-binaries release archives). No library package uses it.
|
|
60
|
+
|
|
61
|
+
## pdf_oxide (tests only)
|
|
62
|
+
|
|
63
|
+
`tests/CoreIdml.Pdf.Tests` references the NuGet package PdfOxide 0.3.78 (https://github.com/yfedoseev/pdf_oxide) to
|
|
64
|
+
rasterize PDFs for the visual comparison. MIT OR Apache-2.0. Not part of any shipped package.
|
|
65
|
+
|
|
66
|
+
## Fonts in the tests
|
|
67
|
+
|
|
68
|
+
`tests/fixtures/fonts/Liberation*.ttf`: Liberation fonts 2.x, SIL Open Font License 1.1
|
|
69
|
+
(`tests/fixtures/fonts/LICENSE-Liberation.txt`). The standard-font width tables in
|
|
70
|
+
`src/CoreIdml.Pdf/Fonts/StandardFontMetrics.cs` were measured from these metric-compatible fonts. No commercial font
|
|
71
|
+
is included anywhere.
|
|
72
|
+
|
|
73
|
+
Adobe and InDesign are trademarks of Adobe Inc., used only to describe file-format compatibility.
|
package/coreidml
ADDED
|
Binary file
|
package/libpdfium.so
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreidml/cli-linux-arm64",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "The coreidml command line (coreidml) for linux arm64; installed with @coreidml/cli.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/eduardpaul/CoreIdml.git",
|
|
9
|
+
"directory": "bindings/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/eduardpaul/CoreIdml/blob/main/src/CoreIdml.Cli/README.md",
|
|
12
|
+
"os": [
|
|
13
|
+
"linux"
|
|
14
|
+
],
|
|
15
|
+
"cpu": [
|
|
16
|
+
"arm64"
|
|
17
|
+
],
|
|
18
|
+
"libc": [
|
|
19
|
+
"glibc"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"coreidml",
|
|
23
|
+
"libpdfium.so",
|
|
24
|
+
"THIRD-PARTY-NOTICES.md"
|
|
25
|
+
]
|
|
26
|
+
}
|