Page MenuHomeFreeBSD

x11/colormeter: Add new port
ClosedPublic

Authored by dteske on Jul 24 2026, 3:35 AM.
Tags
None
Referenced Files
F170222202: D58429.id.diff
Thu, Sep 3, 10:30 PM
F170177808: D58429.id185521.diff
Thu, Sep 3, 6:10 PM
F170005138: D58429.id182664.diff
Thu, Sep 3, 5:49 AM
Unknown Object (File)
Wed, Sep 2, 10:57 PM
Unknown Object (File)
Wed, Sep 2, 1:15 PM
Unknown Object (File)
Wed, Sep 2, 9:53 AM
Unknown Object (File)
Wed, Sep 2, 7:56 AM
Unknown Object (File)
Tue, Sep 1, 10:40 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 75118
Build 72001: 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.