From nobody Sat May 22 11:38:02 2021 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 36B6E8B430D for ; Sat, 22 May 2021 11:38:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FnM0p10lrz3NXP for ; Sat, 22 May 2021 11:38:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F12E8236D0 for ; Sat, 22 May 2021 11:38:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 14MBc1gR081787 for ; Sat, 22 May 2021 11:38:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14MBc1k1081786 for desktop@FreeBSD.org; Sat, 22 May 2021 11:38:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 256078] textproc/libxml2: Update to 2.9.12 - WIP Date: Sat, 22 May 2021 11:38:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: http://lists.freebsd.org/desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256078 Bug ID: 256078 Summary: textproc/libxml2: Update to 2.9.12 - WIP Product: Ports & Packages Version: Latest Hardware: Any URL: http://www.xmlsoft.org/news.html OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: daniel.engberg.lists@pyret.net Flags: maintainer-feedback?(desktop@FreeBSD.org) Assignee: desktop@FreeBSD.org Created attachment 225170 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225170&action= =3Dedit Patch for libxml2 (WIP) 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= 689b134df3f999baf8841099c6e8c422 Changes for 2.9.12 https://gitlab.gnome.org/GNOME/libxml2/-/commit/b48e77cf4f6fa0792c5f4b63970= 7a2b0675e461b Thanks in advance, Daniel --=20 You are receiving this mail because: You are the assignee for the bug.=