Commit Graph

76 Commits

Author SHA1 Message Date
Julien Danjou 8649c6cb8c awful: add titlebar support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 15:47:58 +02:00
Matthew William Cox 84796930b7 Fix default search path for configurations
Modified lookup of system configuration to accomodate the new XDG
locations.

Add an XDG_CONFIG_DIR variable to cmake to help find/set the system-wide
configuration location.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 20:10:13 +02:00
Michael Gehring 56de5faab4 cmake: exit if a required utility is not found 2008-07-23 09:42:04 +02:00
Michael Gehring 38ff94733b cmake: always exit with an error if a required library can't be found 2008-07-23 09:42:04 +02:00
Félix C. Morency 41a9627f95 cmake: Specify that the project's language is C
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 07:15:55 +02:00
Julien Danjou 58eac8af1c config: fix load paths
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 08:15:17 +02:00
Julien Danjou fb13bff697 config: use XDG for loading config
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 14:07:56 +02:00
Matthew McCormick (thewtex e0607d7165 build: deal with not-existant .version_stamp
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:01:10 +02:00
Pierre Habouzit 1bdf22f631 Add stricter warnings wrt prototypes.
And add the missing static's it found.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 08:12:22 +02:00
Julien Danjou db49685413 atoms: autogenerate atom list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 20:05:53 +02:00
Michael Gehring 3f1fa89dde cmake: hide CMAKE_INSTALL_PREFIX in ccmake 2008-06-26 19:33:43 +02:00
Michael Gehring ba13bece9d cmake: use PREFIX instead of CMAKE_INSTALL_PREFIX 2008-06-26 19:33:43 +02:00
Michael Gehring a24a38dbc0 cmake: cache PREFIX/SYSCONFDIR so they are editable via ccmake 2008-06-26 19:33:43 +02:00
Michael Gehring 46aa0b55ac cmake: compile lua libs 2008-06-25 12:46:53 +02:00
Michael Gehring 08762261c6 cmake: cleanup paths variables/fix AWESOME_CONF_PATH 2008-06-25 04:00:19 +02:00
Michael Gehring a786d51a3c cmake: make building luadoc an option 2008-06-25 03:01:22 +02:00
Félix C. Morency 9b462ae4f0 added sysconfdir support 2008-06-25 02:03:55 +02:00
Félix C. Morency db8c1ffbf2 make cpack use destdir instead 2008-06-25 01:56:48 +02:00
Julien Danjou 7e104aef8c build: use GdkPixBuf by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-24 20:28:45 +02:00
MATSUU Takuto 2b917037ed cmake 2.4 has no LIMIT syntax in file command
cmake 2.4 http://www.cmake.org/HTML/CMake-2.4.html
  FILE(READ filename variable)

cmake 2.6 http://www.cmake.org/HTML/cmake-2.6.html
  file(READ filename variable [LIMIT numBytes] [OFFSET offset] [HEX])
2008-06-24 18:52:35 +02:00
Michael Gehring c19fde1f01 cmake: only awesome-client needs to link readline 2008-06-24 18:15:20 +02:00
Michael Gehring 388dbb01c1 build: implement make dist using git-archive
Instead of jumping through hoops to get the ignore list
right just use git-archive to get a clean source tarball.
2008-06-24 08:58:04 +02:00
Pierre Habouzit 02fdfcc01e fix typo
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-24 08:58:04 +02:00
Julien Danjou 55646db9cc build: fix hostname search
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 21:15:58 +02:00
Michael Gehring 27bc445664 cmake: use luadoc for functions exported from C
Documenting half of the Lua API in the awesomerc manpage and the other
half with luadoc, doesn't make much sense. I modified the output of
gendoc.lua to something that looks like lua with luadoc markup. That
file can then be processed by luadoc and we have all Lua documentation in
one place.

And yes, we're now pulling custom doxygen tags out of C source code to
generate annotated lua source code we never use, which is then mangled
again by luadoc to spit out a set of html files.
2008-06-23 18:43:05 +02:00
Michael Gehring c3272d19a3 cmake: build/install luadoc for awful and tabulous 2008-06-23 18:43:04 +02:00
Felix C. Morency 7bf0500479 cmake: fixed source package generation, again
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 18:31:38 +02:00
Michael Gehring 8f5363bcc1 cmake: indent 2008-06-23 14:15:55 +02:00
Michael Gehring d08f746733 cmake: switch cmake commands to lowercase 2008-06-23 14:15:55 +02:00
Michael Gehring 6f8aa30b2f cmake: use BUILD_DIR/SOURCE_DIR shorthands
basically:
s/CMAKE_CURRENT_SOURCE_DIR/SOURCE_DIR/g
s/CMAKE_CURRENT_BINARY_DIR/BUILD_DIR/g
2008-06-23 14:15:55 +02:00
Pierre Habouzit c2df807ede Use gperf to tokenize some strings.
This makes the code way more readable, and also avoids a lot of strcmps.

Use it for draw_align_get_from_str as a proof of concept.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 07:41:22 +02:00
Michael Gehring 426d2fee9e cmake: update git version every build 2008-06-22 22:13:06 +02:00
Michael Gehring 35dce79296 cmake: bring back release codename 2008-06-22 22:13:06 +02:00
Michael Gehring 9206a60e88 cmake: consolidate version strings 2008-06-22 22:13:06 +02:00
Félix C. Morency d42cdc47c3 cmake: Fixed source package generation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-22 09:51:54 +02:00
Michael Gehring e1dd1344fc cmake: make out-of-source build work with readonly source dir 2008-06-22 03:00:42 +02:00
Michael Gehring f231e8496a cmake: cmake < 2.6 doesn't know FILE(STRINGS ...) 2008-06-21 15:10:59 +02:00
Michael Gehring 8fdd5fa62e cmake: install LICENSE/README/... 2008-06-21 10:20:00 +02:00
Michael Gehring 94c0b483fb cmake: make generated headers a real target with dependecies 2008-06-21 10:20:00 +02:00
Michael Gehring 0ec46b99b9 cmake: move cmake 2.4 compatibility settings on top 2008-06-21 10:20:00 +02:00
Michael Gehring dd3e37624b cmake: macroify FIND_LIBRARY/check 2008-06-21 10:20:00 +02:00
Michael Gehring ad073bc64c cmake: add vim fold markers 2008-06-21 10:20:00 +02:00
Michael Gehring 37ccec4800 cmake: restructure required/optional libs 2008-06-21 10:20:00 +02:00
Michael Gehring 30ea399f52 cmake: remove unnecessary variables 2008-06-21 10:20:00 +02:00
Michael Gehring a25ce00935 cmake: make building manpages an option 2008-06-21 10:20:00 +02:00
Michael Gehring 92e7c4f940 cmake: move doxygen target to CMakeLists.txt 2008-06-21 10:20:00 +02:00
Michael Gehring 0aa87e68b8 cmake: group external utilities 2008-06-21 10:20:00 +02:00
Michael Gehring 8b4f39900a cmake: add WITH_IMLIB2 WITH_DBUS to config.h.in 2008-06-20 15:40:31 +02:00
Michael Gehring 69c2e771dc cmake: it's Imlib2 not Imlib 2008-06-20 15:40:31 +02:00
Michael Gehring ddbabb3479 cmake: UsePkgConfig module is not used 2008-06-20 15:40:31 +02:00