I am uploading a NMU to DELAYED/10 in order to fix this.
Please find the debdiff attached.
diff -Nru floatbg-1.0/Imakefile floatbg-1.0/Imakefile
--- floatbg-1.0/Imakefile       2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/Imakefile       1996-10-27 00:16:23.000000000 +0000
@@ -1,4 +1,4 @@
-  LOCAL_LIBRARIES = $(XLIB) -lm
+  LOCAL_LIBRARIES = $(XLIB)
              SRCS = floatbg.c
              OBJS = floatbg.o
 SYSLAST_LIBRARIES = -lm
diff -Nru floatbg-1.0/Makefile floatbg-1.0/Makefile
--- floatbg-1.0/Makefile        2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/Makefile        1996-10-27 00:16:23.000000000 +0000
@@ -1,1267 +1,12 @@
-# Makefile generated by imake - do not edit!
 
-# ----------------------------------------------------------------------
-# Makefile generated from "Imake.tmpl" and <Imakefile>
-# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
-# $XdotOrg: xc/config/cf/Imake.tmpl,v 1.9 2005/01/24 06:37:31 daniels Exp $
-#
-#
-#
-#
-# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
-# ----------------------------------------------------------------------
+floatbg: floatbg.o
+       cc -O -o floatbg floatbg.o -lX11 -lm
 
-all::
+floatbg.o: floatbg.c
+       cc -O -c floatbg.c
 
-.SUFFIXES: .i
+clean:
+       rm -f floatbg floatbg.o floatbg.shar core a.out
 
-# $XdotOrg: xc/config/cf/Imake.cf,v 1.7 2005/03/02 11:20:29 gisburn Exp $
-# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
-
-# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
-
-# -----------------------------------------------------------------------
-# site-specific configuration parameters that need to come before
-# the platform-specific parameters - edit site.def to change
-
-# site:  $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
-
-# site:  $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
-
-# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
-
-# ----------------------------------------------------------------------
-# platform-specific configuration parameters - edit linux.cf to change
-
-# $XdotOrg: xc/config/cf/linux.cf,v 1.24 2005/03/06 01:05:00 branden Exp $
-# platform:  $Xorg: linux.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
-
-# platform:  $XFree86: xc/config/cf/linux.cf,v 3.220 2003/12/30 22:38:33 tsi 
Exp $
-
-# operating system:  Linux 5.10.0-13-amd64 x86_64 [ELF] (5.10.0)
-# libc:        (6.36.0)
-# binutils:    (239)
-
-# $Xorg: lnxLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
-# $XFree86: xc/config/cf/lnxLib.rules,v 3.52 2003/10/31 20:49:03 herrb Exp $
-
-# $XdotOrg: xc/config/cf/xorg.cf,v 1.44 2005/01/27 03:50:46 ajax Exp $
-
-# $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $
-
-XORG_VERSION_CURRENT = (((7) * 10000000) + ((7) * 100000) + ((0) * 1000) + 0)
-RELEASE_VERSION = RELEASE-1
-
-AFB_DEFS = -DUSE_AFB
-
-DRIVERSDKDIR = $(USRLIBDIR)/Server
-DRIVERSDKMODULEDIR = $(USRLIBDIR)/Server/modules
-DRIVERSDKINCLUDEDIR = $(USRLIBDIR)/Server/include
-
-       XF86SRC = $(SERVERSRC)/hw/xfree86
-    XF86COMSRC = $(XF86SRC)/common
- XF86PARSERSRC = $(XF86SRC)/parser
-     XF86OSSRC = $(XF86SRC)/os-support
- XF86DRIVERSRC = $(XF86SRC)/drivers
-     DRIVERSRC = $(XF86DRIVERSRC)
-
-        XFREE86DOCDIR = $(DOCDIR)
-      XFREE86PSDOCDIR = $(DOCPSDIR)
-     XFREE86PDFDOCDIR = $(DOCPDFDIR)
-    XFREE86HTMLDOCDIR = $(DOCHTMLDIR)
-XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
-
-# $Xorg: xf86.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
-
-# $XFree86: xc/config/cf/xf86.rules,v 3.34tsi Exp $
-
-   SELINUX_LDFLAGS =
-
-   SELINUX_INCLUDES = -I/usr/include/selinux
-
-   SELINUX_CFLAGS =  -DHAVE_SELINUX
-
-   SELINUX_LIBS = -lselinux
-
-# ----------------------------------------------------------------------
-# site-specific configuration parameters that go after
-# the platform-specific parameters - edit site.def to change
-
-# site:  $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
-
-# site:  $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
-
-# ---------------------------------------------------------------------
-# Imake rules for building libraries, programs, scripts, and data files
-# rules:  $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
-# rules:  $XdotOrg: xc/config/cf/Imake.rules,v 1.8 2005/02/01 22:27:00 ajax 
Exp $
-#
-#
-#
-#
-# rules:  $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes 
Exp $
-
-.PHONY: all interfaces install install.man install.lib install.sdk     depend 
includes cleandir
-
- _NULLCMD_ = @ echo -n
-
-X_BYTE_ORDER = X_LITTLE_ENDIAN
-
-GLIDE2INCDIR =
-
-GLIDE3INCDIR = /usr/include/glide3
-
-GLIDE3LIBNAME = glide3
-
-TKLIBNAME = tk8.4
-
-TKLIBDIR = /usr/lib
-
-TCLLIBNAME = tcl8.4
-
-TCLIBDIR = /usr/lib
-
-          PATHSEP = /
-            SHELL = /bin/sh -e
-
-              TOP = .
-      CURRENT_DIR = .
-
-            IMAKE = imake
-           DEPEND = gccmakedep
-        MKDIRHIER = mkdir -p
-          REVPATH = revpath
-    EXPORTLISTGEN =
-             RMAN = /usr/bin/rman
-     RMANBASENAME = rman
-      RMANOPTIONS =
-        CONFIGSRC = $(TOP)/config
-         IMAKESRC = $(CONFIGSRC)/imake
-        DEPENDSRC = $(CONFIGSRC)/util
-
-          INCROOT = /usr/include
-        USRLIBDIR = /usr/lib
-           VARDIR = /var
-        VARLIBDIR = $(VARDIR)/lib
-  SYSTEMUSRLIBDIR = /usr/lib
-  SYSTEMUSRINCDIR = /usr/include
-         SHLIBDIR = /usr/lib
-       LINTLIBDIR = $(USRLIBDIR)/lint
-          MANPATH = /usr/share/man
-    MANSOURCEPATH = $(MANPATH)/man
-           MANDIR = $(MANSOURCEPATH)$(MANSECT)
-    SYSCALLMANDIR = $(MANSOURCEPATH)$(SYSCALLMANSECT)
-        LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSECT)
-     DRIVERMANDIR = $(MANSOURCEPATH)4
-       FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSECT)
-       GAMEMANDIR = $(MANSOURCEPATH)$(GAMEMANSECT)
-       MISCMANDIR = $(MANSOURCEPATH)7
-        ADMMANDIR = $(MANSOURCEPATH)$(ADMMANSECT)
-         ICONDIR = "/usr/share/icons"
-      XCURSORPATH = "~/.icons:/usr/share/icons:/usr/share/pixmaps"
-     DRIVERMANDIR = $(MANSOURCEPATH)4
-     LOGDIRECTORY = $(VARDIR)/log
-
-        VARRUNDIR = $(VARDIR)/run
-
-         VARDBDIR = $(VARDIR)/lib
-
-               AR = ar cq
-
-# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
-# from  top Makefile
-  BOOTSTRAPCFLAGS =
-
-               CC = gcc
-               AS = gcc -c -x assembler
-
-.SUFFIXES: .cc
-
-              CXX = c++
-
-          CXXFILT = c++filt
-
-           CXXLIB = -lstdc++
-
-    CXXDEBUGFLAGS = -g -O2 -fno-strict-aliasing
-CXXDEPENDINCLUDES =
- CXXEXTRA_DEFINES =
-CXXEXTRA_INCLUDES =
-   CXXSTD_DEFINES = -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L              
                -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 
-D_BSD_SOURCE -D_SVID_SOURCE                                 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                      
                            $(CXXPROJECT_DEFINES)
