1 #############################################################
5 #############################################################
6 MATCHBOX_SITE
:=http
://matchbox-project.org
/sources
/
9 MATCHBOX_LIB_VERSION
:=1.9
10 MATCHBOX_LIB_SOURCE
:=libmatchbox-
$(MATCHBOX_LIB_VERSION
).
tar.bz2
11 MATCHBOX_LIB_DIR
:=$(BUILD_DIR
)/libmatchbox-
$(MATCHBOX_LIB_VERSION
)
13 MATCHBOX_SNOTIFY_VERSION
:=0.9
14 MATCHBOX_SNOTIFY_SOURCE
:=startup-notification-
$(MATCHBOX_SNOTIFY_VERSION
).
tar.bz2
15 MATCHBOX_SNOTIFY_DIR
:=$(BUILD_DIR
)/startup-notification-
$(MATCHBOX_SNOTIFY_VERSION
)
16 #MATCHBOX_SNOTIFY_SITE:=http://www.freedesktop.org/software/startup-notification/releases
17 MATCHBOX_SNOTIFY_SITE
:=http
://ftp.gnome.org
/pub
/GNOME
/sources
/startup-notification
/$(MATCHBOX_SNOTIFY_VERSION
)
18 MATCHBOX_SNOTIFY_CAT
:=$(BZCAT
)
19 MATCHBOX_SNOTIFY_BIN
:=libstartup-notification-1.so
21 MATCHBOX_WM_MAJORVER
:=1.2
22 MATCHBOX_WM_MINORVER
:=
23 #MATCHBOX_WM_VERSION:=$(MATCHBOX_WM_MAJORVER).$(MATCHBOX_WM_MINORVER)
24 MATCHBOX_WM_VERSION
:=$(MATCHBOX_WM_MAJORVER
)
25 MATCHBOX_WM_BIN
:=matchbox-window-manager
26 MATCHBOX_WM_SOURCE
:=$(MATCHBOX_WM_BIN
)-$(MATCHBOX_WM_VERSION
).
tar.bz2
27 MATCHBOX_WM_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_WM_BIN
)-$(MATCHBOX_WM_VERSION
)
29 MATCHBOX_CN_MAJORVER
:=0.9
30 MATCHBOX_CN_MINORVER
:=1
31 MATCHBOX_CN_VERSION
:=$(MATCHBOX_CN_MAJORVER
).
$(MATCHBOX_CN_MINORVER
)
32 MATCHBOX_CN_BIN
:=matchbox-common
33 MATCHBOX_CN_SOURCE
:=$(MATCHBOX_CN_BIN
)-$(MATCHBOX_CN_VERSION
).
tar.bz2
34 MATCHBOX_CN_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_CN_BIN
)-$(MATCHBOX_CN_VERSION
)
36 MATCHBOX_PL_MAJORVER
:=0.9
37 MATCHBOX_PL_MINORVER
:=3
38 MATCHBOX_PL_VERSION
:=$(MATCHBOX_PL_MAJORVER
).
$(MATCHBOX_PL_MINORVER
)
39 MATCHBOX_PL_BIN
:=matchbox-panel
40 MATCHBOX_PL_SOURCE
:=$(MATCHBOX_PL_BIN
)-$(MATCHBOX_PL_VERSION
).
tar.bz2
41 MATCHBOX_PL_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_PL_BIN
)-$(MATCHBOX_PL_VERSION
)
43 MATCHBOX_SM_MAJORVER
:=0.1
44 MATCHBOX_SM_MINORVER
:=
45 MATCHBOX_SM_VERSION
:=$(MATCHBOX_SM_MAJORVER
)$(MATCHBOX_SM_MINORVER
)
46 MATCHBOX_SM_BIN
:=mb-applet-startup-monitor
47 MATCHBOX_SM_SOURCE
:=$(MATCHBOX_SM_BIN
)-$(MATCHBOX_SM_VERSION
).
tar.bz2
48 MATCHBOX_SM_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_SM_BIN
)-$(MATCHBOX_SM_VERSION
)
50 MATCHBOX_DP_MAJORVER
:=0.9
51 MATCHBOX_DP_MINORVER
:=1
52 MATCHBOX_DP_VERSION
:=$(MATCHBOX_DP_MAJORVER
).
$(MATCHBOX_DP_MINORVER
)
53 MATCHBOX_DP_BIN
:=matchbox-desktop
54 MATCHBOX_DP_SOURCE
:=$(MATCHBOX_DP_BIN
)-$(MATCHBOX_DP_VERSION
).
tar.bz2
55 MATCHBOX_DP_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_DP_BIN
)-$(MATCHBOX_DP_VERSION
)
57 MATCHBOX_FK_MAJORVER
:=0.1
58 MATCHBOX_FK_MINORVER
:=
59 #MATCHBOX_FK_VERSION:=$(MATCHBOX_FK_MAJORVER).$(MATCHBOX_FK_MINORVER)
60 MATCHBOX_FK_VERSION
:=$(MATCHBOX_FK_MAJORVER
)
61 MATCHBOX_FK_BIN
:=libfakekey
62 MATCHBOX_FK_SOURCE
:=$(MATCHBOX_FK_BIN
)-$(MATCHBOX_FK_VERSION
).
tar.bz2
63 MATCHBOX_FK_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_FK_BIN
)-$(MATCHBOX_FK_VERSION
)
65 MATCHBOX_KB_MAJORVER
:=0.1
66 MATCHBOX_KB_MINORVER
:=
67 #MATCHBOX_KB_VERSION:=$(MATCHBOX_KB_MAJORVER).$(MATCHBOX_KB_MINORVER)
68 MATCHBOX_KB_VERSION
:=$(MATCHBOX_KB_MAJORVER
)
69 MATCHBOX_KB_BIN
:=matchbox-keyboard
70 MATCHBOX_KB_SOURCE
:=$(MATCHBOX_KB_BIN
)-$(MATCHBOX_KB_VERSION
).
tar.bz2
71 MATCHBOX_KB_DIR
:=$(BUILD_DIR
)/$(MATCHBOX_KB_BIN
)-$(MATCHBOX_KB_VERSION
)
73 #############################################################
75 $(DL_DIR
)/$(MATCHBOX_LIB_SOURCE
):
76 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/libmatchbox
/$(MATCHBOX_LIB_VERSION
)/$(MATCHBOX_LIB_SOURCE
)
78 $(DL_DIR
)/$(MATCHBOX_SNOTIFY_SOURCE
):
79 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SNOTIFY_SITE
)/$(MATCHBOX_SNOTIFY_SOURCE
)
81 $(DL_DIR
)/$(MATCHBOX_WM_SOURCE
):
82 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_WM_BIN
)/$(MATCHBOX_WM_MAJORVER
)/$(MATCHBOX_WM_SOURCE
)
84 $(DL_DIR
)/$(MATCHBOX_SM_SOURCE
):
85 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_SM_BIN
)/$(MATCHBOX_SM_MAJORVER
)/$(MATCHBOX_SM_SOURCE
)
87 #$(DL_DIR)/$(MATCHBOX_DM_SOURCE):
88 # $(WGET) -P $(DL_DIR) $(MATCHBOX_SITE)/$(MATCHBOX_SM_BIN)/$(MATCHBOX_SM_MAJORVER)/$(MATCHBOX_SM_SOURCE)
90 $(DL_DIR
)/$(MATCHBOX_CN_SOURCE
):
91 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_CN_BIN
)/$(MATCHBOX_CN_MAJORVER
)/$(MATCHBOX_CN_SOURCE
)
93 $(DL_DIR
)/$(MATCHBOX_PL_SOURCE
):
94 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_PL_BIN
)/$(MATCHBOX_PL_MAJORVER
)/$(MATCHBOX_PL_SOURCE
)
96 $(DL_DIR
)/$(MATCHBOX_DP_SOURCE
):
97 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_DP_BIN
)/$(MATCHBOX_DP_MAJORVER
)/$(MATCHBOX_DP_SOURCE
)
99 $(DL_DIR
)/$(MATCHBOX_FK_SOURCE
):
100 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_FK_BIN
)/$(MATCHBOX_FK_MAJORVER
)/$(MATCHBOX_FK_SOURCE
)
102 $(DL_DIR
)/$(MATCHBOX_KB_SOURCE
):
103 $(WGET
) -P
$(DL_DIR
) $(MATCHBOX_SITE
)/$(MATCHBOX_KB_BIN
)/$(MATCHBOX_KB_MAJORVER
)/$(MATCHBOX_KB_SOURCE
)
106 matchbox-source
: $(DL_DIR
)/$(MATCHBOX_LIB_SOURCE
) $(DL_DIR
)/$(MATCHBOX_WM_SOURCE
)
108 matchbox-panel-source
: $(DL_DIR
)/$(MATCHBOX_CN_SOURCE
) $(DL_DIR
)/$(MATCHBOX_PL_SOURCE
)
110 matchbox-desktop-source
: $(DL_DIR
)/$(MATCHBOX_DP_SOURCE
)
112 matchbox-keyboard-source
: $(DL_DIR
)/$(MATCHBOX_FK_SOURCE
) $(DL_DIR
)/$(MATCHBOX_KB_SOURCE
)
114 $(MATCHBOX_LIB_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_LIB_SOURCE
)
115 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_LIB_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
116 touch
$(MATCHBOX_LIB_DIR
)/.unpacked
118 $(MATCHBOX_SNOTIFY_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_SNOTIFY_SOURCE
)
119 $(MATCHBOX_SNOTIFY_CAT
) $(DL_DIR
)/$(MATCHBOX_SNOTIFY_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
120 touch
$(MATCHBOX_SNOTIFY_DIR
)/.unpacked
122 $(MATCHBOX_WM_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_WM_SOURCE
)
123 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_WM_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
124 touch
$(MATCHBOX_WM_DIR
)/.unpacked
126 $(MATCHBOX_SM_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_SM_SOURCE
)
127 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_SM_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
128 touch
$(MATCHBOX_SM_DIR
)/.unpacked
130 $(MATCHBOX_CN_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_CN_SOURCE
)
131 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_CN_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
132 touch
$(MATCHBOX_CN_DIR
)/.unpacked
134 $(MATCHBOX_PL_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_PL_SOURCE
)
135 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_PL_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
136 touch
$(MATCHBOX_PL_DIR
)/.unpacked
138 $(MATCHBOX_DP_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_DP_SOURCE
)
139 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_DP_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
140 $(SED
) 's:mbfolder\.png:mbtasks\.png:g' $(MATCHBOX_DP_DIR
)/modules
/tasks.c
141 touch
$(MATCHBOX_DP_DIR
)/.unpacked
143 $(MATCHBOX_FK_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_FK_SOURCE
)
144 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_FK_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
145 touch
$(MATCHBOX_FK_DIR
)/.unpacked
147 $(MATCHBOX_KB_DIR
)/.unpacked
: $(DL_DIR
)/$(MATCHBOX_KB_SOURCE
)
148 $(MATCHBOX_CAT
) $(DL_DIR
)/$(MATCHBOX_KB_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
149 touch
$(MATCHBOX_KB_DIR
)/.unpacked
151 #############################################################
157 MATCHBOX_WM_DEPS
:=xlib_libXdamage
158 MATCHBOX_WM_DEPS
+=xlib_libXcursor
160 ifeq ($(BR2_PACKAGE_X11R7_LIBXCOMPOSITE
),y
)
161 ifeq ($(BR2_PACKAGE_X11R7_LIBXPM
),y
)
162 MATCHBOX_WM_OPTS
+=--enable-composite
163 MATCHBOX_WM_DEPS
+=xlib_libXcomposite
164 MATCHBOX_WM_DEPS
+=xlib_libXpm
165 MATCHBOX_LIB_DEPS
+=xlib_libXpm
169 MATCHBOX_SNOTIFY_OPTS
:=
170 MATCHBOX_SNOTIFY_DEPS
:=
171 MATCHBOX_PANEL_DEPS
:=
173 ifeq ($(BR2_PACKAGE_MATCHBOX_SNOTIFY
),y
)
174 MATCHBOX_SNOTIFY_OPTS
+=--enable-startup-notification
175 MATCHBOX_SNOTIFY_DEPS
+=xlib_libSM
176 MATCHBOX_SNOTIFY_DEPS
+=$(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
)
177 MATCHBOX_PANEL_DEPS
+=$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
)
179 MATCHBOX_SNOTIFY_OPTS
+=--disable-startup-notification
182 ifeq ($(BR2_PACKAGE_JPEG
),y
)
183 MATCHBOX_LIB_OPTS
+=--enable-jpeg
184 MATCHBOX_LIB_DEPS
+=jpeg
186 MATCHBOX_LIB_OPTS
+=--disable-jpeg
189 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
190 MATCHBOX_LIB_OPTS
+=--enable-png
191 MATCHBOX_LIB_DEPS
+=libpng
193 MATCHBOX_LIB_OPTS
+=--disable-png
196 ifeq ($(BR2_PACKAGE_PANGO
),y
)
197 MATCHBOX_LIB_OPTS
+=--enable-pango
198 MATCHBOX_LIB_DEPS
+=pango
200 MATCHBOX_LIB_OPTS
+=--disable-pango
203 ifeq ($(BR2_PACKAGE_X11R7_LIBXFT2
),y
)
204 MATCHBOX_LIB_OPTS
+=--enable-xft
205 MATCHBOX_LIB_DEPS
+=xlib_libXft2
206 #MATCHBOX_WM_OPTS+=--enable-standalone-xft
207 MATCHBOX_WM_DEPS
+=xlib_libXft2
209 MATCHBOX_LIB_OPTS
+=--disable-xft
210 #MATCHBOX_WM_OPTS+=--disable-standalone-xft
214 $(MATCHBOX_LIB_DIR
)/.configured
: $(MATCHBOX_LIB_DIR
)/.unpacked
215 (cd
$(MATCHBOX_LIB_DIR
); rm -f config.cache
; \
216 $(TARGET_CONFIGURE_OPTS
) \
217 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
218 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
220 --target
=$(GNU_TARGET_NAME
) \
221 --host
=$(GNU_TARGET_NAME
) \
222 --build
=$(GNU_HOST_NAME
) \
224 --prefix=$(STAGING_DIR
)/usr \
226 --localstatedir
=/var \
227 --datadir=/usr
/share
/matchbox \
228 --libdir=$(STAGING_DIR
)/usr
/lib \
229 --includedir=$(STAGING_DIR
)/usr
/include \
231 --disable-doxygen-docs \
232 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
233 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
235 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
236 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
237 $(MATCHBOX_LIB_OPTS
) \
239 touch
$(MATCHBOX_LIB_DIR
)/.configured
241 $(MATCHBOX_SNOTIFY_DIR
)/.configured
: $(MATCHBOX_SNOTIFY_DIR
)/.unpacked
242 (cd
$(MATCHBOX_SNOTIFY_DIR
); rm -f config.cache
; \
243 $(TARGET_CONFIGURE_OPTS
) \
244 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
245 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
246 lf_cv_sane_realloc
=no \
248 --target
=$(GNU_TARGET_NAME
) \
249 --host
=$(GNU_TARGET_NAME
) \
250 --build
=$(GNU_HOST_NAME
) \
252 --prefix=$(STAGING_DIR
)/usr \
254 --localstatedir
=/var \
255 --datadir=/usr
/share \
256 --libdir=$(STAGING_DIR
)/usr
/lib \
257 --includedir=$(STAGING_DIR
)/usr
/include \
259 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
260 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
262 touch
$(MATCHBOX_SNOTIFY_DIR
)/.configured
264 $(MATCHBOX_WM_DIR
)/.configured
: $(MATCHBOX_WM_DIR
)/.unpacked
265 (cd
$(MATCHBOX_WM_DIR
); rm -f config.cache
; \
266 $(TARGET_CONFIGURE_OPTS
) \
267 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
268 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
270 --target
=$(GNU_TARGET_NAME
) \
271 --host
=$(GNU_TARGET_NAME
) \
272 --build
=$(GNU_HOST_NAME
) \
274 --prefix=$(STAGING_DIR
)/usr \
276 --localstatedir
=/var \
277 --datadir=/usr
/share
/matchbox \
278 --libdir=$(STAGING_DIR
)/usr
/lib \
279 --includedir=$(STAGING_DIR
)/usr
/include \
281 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
282 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
284 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
285 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
286 $(MATCHBOX_WM_OPTS
) \
287 $(MATCHBOX_SNOTIFY_OPTS
) \
289 touch
$(MATCHBOX_WM_DIR
)/.configured
291 $(MATCHBOX_SM_DIR
)/.configured
: $(MATCHBOX_SM_DIR
)/.unpacked
292 (cd
$(MATCHBOX_SM_DIR
); rm -f config.cache
; \
293 $(TARGET_CONFIGURE_OPTS
) \
294 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
295 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
297 --target
=$(GNU_TARGET_NAME
) \
298 --host
=$(GNU_TARGET_NAME
) \
299 --build
=$(GNU_HOST_NAME
) \
301 --prefix=$(STAGING_DIR
)/usr \
303 --localstatedir
=/var \
304 --datadir=/usr
/share
/matchbox \
305 --libdir=$(STAGING_DIR
)/usr
/lib \
306 --includedir=$(STAGING_DIR
)/usr
/include \
308 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
309 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
311 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
312 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
313 $(MATCHBOX_SNOTIFY_OPTS
) \
315 touch
$(MATCHBOX_SM_DIR
)/.configured
317 $(MATCHBOX_CN_DIR
)/.configured
: $(MATCHBOX_CN_DIR
)/.unpacked
318 (cd
$(MATCHBOX_CN_DIR
); rm -f config.cache
; \
319 $(TARGET_CONFIGURE_OPTS
) \
320 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
321 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
323 --target
=$(GNU_TARGET_NAME
) \
324 --host
=$(GNU_TARGET_NAME
) \
325 --build
=$(GNU_HOST_NAME
) \
327 --prefix=$(STAGING_DIR
)/usr \
329 --localstatedir
=/var \
330 --datadir=/usr
/share
/matchbox \
331 --libdir=$(STAGING_DIR
)/usr
/lib \
332 --includedir=$(STAGING_DIR
)/usr
/include \
334 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
335 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
337 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
338 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
340 touch
$(MATCHBOX_CN_DIR
)/.configured
342 $(MATCHBOX_PL_DIR
)/.configured
: $(MATCHBOX_PL_DIR
)/.unpacked
343 (cd
$(MATCHBOX_PL_DIR
); rm -f config.cache
; \
344 $(TARGET_CONFIGURE_OPTS
) \
345 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
346 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
348 --target
=$(GNU_TARGET_NAME
) \
349 --host
=$(GNU_TARGET_NAME
) \
350 --build
=$(GNU_HOST_NAME
) \
352 --prefix=$(STAGING_DIR
)/usr \
354 --localstatedir
=/var \
355 --datadir=/usr
/share
/matchbox \
356 --libdir=$(STAGING_DIR
)/usr
/lib \
357 --includedir=$(STAGING_DIR
)/usr
/include \
359 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
360 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
362 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
363 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
364 $(MATCHBOX_SNOTIFY_OPTS
) \
366 touch
$(MATCHBOX_PL_DIR
)/.configured
368 $(MATCHBOX_DP_DIR
)/.configured
: $(MATCHBOX_DP_DIR
)/.unpacked
369 (cd
$(MATCHBOX_DP_DIR
); rm -f config.cache
; \
370 $(TARGET_CONFIGURE_OPTS
) \
371 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
372 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
374 --target
=$(GNU_TARGET_NAME
) \
375 --host
=$(GNU_TARGET_NAME
) \
376 --build
=$(GNU_HOST_NAME
) \
378 --prefix=$(STAGING_DIR
)/usr \
380 --localstatedir
=/var \
381 --datadir=/usr
/share
/matchbox \
382 --libdir=$(STAGING_DIR
)/usr
/lib \
383 --includedir=$(STAGING_DIR
)/usr
/include \
385 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
386 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
388 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
389 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
390 $(MATCHBOX_SNOTIFY_OPTS
) \
392 touch
$(MATCHBOX_DP_DIR
)/.configured
394 $(MATCHBOX_FK_DIR
)/.configured
: $(MATCHBOX_FK_DIR
)/.unpacked
395 (cd
$(MATCHBOX_FK_DIR
); rm -f config.cache
; \
396 $(TARGET_CONFIGURE_OPTS
) \
397 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
398 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
400 --target
=$(GNU_TARGET_NAME
) \
401 --host
=$(GNU_TARGET_NAME
) \
402 --build
=$(GNU_HOST_NAME
) \
404 --prefix=$(STAGING_DIR
)/usr \
406 --localstatedir
=/var \
407 --datadir=/usr
/share
/matchbox \
408 --libdir=$(STAGING_DIR
)/usr
/lib \
409 --includedir=$(STAGING_DIR
)/usr
/include \
411 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
412 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
414 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
415 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
417 $(SED
) 's:^SUBDIRS = fakekey src tests.*:SUBDIRS = fakekey src:g' $(MATCHBOX_FK_DIR
)/Makefile
418 touch
$(MATCHBOX_FK_DIR
)/.configured
420 $(MATCHBOX_KB_DIR
)/.configured
: $(MATCHBOX_KB_DIR
)/.unpacked
421 (cd
$(MATCHBOX_KB_DIR
); rm -f config.cache
; \
422 $(TARGET_CONFIGURE_OPTS
) \
423 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" PKG_CONFIG_PATH
="$(STAGING_DIR)/usr/lib/pkgconfig" \
424 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
426 --target
=$(GNU_TARGET_NAME
) \
427 --host
=$(GNU_TARGET_NAME
) \
428 --build
=$(GNU_HOST_NAME
) \
430 --prefix=$(STAGING_DIR
)/usr \
432 --localstatedir
=/var \
433 --datadir=/usr
/share
/matchbox \
434 --libdir=$(STAGING_DIR
)/usr
/lib \
435 --includedir=$(STAGING_DIR
)/usr
/include \
437 --with-expat-includes
=$(STAGING_DIR
)/usr
/include \
438 --with-expat-lib
=$(STAGING_DIR
)/usr
/lib \
440 --x-includes
=$(STAGING_DIR
)/usr
/include/X11 \
441 --x-libraries
=$(STAGING_DIR
)/usr
/lib \
443 touch
$(MATCHBOX_KB_DIR
)/.configured
445 $(MATCHBOX_LIB_DIR
)/.compiled
: $(MATCHBOX_LIB_DIR
)/.configured
446 $(MAKE
) -C
$(MATCHBOX_LIB_DIR
)
447 touch
$(MATCHBOX_LIB_DIR
)/.compiled
449 $(MATCHBOX_SNOTIFY_DIR
)/.compiled
: $(MATCHBOX_SNOTIFY_DIR
)/.configured
450 $(MAKE
) -C
$(MATCHBOX_SNOTIFY_DIR
)
451 touch
$(MATCHBOX_SNOTIFY_DIR
)/.compiled
453 $(MATCHBOX_WM_DIR
)/.compiled
: $(MATCHBOX_WM_DIR
)/.configured
454 $(MAKE
) -C
$(MATCHBOX_WM_DIR
)
455 touch
$(MATCHBOX_WM_DIR
)/.compiled
457 $(MATCHBOX_SM_DIR
)/.compiled
: $(MATCHBOX_SM_DIR
)/.configured
458 $(MAKE
) -C
$(MATCHBOX_SM_DIR
)
459 touch
$(MATCHBOX_SM_DIR
)/.compiled
461 $(MATCHBOX_CN_DIR
)/.compiled
: $(MATCHBOX_CN_DIR
)/.configured
462 $(MAKE
) -C
$(MATCHBOX_CN_DIR
)
463 touch
$(MATCHBOX_CN_DIR
)/.compiled
465 $(MATCHBOX_PL_DIR
)/.compiled
: $(MATCHBOX_PL_DIR
)/.configured
466 $(MAKE
) -C
$(MATCHBOX_PL_DIR
)
467 touch
$(MATCHBOX_PL_DIR
)/.compiled
469 $(MATCHBOX_DP_DIR
)/.compiled
: $(MATCHBOX_DP_DIR
)/.configured
470 $(MAKE
) -C
$(MATCHBOX_DP_DIR
)
471 touch
$(MATCHBOX_DP_DIR
)/.compiled
473 $(MATCHBOX_FK_DIR
)/.compiled
: $(MATCHBOX_FK_DIR
)/.configured
474 $(MAKE
) -C
$(MATCHBOX_FK_DIR
)
475 touch
$(MATCHBOX_FK_DIR
)/.compiled
477 $(MATCHBOX_KB_DIR
)/.compiled
: $(MATCHBOX_KB_DIR
)/.configured
478 $(MAKE
) -C
$(MATCHBOX_KB_DIR
)
479 touch
$(MATCHBOX_KB_DIR
)/.compiled
481 $(STAGING_DIR
)/usr
/lib
/libmb.so
: $(MATCHBOX_LIB_DIR
)/.compiled
482 $(MAKE
) -C
$(MATCHBOX_LIB_DIR
) DESTDIR
=$(STAGING_DIR
) \
485 datadir=/usr
/share
/matchbox \
487 includedir=/usr
/include \
490 $(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
): $(MATCHBOX_SNOTIFY_DIR
)/.compiled
491 $(MAKE
) -C
$(MATCHBOX_SNOTIFY_DIR
) DESTDIR
=$(STAGING_DIR
) \
496 includedir=/usr
/include \
499 $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
): $(MATCHBOX_WM_DIR
)/.compiled
500 $(MAKE
) -C
$(MATCHBOX_WM_DIR
) DESTDIR
=$(STAGING_DIR
) \
503 datadir=/usr
/share
/matchbox \
505 includedir=/usr
/include \
508 $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
): $(MATCHBOX_SM_DIR
)/.compiled
509 $(MAKE
) -C
$(MATCHBOX_SM_DIR
) DESTDIR
=$(STAGING_DIR
) \
512 datadir=/usr
/share
/matchbox \
514 includedir=/usr
/include \
517 $(STAGING_DIR
)/usr
/bin
/matchbox-session
: $(MATCHBOX_CN_DIR
)/.compiled
518 $(MAKE
) -C
$(MATCHBOX_CN_DIR
) DESTDIR
=$(STAGING_DIR
) \
521 datadir=/usr
/share
/matchbox \
523 includedir=/usr
/include \
526 $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
): $(MATCHBOX_PL_DIR
)/.compiled
527 $(MAKE
) -C
$(MATCHBOX_PL_DIR
) DESTDIR
=$(STAGING_DIR
) \
530 datadir=/usr
/share
/matchbox \
532 includedir=/usr
/include \
535 $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
): $(MATCHBOX_DP_DIR
)/.compiled
536 $(MAKE
) -C
$(MATCHBOX_DP_DIR
) DESTDIR
=$(STAGING_DIR
) \
539 datadir=/usr
/share
/matchbox \
541 includedir=/usr
/include \
544 $(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
: $(MATCHBOX_FK_DIR
)/.compiled
545 $(MAKE
) -C
$(MATCHBOX_FK_DIR
) DESTDIR
=$(STAGING_DIR
) \
548 datadir=/usr
/share
/matchbox \
550 includedir=/usr
/include \
553 $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
): $(MATCHBOX_KB_DIR
)/.compiled
554 $(MAKE
) -C
$(MATCHBOX_KB_DIR
) DESTDIR
=$(STAGING_DIR
) \
557 datadir=/usr
/share
/matchbox \
559 includedir=/usr
/include \
562 $(TARGET_DIR
)/usr
/lib
/libmb.so
: $(STAGING_DIR
)/usr
/lib
/libmb.so
563 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libmb.so
* $(TARGET_DIR
)/usr
/lib
/
564 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/libmb.so
566 $(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
): $(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
)
567 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
)* $(TARGET_DIR
)/usr
/lib
/
568 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_SNOTIFY_BIN
)
570 $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
): $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
)
571 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
) $(TARGET_DIR
)/usr
/bin
/
572 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
)
573 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/matchbox-remote
$(TARGET_DIR
)/usr
/bin
/
574 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/matchbox-remote
575 cp
-af
$(STAGING_DIR
)/etc
/matchbox
/ $(TARGET_DIR
)/etc
/
576 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
$(TARGET_DIR
)/usr
/share
/
578 $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
): $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
)
579 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
) $(TARGET_DIR
)/usr
/bin
/
580 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_SM_BIN
)
581 mkdir
-p
$(TARGET_DIR
)/usr
/share
/matchbox
/pixmaps
/
582 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
/pixmaps
/hourglass-
*.png
$(TARGET_DIR
)/usr
/share
/matchbox
/pixmaps
/
584 $(TARGET_DIR
)/usr
/bin
/matchbox-session
: $(STAGING_DIR
)/usr
/bin
/matchbox-session
585 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/matchbox-session
$(TARGET_DIR
)/usr
/bin
/
586 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/matchbox-session
587 cp
-af
$(STAGING_DIR
)/etc
/matchbox
/ $(TARGET_DIR
)/etc
/
588 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
$(TARGET_DIR
)/usr
/share
/
590 $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
): $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
)
591 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
) $(TARGET_DIR
)/usr
/bin
/
592 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
)
593 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/mb-applet-
* $(TARGET_DIR
)/usr
/bin
/
594 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/mb-applet-
*
595 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
/* $(TARGET_DIR
)/usr
/share
/matchbox
/
597 $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
): $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
)
598 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
) $(TARGET_DIR
)/usr
/bin
/
599 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
)
600 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/dotdesktop.so
$(TARGET_DIR
)/usr
/lib
/
601 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/dotdesktop.so
602 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/simplefilebrowser.so
$(TARGET_DIR
)/usr
/lib
/
603 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/simplefilebrowser.so
604 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/tasks.so
$(TARGET_DIR
)/usr
/lib
/
605 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/tasks.so
606 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
/* $(TARGET_DIR
)/usr
/share
/matchbox
/
607 cp
-f .
/package
/matchbox
/mbdesktop_modules
$(TARGET_DIR
)/etc
/matchbox
/
609 $(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
: $(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
610 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
* $(TARGET_DIR
)/usr
/lib
/
611 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
613 $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
): $(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
)
614 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
) $(TARGET_DIR
)/usr
/bin
/
615 -$(STRIPCMD
) $(STRIP_STRIP_UNNEEDED
) $(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
)
616 mkdir
-p
$(TARGET_DIR
)/usr
/share
/matchbox
/pixmaps
/
617 cp
-dpf
$(STAGING_DIR
)/usr
/share
/matchbox
/pixmaps
/matchbox-keyboard.png
$(TARGET_DIR
)/usr
/share
/matchbox
/pixmaps
/
618 cp
-af
$(STAGING_DIR
)/usr
/share
/matchbox
/matchbox-keyboard
$(TARGET_DIR
)/usr
/share
/matchbox
/
619 cp
-dpf .
/package
/matchbox
/mb-applet-kbd-wrapper.sh
$(TARGET_DIR
)/usr
/bin
/
621 matchbox
: uclibc expat
$(MATCHBOX_WM_DEPS
) $(MATCHBOX_SNOTIFY_DEPS
) $(MATCHBOX_LIB_DEPS
) $(TARGET_DIR
)/usr
/lib
/libmb.so
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
)
623 matchbox-panel
: uclibc matchbox
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
) $(TARGET_DIR
)/usr
/bin
/matchbox-session
$(MATCHBOX_PANEL_DEPS
)
625 matchbox-desktop
: uclibc matchbox
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
)
627 matchbox-keyboard
: uclibc matchbox xlib_libXtst
$(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).so
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
)
630 rm -f
$(TARGET_DIR
)/usr
/lib
/libmb.
*
631 rm -f
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_WM_BIN
)
632 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_WM_DIR
) uninstall
633 -$(MAKE
) -C
$(MATCHBOX_WM_DIR
) clean
634 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_LIB_DIR
) uninstall
635 -$(MAKE
) -C
$(MATCHBOX_LIB_DIR
) clean
637 matchbox-panel-clean
:
638 rm -f
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_PL_BIN
)
639 rm -f
$(TARGET_DIR
)/usr
/bin
/matchbox-session
640 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_PL_DIR
) uninstall
641 -$(MAKE
) -C
$(MATCHBOX_PL_DIR
) clean
642 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_CN_DIR
) uninstall
643 -$(MAKE
) -C
$(MATCHBOX_CN_DIR
) clean
645 matchbox-desktop-clean
:
646 rm -f
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_DP_BIN
)
647 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_DP_DIR
) uninstall
648 -$(MAKE
) -C
$(MATCHBOX_DP_DIR
) clean
650 matchbox-keyboard-clean
:
651 rm -f
$(TARGET_DIR
)/usr
/bin
/$(MATCHBOX_KB_BIN
)
652 rm -f
$(TARGET_DIR
)/usr
/lib
/$(MATCHBOX_FK_BIN
).
*
653 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_KB_DIR
) uninstall
654 -$(MAKE
) -C
$(MATCHBOX_KB_DIR
) clean
655 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(MATCHBOX_FK_DIR
) uninstall
656 -$(MAKE
) -C
$(MATCHBOX_FK_DIR
) clean
659 rm -rf
$(MATCHBOX_WM_DIR
)
660 rm -rf
$(MATCHBOX_LIB_DIR
)
661 rm -rf
$(MATCHBOX_SNOTIFY_DIR
)
663 matchbox-panel-dirclean
:
664 rm -rf
$(MATCHBOX_PL_DIR
)
665 rm -rf
$(MATCHBOX_CN_DIR
)
667 matchbox-desktop-dirclean
:
668 rm -rf
$(MATCHBOX_DP_DIR
)
670 matchbox-keyboard-dirclean
:
671 rm -rf
$(MATCHBOX_KB_DIR
)
672 rm -rf
$(MATCHBOX_FK_DIR
)
674 #############################################################
676 # Toplevel Makefile options
678 #############################################################
679 ifeq ($(BR2_PACKAGE_MATCHBOX
),y
)
683 ifeq ($(BR2_PACKAGE_MATCHBOX_PANEL
),y
)
684 TARGETS
+=matchbox-panel
687 ifeq ($(BR2_PACKAGE_MATCHBOX_DESKTOP
),y
)
688 TARGETS
+=matchbox-desktop
691 ifeq ($(BR2_PACKAGE_MATCHBOX_KEYBOARD
),y
)
692 TARGETS
+=matchbox-keyboard