From owner-svn-ports-all@freebsd.org Wed Aug 1 20:20:01 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1607410681CA; Wed, 1 Aug 2018 20:20:01 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEBC585DAD; Wed, 1 Aug 2018 20:20:00 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9BFA0274AA; Wed, 1 Aug 2018 20:20:00 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w71KK0kf069465; Wed, 1 Aug 2018 20:20:00 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w71KK0EK069448; Wed, 1 Aug 2018 20:20:00 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <201808012020.w71KK0EK069448@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Wed, 1 Aug 2018 20:20:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476196 - in head/irc/hexchat: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: in head/irc/hexchat: . files X-SVN-Commit-Revision: 476196 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 20:20:01 -0000 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