Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 643868 Details for
Bug 723484
x11-wm/xpra-4.0.0: version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
x11-wm/xpra/files/xpra-4.0-sound-module.patch
xpra-4.0-sound-module.patch (text/plain), 2.11 KB, created by
mehw
on 2020-06-07 22:44:53 UTC
(
hide
)
Description:
x11-wm/xpra/files/xpra-4.0-sound-module.patch
Filename:
MIME Type:
Creator:
mehw
Created:
2020-06-07 22:44:53 UTC
Size:
2.11 KB
patch
obsolete
>This closes the Ticket #2801: >http://xpra.org/trac/ticket/2801 > >When running setup.py with the options '--with-opengl --without-sound' >there will be an error starting the client: > >$ xpra start :7 >$ xpra attach :7 > >Warning: cannot import native OpenGL module > No module named 'xpra.sound' > >The changeset 25991 introduced the use of the function force_enabled >imported from the sound module in gl_check.py. Despite the fact that >it requires one argument, it is used without when checking OpenGL. I >believe that force_enable is meant to be used instead, which doesn't >require to import the sound module. Hence OpenGL can be checked with >no sound module. >https://xpra.org/trac/changeset/25991/xpra/trunk/src/xpra/client/gl/gl_check.py > >diff -Nuar a/xpra/client/gl/gl_check.py b/xpra/client/gl/gl_check.py >--- a/xpra/client/gl/gl_check.py 2020-05-10 19:00:53.000000000 +0200 >+++ b/xpra/client/gl/gl_check.py 2020-06-07 21:28:48.167122367 +0200 >@@ -12,7 +12,6 @@ > from xpra.os_util import POSIX, OSX, bytestostr > from xpra.log import Logger, CaptureHandler > from xpra.client.gl.gl_drivers import WHITELIST, GREYLIST, VERSION_REQ, BLACKLIST, OpenGLFatalError >-from xpra.sound.gstreamer_util import force_enabled > > log = Logger("opengl") > >@@ -130,7 +129,7 @@ > from OpenGL.GL import GL_VERSION, GL_EXTENSIONS > from OpenGL.GL import glGetString, glGetIntegerv > gl_version_str = glGetString(GL_VERSION) >- if gl_version_str is None and not force_enabled: >+ if gl_version_str is None and not force_enable: > raise_fatal_error("OpenGL version is missing - cannot continue") > return props > #b'4.6.0 NVIDIA 440.59' -> ['4', '6', '0 NVIDIA...'] >@@ -147,7 +146,7 @@ > props["opengl"] = gl_major, gl_minor > MIN_VERSION = (1,1) > if (gl_major, gl_minor) < MIN_VERSION: >- if not force_enabled: >+ if not force_enable: > raise_fatal_error("OpenGL output requires version %s or greater, not %s.%s" % > (".".join([str(x) for x in MIN_VERSION]), gl_major, gl_minor)) > return props
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 723484
:
643862
|
643864
|
643866
| 643868