From owner-svn-ports-all@freebsd.org Mon Jun 29 19:14:27 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1768F352AA9; Mon, 29 Jun 2020 19:14:27 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49wccL6xdzz4GG5; Mon, 29 Jun 2020 19:14:26 +0000 (UTC) (envelope-from lwhsu@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 D18F8C2E8; Mon, 29 Jun 2020 19:14:26 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05TJEQts047804; Mon, 29 Jun 2020 19:14:26 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05TJEPsb047799; Mon, 29 Jun 2020 19:14:25 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202006291914.05TJEPsb047799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Mon, 29 Jun 2020 19:14:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540826 - in head/sysutils/bamf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/sysutils/bamf: . files X-SVN-Commit-Revision: 540826 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.33 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: Mon, 29 Jun 2020 19:14:27 -0000 Author: lwhsu Date: Mon Jun 29 19:14:25 2020 New Revision: 540826 URL: https://svnweb.freebsd.org/changeset/ports/540826 Log: Update to 0.5.4 Pass maintainership to submitter PR: 243490 Submitted by: Olivier Duchateau Added: head/sysutils/bamf/files/patch-tests_gtester2xunit.py (contents, props changed) Modified: head/sysutils/bamf/Makefile head/sysutils/bamf/distinfo head/sysutils/bamf/files/patch-configure Modified: head/sysutils/bamf/Makefile ============================================================================== --- head/sysutils/bamf/Makefile Mon Jun 29 19:11:36 2020 (r540825) +++ head/sysutils/bamf/Makefile Mon Jun 29 19:14:25 2020 (r540826) @@ -2,27 +2,24 @@ # $FreeBSD$ PORTNAME= bamf -PORTVERSION= 0.5.3 -PORTREVISION= 2 +PORTVERSION= 0.5.4 CATEGORIES= sysutils MASTER_SITES= https://launchpadlibrarian.net/280921055/ \ https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= duchateau.olivier@gmail.com COMMENT= BAMF Application Matching Framework LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL BUILD_DEPENDS= vapigen:lang/vala \ - ${PYTHON_PKGNAMEPREFIX}libxml2>=2.8.0:textproc/py-libxml2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}libxslt>=1.1.28:textproc/py-libxslt@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}lxml>=4.4.2:devel/py-lxml@${PY_FLAVOR} LIB_DEPENDS= libgtop-2.0.so:devel/libgtop \ - libdbus-glib-1.so:devel/dbus-glib \ libstartup-notification-1.so:x11/startup-notification USES= gettext-runtime gmake gnome libtool pathfix pkgconfig \ - python:2.7 xorg + python:3.5+,build xorg GNU_CONFIGURE= yes USE_GNOME= gtk30 glib20 introspection:build libwnck3 cairo gdkpixbuf2 USE_XORG= x11 @@ -30,11 +27,14 @@ INSTALL_TARGET= install-strip CONFIGURE_ARGS+=--disable-headless-tests \ --disable-gtktest \ + --disable-gcov \ --disable-gtk-doc-html \ - --without-html-dir + --without-html-dir \ + --enable-export-actions-menu=no \ + --enable-introspection=yes post-patch: - ${FIND} ${WRKSRC} -type f -name 'Makefile.in' \ - | ${XARGS} ${REINPLACE_CMD} -e 's| -Wl,-Bsymbolic-functions||' + ${REINPLACE_CMD} -e 's| -Wl,-Bsymbolic-functions||' \ + ${WRKSRC}/src/Makefile.in .include Modified: head/sysutils/bamf/distinfo ============================================================================== --- head/sysutils/bamf/distinfo Mon Jun 29 19:11:36 2020 (r540825) +++ head/sysutils/bamf/distinfo Mon Jun 29 19:14:25 2020 (r540826) @@ -1,3 +1,3 @@ -TIMESTAMP = 1472504601 -SHA256 (bamf-0.5.3.tar.gz) = 340d7b5a463afcd33135ae73a7e4cf6a93a4daaf6f72b70abc09dc66d18a3b14 -SIZE (bamf-0.5.3.tar.gz) = 633666 +TIMESTAMP = 1579354448 +SHA256 (bamf-0.5.4.tar.gz) = 5bb87a5bf46ab1fc9a229a851c0ee4f610d943716a7c83d318f6a8f50d76beb3 +SIZE (bamf-0.5.4.tar.gz) = 638756 Modified: head/sysutils/bamf/files/patch-configure ============================================================================== --- head/sysutils/bamf/files/patch-configure Mon Jun 29 19:11:36 2020 (r540825) +++ head/sysutils/bamf/files/patch-configure Mon Jun 29 19:14:25 2020 (r540826) @@ -1,11 +1,24 @@ ---- configure.orig 2016-08-25 15:18:48 UTC +--- configure.orig 2018-11-07 22:39:51 UTC +++ configure -@@ -15233,7 +15233,7 @@ rm -f core conftest.err conftest.$ac_obj +@@ -14653,10 +14653,10 @@ fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtester2xunit dependencies" >&5 + $as_echo_n "checking for gtester2xunit dependencies... " >&6; } +-if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null); then ++if !($PYTHON -c "import lxml" 2> /dev/null); then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } +- as_fn_error $? "You need to install python-libxslt1 and python-libxml2" "$LINENO" 5; ++ as_fn_error $? "You need to install python-lxml" "$LINENO" 5; + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +@@ -15374,7 +15374,7 @@ rm -f core conftest.err conftest.$ac_objext \ rm -f conf.gtktest --CFLAGS="$CFLAGS -Wall -Werror -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm" -+CFLAGS="$CFLAGS -Wall -Wformat-security -Winit-self -Wimplicit-function-declaration" +-CFLAGS="$CFLAGS -Wall -Werror -Wno-error=deprecated-declarations -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm" ++CFLAGS="$CFLAGS -Wall -Winit-self -Warray-bounds -Wimplicit-function-declaration" Added: head/sysutils/bamf/files/patch-tests_gtester2xunit.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/bamf/files/patch-tests_gtester2xunit.py Mon Jun 29 19:14:25 2020 (r540826) @@ -0,0 +1,27 @@ +--- tests/gtester2xunit.py.orig 2018-11-07 22:39:11 UTC ++++ tests/gtester2xunit.py +@@ -1,18 +1,17 @@ + #! /usr/bin/python + from argparse import ArgumentParser +-import libxslt +-import libxml2 + import sys + import os ++from lxml import etree + + XSL_TRANSFORM='/usr/share/gtester2xunit/gtester.xsl' + + def transform_file(input_filename, output_filename, xsl_file): +- gtester = libxml2.parseFile(xsl_file) +- style = libxslt.parseStylesheetDoc(gtester) +- doc = libxml2.parseFile(input_filename) +- result = style.applyStylesheet(doc, None) +- result.saveFormatFile(filename=output_filename, format=True) ++ gtester = etree.parse(xsl_file) ++ style = etree.XSLT(gtester) ++ doc = etree.parse(input_filename) ++ result = style(doc) ++ result.write(filename=output_filename, format=True) + + + def get_output_filename(input_filename):