Commit Graph

29 Commits (master)

Author SHA1 Message Date
bakkeby cfabf03f62 bump version to 6.5
ref.
https://git.suckless.org/dwm/commit/061e9fe9a7db396c0c4f3d996c3908fb43a6d50c.html
2 months ago
Mahdi Nayef 7849eaa08b
Use pkg-config to locate fribidi library's files (#369) 9 months ago
bakkeby 3881ad4ad1 config.mk - dropping __XSI_VISIBLE from CPPFLAGS, should no longer be necessary 12 months ago
bakkeby 5498fed42b Bump to 348f655.
config.mk: update to _XOPEN_SOURCE=700L

SA_NOCLDWAIT is marked as XSI in the posix spec [0] and FreeBSD and NetBSD
seems to more be strict about the feature test macro [1].

so update the macro to use _XOPEN_SOURCE=700L instead, which is equivalent to
_POSIX_C_SOURCE=200809L except that it also unlocks the X/Open System
Interfaces.

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html#tag_13_42
[1]: https://lists.suckless.org/dev/2302/35111.html

Tested on:
* NetBSD 9.3 (fixed).
* FreeBSD 13 (fixed).
* Void Linux musl.
* Void Linux glibc.
* OpenBSD 7.2 (stable).
* Slackware 11.

Reported-by: beastie <pufferfish@riseup.net>

Ref.
https://git.suckless.org/dwm/commit/348f6559ab0d4793db196ffa56ba96ab95a594a6.html
1 year ago
bakkeby c613917d6b config.mk - passing __XSI_VISIBLE=1 via CPPFLAGS as needed for compilation on BSD systems ref. #340 1 year ago
bakkeby cc58ad2ef4 Adding alt-tab patch ref. #303 2 years ago
bakkeby 4912e3129a Bump to 50ad171.
remove workaround for a crash with color emojis on some systems, now fixed in libXft 2.3.5

https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS

bump version to 6.4

Ref.
https://git.suckless.org/dwm/commit/970f37697358574e127019eb0ee2f5725ec05ce0.html
https://git.suckless.org/dwm/commit/50ad171eea9db5ccb36fce2592e047c3282975ff.html

Consequently the color emoji patch has been inverted into no color emoji, keeping the workaround in the code base for those that are on systems with older versions of the Xft library.
2 years ago
bakkeby 4b20c92b4c Adding bidi patch ref. #285 2 years ago
Stein Gunnar Bakkeby 5f7df0b0dc
Adding tagpreview patch (#271) 2 years ago
bakkeby adc05c2332 Upgrading winicon patch to v2.1 ref. #238 2 years ago
bakkeby 2c5f877bd2 Ignoring unused functions warnings.
This is achieved by adding the -Wno-unused-function flag to the compiler.
The warnings are suppressed to avoid confusion for users new to dwm.

Removing the static declaration from the header files works too, but adds
unnecessary data into the compiled object.
2 years ago
bakkeby 0404e12dba bump version to 6.3 2 years ago
bakkeby f8ae6714db Adding winicon patch 3 years ago
bakkeby 2938bf448c config.mk: added build options for FreeBSD 3 years ago
bakkeby 199b363c23 Comment out non-default libraries from config.mk 3 years ago
bakkeby 1d092253e3 Adding riodraw patch 3 years ago
bakkeby c47f61387d mpdcontrol: fixing typo, mpd (music player daemon), not mdp 4 years ago
bakkeby 9f64260f0a ipc: config.mk corrections 4 years ago
bakkeby 4379517c25 Adding IPC v1.5.5 patch 4 years ago
bakkeby aff7c0d8b8 Revert config.mk uncommenting 4 years ago
bakkeby 664484d572 Refinement 4 years ago
bakkeby 903b32ac8b Major refactoring in preparation for bar modules 4 years ago
bakkeby 8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
4 years ago
bakkeby b3d6a47f4f config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2

"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html

A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html

FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297

This was already fixed in dmenu.

This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
4 years ago
bakkeby 9440e76936 The Xrender library does not need to be included by default, only include when alpha patch is enabled. 4 years ago
bakkeby a560b9cb53 Adding rounded corners patch 4 years ago
bakkeby 3726d8d1ea Adding swallow patch 5 years ago
bakkeby ed1c509df3 Adding mdpcontrol patch 5 years ago
bakkeby c34c536f3e Adding alpha patch 5 years ago