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

2020-05-29 Thread Lukas Fleischer via arch-commits
Date: Friday, May 29, 2020 @ 18:29:28
  Author: lfleischer
Revision: 387859

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

Added:
  protobuf-c/repos/testing-x86_64/
  protobuf-c/repos/testing-x86_64/PKGBUILD
(from rev 387858, protobuf-c/repos/staging-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/staging-x86_64/

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Copied: protobuf-c/repos/testing-x86_64/PKGBUILD (from rev 387858, 
protobuf-c/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-05-29 18:29:28 UTC (rev 387859)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Aurélien Wailly 
+
+pkgname=protobuf-c
+pkgver=1.3.3
+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")
+sha256sums=('22956606ef50c60de1fabc13a78fbc50830a0447d780467d3c519f84ad527e78')
+
+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"
+}


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

2019-12-15 Thread Lukas Fleischer via arch-commits
Date: Sunday, December 15, 2019 @ 18:31:41
  Author: lfleischer
Revision: 371528

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

Added:
  protobuf-c/repos/extra-x86_64/PKGBUILD
(from rev 371527, protobuf-c/repos/testing-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/extra-x86_64/PKGBUILD
  protobuf-c/repos/testing-x86_64/

---+
 /PKGBUILD |   31 +++
 extra-x86_64/PKGBUILD |   31 ---
 2 files changed, 31 insertions(+), 31 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2019-12-15 18:31:35 UTC (rev 371527)
+++ extra-x86_64/PKGBUILD   2019-12-15 18:31:41 UTC (rev 371528)
@@ -1,31 +0,0 @@
-# Maintainer: Lukas Fleischer 
-# Contributor: Bartłomiej Piotrowski 
-# Contributor: Aurélien Wailly 
-
-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"
-}

Copied: protobuf-c/repos/extra-x86_64/PKGBUILD (from rev 371527, 
protobuf-c/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2019-12-15 18:31:41 UTC (rev 371528)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Aurélien Wailly 
+
+pkgname=protobuf-c
+pkgver=1.3.2
+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")
+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"
+}


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

2019-12-11 Thread Lukas Fleischer via arch-commits
Date: Thursday, December 12, 2019 @ 03:06:55
  Author: lfleischer
Revision: 370700

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

Added:
  protobuf-c/repos/testing-x86_64/
  protobuf-c/repos/testing-x86_64/PKGBUILD
(from rev 370699, protobuf-c/repos/staging-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/staging-x86_64/

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Copied: protobuf-c/repos/testing-x86_64/PKGBUILD (from rev 370699, 
protobuf-c/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-12-12 03:06:55 UTC (rev 370700)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Aurélien Wailly 
+
+pkgname=protobuf-c
+pkgver=1.3.2
+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")
+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"
+}


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

2019-10-23 Thread Jelle van der Waa via arch-commits
Date: Wednesday, October 23, 2019 @ 18:30:03
  Author: jelle
Revision: 365409

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

Added:
  protobuf-c/repos/testing-x86_64/
  protobuf-c/repos/testing-x86_64/PKGBUILD
(from rev 365408, protobuf-c/repos/staging-x86_64/PKGBUILD)
Deleted:
  protobuf-c/repos/staging-x86_64/

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Copied: protobuf-c/repos/testing-x86_64/PKGBUILD (from rev 365408, 
protobuf-c/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-23 18:30:03 UTC (rev 365409)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Aurélien Wailly 
+
+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"
+}


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

2019-03-03 Thread Lukas Fleischer via arch-commits
Date: Sunday, March 3, 2019 @ 13:38:01
  Author: lfleischer
Revision: 347023

archrelease: copy trunk to staging-x86_64

Added:
  protobuf-c/repos/staging-x86_64/
  protobuf-c/repos/staging-x86_64/PKGBUILD
(from rev 347022, protobuf-c/trunk/PKGBUILD)
  protobuf-c/repos/staging-x86_64/invalid-namespace.patch
(from rev 347022, protobuf-c/trunk/invalid-namespace.patch)

-+
 PKGBUILD|   38 ++
 invalid-namespace.patch |   23 +++
 2 files changed, 61 insertions(+)

Copied: protobuf-c/repos/staging-x86_64/PKGBUILD (from rev 347022, 
protobuf-c/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-03-03 13:38:01 UTC (rev 347023)
@@ -0,0 +1,38 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Aurélien Wailly 
+
+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/staging-x86_64/invalid-namespace.patch (from rev 
347022, protobuf-c/trunk/invalid-namespace.patch)
===
--- staging-x86_64/invalid-namespace.patch  (rev 0)
+++ staging-x86_64/invalid-namespace.patch  2019-03-03 13:38:01 UTC (rev 
347023)
@@ -0,0 +1,23 @@
+From 080724364a5aad61728f8eba57677467bf329088 Mon Sep 17 00:00:00 2001
+From: storyun 
+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();
+ 
+ #if GOOGLE_PROTOBUF_VERSION >= 2001000