[Cin] [patch] try to use pkg-config in cinelerra/Makefile

Phyllis Smith phylsmith2017 at gmail.com
Tue Jul 20 23:25:50 CEST 2021


Andrew,
Since I had ubuntu 16 booted, I tested this but had a problem.  I have not
tested on Fedora yet.

1) checked to make sure patch went in OK (I have the whole Makefile, but
just listing part here to show):

ifneq ($(WANT_SHUTTLE),no)
X11_INCS := $(shell pkg-config --cflags-only-I x11 | sed "s/-I//")

$(OBJDIR)/shuttle.o:    shuttle.C shuttle_keys.h
shuttle_keys.h: $(X11_INCS)/X11/keysymdef.h
        sed -n $(X11_INCS)/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed
endif

$(OBJDIR)/pluginlv2gui.o:       pluginlv2gui.C
        $(CXX) `cat $(OBJDIR)/c_flags` $(GTK2_INCS) -DMSGQUAL=$* -c $< -o $@

2) log file error message when building is (also have entire log, but just
listing part here to show):

make[2]: *** No rule to make target '/X11/keysymdef.h', needed by
'shuttle_keys.h'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/cinelerra-5.1/cinelerra'
Makefile:528: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/cinelerra-5.1'
Makefile:484: recipe for target 'all' failed
make: *** [all] Error 2


On Sun, Jul 18, 2021 at 2:43 PM Andrew Randrianasulu via Cin <
cin at lists.cinelerra-gg.org> wrote:

> for handling termux-specific x11 path w/o hardcoding it...
>
> can anyone test on normal Linux?
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210720/29949936/attachment.htm>


More information about the Cin mailing list