Commit Graph

42 Commits

Author SHA1 Message Date
Julien Danjou c207bd0145 build: compile and install lua libraries
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-13 13:26:41 +02:00
Michael Gehring 19534c0bfc [build] Install awesomerc.lua to $sysconfdir/awesome
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 15:31:11 +02:00
Julien Danjou c5237444a9 [build] Fix lua detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 18:38:05 +02:00
Julien Danjou 01fe4e3331 [statusbar] Remove multi-threading code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 16:04:46 +02:00
Michael Gehring 2cb52ca2d1 make D-BUS optional
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 08:33:21 +02:00
Michael Gehring b0710a0c03 [build] Fix "Link with ncurses during test"
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 18:01:27 +02:00
Michael Gehring 310ae5d44e [build] Link with ncurses during test
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 17:43:30 +02:00
Julien Danjou 2cc242e602 [build] Link against ncurses for readline
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 16:48:55 +02:00
Julien Danjou 8d0f2bcb07 [build] Use good path to Lua interpreter
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 10:57:58 +02:00
Julien Danjou 7a5326e0ff [awesome] Initialize glib thread system
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 18:04:44 +02:00
Julien Danjou 54e27e300a [build] Check for pthread
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-21 16:11:59 +02:00
Julien Danjou 680944d583 [build] Use autoheader & config.h
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 19:55:37 +02:00
Julien Danjou 4bbb13b07a [build] Fix compilation issue with Lua pkg insalled as lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 19:02:40 +02:00
Julien Danjou 7adc9efef3 [lua] Fix Lua lib path
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:10:02 +02:00
Julien Danjou 1f046b3c9f [everything] Switch from libconfuse to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00
Arnaud Fontaine d4c8edcac0 [configure.ac] Check whether cairo-xcb is installed 2008-05-12 22:03:28 +01:00
Julien Danjou e71ca0703c [build] Add glib dep
Pango already links against glib, so do not set useless vars in Makefile

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:06 +02:00
Julien Danjou b348af16e2 [dbus] first support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:04 +02:00
Julien Danjou 32fc1a0a78 [draw] Build with GTK by default instead of Imlib2
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:02 +02:00
Arnaud Fontaine 5575d719bd [configure.ac] Add AC_PATH_X as we still need Xlib for keyboard related functions 2008-05-03 12:01:01 +02:00
Arnaud Fontaine dafafd077c Port Awesome to XCB 2008-05-03 12:00:59 +02:00
Nikos Ntarmos ef60378754 [common] remove and getline and strndup usage
There is no getline() on FreeBSD, nor any strndup().

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 23:08:18 +02:00
Julien Danjou 5f3e37e099 [build] Use real image library name
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-07 07:50:08 +02:00
Alex Cornejo cee3e9b60d [draw] Add option to link against GTK instead of Imlib2
I added an option to the configure script to link against gdk instead
of imlib2. Most people already have gdk installed so that way they can
use awesome without installing imlib2, and gdk's pixbuf was explicitly
designed to replace imlib2.

Also, a nice side effect is that GDK works directly with cairo
surfaces, so the process of loading images should be faster, although
since awesome does very little image loading it probably wont have a
noticable impact on performance, but it certainly won't hurt.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:16:58 +02:00
Julien Danjou ced72a959f [build] Add python detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:40:52 +01:00
Julien Danjou dfb479b0f5 Switch pack name to lowercase
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 15:12:31 +01:00
Julien Danjou de5d82b8c2 Use Imlib2 to load images
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou a3f9eb7af9 Revert "Add preliminary support for XPM format"
This reverts commit 5f8b538a5e4eeea159b26c3d0b943cac745ffdce.
2008-03-23 15:52:22 +01:00
Julien Danjou df2555d9fe Add preliminary support for XPM format
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Arnaud Fontaine 542a944361 Use Pango for fonts instead of Xft (which hasn't been ported yet to
XCB) to measure text.
2008-03-23 15:52:21 +01:00
Julien Danjou f4beb460d8 Add support for package codename into codename-stamp (like version) 2008-03-13 10:57:10 +01:00
Hans Ulrich Niedermann 593f92c24d Check whether 'xmlto man' actually works
If xmlto is present, create a very simple example man page by
running 'xmlto man'. Only generate man pages at "make all" time
if this works.

The check is a little lenthy, so we might want to put it into
a separate .m4 file some time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:35 +01:00
Hans Ulrich Niedermann f42f138f78 More verbose warnings if doc tools not present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:10 +01:00
Hans Ulrich Niedermann 3d9c2e72fb Compile executable with correct version number
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann ad28e78d13 Use pre-defined values for build infos (ifdef)
Use information autoconf determines anyway (machine type
building for, name of machine building on).

Only print build information if it is actually available (defined).

Add descriptions to all AC_DEFINE* macro definitions.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou d6e5e810ab add support for machine type too 2008-01-24 22:10:10 +01:00
Julien Danjou 00bf08178c add some useless infos in version :-) 2008-01-24 21:57:55 +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 f9527bea3c Reformat automake options in configure.ac
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
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
Hans Ulrich Niedermann ec09073087 switch to autotools as build system 2008-01-04 20:49:49 +01:00