-
Notifications
You must be signed in to change notification settings - Fork 71
Add package for Folly (z-machine interpreter) #543
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
Conversation
|
looks awesome, can't wait to try it out! i think setting the FOLLY_ROOT to somewhere in /opt/ makes sense |
raisjn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
back on your plate for rM1 compatibility
LinusCDE
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the rM 1, the pen keeps drawing when not touching anymore. So not really working on that model.
This may be what was found on discord already and will probably get fixed by canselcik/libremarkable#97 .
|
Yeah, apologies, should have updated this PR when that was found! Agree that the PR you linked is intended to fix... I should get an update in this PR within a day or so. |
LinusCDE
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Package works well on the rM 1 now! Nice tutorial!
- Please remove the majority of comments from the package file.
Next time it would also be nice to have the .env and builder.py changes be a separate PR. But I don't mind it this time.
LinusCDE
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Merging..
|
Ah. Seems that raisjn's review is still outstanding.
@raisjn, are you considering it okay to merge despite default stories being installed to |
Thanks, and glad to hear it!
Done!
Noted! |
Ah yes, right, sorry I missed it! I do feel a bit weird about using |
|
Yeah. There is no real standard yet. I put saves/configs of my games into As for plato, I preferred this folder to make it easier for users to find. But I only create it in the configure script and don't have the package maintain that folder (or files in it) directly. Since you have default files, I'm not sure whats best to proceed here. Maybe put these files into a default location (like Opkg seems to be not that particular about stuff especially if new folders are creates, but having default fails technically be managed by the package manager, might cause some problems if people just delete them later. |
Technically the XDG standard does exist, and we just use |
Yeah. But this is usually for configurations. And |
The XDG standard also covers data storage. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The ArchWiki has a good write-up on it: https://wiki.archlinux.org/title/XDG_Base_Directory#User_directories |
|
For end-user friendly ness (who don't necessarily know to look in some hidden subfolder), having it obvious findable when using a file manager is helpful though. My main concern is whether it is good from a packaging standpoint to have files lying around that a user thinks he should delete and the package manager thinks, it alone should manage them. |
For sure -- I just meant that it wasn't consistently followed. But it sounds like that's the way to go here... I'll follow up with that change.
Definitely my original motive for the choice! But I appreciate that not everyone wants their home directory cluttered, and I'm optimistic that it won't be too much of an issue in practise. Thanks everyone for weighing in! |
|
can you clarify what directory for saves you went with? |
For sure - all user data (including saves and any other files that the app creates) are now stored under |
raisjn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
New Packages: * Add new rmkit apps: dumbskull, rpncalc and wordlet (#542) * Add package for Folly (z-machine interpreter) (#543) Updated Packages: * Update KOReader to v2022.01 (#517) * Update innernet to 1.5.3 (#545) * Update to all rmkit applications (#542) * Update plato to 0.9.25 (#534) * Update rm2fb to v0.0.14 (#552) Misc: * Remove outdated todo from opkg completion (#541)
* Stable merge for week 6 of 2022 New Packages: * Add new rmkit apps: dumbskull, rpncalc and wordlet (#542) * Add package for Folly (z-machine interpreter) (#543) Updated Packages: * Update KOReader to v2022.01 (#517) * Update innernet to 1.5.3 (#545) * Update to all rmkit applications (#542) * Update plato to 0.9.25 (#534) * Update rm2fb to v0.0.14 (#552) Misc: * Remove outdated todo from opkg completion (#541) * Add hotfixes from #560 Co-authored-by: raisjn <raisjn@users.noreply.github.com> Co-authored-by: Mattéo Delabre <git.matteo@delab.re>
Fixes #27. Backported from toltec-dev/toltec#543.
👋 This is a new package for the interactive fiction interpreter I've been working on, https://github.com/bkirwi/folly
I've developed it entirely on RM2, though @Eeems was kind enough to test on RM1 a while back. I've checked that the package installs on my tablet, and I've spent quite a lot of time running the software itself, but let me know if there's more specific testing I should take on.
Note that this autocreates the
~/folly/directory, and adds a few files to it, if it doesn't already exist. Happy to configure or change that if that path seems inappropriate.I've also made a small quality-of-life change to
builder.py, printing the hashes that don't match, since that makes spotting errors or updating the file somewhat easier. (And gitignoring.venv, since that's not checked in.)