rtbo / wayland-d Goto Github PK
View Code? Open in Web Editor NEWWayland bindings for D
License: Other
Wayland bindings for D
License: Other
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
running
dub run wayland:list_registry
leads to
core.exception.AssertError@src/dmd/toctype.d(275): Assertion failure
reported here: https://issues.dlang.org/show_bug.cgi?id=23155
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 ?
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?
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`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.