[Bug 270989] print/ghostscript10: adds libgs.so; connects to USES and DEFAULT_VERSIONS facilities; flavorized

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Apr 2023 15:44:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270989

--- Comment #7 from Michael Osipov <michael.osipov@siemens.com> ---
Regarding point 2, flavor names:
Looking at
# grep -ri --include='*/Makefile*' -E -e 'FLAVORS=' .
./archivers/quazip/Makefile:FLAVORS=    qt5 qt6
./audio/asterisk-espeak/Makefile:FLAVORS=       asterisk18 asterisk16
./audio/asterisk-flite/Makefile:FLAVORS=                        asterisk18
asterisk16
./audio/jamulus/Makefile:FLAVORS=       desktop server
./audio/kid3/Makefile:FLAVORS=  qt5 qt6 kf5
./audio/strawberry/Makefile:FLAVORS=            qt5 qt6
./benchmarks/glmark2/Makefile:CONFIGURE_ARGS=   -Dflavors=${PLATFORMS:ts,}
./benchmarks/wrk/Makefile:FLAVORS=      luajit luajitor
./cad/ngspice_rework/Makefile:FLAVORS=  x11 shlib
./cad/qcad/Makefile:#FLAVORS=   qt5 qt6
./databases/ldb15/Makefile:#FLAVORS=            default nopython
./databases/sqlite3/Makefile:FLAVORS=   default icu tcl
./deskutils/copyq/Makefile:FLAVORS=     qt5 qt6
./deskutils/fet/Makefile:FLAVORS=       qt5 qt6
./devel/RStudio/Makefile:FLAVORS=       desktop server
./devel/binutils/Makefile:FLAVORS=      native aarch64 aarch64_none_elf amd64
arm_gnueabi arm_none_eabi \
./devel/bullet/Makefile:FLAVORS=        single double
./devel/cmake-gui/Makefile:FLAVORS=     qt5 qt6
./devel/llvm16/Makefile:FLAVORS=        default lite
./devel/freebsd-gcc12/Makefile:FLAVORS= aarch64 amd64 armv6 armv7 i386 powerpc
powerpc64 riscv64
./devel/freebsd-gcc9/Makefile:FLAVORS=  aarch64 amd64 armv6 armv7 i386 mips
mips64 powerpc powerpc64 riscv64 sparc64
./devel/freebsd-sysroot/Makefile:FLAVORS=       aarch64 amd64 armv7 i386
powerpc powerpc64 powerpc64le \
./devel/git/Makefile:FLAVORS=   default lite tiny
./devel/hs-haskell-language-server/Makefile:FLAVORS=    default ghc810
./devel/intel-graphics-compiler/Makefile:FLAVORS=       ${14 13 12
11:L:S/^/llvm/}
./devel/libdbusmenu-qt/Makefile:FLAVORS=        qt5 qt6
./devel/llvm-devel/Makefile:FLAVORS=    default lite
./devel/llvm15/Makefile:FLAVORS=        default lite
./devel/opencl-clang/Makefile:FLAVORS=  ${15 14 13 12 11:L:S/^/llvm/}
./devel/qca/Makefile:FLAVORS=   qt5 qt6
./devel/qcoro/Makefile:FLAVORS= qt5 qt6
./devel/spirv-llvm-translator/Makefile:FLAVORS= ${16 15 14 13 12
11:L:S/^/llvm/}
./devel/vc-intrinsics/Makefile:FLAVORS= ${15 14 13 12 11:L:S/^/llvm/}
./editors/emacs-devel/Makefile:FLAVORS=         full nox
./editors/emacs/Makefile:FLAVORS=                       full canna nox
./editors/ghostwriter/Makefile:FLAVORS= qt5 qt6
./editors/mg/Makefile:FLAVORS=  dynamic static
./editors/vim/Makefile:FLAVORS= console gtk2 gtk3 motif x11 tiny
./emulators/libretro-vice/Makefile:FLAVORS=     x64 x128 x64sc xcbm2 xcbm5x0
xpet xplus4 xscpu64 xvic
./emulators/open-vm-tools/Makefile:FLAVORS=                     default nox11
./emulators/qemu/Makefile:FLAVORS=                      default nox11 tools
guestagent
./emulators/qemu6/Makefile:FLAVORS=                     default nox11 tools
./emulators/qemu70/Makefile:FLAVORS=                    default nox11 tools
./emulators/rpcs3/Makefile:FLAVORS=     qt5 qt6
./emulators/yuzu/Makefile:FLAVORS=      qt5 qt6
./games/brogue/Makefile:FLAVORS=        x11 nox11
./games/melonds/Makefile:FLAVORS=       qt5 qt6
./games/stonesoup/Makefile:FLAVORS=     console sdl
./games/vvvvvv/Makefile:FLAVORS=        commercial makeandplay
./games/xnethack/Makefile:FLAVORS=      x11 nox11 qt
./graphics/evince/Makefile:FLAVORS=     full lite
./graphics/gifsicle/Makefile:FLAVORS=           x11 nox11
./graphics/gmic-qt/Makefile:FLAVORS=    none krita gimp # reflect the value of
GMIC_QT_HOST for simplicity
./graphics/gpu-firmware-amd-kmod/Makefile:FLAVORS=      aldebaran \
./graphics/gpu-firmware-intel-kmod/Makefile:FLAVORS=    skylake \
./graphics/gpu-firmware-radeon-kmod/Makefile:FLAVORS=   aruba \
./graphics/yacreader/Makefile:FLAVORS=  qt5 qt6
./korean/nanumfonts/Makefile.common:FLAVORS=    ttf otf
./lang/intel-compute-runtime/Makefile:FLAVORS=  ${14 13 12 11:L:S/^/llvm/}
./lang/rust-bootstrap/Makefile:FLAVORS= aarch64 amd64 armv7 i386 powerpc
powerpc64 powerpc64le riscv64
./mail/cyrus-imapd34/Makefile:FLAVORS=  basic http
./mail/cyrus-imapd36/Makefile:FLAVORS=  basic http
./mail/postfix-current/Makefile:FLAVORS=                        default ldap
sasl
./mail/postfix/Makefile:FLAVORS=                        default ldap mysql
pgsql sasl sqlite
./math/qalculate-qt/Makefile:FLAVORS=           qt5 qt6
./multimedia/audacious-plugins/Makefile:FLAVORS=        qt5 qt6 gtk2 gtk3
./multimedia/audacious/Makefile:FLAVORS=        qt5 qt6 gtk2 gtk3
./multimedia/mkvtoolnix/Makefile:FLAVORS=       qt5 nogui
./multimedia/mlt7-qt/Makefile:FLAVORS=  qt5 qt6
./multimedia/winff/Makefile:LAZARUS_NO_FLAVORS= qt5
./net-im/telegram-desktop/Makefile:FLAVORS=     qt5 qt6
./net-mgmt/cnagios/Makefile:FLAVORS=    nagios3 nagios4
./net-p2p/qbittorrent/Makefile:FLAVORS= default nox
./net/asterisk-chan_sccp/Makefile:FLAVORS=      asterisk18 asterisk16
./net/asterisk-g72x/Makefile:FLAVORS=                   asterisk18 asterisk16
./net/bird/Makefile:FLAVORS=    ipv4 ipv6
./net/bird2/Makefile:FLAVORS=   base netlink
./net/freeradius3/Makefile:FLAVORS=     default ldap mysql pgsql sqlite3
./net/haproxy-devel/Makefile:FLAVORS=   default lua
./net/haproxy/Makefile:FLAVORS= default lua
./net/haproxy24/Makefile:FLAVORS=       default lua
./net/haproxy25/Makefile:FLAVORS=       default lua
./net/remmina/Makefile:FLAVORS=         default lite
./net/haproxy26/Makefile:FLAVORS=       default lua
./net/unison/Makefile:FLAVORS=  x11 nox11
./net/unison232/Makefile:FLAVORS=       x11 nox11
./net/unison240/Makefile:FLAVORS=       x11 nox11
./net/unison248/Makefile:FLAVORS=       x11 nox11
./net/unison251/Makefile:FLAVORS=       x11 nox11
./net/wireguard-tools/Makefile:FLAVORS= default lite
./net/wireshark/Makefile:FLAVORS=       default nox11
./news/cleanfeed/Makefile:FLAVORS=      inn inncurrent
./print/pdfmixtool/Makefile:FLAVORS=    qt5 qt6
./science/erkale/Makefile:FLAVORS=      parallel serial
./science/healpix/Makefile:FLAVORS=     cxx c
./science/libtensorflow1/Makefile:FLAVORS=      default noavx
./security/afl++/Makefile:FLAVORS=      llvm gcc
./security/gost-engine/Makefile:FLAVORS=        base openssl30
./security/libressl-devel/Makefile:FLAVORS=     default libtls
./security/libressl/Makefile:FLAVORS=   default libtls
./security/openssh-portable/Makefile:FLAVORS=                   default hpn
gssapi
./security/pam_krb5/Makefile:FLAVORS=           mit heimdal_base heimdal_port
./security/qtkeychain/Makefile:FLAVORS= qt5 qt6
./security/sssd/Makefile:FLAVORS=       default smb
./shells/oksh/Makefile:FLAVORS= dynamic static
./sysutils/UEFITool/Makefile:FLAVORS=   qt5 qt6
./sysutils/cpu-x/Makefile:FLAVORS=      gtk3 ncurses
./sysutils/edk2/Makefile:FLAVORS=       macchiatobin fvp rpi3 rpi4 xen_x64
bhyve qemu_x64 qemu_i386
./sysutils/pwsafe/Makefile:FLAVORS=             x11 nox11
./sysutils/s6-rc/Makefile:FLAVORS=      hier run
./sysutils/screenfetch/Makefile:FLAVORS=                default nox11
./sysutils/ssd_report/Makefile:FLAVORS= smart smartmontools
./textproc/fcitx5-qt-common/Makefile:FLAVORS=   # empty
./textproc/fcitx5-gtk-common/Makefile:FLAVORS=  # empty
./www/falkon/Makefile:FLAVORS=  default qtonly
./www/jetty9/Makefile:FLAVORS=  openjdk8 openjdk11
./www/p5-RT-Extension-MandatoryOnTransition/Makefile:FLAVORS=           rt44
rt50
./www/p5-RTx-Calendar/Makefile:FLAVORS= rt44 rt50
./www/rubygem-passenger/Makefile:FLAVORS=       apache nginx
./x11-fm/pcmanfm/Makefile:FLAVORS=      gtk2 gtk3
./x11-servers/xorg-server/Makefile:FLAVORS=     xorg xnest xephyr xvfb
./x11-toolkits/guile-gnome-platform/Makefile:FLAVORS=   lite full
./x11-toolkits/wxgtk30/Makefile:FLAVORS=        gtk3 gtk2
./x11-toolkits/wxgtk32/Makefile:FLAVORS=        gtk3 gtk2
./x11/eww/Makefile:FLAVORS=                     x11 wayland
./x11/gnome/Makefile:FLAVORS=   full lite
./x11/libfm/Makefile:FLAVORS=   gtk2 gtk3
./x11/nvidia-hybrid-graphics/Makefile:FLAVORS=  default 390
./x11/hyprland-share-picker/Makefile:FLAVORS=   qt5 qt6
./x11/waybar/Makefile:FLAVORS=  default hyprland nopulse
./x11/wf-shell/Makefile:FLAVORS=        default nopulse
./x11/workrave/Makefile:FLAVORS=        default xfce
./x11/xdg-desktop-portal-hyprland/Makefile:FLAVORS=     qt5 qt6

I am inclined to fall the flavors "default", "x11" OR "nox11" and "x11",
thoughI favorize the former since many ports have a default flavor these days.
Though, I don't know GS good enough, I don't think that X11 is ONE outstanding
feature that default flavor should be "nox11".

-- 
You are receiving this mail because:
You are the assignee for the bug.