[arch-commits] Commit in protobuf-c/repos (4 files)

Lukas Fleischer lfleischer at archlinux.org
Sun Oct 27 18:51:59 UTC 2019


    Date: Sunday, October 27, 2019 @ 18:51:58
  Author: lfleischer
Revision: 365947

db-move: moved protobuf-c from [testing] to [extra] (x86_64)

Added:
  protobuf-c/repos/extra-x86_64/PKGBUILD
    (from rev 365946, protobuf-c/repos/testing-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/extra-x86_64/PKGBUILD
  protobuf-c/repos/extra-x86_64/invalid-namespace.patch
  protobuf-c/repos/testing-x86_64/

--------------------------------------+
 /PKGBUILD                            |   31 ++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD                |   38 ---------------------------------
 extra-x86_64/invalid-namespace.patch |   23 -------------------
 3 files changed, 31 insertions(+), 61 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2019-10-27 18:51:51 UTC (rev 365946)
+++ extra-x86_64/PKGBUILD	2019-10-27 18:51:58 UTC (rev 365947)
@@ -1,38 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Aurélien Wailly <aurelien.wailly at gmail.com>
-
-pkgname=protobuf-c
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='Protocol Buffers implementation in C'
-arch=('x86_64')
-url='https://github.com/protobuf-c/protobuf-c'
-license=('BSD')
-depends=('protobuf')
-provides=('libprotobuf-c.so')
-source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
-        invalid-namespace.patch)
-sha256sums=('51472d3a191d6d7b425e32b612e477c06f73fe23e07f6a6a839b11808e9d2267'
-            '050306bae86af55f90606613d3c362c3c93af779aa6be3e639c6a1df3c228c87')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  patch -p1 -i ../invalid-namespace.patch
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-static
-  make
-}
-
-check() {
-  make -C "$pkgname-$pkgver" check
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: protobuf-c/repos/extra-x86_64/PKGBUILD (from rev 365946, protobuf-c/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2019-10-27 18:51:58 UTC (rev 365947)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Aurélien Wailly <aurelien.wailly at gmail.com>
+
+pkgname=protobuf-c
+pkgver=1.3.2
+pkgrel=1
+pkgdesc='Protocol Buffers implementation in C'
+arch=('x86_64')
+url='https://github.com/protobuf-c/protobuf-c'
+license=('BSD')
+depends=('protobuf')
+provides=('libprotobuf-c.so')
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('53f251f14c597bdb087aecf0b63630f434d73f5a10fc1ac545073597535b9e74')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: extra-x86_64/invalid-namespace.patch
===================================================================
--- extra-x86_64/invalid-namespace.patch	2019-10-27 18:51:51 UTC (rev 365946)
+++ extra-x86_64/invalid-namespace.patch	2019-10-27 18:51:58 UTC (rev 365947)
@@ -1,23 +0,0 @@
-From 080724364a5aad61728f8eba57677467bf329088 Mon Sep 17 00:00:00 2001
-From: storyun <joowoni91 at gmail.com>
-Date: Wed, 19 Sep 2018 11:34:48 +0900
-Subject: [PATCH] Invalid namespace
-
-google::protobuf::message::Reflaction is not exist namespace.
----
- t/generated-code2/cxx-generate-packed-data.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/t/generated-code2/cxx-generate-packed-data.cc b/t/generated-code2/cxx-generate-packed-data.cc
-index 4fd3e25..0865d2e 100644
---- a/t/generated-code2/cxx-generate-packed-data.cc
-+++ b/t/generated-code2/cxx-generate-packed-data.cc
-@@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
- static void dump_test_unknown_fields (void)
- {
-   EmptyMess mess;
--  const google::protobuf::Message::Reflection *reflection = mess.GetReflection();
-+  const google::protobuf::Reflection *reflection = mess.GetReflection();
-   google::protobuf::UnknownFieldSet *fs = reflection->MutableUnknownFields(&mess);
- 
- #if GOOGLE_PROTOBUF_VERSION >= 2001000



More information about the arch-commits mailing list