Wayland Java

Generated Wayland protocol Java-language Bindings

License

License

GroupId

GroupId

org.freedesktop
ArtifactId

ArtifactId

wayland-server
Last Version

Last Version

1.5.1
Release Date

Release Date

Type

Type

jar
Description

Description

Wayland Java
Generated Wayland protocol Java-language Bindings
Project URL

Project URL

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

Source Code Management

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

Download wayland-server

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.freedesktop : stubs-server jar 1.5.1

Project Modules

There are no modules declared in this project.

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