changeset: 301:844587572673
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Fri May 28 11:42:49 2010 +0100
files: LICENSE Makefile config.def.h config.h dmenu.c
description:
prepared dmenu-4.1 release
diff -r 545ec6141dc4 -r 844587572673 LICENSE
--- a/LICENSE Wed May 05 11:42:39 2010 +0100
+++ b/LICENSE Fri May 28 11:42:49 2010 +0100
@@ -1,7 +1,7 @@
MIT/X Consortium License
© 2010 Connor Lane Smith <cls_AT_lubutu.com>
-© 2006-2009 Anselm R. Garbe <anselm_AT_garbe.us>
+© 2006-2010 Anselm R Garbe <anselm_AT_garbe.us>
© 2009 Gottox <gottox_AT_s01.de>
© 2009 Markus Schnalke <meillo_AT_marmaro.de>
© 2009 Evan Gates <evan.gates_AT_gmail.com>
diff -r 545ec6141dc4 -r 844587572673 Makefile
--- a/Makefile Wed May 05 11:42:39 2010 +0100
+++ b/Makefile Fri May 28 11:42:49 2010 +0100
@@ -20,6 +20,10 @@
${OBJ}: config.h config.mk
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
+
dmenu: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
@@ -31,7 +35,7 @@
dist: clean
@echo creating dist tarball
@mkdir -p dmenu-${VERSION}
- @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION}
+ @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION}
@tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
@gzip dmenu-${VERSION}.tar
@rm -rf dmenu-${VERSION}
diff -r 545ec6141dc4 -r 844587572673 config.def.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/config.def.h Fri May 28 11:42:49 2010 +0100
@@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+static const char *font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
+static const char *normbgcolor = "#cccccc";
+static const char *normfgcolor = "#000000";
+static const char *selbgcolor = "#0066ff";
+static const char *selfgcolor = "#ffffff";
+static unsigned int spaceitem = 30; /* px between menu items */
diff -r 545ec6141dc4 -r 844587572673 config.h
--- a/config.h Wed May 05 11:42:39 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-/* appearance */
-static const char *font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
-static const char *normbgcolor = "#cccccc";
-static const char *normfgcolor = "#000000";
-static const char *selbgcolor = "#0066ff";
-static const char *selfgcolor = "#ffffff";
-static unsigned int spaceitem = 30; /* px between menu items */
diff -r 545ec6141dc4 -r 844587572673 dmenu.c
--- a/dmenu.c Wed May 05 11:42:39 2010 +0100
+++ b/dmenu.c Fri May 28 11:42:49 2010 +0100
@@ -42,8 +42,8 @@
typedef struct Item Item;
struct Item {
char *text;
- Item *next; /* traverses all items */
- Item *left, *right; /* traverses items matching current search pattern */
+ Item *next; /* traverses all items */
+ Item *left, *right; /* traverses items matching current search pattern */
};
/* forward declarations */
@@ -85,8 +85,8 @@
static Bool running = True;
static Display *dpy;
static DC dc;
-static Item *allitems = NULL; /* first of all items */
-static Item *item = NULL; /* first of pattern matching items */
+static Item *allitems = NULL; /* first of all items */
+static Item *item = NULL; /* first of pattern matching items */
static Item *sel = NULL;
static Item *next = NULL;
static Item *prev = NULL;
Received on Fri May 28 2010 - 10:42:52 UTC
This archive was generated by hypermail 2.2.0 : Fri May 28 2010 - 10:48:04 UTC