From d161a674761a468be9ec74e2f8bb86f4f7b9f515 Mon Sep 17 00:00:00 2001 From: mirko Date: Fri, 10 Dec 2010 20:11:03 +0000 Subject: [PATCH] [packages/gconf2] do no build pos, examples and docs - avoid GTK_DOC_CHECK m4 macro git-svn-id: svn://svn.openwrt.org/openwrt/packages@24451 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/010-do-not-use-GTK_DOC-macro.patch | 11 +++++++++++ .../020-do-not-build-examples_docs_pos_tests.patch | 23 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 libs/gconf2/patches/010-do-not-use-GTK_DOC-macro.patch create mode 100644 libs/gconf2/patches/020-do-not-build-examples_docs_pos_tests.patch diff --git a/libs/gconf2/patches/010-do-not-use-GTK_DOC-macro.patch b/libs/gconf2/patches/010-do-not-use-GTK_DOC-macro.patch new file mode 100644 index 000000000..170524c96 --- /dev/null +++ b/libs/gconf2/patches/010-do-not-use-GTK_DOC-macro.patch @@ -0,0 +1,11 @@ +--- GConf-2.24.0.orig/configure.in 2008-09-22 19:51:00.000000000 +0200 ++++ GConf-2.24.0/configure.in 2010-12-10 15:50:41.515380606 +0100 +@@ -127,7 +127,7 @@ + fi + fi + +-GTK_DOC_CHECK([1.0]) ++#GTK_DOC_CHECK([1.0]) + + AC_ARG_ENABLE(gtk, [ --enable-gtk Enable GTK+ support (for gconf-sanity-check) [default=auto]], enable_gtk="$enableval", enable_gtk=auto) + diff --git a/libs/gconf2/patches/020-do-not-build-examples_docs_pos_tests.patch b/libs/gconf2/patches/020-do-not-build-examples_docs_pos_tests.patch new file mode 100644 index 000000000..70cc99306 --- /dev/null +++ b/libs/gconf2/patches/020-do-not-build-examples_docs_pos_tests.patch @@ -0,0 +1,23 @@ +--- GConf-2.24.0.orig/Makefile.in 2008-09-22 20:03:56.000000000 +0200 ++++ GConf-2.24.0/Makefile.in 2010-12-10 13:52:16.027379891 +0100 +@@ -267,8 +267,8 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = gconf backends po doc examples $(am__append_1) +-DIST_SUBDIRS = tests $(SUBDIRS) ++SUBDIRS = gconf backends $(am__append_1) ++DIST_SUBDIRS = $(SUBDIRS) + EXTRA_DIST = \ + TODO \ + gtk-doc.make \ +diff -ruN GConf-2.24.0.orig//Makefile.am GConf-2.24.0//Makefile.am +--- GConf-2.24.0.orig//Makefile.am 2008-08-19 11:41:58.000000000 +0200 ++++ GConf-2.24.0//Makefile.am 2010-12-10 18:49:14.591378059 +0100 +@@ -1,5 +1,5 @@ + +-SUBDIRS = gconf backends po doc examples ++SUBDIRS = gconf backends + + if ENABLE_DEFAULTS_SERVICE + SUBDIRS += defaults -- 2.11.0