Code Monkey home page Code Monkey logo

wayland-java's Introduction

Java bindings for libwayland

This project aims to provide Java bindings to the Wayland backend library. It does so by a combination of auto-generated Java code and appropriate JNI bindings. The main purpose of wayland-java is to service the Android wayland server app that I am currently developing.

Current state of the library

The wayland-java library is useable, but I am not yet ready to make guarantees about API stability. There are probably a lot of bugs, but I welcome bug reports! It is working well enough to backend the bits of my app that I have working.

Building wayland-java locally

Building wayland-java locally is simple

  1. Make sure you have libwayland 1.3 or later installed
  2. Clone git://github.com/jekstrand/wayland-java.git
  3. Run gradle install

Building wayland-java for Android

Building the library for Android requires a slight modification to the wayland source code. I hope to submitting patches to the wayland project soon so that it can be built unaltered. If you're brave enough to try and build wayland-java on Android, you need to do the following:

  1. Install both the android SDK and NDK and get them configured
  2. Clone git://github.com/jekstrand/wayland-java.git
  3. Run git submodule init and git submodule update
  4. In the protocol/src/main/native/external/wayland directory, you have to modify the wayland source code to remove calls to signalfd and timerfd and their respective header files
  5. Make sure that the version of protocol/src/main/native/external/wayland is patched with this patch series
  6. Use the Android tools to update the build paths in the android subdirectory to your version of the Android SDK
  7. Run ant from inside the android subdirectory

wayland-java's People

Contributors

gfxstrand avatar zubnix avatar

Watchers

James Cloos avatar Dmitry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.