Fireflies is a rather pretty OpenGL screensaver. It is referenced in the current XScreensaver package (shows up in xscreensaver-demo as a greyed out option) so there is no need to edit /etc/X11/app-defaults/XScreenSaver. The following patch to configure solves a rather strange problem whereby backticks were not being expanded - it appeared to be triggered by a nested make inside ebuild, as compiling by hand in a normal environment did not exhibit the problem, but launching a bash shell inside the ebuild and compiling from there allowed the problem to manifest. I suggest x11-misc/fireflies. The SDL useflag allows one to manipulate the view by mouse when launching the screensaver as a standalone program.
Created attachment 20899 [details, diff] Ebuild
Created attachment 20900 [details, diff] Patch to configure to fix backticks bug
I understand the bug now: it seems that make will pass to subprocesses only those make variables which have a corresponding env var in the environment make was called from. In this case, the env var in question is CFLAGS, which is unset in my env but set in /etc/make.conf. This means that compiling by hand will FAIL if CFLAGS is set; thus the above patch is justified. Also, the bug only occurs when compiling Fireflies with SDL support.
Created attachment 20918 [details, diff] Patch to properly set CFLAGS etc in Make.include Use += syntax to handle CFLAGS additions better
Created attachment 20919 [details] Ebuild to use fltk-config Uses fltk-config to locate fltk headers and libs.
Comment on attachment 20919 [details] Ebuild to use fltk-config Uses fltk-config to locate fltk headers and libs
In CVS, Thanks.