Date: Fri, 17 Jul 2015 15:53:54 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r392383 - branches/2015Q3/x11-wm/obmenu Message-ID: <201507171553.t6HFrsvs057157@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Fri Jul 17 15:53:54 2015 New Revision: 392383 URL: https://svnweb.freebsd.org/changeset/ports/392383 Log: MFH: r392381 Fix runtime error: hardcoded signal mapping causes openbox to quit while saving PR: 201211 Submitted by: glolol1@hotmail.com Reviewed by: horia@racoviceanu.com (maintainer) Approved by: ports-secteam (feld) horia@racoviceanu.com (maintainer) Modified: branches/2015Q3/x11-wm/obmenu/Makefile Directory Properties: branches/2015Q3/ (props changed) Modified: branches/2015Q3/x11-wm/obmenu/Makefile ============================================================================== --- branches/2015Q3/x11-wm/obmenu/Makefile Fri Jul 17 15:49:09 2015 (r392382) +++ branches/2015Q3/x11-wm/obmenu/Makefile Fri Jul 17 15:53:54 2015 (r392383) @@ -3,7 +3,7 @@ PORTNAME= obmenu PORTVERSION= 1.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-wm MASTER_SITES= SF @@ -12,10 +12,12 @@ COMMENT= Menu manager for Openbox suppor LICENSE= GPLv2 -USES= python +USES= python shebangfix USE_GNOME= pygtk2 USE_PYTHON= distutils PYDISTUTILS_PKGNAME= obMenu +SHEBANG_FILES= obmenu obxml.py pipes/obm-xdg +NO_ARCH= yes PORTDOCS= README OPTIONS_DEFINE= DOCS @@ -25,6 +27,16 @@ SUB_FILES= pkg-message DESKTOP_ENTRIES="Obmenu" "Menu manager for Openbox" ${PORTNAME} \ "${PORTNAME}" "Settings;" "" +post-patch: + @${REINPLACE_CMD} -e '/itm.nodeName.lower()/s|execute|command|; \ + /self.dom.createElement("execute")/s|execute|command|; \ + /xml.dom.minidom.Element("execute")/s|execute|command|; \ + /i.nodeName == "execute"/s|execute|command|' \ + ${WRKSRC}/obxml.py + @${REINPLACE_CMD} -e '/import/{p;s|.*|import signal|;}; \ + /os.kill/s|12)|signal.SIGUSR2)|' \ + ${WRKSRC}/obmenu + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507171553.t6HFrsvs057157>