Page MenuHomeFreeBSD

x11/colormeter: Add new port
ClosedPublic

Authored by dteske on Jul 24 2026, 3:35 AM.
Tags
None
Referenced Files
F174559442: D58429.id185519.diff
Sun, Oct 4, 4:08 AM
F174559025: D58429.id182581.diff
Sun, Oct 4, 4:05 AM
F174558958: D58429.id185521.diff
Sun, Oct 4, 4:05 AM
F174539540: D58429.id182580.diff
Sun, Oct 4, 1:01 AM
F174516716: D58429.id182664.diff
Sat, Oct 3, 8:56 PM
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
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.