svn commit: r368018 - in head/irc/hexchat: . files
Rusmir Dusko
nemysis at FreeBSD.org
Fri Sep 12 10:42:00 UTC 2014
Author: nemysis
Date: Fri Sep 12 10:41:59 2014
New Revision: 368018
URL: http://svnweb.freebsd.org/changeset/ports/368018
QAT: https://qat.redports.org/buildarchive/r368018/
Log:
- Update to 2.10.1, announce message is here:
http://hexchat.readthedocs.org/en/latest/changelog.html
- Take maintainership
- Add dependency for devel/gnome-common
- Remove XFT Option, changed by upstream
- Remove LIBSEXY, SOCKS and XFT from default Options
- Add SOCKS_DESC
- Remove Spell Options and dependencies, changed by upstream
- Remove PORTSCOUT
- USES python instead of USE_PYTHON=yes
- Remove obsolete REINPLACE, changes accepted by upstream to use SH
- Change REINPLACE, changed by upstream
- Add CP and RM, not fixable with other ways
- Recreate patch files/patch-src__common__ssl.c with make makepatch
Approved by: maintainer (private email)
Modified:
head/irc/hexchat/Makefile
head/irc/hexchat/distinfo
head/irc/hexchat/files/patch-src__common__ssl.c
head/irc/hexchat/pkg-plist
Modified: head/irc/hexchat/Makefile
==============================================================================
--- head/irc/hexchat/Makefile Fri Sep 12 09:31:36 2014 (r368017)
+++ head/irc/hexchat/Makefile Fri Sep 12 10:41:59 2014 (r368018)
@@ -2,16 +2,16 @@
# $FreeBSD$
PORTNAME= hexchat
-PORTVERSION= 2.9.6.1
-PORTREVISION= 6
+PORTVERSION= 2.10.1
CATEGORIES= irc gnome ipv6
MASTER_SITES= http://dl.hexchat.org/${PORTNAME}/
-MAINTAINER= koalative at gmail.com
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= IRC chat program with GTK and Text Frontend
LICENSE= GPLv2
+BUILD_DEPENDS= gnome-autogen.sh:${PORTSDIR}/devel/gnome-common
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
USES= gmake desktop-file-utils libtool pkgconfig tar:xz
@@ -31,24 +31,18 @@ SUB_FILES= pkg-message
PORTDOCS= *
OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM NLS NOTIFY \
- PERL PYTHON SOCKS TEXTFE XFT
+ PERL PYTHON SOCKS TEXTFE
-OPTIONS_RADIO= SPELL
-OPTIONS_RADIO_SPELL= GTKSPELL LIBSEXY STATIC
-
-OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY LIBSEXY PERL PYTHON \
- SOCKS XFT
+OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON
OPTIONS_SUB= yes
CA_BUNDLE_DESC= Include CA bundle for SSL verification
CANBERRA_DESC= Audio support via Libcanberra
DOAT_DESC= Do At plugin
-GTKSPELL_DESC= Spell checking support via GTKSpell
FISHLIM_DESC= FiSHLiM plugin
-LIBSEXY_DESC= Spell checking support via Libsexy
-STATIC_DESC= Spell checking embedded in the binary
TEXTFE_DESC= Text frontend
+SOCKS_DESC= SOCKS proxy support, FORBIDDEN in FreeBSD 10+
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
CANBERRA_LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra
@@ -66,43 +60,17 @@ PYTHON_CONFIGURE_ENABLE= python
SOCKS_LIB_DEPENDS= libsocks.so:${PORTSDIR}/net/dante
SOCKS_CONFIGURE_ENABLE= socks
TEXTFE_CONFIGURE_ENABLE= textfe
-XFT_CONFIGURE_ENABLE= xft
-GTKSPELL_LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
-LIBSEXY_LIB_DEPENDS= libsexy.so:${PORTSDIR}/x11-toolkits/libsexy
-
-# Wrong versioning upstream
-PORTSCOUT= skipv:2.10.0
.include <bsd.port.options.mk>
-.if ! ${PORT_OPTIONS:MGTKSPELL} && ! ${PORT_OPTIONS:MLIBSEXY} && ! ${PORT_OPTIONS:MSTATIC}
-CONFIGURE_ARGS+=--enable-spell=none
-.endif
-
-.if ${PORT_OPTIONS:MGTKSPELL}
-CONFIGURE_ARGS+=--enable-spell=gtkspell
-.endif
-
-.if ${PORT_OPTIONS:MLIBSEXY}
-CONFIGURE_ARGS+=--enable-spell=libsexy
-.endif
-
-.if ${PORT_OPTIONS:MSTATIC}
-CONFIGURE_ARGS+=--enable-spell=static
-.endif
-
.if ${PORT_OPTIONS:MCA_BUNDLE}
CA_BUNDLE= "${LOCALBASE}/share/certs/ca-root-nss.crt"
.else
CA_BUNDLE= NULL
.endif
-.if ${PORT_OPTIONS:MXFT}
-USE_XORG+= xft
-.endif
-
.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
+USES+= python
.endif
.if ${PORT_OPTIONS:MPERL}
@@ -113,23 +81,29 @@ USES+= perl5
USE_GNOME+= gconf2
.endif
+pre-configure:
+ @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
+
post-patch:
- @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh
@${REINPLACE_CMD} -e '/^appdata_DATA/s|hexchat.appdata.xml||' \
- ${WRKSRC}/share/misc/Makefile.am ${WRKSRC}/share/misc/Makefile.in
+ ${WRKSRC}/data/misc/Makefile.in
@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
${WRKSRC}/src/common/server.c
-pre-configure:
- @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
-
post-install:
+# Ugly CP and RM, only this works. Not works pathfix,
+# --localedir=${LOCALBASE}/share/locale and patching.
+# Upstream can't fix this and think that glib-gettextize (devel/glib20)
+# is broken in FreeBSD.
+ @${CP} -a ${STAGEDIR}/usr/local/lib/locale/* ${STAGEDIR}/usr/local/share/locale/
+ @${RM} -fr ${STAGEDIR}/usr/local/lib/locale/
+
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/share/doc/*.md ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
.endif
# @(cd ${PREFIX}/lib/hexchat/plugins/ && ${RM} -f *.a)
Modified: head/irc/hexchat/distinfo
==============================================================================
--- head/irc/hexchat/distinfo Fri Sep 12 09:31:36 2014 (r368017)
+++ head/irc/hexchat/distinfo Fri Sep 12 10:41:59 2014 (r368018)
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.9.6.1.tar.xz) = 6267ff3c4d0aec8a808365b384115a769d5001d99dbb10403634667c43966470
-SIZE (hexchat-2.9.6.1.tar.xz) = 1768392
+SHA256 (hexchat-2.10.1.tar.xz) = ffccee6a3470d2f9539e75bd0dd2e3f35c65737004cb02e6d2106c1d5dcde9a9
+SIZE (hexchat-2.10.1.tar.xz) = 1618372
Modified: head/irc/hexchat/files/patch-src__common__ssl.c
==============================================================================
--- head/irc/hexchat/files/patch-src__common__ssl.c Fri Sep 12 09:31:36 2014 (r368017)
+++ head/irc/hexchat/files/patch-src__common__ssl.c Fri Sep 12 10:41:59 2014 (r368018)
@@ -1,6 +1,6 @@
---- ./src/common/ssl.c.orig 2013-09-12 00:18:19.000000000 +0200
-+++ ./src/common/ssl.c 2014-04-12 16:06:12.028592630 +0200
-@@ -305,7 +305,7 @@
+--- src/common/ssl.c.orig 2014-07-28 19:47:50 UTC
++++ src/common/ssl.c
+@@ -310,7 +310,7 @@
__SSL_fill_err_buf ("SSL_CTX_set_default_verify_paths");
return (err_buf);
}
@@ -9,7 +9,7 @@
if (cacert)
{
if (!SSL_CTX_load_verify_locations (ctx, cacert, NULL))
-@@ -314,7 +314,7 @@
+@@ -319,7 +319,7 @@
return (err_buf);
}
}
Modified: head/irc/hexchat/pkg-plist
==============================================================================
--- head/irc/hexchat/pkg-plist Fri Sep 12 09:31:36 2014 (r368017)
+++ head/irc/hexchat/pkg-plist Fri Sep 12 10:41:59 2014 (r368018)
@@ -8,6 +8,7 @@ lib/hexchat/plugins/checksum.so
%%PYTHON%%lib/hexchat/plugins/python.so
libdata/pkgconfig/hexchat-plugin.pc
man/man1/hexchat.1.gz
+share/appdata/hexchat.appdata.xml
share/applications/hexchat.desktop
%%DBUS%%share/dbus-1/services/org.hexchat.service.service
share/icons/hicolor/48x48/apps/hexchat.png
@@ -35,7 +36,7 @@ share/icons/hicolor/scalable/apps/hexcha
%%NLS%%share/locale/hu/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/id/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/it/LC_MESSAGES/hexchat.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/hexchat.mo
+%%NLS%%share/locale/ja_JP/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/kn/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/ko/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/lt/LC_MESSAGES/hexchat.mo
@@ -56,17 +57,18 @@ share/icons/hicolor/scalable/apps/hexcha
%%NLS%%share/locale/sl/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/sq/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/sr/LC_MESSAGES/hexchat.mo
+%%NLS%%share/locale/sr at latin/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/sv/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/th/LC_MESSAGES/hexchat.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/uk/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/vi/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/wa/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/hexchat.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/hexchat.mo
share/pixmaps/hexchat.png
-%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/rw
-%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ast
@dirrm lib/hexchat/plugins
@dirrm lib/hexchat
+ at dirrmtry share/appdata
+%%NLS%%@dirrmtry share/locale/ja_JP/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ja_JP
More information about the svn-ports-head
mailing list