mirror of
https://github.com/wekan/wekan.git
synced 2026-01-20 16:26:09 +01:00
Updates.
parent
a33b9becd6
commit
d8581802c7
1 changed files with 0 additions and 163 deletions
163
serenity.md
163
serenity.md
|
|
@ -1,163 +0,0 @@
|
|||
# SerenityOS
|
||||
|
||||
https://serenityos.org
|
||||
|
||||
## Building
|
||||
|
||||
Do to step building toolchain and start SerenityOS once, then shutdown SerenityOS, before building Ports:
|
||||
|
||||
https://github.com/SerenityOS/serenity/blob/master/Documentation/BuildInstructions.md
|
||||
|
||||
|
||||
# Required additional dependencies to build Ports
|
||||
|
||||
## All
|
||||
```
|
||||
Toolchain/BuildRuby.sh
|
||||
|
||||
sudo apt -y install python3-docutils meson ninja-build rake
|
||||
```
|
||||
|
||||
## Ruby
|
||||
```
|
||||
Toolchain/BuildRuby.sh
|
||||
```
|
||||
|
||||
## DosBox
|
||||
```
|
||||
sudo apt -y install python3-docutils meson
|
||||
cd ~/repos/serenity/Ports/dosbox-staging
|
||||
./package.sh
|
||||
```
|
||||
|
||||
## Installing Ports outside of SerenityOS, at host OS
|
||||
|
||||
SerenityOS Ports failed builds logs changes by xet7 https://gist.github.com/xet7/7df267e8d36d10ca998ad1a45f133ba4 ,
|
||||
xet7 made PR 2023-05-13 to https://github.com/SerenityOS/serenity/pull/18795
|
||||
|
||||
https://github.com/SerenityOS/serenity/blob/master/Ports/README.md
|
||||
|
||||
https://github.com/SerenityOS/serenity/blob/master/Ports/AvailablePorts.md
|
||||
|
||||
```
|
||||
sudo apt -y install gettext
|
||||
cd ~/repos/serenity/Ports/bash
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/git
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/sqlite
|
||||
./package.sh
|
||||
```
|
||||
|
||||
Optional, maybe to be used in future:
|
||||
- curl: downloading/uploading files, posting to forms
|
||||
- file: detecting file type
|
||||
- gettext: translations
|
||||
- jq: using JSON files
|
||||
- sed: search replace text
|
||||
- less: paginating page
|
||||
- md4c: markdown for C
|
||||
- nano: text editor in terminal
|
||||
|
||||
Other optional:
|
||||
- dialog: selection dialogs at shell
|
||||
- gcc: compiling C code
|
||||
- gdb: debugging C code
|
||||
- ninja: building C code
|
||||
- p7zip: 7z archives
|
||||
- gzip: unarchive
|
||||
- readline: is this needed?
|
||||
- rsync
|
||||
- neofetch: show hardware, software and OS info.
|
||||
|
||||
```
|
||||
cd ~/repos/serenity/Ports/curl
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/file
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/gettext
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/jq
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/sed
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/less
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/md4c
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/nano
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/dialog
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/gcc
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/gdb
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/ninja
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/p7zip
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/gzip
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/readline
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/rsync
|
||||
./package.sh
|
||||
cd ~/repos/serenity/Ports/neofetch
|
||||
./package.sh
|
||||
```
|
||||
|
||||
|
||||
## Installing WeKan for Bash inside SerenityOS
|
||||
|
||||
Requires above Git, Bash and SQLite.
|
||||
```
|
||||
git clone https://github.com/wekan/wedos
|
||||
|
||||
cd wedos
|
||||
|
||||
./w.sh
|
||||
```
|
||||
|
||||
## Ladybird
|
||||
|
||||
https://github.com/SerenityOS/serenity/blob/master/Documentation/BuildInstructionsLadybird.md
|
||||
|
||||
At 2023-05-10 Ladybird crashes on 10 MB of Javascript of Meteor WeKan https://wekan.github.io ,
|
||||
so it's only possible to use Multiverse WeKan https://github.com/wekan/php with Ladybird, or WeKan for Bash https://github.com/wekan/wedos at SerenityOS terminal.
|
||||
|
||||
At 2023-05-10 Ladybird does not yet have HTML Form option dropdown, so used option boxes instead in Multiverse WeKan
|
||||
https://github.com/wekan/php/blob/main/page/sign-in1.php#L58 .
|
||||
|
||||
## TODO
|
||||
|
||||
- Currently Win95, IE3 still has some extra characters, so that should be fixed sometime. Trying to make Multiverse WeKan login page look similar like Meteor WeKan (in middle bottom) in all additional webbrowsers (like NetSurf, Ladybird, etc) to be compatible with RISC OS NetSurf, Redox OS NetSurf, AmigaOS AWeb and IBrowse, FreeDOS Dillo, Lynx/Links/ELinks/w3m, etc.
|
||||
|
||||
- Currently on Redox OS NetSurf uploading file is not implemeted by Redox OS or NetSurf. Try newer versions of Redox OS sometime.
|
||||
|
||||
- Add more features to Multiverse WeKan, and WeKan for DOS and Bash.
|
||||
|
||||
<img src="https://wekan.github.io/amigaos4/manybrowser-wekan-multiverse.png" width="100%" alt="Wekan logo" />
|
||||
|
||||
## Transferring files between SerenityOS and a host Linux system
|
||||
|
||||
Source: [chungy](https://github.com/chungy) posted this to https://lunduke.locals.com at 2023-05-13 during Serenity Week. [chungy](https://github.com/chungy) is also porting Chocolate Doom to SerenityOS https://github.com/SerenityOS/serenity/pull/18765.
|
||||
|
||||
SerenityOS runs off of ext2, the "normal" file system for Linux, as such it's actually fairly easy to transfer files to and from the host system, granted a Linux host (and FreeBSD/NetBSD probably work as well).
|
||||
|
||||
The disk image that Serenity creates is in "Build/x86_64/_disk_image" and it is not partitioned, just a bare ext2 file system image. Mounting this as root is an option nearly every system provides out of the box (you really have to go out of your way to disable ext2 support in Linux...), simply using `sudo mount Build/x86_64/_disk_image /mnt` is enough for most configurations.
|
||||
|
||||
There's a little bit of an easier way though, so you can avoid using root and getting permissions in the way. e2fsprogs has an official FUSE-based ext2/ext4 driver named fuse2fs; most distributions seem to package this independently of e2fsprogs. If you are on Debian, you can run "apt install fuse2fs" to obtain it, or `pacman -S fuse2fs` on Arch.
|
||||
|
||||
Once that is set up, mounting the image as your own user and bypassing (and setting) permissions is super easy, barely an inconvenience.
|
||||
|
||||
As your regular user:
|
||||
|
||||
```
|
||||
mkdir Build/mnt
|
||||
fuse2fs -o fakeroot Build/x86_64/_disk_image Build/mnt
|
||||
```
|
||||
|
||||
And there you have it, you can access any file, and place files anywhere you want. I'd recommend sticking to `/home/anon` just to be safe :) Files copied to the disk image will, by default, have your host UID/GID set, but since this is being managed through FUSE and the "fakeroot" option was enabled, you can simply "chown -R 100:100 new_files/" to have them owned by SerenityOS's default "anon" user and avoid any trouble.
|
||||
|
||||
Once done and before booting SerenityOS again, make sure to run `fusermount -u Build/mnt` and you are good to go.
|
||||
Loading…
Add table
Add a link
Reference in a new issue