-       CXXOPTIONS =
-      CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
-       CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) 
$(DEFINES) $(CXXEXTRA_DEFINES)
-         CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) 
$(CXXDEFINES)
-
-         COMPRESS = compress
-          GZIPCMD = gzip -n
-
-              CPP = cpp $(STD_CPP_DEFINES)
-           RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
-    PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES)
-
-          INSTALL = install
-     INSTALLFLAGS = -c
-
-               LD = gcc -nostdlib
-
-              LEX = flex -l
-               M4 = m4
-          M4FLAGS =
-           LEXLIB = -lfl
-             YACC = bison -y
-           CCYACC = bison -y
-
-             LINT = lint
-
-      LINTLIBFLAG = -C
-         LINTOPTS = -axz
-               LN = ln -s
-             MAKE = make
-               MV = mv -f
-               CP = cp
-
-           RANLIB = ranlib
-
-  RANLIBINSTFLAGS =
-
-               RM = rm -f
-             PERL = perl
-         PERLOPTS =
-     PERLENVSETUP = env LC_ALL=C
-
-          MANSECT = 1
-   SYSCALLMANSECT = 2
-       LIBMANSECT = 3
-    DRIVERMANSECT = 4
-      FILEMANSECT = 5
-      GAMEMANSECT = 6
-      MISCMANSECT = 7
-       ADMMANSECT = 8
-       MANSRCSECT = s
-       MANNEWSECT = n
- PROJECTMANSUFFIX = x
-        MANSUFFIX = $(MANSECT)$(PROJECTMANSUFFIX)
- SYSCALLMANSUFFIX = $(SYSCALLMANSECT)$(PROJECTMANSUFFIX)
-     LIBMANSUFFIX = $(LIBMANSECT)$(PROJECTMANSUFFIX)
-  DRIVERMANSUFFIX = 4x
-    FILEMANSUFFIX = $(FILEMANSECT)$(PROJECTMANSUFFIX)
-    GAMEMANSUFFIX = $(GAMEMANSECT)$(PROJECTMANSUFFIX)
-    MISCMANSUFFIX = 7x
-     ADMMANSUFFIX = $(ADMMANSECT)$(PROJECTMANSUFFIX)
-   ADMINMANSUFFIX = 8
-     MANSRCSUFFIX = man
-     MANNEWSUFFIX = _man
-          MANDEFS = -D__apploaddir__=$(XAPPLOADDIR) 
-D__filemansuffix__=$(FILEMANSECT)$(PROJECTMANSUFFIX) 
-D__osfilemansuffix__=$(FILEMANSECT) 
-D__libmansuffix__=$(LIBMANSECT)$(PROJECTMANSUFFIX) 
-D__oslibmansuffix__=$(LIBMANSECT) 
-D__mansuffix__=$(MANSECT)$(PROJECTMANSUFFIX) -D__osmansuffix__=$(MANSECT) 
-D__syscallmansuffix__=$(SYSCALLMANSECT)$(PROJECTMANSUFFIX) 
-D__ossysmansuffix__=$(SYSCALLMANSECT) 
-D__gamemansuffix__=$(GAMEMANSECT)$(PROJECTMANSUFFIX) 
-D__osgamemansuffix__=$(GAMEMANSECT) 
-D__miscmansuffix__=$(MISCMANSECT)$(PROJECTMANSUFFIX) 
-D__osmiscmansuffix__=$(MISCMANSECT) 
-D__admmansuffix__=$(ADMMANSECT)$(PROJECTMANSUFFIX) 
-D__osadmmansuffix__=$(ADMMANSECT) 
-D__miscmansuffix__=$(MISCMANSECT)$(PROJECTMANSUFFIX) 
-D__osmiscmansuffix__=$(MISCMANSECT) 
-D__drivermansuffix__=$(DRIVERMANSECT)$(PROJECTMANSUFFIX) 
-D__osdrivermansuffix__=$(DRIVERMANSECT) -D__adminmansuffix__=$(ADMINMANSUFFIX) 
-D__projectroot__=$(PROJECTROOT) -D__xconfigfile__=$(XCONFIGFILE) 
-D__xconfigdir__=$(XCONFIGDIR) -D__xlogfile__=$(XLOGFILE) 
-D__xservername__=$(XSERVERNAME) 
-D__appmansuffix__=$(MANSECT)$(PROJECTMANSUFFIX) $(XORGMANDEFS) $(VENDORMANDEFS)
-
-   COMPRESSMANCMD = gzip -n
-
-            TROFF = groff -Tps
-            NROFF = nroff
-
-         MSMACROS = -ms
-        MANMACROS = -man
-              TBL = tbl
-              EQN = eqn
-             NEQN = neqn
-              COL = col
-         COLFLAGS = -b
-
-            MODCC = gcc
-
-           MODCPP = cpp
-        MODCFLAGS = $(CFLAGS)
-            MODAS = gcc -c -x assembler
-       MODASFLAGS =
-
-            MODLD = gcc -nostdlib
-
-       MODLDFLAGS =
-MODLDCOMBINEFLAGS = -r
-            MODAR = ar cq
-
-        MODRANLIB = ranlib
-
-            DVIPS = dvips
-            LATEX = latex
-
-     STD_INCLUDES =
-  STD_CPP_OPTIONS = -traditional
-  STD_CPP_DEFINES = -traditional -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 
                                -D_POSIX_SOURCE -D_XOPEN_SOURCE                 
                -D_BSD_SOURCE -D_SVID_SOURCE                                 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                      
                            $(PROJECT_DEFINES)
-      STD_DEFINES = -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L              
                -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 
-D_BSD_SOURCE -D_SVID_SOURCE                                 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                      
                            $(PROJECT_DEFINES)
- EXTRA_LOAD_FLAGS =
-  EXTRA_LDOPTIONS =
-  EXTRA_LIBRARIES =
-             TAGS = ctags
-
-   PARALLELMFLAGS =
-
-    SHAREDCODEDEF =
-         SHLIBDEF =
-
-     SHLIBLDFLAGS = -shared $(SHLIBGLOBALSFLAGS)
-
-         NOSTDLIB = -nostdlib
-     POSTNOSTDLIB = -Wl,-Bstatic -lgcc -Wl,-Bdynamic
-
-         PICFLAGS = -fPIC
-
-      CXXPICFLAGS = -fPIC
-
-    PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
-
-     INSTPGMFLAGS =
-
-     INSTBINFLAGS = -m 0755
-     INSTUIDFLAGS = -m 4711
-     INSTLIBFLAGS = -m 0644
-     INSTINCFLAGS = -m 0444
-     INSTMANFLAGS = -m 0444
-     INSTDATFLAGS = -m 0444
-    INSTKMEMFLAGS = -m 4711
-
-      PROJECTROOT = /usr
-
-      CDEBUGFLAGS = -g -O2 -fno-strict-aliasing
-        CCOPTIONS =
-
-      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) 
$(INSTALLED_INCLUDES) $(STD_INCLUDES)
-       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) 
$(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
-           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) 
$(MODULE_CFLAGS) $(ALLDEFINES)
-        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
-         LDPRELIB =  $(INSTALLED_LIBS)
-        LDPOSTLIB =
-        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) 
$(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
-     CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) 
$(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
-
-           LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) 
$(EXTRA_LIBRARIES)
-
-           CCLINK = $(CC)
-
-          CXXLINK = $(CXX)
-
-     LDSTRIPFLAGS = -x
-   LDCOMBINEFLAGS = -r
-      DEPENDFLAGS =
-   DEPEND_DEFINES =
-
-# Not sure this belongs here
-         TKLIBDIR = /usr/lib
-         TKINCDIR = /usr/include
-        TKLIBNAME = tk8.4
-        TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
-        TCLLIBDIR = /usr/lib
-        TCLINCDIR = /usr/include
-       TCLLIBNAME = tcl8.4
-       TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
-
-        MACROFILE = linux.cf
-           RM_CMD = $(RM)
-
-    IMAKE_DEFINES =
-   IMAKE_WARNINGS = -Wundef
-
-         IRULESRC = $(CONFIGDIR)
-        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)     
            $(IMAKE_WARNINGS)
-
-     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl                
        $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE)                   
