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)
Sat, Apr 27, 9:35 AM
Unknown Object (File)
Mon, Apr 22, 5:35 AM
Unknown Object (File)
Mar 2 2024, 8:50 AM
Unknown Object (File)
Jan 19 2024, 7:53 PM
Unknown Object (File)
Jan 13 2024, 3:24 PM
Unknown Object (File)
Jan 13 2024, 12:11 AM
Unknown Object (File)
Jan 10 2024, 4:53 AM
Unknown Object (File)
Jan 2 2024, 2:36 PM
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.