office-gobmx/external/zxing/0001-add-ZXVersion-h.patch
Taichi Haradaguchi 0ecedeea71 zxing-cpp: upgrade to release 2.2.1
* remove 0001-android-Fix-build-with-NDK-26.patch, which was merged upstream.
* remove DecodeHints from static lib, which according to upstream is not
  needed:
  https://github.com/zxing-cpp/zxing-cpp/issues/685#issuecomment-1853375179
* add a version header for client code
  generate/update via:
  * mkdir build && cd build && cmake ..
  * mv core/ZXVersion.h ../core/src/

Release Notes:
https://github.com/zxing-cpp/zxing-cpp/releases/tag/v2.2.1

Change-Id: Ic4811d4724970c984dd9ed3d59b5204c18aafc6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160528
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-12-23 09:52:25 +01:00

21 lines
459 B
Diff

--- /dev/null 2023-12-10 14:00:18.140142051 +0100
+++ a/core/src/ZXVersion.h 2023-12-22 21:38:22.466302568 +0100
@@ -0,0 +1,18 @@
+/*
+* Copyright 2019 Nu-book Inc.
+* Copyright 2023 Axel Waggershauser
+*/
+// SPDX-License-Identifier: Apache-2.0
+
+#pragma once
+
+// Version numbering
+#define ZXING_VERSION_MAJOR 2
+#define ZXING_VERSION_MINOR 2
+#define ZXING_VERSION_PATCH 1
+
+namespace ZXing {
+
+constexpr const char* ZXING_VERSION_STR = "2.2.1";
+
+}