Re: UPDATE hexchat-2.14.2

2019-10-22 Thread Charlene Wendling


On Wed, 16 Oct 2019 22:46:20 +0100
Stuart Henderson wrote:

> eyeballed only;

[...]

> the "@comment ... doat.la" above should go as well.

[...]

> It probably doesn't really matter, but @tag is usually added
> right at the end of the plist so it probably makes sense to
> maintain that.
> 

I tried on macppc first (the full log is here [0]), adding sthen's
recommendations. Then i came across the following error: 

--8<--
error: textenums.h: No such file or directory
-->8--

It appears that there is some "race condition" in the project's
meson.build, that can be more difficultly reproduced on amd64 with
MAKE_JOBS=1. Upstream had a fix [1], so i added it.

After that i met some undefined references. libproxy wants libestdc++,
so i've brought back COMPILER with ports-gcc in it, and it built.

The runtime is fine on amd64 and macppc. I've tested basic lua, python
and perl scripts from hexchat's repo without issues on these platforms.

Obviously, that diff is OK cwen@


Charlène.


[0] https://bin.charlenew.xyz/hexchat.log
[1]
https://github.com/hexchat/hexchat/commit/92014628d1cc06334a9ca8c91a7184d50f5ab9a0


Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 20:48:27 -  1.26
+++ Makefile22 Oct 2019 18:50:02 -
@@ -1,64 +1,46 @@
 # $OpenBSD: Makefile,v 1.26 2019/07/12 20:48:27 sthen Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.3
+DISTNAME = hexchat-2.14.2
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 8
 
-HOMEPAGE = http://hexchat.github.io/
+HOMEPAGE = https://hexchat.github.io/
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
-WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto dbus-1 dbus-glib-1
-WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl ${MODLUA_WANTLIB} m
-WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
-WANTLIB += png proxy pthread ${MODPY_WANTLIB} ssl ${COMPILER_LIBCXX} util
-WANTLIB += xcb xcb-render xcb-shm z fribidi
-
-COMPILER = base-clang ports-gcc base-gcc
-
-MASTER_SITES = http://dl.hexchat.net/hexchat/
-
-MODULES =  textproc/intltool \
-   lang/lua \
-   lang/python
+WANTLIB += X11 c crypto dbus-glib-1 gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0
+WANTLIB += intl luajit-5.1 notify pango-1.0 perl proxy ssl
+WANTLIB += ${MODPY_WANTLIB}
+
+# libproxy requires libestdc++
+COMPILER = base-clang ports-gcc
+
+MASTER_SITES = https://dl.hexchat.net/hexchat/
+
+MODULES =  devel/meson \
+   lang/python \
+   textproc/intltool
 
-MODLUA_VERSION =   5.3
+MODPY_BUILDDEP =   No
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
 
 BUILD_DEPENDS =devel/iso-codes
 
 LIB_DEPENDS =  devel/gettext,-runtime \
devel/libnotify \
+   lang/luajit \
net/libproxy \
-   x11/gtk+2 \
x11/dbus-glib \
-   ${MODPY_LIB_DEPENDS} \
-   ${MODLUA_LIB_DEPENDS}
-
-MODPY_BUILDDEP =   No
+   x11/gtk+2 \
+   ${MODPY_LIB_DEPENDS}
 
 RUN_DEPENDS =  devel/desktop-file-utils \
devel/iso-codes \
x11/gtk+3,-guic
 
-CONFIGURE_STYLE =  gnu
-CONFIGURE_ARGS +=  --enable-ipv6 \
-   --enable-dbus \
-   --disable-sysinfo \
-   --disable-libcanberra
-CONFIGURE_ENV =CPPFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib \
-   OBJC="${CC}" \
-   LUA=${MODLUA_FLAVOR}
-
-LIBTOOL_FLAGS =--tag=disable-static
-
-USE_GMAKE =Yes
-
-NO_TEST =  Yes
+CONFIGURE_ARGS +=  -Dwith-libcanberra=false \
+   -Dwith-sysinfo=false
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo28 Oct 2016 14:55:19 -  1.7
+++ distinfo22 Oct 2019 18:50:02 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
-SIZE (hexchat-2.12.3.tar.xz) = 1577736
+SHA256 (hexchat-2.14.2.tar.xz) = d5K55SVg+9PhDXW/tdE4ogkTqHdx1nbSllR/G0rAlhg=
+SIZE (hexchat-2.14.2.tar.xz) = 1288732

Re: UPDATE hexchat-2.14.2

2019-10-16 Thread Stuart Henderson
eyeballed only;

On 2019/10/16 23:25, Björn Ketelaars wrote:
>  @comment lib/hexchat/plugins/checksum.la
>  lib/hexchat/plugins/checksum.so
>  @comment lib/hexchat/plugins/doat.la
> -lib/hexchat/plugins/doat.so

the "@comment ... doat.la" above should go as well.

>  share/locale/zh_TW/LC_MESSAGES/hexchat.mo
>  @tag gtk-update-icon-cache %D/share/icons/hicolor
>  @tag update-desktop-database
> +share/metainfo/
> +share/metainfo/io.github.Hexchat.appdata.xml
> 

It probably doesn't really matter, but @tag is usually added
right at the end of the plist so it probably makes sense to
maintain that.



UPDATE hexchat-2.14.2

2019-10-16 Thread Björn Ketelaars
A newer version of hexchat is available, which fixes several bugs.
Changelog can be found at
https://hexchat.readthedocs.io/en/latest/changelog.html.

Changes to the port:
- Use https instead of http for HOMEPAGE and MASTER_SITES
- Update WANTLIB
- Use meson as build system has been rewritten
- Hexchat dropped support for python2, instead use python3
- luajit is needed for scripts

Run tested - without any scripts - on amd64.

Comments/ok?


Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 20:48:27 -  1.26
+++ Makefile16 Oct 2019 21:06:35 -
@@ -1,64 +1,43 @@
 # $OpenBSD: Makefile,v 1.26 2019/07/12 20:48:27 sthen Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.3
+DISTNAME = hexchat-2.14.2
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 8
 
-HOMEPAGE = http://hexchat.github.io/
+HOMEPAGE = https://hexchat.github.io/
 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
-WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto dbus-1 dbus-glib-1
-WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl ${MODLUA_WANTLIB} m
-WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
-WANTLIB += png proxy pthread ${MODPY_WANTLIB} ssl ${COMPILER_LIBCXX} util
-WANTLIB += xcb xcb-render xcb-shm z fribidi
-
-COMPILER = base-clang ports-gcc base-gcc
-
-MASTER_SITES = http://dl.hexchat.net/hexchat/
-
-MODULES =  textproc/intltool \
-   lang/lua \
-   lang/python
+WANTLIB += X11 c crypto dbus-glib-1 gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0
+WANTLIB += intl luajit-5.1 notify pango-1.0 perl proxy ssl
+WANTLIB += ${MODPY_WANTLIB}
+
+MASTER_SITES = https://dl.hexchat.net/hexchat/
+
+MODULES =  devel/meson \
+   lang/python \
+   textproc/intltool
 
-MODLUA_VERSION =   5.3
+MODPY_BUILDDEP =   No
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
 
 BUILD_DEPENDS =devel/iso-codes
 
 LIB_DEPENDS =  devel/gettext,-runtime \
devel/libnotify \
+   lang/luajit \
net/libproxy \
-   x11/gtk+2 \
x11/dbus-glib \
-   ${MODPY_LIB_DEPENDS} \
-   ${MODLUA_LIB_DEPENDS}
-
-MODPY_BUILDDEP =   No
+   x11/gtk+2 \
+   ${MODPY_LIB_DEPENDS}
 
 RUN_DEPENDS =  devel/desktop-file-utils \
devel/iso-codes \
x11/gtk+3,-guic
 
-CONFIGURE_STYLE =  gnu
-CONFIGURE_ARGS +=  --enable-ipv6 \
-   --enable-dbus \
-   --disable-sysinfo \
-   --disable-libcanberra
-CONFIGURE_ENV =CPPFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib \
-   OBJC="${CC}" \
-   LUA=${MODLUA_FLAVOR}
-
-LIBTOOL_FLAGS =--tag=disable-static
-
-USE_GMAKE =Yes
-
-NO_TEST =  Yes
+CONFIGURE_ARGS +=  -Dwith-libcanberra=false \
+   -Dwith-sysinfo=false
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo28 Oct 2016 14:55:19 -  1.7
+++ distinfo16 Oct 2019 21:06:35 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
-SIZE (hexchat-2.12.3.tar.xz) = 1577736
+SHA256 (hexchat-2.14.2.tar.xz) = d5K55SVg+9PhDXW/tdE4ogkTqHdx1nbSllR/G0rAlhg=
+SIZE (hexchat-2.14.2.tar.xz) = 1288732
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/hexchat/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   29 Jun 2018 22:16:19 -  1.4
+++ pkg/PLIST   16 Oct 2019 21:06:35 -
@@ -6,7 +6,6 @@ lib/hexchat/plugins/
 @comment lib/hexchat/plugins/checksum.la
 lib/hexchat/plugins/checksum.so
 @comment lib/hexchat/plugins/doat.la
-lib/hexchat/plugins/doat.so
 @comment lib/hexchat/plugins/fishlim.la
 lib/hexchat/plugins/fishlim.so
 @comment lib/hexchat/plugins/lua.la
@@ -17,9 +16,7 @@ lib/hexchat/plugins/perl.so
 lib/hexchat/plugins/python.so
 lib/pkgconfig/hexchat-plugin.pc
 @man man/man1/hexchat.1
-share/appdata/
-share/appdata/hexchat.appdata.xml

UPDATE: hexchat to 2.12.4

2017-01-01 Thread Florian Stinglmayr
Hi list,

below is an update for hexchat to bring it to 2.12.4.
At first upstream butchered the release tarball [1] and then they
broke compability with LibreSSL [2]. All of these issues are now fixed
upstream however, so after a new release I should be able to remove the
patches and quirks from the port. The upstream patch for LibreSSL is far
nicer and better, but I wanted to avoid calling autoreconf in prebuild
so the not so clean patch it is.

New things and fixes in hexchat 2.12.4:

* Minor utf8 problems fixes
* doat is now an internal command and no longer a plugin. Loading doat
  via startup script might give you trouble
* Support for OpenSSL >= 1.1
* Important bugfix for unwanted ping timeouts on high latency networks.

Regards,
Florian


[1] https://github.com/hexchat/hexchat/issues/1897
[2] https://github.com/hexchat/hexchat/pull/1899



Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile28 Oct 2016 14:55:19 -  1.14
+++ Makefile2 Jan 2017 01:51:33 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.14 2016/10/28 14:55:19 fcambus Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.3
+DISTNAME = hexchat-2.12.4
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
@@ -21,6 +21,8 @@ WANTLIB += png proxy pthread pthread-stu
 WANTLIB += xcb xcb-render xcb-shm z
 
 MASTER_SITES = http://dl.hexchat.net/hexchat/
+
+DISTFILES =hexchat-2.12.4-repack.tar.xz
 
 MODULES =  textproc/intltool \
lang/lua \
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo28 Oct 2016 14:55:19 -  1.7
+++ distinfo2 Jan 2017 01:51:33 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
-SIZE (hexchat-2.12.3.tar.xz) = 1577736
+SHA256 (hexchat-2.12.4-repack.tar.xz) = 
F0Fo1IcFwqaGIyRrKrJA3cE2LkXLAjsi69X6cCm64PA=
+SIZE (hexchat-2.12.4-repack.tar.xz) = 1577684
Index: patches/patch-plugins_fishlim_dh1080_c
===
RCS file: patches/patch-plugins_fishlim_dh1080_c
diff -N patches/patch-plugins_fishlim_dh1080_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-plugins_fishlim_dh1080_c  2 Jan 2017 01:51:33 -
@@ -0,0 +1,30 @@
+$OpenBSD$
+--- plugins/fishlim/dh1080.c.orig  Sun Oct 23 09:40:01 2016
 plugins/fishlim/dh1080.c   Mon Jan  2 02:43:16 2017
+@@ -74,7 +74,7 @@ dh1080_init (void)
+ 
+   BN_set_word (g, 2);
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   g_dh->p = p;
+   g_dh->g = g;
+ #else
+@@ -162,7 +162,7 @@ dh1080_generate_key (char **priv_key, char **pub_key)
+   return 0;
+   }
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   dh_pub_key = dh->pub_key;
+   dh_priv_key = dh->priv_key;
+ #else
+@@ -213,7 +213,7 @@ dh1080_compute_key (const char *priv_key, const char *
+ 
+   priv_key_data = dh1080_decode_b64 (priv_key, _key_len);
+   priv_key_num = BN_bin2bn(priv_key_data, priv_key_len, NULL);
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   dh->priv_key = priv_key_num;
+ #else
+   DH_set0_key (dh, NULL, priv_key_num);
Index: patches/patch-src_common_ssl_c
===
RCS file: patches/patch-src_common_ssl_c
diff -N patches/patch-src_common_ssl_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_common_ssl_c  2 Jan 2017 01:51:33 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/common/ssl.c.orig  Sun Oct 23 09:40:01 2016
 src/common/ssl.c   Mon Jan  2 02:43:16 2017
+@@ -176,7 +176,7 @@ _SSL_get_cert_info (struct cert_info *cert_info, SSL *
+   return 1;
+ 
+   alg = OBJ_obj2nid (algor->algorithm);
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   sign_alg = OBJ_obj2nid (peer_cert->sig_alg->algorithm);
+ #else
+   sign_alg = X509_get_signature_nid (peer_cert);
+@@ -306,7 +306,7 @@ _SSL_socket (SSL_CTX *ctx, int sd)
+ 
+   SSL_set_fd (ssl, sd);
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   method = ctx->method;
+ #else
+   method = SSL_CTX_get_ssl_method (ctx);
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/hexchat/pkg/PLIST,v
retrieving revision 1.2
diff -u -p 

Re: UPDATE: hexchat to 2.12.3

2016-10-28 Thread Frederic Cambus
On Fri, Oct 28, 2016 at 12:14:36PM +0200, Florian Stinglmayr wrote:

> the last release apparently introduced some crashes that are now fixed
> with this new version.

Commited, thanks!



UPDATE: hexchat to 2.12.3

2016-10-28 Thread Florian Stinglmayr
Hi list,

the last release apparently introduced some crashes that are now fixed
with this new version.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile12 Oct 2016 10:35:44 -  1.13
+++ Makefile28 Oct 2016 10:13:34 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.13 2016/10/12 10:35:44 fcambus Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.2
+DISTNAME = hexchat-2.12.3
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo12 Oct 2016 10:35:44 -  1.6
+++ distinfo28 Oct 2016 10:13:34 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.2.tar.xz) = ba14PzeqwyqDAaEtSYr3p0kA8BGuxOd7s3iul5ejzPY=
-SIZE (hexchat-2.12.2.tar.xz) = 1600156
+SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
+SIZE (hexchat-2.12.3.tar.xz) = 1577736



Re: UPDATE: hexchat to 2.12.2

2016-10-12 Thread Frederic Cambus
On Tue, Oct 11, 2016 at 10:59:48PM +0200, Florian Stinglmayr wrote:

> this is a small update for Hexchat that mainly fixes some bugs in the
> script API.

Commited, thanks!



UPDATE: hexchat to 2.12.2

2016-10-11 Thread Florian Stinglmayr
Servus list,

this is a small update for Hexchat that mainly fixes some bugs in the
script API.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile9 May 2016 22:57:57 -   1.12
+++ Makefile11 Oct 2016 20:52:07 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.12 2016/05/09 22:57:57 jca Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.1
+DISTNAME = hexchat-2.12.2
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo9 May 2016 22:57:57 -   1.5
+++ distinfo11 Oct 2016 20:52:07 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.1.tar.xz) = UgGwxtF9y4wst56cOWgfjgUpmbqPe1mG1cHn3Gj6fGs=
-SIZE (hexchat-2.12.1.tar.xz) = 1585532
+SHA256 (hexchat-2.12.2.tar.xz) = ba14PzeqwyqDAaEtSYr3p0kA8BGuxOd7s3iul5ejzPY=
+SIZE (hexchat-2.12.2.tar.xz) = 1600156



Re: UPDATE: hexchat to 2.12.1

2016-05-09 Thread Jeremie Courreges-Anglas
Florian Stinglmayr  writes:

> Hi list,
>
> attached is an update for hexchat 2.12.1. The update brings support
> for Lua based plugins. These plugins are best complemented by also
> installing lua-lgi.

Committed*, thanks.

[...]

> @@ -18,6 +20,8 @@ lib/pkgconfig/hexchat-plugin.pc
>  share/appdata/
>  share/appdata/hexchat.appdata.xml
>  share/applications/hexchat.desktop
> +share/dbus-1/
> +share/dbus-1/services/
>  share/dbus-1/services/org.hexchat.service.service
>  share/icons/hicolor/48x48/apps/hexchat.png
>  share/icons/hicolor/scalable/apps/hexchat.svg
> @@ -56,6 +60,8 @@ share/locale/ml/LC_MESSAGES/hexchat.mo
>  share/locale/ms/LC_MESSAGES/hexchat.mo
>  share/locale/nb/LC_MESSAGES/hexchat.mo
>  share/locale/nl/LC_MESSAGES/hexchat.mo
> +share/locale/no/
> +share/locale/no/LC_MESSAGES/
>  share/locale/no/LC_MESSAGES/hexchat.mo
>  share/locale/pa/LC_MESSAGES/hexchat.mo
>  share/locale/pl/LC_MESSAGES/hexchat.mo

* minus those two hunks, those directories do not belong to hexchat.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



UPDATE: hexchat to 2.12.1

2016-05-02 Thread Florian Stinglmayr
Hi list,

attached is an update for hexchat 2.12.1. The update brings support
for Lua based plugins. These plugins are best complemented by also
installing lua-lgi.

The full news can be read here:

https://hexchat.github.io/news/2.12.1.html

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.11
diff -u -p -u -r1.11 Makefile
--- Makefile9 Apr 2016 23:59:49 -   1.11
+++ Makefile2 May 2016 19:09:45 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.11 2016/04/09 23:59:49 naddy Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.0
+DISTNAME = hexchat-2.12.1
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 0
 
 HOMEPAGE = http://hexchat.github.io/
 MAINTAINER =   Florian Stinglmayr 
@@ -16,16 +15,19 @@ WANTLIB += X11 Xcomposite Xcursor Xdamag
 WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto dbus-1 dbus-glib-1
 WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m ${MODPY_WANTLIB}
+WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl ${MODLUA_WANTLIB} m
 WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
-WANTLIB += png proxy pthread pthread-stubs ssl stdc++ util xcb
-WANTLIB += xcb-render xcb-shm z
+WANTLIB += png proxy pthread pthread-stubs ${MODPY_WANTLIB} ssl stdc++ util
+WANTLIB += xcb xcb-render xcb-shm z
 
 MASTER_SITES = http://dl.hexchat.net/hexchat/
 
 MODULES =  textproc/intltool \
+   lang/lua \
lang/python
 
+MODLUA_VERSION =   5.3
+
 BUILD_DEPENDS =devel/iso-codes
 
 LIB_DEPENDS =  devel/gettext \
@@ -33,7 +35,8 @@ LIB_DEPENDS = devel/gettext \
net/libproxy \
x11/gtk+2 \
x11/dbus-glib \
-   ${MODPY_LIB_DEPENDS}
+   ${MODPY_LIB_DEPENDS} \
+   ${MODLUA_LIB_DEPENDS}
 
 MODPY_BUILDDEP =   No
 
@@ -47,7 +50,8 @@ CONFIGURE_ARGS += --enable-ipv6 \
--disable-sysinfo \
--disable-libcanberra
 CONFIGURE_ENV =CPPFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib
+   LDFLAGS=-L${LOCALBASE}/lib \
+   LUA=${MODLUA_FLAVOR}
 
 LIBTOOL_FLAGS =--tag=disable-static
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo14 Mar 2016 20:25:39 -  1.4
+++ distinfo2 May 2016 19:09:45 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.0.tar.xz) = wgcvl1EMD+bs+wh4dQ0nF5Yz4IGZBmly+gDloj5n1p0=
-SIZE (hexchat-2.12.0.tar.xz) = 1578164
+SHA256 (hexchat-2.12.1.tar.xz) = UgGwxtF9y4wst56cOWgfjgUpmbqPe1mG1cHn3Gj6fGs=
+SIZE (hexchat-2.12.1.tar.xz) = 1585532
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/hexchat/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   11 Jun 2014 22:45:36 -  1.1.1.1
+++ pkg/PLIST   2 May 2016 19:09:45 -
@@ -9,6 +9,8 @@ lib/hexchat/plugins/checksum.so
 lib/hexchat/plugins/doat.so
 @comment lib/hexchat/plugins/fishlim.la
 lib/hexchat/plugins/fishlim.so
