Opened 3 years ago
Closed 18 months ago
#64746 closed update (fixed)
Update VTE when compiler selection updated
Reported by: | ctreleaven (Craig Treleaven) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | vte |
Description
VTE now requires a C++20 compiler, see:
https://gitlab.gnome.org/GNOME/vte/-/blob/master/meson.build
However, MacPorts base does not support enforcing C++20 as yet. See #64745
Also, I believe that vte should create a 'opt/local/lib/libvte.dylib' in addtion to the versioned libs but does not with vte 0.56.4.
$ ls -l /opt/local/lib/libvte* -rwxr-xr-x 1 root 423392 Apr 6 2021 /opt/local/lib/libvte-2.91.0.dylib -rw-r--r-- 1 root 621152 Apr 6 2021 /opt/local/lib/libvte-2.91.a lrwxr-xr-x 1 root 19 Apr 6 2021 /opt/local/lib/libvte-2.91.dylib -> libvte-2.91.0.dylib
Hopefully the vte update will provide the unversioned library.
Note that vte now uses the meson build system so the existing port will require some mods.
Change History (5)
comment:1 Changed 3 years ago by ctreleaven (Craig Treleaven)
comment:2 Changed 3 years ago by ctreleaven (Craig Treleaven)
Owner: | set to dbevans |
---|---|
Status: | new → assigned |
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ctreleaven:
I believe that vte should create a 'opt/local/lib/libvte.dylib' in addtion to the versioned libs but does not with vte 0.56.4.
$ ls -l /opt/local/lib/libvte* -rwxr-xr-x 1 root 423392 Apr 6 2021 /opt/local/lib/libvte-2.91.0.dylib -rw-r--r-- 1 root 621152 Apr 6 2021 /opt/local/lib/libvte-2.91.a lrwxr-xr-x 1 root 19 Apr 6 2021 /opt/local/lib/libvte-2.91.dylib -> libvte-2.91.0.dylibHopefully the vte update will provide the unversioned library.
Don't do that. That would make it conflict with the vte-gtk2-compat port.
comment:4 Changed 18 months ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
comment:5 Changed 18 months ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Port updated to require C++20:
https://github.com/macports/macports-ports/commit/8d46f6106ff47269b973fc4fe87e8ae0360bdb63
And now uses legacysupport
/macports-libcxx
, to support 10.12 and earlier:
https://github.com/macports/macports-ports/commit/767173c76928f536baaf6ac8afb0e7eb5db660d0
See #62677