View | Details | Raw Unified | Return to bug 241893 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.wx.mk (-2 / +2 lines)
Lines 140-147 _WX_FILE_python_2.8= ${PYTHON_SITELIBDIR}/wx-2.8-gtk2${_WX_PYSUFX}/wx/__init__.p Link Here
140
_WX_PORT_wx_3.0=	x11-toolkits/wxgtk30
140
_WX_PORT_wx_3.0=	x11-toolkits/wxgtk30
141
_WX_LIB_wx_3.0=		wx_baseu-3.0
141
_WX_LIB_wx_3.0=		wx_baseu-3.0
142
142
143
_WX_PORT_python_3.0=	x11-toolkits/py-wxPython30
143
_WX_PORT_python_3.0=	x11-toolkits/py-wxPython40@${PY_FLAVOR}
144
_WX_FILE_python_3.0=	${PYTHON_SITELIBDIR}/wx-3.0-gtk3/wx/__init__.py
144
_WX_FILE_python_3.0=	${PYTHON_SITELIBDIR}/wx/__init__.py
145
145
146
# wxgtk 3.1
146
# wxgtk 3.1
147
_WX_PORT_wx_3.1=	x11-toolkits/wxgtk31
147
_WX_PORT_wx_3.1=	x11-toolkits/wxgtk31
(-)audio/py-karaoke/Makefile (-2 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	karaoke
4
PORTNAME=	karaoke
5
PORTVERSION=	0.7.5
5
PORTVERSION=	0.7.5
6
PORTREVISION=	19
6
PORTREVISION=	20
7
CATEGORIES=	audio python
7
CATEGORIES=	audio python
8
MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
8
MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 27-33 SHEBANG_FILES= install/pykaraoke_mini install/pykar install/pykaraoke \ Link Here
27
		install/pycdg install/pympg
27
		install/pycdg install/pympg
28
USE_SDL=	sdl
28
USE_SDL=	sdl
29
USE_XORG=	x11 xau xcb xdmcp
29
USE_XORG=	x11 xau xcb xdmcp
30
USE_WX=		3.0+
30
USE_WX=		2.8
31
WX_COMPS=	python:lib
31
WX_COMPS=	python:lib
32
32
33
USE_PYTHON=	distutils autoplist
33
USE_PYTHON=	distutils autoplist
(-)cad/kicad-devel/Makefile (-1 / +1 lines)
Lines 62-68 CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ Link Here
62
		-DKICAD_SCRIPTING=ON \
62
		-DKICAD_SCRIPTING=ON \
63
		-DKICAD_SCRIPTING_MODULES=ON \
63
		-DKICAD_SCRIPTING_MODULES=ON \
64
		-DKICAD_SCRIPTING_WXPYTHON=ON \
64
		-DKICAD_SCRIPTING_WXPYTHON=ON \
65
		-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF \
65
		-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \
66
		-DKICAD_SKIP_BOOST=YES \
66
		-DKICAD_SKIP_BOOST=YES \
67
		-DKICAD_SPICE=ON \
67
		-DKICAD_SPICE=ON \
68
		-DKICAD_USE_OCE=OFF \
68
		-DKICAD_USE_OCE=OFF \
(-)cad/kicad/Makefile (-1 / +1 lines)
Lines 44-50 CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ Link Here
44
		-DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD}		\
44
		-DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD}		\
45
		-DKICAD_SCRIPTING=ON 				\
45
		-DKICAD_SCRIPTING=ON 				\
46
		-DKICAD_SCRIPTING_MODULES=ON			\
46
		-DKICAD_SCRIPTING_MODULES=ON			\
47
		-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF		\
47
		-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON		\
48
		-DKICAD_USE_OCE=OFF				\
48
		-DKICAD_USE_OCE=OFF				\
49
		-DKICAD_USE_OCC=ON				\
49
		-DKICAD_USE_OCC=ON				\
50
		-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE
50
		-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE
