Date: Sat, 22 May 2021 11:38:02 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 256078] textproc/libxml2: Update to 2.9.12 - WIP Message-ID: <bug-256078-39348-wGIDyvz58q@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256078-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-256078-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 256078: textproc/libxml2: Update to 2.9.12 - WIP https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256078 --- Description --- Hi, I've been hacking on libxml2 a bit including converting it to CMake and wou= ld like some input, there are some differences between current version and the= new version that I'm not sure about on how to handle. ./work/stage/usr/local/lib/xml2Conf.sh -- CMAKE -- prefix is expanded XML2_LIBS=3D"-lxml2 -lz -llzma -pthread -lm" -- Autotools -- XML2_LIBS=3D"-lxml2 -lz -L/usr/lib -llzma -L/usr/lib -lm" ./work/stage/usr/local/libdata/pkgconfig/libxml-2.0.pc -- CMAKE -- Libs.private: -pthread -lz -llzma -lm -- Autotools -- Libs.private: -lz -L/usr/lib -llzma -L/usr/lib -lm Questions: Is -L/usr/lib needed? From what I can tell CMake doesn't have a variable for this, suggestions are welcome. In worst case we can hardcode it. Current version in ports forces -DPIC cflag, is this needed? https://cgit.freebsd.org/ports/tree/textproc/libxml2/files/patch-Makefile.in make test passes on 13-STABLE (amd64) Motivation for moving to CMake is mainly because it's faster and much easie= r to debug, I do plan to upstream as many changes as possible but perhaps it's futile effort? I'm not sure how to handle py-libxml2 in a sane way. :/ Note for users: https://gitlab.gnome.org/GNOME/libxslt/-/issues/51 https://git.alpinelinux.org/aports/diff/main/libxslt/APKBUILD?id=3D3ec3aafa= 689b13 4df3f999baf8841099c6e8c422 Changes for 2.9.12 https://gitlab.gnome.org/GNOME/libxml2/-/commit/b48e77cf4f6fa0792c5f4b63970= 7a2b 0675e461b Thanks in advance, Daniel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256078-39348-wGIDyvz58q>