$(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xorgsite.def 
$(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
-
-# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
-
-# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
-
-# ----------------------------------------------------------------------
-# X Window System Build Parameters and Rules
-# $XdotOrg: xc/config/cf/X11.tmpl,v 1.52 2005/09/22 23:54:18 alanc Exp $
-# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
-#
-#
-#
-#
-# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
-
-XORGRELSTRING = `echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
-  XORGMANNAME = X Version 11
-
-STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
-
-FCHOWN_DEFINES = -DHAS_FCHOWN
-
-# -----------------------------------------------------------------------
-# X Window System make variables; these need to be coordinated with rules
-
-             XTOP = $(TOP)
-           BINDIR = /usr/bin
-     BUILDINCROOT = $(TOP)/exports
-      BUILDINCDIR = $(BUILDINCROOT)/include
-      BUILDINCTOP = ../..
-      BUILDLIBDIR = $(TOP)/exports/lib
-      BUILDLIBTOP = ../..
-      BUILDBINDIR = $(TOP)/exports/bin
-      BUILDBINTOP = ../..
-   BUILDMODULEDIR = $(BUILDLIBDIR)/modules
-     BUILDI18NDIR = $(BUILDLIBDIR)/locale
-   BUILDMODULETOP = $(BUILDLIBTOP)/..
-    XBUILDINCROOT = $(XTOP)/exports
-     XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
-     XBUILDINCTOP = ../../..
-     XBUILDBINDIR = $(XBUILDINCROOT)/bin
-           INCDIR = $(INCROOT)
-           ADMDIR = /usr/adm
-           LIBDIR = /usr/lib/X11
-         SHAREDIR = /usr/share/X11
-       LIBEXECDIR = /usr/libexec
-        MODULEDIR = $(USRLIBDIR)/modules
-   TOP_X_INCLUDES =
-          XBINDIR = $(PROJECTROOT)/bin
-
-       INSTSRCDIR = /usr/src
-
-        ETCX11DIR = /etc/X11
-
-          CONFDIR = $(ETCX11DIR)
-
-           DOCDIR = $(LIBDIR)/doc
-       DOCHTMLDIR = $(DOCDIR)/html
-         DOCPSDIR = $(DOCDIR)/PostScript
-        DOCPDFDIR = $(DOCDIR)/PDF
-          FONTDIR = ${datarootdir}/fonts/X11
-      FONTROOTDIR = ${datarootdir}/fonts/X11
-     ENCODINGSDIR = ${FONTROOTDIR}/encodings
-         XINITDIR = $(LIBDIR)/xinit
-           XDMDIR = $(LIBDIR)/xdm
-        XDMVARDIR = $(VARLIBDIR)/xdm
-           TWMDIR = $(LIBDIR)/twm
-           XSMDIR = $(LIBDIR)/xsm
-           NLSDIR = $(LIBDIR)/nls
-       XLOCALEDIR = $(LIBDIR)/locale
-      LBXPROXYDIR = $(LIBDIR)/lbxproxy
-  PROXYMANAGERDIR = $(LIBDIR)/proxymngr
-        XPRINTDIR = $(LIBDIR)/xserver
-      XAPPLOADDIR = /etc/X11/app-defaults
-       FONTCFLAGS = -t
-
-     INSTAPPFLAGS = $(INSTDATFLAGS)
-
-              RGB = $(XBINDIR)/rgb
-            FONTC = $(XBINDIR)/bdftopcf
-      MKFONTSCALE = $(XBINDIR)/mkfontscale
-        MKFONTDIR = $(XBINDIR)/mkfontdir
-      MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
-          UCS2ANY = $(XBINDIR)/ucs2any
-      BDFTRUNCATE = $(XBINDIR)/bdftruncate
-     UCSMAPPREFIX = $(FONTDIR)/util/map-
-       XCURSORGEN = $(XBINDIR)/xcursorgen
-
-     HTMLINDEXCMD = HtmlIndexCmd
-
-       DOCUTILSRC = $(XTOP)/doc/util
-        CLIENTSRC = $(TOP)/clients
-          DEMOSRC = $(TOP)/demos
-       XDOCMACROS = $(DOCUTILSRC)/macros.t
-       XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
-       PROGRAMSRC = $(TOP)/programs
-           LIBSRC = $(XTOP)/lib
-          FONTSRC = $(XTOP)/fonts
-     ENCODINGSSRC = $(FONTSRC)/encodings
-       INCLUDESRC = $(BUILDINCROOT)/include
-      XINCLUDESRC = $(INCLUDESRC)/X11
-        SERVERSRC = $(XTOP)/programs/Xserver
-       CONTRIBSRC = $(XTOP)/../contrib
-   UNSUPPORTEDSRC = $(XTOP)/unsupported
-           DOCSRC = $(XTOP)/doc
-           RGBSRC = $(XTOP)/programs/rgb
-      BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
-     MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
-    FONTSERVERSRC = $(PROGRAMSRC)/xfs
-       FONTINCSRC = $(XTOP)/include/fonts
-        EXTINCSRC = $(XTOP)/include/extensions
-      FTSOURCEDIR = FreeTypeSrcDir
-        DRMSRCDIR = $(TOP)/extras/drm
-       MESASRCDIR = $(TOP)/extras/Mesa
-  OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
-        PSWRAPSRC = $(XTOP)/config/pswrap
-     TRANSCOMMSRC = $(LIBSRC)/xtrans
-   TRANS_INCLUDES = -I$(TRANSCOMMSRC)
- CONNECTION_FLAGS = -DUNIXCONN -DTCPCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES) 
-DIPv6
-XTRANS_FAILDEFINES = -DFAIL_HARD
-
-    VENDORMANNAME = X.Org
- VENDORMANVERSION = `echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`
-      XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
-    VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
-       VENDORNAME = The X.Org Foundation
-  VENDORNAMESHORT = X.Org
-
- VENDORWEBSUPPORT = http://wiki.X.Org
-
-VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
-
-      XKBDEFRULES = xorg
-  XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
-
-     XCONFIGFILE = xorg.conf
-      XCONFIGDIR = $(LIBDIR)
-        XLOGFILE = Xorg
-     XSERVERNAME = Xorg
-
-       XENVLIBDIR = $(USRLIBDIR)
-   CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) 
XLOCALEDIR=$(BUILDLIBDIR)/locale
-
-# $Xorg: lnxLib.tmpl,v 1.3 2000/08/17 19:41:47 cpqbld Exp $
-# $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $
-
-          XLIBSRC = $(LIBSRC)/X11
-
-SOXLIBREV = 6.2
-DEPXONLYLIB =
-XONLYLIB =  -lX11
-
-LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
-
-      DEPXLIBONLY = $(DEPXONLYLIB)
-         XLIBONLY = $(XONLYLIB)
-     LINTXONLYLIB = $(LINTXONLY)
-
-      XEXTLIBSRC = $(LIBSRC)/Xext
-
-SOXEXTREV = 6.4
-DEPEXTENSIONLIB =
-EXTENSIONLIB =  -lXext
-
-LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
-
-LINTEXTENSIONLIB = $(LINTEXTENSION)
-          DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
-             XLIB = $(EXTENSIONLIB) $(XONLYLIB)
-         LINTXLIB = $(LINTXONLYLIB)
-
-    XSSLIBSRC = $(LIBSRC)/Xss
-
-SOXSSREV = 1.0
-DEPXSSLIB =
-XSSLIB =  -lXss
-
-LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
-
-    XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
-
-SOXXF86MISCREV = 1.1
-DEPXXF86MISCLIB =
-XXF86MISCLIB =  -lXxf86misc
-
-LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
-
-    XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
-
-SOXXF86VMREV = 1.0
-DEPXXF86VMLIB =
-XXF86VMLIB =  -lXxf86vm
-
-LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
-
-    XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
-
-SOXXF86DGAREV = 1.0
-DEPXXF86DGALIB =
-XXF86DGALIB =  -lXxf86dga
-
-LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
-
-    XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
-
-SOXXF86RUSHREV = 1.0
-DEPXXF86RUSHLIB =
-XXF86RUSHLIB =  -lXxf86rush
-
-LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
-
-    XVLIBSRC = $(LIBSRC)/Xv
-
-SOXVREV = 1.0
-DEPXVLIB =
-XVLIB =  -lXv
-
-LINTXV = $(LINTLIBDIR)/llib-lXv.ln
-
-    XVMCLIBSRC = $(LIBSRC)/XvMC
-
-SOXVMCREV = 1.0
-DEPXVMCLIB =
-XVMCLIB =  -lXvMC
-
-LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
-
-    XINERAMALIBSRC = $(LIBSRC)/Xinerama
-
-SOXINERAMAREV = 1.0
-DEPXINERAMALIB =
-XINERAMALIB =  -lXinerama
-
-LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
-
-    XRESLIBSRC = $(LIBSRC)/XRes
-
-SOXRESREV = 1.0
-DEPXRESLIB =
-XRESLIB =  -lXRes
-
-LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
-
-    DMXLIBSRC = $(LIBSRC)/dmx
-
-SODMXREV = 1.0
-DEPDMXLIB =
-DMXLIB =  -ldmx
-
-LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
-
-    DPSLIBSRC = $(LIBSRC)/dps
-
-DEPDPSLIB = $(USRLIBDIR)/libdps.a
-DPSLIB =  -ldps
-
-LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
-
-    DPSTKLIBSRC = $(LIBSRC)/dpstk
-
-DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
-DPSTKLIB =  -ldpstk
-
-LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
-
-    PSRESLIBSRC = $(LIBSRC)/psres
-
-DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
-PSRESLIB =  -lpsres
-
-LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
-
-    GLULIBSRC = $(LIBSRC)/GLU
-
-SOGLUREV = 1.3
-DEPGLULIB =
-GLULIB =  -lGLU
-
-LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
-
-    GLXLIBSRC = $(LIBSRC)/GL
-
-SOGLREV = 1.2
-DEPGLXLIB =
-GLXLIB =  -lGL
-
-LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
-
-    GLWIDGETSRC = $(LIBSRC)/GLw
-
-DEPGLWLIB = $(USRLIBDIR)/libGLw.a
-GLWLIB =  -lGLw
-
-LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
-
-XRENDERDIR = /usr
-XRENDERLIBDIR = /usr/lib
-XRENDERINCDIR = /usr/include
-XRENDERLIB = -L$(XRENDERLIBDIR) -lXrender
-DEPXRENDERLIB =
-
-XRENDERINCLUDES = -I$(XRENDERINCDIR)
-
-    XRANDRLIBSRC = $(LIBSRC)/Xrandr
-
-SOXRANDRREV = 2.0
-DEPXRANDRLIB =
-XRANDRLIB =  -lXrandr
-
-LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
-
-    XFIXESLIBSRC = $(LIBSRC)/Xfixes
-
-SOXFIXESREV = 3.0
-DEPXFIXESLIB =
-XFIXESLIB =  -lXfixes
-
-LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
-
-   XDAMAGELIBSRC = $(LIBSRC)/Xdamage
-
-SOXDAMAGEREV = 1.0
-DEPXDAMAGELIB =
-XDAMAGELIB =  -lXdamage
-
-LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
-
-XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
-
-SOXCOMPOSITEREV = 1.0
-DEPXCOMPOSITELIB =
-XCOMPOSITELIB =  -lXcomposite
-
-LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
-
-XEVIELIBSRC = $(LIBSRC)/Xevie
-
-SOXEVIEREV = 1.0
-DEPXEVIELIB =
-XEVIELIB =  -lXevie
-
-LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
-
-XCURSORDIR = /usr
-XCURSORLIBDIR = /usr/lib
-XCURSORINCDIR = /usr/include
-XCURSORLIB = -L$(XCURSORLIBDIR) -lXcursor
-
-XCURSORINCLUDES=-I$(XCURSORINCDIR) $(XRENDERINCLUDES)
-
-   APPLEWMLIBSRC = $(LIBSRC)/apple
-
-DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
-APPLEWMLIB =  -lAppleWM
-
-LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
-
-   WINDOWSWMLIBSRC = $(LIBSRC)/windows
-
-DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
-WINDOWSWMLIB =  -lWindowsWM
-
-LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
-
-    XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
-
-DEPXFONTCACHELIB = $(USRLIBDIR)/libXfontcache.a
-XFONTCACHELIB =  -lXfontcache
-
-LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
-
-         XAUTHSRC = $(LIBSRC)/Xau
-
-SOXAUTHREV = 6.0
-DEPXAUTHLIB =
-XAUTHLIB =  -lXau
-
-LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
-
-      XDMCPLIBSRC = $(LIBSRC)/Xdmcp
-
-SOXDMCPREV = 6.0
-DEPXDMCPLIB =
-XDMCPLIB =  -lXdmcp
-
-LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
-
-           XMUSRC = $(LIBSRC)/Xmu
-
-SOXMUREV = 6.2
-DEPXMULIB =
-XMULIB =  -lXmu
-
-LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
-
-           XMUUSRC = $(LIBSRC)/Xmuu
-
-SOXMUUREV = 1.0
-DEPXMUULIB =
-XMUULIB =  -lXmuu
-
-LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
-
-       OLDXLIBSRC = $(LIBSRC)/oldX
-
-DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
-OLDXLIB =  -loldX
-
-LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
-
-         XPLIBSRC = $(LIBSRC)/Xp
-
-SOXPREV = 6.2
-DEPXPLIB =
-XPLIB =  -lXp
-
-LINTXP = $(LINTLIBDIR)/llib-lXp.ln
-
-       TOOLKITSRC = $(LIBSRC)/Xt
-
-SOXTREV = 6.0
-DEPXTOOLONLYLIB =
-XTOOLONLYLIB =  -lXt
-
-LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
-
-      DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
-         XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
-     LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
-
-       XALIBSRC = $(LIBSRC)/Xa
-
-SOXAREV = 1.0
-DEPXALIB =
-XALIB =  -lXa
-
-LINTXA = $(LINTLIBDIR)/llib-lXa.ln
-
-       AWIDGETSRC = $(LIBSRC)/Xaw
-
-SOXAWREV = 8.0
-DEPXAWLIB =
-XAWLIB =  -lXaw
-
-LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
-
-       AWIDGET7SRC = $(LIBSRC)/Xaw7
-
-SOXAW7REV = 7.0
-DEPXAW7LIB =
-XAW7LIB =  -lXaw
-
-LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
-
-       AWIDGET6SRC = $(LIBSRC)/Xaw6
-
-SOXAW6REV = 6.1
-DEPXAW6LIB =
-XAW6LIB =  -lXaw
-
-LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
-
-         XILIBSRC = $(LIBSRC)/Xi
-
-SOXINPUTREV = 6.0
-DEPXILIB =
-XILIB =  -lXi
-
-LINTXI = $(LINTLIBDIR)/llib-lXi.ln
-
-      XTESTLIBSRC = $(LIBSRC)/Xtst
-
-SOXTESTREV = 6.1
-DEPXTESTLIB =
-XTESTLIB =  -lXtst
-
-LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
-
-DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
-XBSDLIB =  -lXbsd
-
-LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
-
-           ICESRC = $(LIBSRC)/ICE
-
-SOICEREV = 6.4
-DEPICELIB =
-ICELIB =  -lICE
-
-LINTICE = $(LINTLIBDIR)/llib-lICE.ln
-
-            SMSRC = $(LIBSRC)/SM
-
-SOSMREV = 6.0
-DEPSMLIB =
-SMLIB =  -lSM
-
-LINTSM = $(LINTLIBDIR)/llib-lSM.ln
-
-           XKEYSRC = $(LIBSRC)/Xkey
-
-SOXKEYREV = 6.0
-DEPXKEYLIB =
-XKEYLIB =  -lXkey
-
-LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
-
-         FSLIBSRC = $(LIBSRC)/FS
-
-SOFSREV = 6.0
-DEPFSLIB =
-FSLIB =  -lFS
-
-LINTFS = $(LINTLIBDIR)/llib-lFS.ln
-
-         FONTLIBSRC = $(LIBSRC)/font
-
-DEPFONTLIB = $(USRLIBDIR)/libXfont.a
-FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC)  -lXfont
-
-LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
-#
-DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
-XFONTLIB =  -lXfont
-
-LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
-
-     FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
-
-DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
-FONTSTUBLIB =  -lfntstubs
-
-LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
-         DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
-            FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
-
-         FONTENCLIBSRC = $(LIBSRC)/fontenc
-
-DEPXFONTENCLIB = $(USRLIBDIR)/libfontenc.a
-XFONTENCLIB =  -lfontenc
-
-LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
-
-          XPMLIBSRC = $(LIBSRC)/Xpm
-
-SOXPMREV = 4.11
-DEPXPMLIB =
-XPMLIB =  -lXpm
-
-LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
-
-FREETYPE2DIR = /usr
-FREETYPE2LIBDIR = /usr/lib
-FREETYPE2INCDIR = /usr/include
-
-FREETYPE2LIB = -lfreetype
-
-FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 
-I$(FREETYPE2INCDIR)/freetype2/config
-
-FREETYPE2DEFINES = -DFREETYPE2
-
-          EXPATLIBSRC = $(LIBSRC)/expat
-
-SOEXPATREV = 0.4
-DEPEXPATLIB =
-EXPATLIB =  -lexpat
-
-LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
-
-EXPATDIR = /usr
-EXPATLIBDIR = /usr/lib
-EXPATINCDIR = /usr/include
-
-EXPATINCLUDES =
-
-EXPATLIB = -lexpat
-
-EXPATDEFINES = -DEXPAT
-
-XFTDIR = /usr
-XFTLIBDIR = /usr/lib
-XFTINCDIR = /usr/include
-XFTLIB = -L$(XFTLIBDIR) -lXft
-
-XFTINCLUDES= -I$(XFTINCDIR) $(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) 
$(XRENDERINCLUDES)
-
-FONTCONFIGDIR = /usr
-FONTCONFIGLIBDIR = /usr/lib
-FONTCONFIGINCDIR = /usr/include
-FONTCONFIGBINDIR = /usr/bin
-
-FONTCONFIGLIB = -lfontconfig
-
-FONTCONFIGINCLUDES =
-
-FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
-
-FONTCONFIGDEFINES = -DFONTCONFIG
-
-LIBPNGINCDIR = /usr/include
-
-LIBPNGINC=
-
-LIBPNGDIR = /usr
-LIBPNGLIBDIR = /usr/lib
-LIBPNGINCDIR = /usr/include
-
-LIBPNGLIB = -lpng
-
-    XKBFILELIBSRC = $(LIBSRC)/xkbfile
-
-SOXKBFILEREV =  1.0
-DEPXKBFILELIB =
-XKBFILELIB =  -lxkbfile
-
-LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
-
-     XKBCOMPCMD = $(XBINDIR)/xkbcomp
-
-    XKBUILIBSRC = $(LIBSRC)/xkbui
-
-SOXKBUIREV =  1.0
-DEPXKBUILIB =
-XKBUILIB =  -lxkbui
-
-LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
-
-EXTRAXAWREQS =
-
-EXTRAXAWCLIENTDEPLIBS =
-
-EXTRAXAWCLIENTLIBS =
-
-        XTRAPLIBSRC = $(LIBSRC)/XTrap
-
-SOXTRAPREV = 6.4
-DEPXTRAPLIB =
-XTRAPLIB =  -lXTrap
-
-LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
-
-          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-
-         DEPLIBS1 = $(DEPLIBS)
-         DEPLIBS2 = $(DEPLIBS)
-         DEPLIBS3 = $(DEPLIBS)
-         DEPLIBS4 = $(DEPLIBS)
-         DEPLIBS5 = $(DEPLIBS)
-         DEPLIBS6 = $(DEPLIBS)
-         DEPLIBS7 = $(DEPLIBS)
-         DEPLIBS8 = $(DEPLIBS)
-         DEPLIBS9 = $(DEPLIBS)
-         DEPLIBS10 = $(DEPLIBS)
-
-      XFTPRELOADPATTERN = libXft.so.?
-  XRENDERPRELOADPATTERN = libXrender.so.?
-    XFONTPRELOADPATTERN = libXfont*.so.?
-
-XMULIBONLY = -lXmu
-XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
-
-        CONFIGDIR = $(LIBDIR)/config
-
-    USRLIBDIRPATH = $(USRLIBDIR)
-        LDPRELIBS =   $(INSTALLED_LIBS)
-       LDPOSTLIBS =
-     TOP_INCLUDES =  $(TOP_X_INCLUDES)
-  PROJECT_DEFINES =
-   VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' 
-DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
-
-CXXPROJECT_DEFINES =
-
-# ----------------------------------------------------------------------
-# start of Imakefile
-
-  LOCAL_LIBRARIES = $(XLIB) -lm
-             SRCS = floatbg.c
-             OBJS = floatbg.o
-SYSLAST_LIBRARIES = -lm
-
-        PROGRAM = floatbg
-
-all:: floatbg
-
-floatbg: $(OBJS) $(DEPLIBS)
-       $(RM) $@
-       $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS)  
$(EXTRA_LOAD_FLAGS)
-
-install:: floatbg
-       @if [ -d $(DESTDIR)$(BINDIR) ]; then \
-               set +x; \
-       else \
-               if [ -h $(DESTDIR)$(BINDIR) ]; then \
-                       (set -x; rm -f $(DESTDIR)$(BINDIR)); \
-               fi; \
-               (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
-       fi
-       $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  floatbg 
$(DESTDIR)$(BINDIR)/floatbg
-
-all:: floatbg.$(MANNEWSUFFIX)
-
-floatbg.$(MANNEWSUFFIX): floatbg.$(MANSRCSUFFIX)
-       $(RM) $@
-       if test -z "$(PREPROCESSMANPAGES)" ; then \
-          cd `dirname floatbg` && \
-          $(LN) `basename floatbg.$(MANSRCSUFFIX)` `basename $@`; \
-       else \
-                    $(RAWCPP)  $(MANDEFS) $(EXTRAMANDEFS) \
-            < floatbg.$(MANSRCSUFFIX) | sed -e '/^#  *[0-9][0-9]*  *.*$$/d'    
                -e '/^#line  *[0-9][0-9]*  *.*$$/d'                     -e '/^[ 
        ]*XCOMM$$/s/XCOMM/#/'                   -e '/^[         
]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[         
]*XHASH/s/XHASH/#/'                     -e '/\@\@$$/s/\@\@$$/\\/' >$@; \
-       fi
-
-cleandir::
-       $(RM) floatbg.$(MANNEWSUFFIX)
-
-install.man:: floatbg.$(MANNEWSUFFIX)
-       @if [ -d $(DESTDIR)$(MANDIR) ]; then \
-               set +x; \
-       else \
-               if [ -h $(DESTDIR)$(MANDIR) ]; then \
-                       (set -x; rm -f $(DESTDIR)$(MANDIR)); \
-               fi; \
-               (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
-       fi
-       $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) floatbg.$(MANNEWSUFFIX) 
$(DESTDIR)$(MANDIR)/floatbg.$(MANSUFFIX)
-
-depend::
-       $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
-
-lint:
-       $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
-lint1:
-       $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
-
-cleandir::
-       $(RM) floatbg
-
-# ----------------------------------------------------------------------
-# common rules for all Makefiles - do not edit
-
-.c.i:
-       $(RM) $@
-               $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
-
-.SUFFIXES: .ii
-
-.cc.ii:
-       $(RM) $@
-               $(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
-
-.SUFFIXES: .s
-
-.c.s:
-       $(RM) $@
-               $(CC) -S $(CFLAGS) $(_NOOP_) $*.c
-
-.cc.s:
-       $(RM) $@
-               $(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
-
-emptyrule::
-
-cleandir::
-       $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS 
make.log MakeOut   "#"*
-
-Makefile::
-       -@if [ -f Makefile ]; then set -x; \
-       $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
-       else exit 0; fi
-       $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
-
-tags::
-       $(TAGS) -w *.[ch]
-       $(TAGS) -xw *.[ch] > TAGS
-
-man_keywords::
-
-html_index::
-
-clean:: cleandir
-
-distclean:: cleandir
-
-    PREPROCESSMANPAGES = true
-
-# ----------------------------------------------------------------------
-# empty rules for directories that do not have SUBDIRS - do not edit
-
-install::
-       @echo "install in $(CURRENT_DIR) done"
-
-install.man::
-       @echo "install.man in $(CURRENT_DIR) done"
-
-install.sdk::
-       @echo "install.sdk in $(CURRENT_DIR) done"
-
-Makefiles::
-
-includes::
-
-depend::
-
-distclean::
-       $(RM) Makefile Makefile.dep
-
-# ----------------------------------------------------------------------
-# dependencies generated by makedepend
-
-# DO NOT DELETE
-floatbg.o: floatbg.c /usr/include/stdc-predef.h /usr/include/X11/Xlib.h \
- /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/features.h \
- /usr/include/features-time64.h \
- /usr/include/x86_64-linux-gnu/bits/wordsize.h \
- /usr/include/x86_64-linux-gnu/bits/timesize.h \
- /usr/include/x86_64-linux-gnu/sys/cdefs.h \
- /usr/include/x86_64-linux-gnu/bits/long-double.h \
- /usr/include/x86_64-linux-gnu/gnu/stubs.h \
- /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
- /usr/include/x86_64-linux-gnu/bits/types.h \
- /usr/include/x86_64-linux-gnu/bits/typesizes.h \
- /usr/include/x86_64-linux-gnu/bits/time64.h \
- /usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/time_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
- /usr/lib/gcc/x86_64-linux-gnu/12/include/stddef.h \
- /usr/include/x86_64-linux-gnu/bits/stdint-intn.h /usr/include/endian.h \
- /usr/include/x86_64-linux-gnu/bits/endian.h \
- /usr/include/x86_64-linux-gnu/bits/endianness.h \
- /usr/include/x86_64-linux-gnu/bits/byteswap.h \
- /usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
- /usr/include/x86_64-linux-gnu/sys/select.h \
- /usr/include/x86_64-linux-gnu/bits/select.h \
- /usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
- /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
- /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
- /usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \
- /usr/include/x86_64-linux-gnu/bits/struct_mutex.h \
- /usr/include/x86_64-linux-gnu/bits/struct_rwlock.h /usr/include/X11/X.h \
- /usr/include/X11/Xfuncproto.h /usr/include/X11/Xosdefs.h \
- /usr/include/X11/Xutil.h /usr/include/X11/keysym.h \
- /usr/include/X11/keysymdef.h /usr/include/X11/Xatom.h \
- /usr/include/stdio.h \
- /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
- /usr/lib/gcc/x86_64-linux-gnu/12/include/stdarg.h \
- /usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
- /usr/include/x86_64-linux-gnu/bits/types/FILE.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \
- /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
- /usr/include/x86_64-linux-gnu/bits/floatn.h \
- /usr/include/x86_64-linux-gnu/bits/floatn-common.h /usr/include/stdlib.h \
- /usr/include/x86_64-linux-gnu/bits/waitflags.h \
- /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/alloca.h \
- /usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/time.h \
- /usr/include/x86_64-linux-gnu/bits/time.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
- /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
- /usr/include/math.h /usr/include/x86_64-linux-gnu/bits/math-vector.h \
- /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
- /usr/include/x86_64-linux-gnu/bits/flt-eval-method.h \
- /usr/include/x86_64-linux-gnu/bits/fp-logb.h \
- /usr/include/x86_64-linux-gnu/bits/fp-fast.h \
- /usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h \
- /usr/include/x86_64-linux-gnu/bits/mathcalls.h \
- /usr/include/x86_64-linux-gnu/sys/time.h /usr/include/unistd.h \
- /usr/include/x86_64-linux-gnu/bits/posix_opt.h \
- /usr/include/x86_64-linux-gnu/bits/environments.h \
- /usr/include/x86_64-linux-gnu/bits/confname.h \
- /usr/include/x86_64-linux-gnu/bits/getopt_posix.h \
- /usr/include/x86_64-linux-gnu/bits/getopt_core.h \
- /usr/include/x86_64-linux-gnu/bits/unistd_ext.h /usr/include/signal.h \
- /usr/include/x86_64-linux-gnu/bits/signum-generic.h \
- /usr/include/x86_64-linux-gnu/bits/signum-arch.h \
- /usr/include/x86_64-linux-gnu/bits/types/sig_atomic_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/__sigval_t.h \
- /usr/include/x86_64-linux-gnu/bits/siginfo-arch.h \
- /usr/include/x86_64-linux-gnu/bits/siginfo-consts.h \
- /usr/include/x86_64-linux-gnu/bits/types/sigval_t.h \
- /usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h \
- /usr/include/x86_64-linux-gnu/bits/sigevent-consts.h \
- /usr/include/x86_64-linux-gnu/bits/sigaction.h \
- /usr/include/x86_64-linux-gnu/bits/sigcontext.h \
- /usr/include/x86_64-linux-gnu/bits/types/stack_t.h \
- /usr/include/x86_64-linux-gnu/sys/ucontext.h \
- /usr/include/x86_64-linux-gnu/bits/sigstack.h \
- /usr/include/x86_64-linux-gnu/bits/sigstksz.h \
- /usr/include/x86_64-linux-gnu/bits/ss_flags.h \
- /usr/include/x86_64-linux-gnu/bits/types/struct_sigstack.h \
- /usr/include/x86_64-linux-gnu/bits/sigthread.h \
- /usr/include/x86_64-linux-gnu/bits/signal_ext.h
+shar:
+       shar -h floatbg.shar README Makefile Imakefile floatbg.c floatbg.man
diff -Nru floatbg-1.0/debian/changelog floatbg-1.0/debian/changelog
--- floatbg-1.0/debian/changelog        2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/debian/changelog        2024-04-07 17:27:43.000000000 +0000
@@ -1,3 +1,10 @@
+floatbg (1.0-28.2) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Convert to source format 3.0 (closes: #1043156)
+
+ -- Bastian Germann <b...@debian.org>  Sun, 07 Apr 2024 17:27:43 +0000
+
 floatbg (1.0-28.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru floatbg-1.0/debian/clean floatbg-1.0/debian/clean
--- floatbg-1.0/debian/clean    1970-01-01 00:00:00.000000000 +0000
+++ floatbg-1.0/debian/clean    2024-04-07 17:27:43.000000000 +0000
@@ -0,0 +1 @@
+floatbg._man
diff -Nru floatbg-1.0/debian/copyright floatbg-1.0/debian/copyright
--- floatbg-1.0/debian/copyright        2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/debian/copyright        2024-04-07 17:27:43.000000000 +0000
@@ -1,24 +1,46 @@
-This is the Debian Linux prepackaged version of floatbg, which slowly
-modifies the color of the X root window.
-
-This package was put together by Joey Hess <jo...@debian.org>, 
-from sources downloaded from:
-       http://sunsite.doc.ic.ac.uk/usenet/comp.sources.x/volume5/floatbg/
-
-The only documentation of floatbg's status with regard to copyright is in
-the README file, which states:
-        
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Comment:
+ This is the Debian Linux prepackaged version of floatbg, which slowly
+ modifies the color of the X root window.
+ .
+ This package was put together by Joey Hess <jo...@debian.org>.
+Source:
+ http://sunsite.doc.ic.ac.uk/usenet/comp.sources.x/volume5/floatbg/
+
+Files: *
+Comment:
+ The only documentation of floatbg's status with regard to copyright is in
+ the README file, which states:
+ .
         Floatbg is free and yours!
         I would like to hear about changes people made on it.
-
-I take this to mean that floatbg is in the public domain. I have attempted
-to contact the author, but haven't had any success so far.
-
-Also, some of the code has this copyright: 
-
-/* 16bpp and 32bpp support added by Dave Holland <d...@zenda.demon.co.uk>
- * Code taken from xsetroot by Mark Lillibridge
- * Copyright (c) 1987,  X Consortium
- */
-
-Which means it comes under the standard BSD copyright.
+Copyright: Jan Rekers
+License: public-domain
+ The packager assumes this to mean that floatbg is in the public domain.
+ Attempts to contact the author haven't had any success so far.
+
+Files: debian/patches/debian-patch
+Comment:
+ 16bpp and 32bpp support added by Dave Holland <d...@zenda.demon.co.uk>
+ Code taken from xsetroot by Mark Lillibridge
+Copyright: (c) 1987,  X Consortium
+License: X11
+ Permission to use, copy, modify, distribute, and sell this software and its
+ documentation for any purpose is hereby granted without fee, provided that
+ the above copyright notice appear in all copies and that both that
+ copyright notice and this permission notice appear in supporting
+ documentation.
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+ OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of the X Consortium shall not be
+ used in advertising or otherwise to promote the sale, use or other dealings
+ in this Software without prior written authorization from the X Consortium.
diff -Nru floatbg-1.0/debian/debhelper.log floatbg-1.0/debian/debhelper.log
--- floatbg-1.0/debian/debhelper.log    2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/debian/debhelper.log    1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-dh_installdirs
-dh_installdocs
-dh_installmenu
-dh_installman
-dh_installchangelogs
-dh_strip
-dh_compress
-dh_fixperms
-dh_installdeb
-dh_shlibdeps
-dh_gencontrol
-dh_md5sums
-dh_builddeb
diff -Nru floatbg-1.0/debian/patches/debian-patch 
floatbg-1.0/debian/patches/debian-patch
--- floatbg-1.0/debian/patches/debian-patch     1970-01-01 00:00:00.000000000 
+0000
+++ floatbg-1.0/debian/patches/debian-patch     2024-04-07 17:27:43.000000000 
+0000
@@ -0,0 +1,386 @@
+--- floatbg-1.0.orig/Imakefile
++++ floatbg-1.0/Imakefile
+@@ -1,4 +1,4 @@
+-  LOCAL_LIBRARIES = $(XLIB)
++  LOCAL_LIBRARIES = $(XLIB) -lm
+              SRCS = floatbg.c
+              OBJS = floatbg.o
+ SYSLAST_LIBRARIES = -lm
+--- floatbg-1.0.orig/floatbg.c
++++ floatbg-1.0/floatbg.c
+@@ -3,9 +3,24 @@
+  *    author: Jan Rekers
+  *    purpose: This program slowly changes the color of the root window of X.
+  */
++/* 16bpp and 32bpp support added by Dave Holland <d...@zenda.demon.co.uk>
++ * Code taken from xsetroot by Mark Lillibridge
++ * Copyright (c) 1987,  X Consortium
++ */
++/* Further modifications by Varis (risto.vara...@helsinki.fi) 22.10.1999
++ */
+ 
+ #include <X11/Xlib.h>
++#include <X11/Xutil.h>
++#include <X11/Xatom.h>
+ #include <stdio.h>
++#include <stdlib.h>
++#include <time.h>
++#include <math.h>
++#include <sys/time.h>
++#include <sys/types.h>
++#include <unistd.h>
++#include <signal.h>
+ 
+ #define MaxColor      0xffff
+ #define MaxTime       0x7fff
+@@ -14,11 +29,16 @@
+ #define default_s_mid .375
+ #define default_s_var .125
+ #define default_v_val .87
++#define default_l_time        10.00
++#define atom_name     "floatbg_running"
+ 
+ char *program_name;
++int gnome=0; /* call out to gconftool to affect Gnome background */
++int xfce=0; /* call out to xfconf-query to affect Xfce background */
+ Display *dpy;
+ int screen;
+ Window root;
++Atom running_flag;
+ 
+ struct hsv { float h,s,v; };
+ struct rgb { float r,g,b; };
+@@ -28,27 +48,49 @@ float sf_in_hf = default_sf_in_hf;
+ float s_mid = default_s_mid;
+ float s_var = default_s_var;
+ float v_val = default_v_val;
++float l_time = default_l_time;
+ 
+ unsigned long GetMutableColor();
+ void SetColor();
+-long time(), random();
++/* We no longer need these, since we now include stdlib.h and time.h.  */
++/* long time(), random(); */
+ double atof();
+ 
+-usage()
++/* from xsetroot */
++unsigned long NameToPixel();
++int save_colors=0;
++
++char str[100];
++int using8bpp=0;
++
++void usage(void)
+ {
+     fprintf(stderr, "usage: %s [options]\n", program_name);
+     fprintf(stderr, "  where options are:\n");
+     fprintf(stderr, "  -display <display>   or   -d <display>\n");
+     fprintf(stderr, "  -help\n");
++    fprintf(stderr, "  -gnome\n");
++    fprintf(stderr, "  -xfce\n");
+     fprintf(stderr, "  -value <float>   (default %1.2f)\n", default_v_val);
+     fprintf(stderr, "  -satmid <float>  (default %1.3f)\n", default_s_mid);
+     fprintf(stderr, "  -satvar <float>  (default %1.3f)\n", default_s_var);
+     fprintf(stderr, "  -fase <float>    (default %1.2f)\n", default_sf_in_hf);
++    fprintf(stderr, "  -time <float>    (default %1.2f)\n", default_l_time);
+     fprintf(stderr, "  value, (satmid-satvar) and (satmid+satvar) must be 
between 0 and 1\n");
+     exit(1);
+ }
+ 
+-main(argc, argv) 
++void clear_flag_exit(int signum) {
++    int i;
++
++    //fprintf(stderr, "received signal %d: clearing flag and exiting\n", 
signum);
++    i = XDeleteProperty(dpy, root, running_flag);
++    //fprintf(stderr, "i=%d\n");
++    XFlush(dpy);
++    exit(0);
++}
++
++int main(argc, argv) 
+     int argc;
+     char **argv;
+ {
+@@ -59,7 +101,8 @@ main(argc, argv)
+     struct hsv hsv;
+     struct rgb rgb;
+     extern char *optarg;
+-
++    struct timeval looptime, tmptime; 
++ 
+     program_name=argv[0];
+     for (i = 1; i < argc; i++) {
+       if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) {
+@@ -70,6 +113,14 @@ main(argc, argv)
+       if (!strcmp("-help", argv[i])) {
+           usage();
+       }
++      if (!strcmp("-gnome", argv[i])) {
++          gnome=1;
++            continue;
++      }
++      if (!strcmp("-xfce", argv[i])) {
++          xfce=1;
++            continue;
++      }
+       if (!strcmp("-value", argv[i])) {
+           if (++i>=argc) usage();
+           v_val = atof(argv[i]);
+@@ -90,6 +141,11 @@ main(argc, argv)
+           sf_in_hf = atof(argv[i]);
+           continue;
+       }
++      if (!strcmp("-time", argv[i])) {
++          if (++i>=argc) usage();
++          l_time = atof(argv[i]);
++          continue;
++      }
+       usage();
+     } 
+ 
+@@ -105,19 +161,83 @@ main(argc, argv)
+     screen = DefaultScreen(dpy);
+     root = RootWindow(dpy, screen);
+ 
+-    srandom( (int)time(0L) );
++    /* create the atom if it's not already there */
++    running_flag = XInternAtom(dpy, atom_name, False);
++
++    Atom actual_type_return;
++    int actual_format_return;
++    unsigned long nitems_return, bytes_after_return;
++    unsigned char *prop_return;
++    /* look for signs of life elsewhere */
++    i = XGetWindowProperty(dpy, root, running_flag, 0, 1, False, 
AnyPropertyType, 
++            &actual_type_return, &actual_format_return, &nitems_return,
++            &bytes_after_return, &prop_return);
++    //fprintf(stderr, "i=%d, nitems_return=%d\n", i, nitems_return);
++    if (nitems_return != 0) {
++        fprintf(stderr, "%s: another copy may be running; exiting\n", 
program_name);
++        exit(0);
++    }
++    i = XChangeProperty(dpy, root, running_flag, XA_ATOM, 32, PropModeReplace,
++            "flbg", 1);
++    //fprintf(stderr, "i=%d\n");
++    i = XGetWindowProperty(dpy, root, running_flag, 0, 1, False, 
AnyPropertyType, 
++            &actual_type_return, &actual_format_return, &nitems_return,
++            &bytes_after_return, &prop_return);
++    //fprintf(stderr, "i=%d, nitems_return=%d\n", i, nitems_return);
++
++    /* if we can't create the signal handler, there's not much we can */
++    /* do, so throw away the return code here */
++    signal(SIGHUP, (void *)clear_flag_exit);
++    signal(SIGTERM, (void *)clear_flag_exit);
++    signal(SIGINT, (void *)clear_flag_exit);
++    signal(SIGKILL, (void *)clear_flag_exit);
++
++    srandom( (int)time(NULL) );
+     ticks = (int)random() % MaxTime;
+ 
++    /* this will trigger a change to using 8bpp if appropriate */
+     cmapentry = GetMutableColor();
+-    XSetWindowBackground(dpy, root, cmapentry);
+-    XClearWindow(dpy, root);
++
++    /* for 16/32bpp this'll happen in the main loop */
++    if(using8bpp) {
++        XSetWindowBackground(dpy, root, cmapentry);
++        XClearWindow(dpy, root);
++    }
++
++    /* Set time values for select - ie. how long to wait between loops */
++    looptime.tv_sec = 0;
++    looptime.tv_usec = 0;
++    if (l_time >= 1) {
++      looptime.tv_sec = l_time;
++      l_time = l_time - looptime.tv_sec;
++    }
++    if ((l_time < 1) && (l_time > 0)) {
++      looptime.tv_usec = 1000000*l_time;
++    }
++
++    if(gnome) {
++        system("gconftool --type string --set 
/desktop/gnome/background/color_shading_type \"solid\"");
++        system("gconftool --unset 
/desktop/gnome/background/picture_filename");
++    }
++    if(xfce) {
++        system("xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/image-show -n -s false");
++        system("xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/color-style -n -s 0");
++    }
++
++    /* The Linux kernel time share clock ticks at 100Hz on i386, */
++    /* so this loop will not run more than 100 times a second. */
++    /* On Alpha this is reported to be 1000Hz. */
++
+     while ( 1 ) {
+-      ticks2hsv(ticks, &hsv);
++              ticks2hsv(ticks, &hsv);
+       hsv2rgb(&hsv, &rgb);
+-      SetColor(cmapentry, &rgb);
++      SetColor(cmapentry, &rgb, dpy, root, screen);
+       XFlush(dpy);
+       ticks = ticks++ % MaxTime;
+-      sleep(10);
++      /* select seems to alter the timeval struct, so we need */
++      /* an extra variable */
++      tmptime = looptime;
++      select(0, NULL, NULL, NULL, &tmptime);
+     }
+ }
+ 
+@@ -125,32 +245,61 @@ unsigned long GetMutableColor ()
+ {
+     XColor color;
+     if (XAllocColorCells (dpy, DefaultColormap(dpy,screen),
+-                        0, 0, 0, &color.pixel, 1) == NULL) {
+-      fprintf(stderr, "%s:  unable to allocate colorcells\n", program_name);
+-      exit(1); }
++                        0, 0, 0, &color.pixel, 1) == 0) {
++      /* this is not an 8bpp display */
++      return (unsigned long) 0;
++      }
++    using8bpp=1;
+     return(color.pixel);
+ }
+ 
+-void SetColor (pixel, rgb)
++void SetColor (pixel, rgb, dpy, root, screen)
+     unsigned long pixel;
+     struct rgb *rgb;
++    Display *dpy;
++    int screen;
++    Window root;
+ {
+     XColor color;
+-    int red = (int) MaxColor * rgb->r;
+-    int green = (int) MaxColor * rgb->g;
+-    int blue = (int) MaxColor * rgb->b;
+-
+-    color.red = red; color.green = green; color.blue = blue;
+-    color.pixel = pixel;
+-    color.flags = DoRed|DoGreen|DoBlue;
+-    XStoreColor(dpy, DefaultColormap(dpy,screen), &color);
++    unsigned int red = (int) MaxColor * rgb->r;
++    unsigned int green = (int) MaxColor * rgb->g;
++    unsigned int blue = (int) MaxColor * rgb->b;
++
++    if(gnome) {
++        /* I'm sorry. */
++      char cmd[120];
++      sprintf(cmd,"gconftool --type string --set 
/desktop/gnome/background/primary_color \"#%04x%04x%04x\"",
++          red, green, blue);
++        /* printf("%s\n",cmd); */
++      system(cmd);
++    } else if(xfce) {
++        /* I'm sorry for this, too. */
++        char cmd[200];
++        sprintf(cmd,"xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/color1 -n -t uint16 -s %d -t uint16 -s %d -t uint16 
-s %d -t uint16 -s 65535", red, green, blue);
++        system(cmd);
++    } else {
++        if(using8bpp) {
++        /* this will not work in 16/32bpp */
++            color.red = red; color.green = green; color.blue = blue;
++            color.pixel = pixel;
++            color.flags = DoRed|DoGreen|DoBlue;
++            XStoreColor(dpy, DefaultColormap(dpy,screen), &color);
++        } else {
++        /* this method _does_ work in 16/32bpp; also 8bpp although
++         * the above method is apparently less resource-hungry */
++        sprintf(str,"#%.4x%.4x%.4x",red,green,blue);
++            XSetWindowBackground(dpy, root,
++                       NameToPixel(str, BlackPixel(dpy,screen)));
++            XClearWindow(dpy,root);
++        }
++    }
+ }
+ 
+ void ticks2hsv (ticks, hsv)
+     int ticks;
+     struct hsv *hsv;
+ {
+-    float s_fase, sin();
++    float s_fase /*, sin() */ ;
+ 
+     hsv->h = ticks % 360;
+     s_fase = sf_in_hf * (pi / 180) * ticks;
+@@ -185,3 +334,31 @@ void hsv2rgb (hsv, rgb)
+       }
+     }
+ }
++
++#define Dynamic 1
++
++unsigned long NameToPixel(name, pixel)
++    char *name;
++    unsigned long pixel;
++{
++    XColor ecolor;
++
++    if (!name || !*name)
++      return pixel;
++    if (!XParseColor(dpy,DefaultColormap(dpy,screen),name,&ecolor)) {
++      fprintf(stderr,"%s:  unknown color \"%s\"\n",program_name,name);
++      exit(1);
++      /*NOTREACHED*/
++    }
++    if (!XAllocColor(dpy, DefaultColormap(dpy, screen),&ecolor)) {
++      fprintf(stderr, "%s:  unable to allocate color for \"%s\"\n",
++              program_name, name);
++      exit(1);
++      /*NOTREACHED*/
++    }
++    if ((ecolor.pixel != BlackPixel(dpy, screen)) &&
++      (ecolor.pixel != WhitePixel(dpy, screen)) &&
++      (DefaultVisual(dpy, screen)->class & Dynamic))
++      save_colors = 1;
++    return(ecolor.pixel);
++}
+--- floatbg-1.0.orig/floatbg.man
++++ floatbg-1.0/floatbg.man
+@@ -5,17 +5,20 @@ floatbg \- slowly modify the color of th
+ \fBfloatbg\fP
+ [-display \fIdisplay\fP]
+ [-help]
++[-gnome]
++[-xfce]
+ [-value \fIfloat\fP] 
+ [-satmid \fIfloat\fP] 
+ [-satvar \fIfloat\fP] 
+ [-fase \fIfloat\fP] 
++[-time \fIfloat\fP]
+ .SH DESCRIPTION
+ Floatbg is an X11 program that modifies the color of the root window
+-in such a manner that you won't to see the color change,
++in such a manner that you won't see the color change,
+ but after a while you'll notice that it did change, however.
+ .PP
+-Floatbg starts with a random color and changes it deterministicly by moving
+-through a hsv-model of colors.
++Floatbg starts with a random color and changes it deterministically by moving
++through an hsv-model of colors.
+ In the hsv-model, colors are described by three parameters:
+ Hue stands for the tint of a color
+ (0 degrees is red, 60 = yellow, 120 = green, 180 = aquamarine, etc),
+@@ -26,12 +29,19 @@ and value stands for the intensity of th
+ .PP
+ Every 10 seconds the hue (tint) is increased by one degree
+ and the saturation (brightness) is changed by a sinus over the hue.
+-The shape of this sinus can be addapted with
++(The frequency of this change can be adjusted with the -time parameter.)
++The shape of this sinus can be adapted with
+ the options -satmid, -satvar and -fase.
+ The value (blackness) is fixed and can be set with the option -value.
+ The default values are: 
+ \fIfloatbg -value .87 -satmid .375 -satvar .125 -fase .25\fP,
+ and are such that all pastel tints are visited.
++.PP
++Extremely simplistic Gnome and Xfce support can be enabled with the
++\fI-gnome\fP
++and
++\fI-xfce\fP
++flags.
+ .SH BUGS
+ Floatbg doesn't use any window, button or menu,
+ and it can only be stopped by killing it.
diff -Nru floatbg-1.0/debian/patches/series floatbg-1.0/debian/patches/series
--- floatbg-1.0/debian/patches/series   1970-01-01 00:00:00.000000000 +0000
+++ floatbg-1.0/debian/patches/series   2024-04-07 17:27:43.000000000 +0000
@@ -0,0 +1 @@
+debian-patch
diff -Nru floatbg-1.0/debian/rules floatbg-1.0/debian/rules
--- floatbg-1.0/debian/rules    2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/debian/rules    2024-04-07 17:27:43.000000000 +0000
@@ -4,8 +4,10 @@
 build: build-stamp
 build-stamp:
        dh_testdir
+       cp -a Makefile Makefile~
        xmkmf -a
        $(MAKE)
+       mv Makefile~ Makefile
        touch build-stamp
 
 clean:
diff -Nru floatbg-1.0/debian/source/format floatbg-1.0/debian/source/format
--- floatbg-1.0/debian/source/format    1970-01-01 00:00:00.000000000 +0000
+++ floatbg-1.0/debian/source/format    2024-04-07 17:27:37.000000000 +0000
@@ -0,0 +1 @@
+3.0 (quilt)
diff -Nru floatbg-1.0/floatbg.c floatbg-1.0/floatbg.c
--- floatbg-1.0/floatbg.c       2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/floatbg.c       1996-10-27 00:16:23.000000000 +0000
@@ -3,24 +3,9 @@
  *     author: Jan Rekers
  *     purpose: This program slowly changes the color of the root window of X.
  */
-/* 16bpp and 32bpp support added by Dave Holland <d...@zenda.demon.co.uk>
- * Code taken from xsetroot by Mark Lillibridge
- * Copyright (c) 1987,  X Consortium
- */
-/* Further modifications by Varis (risto.vara...@helsinki.fi) 22.10.1999
- */
 
 #include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
 #include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
-#include <math.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <signal.h>
 
 #define MaxColor       0xffff
 #define MaxTime        0x7fff
@@ -29,16 +14,11 @@
 #define default_s_mid  .375
 #define default_s_var  .125
 #define default_v_val  .87
-#define default_l_time 10.00
-#define atom_name      "floatbg_running"
 
 char *program_name;
-int gnome=0; /* call out to gconftool to affect Gnome background */
-int xfce=0; /* call out to xfconf-query to affect Xfce background */
 Display *dpy;
 int screen;
 Window root;
-Atom running_flag;
 
 struct hsv { float h,s,v; };
 struct rgb { float r,g,b; };
@@ -48,49 +28,27 @@
 float s_mid = default_s_mid;
 float s_var = default_s_var;
 float v_val = default_v_val;
-float l_time = default_l_time;
 
 unsigned long GetMutableColor();
 void SetColor();
-/* We no longer need these, since we now include stdlib.h and time.h.  */
-/* long time(), random(); */
+long time(), random();
 double atof();
 
-/* from xsetroot */
-unsigned long NameToPixel();
-int save_colors=0;
-
-char str[100];
-int using8bpp=0;
-
-void usage(void)
+usage()
 {
     fprintf(stderr, "usage: %s [options]\n", program_name);
     fprintf(stderr, "  where options are:\n");
     fprintf(stderr, "  -display <display>   or   -d <display>\n");
     fprintf(stderr, "  -help\n");
-    fprintf(stderr, "  -gnome\n");
-    fprintf(stderr, "  -xfce\n");
     fprintf(stderr, "  -value <float>   (default %1.2f)\n", default_v_val);
     fprintf(stderr, "  -satmid <float>  (default %1.3f)\n", default_s_mid);
     fprintf(stderr, "  -satvar <float>  (default %1.3f)\n", default_s_var);
     fprintf(stderr, "  -fase <float>    (default %1.2f)\n", default_sf_in_hf);
-    fprintf(stderr, "  -time <float>    (default %1.2f)\n", default_l_time);
     fprintf(stderr, "  value, (satmid-satvar) and (satmid+satvar) must be 
between 0 and 1\n");
     exit(1);
 }
 
-void clear_flag_exit(int signum) {
-    int i;
-
-    //fprintf(stderr, "received signal %d: clearing flag and exiting\n", 
signum);
-    i = XDeleteProperty(dpy, root, running_flag);
-    //fprintf(stderr, "i=%d\n");
-    XFlush(dpy);
-    exit(0);
-}
-
-int main(argc, argv) 
+main(argc, argv) 
     int argc;
     char **argv;
 {
@@ -101,8 +59,7 @@
     struct hsv hsv;
     struct rgb rgb;
     extern char *optarg;
-    struct timeval looptime, tmptime; 
- 
+
     program_name=argv[0];
     for (i = 1; i < argc; i++) {
        if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) {
@@ -113,14 +70,6 @@
        if (!strcmp("-help", argv[i])) {
            usage();
        }
-       if (!strcmp("-gnome", argv[i])) {
-           gnome=1;
-            continue;
-       }
-       if (!strcmp("-xfce", argv[i])) {
-           xfce=1;
-            continue;
-       }
        if (!strcmp("-value", argv[i])) {
            if (++i>=argc) usage();
            v_val = atof(argv[i]);
@@ -141,11 +90,6 @@
            sf_in_hf = atof(argv[i]);
            continue;
        }
-       if (!strcmp("-time", argv[i])) {
-           if (++i>=argc) usage();
-           l_time = atof(argv[i]);
-           continue;
-       }
        usage();
     } 
 
@@ -161,83 +105,19 @@
     screen = DefaultScreen(dpy);
     root = RootWindow(dpy, screen);
 
-    /* create the atom if it's not already there */
-    running_flag = XInternAtom(dpy, atom_name, False);
-
-    Atom actual_type_return;
-    int actual_format_return;
-    unsigned long nitems_return, bytes_after_return;
-    unsigned char *prop_return;
-    /* look for signs of life elsewhere */
-    i = XGetWindowProperty(dpy, root, running_flag, 0, 1, False, 
AnyPropertyType, 
-            &actual_type_return, &actual_format_return, &nitems_return,
-            &bytes_after_return, &prop_return);
-    //fprintf(stderr, "i=%d, nitems_return=%d\n", i, nitems_return);
-    if (nitems_return != 0) {
-        fprintf(stderr, "%s: another copy may be running; exiting\n", 
program_name);
-        exit(0);
-    }
-    i = XChangeProperty(dpy, root, running_flag, XA_ATOM, 32, PropModeReplace,
-            "flbg", 1);
-    //fprintf(stderr, "i=%d\n");
-    i = XGetWindowProperty(dpy, root, running_flag, 0, 1, False, 
AnyPropertyType, 
-            &actual_type_return, &actual_format_return, &nitems_return,
-            &bytes_after_return, &prop_return);
-    //fprintf(stderr, "i=%d, nitems_return=%d\n", i, nitems_return);
-
-    /* if we can't create the signal handler, there's not much we can */
-    /* do, so throw away the return code here */
-    signal(SIGHUP, (void *)clear_flag_exit);
-    signal(SIGTERM, (void *)clear_flag_exit);
-    signal(SIGINT, (void *)clear_flag_exit);
-    signal(SIGKILL, (void *)clear_flag_exit);
-
-    srandom( (int)time(NULL) );
+    srandom( (int)time(0L) );
     ticks = (int)random() % MaxTime;
 
-    /* this will trigger a change to using 8bpp if appropriate */
     cmapentry = GetMutableColor();
-
-    /* for 16/32bpp this'll happen in the main loop */
-    if(using8bpp) {
-        XSetWindowBackground(dpy, root, cmapentry);
-        XClearWindow(dpy, root);
-    }
-
-    /* Set time values for select - ie. how long to wait between loops */
-    looptime.tv_sec = 0;
-    looptime.tv_usec = 0;
-    if (l_time >= 1) {
-      looptime.tv_sec = l_time;
-      l_time = l_time - looptime.tv_sec;
-    }
-    if ((l_time < 1) && (l_time > 0)) {
-      looptime.tv_usec = 1000000*l_time;
-    }
-
-    if(gnome) {
-        system("gconftool --type string --set 
/desktop/gnome/background/color_shading_type \"solid\"");
-        system("gconftool --unset /desktop/gnome/background/picture_filename");
-    }
-    if(xfce) {
-        system("xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/image-show -n -s false");
-        system("xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/color-style -n -s 0");
-    }
-
-    /* The Linux kernel time share clock ticks at 100Hz on i386, */
-    /* so this loop will not run more than 100 times a second. */
-    /* On Alpha this is reported to be 1000Hz. */
-
+    XSetWindowBackground(dpy, root, cmapentry);
+    XClearWindow(dpy, root);
     while ( 1 ) {
-               ticks2hsv(ticks, &hsv);
+       ticks2hsv(ticks, &hsv);
        hsv2rgb(&hsv, &rgb);
-       SetColor(cmapentry, &rgb, dpy, root, screen);
+       SetColor(cmapentry, &rgb);
        XFlush(dpy);
        ticks = ticks++ % MaxTime;
-       /* select seems to alter the timeval struct, so we need */
-       /* an extra variable */
-       tmptime = looptime;
-       select(0, NULL, NULL, NULL, &tmptime);
+       sleep(10);
     }
 }
 
@@ -245,61 +125,32 @@
 {
     XColor color;
     if (XAllocColorCells (dpy, DefaultColormap(dpy,screen),
-                         0, 0, 0, &color.pixel, 1) == 0) {
-       /* this is not an 8bpp display */
-       return (unsigned long) 0;
-       }
-    using8bpp=1;
+                         0, 0, 0, &color.pixel, 1) == NULL) {
+       fprintf(stderr, "%s:  unable to allocate colorcells\n", program_name);
+       exit(1); }
     return(color.pixel);
 }
 
-void SetColor (pixel, rgb, dpy, root, screen)
+void SetColor (pixel, rgb)
     unsigned long pixel;
     struct rgb *rgb;
-    Display *dpy;
-    int screen;
-    Window root;
 {
     XColor color;
-    unsigned int red = (int) MaxColor * rgb->r;
-    unsigned int green = (int) MaxColor * rgb->g;
-    unsigned int blue = (int) MaxColor * rgb->b;
-
-    if(gnome) {
-        /* I'm sorry. */
-       char cmd[120];
-       sprintf(cmd,"gconftool --type string --set 
/desktop/gnome/background/primary_color \"#%04x%04x%04x\"",
-           red, green, blue);
-        /* printf("%s\n",cmd); */
-       system(cmd);
-    } else if(xfce) {
-        /* I'm sorry for this, too. */
-        char cmd[200];
-        sprintf(cmd,"xfconf-query -c xfce4-desktop -p 
/backdrop/screen0/monitor0/color1 -n -t uint16 -s %d -t uint16 -s %d -t uint16 
-s %d -t uint16 -s 65535", red, green, blue);
-        system(cmd);
-    } else {
-        if(using8bpp) {
-        /* this will not work in 16/32bpp */
-            color.red = red; color.green = green; color.blue = blue;
-            color.pixel = pixel;
-            color.flags = DoRed|DoGreen|DoBlue;
-            XStoreColor(dpy, DefaultColormap(dpy,screen), &color);
-        } else {
-        /* this method _does_ work in 16/32bpp; also 8bpp although
-         * the above method is apparently less resource-hungry */
-        sprintf(str,"#%.4x%.4x%.4x",red,green,blue);
-            XSetWindowBackground(dpy, root,
-                        NameToPixel(str, BlackPixel(dpy,screen)));
-            XClearWindow(dpy,root);
-        }
-    }
+    int red = (int) MaxColor * rgb->r;
+    int green = (int) MaxColor * rgb->g;
+    int blue = (int) MaxColor * rgb->b;
+
+    color.red = red; color.green = green; color.blue = blue;
+    color.pixel = pixel;
+    color.flags = DoRed|DoGreen|DoBlue;
+    XStoreColor(dpy, DefaultColormap(dpy,screen), &color);
 }
 
 void ticks2hsv (ticks, hsv)
     int ticks;
     struct hsv *hsv;
 {
-    float s_fase /*, sin() */ ;
+    float s_fase, sin();
 
     hsv->h = ticks % 360;
     s_fase = sf_in_hf * (pi / 180) * ticks;
@@ -334,31 +185,3 @@
        }
     }
 }
-
-#define Dynamic 1
-
-unsigned long NameToPixel(name, pixel)
-    char *name;
-    unsigned long pixel;
-{
-    XColor ecolor;
-
-    if (!name || !*name)
-       return pixel;
-    if (!XParseColor(dpy,DefaultColormap(dpy,screen),name,&ecolor)) {
-       fprintf(stderr,"%s:  unknown color \"%s\"\n",program_name,name);
-       exit(1);
-       /*NOTREACHED*/
-    }
-    if (!XAllocColor(dpy, DefaultColormap(dpy, screen),&ecolor)) {
-       fprintf(stderr, "%s:  unable to allocate color for \"%s\"\n",
-               program_name, name);
-       exit(1);
-       /*NOTREACHED*/
-    }
-    if ((ecolor.pixel != BlackPixel(dpy, screen)) &&
-       (ecolor.pixel != WhitePixel(dpy, screen)) &&
-       (DefaultVisual(dpy, screen)->class & Dynamic))
-       save_colors = 1;
-    return(ecolor.pixel);
-}
diff -Nru floatbg-1.0/floatbg.man floatbg-1.0/floatbg.man
--- floatbg-1.0/floatbg.man     2024-04-07 17:59:00.000000000 +0000
+++ floatbg-1.0/floatbg.man     1996-10-27 00:16:23.000000000 +0000
@@ -5,20 +5,17 @@
 \fBfloatbg\fP
 [-display \fIdisplay\fP]
 [-help]
-[-gnome]
-[-xfce]
 [-value \fIfloat\fP] 
 [-satmid \fIfloat\fP] 
 [-satvar \fIfloat\fP] 
 [-fase \fIfloat\fP] 
-[-time \fIfloat\fP]
 .SH DESCRIPTION
 Floatbg is an X11 program that modifies the color of the root window
-in such a manner that you won't see the color change,
+in such a manner that you won't to see the color change,
 but after a while you'll notice that it did change, however.
 .PP
-Floatbg starts with a random color and changes it deterministically by moving
-through an hsv-model of colors.
+Floatbg starts with a random color and changes it deterministicly by moving
+through a hsv-model of colors.
 In the hsv-model, colors are described by three parameters:
 Hue stands for the tint of a color
 (0 degrees is red, 60 = yellow, 120 = green, 180 = aquamarine, etc),
@@ -29,19 +26,12 @@
 .PP
 Every 10 seconds the hue (tint) is increased by one degree
 and the saturation (brightness) is changed by a sinus over the hue.
-(The frequency of this change can be adjusted with the -time parameter.)
-The shape of this sinus can be adapted with
+The shape of this sinus can be addapted with
 the options -satmid, -satvar and -fase.
 The value (blackness) is fixed and can be set with the option -value.
 The default values are: 
 \fIfloatbg -value .87 -satmid .375 -satvar .125 -fase .25\fP,
 and are such that all pastel tints are visited.
-.PP
-Extremely simplistic Gnome and Xfce support can be enabled with the
-\fI-gnome\fP
-and
-\fI-xfce\fP
-flags.
 .SH BUGS
 Floatbg doesn't use any window, button or menu,
 and it can only be stopped by killing it.

Reply via email to