Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 20:20:00 +0000 (UTC)
From:      "Bradley T. Hughes" <bhughes@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476196 - in head/irc/hexchat: . files
Message-ID:  <201808012020.w71KK0EK069448@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bhughes
Date: Wed Aug  1 20:19:59 2018
New Revision: 476196
URL: https://svnweb.freebsd.org/changeset/ports/476196

Log:
  irc/hexchat: add SYSINFO option (off by default)
  
  PR:		227281
  Submitted by:	pkubaj@anongoth.pl (maintainer)
  Reported by:	lcraft@gmail.com
  Sponsored by:	Miles AS

Added:
  head/irc/hexchat/files/patch-plugins_sysinfo_meson.build   (contents, props changed)
Modified:
  head/irc/hexchat/Makefile
  head/irc/hexchat/pkg-plist

Modified: head/irc/hexchat/Makefile
==============================================================================
--- head/irc/hexchat/Makefile	Wed Aug  1 20:11:30 2018	(r476195)
+++ head/irc/hexchat/Makefile	Wed Aug  1 20:19:59 2018	(r476196)
@@ -25,7 +25,7 @@ USES=		meson ninja desktop-file-utils libtool pkgconfi
 USE_GNOME=	cairo gtk20 intltool libxml2
 USE_XORG=	x11
 USE_GITHUB=	yes
-MESON_ARGS=	-Dwith-ssl=true -Dwith-gtk=true -Dwith-sysinfo=false
+MESON_ARGS=	-Dwith-ssl=true -Dwith-gtk=true
 INSTALLS_ICONS=	yes
 INSTALL_TARGET=	install-strip
 
@@ -37,7 +37,7 @@ SUB_FILES=	pkg-message
 PORTDOCS=	*
 
 OPTIONS_DEFINE=		CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \
-			PERL PYTHON TEXTFE
+			PERL PYTHON TEXTFE SYSINFO
 
 OPTIONS_DEFAULT=	CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON
 
@@ -47,6 +47,7 @@ CA_BUNDLE_DESC=		Include CA bundle for SSL verificatio
 CANBERRA_DESC=		Audio support via Libcanberra
 FISHLIM_DESC=		FiSHLiM plugin
 TEXTFE_DESC=		Text frontend
+SYSINFO_DESC=		Sysinfo plugin
 
 CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 CA_BUNDLE_VARS=	CA_BUNDLE="${LOCALBASE}/share/certs/ca-root-nss.crt"
@@ -72,6 +73,7 @@ PYTHON_VARS=		SHEBANG_FILES=meson_post_install.py
 PYTHON_VARS+=		SHEBANG_FILES=plugins/perl/generate_header.py
 PYTHON_VARS+=		SHEBANG_FILES=src/common/make-te.py
 TEXTFE_MESON_TRUE=	with-text
+SYSINFO_MESON_TRUE=	with-sysinfo
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \

Added: head/irc/hexchat/files/patch-plugins_sysinfo_meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/hexchat/files/patch-plugins_sysinfo_meson.build	Wed Aug  1 20:19:59 2018	(r476196)
@@ -0,0 +1,18 @@
+--- plugins/sysinfo/meson.build.orig	2018-05-07 13:58:41 UTC
++++ plugins/sysinfo/meson.build
+@@ -13,13 +13,13 @@ sysinfo_includes = []
+ sysinfo_cargs = []
+ 
+ system = host_machine.system()
+-if system == 'linux' or system == 'darwin'
++if system == 'linux' or system == 'darwin' or system == 'freebsd'
+   sysinfo_includes += 'shared'
+   sysinfo_sources += [
+     'shared/df.c'
+   ]
+ 
+-  if system == 'linux'
++  if system == 'linux' or system == 'freebsd'
+     libpci = dependency('libpci', required: false, method: 'pkg-config')
+     if libpci.found()
+       sysinfo_deps += libpci

Modified: head/irc/hexchat/pkg-plist
==============================================================================
--- head/irc/hexchat/pkg-plist	Wed Aug  1 20:11:30 2018	(r476195)
+++ head/irc/hexchat/pkg-plist	Wed Aug  1 20:19:59 2018	(r476196)
@@ -6,6 +6,7 @@ lib/hexchat/plugins/checksum.so
 %%PERL%%lib/hexchat/plugins/perl.so
 %%PYTHON%%lib/hexchat/plugins/python.so
 %%LUA%%%%LUA_LIBDIR%%/hexchat/plugins/lua.so
+%%SYSINFO%%lib/hexchat/plugins/sysinfo.so
 libdata/pkgconfig/hexchat-plugin.pc
 man/man1/hexchat.1.gz
 share/metainfo/io.github.Hexchat.appdata.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808012020.w71KK0EK069448>