Wayland Java bindings

The Wayland protocol Java-language Binding

License

License

Categories

Categories

Java Languages
GroupId

GroupId

org.freedesktop
ArtifactId

ArtifactId

wayland-java-bindings
Last Version

Last Version

1.5.1
Release Date

Release Date

Type

Type

pom
Description

Description

Wayland Java bindings
The Wayland protocol Java-language Binding
Project URL

Project URL

https://github.com/Zubnix/wayland-java-bindings
Source Code Management

Source Code Management

https://github.com/Zubnix/wayland-java-bindings

Download wayland-java-bindings

How to add to project

<!-- https://jarcasting.com/artifacts/org.freedesktop/wayland-java-bindings/ -->
<dependency>
    <groupId>org.freedesktop</groupId>
    <artifactId>wayland-java-bindings</artifactId>
    <version>1.5.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.freedesktop/wayland-java-bindings/
implementation 'org.freedesktop:wayland-java-bindings:1.5.1'
// https://jarcasting.com/artifacts/org.freedesktop/wayland-java-bindings/
implementation ("org.freedesktop:wayland-java-bindings:1.5.1")
'org.freedesktop:wayland-java-bindings:pom:1.5.1'
<dependency org="org.freedesktop" name="wayland-java-bindings" rev="1.5.1">
  <artifact name="wayland-java-bindings" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.freedesktop', module='wayland-java-bindings', version='1.5.1')
)
libraryDependencies += "org.freedesktop" % "wayland-java-bindings" % "1.5.1"
[org.freedesktop/wayland-java-bindings "1.5.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • stubs-shared
  • stubs-server
  • stubs-client
  • generator
  • wayland-client
  • wayland-server

wayland-java-bindings

Build Status The Wayland protocol Java-language Binding

Javadoc

Here

Using

Bindings are available in the maven central repository:

 <dependency>
  <groupId>org.freedesktop</groupId>
  <artifactId>wayland</artifactId>
  <version>1.4.0</version>
 </dependency>

Building

Run mvn install in the root of the project and add the following maven dependency to start using the bindings:

 <dependency>
  <groupId>org.freedesktop</groupId>
  <artifactId>wayland</artifactId>
  <version>1.4.1-SNAPSHOT</version>
 </dependency>

Private protocol

The project allows you to generate your own private wayland protocol bindings. Add

 <dependency>
  <groupId>org.freedesktop</groupId>
  <artifactId>generator</artifactId>
  <version>1.4.0</version>
  <scope>provided</scope>
 </dependency>

to your build path, no need to put it on your classpath as it will only be used during compilation.

Add

 <dependency>
  <groupId>org.freedesktop</groupId>
  <artifactId>stubs</artifactId>
  <version>1.4.0</version>
 </dependency>

to your classpath.

Add a @Protocols annotation to your own private package-info.java file and set it to use your own private protocol xml file. Here's an example.

Build your project with maven (or gradle). The generated bindings should automatically appear in the same package as your package-info.java file.

State

  • Usable.
  • Pure Java (Jaccall)

Known Issues

  • See issues board.

TODO

  • Unit tests.
  • Debug logging.

License

Copyright 2015 Erik De Rijcke

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Versions

Version
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1