Commit Graph

79 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou 2ac27fdac4 move draw files to common/ 2008-01-24 18:48:11 +01:00
Hans Ulrich Niedermann bb9b688ead Generate misc headers in the builddir, not srcdir
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-22 10:35:10 +01:00
Julien Danjou 197fabfa95 move awesome-client-common to common/ 2008-01-21 18:17:08 +01:00
Julien Danjou 668702b777 move list.h and util.[ch] to common/ 2008-01-21 18:14:59 +01:00
Julien Danjou 0940f2f81a rename tileup/down to top/bottom 2008-01-21 16:31:15 +01:00
Julien Danjou bbe0254393 move gen scripts in build-utils 2008-01-21 16:31:14 +01:00
Julien Danjou 8416705a20 autogenerate layout list 2008-01-21 16:31:14 +01:00
Julien Danjou 5def70a8f0 autogenerate widget list 2008-01-21 16:31:14 +01:00
Julien Danjou 135c418275 auto generate uicb list 2008-01-21 16:31:14 +01:00
Fabienne Ducroquet 1dbe305177 mirror layout
I missed this feature for some time too, then I've just added two
layouts with master and stack area separated horizontaly: tiledown and
tileup (with the stack area down and up respectively) by adding a third
argument telling whether one wants to separate horizontally or verticaly
to the _tile function in layouts/tile.c. Patch against latest git
version, you will need to have icons
icons/layouts/{tiledown.png,tiledownw.png,tileup.png,tileupw.png} to
compile it without modifications.

Fabienne

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 16:31:14 +01:00
Julien Danjou 0b5e3e7cd1 split config.h, and move DO_SLIST() 2008-01-21 16:31:14 +01:00
Julien Danjou 771199a2e5 add list header 2008-01-21 16:31:13 +01:00
Hans Ulrich Niedermann a3e8081c62 Add check for --help and --version support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 70ce4b8856 Mute version check (unless it fails)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann 7ffd48ccd6 Use consistent wording in version check
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
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