Page MenuHomeFreeBSD

x11/colormeter: Add new port
ClosedPublic

Authored by dteske on Jul 24 2026, 3:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 27, 7:02 PM
Unknown Object (File)
Thu, Sep 24, 1:46 PM
Unknown Object (File)
Tue, Sep 22, 11:00 PM
Unknown Object (File)
Mon, Sep 21, 5:14 PM
Unknown Object (File)
Sun, Sep 20, 11:29 AM
Unknown Object (File)
Sun, Sep 20, 7:27 AM
Unknown Object (File)
Sun, Sep 20, 6:41 AM
Unknown Object (File)
Sat, Sep 19, 6:22 AM
Subscribers
None

Details

Summary

X11 pixel magnifier with live RGB readout from FrauBSD. Ctrl+L locks
the sample; Button1 drag moves the window. Installs colormeter(1).

Test Plan
$ make package
$ pkg install -y work/pkg/colormeter-1.0.pkg
$ pkg list colormeter

Should produce:

/usr/local/bin/colormeter
/usr/local/share/licenses/colormeter-1.0/BSD2CLAUSE
/usr/local/share/licenses/colormeter-1.0/LICENSE
/usr/local/share/licenses/colormeter-1.0/catalog.mk
/usr/local/share/man/man1/colormeter.1.gz

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76358
Build 73241: arc lint + arc unit

Event Timeline

dteske created this revision.

Add Differential Revision trailer.

dteske edited the summary of this revision. (Show Details)

Add colormeter(1) man-page

This looks like an interesting and useful utility.

Port changes:

  • You need an entry in x11/Makefile
  • You need LIB_DEPENDS=libfontconfig.so:x11-fonts/fontconfig
% readelf -a /usr/local/bin/colormeter | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libXft.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
In D58429#1360241, @jrm wrote:

This looks like an interesting and useful utility.

Port changes:

  • You need an entry in x11/Makefile
  • You need LIB_DEPENDS=libfontconfig.so:x11-fonts/fontconfig

Thanks!

% readelf -a /usr/local/bin/colormeter | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libXft.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]

I like that! Great way to check the needs of just the one tool without using ldd

Add x11/Makefile and missing LIB_DEPENDS for fontconfig

This revision is now accepted and ready to land.Aug 31 2026, 9:38 PM
This revision was automatically updated to reflect the committed changes.