summaryrefslogtreecommitdiff
path: root/configure.ac
blob: b3f8951027df0974a426c830b2f0c9bc441a0c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
AC_PREREQ(2.53)

AC_INIT([mate-themes], [3.22.17], [http://www.mate-desktop.org])
AC_CONFIG_SRCDIR([icon-themes])

AM_INIT_AUTOMAKE([1.9 tar-ustar dist-xz no-dist-gzip check-news])

# Enable silent build rules by default, requires at least
# Automake-1.11. Disable by either passing --disable-silent-rules to
# configure or passing V=1 to make
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

IT_PROG_INTLTOOL([0.35.0])
PKG_PROG_PKG_CONFIG([0.19])

AM_GLIB_GNU_GETTEXT
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package.])

# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")

# Check GTK+ theme engines
PKG_CHECK_MODULES(THEME_ENGINE,
 [gtk+-2.0 >= 2.0.0 dnl
  gdk-pixbuf-2.0 >= 2.0.0 ])

GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
AC_SUBST(GTK_VERSION)

dnl used to substitute in common sections of theme gtkrc files
gtk_stock_icons_rc=${srcdir}/common/gtk-stock-icons.rc
panel_stock_icons_rc=${srcdir}/common/panel-stock-icons.rc
media_stock_icons_rc=${srcdir}/common/media-stock-icons.rc
capplet_stock_icons_rc=${srcdir}/common/capplet-stock-icons.rc
marco_stock_icons_rc=${srcdir}/common/marco-stock-icons.rc
AC_SUBST_FILE(gtk_stock_icons_rc)
AC_SUBST_FILE(panel_stock_icons_rc)
AC_SUBST_FILE(media_stock_icons_rc)
AC_SUBST_FILE(capplet_stock_icons_rc)
AC_SUBST_FILE(marco_stock_icons_rc)

