Commit Graph

13 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann eadebdd35d Add version generation script, version stamp file
Use a single script to generate the version number from git. This script

  * strips the v from the start of the "git describe" output
  * changes all "-" occurences to "."
  * does NOT create a properly sortable version number from "2.1-rc2"
    type "git describe" output
  * does NOT generate a "proper" "1.2.3" type version number under any
    circumstances
  * will generate "2.1" in case the "git describe" output is "2.1"

These policy might need closer adaption to awesome's tagging habit
some time.

In dist tarballs, ship a "version-stamp" file with the package version
in it. If the "version-stamp" file is present (i.e. if it is a source
tree from a dist tarball), no git checks will be performed.

Concept from autoconf, but code written from scratch to match
awesome's requirements.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-15 08:21:43 +01:00
Julien Danjou c0daa1d91e allow version without v (for real release) 2008-01-12 13:50:44 +01:00
Julien Danjou 81f1b96cb2 do not install LICENSE file 2008-01-10 15:13:49 +01:00
Hans Ulrich Niedermann 5aa2d4fd1a On tarball creation, check package/git version
Check that the package version matches the git version
(the output of "git describe") before creating dist tarballs.
2008-01-09 17:48:05 +01:00
Julien Danjou 838cfad304 remove ggdb3 flag 2008-01-09 09:38:00 +01:00
Hans Ulrich Niedermann 607df96600 Substitute icon path in awesomerc (1/2)
Use the path where the icons will actually be installed instead
of some static default value.
2008-01-09 09:08:46 +01:00
marco candrian 37da7d0d01 graph widget added
example config:

graph gr_cpu {
  width = 80
  height = "0.8"
  fg = "#336633"
  bg = "#000000"
  bordercolor = "#669966"
  padding_left = 0
  mouse = {...}
  x = ...
  y = ...
}

Looks like here: http://www.calmar.ws/tmp/112-Sun-screen.png

I renamed lpadding to padding_left, and bcolor to bordercolor
also on the progressbar widget.

The awesomerc page would still be to write, when this patch will get accepted.

Hints are always welcomed.
2008-01-06 20:51:40 +01:00
Hans Ulrich Niedermann 9f1f37af20 Ship icons in dist tarball 2008-01-05 20:21:10 +01:00
Julien Danjou fd456907c2 install layouts icons 2008-01-05 17:32:51 +01:00
Hans Ulrich Niedermann 2476faf85d Include sub-Makefiles directly, then remove them 2008-01-04 22:14:53 +01:00
Hans Ulrich Niedermann 7cad659806 Document AWESOME_CFLAGS, and use only with gcc
awesome's default compiler flags work only with gcc, so we only use
them if gcc is detected.

Additionally, you can now avoid using these default flags by adding
AWESOME_CFLAGS="" to your make command lines.
2008-01-04 22:06:52 +01:00
Julien Danjou e77729ed50 add AWESOME_CFLAGS with various warning 2008-01-04 21:07:39 +01:00
Hans Ulrich Niedermann ec09073087 switch to autotools as build system 2008-01-04 20:49:49 +01:00