Alexandre "kAworu" Perrin
cc08f45304
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:42:03 +02:00
Uli Schlachter
9deafe68c8
Font: Remove, oopango took over the job
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 20:09:17 +02:00
Uli Schlachter
06e11cd5d1
Clean up module dependencies
...
This removes the check for imlib2 which we no longer use. This also removes a
check for oocairo because we got that one twice for some weird reason.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 22:01:23 +02:00
Uli Schlachter
97f66c57b5
Add drawing functions that will be needed later on
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-09 16:55:03 +02:00
Uli Schlachter
44f64eee58
Automatically load oocairo and oopango on startup
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-09 16:54:50 +02:00
Uli Schlachter
6bb646861c
Stop using gperf
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-02 19:24:39 +02:00
Uli Schlachter
03e0ee53d2
Wibox: Remove shape support
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-30 10:22:50 +02:00
Uli Schlachter
c8dea3cff6
Use _LDFLAGS instead of _LIBRARIES
...
If a library is in a non-standard path, the linker needs an extra argument so
that it knows how to find this library: -L/path/to/lib
pkg_check_modules() sets _LIBRARIES only to the library's name, but _LDFLAGS
also contains a -L flag if one was found.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-23 11:33:47 +02:00
Uli Schlachter
46048332b0
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-08-12 20:14:56 +02:00
Uli Schlachter
fa5a25637d
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:54:13 +02:00
Uli Schlachter
b64c989963
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:45:56 +02:00
Gwenhael Le Moine
1fb19af03d
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:34 +01:00
Pierre Allegraud
12d610ff2f
build: make manpage compression optional
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-28 10:43:52 +01:00
Julien Danjou
e18cbf4b16
build: add -rdynamic to CFLAGS
...
This allows symbol name in backtrace dumps.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-08 21:04:28 +01:00
Alexandre "kAworu" Perrin
8ddc77eeb9
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>
2009-10-27 09:33:08 +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
Julien Danjou
90241e4076
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 17:43:56 +01:00
Julien Danjou
2a2ce6e83e
client: switch to xcb-icccm 0.3.3
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-31 16:03:06 +01:00
Perrin "kAworu" Alexandre
14ef6acd48
fixed CMake logic error in Lua detection.
...
Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-07 11:13:40 +01:00
Julien Danjou
0fea9909af
build: add a xcb-property check
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:32:32 +01:00
Julien Danjou
d6dbb00f10
client: add support for input faking
...
This is done using XTest extension.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:03:17 +01:00
Julien Danjou
bdbcd9352d
client: add content property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:21:00 +01:00
MATSUU Takuto
aa38e717e6
build: set minimum pango version required
...
pango_layout_set_height is implemented in pango-1.19.3.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 10:16:11 +01:00
Julien Danjou
2e2f56a43a
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:33:23 +01:00
Julien Danjou
bfdaf8d9ff
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-05 10:40:34 +01:00
Julien Danjou
c7529c486d
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-28 14:37:20 +01:00
Julien Danjou
3cc96c7c33
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:09:16 +01:00
Julien Danjou
6df11f4786
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-14 17:56:44 +01:00
Alex Cornejo
5694bd8769
Fixed bug in xcb version checking.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 23:16:32 +01:00
Félix C. Morency
4cc95b2622
build: set minimum xcb version required
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 10:44:18 +01:00
Andrei 'Garoth' Thorp
9d04111a75
sky-theme: Initial import and integration
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 16:06:14 +01:00
Julien Danjou
36e4847dd1
themes: move theme icons to themes/
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 12:02:08 +01:00
Julien Danjou
6b0cd767d7
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 11:30:43 +01:00
MATSUU Takuto
bda6282df7
build: add x11-xcb as dep
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-13 08:57:51 +02:00
Julien Danjou
34647e4e75
awful: split in several modules
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 18:30:32 +02:00
Julien Danjou
0ef8300dca
Revert "build: xproto 7.0.10 is enough"
...
This reverts commit 3c06a94dd7
.
2008-09-29 13:23:09 +02:00
Julien Danjou
dcb0e24509
build: remove useless imlib2 option
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 09:08:07 +02:00
Julien Danjou
3c06a94dd7
build: xproto 7.0.10 is enough
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-28 15:53:59 +02:00
Julien Danjou
7d670a8686
build: imlib2 is no more optional
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-28 15:53:34 +02:00
Julien Danjou
be77ae2f98
build: add xproto dep
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-28 15:52:43 +02:00
Julien Danjou
b48f094490
draw: remove GdkPixBuf support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
57a537e168
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 16:12:42 +02:00
Arnaud Fontaine
00d8a0cddd
Update to new xcb-util library.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 14:02:23 +02:00
Julien Danjou
ef99e57be4
build: add minimal version checks for xcb-util
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-06 13:53:50 +02:00
Julien Danjou
68cff957be
build: stop compiling Lua libs
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 20:38:25 +02:00
Julien Danjou
edfee160ea
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 01:08:11 +02:00
Julien Danjou
1e51843fa6
build: change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-29 11:35:52 +02:00
Julien Danjou
2b64b3212f
build: remove unused vars
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-29 11:35:34 +02:00
Julien Danjou
43e8a9759b
build: remove unused cpack stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-29 11:35:03 +02:00
Julien Danjou
dcbd7a7c14
socket, lua: use xcb_parse_display
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-27 17:14:47 +02:00
Julien Danjou
d518873461
build: first luac lookups are not fatal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:59:41 +02:00
Julien Danjou
b807b1a1a6
build: handle multi luac names
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:43:51 +02:00
Julien Danjou
7c86714dca
build: look for libs in /usr/local/lib
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:41:41 +02:00
Julien Danjou
2efbdb76ba
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 12:39:58 +02:00
Julien Danjou
acedf9eb70
build: link with Imlib2 by default
...
Imlib2 has a cache for image. That makes it faster than GdkPixBuf
when drawing many times the same images.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 15:36:45 +02:00
Julien Danjou
22f41a6983
lib: add @release tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 11:41:58 +02:00
Julien Danjou
400b61677d
build remove -f to hostname since some OS don't support it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-17 17:35:34 +02:00
Julien Danjou
eef2480ef7
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-15 12:11:40 +02:00
Michael Gehring
b48bf31afd
build: add pangocairo dependency
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-14 22:38:46 +02:00
Félix C. Morency
e74286b50b
build: use cmake modules to find curses and lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 21:12:12 +02:00
Julien Danjou
ca8d595bff
build: man path is now configurable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 16:26:29 +02:00
Michal Nowak
5c1c038bc9
build: make xsession path configurable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 14:14:25 +02:00
Julien Danjou
fd95eea99b
build: fix desktop file install path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 13:23:10 +02:00
Julien Danjou
d2f38d4051
build: add desktop file (FS#257)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:37:04 +02:00
Julien Danjou
88f1345460
themes: default set a default wallpaper if possible
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:12:18 +02:00
Michal Nowak
ea930d8972
build: enable distro specific doc's path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:30:21 +02:00