Name libxslt
Description
Version 1.1.35-1.2+deb13u2
Package Base
Homepage
Maintainers ['Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>']
Contributors ['Aron Xu <aron@debian.org>', 'YunQiang Su <syq@debian.org>,']
Distro-repo https://salsa.debian.org/xml-sgml-team/libxslt
Sources ['https://sources.debian.org/data/main/libx/libxslt/1.1.35-1.2+deb13u2/debian/watch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0001-fix-autoconf-automake.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0002-Make-generate-id-deterministic.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0003-remove-plugin-in-xslt-config.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0004-do-not-clean-manpage.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0005-Drop-libdir-and-static-linking-information-from-xslt.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0010_missing_include.diff', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0011_libgcrypt_pkgconfig.diff', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0012-CVE-2024-55549-Fix-UAF-related-to-excluded-namespace.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0013-CVE-2025-24855-Fix-use-after-free-of-XPath-context-n.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0014-Don-t-declare-disabled-functions.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0015-Infrastructure-to-store-extra-data-in-source-nodes.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0016-Store-key-status-of-source-nodes-as-bit-flag.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0017-Make-generate-id-deterministic.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0018-malloc-fail-Fix-memory-leak-in-xsltEvalGlobalVariabl.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0019-variables-Fix-non-deterministic-generated-IDs.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/0020-Clean-up-attributes-in-source-doc.patch', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/gnome-libxslt-bug-139-apple-fix.diff', 'https://sources.debian.org/src/libxslt/1.1.35-1.2+deb13u2/debian/patches/series']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'docbook-xsl', 'libgcrypt20-dev', 'libxml2-dev', 'perl', 'pkg-config', 'rename']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

CONFIGURE_FLAGS := --without-python --with-history --disable-static

TARGETS := main

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

override_dh_auto_clean:
	rm -rf builddir debian/tmp-dbg config.sub config.guess autogen.sh
	dh_auto_clean

override_dh_auto_test:
	:

override_dh_auto_install:
	dh_auto_install

	# https://lintian.debian.org/tags/non-empty-dependency_libs-in-la-file.html
	sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la

	# Move arch-specific headers into /usr/include/<triplet>/libxslt
	mkdir -pv debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/libxslt
	mv -v debian/tmp/usr/include/libxslt/xsltconfig.h debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/libxslt

	find debian/ -name *.la -delete

override_dh_installdocs:
	dh_installdocs -a -A AUTHORS FEATURES NEWS README TODO

override_dh_installchangelogs:
	dh_installchangelogs -a ChangeLog

override_dh_compress:
	dh_compress -a -Xexamples/

override_dh_makeshlibs:
	dh_makeshlibs -a -V 'libxslt1.1 (>= 1.1.26)' -- -c4

override_dh_missing:
	dh_missing --fail-missing

%:
	dh $@