pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat libgadu: added version 1.12.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/82e77194059e
branches: trunk
changeset: 409783:82e77194059e
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jan 20 17:25:10 2020 +0000
description:
libgadu: added version 1.12.2
libgadu is library for handling Gadu-Gadu instant messenger protocol. For a
long time it was an intergral part of ekg application but due to packaging
issues and use in other appliactions it became a project on its own.
Proprietary protocol was reverse engineered which may make libgadu less than
100% compatible with the original.
diffstat:
chat/Makefile | 3 +-
chat/libgadu/DESCR | 5 ++++
chat/libgadu/Makefile | 36 +++++++++++++++++++++++++++++++
chat/libgadu/PLIST | 4 +++
chat/libgadu/buildlink3.mk | 16 +++++++++++++
chat/libgadu/distinfo | 8 ++++++
chat/libgadu/patches/patch-configure.ac | 15 ++++++++++++
chat/libgadu/patches/patch-protobufgen.sh | 17 ++++++++++++++
8 files changed, 103 insertions(+), 1 deletions(-)
diffs (146 lines):
diff -r ef825c2f8f57 -r 82e77194059e chat/Makefile
--- a/chat/Makefile Mon Jan 20 17:15:02 2020 +0000
+++ b/chat/Makefile Mon Jan 20 17:25:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.236 2020/01/16 13:44:19 nia Exp $
+# $NetBSD: Makefile,v 1.237 2020/01/20 17:25:10 adam Exp $
#
COMMENT= Communication programs
@@ -67,6 +67,7 @@
SUBDIR+= ktp-kded-integration-module
SUBDIR+= ktp-send-file
SUBDIR+= ktp-text-ui
+SUBDIR+= libgadu
SUBDIR+= libfolks
SUBDIR+= libirc
SUBDIR+= libmsn
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/DESCR Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,5 @@
+libgadu is library for handling Gadu-Gadu instant messenger protocol. For a
+long time it was an intergral part of ekg application but due to packaging
+issues and use in other appliactions it became a project on its own.
+Proprietary protocol was reverse engineered which may make libgadu less than
+100% compatible with the original.
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/Makefile Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+DISTNAME= libgadu-1.12.2
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/}
+
+MAINTAINER= adam%NetBSD.org@localhost
+HOMEPAGE= http://libgadu.net/
+COMMENT= Library for handling the protocol of Gadu-Gadu
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake gmake perl:test pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-openssl
+CONFIGURE_ARGS+= --without-bind
+CONFIGURE_ARGS+= --without-gnutls
+# XXX: https://github.com/wojtekka/libgadu/issues/25
+CONFIGURE_ARGS+= --without-pthread
+PKGCONFIG_OVERRIDE+= pkgconfig/libgadu.pc.in
+TEST_TARGET= check
+
+REPLACE_PERL= test/protocol/compile
+
+pre-configure:
+ cd ${WRKSRC} && \
+ ${SETENV} NOCONFIGURE=no ${SH} ./autogen.sh
+
+.include "../../devel/protobuf-c/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+#.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/PLIST Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/20 17:25:10 adam Exp $
+include/libgadu.h
+lib/libgadu.la
+lib/pkgconfig/libgadu.pc
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/buildlink3.mk Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+BUILDLINK_TREE+= libgadu
+
+.if !defined(LIBGADU_BUILDLINK3_MK)
+LIBGADU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgadu+= libgadu>=1.12.2
+BUILDLINK_PKGSRCDIR.libgadu?= ../../chat/libgadu
+
+.include "../../devel/protobuf-c/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.endif # LIBGADU_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libgadu
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/distinfo Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+SHA1 (libgadu-1.12.2.tar.gz) = 252ecade86e0d53ff30c4ece71b764c571b28b2a
+RMD160 (libgadu-1.12.2.tar.gz) = 5d67b799710d42985b18bef15ddfc9e2f2eb5309
+SHA512 (libgadu-1.12.2.tar.gz) = d3b4fde94327ef312b1df668b8eb73fea9325c9258d85aa65e2746b73f00c2606ebe23f3330493a135a0fec1d0f24988f0cec607d4d899d880853ee8bf60e677
+Size (libgadu-1.12.2.tar.gz) = 298884 bytes
+SHA1 (patch-configure.ac) = 7e25edf3aa50ec2bb1cca842686b1af08ecd6530
+SHA1 (patch-protobufgen.sh) = 27cc83cff2a20b24fef5e1c8c87140a0e91fdbbc
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/patches/patch-configure.ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/patches/patch-configure.ac Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+Portability fix.
+
+--- configure.ac.orig 2020-01-17 21:30:01.000000000 +0000
++++ configure.ac
+@@ -461,7 +461,7 @@ dnl
+ AC_ARG_ENABLE(werror,
+ [ --enable-werror halt on warnings])
+
+-if test "x$enable_werror" == "xyes"; then
++if test "x$enable_werror" = "xyes"; then
+ CFLAGS="$CFLAGS -Werror"
+ fi
+
diff -r ef825c2f8f57 -r 82e77194059e chat/libgadu/patches/patch-protobufgen.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/libgadu/patches/patch-protobufgen.sh Mon Jan 20 17:25:10 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-protobufgen.sh,v 1.1 2020/01/20 17:25:10 adam Exp $
+
+Portability fix.
+
+--- protobufgen.sh.orig 2020-01-17 21:22:08.000000000 +0000
++++ protobufgen.sh
+@@ -42,8 +42,8 @@ if [ "x$PROTOC_LEGACY" = "xyes" ]; then
+ sed -i 's/PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC/PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC/g' packets.pb-c.c
+ sed -i 's/PROTOBUF_C_ENUM_DESCRIPTOR_MAGIC/PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC/g' packets.pb-c.c
+ else
+- sed -i 's/<protobuf-c\/protobuf-c.h>/"protobuf.h"/g' packets.pb-c.h
++ sed 's/<protobuf-c\/protobuf-c.h>/"protobuf.h"/g' packets.pb-c.h > include/packets.pb-c.h
+ fi
+
+-mv packets.pb-c.h include
++rm packets.pb-c.h
+ mv packets.pb-c.c src
Home |
Main Index |
Thread Index |
Old Index