mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.8.0
- Complete UTF-8 support - Work around the no-stream-header bug [1] PR: ports/101335 [1] Submitted by: thompsa [1]
This commit is contained in:
parent
b58525d4eb
commit
bdb3ec18f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170547
5 changed files with 40 additions and 13 deletions
|
@ -6,32 +6,39 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= mcabber
|
PORTNAME= mcabber
|
||||||
PORTVERSION= 0.7.8
|
PORTVERSION= 0.8.0
|
||||||
CATEGORIES= net-im
|
CATEGORIES= net-im
|
||||||
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CSME
|
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CSME
|
||||||
|
|
||||||
MAINTAINER= infofarmer@FreeBSD.org
|
MAINTAINER= infofarmer@FreeBSD.org
|
||||||
COMMENT= Small Jabber console client
|
COMMENT= Small Jabber console client
|
||||||
|
|
||||||
|
LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man
|
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man --with-ssl
|
||||||
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
USE_ICONV= yes
|
USE_ICONV= yes
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
USE_GNOME= glib20
|
USE_GNOME= glib20
|
||||||
USE_GETOPT_LONG= yes
|
USE_GETOPT_LONG= yes
|
||||||
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -lcrypto
|
CPPFLAGS= ${CFLAGS}
|
||||||
|
LDFLAGS+= -lcrypto -L${LOCALBASE}/lib
|
||||||
|
|
||||||
MAN1= mcabber.1
|
MAN1= mcabber.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${REINPLACE_CMD} -e 's#$$"$${datadir}"#"$${datadir}"#' \
|
@${REINPLACE_CMD} -e 's#$$"$${datadir}"#"$${datadir}"#' \
|
||||||
${WRKSRC}/configure
|
-e 's/waddnwstr/mvwaddnwstr/g' -e 's!ncursesw/!ncurses/!g' ${WRKSRC}/configure
|
||||||
|
@${REINPLACE_CMD} -e 's/NCURSESW/NCURSES/' ${WRKSRC}/src/screen.h ${WRKSRC}/src/utf8.h
|
||||||
|
@${REINPLACE_CMD} -e 's!ncursesw/!ncurses/!g' ${WRKSRC}/src/screen.h
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
@${MKDIR} ${EXAMPLESDIR}
|
||||||
|
@${CP} -R ${WRKSRC}/contrib ${DATADIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${EXAMPLESDIR}/mcabberrc
|
${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${EXAMPLESDIR}/mcabberrc
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (mcabber-0.7.8.tar.bz2) = 0357b941092db41b51edce517630ad38
|
MD5 (mcabber-0.8.0.tar.bz2) = 31addfc6f22d1c84ab7e84bdbfb103fb
|
||||||
SHA256 (mcabber-0.7.8.tar.bz2) = c13599b76e42dff743a83b388234deef2fdc36080df328b3db57a4a0aa3949c4
|
SHA256 (mcabber-0.8.0.tar.bz2) = b54934dadc15e83bb7ad8b9c59230b8f5be19cc75550bb605a4011a0d7d2c4a0
|
||||||
SIZE (mcabber-0.7.8.tar.bz2) = 358411
|
SIZE (mcabber-0.8.0.tar.bz2) = 373606
|
||||||
|
|
12
net-im/mcabber/files/patch-libjabber__jconn.c
Normal file
12
net-im/mcabber/files/patch-libjabber__jconn.c
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- ./libjabber/jconn.c.orig Sun Aug 13 23:01:59 2006
|
||||||
|
+++ ./libjabber/jconn.c Mon Aug 14 10:15:47 2006
|
||||||
|
@@ -164,6 +164,9 @@
|
||||||
|
}
|
||||||
|
change_socket_to_blocking(j->fd);
|
||||||
|
|
||||||
|
+ /* XXX why do we need this?? */
|
||||||
|
+ sleep (1);
|
||||||
|
+
|
||||||
|
j->state = JCONN_STATE_CONNECTED;
|
||||||
|
STATE_EVT(JCONN_STATE_CONNECTED)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- ./src/hbuf.c.orig Thu Jun 22 10:30:34 2006
|
--- ./src/hbuf.c.orig Sun Aug 13 23:01:59 2006
|
||||||
+++ ./src/hbuf.c Thu Jun 22 10:31:06 2006
|
+++ ./src/hbuf.c Mon Aug 14 10:15:38 2006
|
||||||
@@ -253,6 +253,7 @@
|
@@ -252,6 +252,7 @@
|
||||||
hbuf_block *blk;
|
hbuf_block *blk;
|
||||||
guchar last_persist_prefixflags = 0;
|
guchar last_persist_prefixflags = 0;
|
||||||
GList *last_persist; // last persistent flags
|
GList *last_persist; // last persistent flags
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
hbb_line **array, **array_elt;
|
hbb_line **array, **array_elt;
|
||||||
|
|
||||||
// To be able to correctly highlight multi-line messages,
|
// To be able to correctly highlight multi-line messages,
|
||||||
@@ -273,7 +274,6 @@
|
@@ -272,7 +273,6 @@
|
||||||
|
|
||||||
for (i = 0 ; i < n ; i++) {
|
for (i = 0 ; i < n ; i++) {
|
||||||
if (hbuf) {
|
if (hbuf) {
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
bin/mcabber
|
bin/mcabber
|
||||||
%%EXAMPLESDIR%%/mcabberrc
|
%%EXAMPLESDIR%%/mcabberrc
|
||||||
|
%%DATADIR%%/contrib/cicq2mcabber.pl
|
||||||
|
%%DATADIR%%/contrib/eventcmd
|
||||||
|
%%DATADIR%%/contrib/mcwizz.pl
|
||||||
|
%%DATADIR%%/contrib/themes/light.txt
|
||||||
|
%%DATADIR%%/contrib/themes/light2.txt
|
||||||
|
%%DATADIR%%/contrib/themes/oliver.txt
|
||||||
%%DATADIR%%/help/en/hlp.txt
|
%%DATADIR%%/help/en/hlp.txt
|
||||||
%%DATADIR%%/help/en/hlp_add.txt
|
%%DATADIR%%/help/en/hlp_add.txt
|
||||||
%%DATADIR%%/help/en/hlp_alias.txt
|
%%DATADIR%%/help/en/hlp_alias.txt
|
||||||
|
@ -85,6 +91,8 @@ bin/mcabber
|
||||||
%%DATADIR%%/help/pl/hlp_status_to.txt
|
%%DATADIR%%/help/pl/hlp_status_to.txt
|
||||||
%%DATADIR%%/help/pl/hlp_version.txt
|
%%DATADIR%%/help/pl/hlp_version.txt
|
||||||
@dirrm %%EXAMPLESDIR%%
|
@dirrm %%EXAMPLESDIR%%
|
||||||
|
@dirrm %%DATADIR%%/contrib/themes
|
||||||
|
@dirrm %%DATADIR%%/contrib
|
||||||
@dirrm %%DATADIR%%/help/en
|
@dirrm %%DATADIR%%/help/en
|
||||||
@dirrm %%DATADIR%%/help/fr
|
@dirrm %%DATADIR%%/help/fr
|
||||||
@dirrm %%DATADIR%%/help/pl
|
@dirrm %%DATADIR%%/help/pl
|
||||||
|
|
Loading…
Add table
Reference in a new issue