Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315059 Details for
Bug 407367
aqua support patch for dev-python/wxpython from Prefix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wxpython.patch
wxpython.patch (text/plain), 2.98 KB, created by
Benda Xu
on 2012-06-12 03:02:48 UTC
(
hide
)
Description:
wxpython.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2012-06-12 03:02:48 UTC
Size:
2.98 KB
patch
obsolete
>Index: wxpython-2.8.12.1.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.12.1.ebuild,v >retrieving revision 1.15 >diff -u -B -r1.15 wxpython-2.8.12.1.ebuild >--- wxpython-2.8.12.1.ebuild 29 May 2012 14:46:19 -0000 1.15 >+++ wxpython-2.8.12.1.ebuild 12 Jun 2012 02:59:16 -0000 >@@ -21,17 +21,19 @@ > > LICENSE="wxWinLL-3" > SLOT="2.8" >-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd" >-IUSE="cairo doc examples opengl" >+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" >+IUSE="aqua cairo doc examples opengl" > > RDEPEND=" >- >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X] >+ aqua? ( >=dev-lang/python-2.6[aqua?] ) >+ aqua? ( >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,aqua=] ) >+ !aqua? ( >=x11-libs/wxGTK-${PV}:${WX_GTK_VER}[opengl?,tiff,X] ) > dev-libs/glib:2 > dev-python/setuptools > media-libs/libpng:0 > media-libs/tiff:0 > virtual/jpeg >- x11-libs/gtk+:2 >+ x11-libs/gtk+:2[aqua=] > x11-libs/pango[X] > cairo? ( >=dev-python/pycairo-1.8.4 ) > opengl? ( dev-python/pyopengl )" >@@ -65,9 +67,6 @@ > fi > > python_copy_sources >- >- # Workaround, buildsystem uses CFLAGS as CXXFLAGS >- export CFLAGS="${CXXFLAGS}" > } > > src_configure() { >@@ -75,7 +74,7 @@ > > DISTUTILS_GLOBAL_OPTIONS=( > "* WX_CONFIG=${WX_CONFIG}" >- "* WXPORT=gtk2" >+ "* WXPORT=$(use aqua && echo mac || echo gtk2)" > "* UNICODE=1" > "* BUILD_GLCANVAS=$(use opengl && echo 1 || echo 0)" > ) >@@ -96,7 +95,7 @@ > > # Collision protection. > rename_files() { >- for file in "${D}$(python_get_sitedir)/"wx{version.*,.pth}; do >+ for file in "${ED}$(python_get_sitedir)/"wx{version.*,.pth}; do > mv "${file}" "${file}-${SLOT}" || return 1 > done > } >@@ -105,27 +104,19 @@ > dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt > > insinto /usr/share/applications >- doins "${S}"/distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop >+ doins distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop > insinto /usr/share/pixmaps >- newins "${S}"/wx/py/PyCrust_32.png PyCrust.png >- newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed.png >- >- docdir=${D}usr/share/doc/${PF} >+ newins wx/py/PyCrust_32.png PyCrust.png >+ newins wx/tools/XRCed/XRCed_32.png XRCed.png > > if use doc; then >- dodir /usr/share/doc/${PF}/docs >- cp -R "${DOC_S}"/docs/* "${docdir}"/docs/ >- # For some reason newer API docs aren't available so use 2.8.9.2's >- cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${docdir}"/docs/ >+ dodoc -r "${DOC_S}"/docs >+ dodoc -r "${WORKDIR}"/wxPython-2.8.9.2/docs > fi > > if use examples; then >- dodir /usr/share/doc/${PF}/demo >- cp -R "${DOC_S}"/demo/* "${docdir}"/demo >- dodir /usr/share/doc/${PF}/samples >- cp -R "${DOC_S}"/samples/* "${docdir}"/samples >- [[ -e ${docdir}/samples/embedded/embedded ]] \ >- && rm -f "${docdir}"/samples/embedded/embedded >+ dodoc -r "${DOC_S}"/demo >+ dodoc -r "${DOC_S}"/samples > fi > } >
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
Actions:
View
|
Diff
Attachments on
bug 407367
:
315059
|
315061
|
322685
|
322687