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
This commit is contained in:
Syping 2025-11-11 19:22:47 +01:00
parent b87fd1d8fd
commit 728a3dff6c
5 changed files with 17 additions and 18 deletions

View file

@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
cmake_policy(VERSION 3.16...3.28) 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) include(GNUInstallDirs)
# RagePhoto CMake includes # RagePhoto CMake includes

View file

@ -1,6 +1,6 @@
#[[************************************************************************** #[[**************************************************************************
* libragephoto RAGE Photo Parser * 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, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * 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. * 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) find_package(Doxygen REQUIRED)
include(GNUInstallDirs) include(GNUInstallDirs)

View file

@ -1,6 +1,6 @@
#[[************************************************************************** #[[**************************************************************************
* libragephoto RAGE Photo Parser * 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, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * 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. * 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) project(ragephoto-gtkviewer LANGUAGES CXX)
include(GNUInstallDirs) include(GNUInstallDirs)
@ -35,7 +36,7 @@ if (TARGET ragephoto)
set(RAGEPHOTO_LIBRARIES ragephoto) set(RAGEPHOTO_LIBRARIES ragephoto)
set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
else() else()
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.6) pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.8)
endif() endif()
add_executable(ragephoto-gtkviewer WIN32 ${GTKVIEWER_SOURCES}) 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_compile_options(ragephoto-gtkviewer PRIVATE ${GTKMM_CFLAGS} ${RAGEPHOTO_CFLAGS})
target_link_libraries(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARIES} ${RAGEPHOTO_LIBRARIES}) 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}) target_link_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_LIBRARY_DIRS} ${RAGEPHOTO_LIBRARY_DIRS})
endif()
target_include_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS}) target_include_directories(ragephoto-gtkviewer PRIVATE ${GTKMM_INCLUDE_DIRS} ${RAGEPHOTO_INCLUDE_DIRS})
install(TARGETS ragephoto-gtkviewer DESTINATION ${CMAKE_INSTALL_BINDIR}) install(TARGETS ragephoto-gtkviewer DESTINATION ${CMAKE_INSTALL_BINDIR})

View file

@ -1,6 +1,6 @@
#[[************************************************************************** #[[**************************************************************************
* libragephoto RAGE Photo Parser * 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, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * 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. * 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) project(ragephoto-qtviewer LANGUAGES CXX)
include(GNUInstallDirs) include(GNUInstallDirs)
@ -41,7 +42,7 @@ if (TARGET ragephoto)
set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}) set(RAGEPHOTO_LIBRARY_DIRS ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
else() else()
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.6) pkg_check_modules(RAGEPHOTO REQUIRED ragephoto>=0.8)
endif() endif()
add_executable(ragephoto-qtviewer WIN32 ${QTVIEWER_SOURCES}) 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_compile_options(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_CFLAGS})
target_link_libraries(ragephoto-qtviewer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets ${RAGEPHOTO_LIBRARIES}) 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}) target_link_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_LIBRARY_DIRS})
endif()
target_include_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_INCLUDE_DIRS}) target_include_directories(ragephoto-qtviewer PRIVATE ${RAGEPHOTO_INCLUDE_DIRS})
install(TARGETS ragephoto-qtviewer DESTINATION ${CMAKE_INSTALL_BINDIR}) install(TARGETS ragephoto-qtviewer DESTINATION ${CMAKE_INSTALL_BINDIR})

View file

@ -4,9 +4,9 @@
<TargetFrameworks>netstandard2.1;net47;net8.0</TargetFrameworks> <TargetFrameworks>netstandard2.1;net47;net8.0</TargetFrameworks>
<AssemblyName>RagePhoto.Core</AssemblyName> <AssemblyName>RagePhoto.Core</AssemblyName>
<RootNamespace>RagePhoto</RootNamespace> <RootNamespace>RagePhoto</RootNamespace>
<Version>0.8.0</Version> <Version>0.8.1</Version>
<AssemblyVersion>0.8.0</AssemblyVersion> <AssemblyVersion>0.8.1</AssemblyVersion>
<FileVersion>0.8.0</FileVersion> <FileVersion>0.8.1</FileVersion>
<Authors>Syping</Authors> <Authors>Syping</Authors>
<Copyright>Copyright © 2025 Syping</Copyright> <Copyright>Copyright © 2025 Syping</Copyright>
<Description>Open Source RAGE Photo Parser for GTA V and RDR 2</Description> <Description>Open Source RAGE Photo Parser for GTA V and RDR 2</Description>