Page MenuHomeFreeBSD

x11/florence: Update to 0.7.2 and adopt
ClosedPublic

Authored by dteske on Jul 24 2026, 1:54 AM.
Tags
None
Referenced Files
F174330368: D58428.id185640.diff
Fri, Oct 2, 11:07 AM
Unknown Object (File)
Thu, Oct 1, 8:51 PM
Unknown Object (File)
Thu, Oct 1, 2:45 PM
Unknown Object (File)
Thu, Oct 1, 1:37 AM
Unknown Object (File)
Wed, Sep 30, 11:36 PM
Unknown Object (File)
Wed, Sep 30, 9:36 PM
Unknown Object (File)
Wed, Sep 30, 1:20 PM
Unknown Object (File)
Wed, Sep 30, 9:08 AM
Subscribers
None

Details

Summary

Switch from the stalled SourceForge 0.6.3 distfile to the FrauBSD
continuation on GitHub and take maintainership from ports@.

Drop PORTREVISION, fetch via USE_GITHUB.

Default-on FREEBSD_ORB option replaces the Super key glyph with the
FreeBSD orb (ports-only branding).

Test Plan
$ make
$ make package
$ pkg install -f work/pkg/florence-0.7.0.pkg
$ pkg list florence | grep -e bin -e man

Should show:

/usr/local/bin/florence
/usr/local/share/man/man1/florence.1.gz

Then:

/usr/local/bin/florence --version

Should show:

Florence (/usr/local/bin/florence) 0.7.0

Diff Detail

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

Event Timeline

dteske created this revision.

Fix configure: LDFLAGS -lXrandr + autoreconf for 0.7.0 version.

Drop autoreconf; reinplace shipped configure for 0.7.0 (gnome-doc-utils).

FREEBSD_ORB option (default on); await retagged 0.7.0 distinfo.

Refresh distinfo for retagged 0.7.0 (XF86 artwork).

dteske added a reviewer: adamw.

Fix distinfo: retagged 0.7.0 SHA/SIZE (XF86 artwork). Squash-ready tip.

Correct distinfo for retagged 0.7.0 (XF86 artwork); single commit.

dteske edited the summary of this revision. (Show Details)
dteske edited the test plan for this revision. (Show Details)
dteske retitled this revision from x11/florence: Update to 0.7.0 and adopt to x11/florence: Update to 0.7.1 and adopt.Aug 24 2026, 6:51 AM
dteske edited the summary of this revision. (Show Details)
dteske edited the summary of this revision. (Show Details)

Update from 0.7.0 to 0.7.1

Satisfy portclippy / portfmt

I tried a runtime test and got:

% florence
Florence version 0.7.1
XRecord extension found version=1.13
/usr/local/share/florence/styles/default/florence.style:284: element type: Relax-NG validity error : Error validating value
/usr/local/share/florence/styles/default/florence.style:284: element type: Relax-NG validity error : Element type failed to validate content
/usr/local/share/florence/styles/default/florence.style:317: element type: Relax-NG validity error : Error validating value
/usr/local/share/florence/styles/default/florence.style:317: element type: Relax-NG validity error : Element type failed to validate content
FATAL ERROR: /usr/local/share/florence/styles/default/florence.style does not valdate against /usr/local/share/florence/relaxng/style.rng
If you need help, please rerun with the -d switch (debug)
and send the output to f.agrech@gmail.com

FATAL ERROR: No signal received from parent process. We assume it's dead.
If you need help, please rerun with the -d switch (debug)
and send the output to f.agrech@gmail.com
x11/florence/Makefile
46–54

This line can then go above the NLS_ block.

dteske retitled this revision from x11/florence: Update to 0.7.1 and adopt to x11/florence: Update to 0.7.2 and adopt.Sep 1 2026, 2:05 AM

Update to 0.7.2 addressing various issues

Use <OPTION>_EXTRA_PATCHES

This now fails to build in poudriere with:

libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wl,--export-dynamic -o florence florence-main.o florence-florence.o florence-keyboard.o florence-key.o florence-trace.o florence-settings.o florence-trayicon.o florence-layoutreader.o florence-style.o florence-view.o florence-status.o florence-tools.o florence-settings-window.o florence-xkeyboard.o florence-fsm.o florence-service.o florence-controller.o florence-menu.o florence-ramble.o -Wl,--export-dynamic  -L/usr/local/lib -lrsvg-2 -lXext -lxml2 -lgstreamer-1.0 -lgmodule-2.0 -lm -lX11 -lXrandr -lnotify -lXtst -latspi -L/usr/local/libdata/pkgconfig/../../lib -ldbus-1 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -latk-1.0 -lpango-1.0 -lcairo -lharfbuzz -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/lib -lz -lflorence-1.0 -pthread
ld.lld: error: unable to find library -lflorence-1.0
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:604: florence] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11/florence/work/florence-0.7.2/src'
gmake[1]: *** [Makefile:485: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11/florence/work/florence-0.7.2'
gmake: *** [Makefile:417: all] Error 2
*** Error code 1

I'm guessing it builds for you because you already have florence installed.

In D58428#1361002, @jrm wrote:

This now fails to build in poudriere with:

libtool: link: cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wl,--export-dynamic -o florence florence-main.o florence-florence.o florence-keyboard.o florence-key.o florence-trace.o florence-settings.o florence-trayicon.o florence-layoutreader.o florence-style.o florence-view.o florence-status.o florence-tools.o florence-settings-window.o florence-xkeyboard.o florence-fsm.o florence-service.o florence-controller.o florence-menu.o florence-ramble.o -Wl,--export-dynamic  -L/usr/local/lib -lrsvg-2 -lXext -lxml2 -lgstreamer-1.0 -lgmodule-2.0 -lm -lX11 -lXrandr -lnotify -lXtst -latspi -L/usr/local/libdata/pkgconfig/../../lib -ldbus-1 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -latk-1.0 -lpango-1.0 -lcairo -lharfbuzz -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/lib -lz -lflorence-1.0 -pthread
ld.lld: error: unable to find library -lflorence-1.0
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:604: florence] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11/florence/work/florence-0.7.2/src'
gmake[1]: *** [Makefile:485: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11/florence/work/florence-0.7.2'
gmake: *** [Makefile:417: all] Error 2
*** Error code 1

I'm guessing it builds for you because you already have florence installed.

Spot on! I executed pkg remove -y florence and the very next build failed with the same exact error.

I'll fix and update shortly.

This looks good.

An issue I noticed with a runtime test is that there are errors about missing dependencies, and sound playback failed.

jrm@asn ~ % florence
Florence version 0.7.2
XRecord extension found version=1.13
Your screen does not support alpha channel. Semi-transparency is disabled
DBus name aquired: org.florence.Keyboard
Your screen does not support alpha channel. Semi-transparency is disabled
WARNING: Notification failed
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.

I got sound working by installing a few gstreamer packages. I think you can fix the port by adding USE_GSTREAMER= good ogg vorbis.

In D58428#1361255, @jrm wrote:

This looks good.

An issue I noticed with a runtime test is that there are errors about missing dependencies, and sound playback failed.

jrm@asn ~ % florence
Florence version 0.7.2
XRecord extension found version=1.13
Your screen does not support alpha channel. Semi-transparency is disabled
DBus name aquired: org.florence.Keyboard
Your screen does not support alpha channel. Semi-transparency is disabled
WARNING: Notification failed
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.
ERROR: An error occured while playing sound: Your GStreamer installation is missing a plug-in.

I got sound working by installing a few gstreamer packages. I think you can fix the port by adding USE_GSTREAMER= good ogg vorbis.

Thanks, I missed these because I already had them installed for nautilus -> localsearch -> {gstreamer1-plugins-core -> gstreamer1-plugins-vorbis -> gstreamer1-plugins-ogg, gstreamer1-plugins-good}

Worth noting that sound playback, while on-by-default, is completely optional (in the preferences -- either right click on the floating glyph and select Preferences or, if you have the "Florence Keys" enabled in preferences [on by default] under the "layout" section, you can click the wrench key to open preferences).

Add gstreamer plugin requirements to Makefile (jrm)

This revision is now accepted and ready to land.Sep 2 2026, 9:53 PM
This revision was automatically updated to reflect the committed changes.