~brian-murray/ubiquity/bug-960278

779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
1
AC_PREREQ(2.52)
5319 by Colin Watson
bump to 2.10
2
AC_INIT([ubiquity], [2.10], [https://launchpad.net/ubuntu/+source/ubiquity/+filebug])
4123.1.39 by Evan Dandrea
Add an installer session panel.
3
AC_CONFIG_SRCDIR([src/panel/panel.c])
1603 by Colin Watson
* Move auxiliary autotools files to a build subdirectory.
4
AC_CONFIG_AUX_DIR([build])
2757 by Colin Watson
AC_CONFIG_MACRO_DIR
5
AC_CONFIG_MACRO_DIR([m4])
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
6
AM_INIT_AUTOMAKE([foreign])
7
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
8
AM_CONFIG_HEADER([config.h])
9
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
10
AM_MAINTAINER_MODE
11
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
12
AM_PROG_LIBTOOL
13
1237 by Colin Watson
gettextize
14
AM_GNU_GETTEXT([external])
2491 by Colin Watson
* Use 'autoreconf -fi' so that Autotools files reliably get upgraded.
15
AM_GNU_GETTEXT_VERSION([0.17])
1237 by Colin Watson
gettextize
16
3401 by Colin Watson
Recent versions of intltool need GETTEXT_PACKAGE. It's great that that
17
GETTEXT_PACKAGE=ubiquity
18
AC_SUBST([GETTEXT_PACKAGE])
2872 by Colin Watson
Fix intltool handling; po/Makefile.in.in was still coming from gettext.
19
IT_PROG_INTLTOOL([0.40.0], [no-xml])
1236 by Colin Watson
intltoolize
20
3882 by Colin Watson
Drop real UID/GID when initialising KApplication. The real and
21
AC_PROG_CC
22
AC_HEADER_STDC
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
23
AC_PROG_INSTALL
24
AC_PROG_MAKE_SET
25
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
26
GTK3_REQUIRED=3.1.4
27
GIO_REQUIRED=2.5.11
4123.1.39 by Evan Dandrea
Add an installer session panel.
28
29
if test "x$UBIQUITY_NO_GTK" = x; then
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
30
  PKG_CHECK_MODULES(WEBCAM, [gtk+-3.0 >= $GTK3_REQUIRED
31
			  gio-2.0 >= $GIO_REQUIRED
32
			  gstreamer-0.10
4802 by Evan Dandrea
Add a method to test if a webcam is available using udev.
33
			  gstreamer-interfaces-0.10
34
			  gudev-1.0])
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
35
  AC_SUBST(WEBCAM_CFLAGS)
36
  AC_SUBST(WEBCAM_LIBS)
4123.1.52 by Evan Dandrea
Add cheese python bindings.
37
  PKG_CHECK_MODULES(PANEL, [glib-2.0
4949 by Evan Dandrea
Port the panel to GTK3.
38
			  gtk+-3.0 >= $GTK3_REQUIRED
39
			  indicator3-0.4
4123.1.39 by Evan Dandrea
Add an installer session panel.
40
			  x11])
4123.1.52 by Evan Dandrea
Add cheese python bindings.
41
  AC_SUBST(PANEL_CFLAGS)
42
  AC_SUBST(PANEL_LIBS)
4949 by Evan Dandrea
Port the panel to GTK3.
43
  PKG_CHECK_MODULES(WALLPAPER, [glib-2.0
44
			  gtk+-3.0 >= $GTK3_REQUIRED
45
			  x11])
46
  AC_SUBST(WALLPAPER_CFLAGS)
47
  AC_SUBST(WALLPAPER_LIBS)
5182 by Colin Watson
Use a mock resolver during usersetup tests to avoid failing in certain
48
  PKG_CHECK_MODULES(MOCK_RESOLVER, [glib-2.0
49
			  gio-2.0])
50
  AC_SUBST(MOCK_RESOLVER_CFLAGS)
51
  AC_SUBST(MOCK_RESOLVER_LIBS)
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
52
  GOBJECT_INTROSPECTION_CHECK([0.6.7])
4123.1.39 by Evan Dandrea
Add an installer session panel.
53
  AC_CONFIG_FILES(
54
	src/Makefile
4941 by Evan Dandrea
Use a small C program to set the desktop wallpaper (LP: #830061).
55
	src/wallpaper/Makefile
4789.1.1 by Evan Dandrea
Initial commit of webcam work.
56
	src/webcam/Makefile
4123.1.39 by Evan Dandrea
Add an installer session panel.
57
	src/panel/Makefile
5182 by Colin Watson
Use a mock resolver during usersetup tests to avoid failing in certain
58
	src/mockresolver/Makefile
4123.1.39 by Evan Dandrea
Add an installer session panel.
59
	)
60
else
4789.1.2 by Evan Dandrea
Add play function. Remove cheese bits.
61
  AC_SUBST(WEBCAM_CFLAGS, [""])
62
  AC_SUBST(WEBCAM_LIBS, [""])
4949 by Evan Dandrea
Port the panel to GTK3.
63
  AC_SUBST(PANEL_CFLAGS, [""])
64
  AC_SUBST(PANEL_LIBS, [""])
65
  AC_SUBST(WALLPAPER_CFLAGS, [""])
66
  AC_SUBST(WALLPAPER_LIBS, [""])
4123.1.39 by Evan Dandrea
Add an installer session panel.
67
fi
68
779.1.5 by Colin Watson
fix pixmaps directory
69
AC_DEFINE_UNQUOTED(PIXMAPS_DIR, "${datadir}/${PACKAGE}/pixmaps", [pixmaps directory])
70
pixmapsdir="${datadir}/${PACKAGE}/pixmaps"
3294 by Colin Watson
better m4 quoting
71
AC_SUBST([pixmapsdir])
779.1.1 by Colin Watson
* Add e-map widget, cut-and-pasted from evolution via gnome-system-tools
72
3294 by Colin Watson
better m4 quoting
73
AC_CONFIG_FILES([
1739 by Colin Watson
* Configure and build the desktop, pixmaps, and po subdirectories even if
74
	Makefile
75
	desktop/Makefile
76
	pixmaps/Makefile
77
	po/Makefile.in
3294 by Colin Watson
better m4 quoting
78
	])
1739 by Colin Watson
* Configure and build the desktop, pixmaps, and po subdirectories even if
79
AC_OUTPUT
4123.1.52 by Evan Dandrea
Add cheese python bindings.
80