1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net-im/pidgin-sipe: update to 1.24.0, pet portlint

Update the port to 1.24.0.

Add explicit dependencies which are installed and linked to anyway for libdbus, gstreamer1 and farstream.

Add USES=gnome.

Pet portlint by moving some entries.

Fix OCS2005 option, which had misspelled DESC and CONFIGURE_ENABLE entries, so it didn't even work.

Remove unneeded patch.

PR:		240347
Approved by:	john.c.prather@gmail.com (maintainer timeout), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D21714
This commit is contained in:
Piotr Kubaj 2019-09-21 15:19:31 +00:00
parent 7e5d8b9d2e
commit 91057730f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512509
4 changed files with 23 additions and 33 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pidgin-sipe
PORTVERSION= 1.21.1
PORTREVISION= 2
PORTVERSION= 1.24.0
CATEGORIES= net-im
MASTER_SITES= SF/sipe/sipe/${DISTNAME}
@ -13,38 +12,42 @@ COMMENT= Plugin for Pidgin to provide LCS/OCS connectivity
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
BROKEN_armv7= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
LIB_DEPENDS= libnss3.so:security/nss \
libpurple.so:net-im/libpurple \
libplds4.so:devel/nspr \
libgstreamer-1.0.so:multimedia/gstreamer1 \
libnice.so:net-im/libnice \
libgmime-2.6.so:mail/gmime26
libgmime-2.6.so:mail/gmime26 \
libdbus-1.so:devel/dbus \
libfarstream-0.2.so:net-im/farstream
RUN_DEPENDS= pidgin:net-im/pidgin
BROKEN_armv6= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
BROKEN_armv7= fails to compile: cast from 'struct sipe_core_public *' to 'struct sipe_core_private *' increases required alignment from 4 to 8
GNU_CONFIGURE= yes
USES= gmake libtool localbase pkgconfig tar:bzip2 ssl
USES= gmake gnome libtool localbase pkgconfig tar:bzip2 ssl
USE_GNOME= gtk20 intltool libxml2
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
CONFIGURE_ARGS= --enable-purple \
--disable-telepathy
INSTALL_TARGET= install-strip
USE_GSTREAMER1= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= OCS2005 KRB5 DOCS NLS
OPTIONS_SUB= yes
OSC2005_DESC= Message timeout for OCS2005
OSC2005_CONFIGURE_ENABLE= ocs2005-message-hack
OCS2005_DESC= Message timeout for OCS2005
OCS2005_CONFIGURE_ENABLE= ocs2005-message-hack
KRB5_DESC= With Kerberos5
KRB5_CONFIGURE_WITH= krb5
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
CONFIGURE_ARGS= --enable-purple \
--disable-telepathy
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
post-patch:
@${REINPLACE_CMD} 's/LDLAGS/LDFLAGS/' ${WRKSRC}/configure

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1471295102
SHA256 (pidgin-sipe-1.21.1.tar.bz2) = 15ee26138aad13f2bd6ec108ed86b5a2ea758d60db860990f95069a2104c7758
SIZE (pidgin-sipe-1.21.1.tar.bz2) = 919601
TIMESTAMP = 1567673326
SHA256 (pidgin-sipe-1.24.0.tar.bz2) = f6e67450871382e11b093ba2c9cbb2de75356808345f0063fec9b892d13786ca
SIZE (pidgin-sipe-1.24.0.tar.bz2) = 965339

View File

@ -1,15 +0,0 @@
--- src/purple/purple-dnsquery.c.orig 2011-08-29 17:05:26.000000000 +1100
+++ src/purple/purple-dnsquery.c 2012-01-23 12:24:33.000000000 +1100
@@ -29,6 +29,12 @@
#endif
#include <glib.h>
+#include <sys/socket.h>
+
+#include "version.h"
+#if PURPLE_VERSION_CHECK(2,8,0)
+#include "account.h"
+#endif
#include "dnsquery.h"
#include "dnssrv.h"

View File

@ -1,9 +1,9 @@
lib/purple-2/libsipe.so
share/appdata/pidgin-sipe.metainfo.xml
%%NLS%%share/locale/ar/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/cs/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/da/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/de/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/el/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/es/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/fi/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pidgin-sipe.mo
@ -13,6 +13,7 @@ share/appdata/pidgin-sipe.metainfo.xml
%%NLS%%share/locale/it/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/ja/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/lt/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/nb/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/nl/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/pl/LC_MESSAGES/pidgin-sipe.mo
@ -26,6 +27,7 @@ share/appdata/pidgin-sipe.metainfo.xml
%%NLS%%share/locale/tr/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/pidgin-sipe.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/pidgin-sipe.mo
share/metainfo/pidgin-sipe.metainfo.xml
share/pixmaps/pidgin/protocols/16/sipe.png
share/pixmaps/pidgin/protocols/22/sipe.png
share/pixmaps/pidgin/protocols/24/sipe.png