Commit Graph

183 Commits

Author SHA1 Message Date
Alexandre "kAworu" Perrin 56f0c84240 test for __builtin_clz() and fallback to an inline implementation.
__builtin_clz() is not defined by gcc prior to 3.4 and maybe not for some other
compiler vendors.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 20:41:44 +02:00
Uli Schlachter 0116d739b5 Don't fail if execinfo is not available
Previously, cmake aborted when execinfo was not found. With this commit the
backtrace code is just disabled when execinfo is not available.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 16:42:34 +02:00
Alexandre "kAworu" Perrin 23d5b27206 awesomeConfig: test for execinfo.h/backtrace()
add a test for execinfo.h and backtrace() function which are defined by
GNU libc. If it fails, require libexecinfo.

Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-11 16:42:08 +02:00
Julien Danjou 0ee01cc3fe change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-04 10:51:54 +02:00
Julien Danjou 4ea1753f34 Change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-25 10:50:48 +02:00
Uli Schlachter 5e761f8c24 Remove some more unused function arguments
We no longer use libxcb-event, so we don't have to follow it's API any more.
This means the pointless arguments and return values can be removed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-08 17:59:20 +02:00
Uli Schlachter 721f33d5cc Stop using libxcb-property
libxcb-property will be dropped from xcb-utils in the next release, because
upstream thinks it's not really useful and well-designed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-08 16:57:08 +02:00
Julien Danjou 84150be3df change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-07-14 08:30:09 +02:00
Julien Danjou 1bbb3cb6e2 update codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-10 14:39:57 +02:00
Julien Danjou 33fae25948 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-02 17:54:05 +01:00
Julien Danjou 553b2bfe99 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-04 09:50:02 +01:00
Gwenhael Le Moine 407db4c0df build: fix typo
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-29 09:52:43 +01:00
Pierre Allegraud a4fb1e00f7 build: make manpage compression optional
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-28 10:44:10 +01:00
Julien Danjou dd7362157e change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-26 20:03:25 +01:00
Julien Danjou 44edd4a75e change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-09 14:52:15 +01:00
Julien Danjou 1128f67f5d change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:41:18 +02:00
Julien Danjou 8296f58ee7 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-09 16:16:18 +02:00
Julien Danjou a1ae2194e1 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 14:08:15 +02:00
Julien Danjou ff653fd881 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:45:33 +02:00
Julien Danjou c862bf0534 property: use xcb_get_wm_protocols_from_reply
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 11:13:00 +02:00
Arnaud Fontaine e829db1a41 update to libxcb 1.4 and xcb-util 0.3.6
These new versions provide similar fields to Xlib for errors
(major_code, minor_code and resource_id).
2009-08-24 11:13:00 +02:00
Uli Schlachter a77a1b7b64 Add a lua api for setting a wibox' shape
When the SHAPE extension is not available, this code prints
a harmless warn() on stderr.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-27 14:23:59 +02:00
Julien Danjou 7d143d4d71 build: remove useless variable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-01 11:58:51 +02:00
Julien Danjou 854b59d771 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 11:46:25 +02:00
Julien Danjou 7795f623dd change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-26 16:51:06 +02:00
Julien Danjou ad44a1d8dc change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 11:13:21 +02:00
Johan Kiviniemi acd6c64f55 themes: Generate unfocused/inactive icons automatically
Additionally, use the alpha channel so that the unfocused icons look
good on any background, not just black.

This adds ImageMagick as a build dependency.

Signed-off-by: Johan Kiviniemi <devel@johan.kiviniemi.name>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 08:30:21 +02:00
Julien Danjou 7a6b340dbb build: remove ncurses stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-15 19:52:43 +02:00
Uli Schlachter 56d6e3726b Use _LDFLAGS instead of _LIBRARIES
The _LDFLAGS vars which pkg_check_modules() set also include -L flags which
are necessary so that the linker can find the libs it needs to find.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:46:29 +02:00
Julien Danjou 0a1bf94036 build: remove useless check for libs
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 19:58:16 +02:00
Julien Danjou b33cb3b89c change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 15:14:17 +02:00
Julien Danjou dadeb9bf86 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:17:10 +02:00
Julien Danjou 7d9c796607 build: bump xproto required version
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 18:34:26 +02:00
perry 5e284c4ab3 beautiful: theme are now handled in Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:40:14 +02:00
Julien Danjou 0705fbf29d spawn: use glib spawn module to catch error
This is a lot better than our previous code. We can now report execution
error to Lua directly.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 20:18:39 +02:00
Julien Danjou b780be7578 build: detect endianness at compile time
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:06:24 +02:00
Nikos Ntarmos 715f95555a libxdg-basedir 1.0.0 compatibility
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 18:51:04 +02:00
Julien Danjou d834e19a23 awesome: use xcb_event error code
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou cda33ca3e6 key: cleanup modifiers system
We stop retrieving useless key, since we have constant.
We also grab correctly all keycode for a keysym.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:54 +02:00
Julien Danjou f4221a1fdf spawn: add support for startup-notification
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-14 14:23:38 +02:00
Julien Danjou a1280fe02a build: stop checking for readline
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 20:07:45 +02:00
Julien Danjou 7af34ed244 luaa: use libxdg-basedir instead of our code
This is clearly more clear and portable.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-07 17:59:39 +02:00
Julien Danjou 63f2dd3908 build: do not depends on glib directly
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-04 16:42:08 +02:00
Julien Danjou 992ee7e304 build: depends on x11
at least for XStringToKeysym()

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-02 17:33:55 +02:00
Nikos Ntarmos f24f652962 build: prepend ${PREFIX} to SYSCONFDIR if not set (FS#468)
Also fixes what seemed like a typo in the env checking for
XDG_CONFIG_DIR.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-01 17:56:20 +02:00
Julien Danjou fce7f17915 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-06 13:53:17 +01:00
Julien Danjou bcfdc290db change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-27 10:47:29 +01:00
Julien Danjou c86ef562b4 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 15:17:30 +01:00
Julien Danjou d2fc646590 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 13:56:38 +01:00
Julien Danjou ef565076d7 build: remove useless dep
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 16:40:15 +01:00