Page MenuHomeFreeBSD

x11/colormeter: Add new port
ClosedPublic

Authored by dteske on Jul 24 2026, 3:35 AM.
Tags
None
Referenced Files
F170834877: D58429.id182664.diff
Sun, Sep 6, 10:36 PM
F170773850: D58429.id185521.diff
Sun, Sep 6, 1:38 PM
F170760667: D58429.id185519.diff
Sun, Sep 6, 11:34 AM
F170758163: D58429.id185521.diff
Sun, Sep 6, 11:07 AM
F170757951: D58429.id185519.diff
Sun, Sep 6, 11:04 AM
F170746971: D58429.id185521.diff
Sun, Sep 6, 9:35 AM
F170744317: D58429.id182581.diff
Sun, Sep 6, 9:12 AM
F170736003: D58429.id182580.diff
Sun, Sep 6, 7:45 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 75076
Build 71959: 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.Mon, Aug 31, 9:38 PM
This revision was automatically updated to reflect the committed changes.