Bug 272417 - sysutils/fastfetch: add FLAVOR=nox11
Summary: sysutils/fastfetch: add FLAVOR=nox11
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-07 17:13 UTC by Yonas Yanfa
Modified: 2023-07-09 15:28 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkubaj)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yonas Yanfa 2023-07-07 17:13:18 UTC
Would be nice to use fastfetch without installing any graphics related packages.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2023-07-09 00:06:59 UTC
That's what the lite flavor does.
Comment 2 Yonas Yanfa 2023-07-09 11:07:04 UTC
(In reply to Piotr Kubaj from comment #1)

In the Makefile, I see:

OPTIONS_DEFINE=	LIBPCI VULKAN WAYLAND XCB GIO DCONF DBUS XFCONF \
		SQLITE3 IMAGEMAGICK CHAFA GLX OPENCL PULSEAUDIO

.if ${FLAVOR} == full
OPTIONS_DEFAULT=	VULKAN WAYLAND XCB GIO DCONF DBUS XFCONF \
		SQLITE3 IMAGEMAGICK CHAFA GLX OPENCL PULSEAUDIO
.endif


I think it should be:

OPTIONS_DEFINE=	SQLITE3

.if ${FLAVOR} == full
OPTIONS_DEFAULT= LIBPCI	VULKAN WAYLAND XCB GIO DCONF DBUS XFCONF \
		SQLITE3 IMAGEMAGICK CHAFA GLX OPENCL PULSEAUDIO
.endif
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2023-07-09 14:39:16 UTC
No, it's ok the way it is now. There's no reason to add a flavor for any combination of options. If you want SQLITE3 with everything else disabled, just build your own package.
Comment 4 Yonas Yanfa 2023-07-09 15:28:25 UTC
(In reply to Piotr Kubaj from comment #3)

Does the lite flavor brings in x11 dependencies, no?