From owner-svn-ports-head@freebsd.org Tue Sep 8 12:37:42 2020 Return-Path: Delivered-To: svn-ports-head@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 14DD133755C; Tue, 8 Sep 2020 12:37:42 +0000 (UTC) (envelope-from danfe@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 4Bm4Rn6w8pz3STv; Tue, 8 Sep 2020 12:37:41 +0000 (UTC) (envelope-from danfe@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 D0B5710916; Tue, 8 Sep 2020 12:37:41 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 088CbfVX058186; Tue, 8 Sep 2020 12:37:41 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 088CbfdP058185; Tue, 8 Sep 2020 12:37:41 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202009081237.088CbfdP058185@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 8 Sep 2020 12:37:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547980 - head/x11/glcapsviewer X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/x11/glcapsviewer X-SVN-Commit-Revision: 547980 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 12:37:42 -0000 Author: danfe Date: Tue Sep 8 12:37:41 2020 New Revision: 547980 URL: https://svnweb.freebsd.org/changeset/ports/547980 Log: Throw in couple of cosmetic fixes and add explanatory comments for the sed(1) calls while I'm comfortable converting them to patches just yet. Modified: head/x11/glcapsviewer/Makefile Modified: head/x11/glcapsviewer/Makefile ============================================================================== --- head/x11/glcapsviewer/Makefile Tue Sep 8 11:50:59 2020 (r547979) +++ head/x11/glcapsviewer/Makefile Tue Sep 8 12:37:41 2020 (r547980) @@ -31,8 +31,14 @@ post-patch: @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__, ; /ifstream\ enumListxml/s,[^"]*ist\.xml",${DATADIR}/&,' \ ${WRKSRC}/glCapsViewer.cpp ${WRKSRC}/glCapsViewerCore.cpp +# We install provided `capslist.xml' in the ${DATADIR}, hence disable +# checking for ./capslist.xml and needlessly downloading it @${REINPLACE_CMD} -e 's,!capsXmlFile\.exists,false \&\& &,' \ ${WRKSRC}/main.cpp +# Spell XML correctly (it is an abbreviation) + @${REINPLACE_CMD} -e 's, xml, XML,' ${WRKSRC}/glCapsViewer.ui +# Copyright information does not belong in the window title + @${REINPLACE_CMD} -e 's, - [^"]*,,' ${WRKSRC}/glCapsViewerCore.h do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \