Code Monkey home page Code Monkey logo

wayland-d's People

Contributors

rtbo avatar tooniis avatar valpackett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wayland-d's Issues

wl_shell no longer supported by compositors, hello example now broken

wl_shell no longer gets registered:

Running examples/list_registry/wayland_list_registry 
registering wl_compositor
registering wl_drm
registering wl_shm
registering wl_output
registering zxdg_output_manager_v1
registering wl_data_device_manager
registering zwp_primary_selection_device_manager_v1
registering gtk_primary_selection_device_manager
registering wl_subcompositor
registering xdg_wm_base
registering zxdg_shell_v6
registering gtk_shell1
registering wp_viewporter
registering zwp_pointer_gestures_v1
registering zwp_tablet_manager_v2
registering wl_seat
registering zwp_relative_pointer_manager_v1
registering zwp_pointer_constraints_v1
registering zxdg_exporter_v1
registering zxdg_importer_v1
registering zwp_linux_dmabuf_v1
registering zwp_keyboard_shortcuts_inhibit_manager_v1
registering zwp_text_input_manager_v3
registering wp_presentation
registering xdg_activation_v1

This breaks the hello example:

Program received signal SIGSEGV, Segmentation fault.
0x00005555555da3e4 in wayland.client.core.WlProxy.proxy() inout (this=0x0) at client/source/wayland/client/core.d:225
225	        return _proxy;
(gdb) backtrace
#0  0x00005555555da3e4 in wayland.client.core.WlProxy.proxy() inout (this=0x0) at client/source/wayland/client/core.d:225
#1  0x00005555555e2239 in wayland.client.protocol.WlShell.getShellSurface(wayland.client.protocol.WlSurface) (this=0x0, 
    surface=0x7ffff7b57300) at client/source/wayland/client/protocol.d:1809
#2  0x00005555555d824c in hello.Hello.createSurface() (this=0x7ffff7b5b370) at examples/hello/source/hello.d:143
#3  0x00005555555d7ac1 in D main () at examples/hello/source/hello.d:30

Weston reports this

[13:45:36.154] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.

Tested on weston 10.0 and mutter 42.0

Good Compositor?

So your example is a boilerplate, and an example of the library's functionality. What does a well designed compositor look like?

Also, if I may, what was the motivation to create this library?

"Error: undefined identifier `wl_proxy`" when building server

I'm getting this when building wayland:server or running wayland:compositor which depends on it:

wayland:server 0.3.0: building configuration "static"...
server/source/wayland/server/protocol.d(624,34): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(301,34): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(310,33): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(390,33): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(1400,10): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(1592,37): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(1601,37): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(2619,34): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(2634,35): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(2649,32): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(1678,39): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(2316,35): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4022,37): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4874,10): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4886,10): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4902,37): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4905,37): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4910,10): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4960,36): Error: undefined identifier `wl_proxy`
server/source/wayland/server/protocol.d(4970,10): Error: undefined identifier `wl_proxy`

"derelict-gles" -> "wayland" references a configuration that does not exist

Hi!
Help me, please.

I clone 'wayland-d':
git clone https://github.com/rtbo/wayland-d.git

then go to 'wayland-d'
cd wayland-d

then go to the '3rdparty/DerelictGLES'
cd 3rdparty/DerelictGLES

then clone DerelictGLES
git clone https://github.com/DerelictOrg/DerelictGLES.git .

then go to 'wayland-d' and run delicious for me 'simple_egl'
cd ../..
dub run wayland:simple_egl

I got error:

# dub run wayland:simple_egl
Building package wayland:simple_egl in /home/vital/src/dtest/wayland-d/examples/simple_egl/
The sub configuration directive "derelict-gles" -> "wayland" references a configuration that does not exist.
Could not resolve configuration for package wayland:simple_egl

Can you help me solve this problem ?

What sub configuration directive "derelict-gles" -> "wayland" I must fix ?

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.