FreeBSD Bugzilla – Attachment 158417 Details for
Bug 201211
[PATCH] x11-wm/obmenu: SIGUSR2 is hardcoded as signal #12, causing openbox to quit when it saves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
obmenu.diff
obmenu.diff (text/plain), 1.13 KB, created by
Horia Racoviceanu
on 2015-07-06 15:11:28 UTC
(
hide
)
Description:
obmenu.diff
Filename:
MIME Type:
Creator:
Horia Racoviceanu
Created:
2015-07-06 15:11:28 UTC
Size:
1.13 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 381361) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= obmenu > PORTVERSION= 1.0 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= x11-wm > MASTER_SITES= SF > >@@ -12,10 +12,12 @@ > > 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 @@ > 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}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
horia
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 201211
:
158175
| 158417 |
158418
|
158419
|
158420
|
158421