Package: libxslt Version: 1.1.39 Revision: 1 BuildDependsOnly: true Maintainer: The Gnome Core Team BuildDepends: << fink (>= 0.32), fink-package-precedence, libiconv-dev, libxml2 (>= 2.12.4-1) << Depends: %N-bin (= %v-%r), %N-shlibs (= %v-%r) Source: mirror:gnome:sources/%n/1.1/%n-%v.tar.xz Source-Checksum: SHA256(2a20ad621148339b0759c4d4e96719362dee64c9a096dbba625ba053846349f0) PatchFile: %n.patch PatchFile-MD5: 41392ba1fe7f451e9445844cca47d811 # Upstream patch for # https://gitlab.gnome.org/GNOME/libxslt/-/issues/104 PatchFile2: %n-locale-collation.patch PatchFile2-MD5: 972d5f4908054c0998d64040a6c6a8aa PatchScript: << %{default_script} perl -pi -e 's,/etc,%p/etc,g' doc/*.html doc/*.1 xsltproc/xsltproc.c << ConfigureParams: << --without-crypto \ --disable-static \ --without-python \ --enable-dependency-tracking \ --disable-silent-rules \ XSLTPROC=/usr/bin/true << CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep=%n . << InfoTest: TestScript: make check || exit 2 InstallScript: << make install DESTDIR=%d << DocFiles: AUTHORS COPYING Copyright FEATURES NEWS README.md TODO SplitOff: << Package: %N-shlibs Replaces: %N (<< 1.0.15-2) Depends: << libiconv, libxml2-shlibs (>= 2.12.4-1) << Description: XML stylsheet transformation shared libraries Files: lib/libexslt.0*.dylib lib/libxslt.1*.dylib lib/libxslt-plugins Shlibs: << %p/lib/libexslt.0.dylib 9.0.0 %n (>= 1.1.0-1) %p/lib/libxslt.1.dylib 3.0.0 %n (>= 1.1.0-1) << DocFiles: AUTHORS COPYING Copyright FEATURES NEWS README.md TODO << SplitOff2: << Package: %N-bin Replaces: %N (<= 1.1.8-1) Depends: << %N-shlibs (= %v-%r), libiconv, libxml2-shlibs (>= 2.12.4-1) << Description: XML stylsheet utility (xsltproc) Files: bin/xsltproc share/man/man1/xsltproc.1 DocFiles: AUTHORS COPYING Copyright FEATURES NEWS README.md TODO << Description: XML stylesheet transformation library DescDetail: << This set of packages does *not* contain the python bindings. Those are in libxslt-pyXX for various pythonX.X versions. << DescPackaging: << xsltproc moved from %N in 1.1.8-1 to %N-bin in 1.1.8-2 because pkgs need it at runtime but %N is the headers and is BuildDepensOnly:true so cannot be listed in a Depends. Added %N:Depends:%N-bin so that pkgs that depended on %N because they need xsltproc don't have to be changed. All crypto support in libexslt is disabled to avoid needing libgcrypt. See: http://bugzilla.gnome.org/show_bug.cgi?id=538358 Avoid circular dependency with xsltproc: use system's at compile-time (for building included docs) Hide xsltproc executable from ./configure to avoid circular dependency and network access during build. Fortunately, this executable is only used to build docs that already come prebuilt (we patch the targets instead of patching sources and rebuilding). Update some target timestamps to prevent rebuilding. As of 1.1.29-1, scrap static lib, which means we can avoid publishing any internal-implementation flags. See also Debian's 0001-patch-xslt-config-to-add-private-libraries.patch 0002-fix-autoconf-automake.patch Avoid overly-verbose publishing of flags via .pc. See: https://gitlab.gnome.org/GNOME/libxslt/-/issues/53 Follow Debian's lead in assuming all linking is dynamic and remove --dynamic from *-config, but be lenient and don't have *-config crash when the flag is passed. But also don't pass that flag when calling that script outselves. << License: BSD Homepage: http://www.xmlsoft.org/XSLT/