Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate packaging cores #21

Open
amstan opened this issue May 4, 2022 · 2 comments
Open

Investigate packaging cores #21

amstan opened this issue May 4, 2022 · 2 comments

Comments

@amstan
Copy link
Member

amstan commented May 4, 2022

Once #19 and #20 are finished, I can start looking at if I should/how i could package up all of mister's cores so they're managed by pacman.

Would be cool if I could select the following list of arch packages installed:

  • mister-base, which will be a meta package automatically depending on
    • linux-mister
    • mister-bin
    • mister-menu
    • uboot-mister
  • mister-computer-ao486
  • mister-computer-zxspectrum
  • mister-console-sms
  • mister-presets

A couple group packages could be created too, which would be a way for users to list what's available:

  • mister-arcade
  • mister-computer
  • mister-console
  • mister-other
  • mister-utility
  • mister - a group of all the above and mister-base

Note that most/all of these new core packages map directly to mister-downloader filters.
By the looks of it, every core is non-overlapping with other cores, but I guess I'll see that after creating all packages and try installing them at the same time (if i get file conflicts).

@amstan
Copy link
Member Author

amstan commented May 4, 2022

For now this is how a pkg/ looks like:

.
./mister-computer-ao486
./mister-computer-ao486/media
./mister-computer-ao486/media/fat
./mister-computer-ao486/media/fat/mister-computer-ao486
./mister-computer-ao486/media/fat/mister-computer-ao486/docs
./mister-computer-ao486/media/fat/mister-computer-ao486/docs/AO486
./mister-computer-ao486/media/fat/mister-computer-ao486/docs/AO486/README.md
./mister-computer-ao486/media/fat/mister-computer-ao486/games
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/MISTERFB.DRV
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/MISTERFB.INF
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/misterfs.exe
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/imgset.exe
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/sbctl.exe
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/modem9x.inf
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/mpuctl.exe
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/drv/sysctl.exe
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/boot0.rom
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/boot1.rom
./mister-computer-ao486/media/fat/mister-computer-ao486/games/AO486/boot1_opensource.rom
./mister-computer-ao486/media/fat/mister-computer-ao486/_Computer
./mister-computer-ao486/media/fat/mister-computer-ao486/_Computer/ao486_20220326.rbf
./mister-computer-ao486/.PKGINFO
./mister-computer-ao486/.BUILDINFO
./mister-computer-ao486/.MTREE

@amstan
Copy link
Member Author

amstan commented May 4, 2022

For now versioning is still a problem, though one idea is to look at the core.rbf itself and try to extract it from there.

The problem with this is that we'll be oblivious if anything changed without the core changing, which will mean no updates in those cases. That's why I left stuff like pkgrel in each of the individual packages (for manual bumping), otherwise it would have been more trivial to replicate all the PKGBUILDs.

Would have been much easier if upstream had a way to track this.

@amstan amstan changed the title Investigate packaging cores. Investigate packaging cores May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant