Warning: there may be occasional oddness due to css and blog edits. **Active remodel of blog posts - mostly starting with most recent** 70/86
Showing posts with label update. Show all posts
Showing posts with label update. Show all posts

Wednesday, October 22, 2025

xlibre in place update

Since I recently noted an update to the xlibre-ports in their git repo, I decided that I would try to see how updating in place might work.  The commit that I see as most useful for this is Moved everything to the latest upstream version. because "Both the servers and the drivers are moved to their latest version." was the purpose of changes in the commit.

My first step is to change to the xlibre-ports directory and issue git pull to update my local copy.  I know that right now my system may be a hodge podge of various ports or packages, and any minor changes I made in the xlibre-ports directory are undone.  My changes might not be needed, but I will still monitor the build process to "fast forward" any dependencies by installing via pkg.  As you can see, there have been quite a few changes and a lot of additions.

root@ichigo:/home/tigersharke/xlibre-ports # git pull
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 100 (delta 24), reused 26 (delta 24), pack-reused 68 (from 1)
Receiving objects: 100% (100/100), 23.30 KiB | 23.30 MiB/s, done.
Resolving deltas: 100% (33/33), completed with 24 local objects.
From https://github.com/b-aaz/xlibre-ports
   b920d89..bf5c560  master     -> origin/master
Updating b920d89..bf5c560
Fast-forward
 .ci/run.sh                                                                        | 410 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .ci/srch.c                                                                        |  46 +++++++++++++
 .ci/usleep.c                                                                      |  16 +++++
 .ci/vm.sh                                                                         | 161 ++++++++++++++++++++++++++++++++++++++++++++
 .cirrus.yml                                                                       | 247 +++++++++++++++++++++++++++++++++++++-------------------------------
 README.md                                                                         |  38 ++++++-----
 x11-drivers/xlibre-drivers/Makefile                                               |  14 +++-
 x11-drivers/xlibre-xf86-input-elographics/Makefile                                |   3 +-
 x11-drivers/xlibre-xf86-input-elographics/distinfo                                |   6 +-
 x11-drivers/xlibre-xf86-input-evdev/Makefile                                      |   7 +-
 x11-drivers/xlibre-xf86-input-evdev/distinfo                                      |   6 +-
 x11-drivers/xlibre-xf86-input-joystick/Makefile                                   |   5 +-
 x11-drivers/xlibre-xf86-input-joystick/distinfo                                   |   6 +-
 x11-drivers/xlibre-xf86-input-joystick/dragonfly/patch-configure.ac               |  26 ++++++++
 x11-drivers/xlibre-xf86-input-joystick/dragonfly/patch-src_backend__bsd.c         |  30 +++++++++
 x11-drivers/xlibre-xf86-input-keyboard/Makefile                                   |   3 +-
 x11-drivers/xlibre-xf86-input-keyboard/distinfo                                   |   6 +-
 x11-drivers/xlibre-xf86-input-libinput/Makefile                                   |   4 +-
 x11-drivers/xlibre-xf86-input-libinput/distinfo                                   |   6 +-
 x11-drivers/xlibre-xf86-input-mouse/Makefile                                      |   3 +-
 x11-drivers/xlibre-xf86-input-mouse/distinfo                                      |   6 +-
 x11-drivers/xlibre-xf86-input-mouse/files/patch-src-bsd_mouse.c                   |  10 ++-
 x11-drivers/xlibre-xf86-input-synaptics/Makefile                                  |   3 +-
 x11-drivers/xlibre-xf86-input-synaptics/distinfo                                  |   6 +-
 x11-drivers/xlibre-xf86-input-vmmouse/Makefile                                    |  21 +++++-
 x11-drivers/xlibre-xf86-input-vmmouse/distinfo                                    |   6 +-
 x11-drivers/xlibre-xf86-input-vmmouse/dragonfly/patch-configure.ac                |  29 ++++++++
 x11-drivers/xlibre-xf86-input-void/Makefile                                       |   3 +-
 x11-drivers/xlibre-xf86-input-void/distinfo                                       |   6 +-
 x11-drivers/xlibre-xf86-input-wacom/Makefile                                      |   8 ++-
 x11-drivers/xlibre-xf86-input-wacom/distinfo                                      |   6 +-
 x11-drivers/xlibre-xf86-video-amdgpu/Makefile                                     |   4 +-
 x11-drivers/xlibre-xf86-video-amdgpu/distinfo                                     |   6 +-
 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-configure.ac                 |  19 ++++++
 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-src_amdgpu__bo__helper.c     |  20 ++++++
 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-src_amdgpu__kms.c            |  16 +++++
 x11-drivers/xlibre-xf86-video-ast/Makefile                                        |   7 +-
 x11-drivers/xlibre-xf86-video-ast/distinfo                                        |   6 +-
 x11-drivers/xlibre-xf86-video-ati/Makefile                                        |   4 +-
 x11-drivers/xlibre-xf86-video-ati/distinfo                                        |   6 +-
 x11-drivers/xlibre-xf86-video-ati/dragonfly/dragonfly/patch-src_radeon__kms.c     |  30 +++++++++
 x11-drivers/xlibre-xf86-video-ati/dragonfly/dragonfly/patch-src_radeon__probe.c   |  25 +++++++
 x11-drivers/xlibre-xf86-video-ati/dragonfly/patch-src_radeon__kms.c               |  38 +++++++++++
 x11-drivers/xlibre-xf86-video-ati/dragonfly/patch-src_radeon__probe.c             |  20 ++++++
 x11-drivers/xlibre-xf86-video-dummy/Makefile                                      |   3 +-
 x11-drivers/xlibre-xf86-video-dummy/distinfo                                      |   6 +-
 x11-drivers/xlibre-xf86-video-intel/Makefile                                      |  15 ++++-
 x11-drivers/xlibre-xf86-video-intel/distinfo                                      |   6 +-
 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_intel__device.c           |  23 +++++++
 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_sna_kgem.c                |  21 ++++++
 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_sna_sna__video.c          |  12 ++++
 x11-drivers/xlibre-xf86-video-mga/Makefile                                        |   5 +-
 x11-drivers/xlibre-xf86-video-mga/distinfo                                        |   6 +-
 x11-drivers/xlibre-xf86-video-nv/Makefile                                         |   9 ++-
 x11-drivers/xlibre-xf86-video-nv/distinfo                                         |   6 +-
 x11-drivers/xlibre-xf86-video-qxl/Makefile                                        |   3 +-
 x11-drivers/xlibre-xf86-video-qxl/distinfo                                        |   6 +-
 x11-drivers/xlibre-xf86-video-vesa/Makefile                                       |   5 +-
 x11-drivers/xlibre-xf86-video-vesa/distinfo                                       |   6 +-
 x11-drivers/xlibre-xf86-video-vesa/files/patch-src_vesa.c                         |  15 -----
 x11-drivers/xlibre-xf86-video-vmware/Makefile                                     |   3 +-
 x11-drivers/xlibre-xf86-video-vmware/distinfo                                     |   6 +-
 x11-servers/xlibre-server/Makefile.common                                         |   7 +-
 x11-servers/xlibre-server/Makefile.version                                        |   2 +-
 x11-servers/xlibre-server/distinfo                                                |   6 +-
 x11-servers/xlibre-server/dragonfly/patch-config_udev.c                           |  47 +++++++++++++
 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_common_xf86AutoConfig.c      |  12 ++++
 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_drivers_modesetting_driver.c |  11 ++++
 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_os-support_meson.build       |  20 ++++++
 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_xorg-wrapper.c               |  20 ++++++
 x11-servers/xlibre-server/files/patch-hw_xfree86_compat_ones.c                    |  15 +++++
 x11-servers/xlibre-server/files/patch-meson.build                                 |  11 ++++
 72 files changed, 1401 insertions(+), 254 deletions(-)
 create mode 100755 .ci/run.sh
 create mode 100644 .ci/srch.c
 create mode 100644 .ci/usleep.c
 create mode 100755 .ci/vm.sh
 create mode 100644 x11-drivers/xlibre-xf86-input-joystick/dragonfly/patch-configure.ac
 create mode 100644 x11-drivers/xlibre-xf86-input-joystick/dragonfly/patch-src_backend__bsd.c
 create mode 100644 x11-drivers/xlibre-xf86-input-vmmouse/dragonfly/patch-configure.ac
 create mode 100644 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-configure.ac
 create mode 100644 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-src_amdgpu__bo__helper.c
 create mode 100644 x11-drivers/xlibre-xf86-video-amdgpu/dragonfly/patch-src_amdgpu__kms.c
 create mode 100644 x11-drivers/xlibre-xf86-video-ati/dragonfly/dragonfly/patch-src_radeon__kms.c
 create mode 100644 x11-drivers/xlibre-xf86-video-ati/dragonfly/dragonfly/patch-src_radeon__probe.c
 create mode 100644 x11-drivers/xlibre-xf86-video-ati/dragonfly/patch-src_radeon__kms.c
 create mode 100644 x11-drivers/xlibre-xf86-video-ati/dragonfly/patch-src_radeon__probe.c
 create mode 100644 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_intel__device.c
 create mode 100644 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_sna_kgem.c
 create mode 100644 x11-drivers/xlibre-xf86-video-intel/dragonfly/patch-src_sna_sna__video.c
 delete mode 100644 x11-drivers/xlibre-xf86-video-vesa/files/patch-src_vesa.c
 create mode 100644 x11-servers/xlibre-server/dragonfly/patch-config_udev.c
 create mode 100644 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_common_xf86AutoConfig.c
 create mode 100644 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_drivers_modesetting_driver.c
 create mode 100644 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_os-support_meson.build
 create mode 100644 x11-servers/xlibre-server/dragonfly/patch-hw_xfree86_xorg-wrapper.c
 create mode 100644 x11-servers/xlibre-server/files/patch-hw_xfree86_compat_ones.c
 create mode 100644 x11-servers/xlibre-server/files/patch-meson.build
root@ichigo:/home/tigersharke/xlibre-ports #

As before, the instruction tells me:

  1. git clone https://github.com/b-aaz/xlibre-ports.git
  2. cd xlibre-ports/
  3. echo "OVERLAYS=$(pwd)/" >> /etc/make.conf
  4. make clean
  5. make install

Since I just updated by git pull in my previously cloned directory, that step is satisfied.  This being done after my previous install, the overlays step is done as well.  The main change is that since things were already installed, I need to make reinstall instead.  Right after I initiated the command, I realized that I probably should have updated the ports tree as well.  I am not sure how this would affect the result.

It turns out that everything built and installed, no problems at all.  Unfortunately I should update the ports tree and reinstall xlibre-ports again.  This may change the result, and I have not yet proved everything works by exiting FVWM3 without or with a reboot first.  I usually use net/gitup to handle ports tree updates but it wasn't reinstalled from the last time it was removed with everything else, so I did a pkg install gitup for it.  Once the ports tree is updated I repeat the make reinstall for xlibre-ports and see what happens next.

What I was expecting I guess was that anything from ports might get drawn in but either I try to go to each and every tangential dependency to update it by building from ports, or I try to update everything on the system via pkg and see what happens next.  I should reinstall xlibre-ports after this of course, which would be my third reinstall this session while writing a blog post about it.  The pkg upgrade is rather large.

root@ichigo:/home/tigersharke/xlibre-ports # pkg upgrade
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (405 candidates): 100%
Processing candidates (405 candidates): 100%
The following 185 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        libwacom: 2.12.1 [FreeBSD-ports]
        py311-libevdev: 0.11_2 [FreeBSD-ports]
        spirv-llvm-translator-llvm19: 19.1.12 [FreeBSD-ports]
        xbacklight: 1.2.3_1 [FreeBSD-ports]

Installed packages to be UPGRADED:
        Imath: 3.2.1 -> 3.2.2 [FreeBSD-ports]
        bash: 5.3.3_1 -> 5.3.3_2 [FreeBSD-ports]
        drm-66-kmod: 6.6.25.1500066_5 -> 6.6.25.1500067_5 [FreeBSD-ports]
        firefox: 143.0.3,2 -> 144.0_2,2 [FreeBSD-ports]
        freetype2: 2.13.3 -> 2.14.1 [FreeBSD-ports]
        git: 2.51.0 -> 2.51.1 [FreeBSD-ports]
        go124: 1.24.7 -> 1.24.9 [FreeBSD-ports]
        gperf: 3.2.1_1 -> 3.3 [FreeBSD-ports]
        gpu-firmware-amd-kmod-aldebaran: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-arcturus: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-banks: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-beige-goby: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-bonaire: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-carrizo: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-cyan-skillfish2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dcn-3-1-4: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dcn-3-1-5: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dcn-3-1-6: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dcn-3-2-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dcn-3-2-1: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-dimgrey-cavefish: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-fiji: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-10-3-6: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-10-3-7: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-11-0-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-11-0-1: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-11-0-2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-11-0-3: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-gc-11-0-4: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-green-sardine: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-hainan: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-hawaii: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-kabini: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-kaveri: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-mullins: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-navi10: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-navi12: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-navi14: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-navy-flounder: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-oland: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-picasso: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-pitcairn: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-polaris10: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-polaris11: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-polaris12: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-10: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-11: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-4: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-5: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-7: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-psp-13-0-8: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-raven: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-raven2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-renoir: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-5-2-6: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-5-2-7: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-6-0-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-6-0-1: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-6-0-2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sdma-6-0-3: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-si58: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-sienna-cichlid: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-smu-13-0-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-smu-13-0-10: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-smu-13-0-7: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-stoney: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-tahiti: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-tonga: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-topaz: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vangogh: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vcn-3-1-2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vcn-4-0-0: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vcn-4-0-2: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vcn-4-0-4: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vega10: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vega12: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vega20: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-vegam: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-verde: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-amd-kmod-yellow-carp: 20230625.1500066_2 -> 20230625.1500067_2 [FreeBSD-ports]
        gpu-firmware-intel-kmod-alderlake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-broxton: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-cannonlake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-dg1: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-dg2: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-elkhartlake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-geminilake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-icelake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-kabylake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-rocketlake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-skylake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-intel-kmod-tigerlake: 20230625.1500066 -> 20230625.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-aruba: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-barts: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-bonaire: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-btc: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-caicos: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-cayman: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-cedar: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-cypress: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-hainan: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-hawaii: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-juniper: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-kabini: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-kaveri: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-mullins: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-oland: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-palm: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-pitcairn: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r100: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r200: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r300: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r420: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r520: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r600: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-r700: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-redwood: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rs600: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rs690: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rs780: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv610: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv620: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv630: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv635: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv670: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv710: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv730: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv740: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-rv770: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-sumo: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-sumo2: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-tahiti: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-turks: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gpu-firmware-radeon-kmod-verde: 20220511.1500066 -> 20220511.1500067 [FreeBSD-ports]
        gtk-doc: 1.33.2_3 -> 1.35.1 [FreeBSD-ports]
        gtk3: 3.24.50 -> 3.24.51 [FreeBSD-ports]
        libgpg-error: 1.55 -> 1.56 [FreeBSD-ports]
        libheif: 1.19.8_2 -> 1.19.8_3 [FreeBSD-ports]
        libnghttp2: 1.67.0 -> 1.67.1 [FreeBSD-ports]
        librsvg2-rust: 2.60.0_5 -> 2.60.0_6 [FreeBSD-ports]
        libunistring: 1.4 -> 1.4.1 [FreeBSD-ports]
        mpg123: 1.33.2 -> 1.33.3 [FreeBSD-ports]
        nss: 3.116 -> 3.117 [FreeBSD-ports]
        openexr: 3.4.0 -> 3.4.1_1 [FreeBSD-ports]
        openjpeg: 2.5.3 -> 2.5.4 [FreeBSD-ports]
        openjph: 0.22.0 -> 0.24.1 [FreeBSD-ports]
        p5-URI: 5.32_1 -> 5.34 [FreeBSD-ports]
        py311-cython3: 3.1.3 -> 3.1.4 [FreeBSD-ports]
        py311-markupsafe: 3.0.2 -> 3.0.3 [FreeBSD-ports]
        py311-pyparsing: 3.2.3 -> 3.2.5 [FreeBSD-ports]
        py311-trove-classifiers: 2025.8.26.11 -> 2025.9.11.17 [FreeBSD-ports]
        python311: 3.11.13_1 -> 3.11.14 [FreeBSD-ports]
        rust: 1.89.0 -> 1.90.0_1 [FreeBSD-ports]
        tiff: 4.7.0 -> 4.7.1 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        autoconf-2.72 [FreeBSD-ports] (options changed)
        automake-1.17 [FreeBSD-ports] (options changed)
        ccache-3.7.12_8 [FreeBSD-ports] (options changed)
        cmake-core-3.31.9 [FreeBSD-ports] (options changed)
        cunit-2.1.3_3 [FreeBSD-ports] (options changed)
        gettext-tools-0.23.1_1 [FreeBSD-ports] (options changed)
        gmake-4.4.1 [FreeBSD-ports] (options changed)
        libevent-2.1.12 [FreeBSD-ports] (direct dependency removed: openssl)
        libinput-1.28.1 [FreeBSD-ports] (options changed)
        libmysofa-1.3.3 [FreeBSD-ports] (options changed)
        libspice-server-0.16.0 [FreeBSD-ports] (direct dependency changed: cyrus-sasl)
        libtextstyle-0.23.1 [FreeBSD-ports] (options changed)
        m4-1.4.19_1,1 [FreeBSD-ports] (options changed)
        mesa-dri-24.1.7_9 [FreeBSD-ports] (options changed)
        mesa-libs-24.1.7_1 [FreeBSD-ports] (options changed)
        ninja-1.13.1,4 [FreeBSD-ports] (options changed)
        openal-soft-1.24.3 [FreeBSD-ports] (options changed)
        openssl-3.0.18,1 [FreeBSD-ports] (options changed)
        pkgconf-2.4.3,1 [FreeBSD-ports] (options changed)
        rhash-1.4.4_1 [FreeBSD-ports] (options changed)
        ruby-3.3.9,1 [FreeBSD-ports] (direct dependency changed: libunwind)
        ruby33-gems-3.7.2 [FreeBSD-ports] (options changed)
        sdl2-2.32.8 [FreeBSD-ports] (options changed)
        sdl2_ttf-2.24.0 [FreeBSD-ports] (options changed)
        webcamd-5.17.1.2_2 [FreeBSD-ports] (options changed)
        xorg-apps-7.7_4 [FreeBSD-ports] (options changed)

Number of packages to be installed: 4
Number of packages to be upgraded: 155
Number of packages to be reinstalled: 26

The process will require 58 MiB more space.
455 MiB to be downloaded.

Interesting, when I try to make reinstall it seems something changed and now I get this error.  My guess is that any number of 'options changed' as indicated above with the pkg upgrade might be affecting this.

checking whether to build static libraries...  no
checking pkg-config is at least version 0.25...  yes
Package bzip2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bzip2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bzip2', required by 'freetype2', not found
checking if RANDR is defined...  no
Package bzip2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bzip2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bzip2', required by 'freetype2', not found
checking if XINPUT is defined...  no
checking for xorg-server >= 1.18.0 xproto ...  no
configure: error: Package requirements (xorg-server >= 1.18.0 xproto ) were not met:

Package 'bzip2', required by 'freetype2', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to b-aazbsd@proton.me [maintainer] and attach the
"/home/tigersharke/xlibre-ports/x11-drivers/xlibre-xf86-input-elographics/work/xf86-input-elographics-xlibre-xf86-input-elographics-1.4.4.2/config.log"
including the output of the failure of your make command.  Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g.  a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[3]: stopped making "deinstall install" in /home/tigersharke/xlibre-ports/x11-drivers/xlibre-xf86-input-elographics
*** Error code 1

Stop.
make[2]: stopped making "reinstall" in /home/tigersharke/xlibre-ports/x11-drivers/xlibre-xf86-input-elographics
*** Error code 1

Stop.
make[1]: stopped making "reinstall" in /home/tigersharke/xlibre-ports/x11-drivers
*** Error code 1

Stop.
make: stopped making "reinstall" in /home/tigersharke/xlibre-ports

A pkg install bzip2 should have cured this, but considering that I forgot to clean the prior xlibre-ports build attempt, I went to print/freetype2 to rebuild it from ports also.  I solved this issue one way or another, but it seems quite odd, because I had previously installed freetype2 by pkg (note the pkg upgrade above), so if bzip2 was a dependency but missing, pkg ought to have added that as well.  To test what I should have done, I wanted to remove bzip2 but now that is tied to everything, and so I did not.

root@ichigo:/home/tigersharke/xlibre-ports # pkg remove bzip2
Updating database digests format: 100%
Checking integrity...  done (0 conflicting)
Deinstallation has been requested for the following 102 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        bluefish: 2.2.17_1
        bzip2: 1.0.8_1
        cairo: 1.18.2,3
        croscorefonts: 1.31.0_2
        dclock: 2.2.2_2
        dejavu: 2.37_3
        droid-fonts-ttf: 20131024_5
        feh: 3.11.2
        ffmpeg: 6.1.2_16,1
        firefox: 144.0_2,2
        font-adobe-100dpi: 1.0.3_4
        font-adobe-75dpi: 1.0.3_4
        font-adobe-utopia-100dpi: 1.0.4_4
        font-adobe-utopia-75dpi: 1.0.4_4
        font-adobe-utopia-type1: 1.0.4_4
        font-arabic-misc: 1.0.3_4
        font-bh-100dpi: 1.0.3_4
        font-bh-75dpi: 1.0.3_4
        font-bh-lucidatypewriter-100dpi: 1.0.3_4
        font-bh-lucidatypewriter-75dpi: 1.0.3_4
        font-bh-ttf: 1.0.3_5
        font-bh-type1: 1.0.3_4
        font-bitstream-100dpi: 1.0.3_4
        font-bitstream-75dpi: 1.0.3_4
        font-bitstream-type1: 1.0.3_4
        font-cronyx-cyrillic: 1.0.3_4
        font-cursor-misc: 1.0.3_4
        font-daewoo-misc: 1.0.3_4
        font-dec-misc: 1.0.3_4
        font-ibm-type1: 1.0.3_4
        font-isas-misc: 1.0.3_4
        font-jis-misc: 1.0.3_4
        font-micro-misc: 1.0.3_4
        font-misc-cyrillic: 1.0.3_4
        font-misc-ethiopic: 1.0.4
        font-misc-meltho: 1.0.3_5
        font-misc-misc: 1.1.2_4
        font-mutt-misc: 1.0.3_4
        font-schumacher-misc: 1.1.2_4
        font-screen-cyrillic: 1.0.4_4
        font-sony-misc: 1.0.3_4
        font-sun-misc: 1.0.3_4
        font-winitzki-cyrillic: 1.0.3_4
        font-xfree86-type1: 1.0.4_4
        fontconfig: 2.15.0_3,1
        freetype2: 2.14.1
        fvwm3-dev: g20250224
        gstreamer1-plugins: 1.26.6
        gtk3: 3.24.51
        gucharmap: 17.0.0
        harfbuzz: 10.3.0
        imlib2: 1.12.5_1,2
        libXfont2: 2.0.6
        libXft: 2.3.8
        libass: 0.17.4
        libheif: 1.19.8_3
        librsvg2-rust: 2.60.0_6
        libspice-server: 0.16.0
        luanti-dev: g20251021
        mkfontscale: 1.2.3
        pango: 1.56.4
        sdl2_ttf: 2.24.0
        spleen-font: 2.1.0
        x11perf: 1.6.1_1
        xcalc: 1.1.2_1
        xclock: 1.0.9_1
        xlibre: 0.1
        xlibre-drivers: 0.1
        xlibre-ephyr: 25.0.0.12
        xlibre-nest: 25.0.0.12
        xlibre-server: 25.0.0.12
        xlibre-vfb: 25.0.0.12
        xlibre-xf86-input-elographics: 1.4.4.2
        xlibre-xf86-input-evdev: 2.11.0.2
        xlibre-xf86-input-joystick: 1.6.4.1_1
        xlibre-xf86-input-keyboard: 2.1.0.2
        xlibre-xf86-input-libinput: 1.5.1.0
        xlibre-xf86-input-mouse: 1.9.5.2
        xlibre-xf86-input-synaptics: 1.10.0.2
        xlibre-xf86-input-vmmouse: 13.2.0.2_1
        xlibre-xf86-input-void: 1.4.2.2
        xlibre-xf86-input-wacom: 1.2.3.2
        xlibre-xf86-video-amdgpu: 23.0.0.5
        xlibre-xf86-video-ast: 1.2.0.1
        xlibre-xf86-video-ati: 22.0.0.3
        xlibre-xf86-video-dummy: 0.4.1.2
        xlibre-xf86-video-intel: 3.0.0.4
        xlibre-xf86-video-mga: 2.1.0.1_1
        xlibre-xf86-video-nv: 2.1.23.1_1
        xlibre-xf86-video-qxl: 0.1.6.2
        xlibre-xf86-video-vesa: 2.6.0.3_1
        xlibre-xf86-video-vmware: 13.4.0.3
        xorg-apps: 7.7_4
        xorg-fonts: 7.7_1
        xorg-fonts-100dpi: 7.7
        xorg-fonts-75dpi: 7.7
        xorg-fonts-cyrillic: 7.7
        xorg-fonts-miscbitmaps: 7.7
        xorg-fonts-truetype: 7.7_1
        xorg-fonts-type1: 7.7
        xorg-libraries: 7.7_6
        xterm: 402

Number of packages to be removed: 102

The operation will free 631 MiB.

Proceed with deinstalling packages? [y/N]: n

After a substantial build process, I am finally at the last test to prove this update was completely 100% successful.  First I will test simply leaving FVWM3 and doing a startx again, after that, I will try a reboot and see if it still works.  An exit from FVWM3 and return worked fine but surely anything that might be broken or missing is still functioning from memory, so thats why the reboot is ultimate proof, and possible prelude to attempting to fix whatever didn't work correctly.

It turned out that things mostly worked again except that once more, without reinstalling graphics/drm-kmod, the graphics were using the vesa driver.  My attempt to correct this should have been simple but I managed to fall off the map and into trouble.  I couldn't manage to get graphics to work properly, and even succeeded to break them more.  I ran into the same issue as I did long ago, with amdgpu_picasso_gpu_info_bin.ko somehow in conflict or not found.  I know that this was due to me trying graphics/drm-latest-kmod.  I eventually removed everything in /boot/modules but then couldn't figure out how to repopulate it with all of the assorted files including amdgpu_picasso_gpu_info_bin.ko.  Removing graphics/drm-latest-kmod and installing graphics/drm-kmod didn't fix the missing files, and neither did graphics/gpu-firmware-kmod, although I believe that really should have been the proper fix.

I knew how to cure my situation, again.  Remove it all and start over.  The same way I did before with pkg delete -a -f and piece by piece reinstall all the parts so that when I rebooted, I was finally greeted with my configured rather tiny text right before the login prompt instead of a fatal error panic reboot.  My problems with the update of xlibre-ports was not the fault of xlibre-ports, but it was I am fairly certain, simply my missteps afterwards, when trying to get the missing drm-kmod installed so that my amdgpu would be used.

Sunday, November 3, 2024

Luanti minetest fallout

It had been mentioned long ago that minetest ought to change its name.  This was considered necessary for the minetest engine to be viewed apart from minetest the minecraft-esque game.  Distancing itself from a very specific type of voxel game would allow for the engine to be used for a greater variety of game development using the engine, much like godot and others.  The change to the name of the executable, and all references to it in most places in the code and supporting files, and the eventual switch to a git repo with its name cause a lot of upheaval.

The new name for the engine is Luanti, is a sensible and meaningful name even if some won't change their thinking of it and may continue to refer to it as minetest.  Many paths once had a minetest directory, many files installed either had minetest in their name or were placed in one of those directories.  What I had to change over a few days and a few upstream commits included the pkg-plist and some lines in the Makefile.  I had to test numerous times, after each change to be sure everything was done accurately.  At present, the upstream git repo is not yet luanti-org/luanti, but it may change in time from what is now minetest/minetest.

The Makefile adjustments below took more time to test than to edit of course because I had to attempt to build and then check what the pkg-plist that was generated looked like.
diff -y -W 200 ./Makefile ../minetest-dev/Makefile | more

diff
# PORTNAME block											# PORTNAME block
PORTNAME=		luanti									   |	PORTNAME=		minetest
DISTVERSION=	g20241102									   |	DISTVERSION=	g20241026
CATEGORIES=		games										CATEGORIES=		games
MASTER_SITES=	GH											MASTER_SITES=	GH
PKGNAMESUFFIX=	-dev											PKGNAMESUFFIX=	-dev
DISTNAME=		${PORTNAME}-${GH_TAGNAME}							DISTNAME=		${PORTNAME}-${GH_TAGNAME}
DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}								DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}

# Maintainer block											# Maintainer block
MAINTAINER=		nope@nothere									MAINTAINER=		nope@nothere
COMMENT=		Near-infinite-world block sandbox game						COMMENT=		Near-infinite-world block sandbox game
WWW=			https://www.minetest.net/							WWW=			https://www.minetest.net/

# License block												# License block
LICENSE=		LGPL21+										LICENSE=		LGPL21+

# dependencies												# dependencies
LIB_DEPENDS=	libzstd.so:archivers/zstd \								LIB_DEPENDS=	libzstd.so:archivers/zstd \
				libfreetype.so:print/freetype2										libfreetype.so:print/freetype2

# uses block												# uses block
USES=			cmake iconv:wchar_t sqlite ninja:make pkgconfig:build				USES=			cmake iconv:wchar_t sqlite ninja:make pkgconfig:build
USE_GITHUB=		nodefault								   |	USE_GITHUB=     nodefault
GH_ACCOUNT=		minetest #GH_ACCOUNT=		luanti-org				   |	GH_ACCOUNT=     minetest
GH_PROJECT=		minetest #GH_PROJECT=		luanti					   |	GH_PROJECT=     minetest
GH_TAGNAME=		e952a0807b85e089eaa320cfeb09e33816d141ed				   |	GH_TAGNAME=		b7073df68cc9ca89e62a2b97c5fbb23cd1454bdf

# uses=cmake related variables										# uses=cmake related variables
CMAKE_ARGS=		-DCMAKE_BUILD_TYPE="MinSizeRel" \						CMAKE_ARGS=		-DCMAKE_BUILD_TYPE="MinSizeRel" \
				-DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \								-DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc" \
				-DCMAKE_CXX_FLAGS="-stdlib=libc++"									-DCMAKE_CXX_FLAGS="-stdlib=libc++"
#				-DCMAKE_FETCHCONTENT_FULLY_DISCONNECTED="FALSE"				#				-DCMAKE_FETCHCONTENT_FULLY_DISCONNECTED="FALSE"

# conflicts												# conflicts
CONFLICTS=		minetest irrlichtMt minetest-dev irrlicht-minetest			   |	CONFLICTS=		minetest irrlichtMt irrlicht-minetest

# wrksrc block												# wrksrc block
WRKSRC=			${WRKDIR}/minetest-${GH_TAGNAME} #WRKSRC=			${WRKDIR   |	WRKSRC=			${WRKDIR}/${PORTNAME}-${GH_TAGNAME}

# packaging list block											# packaging list block
#DOCS=		*											#DOCS=		*
#PORTDATA=		*										#PORTDATA=		*

# options definitions											# options definitions
OPTIONS_DEFAULT=			CURL DOCS LTO SOUND SPATIAL SYSTEM_LUAJIT SYSTEM_FONTS S	OPTIONS_DEFAULT=			CURL DOCS LTO SOUND SPATIAL SYSTEM_LUAJIT SYSTEM_FONTS S
OPTIONS_GROUP=				BUILD DATABASE MISC NEEDS SYSTEM				OPTIONS_GROUP=				BUILD DATABASE MISC NEEDS SYSTEM
OPTIONS_GROUP_BUILD=		BENCHMARKS DEVTEST DOCS NCURSES PROFILING PROMETHEUS UNITTESTS #	OPTIONS_GROUP_BUILD=		BENCHMARKS DEVTEST DOCS NCURSES PROFILING PROMETHEUS UNITTESTS #
OPTIONS_GROUP_DATABASE=		LEVELDB PGSQL REDIS							OPTIONS_GROUP_DATABASE=		LEVELDB PGSQL REDIS
OPTIONS_GROUP_MISC=			LTO								OPTIONS_GROUP_MISC=			LTO
OPTIONS_GROUP_NEEDS=		CURL NLS SOUND SPATIAL							OPTIONS_GROUP_NEEDS=		CURL NLS SOUND SPATIAL
OPTIONS_GROUP_SYSTEM=		SYSTEM_FONTS SYSTEM_GMP SYSTEM_JSONCPP SYSTEM_LUAJIT			OPTIONS_GROUP_SYSTEM=		SYSTEM_FONTS SYSTEM_GMP SYSTEM_JSONCPP SYSTEM_LUAJIT
OPTIONS_MULTI=				SOFTWARE							OPTIONS_MULTI=				SOFTWARE
OPTIONS_MULTI_SOFTWARE=		CLIENT SERVER								OPTIONS_MULTI_SOFTWARE=		CLIENT SERVER
OPTIONS_SINGLE=				GRAPHICS							OPTIONS_SINGLE=				GRAPHICS
OPTIONS_SINGLE_GRAPHICS=	GLES1 GLES2 OPENGL OPENGL3						OPTIONS_SINGLE_GRAPHICS=	GLES1 GLES2 OPENGL OPENGL3
OPTIONS_SUB=				yes								OPTIONS_SUB=				yes

