Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651146 - games-emulation/hatari-2.1.0 version bump
Summary: games-emulation/hatari-2.1.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 661794 (view as bug list)
Depends on:
Blocks: games.eclass
  Show dependency tree
 
Reported: 2018-03-22 12:50 UTC by urcindalo
Modified: 2018-08-12 17:25 UTC (History)
6 users (show)

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


Attachments
hatati-2.1.0.ebuild (hatari-2.1.0.ebuild,1.99 KB, text/plain)
2018-04-29 10:36 UTC, Pacho Ramos
Details
My tweak to the hatari-2.1.0 ebuild (hatari-2.1.0.ebuild,2.00 KB, text/plain)
2018-06-29 11:13 UTC, Alex Bennee
Details
emutos-0.9.9.1 ebuild (emutos-0.9.9.1.ebuild,681 bytes, text/plain)
2018-06-29 11:13 UTC, Alex Bennee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description urcindalo 2018-03-22 12:50:26 UTC
Latest hatari version in the tree is 1.8.0, dating back to 2014.
Please, update it to the latest stable version, 2.1.0, from February 2018.
Comment 1 Pacho Ramos gentoo-dev 2018-04-29 10:36:32 UTC
Created attachment 528762 [details]
hatati-2.1.0.ebuild

I have tried to bump it but it fails to run:
$ hatariui 
WARNING: configuration file missing!
Traceback (most recent call last):
  File "/usr/bin/../share/hatari/hatariui/hatariui.py", line 763, in <module>
    main()
  File "/usr/bin/../share/hatari/hatariui/hatariui.py", line 714, in main
    actions = UIActions()
  File "/usr/bin/../share/hatari/hatariui/hatariui.py", line 398, in __init__
    cb = self.callbacks = UICallbacks()
  File "/usr/bin/../share/hatari/hatariui/hatariui.py", line 59, in __init__
    self.config = HatariConfigMapping(self.hatari)
  File "/usr/share/hatari/hatariui/hatari.py", line 297, in __init__
    self.get_machine()
  File "/usr/share/hatari/hatariui/hatari.py", line 388, in get_machine
    return self.get("[System]", "nMachineType")
  File "/usr/share/hatari/hatariui/config.py", line 189, in get
    return self.sections[section][key]
KeyError: '[System]'
Comment 2 Chris Mansfield 2018-06-18 15:45:07 UTC
I tried your attached ebuild and got the same error, but before that it popped up a window complaining about a missing config file. (I hadn't ever run hatariui before, I always just used hatari).

After that I deleted the my /home/chris/.hatari directory, then ran hatari and hit F12 and chose the option to save my config. I noticed it now saves the config to a different directory, /home/<user>/.config/hatari.

After that I ran hatariui and it loads correctly with no error message.
Comment 3 Alex Bennee 2018-06-29 10:44:51 UTC
I think we need an update to emutos as well. I managed to track the regression in hatari down to:

  8409e8b05b027df80170acb42fc3b7ecce810866
  Add full support for STF/STE MMU at $FF8001 and address translation

However the current version of emutos then stalls while trying to detect the RAM size. Updating to 0.9.9.1 restores the behaviour.
Comment 4 Alex Bennee 2018-06-29 11:13:16 UTC
Created attachment 537696 [details]
My tweak to the hatari-2.1.0 ebuild

Adds a version dependancy on emutos
Comment 5 Alex Bennee 2018-06-29 11:13:49 UTC
Created attachment 537698 [details]
emutos-0.9.9.1 ebuild

Uses doins instead of dolib
Comment 6 Azamat H. Hackimov 2018-07-12 15:54:11 UTC
Hi. I created PR for updated versions of hatari and emutos: https://github.com/gentoo/gentoo/pull/9190
Comment 7 Larry the Git Cow gentoo-dev 2018-07-13 09:27:21 UTC
The bug has been closed via the following commit(s):

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

commit 36e4ca67227d1ee5b89ba92a15e115ea7768cb2b
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2018-07-11 22:09:06 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-13 09:27:11 +0000

    games-emulation/hatari: version bump to 2.1.0
    
    Ebuild based on Alex Bennee's works.
    
    Closes: https://bugs.gentoo.org/651146
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 games-emulation/hatari/Manifest            |  1 +
 games-emulation/hatari/hatari-2.1.0.ebuild | 76 ++++++++++++++++++++++++++++++
 games-emulation/hatari/metadata.xml        |  3 ++
 3 files changed, 80 insertions(+)
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-22 20:22:48 UTC
*** Bug 661794 has been marked as a duplicate of this bug. ***
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-07-22 20:33:12 UTC
Can the p.mask be removed?  If so, could you please do that?
Comment 10 Larry the Git Cow gentoo-dev 2018-08-12 17:24:43 UTC
The bug has been closed via the following commit(s):

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

commit e33e862f9515ea5b6b15fec19374f01f74c8789f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-08-12 17:24:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-08-12 17:24:14 +0000

    package.mask: Unmask app-emulation/hatari
    
    Closes: https://bugs.gentoo.org/651146

 profiles/package.mask | 4 ----
 1 file changed, 4 deletions(-)