Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626488 - games-emulation/m64py-0.2.3-r2 cant change gamepad settings (fixed in m64py-0.2.4)
Summary: games-emulation/m64py-0.2.3-r2 cant change gamepad settings (fixed in m64py-0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 20:16 UTC by mercuriete
Modified: 2018-01-06 23:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mercuriete 2017-07-28 20:16:22 UTC
when you try to config a gamepad an unhandled exception is thrown.


https://github.com/mupen64plus/mupen64plus-ui-python/pull/73


This issue is fixed in m64py version 0.2.4

https://github.com/mupen64plus/mupen64plus-ui-python/releases/tag/0.2.4


Can someone create a new ebuild for the new version?

thanks for your work!
Comment 1 Jonas Stein gentoo-dev 2017-07-28 20:53:58 UTC
Thank you for the bump request. 
You can help the maintainer with further information:
Does a simple bump [1] work on your system? 
Chances are high, because a first look on the bump revealed only small changes.

[1] https://wiki.gentoo.org/wiki/Custom_repository#Simple_version_bump_of_an_ebuild_in_the_local_overlay
Comment 2 mercuriete 2017-07-28 21:24:02 UTC
thank you for your quick response!

I will read that documentation.

I have never done an ebuild before.

I will try it this weekend :)

cheers!
Comment 3 mercuriete 2017-07-28 22:06:06 UTC
Hi

We are out of luck

Simple version bump it doesn't work because pysdl2 is not bundled in the source.

If you go there: https://github.com/mupen64plus/mupen64plus-ui-python/releases

you will see the release notes:

```
PySDL2 is unbundled, not distributed with source anymore
```

when you run the new version this is the output:




xxxxxxxx@localhost /usr/local/portage/games-emulation/m64py $ m64py 
 __  __                         __   _  _   ____  _            
|  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___  
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| 
| |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \ 
|_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/ 
             |_|                                               

M64Py - A frontend for Mupen64Plus version 0.2.4

Frontend: INFO: No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/m64py", line 57, in <module>
    from m64py.frontend.mainwindow import MainWindow
  File "/usr/lib64/python3.4/site-packages/m64py/frontend/mainwindow.py", line 30, in <module>
    from m64py.frontend.worker import Worker
  File "/usr/lib64/python3.4/site-packages/m64py/frontend/worker.py", line 27, in <module>
    from m64py.core.core import Core
  File "/usr/lib64/python3.4/site-packages/m64py/core/core.py", line 31, in <module>
    from m64py.core.vidext import vidext
  File "/usr/lib64/python3.4/site-packages/m64py/core/vidext.py", line 28, in <module>
    from sdl2 import SDL_WasInit, SDL_InitSubSystem, SDL_QuitSubSystem, SDL_INIT_VIDEO
ImportError: No module named 'sdl2'



It seems now this project have a dependency with
https://pypi.python.org/pypi/PySDL2


Thank for your support! :)

If you have any advice in order to archive a new ebuild working don't hesitate in explain me.
Comment 4 Jonas Stein gentoo-dev 2017-07-28 23:01:08 UTC
mercuriete, nice to see how fast you learned to make your first local overlay. 
We can not discuss on the bug tracker. 
I suggest you to join IRC on #gentoo and #gentoo-dev-help. 
You will get help there.
https://www.gentoo.org/support/
Comment 5 rnddim 2018-01-01 06:23:12 UTC
What's the progress on bumping this to version 0.2.4 ?
Comment 6 Larry the Git Cow gentoo-dev 2018-01-01 13:47:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95a7ce851a178321083e06f748f193af61e7d9b

commit f95a7ce851a178321083e06f748f193af61e7d9b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-01 13:26:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-01 13:47:26 +0000

    games-emulation/m64py: Bump to 0.2.4, with unbundled PySDL2
    
    Closes: https://bugs.gentoo.org/626488

 games-emulation/m64py/Manifest           |  1 +
 games-emulation/m64py/m64py-0.2.4.ebuild | 62 ++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bfe230bd9108c5b6bf4cf45a781a6e7a1f4fbb

commit b5bfe230bd9108c5b6bf4cf45a781a6e7a1f4fbb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-01 13:13:43 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-01 13:47:25 +0000

    dev-python/PySDL2: New package, needed for games-emu/m64py
    
    Bug: https://bugs.gentoo.org/626488

 dev-python/PySDL2/Manifest                         |  1 +
 dev-python/PySDL2/PySDL2-0.9.6.ebuild              | 64 ++++++++++++++++++++++
 ...lways-allow-greater-patch-version-of-SDL2.patch | 47 ++++++++++++++++
 ...-Handle-missing-haptic-support-gracefully.patch | 26 +++++++++
 dev-python/PySDL2/metadata.xml                     | 15 +++++
 5 files changed, 153 insertions(+)}
Comment 7 mercuriete 2018-01-06 23:43:20 UTC
thank you for your work.

:)