# options descriptions											# options descriptions
BENCHMARKS_DESC=			Build benchmarks (Adds some benchmark chat commands)		BENCHMARKS_DESC=			Build benchmarks (Adds some benchmark chat commands)
BUILD_DESC=					Admin/Dev needs						BUILD_DESC=					Admin/Dev needs
CLIENT_DESC=				Build client, add graphics and sdl2 support, dependencie	CLIENT_DESC=				Build client, add graphics and sdl2 support, dependencie
CURL_DESC=					Enable cURL support for fetching media: contentd	CURL_DESC=					Enable cURL support for fetching media: contentd
DATABASE_DESC=				Database support						DATABASE_DESC=				Database support
DEVTEST_DESC=				Install Development Test game also (INSTALL_DEVTEST)		DEVTEST_DESC=				Install Development Test game also (INSTALL_DEVTEST)
DOCS_DESC=					Build and install documentation (via doxygen)		DOCS_DESC=					Build and install documentation (via doxygen)
#GITTRACY_DESC=				Fetch Tracy git tag --build fails-- --purpose uncertain-	#GITTRACY_DESC=				Fetch Tracy git tag --build fails-- --purpose uncertain-
GLES1_DESC=					Enable OpenGL ES driver, legacy				GLES1_DESC=					Enable OpenGL ES driver, legacy
GLES2_DESC=					Enable OpenGL ES 2+ driver				GLES2_DESC=					Enable OpenGL ES 2+ driver
GRAPHICS_DESC=				Graphics support						GRAPHICS_DESC=				Graphics support
LEVELDB_DESC=				Enable LevelDB backend --broken - build fails--			LEVELDB_DESC=				Enable LevelDB backend --broken - build fails--
LTO_DESC=					Build with IPO/LTO optimizations (smaller and mo	LTO_DESC=					Build with IPO/LTO optimizations (smaller and mo
MISC_DESC=					Other options						MISC_DESC=					Other options
NCURSES_DESC=				Enables server side terminal (cli option: --terminal) (E	NCURSES_DESC=				Enables server side terminal (cli option: --terminal) (E
NEEDS_DESC=					Client essentials					NEEDS_DESC=					Client essentials
NLS_DESC=					Native Language Support (ENABLE_GETTEXT)		NLS_DESC=					Native Language Support (ENABLE_GETTEXT)
OPENGL3_DESC=				Enable OpenGL 3+ driver (likely needs sdl2 built with OP	OPENGL3_DESC=				Enable OpenGL 3+ driver (likely needs sdl2 built with OP
OPENGL_DESC=				Enable OpenGL driver						OPENGL_DESC=				Enable OpenGL driver
PGSQL_DESC=					Enable PostgreSQL map backend				PGSQL_DESC=					Enable PostgreSQL map backend
PROFILING_DESC=				Use gprof for profiling (USE_GPROF)				PROFILING_DESC=				Use gprof for profiling (USE_GPROF)
PROMETHEUS_DESC=			Build with Prometheus metrics exporter				PROMETHEUS_DESC=			Build with Prometheus metrics exporter
REDIS_DESC=					Enable Redis backend					REDIS_DESC=					Enable Redis backend
SERVER_DESC=				Build server							SERVER_DESC=				Build server
SOFTWARE_DESC=				Software components						SOFTWARE_DESC=				Software components
SOUND_DESC=					Enable sound via openal-soft				SOUND_DESC=					Enable sound via openal-soft
SPATIAL_DESC=				Enable SpatialIndex (Speeds up AreaStores)			SPATIAL_DESC=				Enable SpatialIndex (Speeds up AreaStores)
SYSTEM_DESC=				System subsitutes						SYSTEM_DESC=				System subsitutes
SYSTEM_FONTS_DESC=			Use or install default fonts from ports				SYSTEM_FONTS_DESC=			Use or install default fonts from ports
SYSTEM_GMP_DESC=			Use gmp from ports (ENABLE_SYSTEM_GMP)				SYSTEM_GMP_DESC=			Use gmp from ports (ENABLE_SYSTEM_GMP)
SYSTEM_JSONCPP_DESC=		Use jsoncpp from ports (ENABLE_SYSTEM_JSONCPP)				SYSTEM_JSONCPP_DESC=		Use jsoncpp from ports (ENABLE_SYSTEM_JSONCPP)
SYSTEM_LUAJIT_DESC=			Use or install luajit from ports (instead of bundled lua	SYSTEM_LUAJIT_DESC=			Use or install luajit from ports (instead of bundled lua
#TRACY_DESC=					Build with Tracy frame and sampling profiler --b	#TRACY_DESC=					Build with Tracy frame and sampling profiler --b
UNITTESTS_DESC=				Build unit test sources (BUILD_UNITTESTS)			UNITTESTS_DESC=				Build unit test sources (BUILD_UNITTESTS)

# options helpers											# options helpers
BENCHMARKS_CMAKE_BOOL=		BUILD_BENCHMARKS							BENCHMARKS_CMAKE_BOOL=		BUILD_BENCHMARKS
#TRACY_BUILD_DEPENDS=		tracy>0:devel/tracy							#TRACY_BUILD_DEPENDS=		tracy>0:devel/tracy
#TRACY_CMAKE_BOOL=			BUILD_WITH_TRACY						#TRACY_CMAKE_BOOL=			BUILD_WITH_TRACY
CLIENT_LIB_DEPENDS=			libpng16.so:graphics/png					CLIENT_LIB_DEPENDS=			libpng16.so:graphics/png
CLIENT_USES=				gl xorg jpeg sdl						CLIENT_USES=				gl xorg jpeg sdl
CLIENT_USE=	\											CLIENT_USE=	\
							GL=glu \												GL=glu \
							SDL=sdl2,ttf2 \												SDL=sdl2,ttf2 \
							XORG=ice,sm,x11,xext,xcb,xres,xshmfence,								XORG=ice,sm,x11,xext,xcb,xres,xshmfence,
							xfixes,xft,xinerama,xkbfile,xmu,xpm,xran								xfixes,xft,xinerama,xkbfile,xmu,xpm,xran

CLIENT_CMAKE_BOOL=			BUILD_CLIENT							CLIENT_CMAKE_BOOL=			BUILD_CLIENT
CURL_LIB_DEPENDS=			libcurl.so:ftp/curl						CURL_LIB_DEPENDS=			libcurl.so:ftp/curl
CURL_CMAKE_BOOL=			ENABLE_CURL							CURL_CMAKE_BOOL=			ENABLE_CURL
DEVTEST_CMAKE_BOOL=			INSTALL_DEVTEST							DEVTEST_CMAKE_BOOL=			INSTALL_DEVTEST
DOCS_CMAKE_BOOL=			BUILD_DOCUMENTATION						DOCS_CMAKE_BOOL=			BUILD_DOCUMENTATION
GLES1_USE=					GL+=glesv1						GLES1_USE=					GL+=glesv1
GLES1_CMAKE_BOOL=			ENABLE_GLES1							GLES1_CMAKE_BOOL=			ENABLE_GLES1
GLES2_USE=					GL+=glesv2						GLES2_USE=					GL+=glesv2
GLES2_CMAKE_BOOL=			ENABLE_GLES2							GLES2_CMAKE_BOOL=			ENABLE_GLES2
LEVELDB_LIB_DEPENDS=		libleveldb.so:databases/leveldb						LEVELDB_LIB_DEPENDS=		libleveldb.so:databases/leveldb
LEVELDB_CMAKE_BOOL=			ENABLE_LEVELDB							LEVELDB_CMAKE_BOOL=			ENABLE_LEVELDB
LTO_CMAKE_BOOL=				ENABLE_LTO							LTO_CMAKE_BOOL=				ENABLE_LTO
NCURSES_USES=				ncurses								NCURSES_USES=				ncurses
NCURSES_CMAKE_BOOL=			ENABLE_CURSES							NCURSES_CMAKE_BOOL=			ENABLE_CURSES
NLS_USES=					gettext							NLS_USES=					gettext
NLS_CMAKE_BOOL=				ENABLE_GETTEXT							NLS_CMAKE_BOOL=				ENABLE_GETTEXT
NLS_LDFLAGS=				-L${LOCALBASE}/lib						NLS_LDFLAGS=				-L${LOCALBASE}/lib
OPENGL3_USE=				GL+=gl								OPENGL3_USE=				GL+=gl
OPENGL3_CMAKE_BOOL=			ENABLE_OPENGL3							OPENGL3_CMAKE_BOOL=			ENABLE_OPENGL3
OPENGL_USE=					GL+=gl							OPENGL_USE=					GL+=gl
OPENGL_CMAKE_BOOL=			ENABLE_OPENGL							OPENGL_CMAKE_BOOL=			ENABLE_OPENGL
PGSQL_USES=					pgsql							PGSQL_USES=					pgsql
PGSQL_CMAKE_BOOL=			ENABLE_POSTGRESQL						PGSQL_CMAKE_BOOL=			ENABLE_POSTGRESQL
PROFILING_CMAKE_BOOL=		USE_GPROF								PROFILING_CMAKE_BOOL=		USE_GPROF
PROMETHEUS_CMAKE_BOOL=		ENABLE_PROMETHEUS							PROMETHEUS_CMAKE_BOOL=		ENABLE_PROMETHEUS
REDIS_LIB_DEPENDS=			libhiredis.so:databases/hiredis					REDIS_LIB_DEPENDS=			libhiredis.so:databases/hiredis
REDIS_CMAKE_BOOL=			ENABLE_REDIS							REDIS_CMAKE_BOOL=			ENABLE_REDIS
SERVER_CMAKE_BOOL=			BUILD_SERVER							SERVER_CMAKE_BOOL=			BUILD_SERVER
SOUND_CMAKE_BOOL=			ENABLE_SOUND							SOUND_CMAKE_BOOL=			ENABLE_SOUND
SPATIAL_LIB_DEPENDS=		libspatialindex.so:devel/spatialindex					SPATIAL_LIB_DEPENDS=		libspatialindex.so:devel/spatialindex
SPATIAL_CMAKE_BOOL=			ENABLE_SPATIAL							SPATIAL_CMAKE_BOOL=			ENABLE_SPATIAL
SYSTEM_FONTS_RUN_DEPENDS=	${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/crosc	SYSTEM_FONTS_RUN_DEPENDS=	${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/crosc
							${LOCALBASE}/share/fonts/Droid/DroidSans								${LOCALBASE}/share/fonts/Droid/DroidSans
SYSTEM_GMP_LIB_DEPENDS=		libgmp.so:math/gmp							SYSTEM_GMP_LIB_DEPENDS=		libgmp.so:math/gmp
SYSTEM_GMP_CMAKE_BOOL=		ENABLE_SYSTEM_GMP							SYSTEM_GMP_CMAKE_BOOL=		ENABLE_SYSTEM_GMP
SYSTEM_GMP_CMAKE_ON=		-DGMP_INCLUDE_DIR="${PREFIX}/include"					SYSTEM_GMP_CMAKE_ON=		-DGMP_INCLUDE_DIR="${PREFIX}/include"
SYSTEM_JSONCPP_LIB_DEPENDS=	libjsoncpp.so:devel/jsoncpp						SYSTEM_JSONCPP_LIB_DEPENDS=	libjsoncpp.so:devel/jsoncpp
SYSTEM_JSONCPP_CMAKE_BOOL=	ENABLE_SYSTEM_JSONCPP							SYSTEM_JSONCPP_CMAKE_BOOL=	ENABLE_SYSTEM_JSONCPP
SYSTEM_JSONCPP_CMAKE_ON=	-DJSON_INCLUDE_DIR="${PREFIX}/include/jsoncpp"				SYSTEM_JSONCPP_CMAKE_ON=	-DJSON_INCLUDE_DIR="${PREFIX}/include/jsoncpp"
SYSTEM_LUAJIT_USES=			luajit								SYSTEM_LUAJIT_USES=			luajit
SYSTEM_LUAJIT_USE=			luajit								SYSTEM_LUAJIT_USE=			luajit
#SYSTEM_LUAJIT_CMAKE_BOOL=	ENABLE_LUAJIT # Redundant as one of the above includes this		#SYSTEM_LUAJIT_CMAKE_BOOL=	ENABLE_LUAJIT # Redundant as one of the above includes this
UNITTESTS_CMAKE_BOOL=		BUILD_UNITTESTS								UNITTESTS_CMAKE_BOOL=		BUILD_UNITTESTS

.include <bsd.port.options.mk>										.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSYSTEM_LUAJIT}						.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSYSTEM_LUAJIT}
CMAKE_ARGS+=	-DENABLE_LUAJIT="ON" \									CMAKE_ARGS+=	-DENABLE_LUAJIT="ON" \
				-DREQUIRE_LUAJIT="ON"											-DREQUIRE_LUAJIT="ON"
.endif													.endif

# It used to be such that <OPTION>_USE= GL+=gl,opengl would satisfy, but `make test` does not ag	# It used to be such that <OPTION>_USE= GL+=gl,opengl would satisfy, but `make test` does not ag
.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MOPENGL}							.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MOPENGL}
USE_GL+=		glu opengl									USE_GL+=		glu opengl
USE_XORG+=		xi										USE_XORG+=		xi
.endif													.endif

.if ${PORT_OPTIONS:MCLIENT}										.if ${PORT_OPTIONS:MCLIENT}
USE_GL+=		gl										USE_GL+=		gl
.endif													.endif

.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}							.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
USES+=			openal										USES+=			openal
LIB_DEPENDS+=	libogg.so:audio/libogg libvorbisfile.so:audio/libvorbis					LIB_DEPENDS+=	libogg.so:audio/libogg libvorbisfile.so:audio/libvorbis
.endif													.endif

.if ${PORT_OPTIONS:MSERVER}										.if ${PORT_OPTIONS:MSERVER}
USE_RC_SUBR=	${PORTNAME}									   |	USE_RC_SUBR=	minetest
# When the official /usr/ports/GIDs file is changed, this may be luanti instead of minetest.	   |	USERS=			minetest
# At that time the files/luanti.in will need to be modified for the user and group defined.	   |	GROUPS=			minetest
USERS=			minetest #USERS=			${PORTNAME}			   <
GROUPS=			minetest #GROUPS=		${PORTNAME}				   <
.endif													.endif

# Exactly why this must be done this way eludes me but this works and satisfies the install need	# Exactly why this must be done this way eludes me but this works and satisfies the install need
.if ${PORT_OPTIONS:MSYSTEM_FONTS}									.if ${PORT_OPTIONS:MSYSTEM_FONTS}
pre-install:												pre-install:
	${RM} ${LOCALBASE}/share/luanti/fonts/Arimo-Bold.ttf					   |		${RM} ${LOCALBASE}/share/minetest/fonts/Arimo-Bold.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Arimo-BoldItalic.ttf				   |		${RM} ${LOCALBASE}/share/minetest/fonts/Arimo-BoldItalic.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Arimo-Italic.ttf					   |		${RM} ${LOCALBASE}/share/minetest/fonts/Arimo-Italic.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Cousine-Bold.ttf					   |		${RM} ${LOCALBASE}/share/minetest/fonts/Cousine-Bold.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Cousine-BoldItalic.ttf				   |		${RM} ${LOCALBASE}/share/minetest/fonts/Cousine-BoldItalic.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Cousine-Italic.ttf				   |		${RM} ${LOCALBASE}/share/minetest/fonts/Cousine-Italic.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/Cousine-Regular.ttf				   |		${RM} ${LOCALBASE}/share/minetest/fonts/Cousine-Regular.ttf
	${RM} ${LOCALBASE}/share/luanti/fonts/DroidSansFallbackFull.ttf				   |		${RM} ${LOCALBASE}/share/minetest/fonts/DroidSansFallbackFull.ttf
	${MKDIR} ${LOCALBASE}/share/luanti/fonts						   |		${MKDIR} ${LOCALBASE}/share/minetest/fonts
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf ${LOCALBASE}/share/luanti/font   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf ${LOCALBASE}/share/minetest/fo
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-BoldItalic.ttf ${LOCALBASE}/share/luant   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-BoldItalic.ttf ${LOCALBASE}/share/minet
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Italic.ttf ${LOCALBASE}/share/luanti/fo   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Arimo-Italic.ttf ${LOCALBASE}/share/minetest/
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Bold.ttf ${LOCALBASE}/share/luanti/fo   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Bold.ttf ${LOCALBASE}/share/minetest/
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-BoldItalic.ttf ${LOCALBASE}/share/lua   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-BoldItalic.ttf ${LOCALBASE}/share/min
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Italic.ttf ${LOCALBASE}/share/luanti/   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Italic.ttf ${LOCALBASE}/share/minetes
	${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Regular.ttf ${LOCALBASE}/share/luanti   |		${LN} -s ${LOCALBASE}/share/fonts/ChromeOS/Cousine-Regular.ttf ${LOCALBASE}/share/minete
	${LN} -s ${LOCALBASE}/share/fonts/Droid/DroidSansFallbackFull.ttf ${LOCALBASE}/share/lua   |		${LN} -s ${LOCALBASE}/share/fonts/Droid/DroidSansFallbackFull.ttf ${LOCALBASE}/share/min
.endif													.endif
												   <
# These are temporary links which might only be useful for transition and a blind update, when u   <
post-stage:											   <
	${RM} ${STAGEDIR}${LOCALBASE}/bin/minetest						   <
	${RM} ${STAGEDIR}${LOCALBASE}/bin/minetestserver					   <
												   <

post-install:												post-install:
	@${ECHO_MSG} " "											@${ECHO_MSG} " "
	@${ECHO_MSG} "-->  "${PREFIX}/etc/"minetest.conf.example explains options and gives thei		@${ECHO_MSG} "-->  "${PREFIX}/etc/"minetest.conf.example explains options and gives thei
	@${ECHO_MSG} " "											@${ECHO_MSG} " "
	@${ECHO_MSG} "-->  Local network issues could cause singleplayer to fail. "				@${ECHO_MSG} "-->  Local network issues could cause singleplayer to fail. "
	@${ECHO_MSG} " "											@${ECHO_MSG} " "
	@${ECHO_MSG} "-->  Alternate graphics driver may be set in client config, must be set to		@${ECHO_MSG} "-->  Alternate graphics driver may be set in client config, must be set to
	@${ECHO_MSG} "     -- One in minetest config, opengles likely needs sdl option built wit		@${ECHO_MSG} "     -- One in minetest config, opengles likely needs sdl option built wit
	@${ECHO_MSG} " "											@${ECHO_MSG} " "
	@${ECHO_MSG} " "											@${ECHO_MSG} " "

#----------------------------------------------------------------------					#----------------------------------------------------------------------
# Warning: you might not need LIB_DEPENDS on libGL.so							# Warning: you might not need LIB_DEPENDS on libGL.so
# Warning: you might not need LIB_DEPENDS on libSDL2.so							# Warning: you might not need LIB_DEPENDS on libSDL2.so
# Warning: you might not need LIB_DEPENDS on libSDL2_ttf.so						# Warning: you might not need LIB_DEPENDS on libSDL2_ttf.so
# Warning: you might not need LIB_DEPENDS on libopenal.so.1						# Warning: you might not need LIB_DEPENDS on libopenal.so.1
#----------------------------------------------------------------------					#----------------------------------------------------------------------
#----------------------------------------------------------------------					#----------------------------------------------------------------------
#CMake Warning:												#CMake Warning:
#  Manually-specified variables were not used by the project:						#  Manually-specified variables were not used by the project:
#													#
#    CMAKE_MODULE_LINKER_FLAGS										#    CMAKE_MODULE_LINKER_FLAGS
#    CMAKE_SHARED_LINKER_FLAGS										#    CMAKE_SHARED_LINKER_FLAGS
#    CMAKE_VERBOSE_MAKEFILE										#    CMAKE_VERBOSE_MAKEFILE
#    FETCHCONTENT_FULLY_DISCONNECTED									#    FETCHCONTENT_FULLY_DISCONNECTED
#    ICONV_INCLUDE_DIR											#    ICONV_INCLUDE_DIR
#    ICONV_LIBRARIES											#    ICONV_LIBRARIES
#    LIBICONV_INCLUDE_DIR										#    LIBICONV_INCLUDE_DIR
#    LIBICONV_LIBRARIES											#    LIBICONV_LIBRARIES
#    LIBICONV_LIBRARY											#    LIBICONV_LIBRARY
#----------------------------------------------------------------------					#----------------------------------------------------------------------

.include <bsd.port.mk>											.include <bsd.port.mk>

I automate some pkg-plist adjustments with a simple script I modify for each significant 'unofficial port' that I make.  It speeds the process of making sure that everything is accurate and consistent between rebuilds and new commits to my repo based upon upstream changes.  All the places in the script where it now has luanti had once been minetest.

plist-fix
#!/bin/sh
rm /var/tmp/luanti-dev_pkg-plist 2>/dev/null
rm /var/tmp/luanti-dev_pkg-plist-fixed 2>/dev/null
cp ../pkg-plist /var/tmp/luanti-dev_pkg-plist

echo "adding conditional list tags"

cat /var/tmp/minetest-dev_pkg-plist | \
sed \
-e 's#^\/you\/have\/to\/check\/what\/makeplist\/gives\/you##' \
-e '/^$/d' \
-e 's#^share\/locale#\%\%CLIENT\%\%\%\%NLS\%\%share\/locale#g' \
-e 's#^\%\%PORT#\%\%#g' \
-e 's#^bin/luantiserver#\%\%SERVER\%\%bin/luantiserver#1' \
-e 's#^bin/luanti#\%\%CLIENT\%\%bin/luanti#1' \
-e 's#^\%\%ETCDIR\%\%.conf.example#@sample\ etc/minetest.conf.example\ etc/minetest.conf#' \
-e 's#^\%\%ETCDIR\%\%.conf.example#@sample\ etc/luanti.conf.example\ etc/luanti.conf#' \
-e 's#^etc/rc.d/minetest#\%\%SERVER\%\%etc/rc.d/minetest#1' \
-e 's#^etc/rc.d/luanti#\%\%SERVER\%\%etc/rc.d/luanti#1' \
-e 's#^share/man/man6/luanti.6.gz#\%\%CLIENT\%\%share/man/man6/luanti.6.gz#1' \
-e 's#^share/man/man6/luantiserver.6.gz#\%\%SERVER\%\%share/man/man6/luantiserver.6.gz#1' \
-e 's#^\%\%DATADIR\%\%/client#\%\%CLIENT\%\%\%\%DATADIR\%\%/client#g' \
-e 's#^\%\%DATADIR\%\%/fonts#\%\%CLIENT\%\%\%\%DATADIR\%\%/fonts#g' \
-e 's#^\%\%DATADIR\%\%/textures#\%\%CLIENT\%\%\%\%DATADIR\%\%/textures#g' \
-e 's#^\%\%DATADIR\%\%/games/devtest#\%\%DEVTEST\%\%\%\%DATADIR\%\%/games/devtest#g' \
> /var/tmp/luanti-dev_pkg-plist-fixed
cp /var/tmp/luanti-dev_pkg-plist-fixed ../pkg-plist

The options config has changed somewhat, organized a little nicer.  The touch option was moved into the luanti config itself, and my method to use system fonts instead of bundled fonts can still be toggled.

┌────────────────────────────────────────┤luanti-dev-g20241102├─────────────────────────────────────────┐
│ 'F1' for Ports Collection help.                                                                       │
│ ┌───────────────────────────────────────────────────────────────────────────────────────────────────┐ │
│ │──────────────────────────────────────── Admin/Dev needs ──────────────────────────────────────────│ │
│ │[X] BENCHMARKS     Build benchmarks (Adds some benchmark chat commands)                            │ │
│ │[X] DEVTEST        Install Development Test game also (INSTALL_DEVTEST)                            │ │
│ │[X] DOCS           Build and install documentation (via doxygen)                                   │ │
│ │[X] NCURSES        Enables server side terminal (cli option: --terminal) (ENABLE_CURSES)           │ │
│ │[X] PROFILING      Use gprof for profiling (USE_GPROF)                                             │ │
│ │[X] PROMETHEUS     Build with Prometheus metrics exporter                                          │ │
│ │[X] UNITTESTS      Build unit test sources (BUILD_UNITTESTS)                                       │ │
│ │──────────────────────────────────────── Database support ─────────────────────────────────────────│ │
│ │[ ] LEVELDB        Enable LevelDB backend --broken - build fails--                                 │ │
│ │[ ] PGSQL          Enable PostgreSQL map backend                                                   │ │
│ │[ ] REDIS          Enable Redis backend                                                            │ │
│ │───────────────────────────────────────── Other options ───────────────────────────────────────────│ │
│ │[X] LTO            Build with IPO/LTO optimizations (smaller and more efficient than regular build)│ │
│ │─────────────────────────────────────── Client essentials ─────────────────────────────────────────│ │
│ │[X] CURL           Enable cURL support for fetching media: contentdb                               │ │
│ │[X] NLS            Native Language Support (ENABLE_GETTEXT)                                        │ │
│ │[X] SOUND          Enable sound via openal-soft                                                    │ │
│ │[X] SPATIAL        Enable SpatialIndex (Speeds up AreaStores)                                      │ │
│ │─────────────────────────────────────── System subsitutes ─────────────────────────────────────────│ │
│ │[X] SYSTEM_FONTS   Use or install default fonts from ports                                         │ │
│ │[X] SYSTEM_GMP     Use gmp from ports (ENABLE_SYSTEM_GMP)                                          │ │
│ │[X] SYSTEM_JSONCPP Use jsoncpp from ports (ENABLE_SYSTEM_JSONCPP)                                  │ │
│ │[X] SYSTEM_LUAJIT  Use or install luajit from ports (instead of bundled lua)                       │ │
│ │──────────────────────────── Software components [select at least one] ────────────────────────────│ │
│ │[X] CLIENT         Build client, add graphics and sdl2 support, dependencies                       │ │
│ │[X] SERVER         Build server                                                                    │ │
│ │───────────────────────────── Graphics support [select at least one] ──────────────────────────────│ │
│ │( ) GLES1          Enable OpenGL ES driver, legacy                                                 │ │
│ │( ) GLES2          Enable OpenGL ES 2+ driver                                                      │ │
│ │(*) OPENGL         Enable OpenGL driver                                                            │ │
│ │( ) OPENGL3        Enable OpenGL 3+ driver (likely needs sdl2 built with OPENGLES)                 │ │
│ └───────────────────────────────────────────────────────────────────────────────────────────────────┘ │
├───────────────────────────────────────────────────────────────────────────────────────────────────────┤
│                                         [  OK  ]     [Cancel]                                         │
└───────────────────────────────────────────────────────────────────────────────────────────────────────┘

If you had used minetest in the past, one other change is rather visible.  I toggled off the clouds in the luanti config which makes it much more game agnostic.

Luanti start screen GUI

At the moment this is the only way you can use the very most current Lunati client for minetest games and for your game engine needs.  Eventually the ports committer for games/minetest will have to go through much of the same work I finished above to create games/luanti.  Their task is delayed for public consumption even if they have done the work on their local machine because they track releases rather than upstream commits as I do.

Repo url:

Frequently viewed this week