<fontconfig> does not need <libX11>
[openwrt/svn-archive/archive.git] / Xorg / lib / gtk2 / patches / 010-dont-build-demos-and-tests.patch
1 --- gtk+-2.18.2.orig/Makefile.in 2009-10-10 17:23:54.000000000 +0200
2 +++ gtk+-2.18.2/Makefile.in 2009-10-05 22:46:12.000000000 +0200
3 @@ -464,8 +464,8 @@
4 || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
5 && DISPLAY=:$$XID && export DISPLAY
6
7 +SRC_SUBDIRS = gdk-pixbuf gdk gtk modules contrib
8 +SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros
9 -SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
10 -SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
11
12 # require automake 1.4
13 AUTOMAKE_OPTIONS = 1.7
14 --- gtk+-2.18.2.orig/gdk/Makefile.in 2009-10-10 17:22:54.000000000 +0200
15 +++ gtk+-2.18.2/gdk/Makefile.in 2009-10-05 22:46:07.000000000 +0200
16 @@ -510,8 +510,8 @@
17 || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
18 && DISPLAY=:$$XID && export DISPLAY
19
20 +SUBDIRS = $(gdktarget) .
21 +DIST_SUBDIRS = x11 directfb
22 -SUBDIRS = $(gdktarget) . tests
23 -DIST_SUBDIRS = win32 x11 quartz directfb tests
24 INCLUDES = \
25 -DG_LOG_DOMAIN=\"Gdk\" \
26 -DGDK_COMPILATION \
27 --- gtk+-2.18.2.orig/gtk/Makefile.in 2009-10-10 17:23:29.000000000 +0200
28 +++ gtk+-2.18.2/gtk/Makefile.in 2009-10-05 22:46:09.000000000 +0200
29 @@ -928,8 +928,8 @@
30
31 # Makefile.am for gtk+/gtk
32 @USE_QUARTZ_TRUE@GTK_PRINT_PREVIEW_COMMAND = "open -a /Applications/Preview.app %f"
33 +SUBDIRS = theme-bits .
34 +DIST_SUBDIRS = theme-bits
35 -SUBDIRS = theme-bits . tests
36 -DIST_SUBDIRS = theme-bits tests
37 @HAVE_CUPS_FALSE@@HAVE_PAPI_CUPS_FALSE@@HAVE_PAPI_FALSE@GTK_PRINT_BACKENDS = file,lpr
38 @HAVE_CUPS_FALSE@@HAVE_PAPI_CUPS_FALSE@@HAVE_PAPI_TRUE@GTK_PRINT_BACKENDS = file,papi
39 @HAVE_CUPS_TRUE@@HAVE_PAPI_CUPS_FALSE@GTK_PRINT_BACKENDS = file,cups