[dlg] Move the headers to include/dlg to simplify their use.
* autogen.sh, builds/toplevel.mk: Copy headers to incluide/dlg. * builds/freetype.mk, builds/windows/vc2010/freetype.vcxproj: Simplify included path. * include/freetype/internal/ftdebug.h: Simplify #include. * src/dlg/rules.mk, .gitignore: Updated.
This commit is contained in:
parent
f88c00e45a
commit
6369058eee
|
@ -1,5 +1,5 @@
|
||||||
build
|
build
|
||||||
config.mk
|
config.mk
|
||||||
objs/vc2010/
|
objs/vc2010/
|
||||||
src/dlg/dlg/
|
include/dlg/
|
||||||
src/dlg/dlg.c
|
src/dlg/dlg.c
|
||||||
|
|
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2021-01-07 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
|
[dlg] Move the headers to include/dlg to simplify their use.
|
||||||
|
|
||||||
|
* autogen.sh, builds/toplevel.mk: Copy headers to incluide/dlg.
|
||||||
|
* builds/freetype.mk, builds/windows/vc2010/freetype.vcxproj:
|
||||||
|
Simplify included path.
|
||||||
|
* include/freetype/internal/ftdebug.h: Simplify #include.
|
||||||
|
* src/dlg/rules.mk, .gitignore: Updated.
|
||||||
|
|
||||||
2021-01-06 Werner Lemberg <wl@gnu.org>
|
2021-01-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* meson.build: Add summary.
|
* meson.build: Add summary.
|
||||||
|
|
|
@ -165,10 +165,10 @@ chmod +x ./configure
|
||||||
# Copy all necessary 'dlg' files.
|
# Copy all necessary 'dlg' files.
|
||||||
copy_submodule_files ()
|
copy_submodule_files ()
|
||||||
{
|
{
|
||||||
echo "Copying files from \`submodules/dlg' to \`src/dlg'"
|
echo "Copying files from \`submodules/dlg' to \`src/dlg' and \`include/dlg'"
|
||||||
mkdir src/dlg/dlg 2> /dev/null
|
mkdir include/dlg 2> /dev/null
|
||||||
cp $DLG_INC_DIR/dlg.h src/dlg/dlg
|
cp $DLG_INC_DIR/output.h include/dlg
|
||||||
cp $DLG_INC_DIR/output.h src/dlg/dlg
|
cp $DLG_INC_DIR/dlg.h include/dlg
|
||||||
cp $DLG_SRC_DIR/* src/dlg
|
cp $DLG_SRC_DIR/* src/dlg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,6 @@ PUBLIC_DIR := $(TOP_DIR)/include/freetype
|
||||||
INTERNAL_DIR := $(PUBLIC_DIR)/internal
|
INTERNAL_DIR := $(PUBLIC_DIR)/internal
|
||||||
SERVICES_DIR := $(INTERNAL_DIR)/services
|
SERVICES_DIR := $(INTERNAL_DIR)/services
|
||||||
CONFIG_DIR := $(PUBLIC_DIR)/config
|
CONFIG_DIR := $(PUBLIC_DIR)/config
|
||||||
DLG_DIR := $(TOP_DIR)/src/dlg
|
|
||||||
|
|
||||||
# The documentation directory.
|
# The documentation directory.
|
||||||
#
|
#
|
||||||
|
@ -123,7 +122,6 @@ PROJECT_LIBRARY := $(LIB_DIR)/$(LIBRARY).$A
|
||||||
INCLUDES := $(subst /,$(COMPILER_SEP),$(OBJ_DIR) \
|
INCLUDES := $(subst /,$(COMPILER_SEP),$(OBJ_DIR) \
|
||||||
$(DEVEL_DIR) \
|
$(DEVEL_DIR) \
|
||||||
$(BUILD_DIR) \
|
$(BUILD_DIR) \
|
||||||
$(DLG_DIR) \
|
|
||||||
$(TOP_DIR)/include)
|
$(TOP_DIR)/include)
|
||||||
|
|
||||||
INCLUDE_FLAGS := $(INCLUDES:%=$I%)
|
INCLUDE_FLAGS := $(INCLUDES:%=$I%)
|
||||||
|
|
|
@ -113,7 +113,7 @@ ifdef check_platform
|
||||||
include $(TOP_DIR)/builds/detect.mk
|
include $(TOP_DIR)/builds/detect.mk
|
||||||
|
|
||||||
# For builds directly from the git repository we need to copy files
|
# For builds directly from the git repository we need to copy files
|
||||||
# from `submodule/dlg' to `src/dlg'.
|
# from `submodule/dlg' to `src/dlg' and `include/dlg'.
|
||||||
#
|
#
|
||||||
ifeq ($(wildcard src/dlg/dlg.*),)
|
ifeq ($(wildcard src/dlg/dlg.*),)
|
||||||
ifeq ($(wildcard submodules/dlg/*),)
|
ifeq ($(wildcard submodules/dlg/*),)
|
||||||
|
@ -122,12 +122,12 @@ ifdef check_platform
|
||||||
$(shell git submodule update)
|
$(shell git submodule update)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(info Copying files from `submodules/dlg' to `src/dlg')
|
$(info Copying files from `submodules/dlg' to `src/dlg' and `include/dlg')
|
||||||
$(shell mkdir $(subst /,$(SEP),src/dlg/dlg) $(NO_OUTPUT))
|
$(shell mkdir $(subst /,$(SEP),include/dlg) $(NO_OUTPUT))
|
||||||
$(shell $(COPY) \
|
$(shell $(COPY) \
|
||||||
$(subst /,$(SEP),submodules/dlg/include/dlg/dlg.h src/dlg/dlg))
|
$(subst /,$(SEP),submodules/dlg/include/dlg/output.h include/dlg))
|
||||||
$(shell $(COPY) \
|
$(shell $(COPY) \
|
||||||
$(subst /,$(SEP),submodules/dlg/include/dlg/output.h src/dlg/dlg))
|
$(subst /,$(SEP),submodules/dlg/include/dlg/dlg.h include/dlg))
|
||||||
$(shell $(COPY) \
|
$(shell $(COPY) \
|
||||||
$(subst /,$(SEP),submodules/dlg/src/dlg/dlg.c src/dlg))
|
$(subst /,$(SEP),submodules/dlg/src/dlg/dlg.c src/dlg))
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -89,8 +89,8 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\src\dlg\;$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;DLL_EXPORT;FT_DEBUG_LOGGING;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -118,8 +118,8 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\src\dlg\;$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;DLL_EXPORT;FT_DEBUG_LOGGING;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;FT2_BUILD_LIBRARY;DLL_EXPORT;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -147,8 +147,8 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\src\dlg;$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;FT_DEBUG_LOGGING;DLG_STATIC;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;DLG_STATIC;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
@ -176,8 +176,8 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<AdditionalIncludeDirectories>..\..\..\src\dlg;$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(UserOptionDirectory);..\..\..\include;$(UserIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT2_BUILD_LIBRARY;FT_DEBUG_LOGGING;DLG_STATIC;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;FT_DEBUG_LEVEL_ERROR;FT_DEBUG_LEVEL_TRACE;FT_DEBUG_LOGGING;DLG_STATIC;FT2_BUILD_LIBRARY;$(UserDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
||||||
|
|
|
@ -287,7 +287,7 @@ FT_BEGIN_HEADER
|
||||||
* options set by those programs have precedence, overwriting the value
|
* options set by those programs have precedence, overwriting the value
|
||||||
* here with the configured one.
|
* here with the configured one.
|
||||||
*/
|
*/
|
||||||
#define FT_CONFIG_OPTION_USE_HARFBUZZ
|
/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
#include "compiler-macros.h"
|
#include "compiler-macros.h"
|
||||||
|
|
||||||
#ifdef FT_DEBUG_LOGGING
|
#ifdef FT_DEBUG_LOGGING
|
||||||
#include <../src/dlg/dlg/dlg.h>
|
#include <dlg/output.h>
|
||||||
#include <../src/dlg/dlg/output.h>
|
#include <dlg/dlg.h>
|
||||||
|
|
||||||
#include <freetype/ftlogging.h>
|
#include <freetype/ftlogging.h>
|
||||||
#endif /* FT_DEBUG_LOGGING */
|
#endif /* FT_DEBUG_LOGGING */
|
||||||
|
|
|
@ -32,8 +32,8 @@ DLG_SRC := $(DLG_DIR)/dlgwrap.c
|
||||||
|
|
||||||
# dlg logging library headers
|
# dlg logging library headers
|
||||||
#
|
#
|
||||||
DLG_H := $(DLG_DIR)/dlg/dlg.h \
|
DLG_H := $(TOP_DIR)/include/dlg/dlg.h \
|
||||||
$(DLG_DIR)/dlg/output.h
|
$(TOP_DIR)/include/dlg/output.h
|
||||||
|
|
||||||
|
|
||||||
# dlg logging library object(s)
|
# dlg logging library object(s)
|
||||||
|
|
Loading…
Reference in New Issue