Skip to contentSkip to conversation

package/x11r7/libxcb: really disable docs

PATCH New Romain Naour 2 participants 4 messages Feb 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/libxcb: really disable docs

---
 package/x11r7/libxcb/libxcb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/x11r7/libxcb/libxcb.mk +2 -2
index da2f192..f4a3aa9 100644
@@ -16,8 +16,8 @@ LIBXCB_DEPENDENCIES = \
 	host-libxslt libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \
 	host-xcb-proto host-python host-pkgconf
 
-LIBXCB_CONF_OPTS = --disable-build-docs
-HOST_LIBXCB_CONF_OPTS = --disable-build-docs
+LIBXCB_CONF_OPTS = --with-doxygen=no
+HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 package/x11r7/libxcb: really disable docs

Hi all,

Le 21/02/2015 11:55, Romain Naour a ?crit :

Quoted 10 lines
---
 package/x11r7/libxcb/libxcb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/x11r7/libxcb/libxcb.mk +0 -0
index da2f192..f4a3aa9 100644

package/x11r7/libxcb/libxcb.mk LIBXCB_DEPENDENCIES = \ · line 21

Quoted 8 lines
package/x11r7/libxcb/libxcb.mk +2 -2
@@ -16,8 +16,8 @@ LIBXCB_DEPENDENCIES = \
 	host-libxslt libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \
 	host-xcb-proto host-python host-pkgconf
 
-LIBXCB_CONF_OPTS = --disable-build-docs
-HOST_LIBXCB_CONF_OPTS = --disable-build-docs
+LIBXCB_CONF_OPTS = --with-doxygen=no
+HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
 

Can we add --with-doxygen=no to pkg-autotools.mk instead ?

Best regard,
Romain

#2 lore raw

PATCH 1/1 package/x11r7/libxcb: really disable docs

Dear Romain Naour,

Quoted 1 line · Romain Naour

Can we add --with-doxygen=no to pkg-autotools.mk instead ?

As Yann said on IRC, it depends on the number of packages that would benefit from it. And it seems only three packages would benefit from it:

package/libhid/libhid.mk: --without-doxygen \
package/sofia-sip/sofia-sip.mk:SOFIA_SIP_CONF_OPTS = --with-doxygen=no package/x11r7/libxcb/libxcb.mk:LIBXCB_CONF_OPTS = --with-doxygen=no package/x11r7/libxcb/libxcb.mk:HOST_LIBXCB_CONF_OPTS = --with-doxygen=no

On the other hand --disable-doxygen-docs, or --disable-doxygen seem to be used by many more packages:

package/cppunit/cppunit.mk:CPPUNIT_CONF_OPTS = --disable-doxygen package/dbus-cpp/dbus-cpp.mk:DBUS_CPP_CONF_OPTS = --disable-examples --disable-tests --disable-doxygen-docs \

package/dbus-cpp/dbus-cpp.mk:   --disable-doxygen-docs --disable-ecore --disable-glib
package/dbus-glib/dbus-glib.mk: --disable-doxygen-docs \
package/dbus-glib/dbus-glib.mk: --disable-doxygen-docs \
package/dbus/dbus.mk:   --disable-doxygen-docs \
package/dbus/dbus.mk:   --disable-doxygen-docs \
package/libv4l/libv4l.mk:LIBV4L_CONF_OPTS = --disable-doxygen-doc
package/log4cxx/log4cxx.mk:     --disable-doxygen \
package/matchbox/matchbox-lib/matchbox-lib.mk:MATCHBOX_LIB_CONF_OPTS = --enable-expat --disable-doxygen-docs
package/ola/ola.mk:     --disable-doxygen-html \
package/ola/ola.mk:     --disable-doxygen-doc
package/openocd/openocd.mk:     --disable-doxygen-html \
package/openocd/openocd.mk:     --disable-doxygen-html \

Bottom line: my preference is to keep this at a per-package level.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 package/x11r7/libxcb: really disable docs

In reply to Romain Naour

Dear Romain Naour,

Quoted 4 lines · Romain Naour
---
 package/x11r7/libxcb/libxcb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com