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
F170093001: D58428.id185648.diff
Thu, Sep 3, 12:01 PM
F170085908: D58428.id185640.diff
Thu, Sep 3, 11:30 AM
F170079232: D58428.id185653.diff
Thu, Sep 3, 11:07 AM
F170050385: D58428.id182576.diff
Thu, Sep 3, 9:05 AM
F169906845: D58428.id182577.diff
Wed, Sep 2, 10:26 PM
F169906844: D58428.id182574.diff
Wed, Sep 2, 10:26 PM
F169906627: D58428.diff
Wed, Sep 2, 10:25 PM
Unknown Object (File)
Tue, Sep 1, 11:45 PM
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 76363
Build 73246: 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.Mon, Aug 24, 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
44–48

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.Tue, Sep 1, 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.Wed, Sep 2, 9:53 PM
This revision was automatically updated to reflect the committed changes.