Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support leptonica:1.83.0 #14

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Support leptonica:1.83.0 #14

merged 1 commit into from
Jan 15, 2023

Conversation

ccouzens
Copy link
Owner

I've had to disable doc tests because some of the syntax in the autogenerated comments confuses it.

It looks like access to the PIX struct is now private, so we need to use getters.

I started looking at this because of this issue in leptonica-plumbing ccouzens/leptonica-plumbing#5


To test using my dev version of leptonica I need to use this command

LD_LIBRARY_PATH=../../DanBloomberg/leptonica/local/lib PKG_CONFIG_PATH=../../DanBloomberg/leptonica/local/lib/pkgconfig cargo test --lib

My checkout of leptonica was built with

sudo dnf builddep leptonica-devel
./autogen.sh
./configure --prefix
 /configure "--prefix=$(pwd)/local"
make
make install

I've had to disable doc tests because some of the syntax in the
autogenerated comments confuses it.

It looks like access to the PIX struct is now private, so we need to use
getters.

I started looking at this because of this issue in leptonica-plumbing
ccouzens/leptonica-plumbing#5

---

To test using my dev version of leptonica I need to use this command

```bash
LD_LIBRARY_PATH=../../DanBloomberg/leptonica/local/lib PKG_CONFIG_PATH=../../DanBloomberg/leptonica/local/lib/pkgconfig cargo test --lib
```

My checkout of leptonica was built with

```bash
sudo dnf builddep leptonica-devel
./autogen.sh
./configure --prefix
 /configure "--prefix=$(pwd)/local"
make
make install
```
@ccouzens ccouzens merged commit d58b6fb into main Jan 15, 2023
@ccouzens ccouzens deleted the leptonica_1.83.0 branch January 15, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant