FreeBSD Bugzilla – Attachment 161906 Details for
Bug 203150
math/py-matplotlib: Add Qt4Agg backend option, fix stripping in post-install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add QT4AGGBACKEND option, revised
qt4.diff (text/plain), 2.28 KB, created by
Matthieu Volat
on 2015-10-11 11:32:50 UTC
(
hide
)
Description:
Add QT4AGGBACKEND option, revised
Filename:
MIME Type:
Creator:
Matthieu Volat
Created:
2015-10-11 11:32:50 UTC
Size:
2.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 399083) >+++ Makefile (working copy) >@@ -35,6 +35,11 @@ > GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2 > GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True > GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False >+QT4AGGBACKEND_DESC= Qt4Agg backend support >+QT4AGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:${PORTSDIR}/x11-toolkits/py-qt4-gui >+QT4AGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:${PORTSDIR}/x11-toolkits/py-qt4-gui >+QT4AGGBACKEND_VARS= QT4AGG_BACKEND=True >+QT4AGGBACKEND_VARS_OFF= QT4AGG_BACKEND=False > TKAGGBACKEND_DESC= TKAgg backend support > TKAGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter > TKAGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter >@@ -52,6 +57,7 @@ > .if defined(PACKAGE_BUILDING) > GTKBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver > GTKAGGBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver >+QT4AGGBACKEND_BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver > TKAGGBACKEND_BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver > WXAGGBACKEND_BUILD_DEPENDS= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver > .endif >@@ -70,6 +76,7 @@ > ${WRKSRC}/setupext.py > ${REINPLACE_CMD} -e 's|%%GTK_BACKEND%%|${GTK_BACKEND}|g' \ > -e 's|%%GTKAGG_BACKEND%%|${GTKAGG_BACKEND}|g' \ >+ -e 's|%%QT4AGG_BACKEND%%|${QT4AGG_BACKEND}|g' \ > -e 's|%%TKAGG_BACKEND%%|${TKAGG_BACKEND}|g' \ > -e 's|%%WXAGG_BACKEND%%|${WXAGG_BACKEND}|g' \ > ${WRKSRC}/setup.cfg >@@ -89,6 +96,9 @@ > post-install-GTKAGGBACKEND-on: > ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_gtkagg.so > >+post-install-QT4AGGBACKEND-on: >+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_qt4agg.so >+ > post-install-TKAGGBACKEND-on: > ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_tkagg.so > >Index: files/patch-setup.cfg >=================================================================== >--- files/patch-setup.cfg (revision 399083) >+++ files/patch-setup.cfg (working copy) >@@ -60,6 +60,7 @@ > +# > +gtk = %%GTK_BACKEND%% > +gtkagg = %%GTKAGG_BACKEND%% >++qt4agg = %%QT4AGG_BACKEND%% > +tkagg = %%TKAGG_BACKEND%% > +wxagg = %%WXAGG_BACKEND%% > +#macosx = False
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:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 203150
:
161108
| 161906