AC_CONFIG_FILES([
Makefile
common/Makefile
cursor-themes/Makefile
cursor-themes/mate-white/Makefile
cursor-themes/mate-white/cursors/Makefile
cursor-themes/mate-black/Makefile
cursor-themes/mate-black/cursors/Makefile
desktop-themes/Makefile
desktop-themes/BlackMATE/Makefile
desktop-themes/BlackMATE/apps/Makefile
desktop-themes/BlackMATE/gtk-2.0/Makefile
desktop-themes/BlackMATE/gtk-2.0/assets/Makefile
desktop-themes/BlackMATE/gtk-2.0/Styles/Makefile
desktop-themes/BlackMATE/gtk-3.0/Makefile
desktop-themes/BlackMATE/gtk-3.0/assets/Makefile
desktop-themes/BlackMATE/gtk-3.0/window-controls/Makefile
desktop-themes/BlackMATE/metacity-1/Makefile
desktop-themes/BlackMATE/cinnamon/Makefile
desktop-themes/BlackMATE/unity/Makefile
desktop-themes/BlueMenta/Makefile
desktop-themes/BlueMenta/cinnamon/Makefile
desktop-themes/BlueMenta/emerald/Makefile
desktop-themes/BlueMenta/gtk-2.0/Makefile
desktop-themes/BlueMenta/gtk-2.0/apps/Makefile
desktop-themes/BlueMenta/gtk-2.0/apps/Caja/Makefile
desktop-themes/BlueMenta/gtk-2.0/apps/Handles/Makefile
desktop-themes/BlueMenta/gtk-2.0/apps/Null/Makefile
desktop-themes/BlueMenta/gtk-2.0/apps/Others/Makefile
desktop-themes/BlueMenta/gtk-2.0/widgets/Makefile
desktop-themes/BlueMenta/gtk-2.0/widgets/Null/Makefile
desktop-themes/BlueMenta/gtk-2.0/widgets/Others/Makefile
desktop-themes/BlueMenta/gtk-2.0/widgets/Panel/Makefile
desktop-themes/BlueMenta/gtk-2.0/widgets/Scale/Makefile
desktop-themes/BlueMenta/gtk-3.0/Makefile
desktop-themes/BlueMenta/gtk-3.0/assets/Makefile
desktop-themes/BlueMenta/gtk-3.0/borders/Makefile
desktop-themes/BlueMenta/gtk-3.0/window-controls/Makefile
desktop-themes/BlueMenta/metacity-1/Makefile
desktop-themes/BlueMenta/unity/Makefile
desktop-themes/BlueMenta/xfwm4/Makefile
desktop-themes/Blue-Submarine/Makefile
desktop-themes/Blue-Submarine/cinnamon/Makefile
desktop-themes/Blue-Submarine/emerald/Makefile
desktop-themes/Blue-Submarine/gtk-2.0/Makefile
desktop-themes/Blue-Submarine/gtk-2.0/apps/Makefile
desktop-themes/Blue-Submarine/gtk-2.0/apps/Handles/Makefile
desktop-themes/Blue-Submarine/gtk-2.0/apps/Panel/Makefile
desktop-themes/Blue-Submarine/gtk-2.0/assets/Makefile
desktop-themes/Blue-Submarine/gtk-3.0/Makefile
desktop-themes/Blue-Submarine/gtk-3.0/assets/Makefile
desktop-themes/Blue-Submarine/metacity-1/Makefile
desktop-themes/ContrastHigh/Makefile
desktop-themes/ContrastHighInverse/Makefile
desktop-themes/ContrastHighInverse/gtk-2.0/Makefile
desktop-themes/ContrastHighInverse/gtk-2.0/gtkrc
desktop-themes/ContrastHighInverse/gtk-3.0/Makefile
desktop-themes/ContrastHighInverse/gtk-3.0/assets/Makefile
desktop-themes/ContrastHighInverse/metacity-1/Makefile
desktop-themes/ContrastHighInverse/pixmaps/Makefile
desktop-themes/GreenLaguna/Makefile
desktop-themes/GreenLaguna/gtk-2.0/Makefile
desktop-themes/GreenLaguna/gtk-2.0/Styles/Makefile
desktop-themes/GreenLaguna/gtk-3.0/Makefile
desktop-themes/GreenLaguna/gtk-3.0/assets/Makefile
desktop-themes/GreenLaguna/gtk-3.0/window-controls/Makefile
desktop-themes/GreenLaguna/metacity-1/Makefile
desktop-themes/GreenLaguna/unity/Makefile
desktop-themes/Green-Submarine/Makefile
desktop-themes/Green-Submarine/cinnamon/Makefile
desktop-themes/Green-Submarine/emerald/Makefile
desktop-themes/Green-Submarine/gtk-2.0/Makefile
desktop-themes/Green-Submarine/gtk-2.0/apps/Makefile
desktop-themes/Green-Submarine/gtk-2.0/apps/Handles/Makefile
desktop-themes/Green-Submarine/gtk-2.0/apps/Panel/Makefile
desktop-themes/Green-Submarine/gtk-2.0/assets/Makefile
desktop-themes/Green-Submarine/gtk-3.0/Makefile
desktop-themes/Green-Submarine/gtk-3.0/assets/Makefile
desktop-themes/Green-Submarine/metacity-1/Makefile
desktop-themes/Menta/Makefile
desktop-themes/Menta/cinnamon/Makefile
desktop-themes/Menta/emerald/Makefile
desktop-themes/Menta/gtk-2.0/Makefile
desktop-themes/Menta/gtk-2.0/apps/Makefile
desktop-themes/Menta/gtk-2.0/apps/Caja/Makefile
desktop-themes/Menta/gtk-2.0/apps/Handles/Makefile
desktop-themes/Menta/gtk-2.0/apps/Null/Makefile
desktop-themes/Menta/gtk-2.0/apps/Others/Makefile
desktop-themes/Menta/gtk-2.0/widgets/Makefile
desktop-themes/Menta/gtk-2.0/widgets/Null/Makefile
desktop-themes/Menta/gtk-2.0/widgets/Others/Makefile
desktop-themes/Menta/gtk-2.0/widgets/Panel/Makefile
desktop-themes/Menta/gtk-2.0/widgets/Scale/Makefile
desktop-themes/Menta/gtk-3.0/Makefile
desktop-themes/Menta/gtk-3.0/assets/Makefile
desktop-themes/Menta/gtk-3.0/borders/Makefile
desktop-themes/Menta/gtk-3.0/window-controls/Makefile
desktop-themes/Menta/metacity-1/Makefile
desktop-themes/Menta/unity/Makefile
desktop-themes/Menta/xfwm4/Makefile
desktop-themes/TraditionalGreen/Makefile
desktop-themes/TraditionalGreen/gtk-2.0/Makefile
desktop-themes/TraditionalGreen/gtk-3.0/Makefile
desktop-themes/TraditionalGreen/gtk-3.0/img/Makefile
desktop-themes/TraditionalGreen/metacity-1/Makefile
desktop-themes/TraditionalOk/Makefile
desktop-themes/TraditionalOk/gtk-2.0/Makefile
desktop-themes/TraditionalOk/gtk-3.0/Makefile
desktop-themes/TraditionalOk/gtk-3.0/img/Makefile
desktop-themes/TraditionalOk/metacity-1/Makefile
desktop-themes/TraditionalOk/openbox-3/Makefile
desktop-themes/TraditionalOk/xfwm4/Makefile
desktop-themes/TraditionalOk/xfwm4/png/Makefile
marco-themes/Makefile
icon-themes/Makefile
icon-themes/ContrastHigh/Makefile
icon-themes/ContrastHigh/16x16/Makefile
icon-themes/ContrastHigh/16x16/actions/Makefile
icon-themes/ContrastHigh/16x16/apps/Makefile
icon-themes/ContrastHigh/16x16/categories/Makefile
icon-themes/ContrastHigh/16x16/devices/Makefile
icon-themes/ContrastHigh/16x16/emblems/Makefile
icon-themes/ContrastHigh/16x16/emotes/Makefile
icon-themes/ContrastHigh/16x16/mimetypes/Makefile
icon-themes/ContrastHigh/16x16/places/Makefile
icon-themes/ContrastHigh/16x16/status/Makefile
icon-themes/ContrastHigh/16x16/stock/Makefile
icon-themes/ContrastHigh/22x22/Makefile
icon-themes/ContrastHigh/22x22/actions/Makefile
icon-themes/ContrastHigh/22x22/apps/Makefile
icon-themes/ContrastHigh/22x22/categories/Makefile
icon-themes/ContrastHigh/22x22/devices/Makefile
icon-themes/ContrastHigh/22x22/emblems/Makefile
icon-themes/ContrastHigh/22x22/emotes/Makefile
icon-themes/ContrastHigh/22x22/mimetypes/Makefile
icon-themes/ContrastHigh/22x22/places/Makefile
icon-themes/ContrastHigh/22x22/status/Makefile
icon-themes/ContrastHigh/22x22/stock/Makefile
icon-themes/ContrastHigh/24x24/Makefile
icon-themes/ContrastHigh/24x24/actions/Makefile
icon-themes/ContrastHigh/24x24/apps/Makefile
icon-themes/ContrastHigh/24x24/categories/Makefile
icon-themes/ContrastHigh/24x24/devices/Makefile
icon-themes/ContrastHigh/24x24/emblems/Makefile
icon-themes/ContrastHigh/24x24/emotes/Makefile
icon-themes/ContrastHigh/24x24/mimetypes/Makefile
icon-themes/ContrastHigh/24x24/places/Makefile
icon-themes/ContrastHigh/24x24/status/Makefile
icon-themes/ContrastHigh/24x24/stock/Makefile
icon-themes/ContrastHigh/32x32/Makefile
icon-themes/ContrastHigh/32x32/actions/Makefile
icon-themes/ContrastHigh/32x32/apps/Makefile
icon-themes/ContrastHigh/32x32/categories/Makefile
icon-themes/ContrastHigh/32x32/devices/Makefile
icon-themes/ContrastHigh/32x32/emblems/Makefile
icon-themes/ContrastHigh/32x32/emotes/Makefile
icon-themes/ContrastHigh/32x32/mimetypes/Makefile
icon-themes/ContrastHigh/32x32/places/Makefile
icon-themes/ContrastHigh/32x32/status/Makefile
icon-themes/ContrastHigh/32x32/stock/Makefile
icon-themes/ContrastHigh/48x48/Makefile
icon-themes/ContrastHigh/48x48/actions/Makefile
icon-themes/ContrastHigh/48x48/animations/Makefile
icon-themes/ContrastHigh/48x48/apps/Makefile
icon-themes/ContrastHigh/48x48/categories/Makefile
icon-themes/ContrastHigh/48x48/devices/Makefile
icon-themes/ContrastHigh/48x48/emblems/Makefile
icon-themes/ContrastHigh/48x48/emotes/Makefile
icon-themes/ContrastHigh/48x48/mimetypes/Makefile
icon-themes/ContrastHigh/48x48/places/Makefile
icon-themes/ContrastHigh/48x48/status/Makefile
icon-themes/ContrastHigh/48x48/stock/Makefile
icon-themes/ContrastHigh/256x256/Makefile
icon-themes/ContrastHigh/256x256/actions/Makefile
icon-themes/ContrastHigh/256x256/apps/Makefile
icon-themes/ContrastHigh/256x256/categories/Makefile
icon-themes/ContrastHigh/256x256/devices/Makefile
icon-themes/ContrastHigh/256x256/emblems/Makefile
icon-themes/ContrastHigh/256x256/emotes/Makefile
icon-themes/ContrastHigh/256x256/mimetypes/Makefile
icon-themes/ContrastHigh/256x256/places/Makefile
icon-themes/ContrastHigh/256x256/status/Makefile
icon-themes/ContrastHigh/256x256/stock/Makefile
icon-themes/ContrastHigh/scalable/Makefile
icon-themes/ContrastHigh/scalable/actions/Makefile
icon-themes/ContrastHigh/scalable/actions-extra/Makefile
icon-themes/ContrastHigh/scalable/apps/Makefile
icon-themes/ContrastHigh/scalable/apps-extra/Makefile
icon-themes/ContrastHigh/scalable/categories/Makefile
icon-themes/ContrastHigh/scalable/devices/Makefile
icon-themes/ContrastHigh/scalable/emblems/Makefile
icon-themes/ContrastHigh/scalable/mimetypes/Makefile
icon-themes/ContrastHigh/scalable/places/Makefile
icon-themes/ContrastHigh/scalable/places-extra/Makefile
icon-themes/ContrastHigh/scalable/status/Makefile
icon-themes/ContrastHigh/scalable/status-extra/Makefile
po/Makefile.in
])

AC_OUTPUT

dnl ==========================================================================
echo "
mate-themes-$VERSION:

	Installation prefix:	${prefix}

"