Skip to content

Commit 44408c3

Browse files
authored
Merge pull request #558 from kmilos/patch-1
Use tifdiff tool name consistently. Looks great, thank you!
2 parents f8425ad + 4b74371 commit 44408c3

5 files changed

Lines changed: 32 additions & 14 deletions

File tree

ChangeLog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Added unneeded checks as a try to get rid of spam reports about "vulnerabilities
1414
Utility program names generated by Visual Studio 2026 are now same as all other platforms.
1515
Creating an output profile by cmsTransform2DeviceLink does not propagate correctly the colorant table. Fixed.
1616
Added some profile class definitions from iccMAX
17-
Deprecated uint16 and uint32 types removed from tiffdiff
17+
Deprecated uint16 and uint32 types removed from tifdiff
1818

1919
-----------------------
2020
2.18 Maintenance release

Projects/VC2026/tiffdiff/tiffdiff.vcxproj

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,24 @@
139139
<LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">C:\jpeg-8d;$(LibraryPath);E:\liteCommons\3rdparty\tiff-4.1.0\libtiff</LibraryPath>
140140
<LibraryPath Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\jpeg-8d;$(LibraryPath);E:\liteCommons\3rdparty\tiff-4.1.0\libtiff</LibraryPath>
141141
</PropertyGroup>
142+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
143+
<TargetName>tifdiff</TargetName>
144+
</PropertyGroup>
145+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
146+
<TargetName>tifdiff</TargetName>
147+
</PropertyGroup>
148+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
149+
<TargetName>tifdiff</TargetName>
150+
</PropertyGroup>
151+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
152+
<TargetName>tifdiff</TargetName>
153+
</PropertyGroup>
154+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
155+
<TargetName>tifdiff</TargetName>
156+
</PropertyGroup>
157+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
158+
<TargetName>tifdiff</TargetName>
159+
</PropertyGroup>
142160
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
143161
<ClCompile>
144162
<Optimization>Disabled</Optimization>
@@ -299,4 +317,4 @@
299317
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
300318
<ImportGroup Label="ExtensionTargets">
301319
</ImportGroup>
302-
</Project>
320+
</Project>

cmake/Lcms2Options.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function(lcms2_setup_options)
99
# Tool-specific toggles (only meaningful when LCMS2_BUILD_TOOLS=ON).
1010
option(LCMS2_BUILD_JPGICC "Build jpgicc tool (requires JPEG)" ON)
1111
option(LCMS2_BUILD_TIFICC "Build tificc tool (requires TIFF, optionally ZLIB)" ON)
12-
option(LCMS2_BUILD_TIFFDIFF "Build tiffdiff tool (requires TIFF)" ON)
12+
option(LCMS2_BUILD_TIFDIFF "Build tifdiff tool (requires TIFF)" ON)
1313

1414
# Dependency toggles (only consulted when the dependent tool is enabled).
1515
option(LCMS2_WITH_JPEG "Enable JPEG support for tools (find_package only when needed)" ON)

cmake/Lcms2Tools.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,27 +141,27 @@ function(lcms2_add_tools)
141141
endif()
142142
endif()
143143

144-
# Optional tiffdiff (requires TIFF).
145-
if(LCMS2_BUILD_TIFFDIFF)
144+
# Optional tifdiff (requires TIFF).
145+
if(LCMS2_BUILD_TIFDIFF)
146146
if(LCMS2_WITH_TIFF)
147147
find_package(TIFF)
148148
endif()
149149

150150
if(TIFF_FOUND)
151-
_lcms2_add_tool(tiffdiff
151+
_lcms2_add_tool(tifdiff
152152
SOURCES
153153
"${PROJECT_SOURCE_DIR}/utils/tificc/tifdiff.c"
154154
${_common_sources}
155155
)
156156
if(TARGET TIFF::TIFF)
157-
target_link_libraries(tiffdiff PRIVATE TIFF::TIFF)
157+
target_link_libraries(tifdiff PRIVATE TIFF::TIFF)
158158
else()
159159
# Do not quote list variables: they may contain debug/optimized keywords.
160-
target_include_directories(tiffdiff PRIVATE ${TIFF_INCLUDE_DIR})
161-
target_link_libraries(tiffdiff PRIVATE ${TIFF_LIBRARIES})
160+
target_include_directories(tifdiff PRIVATE ${TIFF_INCLUDE_DIR})
161+
target_link_libraries(tifdiff PRIVATE ${TIFF_LIBRARIES})
162162
endif()
163163
else()
164-
message(STATUS "TIFF not found or disabled; skipping tiffdiff")
164+
message(STATUS "TIFF not found or disabled; skipping tifdiff")
165165
endif()
166166
endif()
167167

utils/tificc/meson.build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ tificc_man = files(
1515

1616
install_man(tificc_man)
1717

18-
tiffdiff_sources = files(
18+
tifdiff_sources = files(
1919
'tifdiff.c',
2020
)
2121

22-
tiffdiff_exe = executable(
23-
'tiffdiff',
24-
tiffdiff_sources,
22+
tifdiff_exe = executable(
23+
'tifdiff',
24+
tifdiff_sources,
2525
dependencies: [liblcms2_dep, common_dep, tiff_dep],
2626
install: true,
2727
)

0 commit comments

Comments
 (0)