-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
85 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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/FriBidi` directory within its prefix. | ||
|
||
MIT License | ||
|
||
Copyright (c) 2020 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,36 @@ | ||
# FriBidi_jll.jl | ||
# `FriBidi_jll.jl` (v1.0.5+4) | ||
|
||
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). | ||
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/2f7e481096ed8816baea27e1f4b5e4b64b39c442/F/FriBidi/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree. | ||
|
||
For more details about JLL packages, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/). | ||
For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/). | ||
|
||
## Products | ||
|
||
The code bindings within this package are autogenerated from the following `Products` defined within the `build_tarballs.jl` file that generated this package: | ||
## Sources | ||
|
||
```julia | ||
products = [ | ||
ExecutableProduct(["fribidi"], :fribidi), | ||
LibraryProduct(["libfribidi"], :libfribidi) | ||
] | ||
``` | ||
The tarballs for `FriBidi_jll.jl` have been built from these sources: | ||
|
||
## Usage example | ||
* git repository: https://github.com/fribidi/fribidi.git (revision: `0f849e344d446934b4ecdbe9edc32abd29029731`) | ||
|
||
For example purposes, we will assume that the following products were defined in the imaginary package `Example_jll`: | ||
## Platforms | ||
|
||
```julia | ||
products = [ | ||
FileProduct("src/data.txt", :data_txt), | ||
LibraryProduct("libdataproc", :libdataproc), | ||
ExecutableProduct("mungify", :mungify_exe) | ||
] | ||
``` | ||
`FriBidi_jll.jl` is available for the following platforms: | ||
|
||
With such products defined, `Example_jll` would contain `data_txt`, `libdataproc` and `mungify_exe` symbols exported. For `FileProduct` variables, the exported value is a string pointing to the location of the file on-disk. For `LibraryProduct` variables, it is a string corresponding to the `SONAME` of the desired library (it will have already been `dlopen()`'ed, so typical `ccall()` usage applies), and for `ExecutableProduct` variables, the exported value is a function that can be called to set appropriate environment variables. Example: | ||
* `Linux(:aarch64, libc=:glibc)` (`aarch64-linux-gnu`) | ||
* `Linux(:aarch64, libc=:musl)` (`aarch64-linux-musl`) | ||
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf)` (`armv7l-linux-gnueabihf`) | ||
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf)` (`armv7l-linux-musleabihf`) | ||
* `Linux(:i686, libc=:glibc)` (`i686-linux-gnu`) | ||
* `Linux(:i686, libc=:musl)` (`i686-linux-musl`) | ||
* `Windows(:i686)` (`i686-w64-mingw32`) | ||
* `Linux(:powerpc64le, libc=:glibc)` (`powerpc64le-linux-gnu`) | ||
* `MacOS(:x86_64)` (`x86_64-apple-darwin14`) | ||
* `Linux(:x86_64, libc=:glibc)` (`x86_64-linux-gnu`) | ||
* `Linux(:x86_64, libc=:musl)` (`x86_64-linux-musl`) | ||
* `FreeBSD(:x86_64)` (`x86_64-unknown-freebsd11.1`) | ||
* `Windows(:x86_64)` (`x86_64-w64-mingw32`) | ||
|
||
```julia | ||
using Example_jll | ||
|
||
# For file products, you can access its file location directly: | ||
data_lines = open(data_txt, "r") do io | ||
readlines(io) | ||
end | ||
## Products | ||
|
||
# For library products, you can use the exported variable name in `ccall()` invocations directly | ||
num_chars = ccall((:count_characters, libdataproc), Cint, (Cstring, Cint), data_lines[1], length(data_lines[1])) | ||
The code bindings within this package are autogenerated from the following `Products`: | ||
|
||
# For executable products, you can use the exported variable name as a function that you can call | ||
mungify_exe() do mungify_exe_path | ||
run(`$mungify_exe_path $num_chars`) | ||
end | ||
``` | ||
* `ExecutableProduct`: `fribidi` | ||
* `LibraryProduct`: `libfribidi` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.