From a5c206588f433c25b43f9fbecc8d11574207f383 Mon Sep 17 00:00:00 2001 From: Tan Kian-ting Date: Mon, 20 Jan 2025 19:33:50 +0800 Subject: [PATCH] libharu_jll build 2.4.4+0 --- .gitignore | 1 + Artifacts.toml | 9 +++++++++ LICENSE | 8 ++++++++ Project.toml | 16 ++++++++++++++++ README.md | 32 ++++++++++++++++++++++++++++++++ src/libharu_jll.jl | 9 +++++++++ src/wrappers/x86_64-linux-gnu.jl | 17 +++++++++++++++++ 7 files changed, 92 insertions(+) create mode 100644 .gitignore create mode 100644 Artifacts.toml create mode 100644 Project.toml create mode 100644 README.md create mode 100644 src/libharu_jll.jl create mode 100644 src/wrappers/x86_64-linux-gnu.jl diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ae43e4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +override/ diff --git a/Artifacts.toml b/Artifacts.toml new file mode 100644 index 0000000..4121d34 --- /dev/null +++ b/Artifacts.toml @@ -0,0 +1,9 @@ +[[libharu]] +arch = "x86_64" +git-tree-sha1 = "246660f2659e2638dba12af3dbed2d847c0bb314" +libc = "glibc" +os = "linux" + + [[libharu.download]] + sha256 = "73a79cd83f8a174d5f79df77613e56555c52c4f72fac9da0b3fec03bff7b5f1b" + url = "https://github.com/yoxem/libharu_jll.jl/releases/download/libharu-v2.4.4+0/libharu.v2.4.4.x86_64-linux-gnu.tar.gz" diff --git a/LICENSE b/LICENSE index b1a331c..b0de611 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,11 @@ +The Julia source code within this repository (all files under `src/`) are +released under the terms of the MIT "Expat" License, the text of which is +included below. This license does not apply to the binary package wrapped by +this Julia package and automatically downloaded by the Julia package manager +upon installing this wrapper package. The binary package's license is shipped +alongside the binary itself and can be found within the +`share/licenses/libharu` directory within its prefix. + MIT License Copyright (c) 2025 Tan, Kian-ting diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..42016f3 --- /dev/null +++ b/Project.toml @@ -0,0 +1,16 @@ +name = "libharu_jll" +uuid = "d4e8948d-4b7e-5538-9d15-404f6f0a9070" +version = "2.4.4+0" + +[deps] +JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" +Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a" +libpng_jll = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" +Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" +Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" + +[compat] +JLLWrappers = "1.2.0" +julia = "1.6" +Libdl = "< 0.0.1, 1" +Artifacts = "< 0.0.1, 1" diff --git a/README.md b/README.md new file mode 100644 index 0000000..7dfaf20 --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# `libharu_jll.jl` (v2.4.4+0) + +This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). + +## Documentation + +For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://docs.binarybuilder.org/stable/jll/). + +## Sources + +The tarballs for `libharu_jll.jl` have been built from these sources: + +* git repository: https://github.com/libharu/libharu.git (revision: `0c598becaadaef8e3d12b883f9fc2864a118c12d`) + +## Platforms + +`libharu_jll.jl` is available for the following platforms: + +* `Linux x86_64 {libc=glibc}` (`x86_64-linux-gnu`) + +## Dependencies + +The following JLL packages are required by `libharu_jll.jl`: + +* `Zlib_jll` +* `libpng_jll` + +## Products + +The code bindings within this package are autogenerated from the following `Products`: + +* `LibraryProduct`: `libhpdf` diff --git a/src/libharu_jll.jl b/src/libharu_jll.jl new file mode 100644 index 0000000..ab242f3 --- /dev/null +++ b/src/libharu_jll.jl @@ -0,0 +1,9 @@ +# Use baremodule to shave off a few KB from the serialized `.ji` file +baremodule libharu_jll +using Base +using Base: UUID +import JLLWrappers + +JLLWrappers.@generate_main_file_header("libharu") +JLLWrappers.@generate_main_file("libharu", UUID("d4e8948d-4b7e-5538-9d15-404f6f0a9070")) +end # module libharu_jll diff --git a/src/wrappers/x86_64-linux-gnu.jl b/src/wrappers/x86_64-linux-gnu.jl new file mode 100644 index 0000000..1a0af77 --- /dev/null +++ b/src/wrappers/x86_64-linux-gnu.jl @@ -0,0 +1,17 @@ +# Autogenerated wrapper script for libharu_jll for x86_64-linux-gnu +export libhpdf + +using Zlib_jll +using libpng_jll +JLLWrappers.@generate_wrapper_header("libharu") +JLLWrappers.@declare_library_product(libhpdf, "libhpdf.so.2.4") +function __init__() + JLLWrappers.@generate_init_header(Zlib_jll, libpng_jll) + JLLWrappers.@init_library_product( + libhpdf, + "lib/libhpdf.so", + RTLD_LAZY | RTLD_DEEPBIND, + ) + + JLLWrappers.@generate_init_footer() +end # __init__()