hjdskes / dwm-patches Goto Github PK
View Code? Open in Web Editor NEWUNMAINTAINED -- A collection of patches for dwm
UNMAINTAINED -- A collection of patches for dwm
I went to a website with an ampersand in the page title, so that became the title of the window. That gave me a couple hundred of these
Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &
This is reproducible. Any ampersand in the dwm bar (for example in a tag name) that isn't written as &
will yield strange results and spawn this error.
Applied your xft patch and all worked fine. Applied the statuscolors_xft patch, had to hand patch 3 chunks in, now I am getting some errors.
==> Making package: dwm 6.0-1 (Mon Oct 14 11:16:33 EDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing src/ tree
==> Removing existing pkg/ directory...
==> Starting build()...
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -I/usr/include/freetype2 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA -DXFT
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama -L/usr/lib/X11 -lXft
CC = cc
CC dwm.c
dwm.c: In function ‘drawbar’:
dwm.c:731:44: error: ‘DC’ has no member named ‘sel’
col = m->tagset[m->seltags] & 1 << i ? dc.sel : dc.norm;
^
dwm.c:731:53: error: ‘DC’ has no member named ‘norm’
col = m->tagset[m->seltags] & 1 << i ? dc.sel : dc.norm;
^
dwm.c:733:19: error: request for member ‘name’ in something not a structure or union
drawtext(tags[i].name, col, True);
^
dwm.c: In function ‘drawcoloredtext’:
dwm.c:781:33: error: ‘NUMCOLORS’ undeclared (first use in this function)
for(i = 0; _ptr < 0 || *ptr > NUMCOLORS; i++, ptr++);
^
dwm.c:781:33: note: each undeclared identifier is reported only once for each function it appears in
dwm.c: In function ‘keypress’:
dwm.c:1089:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0);
^
dwm.c: In function ‘setup’:
dwm.c:1617:21: error: ‘NUMCOLORS’ undeclared (first use in this function)
for(int i = 0; i < NUMCOLORS; i++) {
^
dwm.c:1618:38: error: ‘colors’ undeclared (first use in this function)
dc.colors[i][ColBorder] = getcolor(colors[i][ColBorder]);
^
dwm.c: In function ‘textnw’:
dwm.c:1699:14: error: ‘NUMCOLORS’ undeclared (first use in this function)
if(_ptr <= NUMCOLORS && ptr > 0) {
^
make: ** [dwm.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
makepkg won't work without it
==> ERROR: buildflags.diff was not found in the build directory and is not a URL.
and simply applying the patches won't work either, since there are missing buildflags.
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.