(-)comms/congruity/Makefile (-1 / +1 lines)
Lines 17-23 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libconcord>=0:comms/py-libconcord@${PY_FLAVO Link Here
17
17
18
USES=		desktop-file-utils gmake tar:bzip2 python:2.7 shebangfix
18
USES=		desktop-file-utils gmake tar:bzip2 python:2.7 shebangfix
19
MAKE_ARGS=	MANDIR=${PREFIX}/man
19
MAKE_ARGS=	MANDIR=${PREFIX}/man
20
USE_WX=		2.8+
20
USE_WX=		3.0+
21
WX_COMPS=	python
21
WX_COMPS=	python
22
SHEBANG_FILES=	congruity mhgui
22
SHEBANG_FILES=	congruity mhgui
23
NO_ARCH=	yes
23
NO_ARCH=	yes
(-)emulators/playonbsd/Makefile (-9 / +12 lines)
Lines 11-16 COMMENT= Easily install and run Windows software for use with Wine Link Here
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
13
14
ONLY_FOR_ARCHS=	amd64 i386
15
14
RUN_DEPENDS=	7z:archivers/p7zip \
16
RUN_DEPENDS=	7z:archivers/p7zip \
15
		bash:shells/bash \
17
		bash:shells/bash \
16
		glxinfo:graphics/mesa-demos \
18
		glxinfo:graphics/mesa-demos \
Lines 23-44 RUN_DEPENDS= 7z:archivers/p7zip \ Link Here
23
		wget:ftp/wget \
25
		wget:ftp/wget \
24
		icotool:graphics/icoutils
26
		icotool:graphics/icoutils
25
27
26
OPTIONS_DEFINE=	GECKO MONO
28
USES=		python:2.7,run perl5 shebangfix
27
OPTIONS_DEFAULT=	GECKO MONO
28
GECKO_DESC=	Wine-gecko HTML rendering support
29
MONO_RUN_DEPENDS=	wine-mono>=4.5.6:emulators/wine-mono
30
GECKO_RUN_DEPENDS=	wine-gecko>=2.21:emulators/wine-gecko
31
32
ONLY_FOR_ARCHS=	amd64 i386
33
34
USES=		python:2.7,run perl5
35
USE_WX=		3.0
29
USE_WX=		3.0
36
WX_COMPS=	python:run
30
WX_COMPS=	python:run
31
SHEBANG_GLOB=	*.py
32
SHEBANG_FILES=	bash/expert/* lib/*
37
33
38
USE_GITHUB=	yes
34
USE_GITHUB=	yes
39
GH_ACCOUNT=	PlayOnLinux
35
GH_ACCOUNT=	PlayOnLinux
40
GH_PROJECT=	POL-POM-4
36
GH_PROJECT=	POL-POM-4
41
37
38
OPTIONS_DEFINE=	GECKO MONO NLS
39
OPTIONS_DEFAULT=	GECKO MONO
40
GECKO_DESC=	Wine-gecko HTML rendering support
41
MONO_RUN_DEPENDS=	wine-mono>=4.5.6:emulators/wine-mono
42
GECKO_RUN_DEPENDS=	wine-gecko>=2.21:emulators/wine-gecko
43
NLS_USES=	gettext
44
42
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
43
46
44
.if ${ARCH} == amd64
47
.if ${ARCH} == amd64
(-)graphics/py-mayavi/Makefile (-1 / +1 lines)
Lines 33-39 RUN_DEPENDS= vtk6>=6.1.0_8:math/vtk6 \ Link Here
33
33
34
USES=		python:2.7 shebangfix tar:bzip2
34
USES=		python:2.7 shebangfix tar:bzip2
35
USE_PYTHON=	autoplist distutils
35
USE_PYTHON=	autoplist distutils
36
USE_WX=		2.8+
36
USE_WX=		3.0+
37
WX_COMPS=	python:run
37
WX_COMPS=	python:run
38
SHEBANG_FILES=	mayavi/tests/csv_files/csv_2_py
38
SHEBANG_FILES=	mayavi/tests/csv_files/csv_2_py
39
39
(-)x11-toolkits/Makefile (+1 lines)
Lines 190-195 Link Here
190
    SUBDIR += py-wxPython28
190
    SUBDIR += py-wxPython28
191
    SUBDIR += py-wxPython28-common
191
    SUBDIR += py-wxPython28-common
192
    SUBDIR += py-wxPython30
192
    SUBDIR += py-wxPython30
193
    SUBDIR += py-wxPython40
193
    SUBDIR += py-xlib
194
    SUBDIR += py-xlib
194
    SUBDIR += pypy-tkinter
195
    SUBDIR += pypy-tkinter
195
    SUBDIR += qml-box2d
196
    SUBDIR += qml-box2d
(-)x11-toolkits/py-wxPython40/Makefile (+37 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	wxPython
4
PORTVERSION=	4.0.7
5
CATEGORIES=	x11-toolkits python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMESUFFIX=	40
9
DIST_SUBDIR=	python
10
11
MAINTAINER=	python@FreeBSD.org
12
COMMENT=	GUI toolkit for the Python programming language
13
14
LICENSE=	WXWINDOWS LGPL21+ GPLv2+
15
LICENSE_COMB=	multi
16
LICENSE_NAME_WXWINDOWS=	wxWindows Library Licence, Version 3.1
17
LICENSE_FILE_WXWINDOWS=	${WRKSRC}/license/licence.txt
18
LICENSE_PERMS_WXWINDOWS=	dist-mirror pkg-mirror auto-accept
19
20
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
21
22
USES=		compiler:c++11-lib gl localbase pkgconfig python
23
USE_GL=		glu
24
USE_WX=		3.0
25
USE_PYTHON=	distutils autoplist
26
27
OPTIONS_DEFINE=		NLS
28
29
NLS_USES=	gettext
30
31
post-patch:
32
	@${REINPLACE_CMD} -e "s|WX_CONFIG = 'wx-config'|WX_CONFIG = '${WX_CONFIG}'|" ${WRKSRC}/build.py
33
34
post-install:
35
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/wx -name *.so -exec ${STRIP_CMD} {} +
36
37
.include <bsd.port.mk>
(-)x11-toolkits/py-wxPython40/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1575036483
2
SHA256 (python/wxPython-4.0.7.tar.gz) = 3be608bfdede3063678cc703453850ab0a018b82bafd5ee057302250b18f0233
3
SIZE (python/wxPython-4.0.7.tar.gz) = 68868838
(-)x11-toolkits/py-wxPython40/files/patch-build.py (+11 lines)
Added Link Here
1
--- build.py.orig	2019-05-21 23:12:12 UTC
2
+++ build.py
3
@@ -401,7 +401,7 @@ def makeOptionParser():
4
         ("mac_framework",  (False, "Build wxWidgets as a Mac framework.")),
5
         ("mac_arch",       ("",    "Comma separated list of architectures to build on Mac")),
6
 
7
-        ("use_syswx",      (False, "Try to use an installed wx rather than building the "
8
+        ("use_syswx",      (True, "Try to use an installed wx rather than building the "
9
                                    "one in this source tree.  The wx-config in {prefix}/bin "
10
                                    "or the first found on the PATH determines which wx is "
11
                                    "used.  Implies --no_magic.")),
(-)x11-toolkits/py-wxPython40/files/patch-etg_propgridiface.py (+17 lines)
Added Link Here
1
LLVM/CLANG cannot compile with reinterpret_cast.
2
3
https://svnweb.freebsd.org/ports/head/x11-toolkits/py-wxPython30/files/patch-src_gtk_propgrid__wrap.cpp?revision=383979&view=markup
4
https://github.com/wxWidgets/Phoenix/issues/1416#issuecomment-557263381
5
https://github.com/wxWidgets/Phoenix/pull/1445
6
7
--- etg/propgridiface.py.orig	2019-05-21 23:12:12 UTC
8
+++ etg/propgridiface.py
9
@@ -89,7 +89,7 @@ def run():
10
             return sipGetState(sipTransferObj);
11
         }
12
         else if (sipPy == Py_None) {
13
-            *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
14
+            *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL));
15
             return sipGetState(sipTransferObj);
16
         }
17
         else {
(-)x11-toolkits/py-wxPython40/files/patch-sip_cpp_sip__propgridwxPGPropArgCls.cpp (+17 lines)
Added Link Here
1
LLVM/CLANG cannot compile with reinterpret_cast.
2
3
https://svnweb.freebsd.org/ports/head/x11-toolkits/py-wxPython30/files/patch-src_gtk_propgrid__wrap.cpp?revision=383979&view=markup
4
https://github.com/wxWidgets/Phoenix/issues/1416#issuecomment-557263381
5
https://github.com/wxWidgets/Phoenix/pull/1445
6
7
--- sip/cpp/sip_propgridwxPGPropArgCls.cpp.orig	2019-05-22 02:14:14 UTC
8
+++ sip/cpp/sip_propgridwxPGPropArgCls.cpp
9
@@ -317,7 +317,7 @@ static int convertTo_wxPGPropArgCls(PyObject *sipPy,vo
10
             return sipGetState(sipTransferObj);
11
         }
12
         else if (sipPy == Py_None) {
13
-            *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
14
+            *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL));
15
             return sipGetState(sipTransferObj);
16
         }
17
         else {
(-)x11-toolkits/py-wxPython40/files/patch-sip_gen_propgridiface.sip (+17 lines)
Added Link Here
1
LLVM/CLANG cannot compile with reinterpret_cast.
2
3
https://svnweb.freebsd.org/ports/head/x11-toolkits/py-wxPython30/files/patch-src_gtk_propgrid__wrap.cpp?revision=383979&view=markup
4
https://github.com/wxWidgets/Phoenix/issues/1416#issuecomment-557263381
5
https://github.com/wxWidgets/Phoenix/pull/1445
6
7
--- sip/gen/propgridiface.sip.orig	2019-05-22 02:13:01 UTC
8
+++ sip/gen/propgridiface.sip
9
@@ -108,7 +108,7 @@ class wxPGPropArgCls (public)
10
             return sipGetState(sipTransferObj);
11
         }
12
         else if (sipPy == Py_None) {
13
-            *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
14
+            *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL));
15
             return sipGetState(sipTransferObj);
16
         }
17
         else {
(-)x11-toolkits/py-wxPython40/pkg-descr (+7 lines)
Added Link Here
1
wxPython is a GUI toolkit for the Python programming language. It allows Python
2
programmers to create programs with a robust, highly functional graphical user
3
interface, simply and easily. It is implemented as a Python extension module
4
(native code) that wraps the popular wxWidgets cross platform GUI library, which
5
is written in C++.
6
7
WWW: http://www.wxpython.org
(-)x11-toolkits/wxgtk30/Makefile (-3 / +4 lines)
Lines 3-13 Link Here
3
PORTNAME=	wx
3
PORTNAME=	wx
4
PORTVERSION=	3.0.4
4
PORTVERSION=	3.0.4
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
PORTREVISION=	8
6
PORTREVISION=	9
7
CATEGORIES=	x11-toolkits
7
CATEGORIES=	x11-toolkits
8
PKGNAMESUFFIX=	30-gtk3
8
PKGNAMESUFFIX=	30-gtk3
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	lbartoletti@FreeBSD.org
11
COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
11
COMMENT=	The wxWidgets GUI toolkit with GTK+ bindings
12
12
13
LICENSE=	GPLv2+
13
LICENSE=	GPLv2+
Lines 44-50 CONFIGURE_ARGS= --with-libpng=sys \ Link Here
44
		--enable-backtrace \
44
		--enable-backtrace \
45
		--enable-ipv6 \
45
		--enable-ipv6 \
46
		--enable-optimise \
46
		--enable-optimise \
47
		--enable-utf8 \
47
		--enable-unicode \
48
		--enable-std_string \
48
		--enable-graphics_ctx \
49
		--enable-graphics_ctx \
49
		--enable-compat26 \
50
		--enable-compat26 \
50
		--enable-compat28
51
		--enable-compat28

Return to bug 241893