Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc/local/programs
On Wed, 15 Sept 2021 at 22:18, RVP <rvp%sdf.org@localhost> wrote:
>
> On Wed, 15 Sep 2021, Chavdar Ivanov wrote:
>
> > To build xsetwallpaper, I had to
> > git clone https://github.com/nothings/stb
> >
> > and copy stb/stb_image.h as stbi.h, as well as
> > stb/deprecated/stb_image.c as stb_image.c (both files are public
> > domain); then I made a short Imakefile:
> > ....
> > SRCS = stb_image.c xsetwallpaper.c
> > OBJS = stb_image.o xsetwallpaper.o
> > DEPLIBS = $(DEPXTOOLLIB) $(DEPXLIB) $(DEPXINERAMALIB)
> > LOCAL_LIBRARIES = $(XTOOLLIB) $(XLIB) $(XINERAMALIB)
> >
> > NAME = xsetwallpaper
> > VERSION = 1.0.0
> >
> > ComplexProgramTarget($(NAME))
> > ....
> >
> > xmkmf && make then compiles, but link fails as libm is not included;
> >
>
> xsetwallpaper is in base, and is built here:
>
> /usr/src/external/mit/xorg/bin/xsetwallpaper/
>
> -RVP
Thanks, I've never used it before, just noticed it in that place above
and tried to build it.
--
----
Home |
Main Index |
Thread Index |
Old Index