1
by Neil Jagdish Patel
[build] Initial commit |
1 |
m4_define([unity_major], [0]) |
55.2.204
by Neil Jagdish Patel
[release] 0.2.1 |
2 |
m4_define([unity_minor], [2]) |
55.2.246
by Neil Jagdish Patel
Bump version for next development cycle |
3 |
m4_define([unity_micro], [5]) |
1
by Neil Jagdish Patel
[build] Initial commit |
4 |
|
5 |
m4_define([unity_api], |
|
6 |
[unity_major.unity_minor]) |
|
7 |
m4_define([unity_version], |
|
8 |
[unity_major.unity_minor.unity_micro]) |
|
9 |
||
10 |
m4_define([unity_interface_age], [0]) |
|
11 |
m4_define([unity_binary_age], |
|
12 |
[m4_eval(100 * unity_minor + unity_micro)]) |
|
13 |
||
55.48.1
by Neil Jagdish Patel
Initial translation support |
14 |
AC_INIT([unity],[unity_version],[https://launchpad.net/unity]) |
1
by Neil Jagdish Patel
[build] Initial commit |
15 |
AC_COPYRIGHT([Copyright 2009 Canonical]) |
16 |
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
|
17 |
||
55.2.73
by Jason Smith
Re-enable building on karmic |
18 |
AC_PREREQ(2.59) |
1
by Neil Jagdish Patel
[build] Initial commit |
19 |
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
20 |
AC_CONFIG_HEADERS([config.h]) |
1
by Neil Jagdish Patel
[build] Initial commit |
21 |
AM_INIT_AUTOMAKE(unity, unity_version) |
22 |
||
23 |
dnl Get version number into Autoconf |
|
24 |
DL_MAJOR_VERSION=unity_major |
|
25 |
DL_MINOR_VERSION=unity_minor |
|
26 |
DL_MICRO_VERSION=unity_micro |
|
27 |
DL_VERSION=unity_version |
|
28 |
AC_SUBST(DL_MAJOR_VERSION) |
|
29 |
AC_SUBST(DL_MINOR_VERSION) |
|
30 |
AC_SUBST(DL_MICRO_VERSION) |
|
31 |
AC_SUBST(DL_VERSION) |
|
32 |
||
33 |
dnl Init the other things we depend on |
|
34 |
AM_MAINTAINER_MODE
|
|
32.2.5
by Gordon Allott
bumps up valac version to 0.7.8 |
35 |
AM_PROG_VALAC([0.7.8]) |
29.2.1
by Robert Collins
Require a vala compiler rather than just looking for one. |
36 |
AS_IF([test -z "$VALAC"], [AC_MSG_ERROR(["No valac compiler found."])]) |
1
by Neil Jagdish Patel
[build] Initial commit |
37 |
AC_PROG_CC
|
38 |
AM_PROG_CC_C_O
|
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
39 |
AC_HEADER_STDC
|
1
by Neil Jagdish Patel
[build] Initial commit |
40 |
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
41 |
LT_INIT
|
1
by Neil Jagdish Patel
[build] Initial commit |
42 |
AC_CONFIG_MACRO_DIR([m4]) |
43 |
||
55.48.1
by Neil Jagdish Patel
Initial translation support |
44 |
dnl Gettext |
45 |
GETTEXT_PACKAGE="$PACKAGE" |
|
46 |
AC_SUBST(GETTEXT_PACKAGE) |
|
47 |
AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS']) |
|
48 |
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [gettext domain]) |
|
49 |
AM_GNU_GETTEXT([external]) |
|
50 |
AM_GNU_GETTEXT_VERSION([0.17]) |
|
51 |
IT_PROG_INTLTOOL([0.35.0]) |
|
52 |
||
55.149.10
by Neil Jagdish Patel
Add check for perceptualdiff |
53 |
dnl Check for perceptualdiff |
54 |
AC_CHECK_PROG(HAVE_IMAGEDIFF, perceptualdiff, true, false) |
|
55 |
if test "x${HAVE_IMAGEDIFF}" = "xfalse"; then |
|
56 |
AC_MSG_ERROR([*** `perceptualdiff` not found, required for UI tests]) |
|
57 |
fi
|
|
58 |
||
55.48.1
by Neil Jagdish Patel
Initial translation support |
59 |
dnl Setup a few consts |
60 |
if test "x${prefix}" = "xNONE"; then |
|
61 |
PREFIX="${ac_default_prefix}" |
|
62 |
else
|
|
63 |
PREFIX="${prefix}" |
|
64 |
fi
|
|
65 |
||
55.72.1
by Neil Jagdish Patel
* Fix gconf path to be /apps/unity/foo |
66 |
dnl GConf schema installation |
67 |
AC_PATH_PROG(GCONFTOOL, gconftool-2) |
|
68 |
AM_GCONF_SOURCE_2
|
|
69 |
||
55.48.1
by Neil Jagdish Patel
Initial translation support |
70 |
AC_DEFINE_UNQUOTED(LOCALE_DIR, "${PREFIX}/${DATADIRNAME}/locale",[Locale directory]) |
55.54.1
by Neil Jagdish Patel
[theme] Added a ThemeImage, that can load an image from the unity icon theme or the assets in /usr/share/unity/themes/ |
71 |
AC_DEFINE_UNQUOTED(DATADIR, "${PREFIX}/${DATADIRNAME}",[Data directory]) |
72 |
AC_DEFINE_UNQUOTED(PREFIXDIR, "${PREFIX}",[Prefix directory]) |
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
73 |
|
1
by Neil Jagdish Patel
[build] Initial commit |
74 |
dnl Use strict compiler flags only on development releases |
75 |
m4_define([maintainer_flags_default], |
|
55.2.209
by Neil Jagdish Patel
[release] 0.2.2 |
76 |
[m4_if(m4_eval(unity_micro % 2), [1], [yes], [no])]) |
1
by Neil Jagdish Patel
[build] Initial commit |
77 |
AC_ARG_ENABLE([maintainer-flags], |
55.48.1
by Neil Jagdish Patel
Initial translation support |
78 |
[AS_HELP_STRING([--enable-maintainer-flags=@<:@no/yes@:>:],[Use string compiler flags @<:@default=no@:>@])], |
1
by Neil Jagdish Patel
[build] Initial commit |
79 |
[], |
80 |
[enable_maintainer_flags=maintainer_flags_default]) |
|
81 |
MAINTAINER_CFLAGS="" |
|
82 |
MAINTAINER_VALAFLAGS="" |
|
83 |
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"], |
|
84 |
[ |
|
55.166.1
by Gord Allott
updates icon rendering to the latest launcher spec |
85 |
MAINTAINER_CFLAGS="-g -Werror -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self"
|
1
by Neil Jagdish Patel
[build] Initial commit |
86 |
MAINTAINER_VALAFLAGS="-g --save-temps"
|
87 |
] |
|
88 |
)
|
|
89 |
AC_SUBST(MAINTAINER_CFLAGS) |
|
90 |
AC_SUBST(MAINTAINER_VALAFLAGS) |
|
91 |
||
92 |
dnl Check for module and library dependancies |
|
93 |
GLIB_REQUIRED=2.22 |
|
94 |
GTK_REQUIRED=2.18 |
|
95 |
PKG_CHECK_MODULES(BASE, |
|
96 |
glib-2.0 >= $GLIB_REQUIRED |
|
97 |
gobject-2.0 >= $GLIB_REQUIRED |
|
98 |
gtk+-2.0 >= $GTK_REQUIRED |
|
3.2.8
by Neil Jagdish Patel
[unity/window] Add window panel struts |
99 |
gdk-x11-2.0 >= $GTK_REQUIRED |
31.1.3
by Gordon Allott
support for prism entries |
100 |
gio-2.0 >= $GTK_REQUIRED |
1.1.1
by Gordon Allott
added support for a unity window with a clutter stage |
101 |
gee-1.0 |
6.1.1
by Neil Jagdish Patel
[background] Initial implementation of a background actor to display the users background |
102 |
gconf-2.0 |
55.162.1
by Neil Jagdish Patel
- Add support for Dee |
103 |
dee-1.0 >= 0.2.0 |
1.1.1
by Gordon Allott
added support for a unity window with a clutter stage |
104 |
clutter-1.0 >= 1.0 |
55.118.6
by Gordon Allott
updated configure.ac to not depend on latest clutter-gtk |
105 |
clutter-gtk-0.10 >= 0.10 |
55.2.195
by Neil Jagdish Patel
[release] 0.1.24 |
106 |
clutk-0.3 >= 0.3.26 |
55.15.15
by Neil Jagdish Patel
[vapi] Add initial Indicator vala files |
107 |
indicator |
55.2.216
by Gordon Allott
moved makefiles over to bamf |
108 |
libbamf >= 0.2 |
1.2.7
by Gordon Allott
window matching working |
109 |
libwnck-1.0 >= 2.28.0 |
9.1.2
by Neil Jagdish Patel
added: |
110 |
unique-1.0 |
55.15.5
by Neil Jagdish Patel
[panel] Use libunity-misc |
111 |
unity-misc |
55.153.3
by Mikkel Kamstrup Erlandsen
Initial infrastructure for compiling some out of process place daemons exposing a DbusModel interface |
112 |
x11) |
113 |
||
114 |
AC_SUBST(BASE_CFLAGS) |
|
115 |
AC_SUBST(BASE_LIBS) |
|
116 |
||
44.1.8
by Gordon Allott
updated configure file, added new logging function for even smaller statements (only for functions that get called once) |
117 |
dnl testing for logging boot metrics and instrumenting |
118 |
with_testing="no" |
|
119 |
AC_ARG_ENABLE(testing, |
|
120 |
AS_HELP_STRING([--enable-testing], |
|
121 |
[Enables instrumenting and boot metric logging]), |
|
122 |
with_testing=$enableval, |
|
123 |
with_testing=no) |
|
124 |
AM_CONDITIONAL([HAVE_TESTING], [test "x$with_testing" = "xyes"]) |
|
55.2.14
by Neil Jagdish Patel
[release] 0.1.8 |
125 |
|
43.1.6
by Neil Jagdish Patel
[build] Enable localinstall for testing during make distcheck....and now it works!!! |
126 |
dnl local install for distcheck and stand-alone running |
127 |
with_localinstall="no" |
|
128 |
AC_ARG_ENABLE(localinstall, |
|
129 |
AS_HELP_STRING([--enable-localinstall], |
|
130 |
[Install all of the files locally instead of in system directories (for distcheck)]), |
|
131 |
with_localinstall=$enableval, |
|
132 |
with_localinstall=no) |
|
133 |
||
43.1.7
by Neil Jagdish Patel
[build] Actuall fix make distcheck |
134 |
AM_CONDITIONAL([HAVE_LOCALINSTALL], [test "x$with_localinstall" = "xyes"]) |
43.1.6
by Neil Jagdish Patel
[build] Enable localinstall for testing during make distcheck....and now it works!!! |
135 |
|
44.2.1
by Neil Jagdish Patel
[mutter] Import code from old mutter branch |
136 |
dnl Mutter support |
137 |
AC_ARG_ENABLE([mutter], |
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
138 |
[AS_HELP_STRING([--enable-mutter=@<:@no/yes@:>@],[Enable compiling mutter plugin.])], |
44.2.1
by Neil Jagdish Patel
[mutter] Import code from old mutter branch |
139 |
[enable_mutter=$enableval], |
140 |
[enable_mutter=yes]) |
|
141 |
AS_IF([test "x$enable_mutter" = "xyes"], |
|
142 |
[ |
|
143 |
AC_DEFINE([ENABLE_MUTTER], 1, [Enable Mutter plugin]) |
|
144 |
PKG_CHECK_MODULES(MUTTER, mutter-plugins) |
|
145 |
AC_SUBST(MUTTER_CFLAGS) |
|
146 |
AC_SUBST(MUTTER_LIBS) |
|
147 |
MUTTER_PLUGIN_DIR=`$PKG_CONFIG --variable=plugindir mutter-plugins` |
|
148 |
AC_SUBST(MUTTER_PLUGIN_DIR) |
|
149 |
] |
|
150 |
)
|
|
151 |
AM_CONDITIONAL(ENABLE_MUTTER, [test "x$enable_mutter" = "xyes"]) |
|
152 |
||
55.15.16
by Neil Jagdish Patel
[panel/indicators/ Beginings of indicator support |
153 |
dnl Indicator support |
154 |
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator` |
|
155 |
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator` |
|
156 |
||
157 |
AC_SUBST(INDICATORDIR) |
|
158 |
AC_SUBST(INDICATORICONSDIR) |
|
159 |
||
1
by Neil Jagdish Patel
[build] Initial commit |
160 |
dnl Create the Makefiles |
55.48.1
by Neil Jagdish Patel
Initial translation support |
161 |
AC_CONFIG_FILES([ |
1
by Neil Jagdish Patel
[build] Initial commit |
162 |
Makefile
|
3.3.3
by Gordon Allott
makefile fixes to add data directory |
163 |
data/Makefile
|
55.148.3
by Neil Jagdish Patel
- Intermediate commit, everything compiles and installs |
164 |
targets/Makefile
|
165 |
targets/mutter/Makefile
|
|
166 |
targets/unity/Makefile
|
|
1
by Neil Jagdish Patel
[build] Initial commit |
167 |
tests/Makefile
|
55.148.11
by Neil Jagdish Patel
- Add ui tests directory |
168 |
tests/ui/Makefile
|
55.149.4
by Neil Jagdish Patel
* Pulled in support for image comparisons |
169 |
tests/ui/data/Makefile
|
55.148.10
by Neil Jagdish Patel
- Add unit tests directory |
170 |
tests/unit/Makefile
|
55.149.5
by Neil Jagdish Patel
Clean up tests, remove the older, non-useful, ones |
171 |
tests/unit/data/Makefile
|
44.1.4
by Gordon Allott
added makefiles for tools/ and vapi/ |
172 |
tools/Makefile
|
55.153.3
by Mikkel Kamstrup Erlandsen
Initial infrastructure for compiling some out of process place daemons exposing a DbusModel interface |
173 |
unity/Makefile
|
174 |
unity-private/Makefile
|
|
44.1.4
by Gordon Allott
added makefiles for tools/ and vapi/ |
175 |
vapi/Makefile
|
55.48.1
by Neil Jagdish Patel
Initial translation support |
176 |
po/Makefile.in
|
1
by Neil Jagdish Patel
[build] Initial commit |
177 |
]) |
55.48.1
by Neil Jagdish Patel
Initial translation support |
178 |
AC_OUTPUT
|
1
by Neil Jagdish Patel
[build] Initial commit |
179 |
|
180 |
dnl Output the results |
|
181 |
AC_MSG_NOTICE([ |
|
182 |
||
183 |
Unity $VERSION
|
|
184 |
----------------------
|
|
185 |
||
186 |
Prefix : ${prefix}
|
|
44.2.3
by Neil Jagdish Patel
[merge] trunk, fix make dist-check |
187 |
|
44.2.1
by Neil Jagdish Patel
[mutter] Import code from old mutter branch |
188 |
Localinstall : ${with_localinstall}
|
189 |
||
190 |
Mutter plugin : ${enable_mutter}
|
|
191 |
||
44.1.8
by Gordon Allott
updated configure file, added new logging function for even smaller statements (only for functions that get called once) |
192 |
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
|
193 |
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
|
|
1
by Neil Jagdish Patel
[build] Initial commit |
194 |
]) |