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

Remove Autotools+Ant build system #70

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Shell scripts and Automake sources can't have CRLF line endings
configure.ac eol=lf
Makefile.am eol=lf
*.m4 eol=lf

# Don't include Git/GitHub metadata in release tarballs
.gitattributes export-ignore
.gitignore export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OpenSlide Java release process

- [ ] Run test build and `meson dist`
- [ ] Update `CHANGELOG.md` and versions in `configure.ac` and `meson.build`
- [ ] Update `CHANGELOG.md` and version in `meson.build`
- [ ] Create and push signed tag
- [ ] Verify that GitHub Actions created a [GitHub release](https://github.com/openslide/openslide-java/releases) with release notes and a source tarball
- [ ] [Update openslide-bin](https://github.com/openslide/openslide-bin/issues/new?labels=release&template=release.md)
Expand Down
19 changes: 0 additions & 19 deletions .gitignore

This file was deleted.

65 changes: 0 additions & 65 deletions Makefile.am

This file was deleted.

77 changes: 2 additions & 75 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@
This is a Java binding to [OpenSlide](https://openslide.org/).


## Building with Meson

This is the new method.

### Build requirements
## Build requirements

- JDK
- Meson ≥ 0.62
- OpenSlide ≥ 3.4.0
- pkg-config


### Building
## Building

```
meson setup builddir
Expand All @@ -24,75 +20,6 @@ meson install -C builddir
```


## Building with Autotools and Ant

This is the old method, and will eventually be removed.


### Build requirements

- JDK
- Apache Ant
- OpenSlide ≥ 3.4.0
- pkg-config


### Building on Linux or Mac OS X

```
./configure
make
make install
```

(If building from the Git repository, you will first need to install
autoconf, automake, libtool, and pkg-config and run `autoreconf -i`.)


### Cross-compiling for Windows with MinGW-w64

```
PKG_CONFIG=pkg-config \
PKG_CONFIG_PATH=/path/to/cross/compiled/openslide/lib/pkgconfig \
./configure --host=i686-w64-mingw32 --build=$(build-aux/config.guess)
make
make install
```

For a 64-bit JRE, substitute `--host=x86_64-w64-mingw32`.


### Building on Windows

Ensure that the path to the openslide-java source tree does not contain
whitespace.

Install Cygwin, selecting these additional packages:

- `make`
- `pkg-config`
- `mingw64-i686-gcc-core` and/or `mingw64-x86_64-gcc-core`

(Cygwin is only needed for the build environment; the resulting binaries
do not require Cygwin.)

Also install a JDK and Apache Ant.

Then:

```
./configure --prefix=/path/to/install/dir \
--host=i686-w64-mingw32 --build=$(build-aux/config.guess) \
PKG_CONFIG_PATH="/path/to/openslide/lib/pkgconfig" \
JAVA_HOME="$(cygpath c:/Program\ Files/Java/jdk*)" \
ANT_HOME="/path/to/ant/directory"
make
make install
```

For a 64-bit JRE, substitute `--host=x86_64-w64-mingw32`.


## License

OpenSlide Java is released under the terms of the [GNU Lesser General Public
Expand Down
43 changes: 0 additions & 43 deletions acinclude.m4

This file was deleted.

50 changes: 0 additions & 50 deletions build.xml

This file was deleted.

Loading