You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add proposal
* Add info about what a crate is
* Added Gunnar Applelid to the project
* Add containerization paranthesis
* Add link to repo
* Update open-source links
* Update open-source readme for task repetition
* Improve accuracy of text
* Add instruction on how to initialize submodule
Patch the crate [wlroots-sys](https://github.com/swaywm/wlroots-rs/tree/master/wlroots-sys) belonging to the deprecated [wlroots-rs](https://github.com/swaywm/wlroots-rs) (rust bindings for [wlroots](https://github.com/swaywm/wlroots)) library to suit it for use in other projects directly.
@@ -35,11 +39,11 @@ Some suggestions for tangible changes to the crate:
35
39
- Add a README / documentation page
36
40
37
41
38
-
## Motivation
42
+
###Motivation
39
43
40
44
The project was deprecated due to the author giving up on it. There is however interest in the the project (see stars on GitHub) since the project (including it's subcrates) is a useful resource for developing Wayland-compositors in the Rust-language. Patching wlroots-sys would make it possible to interface with the wl-roots c-library directly without dependencies to deprecated bindings.
41
45
42
-
## Ties to DevOps
46
+
###Ties to DevOps
43
47
44
48
The project would involve the following:
45
49
@@ -50,7 +54,7 @@ The project would involve the following:
50
54
- Making it as **self-contained** as possible (containerization)
51
55
52
56
53
-
## Context
57
+
###Context
54
58
55
59
- Rust: a programming language
56
60
@@ -63,3 +67,55 @@ The project would involve the following:
63
67
- wlroots-rs: A deprecated library with Rust-bindings for Wlroots.
64
68
65
69
- wlroots-sys: A deprecated library within wlroots-rs that offers auto-generation of "raw" bindings from C to Rust.
70
+
71
+
72
+
## Project: wlroots-sys
73
+
74
+
A fork intended for standalone use of the wlroots-sys subcrate (that generates "raw" Rust bindings for [wlroots](https://github.com/swaywm/wlroots) via bindgen). This means that the development is contained only within the [wlroots-sys](https://github.com/perfah/wlroots-rs/tree/master/wlroots-sys) directory. Note that this is not an attempt to revive wlroots-rs - hence the largely untouched repository root. The motivation for this fork is the benefit of being able to write Wayland-compositors based on wlroots in Rust without relying on outdated protocols, dependencies etc.... See below if you are interested in writing one yourself.
75
+
76
+
### Changes
77
+
78
+
The following changes have been merged into master:
79
+
80
+
- Exposed (updated to reflect) all wlr/protocols currently available [here](https://github.com/swaywm/wlroots/tree/master/protocol)
81
+
- Exposed (updated to reflect) all wlr/types currently available [here](https://github.com/swaywm/wlroots/tree/master/types)
82
+
- Updated all dependencies of wlroots-sys to the current versions (including the library suite “wayland-rs” to >=0.25.*)
83
+
- Fixed a bug where wlroots-sys would not compile. The multi-crate issue is described [here](https://users.rust-lang.org/t/unable-to-compile-syntex-syntax-using-rust-1-41/37710).
84
+
- Fixed a bug where the wlroots-sys crate would recompile every time you compile another crate that depends on wlroots-sys
85
+
- Added informative dependency checks as well as more constructive error messages for pkg-config when building default, static and unstable, for a smoother build process.
86
+
- Fixed errors with static build with new version of wlroots.
87
+
- Compatibility changes for wlroots-rs (makes CI pass)
0 commit comments