libgtk2: skip tutorial and faq build
PATCH 1/1 libgtk2: skip tutorial and faq build
Credit to Yann E. MORIN for discovering and describing a fix for the HAVE_DOCBOOK bug in "configure.ac", as well as the "--disable-gtk-doc-pdf" and "--disable-gtk-doc-html" additions to LIBGTK2_CONF_OPTS.
--- package/libgtk2/0002-configure-have_docbook.patch | 11 +++++++++++ package/libgtk2/libgtk2.mk | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 package/libgtk2/0002-configure-have_docbook.patch
package/libgtk2/0002-configure-have_docbook.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- libgtk2-2.24.18/configure.ac.orig 2015-02-24 00:28:18.128745222 +0200 ++++ libgtk2-2.24.18/configure.ac 2015-02-24 00:29:10.739087501 +0200 +@@ -1612,7 +1612,7 @@ + GTK_DOC_CHECK([1.11]) + + AC_CHECK_PROG(DB2HTML, db2html, true, false) +-AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML) ++AM_CONDITIONAL([HAVE_DOCBOOK], [test ! "$DB2HTML" = "no"]) + + AC_ARG_ENABLE(man, + [AC_HELP_STRING([--enable-man],
package/libgtk2/libgtk2.mk +3 -2
@@ -69,9 +69,10 @@ LIBGTK2_CONF_ENV = \ ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ ac_cv_prog_F77=no \ - ac_cv_path_CUPS_CONFIG=no + ac_cv_path_CUPS_CONFIG=no \ + ac_cv_prog_DB2HTML=no -LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no +LIBGTK2_CONF_OPTS = --disable-gtk-doc-pdf --disable-gtk-doc-html --disable-glibtest --enable-explicit-deps=no LIBGTK2_DEPENDENCIES = host-pkgconf host-libgtk2 libglib2 cairo pango atk gdk-pixbuf
Signature · 1 line
1.7.12.1
PATCH 1/1 libgtk2: skip tutorial and faq build
Justin, All,
On 2015-02-24 20:16 +0200, justin.swartz at nym.hush.com spake thusly:
Quoted 7 lines
Credit to Yann E. MORIN for discovering and describing a fix for the
HAVE_DOCBOOKbug in "configure.ac", as well as the "--disable-gtk-doc-pdf" and "--disable-gtk-doc-html" additions toLIBGTK2_CONF_OPTS.Signed-off-by Justin Swartz <[email protected]>
Thanks for getting all the pieces together! :-)
Some comments...
package/libgtk2/0002-configure-have_docbook.patch
Quoted 11 lines
--- package/libgtk2/0002-configure-have_docbook.patch | 11 +++++++++++ package/libgtk2/libgtk2.mk | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 package/libgtk2/0002-configure-have_docbook.patchpackage/libgtk2/0002-configure-have_docbook.patch new file +0
-0
Patches should have a proper commit log of their own, and be Signed-off-by too.
Quoted 17 lines
package/libgtk2/0002-configure-have_docbook.patch new file +11
-0@@ -0,0 +1,11 @@ +--- libgtk2-2.24.18/configure.ac.orig 2015-02-24 00:28:18.128745222 +0200 ++++ libgtk2-2.24.18/configure.ac 2015-02-24 00:29:10.739087501 +0200 +@@ -1612,7 +1612,7 @@ + GTK_DOC_CHECK([1.11]) + + AC_CHECK_PROG(DB2HTML, db2html, true, false) +-AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML) ++AM_CONDITIONAL([HAVE_DOCBOOK], [test ! "$DB2HTML" = "no"]) + + AC_ARG_ENABLE(man, + [AC_HELP_STRING([--enable-man],package/libgtk2/libgtk2.mk +0
-0
package/libgtk2/libgtk2.mk LIBGTK2_CONF_ENV = \ · line 75
Quoted 9 lines
package/libgtk2/libgtk2.mk +3
-2@@ -69,9 +69,10 @@ LIBGTK2_CONF_ENV = \ ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ ac_cv_prog_F77=no \ - ac_cv_path_CUPS_CONFIG=no + ac_cv_path_CUPS_CONFIG=no \ + ac_cv_prog_DB2HTML=no -LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no +LIBGTK2_CONF_OPTS = --disable-gtk-doc-pdf --disable-gtk-doc-html --disable-glibtest --enable-explicit-deps=no
Line is too long, it should have been split; new options should have been added after existing ones; like so:
LIBGTK2_CONF_OPTS = --disable-glibtest --enable-explicit-deps=no \
--disable-gtk-doc-pdf --disable-gtk-doc-html(using a leading TAB, not spaces).
Care to fix and resubmit, please? Thanks!
Regards,
Yann E. MORIN.
Quoted 9 lines
package/libgtk2/libgtk2.mk +0
-0LIBGTK2_DEPENDENCIES = host-pkgconf host-libgtk2 libglib2 cairo pango atk gdk-pixbufSignature · 6 lines
1.7.12.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'