[arch-commits] Commit in aws-sdk-cpp/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Oct 11 19:09:05 UTC 2021
Date: Monday, October 11, 2021 @ 19:09:05
Author: anatolik
Revision: 1029600
archrelease: copy trunk to community-x86_64
Added:
aws-sdk-cpp/repos/community-x86_64/PKGBUILD
(from rev 1029599, aws-sdk-cpp/trunk/PKGBUILD)
aws-sdk-cpp/repos/community-x86_64/fix_null.patch
(from rev 1029599, aws-sdk-cpp/trunk/fix_null.patch)
Deleted:
aws-sdk-cpp/repos/community-x86_64/PKGBUILD
aws-sdk-cpp/repos/community-x86_64/fix_null.patch
----------------+
PKGBUILD | 73 +++++++++++++++++++++++++++----------------------------
fix_null.patch | 52 +++++++++++++++++++--------------------
2 files changed, 63 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-11 19:08:39 UTC (rev 1029599)
+++ PKGBUILD 2021-10-11 19:09:05 UTC (rev 1029600)
@@ -1,36 +0,0 @@
-# Maintainer: Anatol Pomozov
-
-pkgname=aws-sdk-cpp
-pkgver=1.8.187
-pkgrel=1
-pkgdesc='AWS SDK for C++'
-arch=(x86_64)
-url='https://github.com/aws/aws-sdk-cpp'
-license=(Apache)
-depends=(openssl curl zlib util-linux-libs aws-c-common aws-c-event-stream libpulse)
-makedepends=(cmake ninja)
-source=(aws-sdk-cpp-$pkgver.zip::https://github.com/aws/aws-sdk-cpp/archive/$pkgver.zip
- fix_null.patch) # https://github.com/aws/aws-sdk-cpp/pull/1506
-sha256sums=('7dfe63338631acfbfe31981924029bc359ba83fda2003a2af856facfc1b8242e'
- '2260270b5f05c79232b106ad4c73856c05db1f5866174934e0f03e56668868c3')
-
-prepare() {
- cd aws-sdk-cpp-$pkgver
-
- patch -p1 < ../fix_null.patch
-}
-
-build() {
- cd aws-sdk-cpp-$pkgver
-
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCUSTOM_MEMORY_MANAGEMENT=OFF -DENABLE_TESTING=OFF -DBUILD_DEPS=OFF \
- -S . -B build -G Ninja
- ninja -C build -j 2 # the build is so heavy that it gets OOM killed even at powerful machines
-}
-
-package() {
- cd aws-sdk-cpp-$pkgver
-
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: aws-sdk-cpp/repos/community-x86_64/PKGBUILD (from rev 1029599, aws-sdk-cpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-11 19:09:05 UTC (rev 1029600)
@@ -0,0 +1,37 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-sdk-cpp
+pkgver=1.9.118
+pkgrel=1
+pkgdesc='AWS SDK for C++'
+arch=(x86_64)
+url='https://github.com/aws/aws-sdk-cpp'
+license=(Apache)
+depends=(openssl curl zlib util-linux-libs aws-c-common aws-c-event-stream libpulse aws-crt-cpp)
+makedepends=(cmake ninja)
+source=(aws-sdk-cpp-$pkgver.zip::https://github.com/aws/aws-sdk-cpp/archive/$pkgver.zip
+ fix_null.patch) # https://github.com/aws/aws-sdk-cpp/pull/1506
+sha256sums=('6fd92dae061b08c324801be03bd285b56a52e0c3ac2a13e37cfeffe86587b4ca'
+ '2260270b5f05c79232b106ad4c73856c05db1f5866174934e0f03e56668868c3')
+
+prepare() {
+ cd aws-sdk-cpp-$pkgver
+
+ patch -p1 < ../fix_null.patch
+}
+
+build() {
+ cd aws-sdk-cpp-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCUSTOM_MEMORY_MANAGEMENT=OFF -DENABLE_TESTING=OFF -DBUILD_DEPS=OFF \
+ -DCMAKE_MODULE_PATH=/usr/lib/cmake \
+ -S . -B build -G Ninja
+ ninja -C build -j 2 # the build is so heavy that it gets OOM killed even at powerful machines
+}
+
+package() {
+ cd aws-sdk-cpp-$pkgver
+
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: fix_null.patch
===================================================================
--- fix_null.patch 2021-10-11 19:08:39 UTC (rev 1029599)
+++ fix_null.patch 2021-10-11 19:09:05 UTC (rev 1029600)
@@ -1,26 +0,0 @@
-diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-index f70a6c88f6..e09a4e0ee6 100644
---- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-+++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-@@ -72,9 +72,7 @@ namespace Aws
- assert(handler);
- if (!handler)
- {
-- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
-- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
-- "ErrorMessage: " << handler->GetEventPayloadAsString());
-+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
- return;
- }
- handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
-@@ -129,9 +127,7 @@ namespace Aws
- assert(handler);
- if (!handler)
- {
-- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
-- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
-- "ErrorMessage: " << handler->GetEventPayloadAsString());
-+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
- return;
- }
-
Copied: aws-sdk-cpp/repos/community-x86_64/fix_null.patch (from rev 1029599, aws-sdk-cpp/trunk/fix_null.patch)
===================================================================
--- fix_null.patch (rev 0)
+++ fix_null.patch 2021-10-11 19:09:05 UTC (rev 1029600)
@@ -0,0 +1,26 @@
+diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
+index f70a6c88f6..e09a4e0ee6 100644
+--- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
++++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
+@@ -72,9 +72,7 @@ namespace Aws
+ assert(handler);
+ if (!handler)
+ {
+- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+- "ErrorMessage: " << handler->GetEventPayloadAsString());
++ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
+ return;
+ }
+ handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
+@@ -129,9 +127,7 @@ namespace Aws
+ assert(handler);
+ if (!handler)
+ {
+- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+- "ErrorMessage: " << handler->GetEventPayloadAsString());
++ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
+ return;
+ }
+
More information about the arch-commits
mailing list