Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603712 - games-util/antimicro-2.23 version bump
Summary: games-util/antimicro-2.23 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:
Depends on:
Blocks:
 
Reported: 2016-12-25 18:00 UTC by Niranjan
Modified: 2018-08-25 15:27 UTC (History)
5 users (show)

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


Attachments
games-util/antimicro-2.23 (antimicro-2.23.ebuild,714 bytes, text/plain)
2016-12-25 18:00 UTC, Niranjan
Details
games-util/antimicro-2.23 (antimicro-2.23.ebuild,716 bytes, text/plain)
2016-12-26 21:27 UTC, Niranjan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niranjan 2016-12-25 18:00:43 UTC
Created attachment 457382 [details]
games-util/antimicro-2.23

The version of antimicro in portage is very outdated.  The new version is required for compatibility with >=media-libs/libsdl2-2.0.5 and there is a new maintainer, repository and homepage for antimicro.
Comment 1 Jonas Stein gentoo-dev 2016-12-26 21:20:18 UTC
@gentoo dev: Please verify, that the new upstream is not a malware fork.
@Nitanjan, thank you very much!

a few comments on the .ebuild

* please bump to EAPI=6 (we always try to use the latest EAPI)
* please change KEYWORDS="amd64 x86" to KEYWORDS="~amd64 ~x86"
* one could create/update the metadata file https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
Comment 2 Niranjan 2016-12-26 21:27:21 UTC
Created attachment 457456 [details]
games-util/antimicro-2.23

EAPI bumped to 6 and keyworded as unstable.
Comment 3 shinydoofy 2017-05-28 16:05:20 UTC
For those looking to map joystick buttons to keys, not even the updated antimicro ebuild worked for me for a Bluetooth Playstation 3 SixAxis controller. games-util/qjoypad-4.1.0 works a charm, though.
Comment 4 Tear♪ 2017-10-11 12:42:51 UTC
This should be of higher importance - the latest version in Portage tree is completely broken at runtime since libsdl2-2.0.5 - joysticks are detected, but no input events are received. Bumping it myself to 2.23 fixed it for me, and the software can be set up to be more responsive than qjoypad thanks to customizable input polling rate.
The fork is most definitely legitimate, since the previous upstream location has put news about the move in README.md.
Comment 5 Jura 2017-11-13 23:13:13 UTC
Can't compile.
>> from /var/tmp/portage/games-util/antimicro-2.23/work/antimicro-2.23/src/joystick.cpp:20:
>> /usr/include/x86_64-pc-linux-gnu/SDL2/SDL_config.h:33:10: fatal error: SDL_platform.h: No such file or directory


 After apply patch for libsdl2-2.0.7.ebuild:


> MULTILIB_WRAPPED_HEADERS=(
> 	/usr/include/SDL2/SDL_config.h
>+	/usr/include/SDL2/SDL_platform.h
>+	/usr/include/SDL2/begin_code.h
>+	/usr/include/SDL2/close_code.h
> )


compile successful
Comment 6 James Le Cuirot gentoo-dev 2018-06-08 21:02:41 UTC
I get a huge stack of undefined references on the final link. No idea why.

CMakeFiles/antimicro.dir/src/main.cpp.o: In function `QMetaTypeId<JoyButtonSlot*>::qt_metatype_id()':
main.cpp:(.text._ZN11QMetaTypeIdIP13JoyButtonSlotE14qt_metatype_idEv[_ZN11QMetaTypeIdIP13JoyButtonSlotE14qt_metatype_idEv]+0x57): undefined reference to `JoyButtonSlot::staticMetaObject'
CMakeFiles/antimicro.dir/src/main.cpp.o: In function `QMetaTypeId<SetJoystick*>::qt_metatype_id()':
main.cpp:(.text._ZN11QMetaTypeIdIP11SetJoystickE14qt_metatype_idEv[_ZN11QMetaTypeIdIP11SetJoystickE14qt_metatype_idEv]+0x57): undefined reference to `SetJoystick::staticMetaObject'
CMakeFiles/antimicro.dir/src/main.cpp.o: In function `QMetaTypeId<InputDevice*>::qt_metatype_id()':
main.cpp:(.text._ZN11QMetaTypeIdIP11InputDeviceE14qt_metatype_idEv[_ZN11QMetaTypeIdIP11InputDeviceE14qt_metatype_idEv]+0x57): undefined reference to `InputDevice::staticMetaObject'
CMakeFiles/antimicro.dir/src/main.cpp.o: In function `QMetaTypeId<AutoProfileInfo*>::qt_metatype_id()':
main.cpp:(.text._ZN11QMetaTypeIdIP15AutoProfileInfoE14qt_metatype_idEv[_ZN11QMetaTypeIdIP15AutoProfileInfoE14qt_metatype_idEv]+0x57): undefined reference to `AutoProfileInfo::staticMetaObject'
CMakeFiles/antimicro.dir/src/main.cpp.o: In function `CommandLineUtility::~CommandLineUtility()':
main.cpp:(.text._ZN18CommandLineUtilityD2Ev[_ZN18CommandLineUtilityD5Ev]+0x14): undefined reference to `vtable for CommandLineUtility'
CMakeFiles/antimicro.dir/src/main.cpp.o: In function `CommandLineUtility::~CommandLineUtility()':
main.cpp:(.text._ZN18CommandLineUtilityD0Ev[_ZN18CommandLineUtilityD5Ev]+0x14): undefined reference to `vtable for CommandLineUtility'
...
...
Comment 7 Small_Penguin 2018-07-05 20:28:35 UTC
I also got the a huge stack of undefined references on the final link, but after applying this patch it linked successfully: https://github.com/AntiMicro/antimicro/pull/207/commits/d5cfe429edb8c5f6f039153a0f646f2198c06b16

It doesn't recognize my joystick though despite compiling in joystick support for libsdl2. Not sure what the problem is, but that may have nothing to do with this app.
Comment 8 Larry the Git Cow gentoo-dev 2018-08-25 15:27:18 UTC
The bug has been closed via the following commit(s):

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

commit 0f917374bcbafc1e0ec7ecad84ada6331a67b8fa
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-08-25 15:21:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-08-25 15:21:48 +0000

    games-util/antimicro: 2.23 version bump, EAPI-6
    
    Thanks-to: Niranjan <niranjan.public@gmail.com>
    Thanks-to: Small_Penguin <dark.shadow@gmx.at>
    Closes: https://bugs.gentoo.org/603712
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 games-util/antimicro/Manifest                      |  1 +
 games-util/antimicro/antimicro-2.23.ebuild         | 54 ++++++++++++++++++++++
 .../files/antimicro-2.23-linking-errors.patch      | 40 ++++++++++++++++
 3 files changed, 95 insertions(+)