+@comment lib/hexchat/plugins/lua.la
+lib/hexchat/plugins/lua.so
 @comment lib/hexchat/plugins/perl.la
 lib/hexchat/plugins/perl.so
 @comment lib/hexchat/plugins/python.la
@@ -18,6 +20,8 @@ lib/pkgconfig/hexchat-plugin.pc
 share/appdata/
 share/appdata/hexchat.appdata.xml
 share/applications/hexchat.desktop
+share/dbus-1/
+share/dbus-1/services/
 share/dbus-1/services/org.hexchat.service.service
 share/icons/hicolor/48x48/apps/hexchat.png
 share/icons/hicolor/scalable/apps/hexchat.svg
@@ -56,6 +60,8 @@ share/locale/ml/LC_MESSAGES/hexchat.mo
 share/locale/ms/LC_MESSAGES/hexchat.mo
 share/locale/nb/LC_MESSAGES/hexchat.mo
 share/locale/nl/LC_MESSAGES/hexchat.mo
+share/locale/no/
+share/locale/no/LC_MESSAGES/
 share/locale/no/LC_MESSAGES/hexchat.mo
 share/locale/pa/LC_MESSAGES/hexchat.mo
 share/locale/pl/LC_MESSAGES/hexchat.mo



Re: UPDATE: hexchat to 2.12.0

2016-03-14 Thread Jeremie Courreges-Anglas

Committed, thanks.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



UPDATE: hexchat to 2.12.0

2016-03-13 Thread Florian Stinglmayr
Hi list,

a small update for hexchat to 2.12.0. The full list of changes can be
found here:

https://hexchat.readthedocs.org/en/latest/changelog.html

Some highlights:

 * IRCv3.2
 * DH-{AES,BLOWFISH} have been removed as ciphers
 * Everything is now properly UTF-8

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- Makefile4 Apr 2015 09:21:02 -   1.7
+++ Makefile13 Mar 2016 18:48:23 -
@@ -3,10 +3,9 @@
 SHARED_ONLY =  Yes
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.10.2
+DISTNAME = hexchat-2.12.0
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 1
 
 HOMEPAGE = http://hexchat.github.io/
 MAINTAINER =   Florian Stinglmayr 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo5 Dec 2014 14:12:24 -   1.3
+++ distinfo13 Mar 2016 18:48:23 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.10.2.tar.xz) = h+vzZcV2ZW+j8j9R0xmzptJ55Kky8viWHYkd1aXhtSw=
-SIZE (hexchat-2.10.2.tar.xz) = 1529732
+SHA256 (hexchat-2.12.0.tar.xz) = wgcvl1EMD+bs+wh4dQ0nF5Yz4IGZBmly+gDloj5n1p0=
+SIZE (hexchat-2.12.0.tar.xz) = 1578164



UPDATE: hexchat

2014-09-10 Thread Florian Stinglmayr
Hi list,

down below is an update for Hexchat. It fixes a few crashes, updates the
network list and translations.

The update itself is rather minor, and it has worked fine on my box (TM)
for some days now.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile15 Jun 2014 17:56:48 -  1.3
+++ Makefile10 Sep 2014 18:48:53 -
@@ -3,7 +3,7 @@
 SHARED_ONLY =  Yes
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.10.0
+DISTNAME = hexchat-2.10.1
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 REVISION = 0
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo11 Jun 2014 22:45:36 -  1.1.1.1
+++ distinfo10 Sep 2014 18:48:53 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.10.0.tar.xz) = oCR/HhI3kVTQcZ2caGHcIoF7WIViZTu502JoY9jsqRY=
-SIZE (hexchat-2.10.0.tar.xz) = 1607360
+SHA256 (hexchat-2.10.1.tar.xz) = /8zuajRw0vlTnnW9DdLj81xlc3AEywLm0hBsHV3N6ak=
+SIZE (hexchat-2.10.1.tar.xz) = 1618372



Re: UPDATE: hexchat

2014-09-10 Thread Landry Breuil
On Wed, Sep 10, 2014 at 08:51:28PM +0200, Florian Stinglmayr wrote:
 Hi list,
 
 down below is an update for Hexchat. It fixes a few crashes, updates the
 network list and translations.
 
 The update itself is rather minor, and it has worked fine on my box (TM)
 for some days now.

When updating, you should remove REVISION :) - committing the fixed
version...

Landry