From nobody Thu Jul 06 20:40:20 2023 X-Original-To: dev-commits-ports-main@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 4QxpM65Jymz4l4qc; Thu, 6 Jul 2023 20:40:34 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QxpM401trz4CXp; Thu, 6 Jul 2023 20:40:32 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anongoth.pl header.s=ANONGOTH header.b=tkX7WFjV; spf=pass (mx1.freebsd.org: domain of pkubaj@anongoth.pl designates 46.248.190.61 as permitted sender) smtp.mailfrom=pkubaj@anongoth.pl; dmarc=pass (policy=reject) header.from=anongoth.pl Received: from anongoth.pl (unknown [192.168.1.2]) (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) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id A37E516CD67; Thu, 6 Jul 2023 22:40:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=anongoth.pl; s=ANONGOTH; t=1688676023; bh=vzFcRYV6Ux39l2EhCmoZcz47ekL1sNTFoIhVJF11sSQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=tkX7WFjVfOdNl95tY4Ym/Q8YL71Kbh7BHHUYNfRWGRIXtaIwEaZhIcbUrra8MQRcI dVUqJSFnaBu6RLVTk0O+pcThB753c22Y0r2kjd5wChPEBvAJvudztYCJGnMAhUBo1b N/nz24MYbxNxFe55PcAhgxC01cGmm57xF6wspJ7av7H4DN9NqaLJU3osH76rozbzq+ HSj8Cnm5FDKezWsu2vbAon6NIj2GydcOICR3TXFDYrTq27+UCzQEBrM0KuSCGskO42 5JNrThdUtJ6FVp2Dqcm6wZ1s1bJk5yu8e7Kea78Nau1O2CLX5J8bG3hlQskh6aTJ/q ypz2h4Ll8K3DQ== Date: Thu, 6 Jul 2023 22:40:20 +0200 From: Piotr Kubaj To: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Cc: "ports-committers@FreeBSD.org" , dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 22387af7f781 - main - sysutils/fastfetch: Like neofetch, but much faster because written in C Message-ID: References: <202307062017.366KH0oe064097@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cius8n4q4Lcs3tiT" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-5.56 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.960]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61]; R_DKIM_ALLOW(-0.20)[anongoth.pl:s=ANONGOTH]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TAGGED_RCPT(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; FREEFALL_USER(0.00)[pkubaj]; ARC_NA(0.00)[]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[anongoth.pl:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QxpM401trz4CXp X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --cius8n4q4Lcs3tiT Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I actually quite like it, because it's not just a simple shell script, of which there are many similar that do the same, but actually quite advanced program that can display much more than all the rest I saw. Here's an example (running Linux, because DRM (GPU acceleration) doesn't work on FreeBSD :/): pkubaj@talos:$~$ fastfetch --load-config /usr/share/fastfetch/presets/all -/oyddmdhs+:. pkubaj@talos -odNMMMMMMMMNNmhy+-` ------------ -yNMMMMMMMMMMMNNNmmdhy+- OS: Gentoo 2.13 ppc64le `omMMMMMMMMMMMMNmdmmmmddhhy/` Host: T2P9D01 REV 1.01 omMMMMMMMMMMMNhhyyyohmdddhhhdo` Kernel: 6.3.7-gentoo-ppc64le =2EydMMMMMMMMMMdhs++so/smdddhhhhdm+` Uptime: 23 days, 4 hours, 33 mins oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Processes: 1423 :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh Packages: 1104 (emerge) .:+sydNMMMMMNNNmmmdddhhhhhhmMmy Shell: ksh @ /mMMMMMMNNNmmmdddhhhhhmMNhs: Display 1: 3840x2160 @ 60Hz `oNMMMMMMMNNNmmmddddhhdmMNhs+` Display 2: 1920x1080 @ 60Hz `sNMMMMMMMMNNNmmmdddddmNMmhs/. WM: dwm (X11) /NMMMMMMMMNNNNmmmdddmNMNdso:` Theme: Adwaita [GTK3] +MMMMMMMNNNNNmmmmdmNMNdso/- Icons: gnome [GTK3] yMMNNNNNNNmmmmmNNMmhs+/-` Cursor: Adwaita /hMMNNNNNNNNMNdhs++/-` Terminal: tmux: server 3.3a `/ohdmmddhys+++/:.` CPU: CPU (64) @ 3.8 GHz `-//////:--. CPU Usage: 1% GPU: AMD Radeon HD 7700 Series (RADV= BONAIRE) (1.00 GiB) Memory: 210 GiB / 251 GiB (83%) Swap: Disabled Disk (/): 181 GiB / 227 GiB (79%) Disk (/home): 3 TiB / 4 TiB (95%) Public IP: X.X.X.X Local IP (br0): 192.168.1.2 Date & Time: 2023-07-06 22:36:05 Locale: ja_JP.utf8 Vulkan: 1.3.246 - radv [Mesa 23.1.3] OpenGL: 4.6 (Compatibility Profile) = Mesa 23.1.3 Users: pkubaj Weather: +15=EF=BF=BD=EF=BF=BDC - Cl= ear (XXX, XXX) On 23-07-06 22:25:09, Fernando Apestegu=C3=ADa wrote: > El jue, 6 jul 2023, 22:17, Piotr Kubaj escribi=C3=B3: >=20 > > The branch main has been updated by pkubaj: > > > > URL: > > https://cgit.FreeBSD.org/ports/commit/?id=3D22387af7f781f85ef2ef0d0438e= 96fedc29b1c9f > > > > commit 22387af7f781f85ef2ef0d0438e96fedc29b1c9f > > Author: Piotr Kubaj > > AuthorDate: 2023-07-06 13:37:48 +0000 > > Commit: Piotr Kubaj > > CommitDate: 2023-07-06 20:16:45 +0000 > > > > sysutils/fastfetch: Like neofetch, but much faster because written = in C > > >=20 > Oh boy :-) >=20 > I'm going to coin the YAFP acronym if it does not exist. Yet Another Fetch > Port. Does any keep the count of how many *fetch ports do we have? >=20 >=20 >=20 > > Fastfetch is a neofetch-like tool for fetching system information a= nd > > displaying them in a pretty way. It is written mainly in C, with > > performance and customizability in mind. Currently, Linux, Android, > > FreeBSD, MacOS and Windows 7+ are supported. > > --- > > sysutils/Makefile | 1 + > > sysutils/fastfetch/Makefile | 95 > > ++++++++++++++++++++++++++++++++++++++++++++ > > sysutils/fastfetch/distinfo | 3 ++ > > sysutils/fastfetch/pkg-descr | 4 ++ > > sysutils/fastfetch/pkg-plist | 18 +++++++++ > > 5 files changed, 121 insertions(+) > > > > diff --git a/sysutils/Makefile b/sysutils/Makefile > > index 2b9d74a710e2..6eff501db8c9 100644 > > --- a/sysutils/Makefile > > +++ b/sysutils/Makefile > > @@ -375,6 +375,7 @@ > > SUBDIR +=3D faketty > > SUBDIR +=3D fand > > SUBDIR +=3D fanout > > + SUBDIR +=3D fastfetch > > SUBDIR +=3D fatback > > SUBDIR +=3D fcode-utils > > SUBDIR +=3D fconfig > > diff --git a/sysutils/fastfetch/Makefile b/sysutils/fastfetch/Makefile > > new file mode 100644 > > index 000000000000..d84e70de2cb7 > > --- /dev/null > > +++ b/sysutils/fastfetch/Makefile > > @@ -0,0 +1,95 @@ > > +PORTNAME=3D fastfetch > > +DISTVERSION=3D 1.12.2 > > +CATEGORIES=3D sysutils > > + > > +MAINTAINER=3D pkubaj@FreeBSD.org > > +COMMENT=3D Like neofetch, but much faster because written in C > > +WWW=3D https://github.com/fastfetch-cli/fastfetch > > + > > +LICENSE=3D MIT > > +LICENSE_FILE=3D ${WRKSRC}/LICENSE > > + > > +FLAVORS=3D full lite > > +FLAVOR?=3D ${FLAVORS:[1]} > > +lite_PKGNAMESUFFIX=3D -lite > > + > > +USES=3D cmake pkgconfig > > +USE_GITHUB=3D yes > > +GH_ACCOUNT=3D fastfetch-cli > > + > > +OPTIONS_DEFINE=3D LIBPCI VULKAN WAYLAND XCB GIO DCONF DBUS XFCO= NF \ > > + SQLITE3 IMAGEMAGICK CHAFA GLX OPENCL PULSEAUDIO > > + > > +.if ${FLAVOR} =3D=3D full > > +OPTIONS_DEFAULT=3D VULKAN WAYLAND XCB GIO DCONF DBUS XFCONF \ > > + SQLITE3 IMAGEMAGICK CHAFA GLX OPENCL PULSEAUDIO > > +.endif > > + > > +DCONF_DESC=3D Needed for values that are only stored in DConf + Fal= lback > > for GSettings > > +CHAFA_DESC=3D Image output as ascii art > > +LIBPCI_DESC=3D GPU output > > +VULKAN_DESC=3D Vulkan module & fallback for GPU output > > +XCB_DESC=3D Needed for display and WM detection in X11 > > +XFCONF_DESC=3D Needed for XFWM theme and XFCE Terminal font > > + > > +LIBPCI_CMAKE_BOOL=3D ENABLE_LIBPCI > > +LIBPCI_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libpci.so:devel/libpci > > +LIBPCI_RUN_DEPENDS=3D ${LOCALBASE}/lib/libpci.so:devel/libpci > > + > > +VULKAN_CMAKE_BOOL=3D ENABLE_VULKAN > > +VULKAN_BUILD_DEPENDS=3D > > ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader \ > > + > > ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers > > +VULKAN_RUN_DEPENDS=3D > > ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader > > + > > +WAYLAND_CMAKE_BOOL=3D ENABLE_WAYLAND > > +WAYLAND_BUILD_DEPENDS=3D > > ${LOCALBASE}/lib/libwayland-server.so:graphics/wayland > > +WAYLAND_RUN_DEPENDS=3D > > ${LOCALBASE}/lib/libwayland-server.so:graphics/wayland > > + > > +XCB_CMAKE_BOOL=3D ENABLE_XCB ENABLE_XCB_RANDR > > +XCB_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libxcb-randr.so:x11/libxcb > > +XCB_RUN_DEPENDS=3D ${LOCALBASE}/lib/libxcb-randr.so:x11/libxcb > > + > > +GIO_CMAKE_BOOL=3D ENABLE_GIO > > +GIO_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libgio-2.0.so:devel/glib20 > > +GIO_RUN_DEPENDS=3D ${LOCALBASE}/lib/libgio-2.0.so:devel/glib20 > > + > > +DBUS_CMAKE_BOOL=3D ENABLE_DBUS > > +DBUS_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libdbus-1.so:devel/dbus > > +DBUS_RUN_DEPENDS=3D ${LOCALBASE}/lib/libdbus-1.so:devel/dbus > > + > > +DCONF_CMAKE_BOOL=3D ENABLE_DCONF > > +DCONF_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libdconf.so:devel/dconf > > +DCONF_RUN_DEPENDS=3D ${LOCALBASE}/lib/libdconf.so:devel/dconf > > + > > +XFCONF_CMAKE_BOOL=3D ENABLE_XFCONF > > +XFCONF_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libxfconf-0.so:x11/xfce4-conf > > +XFCONF_RUN_DEPENDS=3D ${LOCALBASE}/lib/libxfconf-0.so:x11/xfce4-conf > > + > > +SQLITE3_CMAKE_BOOL=3D ENABLE_SQLITE3 > > +SQLITE3_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libsqlite3.so:databases/sqli= te3 > > +SQLITE3_RUN_DEPENDS=3D ${LOCALBASE}/lib/libsqlite3.so:databases/sqli= te3 > > + > > +IMAGEMAGICK_CMAKE_BOOL=3D ENABLE_IMAGEMAGICK7 > > +IMAGEMAGICK_USES=3D magick:7,build,run > > + > > +CHAFA_IMPLIES=3D IMAGEMAGICK > > +CHAFA_CMAKE_BOOL=3D ENABLE_CHAFA > > +CHAFA_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libchafa.so:graphics/chafa > > +CHAFA_RUN_DEPENDS=3D ${LOCALBASE}/lib/libchafa.so:graphics/chafa > > + > > +GLX_CMAKE_BOOL=3D ENABLE_GLX > > +GLX_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libGLX.so:graphics/libglvnd > > +GLX_RUN_DEPENDS=3D ${LOCALBASE}/lib/libGLX.so:graphics/libglvnd > > + > > +OPENCL_CMAKE_BOOL=3D ENABLE_OPENCL > > +OPENCL_BUILD_DEPENDS=3D ${LOCALBASE}/lib/libOpenCL.so:devel/ocl-icd \ > > + ${LOCALBASE}/include/CL/cl.h:devel/opencl > > +OPENCL_RUN_DEPENDS=3D ${LOCALBASE}/lib/libOpenCL.so:devel/ocl-icd > > + > > +PULSEAUDIO_CMAKE_BOOL=3D ENABLE_PULSE > > +PULSEAUDIO_BUILD_DEPENDS=3D > > ${LOCALBASE}/lib/libpulse.so:audio/pulseaudio > > +PULSEAUDIO_RUN_DEPENDS=3D > > ${LOCALBASE}/lib/libpulse.so:audio/pulseaudio > > + > > +CMAKE_ARGS=3D -DTARGET_DIR_ETC:NHCITF=3D"${LOCALBASE}/etc" > > + > > +.include > > diff --git a/sysutils/fastfetch/distinfo b/sysutils/fastfetch/distinfo > > new file mode 100644 > > index 000000000000..d8ff220d47cc > > --- /dev/null > > +++ b/sysutils/fastfetch/distinfo > > @@ -0,0 +1,3 @@ > > +TIMESTAMP =3D 1688639146 > > +SHA256 (fastfetch-cli-fastfetch-1.12.2_GH0.tar.gz) =3D > > e3d7384de0aa306effdcbe1b7e8095b40649773086b838d925fbfc2ec5027ab0 > > +SIZE (fastfetch-cli-fastfetch-1.12.2_GH0.tar.gz) =3D 538194 > > diff --git a/sysutils/fastfetch/pkg-descr b/sysutils/fastfetch/pkg-descr > > new file mode 100644 > > index 000000000000..16d8c0b74713 > > --- /dev/null > > +++ b/sysutils/fastfetch/pkg-descr > > @@ -0,0 +1,4 @@ > > +Fastfetch is a neofetch-like tool for fetching system information and > > +displaying them in a pretty way. It is written mainly in C, with > > performance > > +and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS= and > > +Windows 7+ are supported. > > diff --git a/sysutils/fastfetch/pkg-plist b/sysutils/fastfetch/pkg-plist > > new file mode 100644 > > index 000000000000..44d7beb23173 > > --- /dev/null > > +++ b/sysutils/fastfetch/pkg-plist > > @@ -0,0 +1,18 @@ > > +%%ETCDIR%%/config.conf > > +bin/fastfetch > > +bin/flashfetch > > +share/bash-completion/completions/fastfetch > > +%%DATADIR%%/presets/all > > +%%DATADIR%%/presets/btw > > +%%DATADIR%%/presets/devinfo > > +%%DATADIR%%/presets/devinfo-verbose > > +%%DATADIR%%/presets/examples/1 > > +%%DATADIR%%/presets/examples/2 > > +%%DATADIR%%/presets/examples/3 > > +%%DATADIR%%/presets/examples/4 > > +%%DATADIR%%/presets/examples/5 > > +%%DATADIR%%/presets/hardware > > +%%DATADIR%%/presets/neofetch > > +%%DATADIR%%/presets/paleofetch > > +%%DATADIR%%/presets/software > > +%%DATADIR%%/presets/verbose > > --cius8n4q4Lcs3tiT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmSnJrQACgkQelmbhSCD nJ3x1Q/6Agrwv2yZRd9l7BbLXMSlV5U/zRnXxVFymFXVGaBIw5rqVokL3z41Y2EE Y6xeYLvl7nkv+THilwxIa1Caubq0MqVR1pnmGqr6ncWXufHPrqRrVLmG4eJC+bhy D+JntggpXRdT5JKjtkQ/GGxuxyLDXfswhi0Z3dRTKHwBpk7B0cNZ7xqYk2IbyAyS QgK8jRMthVQovKfkJwNuWFIn62ahHKb72WAguufGGb8GBaxfZmMxdu59GPjJvdVw gGoTQE+iA7jtdpPW/gU4c1HjYBAB3c0qbmbZpvrsHQ3gnqRThGqRLqeDGFnHiryb vx28mj0y1GzDgaHj1DPspR22s6gGwoP5v8xP95GrJUuQqdhBjkGNRahROxhwglyB rPZkjWj9hxZwJXiYWUFN2FT8kAVgSsB8gKKIIweFNrdLy0gOcEQX9BIXO5vEnqKC KbLQJnOCM+V+9k8CwDByJ+dhLOvid9XkPF/vdcOWgpUN+hNR9EIf7GIRe8Ykj7fM t7aVYEk5pEyO/uDmTUMGsPJFkQyKiqsBx9ZyC96fnio6uB14TKpNG9NoiD16JFfK /LDEKJAl7JdVIfMqf7S5LL9npUvZ5HC58KaUZCwx+WU8ZgEQgJki8uWHJC1/7vMH 8rfUnjMIKNp7r2vmfA0QbjQVyPX5jp9X1fy8taxaBJHOACycbDw= =2zre -----END PGP SIGNATURE----- --cius8n4q4Lcs3tiT--