From 728a3dff6cfe28c63ad252efe92f9dfc8bc5b896 Mon Sep 17 00:00:00 2001 From: Syping Date: Tue, 11 Nov 2025 19:22:47 +0100 Subject: [PATCH] libragephoto 0.8.1 release - CMakeLists.txt: update version to 0.8.1 - doc: depend on CMake >= 3.16 - ragephoto-gtkviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - ragephoto-qtviewer: depend on CMake >= 3.16 and ragephoto >= 0.8 - src/dotnet: update version to 0.8.1 --- CMakeLists.txt | 2 +- doc/CMakeLists.txt | 5 +++-- examples/ragephoto-gtkviewer/CMakeLists.txt | 11 +++++------ examples/ragephoto-qtviewer/CMakeLists.txt | 11 +++++------ src/dotnet/RagePhoto.Core.csproj | 6 +++--- 5 files changed, 17 insertions(+), 18 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10258be..a128bc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.16) cmake_policy(VERSION 3.16...3.28) -project(ragephoto VERSION 0.8.0 LANGUAGES C CXX) +project(ragephoto VERSION 0.8.1 LANGUAGES C CXX) include(GNUInstallDirs) # RagePhoto CMake includes diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 377196c..0f9a734 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021-2024 Syping +* Copyright (C) 2021-2025 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -16,7 +16,8 @@ * responsible for anything with use of the software, you are self responsible. ****************************************************************************]] -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.16) +cmake_policy(VERSION 3.16...3.28) find_package(Doxygen REQUIRED) include(GNUInstallDirs) diff --git a/examples/ragephoto-gtkviewer/CMakeLists.txt b/examples/ragephoto-gtkviewer/CMakeLists.txt index 55b52bc..9e7ae29 100644 --- a/examples/ragephoto-gtkviewer/CMakeLists.txt +++ b/examples/ragephoto-gtkviewer/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021-2022 Syping +* Copyright (C) 2021-2025 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -16,7 +16,8 @@ * responsible for anything with use of the software, you are self responsible. ****************************************************************************]] -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.16) +cmake_policy(VERSION 3.16...3.28) project(ragephoto-gtkviewer LANGUAGES CXX) include(GNUInstallDirs) @@ -35,7 +36,7 @@ if (TARGET ragephoto) set(RAGEPHOTO_LIBRARIES ragephoto) set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) else() - pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.6) + pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.8) endif() add_executable(ragephoto-gtkviewer WIN32 ${GTKVIEWER_SOURCES}) @@ -44,8 +45,6 @@ set_target_properties(ragephoto-gtkviewer PROPERTIES ) target_compile_options(ragephoto-gtkviewer PRIVATE ${GTKMM_CFLAGS} ${RAGEPHOTO_CFLAGS}) target_link_libraries(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARIES} ${RAGEPHOTO_LIBRARIES}) -if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0") - target_link_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARY_DIRS} ${RAGEPHOTO_LIBRARY_DIRS}) -endif() +target_link_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARY_DIRS} ${RAGEPHOTO_LIBRARY_DIRS}) target_include_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS}) install(TARGETS ragephoto-gtkviewer DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/examples/ragephoto-qtviewer/CMakeLists.txt b/examples/ragephoto-qtviewer/CMakeLists.txt index eed3390..6c21e56 100644 --- a/examples/ragephoto-qtviewer/CMakeLists.txt +++ b/examples/ragephoto-qtviewer/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021-2022 Syping +* Copyright (C) 2021-2025 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -16,7 +16,8 @@ * responsible for anything with use of the software, you are self responsible. ****************************************************************************]] -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.16) +cmake_policy(VERSION 3.16...3.28) project(ragephoto-qtviewer LANGUAGES CXX) include(GNUInstallDirs) @@ -41,7 +42,7 @@ if (TARGET ragephoto) set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) else() find_package(PkgConfig REQUIRED) - pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.6) + pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.8) endif() add_executable(ragephoto-qtviewer WIN32 ${QTVIEWER_SOURCES}) @@ -50,8 +51,6 @@ set_target_properties(ragephoto-qtviewer PROPERTIES ) target_compile_options(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_CFLAGS}) target_link_libraries(ragephoto-qtviewer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets ${RAGEPHOTO_LIBRARIES}) -if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0") - target_link_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_LIBRARY_DIRS}) -endif() +target_link_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_LIBRARY_DIRS}) target_include_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_INCLUDE_DIRS}) install(TARGETS ragephoto-qtviewer DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/src/dotnet/RagePhoto.Core.csproj b/src/dotnet/RagePhoto.Core.csproj index 05b3401..c0e2bb5 100644 --- a/src/dotnet/RagePhoto.Core.csproj +++ b/src/dotnet/RagePhoto.Core.csproj @@ -4,9 +4,9 @@ netstandard2.1;net47;net8.0 RagePhoto.Core RagePhoto - 0.8.0 - 0.8.0 - 0.8.0 + 0.8.1 + 0.8.1 + 0.8.1 Syping Copyright © 2025 Syping Open Source RAGE Photo Parser for GTA V and RDR 2