From b7a5d0e5669863033156ef15190c9fd509c45fa3 Mon Sep 17 00:00:00 2001 From: Hossein Date: Thu, 27 Jun 2024 09:55:06 +0100 Subject: [PATCH] tdf#149256 Ship LibreOfficeKit headers in packages Add LibreOfficeKitGtk.h Change-Id: Ia575b9b9cb46ce4225d9030bf01453c5b3359325 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169623 Tested-by: Jenkins Reviewed-by: Hossein Tested-by: Hossein --- odk/CppunitTest_odk_checkapi.mk | 1 + odk/Package_odk_headers.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/odk/CppunitTest_odk_checkapi.mk b/odk/CppunitTest_odk_checkapi.mk index 1c93be6a2473..e27879d91e1f 100644 --- a/odk/CppunitTest_odk_checkapi.mk +++ b/odk/CppunitTest_odk_checkapi.mk @@ -15,6 +15,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,odk_checkapi,\ $(eval $(call gb_CppunitTest_add_cxxflags,odk_checkapi,\ $(gb_CXX03FLAGS) \ + $(if $(ENABLE_GTK3),$(GTK3_CFLAGS)) \ )) $(eval $(call gb_CppunitTest_set_external_code,odk_checkapi)) diff --git a/odk/Package_odk_headers.mk b/odk/Package_odk_headers.mk index f4f7d9ba3a73..c103c23d4b27 100644 --- a/odk/Package_odk_headers.mk +++ b/odk/Package_odk_headers.mk @@ -1,4 +1,3 @@ - # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. @@ -185,6 +184,7 @@ $(eval $(call gb_Package_add_files_with_dir,odk_headers,$(SDKDIRNAME)/include,\ uno/mapping.hxx \ uno/sequence2.h \ uno/threadpool.h \ + $(if $(ENABLE_GTK3),LibreOfficeKit/LibreOfficeKitGtk.h) \ LibreOfficeKit/LibreOfficeKit.hxx \ LibreOfficeKit/LibreOfficeKitEnums.h \ LibreOfficeKit/LibreOfficeKit.h \