From 95943203e09d5933b06f27501ff11db30a6f6bb4 Mon Sep 17 00:00:00 2001 From: Syping Date: Wed, 28 Dec 2022 07:39:06 +0100 Subject: [PATCH] libragephoto: 2022 update --- cmake/unicode.cmake | 2 +- examples/ragephoto-gtkviewer/CMakeLists.txt | 2 +- examples/ragephoto-gtkviewer/src/main.cpp | 2 +- examples/ragephoto-qtviewer/CMakeLists.txt | 2 +- examples/ragephoto-qtviewer/src/main.cpp | 2 +- src/RagePhoto-Extract.c | 2 +- src/RagePhoto.cpp | 2 +- src/RagePhoto.h | 2 +- src/RagePhotoA.h | 2 +- src/RagePhotoC.h | 2 +- src/RagePhotoData.h | 2 +- src/libragephoto_global.h.in | 2 +- tests/CodecvtTest.cpp | 2 +- tests/IconvTest.cpp | 3 +-- tests/WincvtTest.cpp | 2 +- 15 files changed, 15 insertions(+), 16 deletions(-) diff --git a/cmake/unicode.cmake b/cmake/unicode.cmake index 7058aec..254148d 100644 --- a/cmake/unicode.cmake +++ b/cmake/unicode.cmake @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/examples/ragephoto-gtkviewer/CMakeLists.txt b/examples/ragephoto-gtkviewer/CMakeLists.txt index 233617f..679de93 100644 --- a/examples/ragephoto-gtkviewer/CMakeLists.txt +++ b/examples/ragephoto-gtkviewer/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/examples/ragephoto-gtkviewer/src/main.cpp b/examples/ragephoto-gtkviewer/src/main.cpp index fef2871..d89f89d 100644 --- a/examples/ragephoto-gtkviewer/src/main.cpp +++ b/examples/ragephoto-gtkviewer/src/main.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/examples/ragephoto-qtviewer/CMakeLists.txt b/examples/ragephoto-qtviewer/CMakeLists.txt index 9b438e5..8efb867 100644 --- a/examples/ragephoto-qtviewer/CMakeLists.txt +++ b/examples/ragephoto-qtviewer/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/examples/ragephoto-qtviewer/src/main.cpp b/examples/ragephoto-qtviewer/src/main.cpp index d90472f..92c8846 100644 --- a/examples/ragephoto-qtviewer/src/main.cpp +++ b/examples/ragephoto-qtviewer/src/main.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhoto-Extract.c b/src/RagePhoto-Extract.c index 9391c04..24579a9 100644 --- a/src/RagePhoto-Extract.c +++ b/src/RagePhoto-Extract.c @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhoto.cpp b/src/RagePhoto.cpp index 0153412..565592c 100644 --- a/src/RagePhoto.cpp +++ b/src/RagePhoto.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhoto.h b/src/RagePhoto.h index f65ee61..48446bc 100644 --- a/src/RagePhoto.h +++ b/src/RagePhoto.h @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhotoA.h b/src/RagePhotoA.h index 8c2c6ab..a1a1b3c 100644 --- a/src/RagePhotoA.h +++ b/src/RagePhotoA.h @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhotoC.h b/src/RagePhotoC.h index 7b0afb4..40d58a4 100644 --- a/src/RagePhotoC.h +++ b/src/RagePhotoC.h @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/RagePhotoData.h b/src/RagePhotoData.h index 16773ca..18efc27 100644 --- a/src/RagePhotoData.h +++ b/src/RagePhotoData.h @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/src/libragephoto_global.h.in b/src/libragephoto_global.h.in index bd5dc4b..3685eba 100644 --- a/src/libragephoto_global.h.in +++ b/src/libragephoto_global.h.in @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/tests/CodecvtTest.cpp b/tests/CodecvtTest.cpp index e997308..e0153eb 100644 --- a/tests/CodecvtTest.cpp +++ b/tests/CodecvtTest.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: diff --git a/tests/IconvTest.cpp b/tests/IconvTest.cpp index 35bc1bc..024a172 100644 --- a/tests/IconvTest.cpp +++ b/tests/IconvTest.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -258,6 +258,5 @@ int main(int argc, char *argv[]) if (strcmp(photoString, "相片 - 12/28/22 04:21:01") != 0) return 10; - iconv_close(iconv_in); return 0; } diff --git a/tests/WincvtTest.cpp b/tests/WincvtTest.cpp index 11e1050..ebf631c 100644 --- a/tests/WincvtTest.cpp +++ b/tests/WincvtTest.cpp @@ -1,6 +1,6 @@ /***************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021 Syping +* Copyright (C) 2021-2022 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: