Update gtk2 package to 2.14.3.
[openwrt/svn-archive/archive.git] / XOrg / lib / gtk2 / patches / 010-dont-build-demos-and-tests.patch
1 diff -urN gtk+-2.14.3.orig/gdk/Makefile.in gtk+-2.14.3/gdk/Makefile.in
2 --- gtk+-2.14.3.orig/gdk/Makefile.in 2008-10-03 23:14:22.000000000 +0200
3 +++ gtk+-2.14.3/gdk/Makefile.in 2008-10-03 23:19:30.000000000 +0200
4 @@ -424,8 +424,8 @@
5 && DISPLAY=:$$XID && export DISPLAY
6
7
8 -SUBDIRS = $(gdktarget) . tests
9 -DIST_SUBDIRS = win32 x11 quartz directfb tests
10 +SUBDIRS = $(gdktarget) .
11 +DIST_SUBDIRS = x11 directfb
12
13 INCLUDES = \
14 -DG_LOG_DOMAIN=\"Gdk\" \
15 diff -urN gtk+-2.14.3.orig/gtk/Makefile.in gtk+-2.14.3/gtk/Makefile.in
16 --- gtk+-2.14.3.orig/gtk/Makefile.in 2008-10-03 23:14:06.000000000 +0200
17 +++ gtk+-2.14.3/gtk/Makefile.in 2008-10-03 23:20:08.000000000 +0200
18 @@ -465,8 +465,8 @@
19 @USE_QUARTZ_TRUE@GTK_PRINT_PREVIEW_COMMAND = "open -a /Applications/Preview.app %f"
20 @USE_QUARTZ_FALSE@GTK_PRINT_PREVIEW_COMMAND = "evince --unlink-tempfile --preview --print-settings %s %f"
21
22 -SUBDIRS = theme-bits . tests
23 -DIST_SUBDIRS = theme-bits tests
24 +SUBDIRS = theme-bits .
25 +DIST_SUBDIRS = theme-bits
26 @HAVE_CUPS_FALSE@GTK_PRINT_BACKENDS = file,lpr
27
28 @HAVE_CUPS_TRUE@GTK_PRINT_BACKENDS = file,cups
29 diff -urN gtk+-2.14.3.orig/Makefile.in gtk+-2.14.3/Makefile.in
30 --- gtk+-2.14.3.orig/Makefile.in 2008-10-03 23:13:54.000000000 +0200
31 +++ gtk+-2.14.3/Makefile.in 2008-10-03 23:18:13.000000000 +0200
32 @@ -516,7 +516,7 @@
33 && DISPLAY=:$$XID && export DISPLAY
34
35
36 -SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
37 +SRC_SUBDIRS = gdk-pixbuf gdk gtk modules contrib
38 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
39
40 # require automake 1.4