Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782571 - app-emulation/vice request for new "cpuhistory" USE flag
Summary: app-emulation/vice request for new "cpuhistory" USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-12 22:34 UTC by Vedran Vrbanc
Modified: 2021-06-22 05:43 UTC (History)
1 user (show)

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


Attachments
patch for vice-3.5.ebuild (vice-3.5.ebuild.patch,796 bytes, patch)
2021-04-12 22:34 UTC, Vedran Vrbanc
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Vrbanc 2021-04-12 22:34:51 UTC
Created attachment 699534 [details, diff]
patch for vice-3.5.ebuild

Hi,


Please add a new IUSE flag named "cpuhistory".

See attached patch created for vice-3.5.ebuild. 


The feature is enabled with the "--enable-cpuhistory" configure option.

It enables vice to be compiled with cpu history tracing option.

All the ebuild needs is "cpuhistory" IUSE flag and "$(use_enable cpuhistory)" in multibuild_src_configure().

vice-3.4 supports same feature so maybe add it there too.

Feature is experimental and should not be enabled by default.


regards,
Vedran
Comment 1 Jeff Gazso 2021-06-22 01:09:58 UTC
I second this. This is very handy for troubleshooting demo coding and reverse engineering projects.
Comment 2 Larry the Git Cow gentoo-dev 2021-06-22 05:43:24 UTC
The bug has been closed via the following commit(s):

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

commit 1da3c10cc574473121a60893967c541c01f7cf2e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-22 01:58:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-22 05:41:47 +0000

    app-emulation/vice: add cpuhistory flag, tidy ebuild
    
    Also fixed USE=debug and a configure-stage direct AR call.
    
    Thanks-to: Vedran Vrbanc
    Closes: https://bugs.gentoo.org/782571
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/vice/metadata.xml    |   1 +
 app-emulation/vice/vice-3.5.ebuild | 131 ++++++++++++++++++++-----------------
 2 files changed, 71 insertions(+), 61 deletions(-)