[build] check gnomecanvas package before compiling legacy GCS (#3422)
Doxygen / build (push) Has been cancelled
Docker update / build_docker_image (push) Has been cancelled

This module is not supported with the custon lablgtk2 for 24.04
This commit is contained in:
Gautier Hattenberger
2025-01-22 18:20:06 +01:00
committed by GitHub
parent cdae9fa77b
commit c1fffe906a
+12
View File
@@ -47,6 +47,7 @@ LABLGTK2INIT = $(shell ocamlfind query -p-format lablgtk2.auto-init 2>/dev/null)
endif
LABLGTK2GLADE = $(shell ocamlfind query -p-format lablgtk2.glade 2>/dev/null)
LABLGTK2CANVAS = $(shell ocamlfind query -p-format lablgtk2-gnome.gnomecanvas 2>/dev/null)
ML= gtk_setting_time.ml gtk_strip.ml horizon.ml strip.ml gtk_save_settings.ml saveSettings.ml page_settings.ml pages.ml speech.ml plugin.ml sectors.ml map2d.ml editFP.ml intruders.ml shapes.ml live.ml particules.ml papgets.ml gcs.ml
MAIN=gcs
@@ -71,6 +72,16 @@ all :
opt :
@echo Skipping legacy GCS.opt build \(missing lablgtk2.glade\)
else
ifeq ($(LABLGTK2CANVAS),)
all :
@echo Skipping legacy GCS build \(missing lablgtk2-gnome.gnomecanvas\)
opt :
@echo Skipping legacy GCS.opt build \(missing lablgtk2-gnome.gnomecanvas\)
else
all : $(MAIN)
@@ -79,6 +90,7 @@ opt : $(MAIN).opt
endif
endif
endif
endif
gcslib :
$(Q)$(MAKE) -C lib