Page MenuHomeFreeBSD

textproc/libxslt: Update to 1.1.35 and switch to CMake
ClosedPublic

Authored by diizzy on Feb 26 2022, 6:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 25, 1:49 PM
Unknown Object (File)
Sat, Apr 19, 5:00 AM
Unknown Object (File)
Sat, Apr 19, 4:58 AM
Unknown Object (File)
Sat, Apr 19, 4:52 AM
Unknown Object (File)
Sat, Apr 19, 4:51 AM
Unknown Object (File)
Sat, Apr 19, 4:50 AM
Unknown Object (File)
Mar 13 2025, 12:30 PM
Unknown Object (File)
Feb 25 2025, 11:15 AM
Subscribers

Details

Summary

Update to 1.1.35
Convert to CMake
Only tested with https://reviews.freebsd.org/D34338

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

diizzy created this revision.

Compile and tested on FreeBSD 13.0-STABLE #2 stable/13-n248607-93a95ebbf7c (amd64) (make, make check-plist,make test)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 13.0-RELEASE (i386)

I would also appreciate some guidence regarding libxslt's pkgconfig (pc) file(s)

--==libxslt==---

Old:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: libxslt
Version: 1.1.34
Description: XSLT library version 2.
Requires: libxml-2.0
Cflags: -I${includedir}
Libs: -L${libdir} -lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm
Libs.private: -lm

New:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include


Name: libxslt
Version: 1.1.35
Description: XSLT library version 2.
Requires: libxml-2.0
Cflags: -I${includedir}
Libs: -L${libdir} -lxslt
Libs.private: -lm

--==libexslt==--

Old:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: libexslt
Version: 0.8.20
Description: EXSLT Extension library
Requires: libxml-2.0
Cflags: -I${includedir}
Libs: -L${libdir} -lexslt -lxslt -L/usr/local/lib -lxml2 -lz -llzma -lm
Libs.private: -lm -L/usr/local/lib -lgcrypt -lgpg-error

New:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include


Name: libexslt
Version: 0.8.20
Description: EXSLT Extension library
Requires: libxml-2.0, libxslt
Cflags: -I${includedir}
Libs: -L${libdir} -lexslt
Libs.private: -lm -lgcrypt

Fix prefix path in pkgconfig (.pc) files

mandree requested changes to this revision.Mar 9 2022, 6:07 PM

as discussed on IRC, the xslt-config and pkg-config module need to make sure the app links to libxml2 and finds its headers.
we also agreed that share/aclocal/libxslt.m4 ships. This all is to be seen in context with D34338.

This revision now requires changes to proceed.Mar 9 2022, 6:07 PM

Adjust include dirs in xslt-config
Install m4 file
Enable profiler
Create plugin directory

This revision was not accepted when it landed; it landed in state Needs Review.Mar 25 2022, 5:15 PM
This revision was automatically updated to reflect the committed changes.