do no build tests, pos, examples and docs - avoid GTK_DOC_CHECK m4 macro
authorMirko Vogt <mirko@openwrt.org>
Fri, 10 Dec 2010 20:10:57 +0000 (20:10 +0000)
committerMirko Vogt <mirko@openwrt.org>
Fri, 10 Dec 2010 20:10:57 +0000 (20:10 +0000)
SVN-Revision: 24450

Xorg/lib/gtk2/patches/010-do-not-use-GTK_DOC-macro.patch [new file with mode: 0644]
Xorg/lib/gtk2/patches/030-dont-build-demos_tests_pos_examples.patch [new file with mode: 0644]

diff --git a/Xorg/lib/gtk2/patches/010-do-not-use-GTK_DOC-macro.patch b/Xorg/lib/gtk2/patches/010-do-not-use-GTK_DOC-macro.patch
new file mode 100644 (file)
index 0000000..04580d0
--- /dev/null
@@ -0,0 +1,11 @@
+--- gtk+-2.17.0.orig/configure.in      2009-05-04 06:43:43.000000000 +0200
++++ gtk+-2.17.0/configure.in   2010-12-10 16:28:28.359377713 +0100
+@@ -1929,7 +1929,7 @@
+ # Checks for gtk-doc and docbook-tools
+ ##################################################
+-GTK_DOC_CHECK([1.11])
++#GTK_DOC_CHECK([1.11])
+ AC_CHECK_PROG(DB2HTML, db2html, true, false)
+ AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
diff --git a/Xorg/lib/gtk2/patches/030-dont-build-demos_tests_pos_examples.patch b/Xorg/lib/gtk2/patches/030-dont-build-demos_tests_pos_examples.patch
new file mode 100644 (file)
index 0000000..7121948
--- /dev/null
@@ -0,0 +1,207 @@
+--- gtk+-2.17.0.orig/Makefile.in       2010-12-09 01:26:16.995377995 +0100
++++ gtk+-2.17.0/Makefile.in    2010-12-10 16:30:00.283378413 +0100
+@@ -407,95 +407,7 @@
+       config.h.win32          \
+       makefile.msc    \
+       gtk-zip.sh.in           \
+-      sanitize-la.sh          \
+-      po/README.translators   \
+-      po/po2tbl.sed.in        \
+-      examples/aspectframe/Makefile  \
+-      examples/aspectframe/aspectframe.c  \
+-      examples/Makefile  \
+-      examples/README.1ST  \
+-      examples/extract.awk  \
+-      examples/extract.sh  \
+-      examples/arrow/Makefile \
+-      examples/arrow/arrow.c  \
+-      examples/base/Makefile  \
+-      examples/base/base.c  \
+-      examples/buttonbox/Makefile \
+-      examples/buttonbox/buttonbox.c  \
+-      examples/buttons/Makefile  \
+-      examples/buttons/buttons.c  \
+-      examples/buttons/info.xpm  \
+-      examples/calendar/Makefile  \
+-      examples/calendar/calendar.c  \
+-      examples/clist/Makefile  \
+-      examples/clist/clist.c  \
+-      examples/entry/Makefile  \
+-      examples/entry/entry.c  \
+-      examples/eventbox/Makefile  \
+-      examples/eventbox/eventbox.c  \
+-      examples/filesel/Makefile  \
+-      examples/filesel/filesel.c  \
+-      examples/gtkdial/Makefile  \
+-      examples/gtkdial/dial_test.c  \
+-      examples/gtkdial/gtkdial.c  \
+-      examples/gtkdial/gtkdial.h  \
+-      examples/helloworld/Makefile  \
+-      examples/helloworld/helloworld.c  \
+-      examples/helloworld2/Makefile  \
+-      examples/helloworld2/helloworld2.c  \
+-      examples/label/Makefile \
+-      examples/label/label.c  \
+-      examples/list/Makefile  \
+-      examples/list/list.c  \
+-      examples/menu/Makefile  \
+-      examples/menu/menu.c  \
+-      examples/menu/itemfactory.c  \
+-      examples/notebook/Makefile  \
+-      examples/notebook/notebook.c  \
+-      examples/packbox/Makefile  \
+-      examples/packbox/packbox.c  \
+-      examples/paned/Makefile  \
+-      examples/paned/paned.c  \
+-      examples/pixmap/Makefile  \
+-      examples/pixmap/pixmap.c  \
+-      examples/progressbar/Makefile  \
+-      examples/progressbar/progressbar.c  \
+-      examples/radiobuttons/Makefile  \
+-      examples/radiobuttons/radiobuttons.c  \
+-      examples/rangewidgets/Makefile  \
+-      examples/rangewidgets/rangewidgets.c  \
+-      examples/rulers/Makefile  \
+-      examples/rulers/rulers.c  \
+-      examples/scribble-simple/Makefile  \
+-      examples/scribble-simple/scribble-simple.c  \
+-      examples/scribble-xinput/Makefile       \
+-      examples/scribble-xinput/scribble-xinput.c      \
+-      examples/scrolledwin/Makefile  \
+-      examples/scrolledwin/scrolledwin.c  \
+-      examples/selection/Makefile  \
+-      examples/selection/gettargets.c  \
+-      examples/selection/setselection.c  \
+-      examples/statusbar/Makefile  \
+-      examples/statusbar/statusbar.c  \
+-      examples/table/Makefile  \
+-      examples/table/table.c  \
+-      examples/text/Makefile  \
+-      examples/text/text.c  \
+-      examples/tictactoe/Makefile  \
+-      examples/tictactoe/tictactoe.c  \
+-      examples/tictactoe/tictactoe.h  \
+-      examples/tictactoe/ttt_test.c  \
+-      examples/tree/Makefile  \
+-      examples/tree/tree.c  \
+-      examples/wheelbarrow/Makefile  \
+-      examples/wheelbarrow/wheelbarrow.c  \
+-      examples/fixed/fixed.c  \
+-      examples/fixed/Makefile  \
+-      examples/frame/frame.c  \
+-      examples/frame/Makefile  \
+-      examples/spinbutton/spinbutton.c  \
+-      examples/spinbutton/Makefile  \
+-      examples/find-examples.sh
++      sanitize-la.sh
+ TEST_PROGS = 
+@@ -803,7 +715,7 @@
+ distdir: $(DISTFILES)
+       $(am__remove_distdir)
+       mkdir $(distdir)
+-      $(mkinstalldirs) $(distdir)/. $(distdir)/contrib/gdk-pixbuf-xlib $(distdir)/demos/gtk-demo $(distdir)/docs/reference/gdk $(distdir)/docs/reference/gdk-pixbuf $(distdir)/docs/reference/gtk $(distdir)/examples $(distdir)/examples/arrow $(distdir)/examples/aspectframe $(distdir)/examples/base $(distdir)/examples/buttonbox $(distdir)/examples/buttons $(distdir)/examples/calendar $(distdir)/examples/clist $(distdir)/examples/entry $(distdir)/examples/eventbox $(distdir)/examples/filesel $(distdir)/examples/fixed $(distdir)/examples/frame $(distdir)/examples/gtkdial $(distdir)/examples/helloworld $(distdir)/examples/helloworld2 $(distdir)/examples/label $(distdir)/examples/list $(distdir)/examples/menu $(distdir)/examples/notebook $(distdir)/examples/packbox $(distdir)/examples/paned $(distdir)/examples/pixmap $(distdir)/examples/progressbar $(distdir)/examples/radiobuttons $(distdir)/examples/rangewidgets $(distdir)/examples/rulers $(distdir)/examples/scribble-simple $(distdir)/examples/scribble-xinput $(distdir)/examples/scrolledwin $(distdir)/examples/selection $(distdir)/examples/spinbutton $(distdir)/examples/statusbar $(distdir)/examples/table $(distdir)/examples/text $(distdir)/examples/tictactoe $(distdir)/examples/tree $(distdir)/examples/wheelbarrow $(distdir)/gdk-pixbuf $(distdir)/gdk/win32/rc $(distdir)/gtk $(distdir)/po $(distdir)/po-properties
++      $(mkinstalldirs) $(distdir)/. $(distdir)/contrib/gdk-pixbuf-xlib $(distdir)/gdk-pixbuf $(distdir)/gdk/win32/rc $(distdir)/gtk
+       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+       list='$(DISTFILES)'; for file in $$list; do \
+--- gtk+-2.17.0.orig/Makefile.am       2010-12-09 01:26:16.995377995 +0100
++++ gtk+-2.17.0/Makefile.am    2010-12-10 16:30:30.555380813 +0100
+@@ -29,95 +29,7 @@
+       config.h.win32          \
+       makefile.msc    \
+       gtk-zip.sh.in           \
+-      sanitize-la.sh          \
+-      po/README.translators   \
+-      po/po2tbl.sed.in        \
+-      examples/aspectframe/Makefile  \
+-      examples/aspectframe/aspectframe.c  \
+-      examples/Makefile  \
+-      examples/README.1ST  \
+-      examples/extract.awk  \
+-      examples/extract.sh  \
+-      examples/arrow/Makefile \
+-      examples/arrow/arrow.c  \
+-      examples/base/Makefile  \
+-      examples/base/base.c  \
+-      examples/buttonbox/Makefile \
+-      examples/buttonbox/buttonbox.c  \
+-      examples/buttons/Makefile  \
+-      examples/buttons/buttons.c  \
+-      examples/buttons/info.xpm  \
+-      examples/calendar/Makefile  \
+-      examples/calendar/calendar.c  \
+-      examples/clist/Makefile  \
+-      examples/clist/clist.c  \
+-      examples/entry/Makefile  \
+-      examples/entry/entry.c  \
+-      examples/eventbox/Makefile  \
+-      examples/eventbox/eventbox.c  \
+-      examples/filesel/Makefile  \
+-      examples/filesel/filesel.c  \
+-      examples/gtkdial/Makefile  \
+-      examples/gtkdial/dial_test.c  \
+-      examples/gtkdial/gtkdial.c  \
+-      examples/gtkdial/gtkdial.h  \
+-      examples/helloworld/Makefile  \
+-      examples/helloworld/helloworld.c  \
+-      examples/helloworld2/Makefile  \
+-      examples/helloworld2/helloworld2.c  \
+-      examples/label/Makefile \
+-      examples/label/label.c  \
+-      examples/list/Makefile  \
+-      examples/list/list.c  \
+-      examples/menu/Makefile  \
+-      examples/menu/menu.c  \
+-      examples/menu/itemfactory.c  \
+-      examples/notebook/Makefile  \
+-      examples/notebook/notebook.c  \
+-      examples/packbox/Makefile  \
+-      examples/packbox/packbox.c  \
+-      examples/paned/Makefile  \
+-      examples/paned/paned.c  \
+-      examples/pixmap/Makefile  \
+-      examples/pixmap/pixmap.c  \
+-      examples/progressbar/Makefile  \
+-      examples/progressbar/progressbar.c  \
+-      examples/radiobuttons/Makefile  \
+-      examples/radiobuttons/radiobuttons.c  \
+-      examples/rangewidgets/Makefile  \
+-      examples/rangewidgets/rangewidgets.c  \
+-      examples/rulers/Makefile  \
+-      examples/rulers/rulers.c  \
+-      examples/scribble-simple/Makefile  \
+-      examples/scribble-simple/scribble-simple.c  \
+-      examples/scribble-xinput/Makefile       \
+-      examples/scribble-xinput/scribble-xinput.c      \
+-      examples/scrolledwin/Makefile  \
+-      examples/scrolledwin/scrolledwin.c  \
+-      examples/selection/Makefile  \
+-      examples/selection/gettargets.c  \
+-      examples/selection/setselection.c  \
+-      examples/statusbar/Makefile  \
+-      examples/statusbar/statusbar.c  \
+-      examples/table/Makefile  \
+-      examples/table/table.c  \
+-      examples/text/Makefile  \
+-      examples/text/text.c  \
+-      examples/tictactoe/Makefile  \
+-      examples/tictactoe/tictactoe.c  \
+-      examples/tictactoe/tictactoe.h  \
+-      examples/tictactoe/ttt_test.c  \
+-      examples/tree/Makefile  \
+-      examples/tree/tree.c  \
+-      examples/wheelbarrow/Makefile  \
+-      examples/wheelbarrow/wheelbarrow.c  \
+-      examples/fixed/fixed.c  \
+-      examples/fixed/Makefile  \
+-      examples/frame/frame.c  \
+-      examples/frame/Makefile  \
+-      examples/spinbutton/spinbutton.c  \
+-      examples/spinbutton/Makefile  \
+-      examples/find-examples.sh
++      sanitize-la.sh
+ GDKTARGET=@gdktarget@