Bug#883808: libbonobo2-0 does not understand nodoc build profile
Jason Duerstock
jason.duerstock at gmail.com
Thu Dec 7 19:48:59 UTC 2017
Package: libbonobo2-0
Version: 2.32.1-3
Severity: normal
Tags: patch
Dear Maintainer,
the libbonobo2-0 debian package does not support the "nodoc" profile. I believe the attached patch corrects this.
-- System Information:
Debian Release: buster/sid
Architecture: ia64
Kernel: Linux 3.14-0.bpo.2-mckinley (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libbonobo2-0 depends on:
ii libbonobo2-common 2.32.1-3
ii libc6.1 2.25-3
ii libglib2.0-0 2.54.2-1
ii liborbit-2-0 1:2.14.19-4
ii libxml2 2.9.4+dfsg1-5.1
Versions of packages libbonobo2-0 recommends:
ii dbus-x11 1.12.2-1
Versions of packages libbonobo2-0 suggests:
pn libbonobo2-bin <none>
-- no debconf information
-------------- next part --------------
--- debian/rules.orig 2017-12-07 14:34:41.214078334 -0500
+++ debian/rules 2017-12-07 14:41:48.716809380 -0500
@@ -12,7 +12,13 @@
DEB_DH_MAKESHLIBS_ARGS_ALL += -V 'libbonobo2-0 (>= 2.32.1-3~)'
DEB_DH_SHLIBDEPS_ARGS_ALL += -Llibbonobo2-0
DEB_CONFIGURE_LIBEXECDIR := "\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/bonobo-activation"
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-gtk-doc
+else
+DEB_CONFIGURE_EXTRA_FLAGS = --disable-gtk-doc
+endif
+
+DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
install/libbonobo2-common::
rm -f $(CURDIR)/debian/tmp/usr/lib/*/bonobo/servers/broken.server
--- debian/control.in.orig 2017-12-07 14:43:58.129637658 -0500
+++ debian/control.in 2017-12-07 14:44:19.517774972 -0500
@@ -14,8 +14,8 @@
libglib2.0-dev (>= 2.26.0),
libxml2-dev (>= 2.6.7),
libpopt-dev,
- gtk-doc-tools,
- docbook-xml,
+ gtk-doc-tools <!nodoc>,
+ docbook-xml <!nodoc>,
autotools-dev,
libglib2.0-doc
Standards-Version: 3.8.4
More information about the pkg-gnome-maintainers
mailing list