Commit Graph

172 Commits

Author SHA1 Message Date
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
Félix C. Morency 77f5fbcc60 Fixed loose loop construct support and cmake min version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 15:38:37 +02:00
Julien Danjou 6f89051f8d build: add -Wmissing-format-attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 14:49:37 +02:00
Michael Gehring 1f889a0108 cmake: provide PREFIX as shorthand for CMAKE_INSTALL_PREFIX 2008-06-20 12:42:46 +02:00
Michael Gehring 925c9452d0 cmake: macroify CONFIGURE_FILE 2008-06-20 12:40:01 +02:00
Michael Gehring 1a94a4b36e cmake: make d-bus and imlib optional again 2008-06-20 12:19:21 +02:00
Félix C. Morency cc79b387fc * Fixed install path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 07:04:34 +02:00
Julien Danjou 0a6927a862 cmake: reset cflags
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 23:18:10 +02:00
Julien Danjou 34cd0f5631 cmake: add cpack source stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:56:00 +02:00
Julien Danjou edc5d7d528 cmake: clean stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:49:26 +02:00
Félix C. Morency 11cdef7839 * Fixed merge problem
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:28:47 +02:00
Félix C. Morency 45ba24676b * Fixed CPack package generation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:28:47 +02:00
Félix C. Morency e0107429d3 * Fixed man page generation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:28:47 +02:00
Michael Gehring 2244f34099 cmake: gtk -> gdk/gdk-pixbuf 2008-06-19 22:28:47 +02:00
Michael Gehring a5f909a3df cmake: variables that are used in .in files need absolute path 2008-06-19 22:28:47 +02:00
Félix C. Morency bec519e726 * Fixed CPack package generation 2008-06-19 22:28:47 +02:00
Félix C. Morency a66c82b25e * Fixed man page generation 2008-06-19 22:28:47 +02:00
Michael Gehring d605fd23ec cmake: add vim modeline 2008-06-19 22:28:47 +02:00
Michael Gehring 34a5a75860 cmake: fix icon install path 2008-06-19 22:28:47 +02:00
Michael Gehring 08ad77d94c cmake: use $HOSTNAME and $USER for COMPILE_{BY,HOSTNAME} 2008-06-19 22:28:47 +02:00
Michael Gehring c5012826d5 cmake: generate apigendoc.txt 2008-06-19 22:28:47 +02:00
Michael Gehring f7d78e1689 cmake: add libev check 2008-06-19 22:28:47 +02:00
Michael Gehring 5b52c148a6 cmake: add basic git version stamp 2008-06-19 22:28:47 +02:00
Félix C. Morency cf90813f87 * Fixed man install relative to prefix 2008-06-19 22:28:47 +02:00
Félix C. Morency b14a18c781 * Gzip and install man pages 2008-06-19 22:28:47 +02:00
Michael Gehring 7d1bb047dd cmake: configure awesome.doxygen 2008-06-19 22:28:47 +02:00
Felix C. Morency 26a91507a0 * Added CMake-based build system necessary files 2008-06-19 22:28:47 +02:00