Commit Graph

54 Commits

Author SHA1 Message Date
Leonardo Hernández Hernández
a1f3e25c35
turn on -Wfloat-conversion 2024-01-15 02:09:18 +00:00
Leonardo Hernández Hernández
0151bd48dd
turn on -Wsign-compare 2024-01-15 02:09:18 +00:00
Leonardo Hernández Hernández
d08e6a3a7e
include CHANGELOG.md in the tarball
Fixes: 24576f1fdf
2023-11-25 01:22:48 -06:00
Leonardo Hernández Hernández
7611dc91d7
enable debug symbols by default
they does not affect performance and the size's increase is negligible
2023-11-17 11:03:32 -06:00
Leonardo Hernández Hernández
b299e01e44
Merge remote-tracking branch 'upstream/main' into wlroots-next 2023-10-09 11:45:51 -06:00
Leonardo Hernández Hernández
342850487a
include dwl.desktop in the tarbal 2023-09-24 14:43:30 -06:00
Leonardo Hernández Hernández
1333f8cc6e
Merge remote-tracking branch 'upstream/main' into wlroots-next 2023-09-24 11:44:29 -06:00
Leonardo Hernández Hernández
5baf195523
allow specify DATADIR (to install desktop file) 2023-09-24 11:24:39 -06:00
Weiseguy
773bd04764 Add desktop entry file 2023-09-22 19:49:18 -06:00
Leonardo Hernández Hernández
0e5405610e
add support for cursor-shape-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106
2023-07-23 19:56:55 -06:00
Leonardo Hernández Hernández
87c4c1f629
convert some warnings to errors 2022-10-05 21:28:14 -05:00
Leonardo Hernández Hernández
31106eff64
rework Makefile
- allow user to use a different pkg-config binary
- restore almost all (and add other ones) warning flags (-Werror is not set)
- $(XWAYLAND) is added to our CPPFLAGS
- remove useless comments
- don't generate idle-protocol.h (not used)
2022-09-20 23:34:48 -05:00
Leonardo Hernández Hernández
871463c327
define _POSIX_C_SOURCE through CPPFLAGS
like dwm
2022-09-08 00:10:53 -05:00
Leonardo Hernández Hernández
6ce035303e
fix dist target 2022-08-08 21:30:37 -05:00
Leonardo Hernández Hernández
0eff78d6c2
include DWLCFLAGS into linking step 2022-07-06 23:41:42 -05:00
Grant Nichol
671a9b450b
Fix make install while files are in use
When the dwl executable is in use, cp fails without the -f flag.

POSIX defines this flag with:
> If a file descriptor for a destination file cannot be obtained,
> as described in step 3.a.ii., attempt to unlink the destination
> file and proceed.
2022-06-12 15:58:38 -05:00
Leonardo Hernández Hernández
c008bf2a7d
add $(LIBS) to $(LDLIBS) 2022-06-10 12:21:23 -05:00
Dima Krasner
c990dbd441 fix link failure with --as-needed 2022-06-10 19:26:45 +03:00
Leonardo Hernández Hernández
d969289baf
use LDFLAGS to build dwl target 2022-06-06 23:36:45 -05:00
Leonardo Hernández Hernández
50b6630f3d
do not generate *-protocol.{c,o}
according with
62fbf3f4ba
they are unused and wlroots-based compositors don't need to do this
2022-06-06 22:54:40 -05:00
Leonardo Hernández Hernández
14641560b0
include xcb only when building with xwayland support 2022-06-06 22:53:36 -05:00
KawaiiAmber
7b42232ad1
convert makefile to be more portable 2022-06-06 22:53:36 -05:00
Leonardo Hernández Hernández
d5a741c9b4
add dist target 2022-05-09 16:25:03 -05:00
Leonardo Hernández Hernández
5d8084daa7
add flag to print version and exit 2022-05-09 16:24:36 -05:00
Leonardo Hernández Hernández
b424602ebc
add DESTDIR 2022-03-31 09:43:56 -06:00
Leonardo Hernández Hernández
2d6f932ecf
don't let -pedantic be overridable by environment 2022-03-31 09:21:27 -06:00
Leonardo Hernández Hernández
aab397c30b
new functions ecalloc() and die()
die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS
2022-03-28 15:02:09 -06:00
Humm
0c4740b277 add dwl(1)
Documentation is good.  Man pages are documentation.  A program without
a man page is worthless.
2022-03-13 00:46:24 +01:00
Jason Goulet-Lipman
d57db4cac9 added uninstall target 2021-04-19 09:05:35 -04:00
Devin J. Pohly
4170a90fbc group phony targets together in Makefile 2021-04-15 13:04:31 -05:00
Devin J. Pohly
6a0dec69ec re-compile if config.mk changes 2021-04-15 13:03:21 -05:00
Devin J. Pohly
43f1076833 remember to add client.h in Makefile 2021-01-18 14:16:24 -06:00
Devin J. Pohly
2230f92ef0 add "all" target 2020-12-25 12:07:43 -05:00
Devin J. Pohly
206427537a Merge updates from guidocella
Thanks so much for helping to keep the project running while life was
crazy!
2020-12-24 21:56:41 -05:00
Devin J. Pohly
62529e251d
Merge pull request #49 from guidocella/layer-shell
Layer shell
2020-12-24 20:24:14 -05:00
Devin J. Pohly
41d7fdbd60 use the install command to install 2020-12-24 19:07:38 -05:00
Devin J. Pohly
8dd99d2a10
Merge pull request #65 from Keating950/master
Add install target to Makefile
2020-12-24 19:07:08 -05:00
Guido Cella
0b2f4f213d remove -Werror=declaration-after-statement
wtf is the point of this crap? It makes the code harder to follow,
increases the line count and made me fail compilation a million times.
We shouldn't blindy follow everything about suckless's style.
2020-12-19 19:52:28 +01:00
Keating950
05883b7b2f add install target to Makefile and corresponding prefix variable to config.mk 2020-12-19 18:45:49 +01:00
will
4f1e557d3d Added basic tap-to-click for touchpad users 2020-12-19 18:37:10 +01:00
Guido Cella
41cc23e1cf Implement the idle protocol
It allows clients such as swayidle and chat applications to monitor user
idle time.
2020-12-19 12:34:32 +01:00
Keating950
9578816487
add install target to Makefile and corresponding prefix variable to config.mk 2020-11-22 12:58:49 -05:00
will
598516d808 Added basic tap-to-click for touchpad users 2020-10-17 13:52:53 +02:00
Guido Cella
b237ea0e45 simplify make clean 2020-08-28 15:17:38 +02:00
Guido Cella
d61658bdd7 update make clean 2020-08-26 21:05:44 +02:00
Guido Cella
05df9201b3 layer shell initial attempt 2020-08-24 07:04:34 +02:00
Devin J. Pohly
e3e9504fcd make XWayland support optional 2020-08-10 12:50:56 -05:00
Alexander Courtis
c4cf78aadb xwayland: unmanaged (dropdown menu) support 2020-07-25 11:29:02 -04:00
Devin J. Pohly
a224f26469 warn but don't error on unused function 2020-07-24 17:10:32 -04:00
Devin J. Pohly
ecdd012f6b sacrifice 24 lines to suckless style :) 2020-05-02 15:21:36 -05:00