[arch-commits] Commit in libgadu/trunk (PKGBUILD protobuf-c.patch)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Jan 2 16:47:20 UTC 2015
Date: Friday, January 2, 2015 @ 17:47:20
Author: bpiotrowski
Revision: 228346
upgpkg: libgadu 1.12.1-1
new upstream release
Modified:
libgadu/trunk/PKGBUILD
Deleted:
libgadu/trunk/protobuf-c.patch
------------------+
PKGBUILD | 15 ++++-----------
protobuf-c.patch | 17 -----------------
2 files changed, 4 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-02 16:13:43 UTC (rev 228345)
+++ PKGBUILD 2015-01-02 16:47:20 UTC (rev 228346)
@@ -4,23 +4,16 @@
# Contributor: Mateusz Herych <heniekk at gmail.com>
pkgname=libgadu
-pkgver=1.12.0
-pkgrel=2
+pkgver=1.12.1
+pkgrel=1
pkgdesc="This library implements the client side of the Gadu-Gadu protocol"
arch=('i686' 'x86_64')
url="http://libgadu.net/"
license=('LGPL2.1')
depends=('gnutls' 'protobuf-c')
-source=("http://github.com/wojtekka/libgadu/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'protobuf-c.patch')
-md5sums=('e4569a0ed26136c4634fa8c4013910e3'
- '0139f15f89db5a3684994ae5ba4115d9')
+source=("http://github.com/wojtekka/libgadu/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('6de8b26f3b9155a67f549ced6da93c56')
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/protobuf-c.patch
-}
-
build() {
cd ${pkgname}-${pkgver}
./protobufgen.sh
Deleted: protobuf-c.patch
===================================================================
--- protobuf-c.patch 2015-01-02 16:13:43 UTC (rev 228345)
+++ protobuf-c.patch 2015-01-02 16:47:20 UTC (rev 228346)
@@ -1,17 +0,0 @@
-diff -Npru libgadu-1.12.0.orig/protobufgen.sh libgadu-1.12.0/protobufgen.sh
---- libgadu-1.12.0.orig/protobufgen.sh 2014-06-13 18:41:37.000000000 +0000
-+++ libgadu-1.12.0/protobufgen.sh 2014-07-16 20:06:14.570039033 +0000
-@@ -6,12 +6,5 @@ if [ $? != 0 ] ; then
- exit -1
- fi
-
--sed -i 's/<google\/protobuf-c\/protobuf-c.h>/"protobuf.h"/g' packets.pb-c.h
--
--if ! cat packets.pb-c.c | grep "PROTOBUF_C_NO_DEPRECATED" > /dev/null; then
-- echo "Warning: protobuf-c-compiler < 0.14 detected, trying to fix the output"
-- sed -i 's| NULL,NULL /\* reserved1, reserved2 \*/| 0, 0, NULL, NULL|g' packets.pb-c.c
--fi
--
- mv packets.pb-c.h include
- mv packets.pb-c.c src
-
More information about the arch-commits
mailing list