Name avahi
Description
Version 0.8-16
Package Base
Homepage
Maintainers ['Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>']
Contributors ['Michael Biebl <biebl@debian.org>', 'Sjoerd Simons <sjoerd@debian.org>']
Distro-repo https://salsa.debian.org/utopia-team/avahi
Sources ['https://sources.debian.org/data/main/a/avahi/0.8-16/debian/watch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Avoid-infinite-loop-in-avahi-daemon-by-handling-HUP-event.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Do-not-disable-timeout-cleanup-on-watch-cleanup.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Emit-error-if-requested-service-is-not-found.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Ensure-each-label-is-at-least-one-byte-long.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Fetch-build-db-from-upstream-git.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Fix-NULL-pointer-crashes-from-175.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Fix-encoding-of-avahi-common-domain.h-to-be-UTF-8.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/Stop-using-embedded-copy-of-sd-daemon.-c-h-and-use-libsys.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/avahi-discover-Escape-strings-substituted-into-Pango-mark.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/avahi-discover-Fix-invalid-escape-sequences-593.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/common-derive-alternative-host-name-from-its-unescaped-ve.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/core-extract-host-name-using-avahi_unescape_label.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/core-make-sure-there-is-rdata-to-process-before-parsing-i.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/core-no-longer-supply-bogus-services-to-callbacks.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/core-reject-overly-long-TXT-resource-records.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/dbus-Use-non-deprecated-installation-path.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/fix-bytestring-decoding-for-proper-display.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/man-add-missing-bshell.1-symlink.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/series', 'https://sources.debian.org/src/avahi/0.8-16/debian/patches/tests-pass-overly-long-TXT-resource-records.patch']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper', 'debhelper-compat', 'dh-sequence-gir <!nogir>', 'dh-sequence-python3', 'intltool', 'libcap-dev [linux-any]', 'libsystemd-dev [linux-any]', 'libdaemon-dev', 'libdbus-1-dev', 'libexpat-dev', 'libgdbm-dev', 'libgirepository1.0-dev <!nogir>', 'libglib2.0-dev', 'libgtk-3-dev <!pkg.avahi.nogui>', 'pkgconf', 'python-gi-dev <!nopython>', 'python3', 'python3-dbus <!nopython>', 'python3-gdbm', 'python3-gi <!nopython>', 'xmltoman']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f

export PYTHON=/usr/bin/python3

%:
	dh $@

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk

ifneq (linux,$(DEB_HOST_ARCH_OS))
CONFFLAGS += \
	--disable-libsystemd \
	--disable-autoipd
endif

# Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1

ifneq ($(filter pkg.avahi.nogui,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += --disable-gtk3
else
CONFFLAGS += --enable-gtk3
endif

ifneq ($(filter nogir,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += --disable-introspection
else
CONFFLAGS += --enable-introspection
endif

ifneq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
CONFFLAGS += \
	--disable-pygobject \
	--disable-python-dbus
endif

override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS) \
		--enable-compat-libdns_sd \
		--disable-libevent \
		--disable-mono \
		--disable-monodoc \
		--disable-gtk \
		--disable-qt3 \
		--disable-qt4 \
		--disable-qt5 \
		--with-distro=debian \
		--with-systemdsystemunitdir=/usr/lib/systemd/system

execute_after_dh_auto_build:
	# create an up to date PO template
	cd po; intltool-update -p --verbose

execute_after_dh_auto_clean:
	rm -f po/*.pot

execute_after_dh_auto_install:
ifeq (linux,$(DEB_HOST_ARCH_OS))
	mv debian/tmp/etc/dhcp/dhclient-exit-hooks.d/avahi-autoipd \
		debian/tmp/etc/dhcp/dhclient-exit-hooks.d/zzz_avahi-autoipd
endif

execute_before_dh_missing:
	find debian/tmp -name '*.la' -print -delete
	rm -f debian/tmp/etc/init.d/avahi-daemon
	rm -f debian/tmp/etc/init.d/avahi-dnsconfd
	rm -f debian/tmp/usr/bin/avahi-discover-standalone
	rm -f debian/tmp/usr/share/man/man1/avahi-bookmarks.1

override_dh_installdocs:
	dh_installdocs --all docs/NEWS docs/README

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog