mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-02 17:48:42 +08:00
Compare commits
9 Commits
c6c1c6c56e
...
acc8bc59bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acc8bc59bc | ||
|
|
12a5a00afe | ||
|
|
b85b901841 | ||
|
|
cedf58ed5d | ||
|
|
a521b5fc8c | ||
|
|
3952e17416 | ||
|
|
c1fabe9c8f | ||
|
|
f469e9f34a | ||
|
|
242e8d5b3f |
@ -81,12 +81,14 @@ Once your GitLab account is created, you should add your Matrix or Discord usern
|
||||
|
||||
### Issues
|
||||
|
||||
To know how to create issues on the Redox GitLab, read the [Filing Issues](https://doc.redox-os.org/book/filing-issues.html) page.
|
||||
We use issues to organize and track our current and pending work, to know how to create issues on the Redox GitLab read the [Filing Issues](https://doc.redox-os.org/book/filing-issues.html) page.
|
||||
|
||||
Once you create an issue don't forget to post the link on the Dev or Support rooms of the chat, because the GitLab email notifications have distractions (service messages or spam) and most developers don't left their GitLab pages open to receive desktop notifications from the web browser (which require a custom setting to receive issue notifications).
|
||||
|
||||
By doing this you help us to pay attention to your issues and avoid them to be accidentally forgotten.
|
||||
|
||||
You can see all issues on [this](https://gitlab.redox-os.org/groups/redox-os/-/issues) link.
|
||||
|
||||
### Pull Requests
|
||||
|
||||
Please follow [our process](https://doc.redox-os.org/book/creating-proper-pull-requests.html) for creating proper pull requests.
|
||||
@ -135,7 +137,9 @@ If you don't know how to code in Rust, but know other programming languages:
|
||||
|
||||
If you know how to code in Rust, but don't know operating system development:
|
||||
|
||||
- Look for issues labeled "good first issue", "easy", and/or "help wanted", e.g. [this GitLab filter](https://gitlab.redox-os.org/groups/redox-os/-/issues/?sort=updated_desc&state=opened&or%5Blabel_name%5D%5B%5D=good%20first%20issue&or%5Blabel_name%5D%5B%5D=Easy&or%5Blabel_name%5D%5B%5D=easy&or%5Blabel_name%5D%5B%5D=help%20wanted&first_page_size=20]). Worth noting the skill level varies between projects, but a large subset of these should be approachable by contributors familiar with regular Rust/Unix application programming.
|
||||
- See the [easy](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=easy) issues
|
||||
- See the "[good first issue](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=good%20first%20issue)" issues
|
||||
- See the [help wanted](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=help%20wanted) issues (it's worth noting the skill level varies between projects, but a large subset of these should be approachable by contributors familiar with regular Rust/Unix application programming)
|
||||
- Improve the package manager, or other meta-tools like `redoxer` or `installer`
|
||||
- Improve the [Ion](https://gitlab.redox-os.org/redox-os/ion) shell, or other high-level or mid-level projects
|
||||
- Port Rust programs to Redox, possibly including dependencies, and C library extensions if necessary (also look for issues with the `port` label)
|
||||
@ -163,10 +167,10 @@ For those who want to contribute to the Redox GUI, our GUI strategy has recently
|
||||
|
||||
You can use the following GitLab label filters to know our development priorities on the moment:
|
||||
|
||||
- [Critical](https://gitlab.redox-os.org/redox-os/redox/-/issues/?sort=created_date&state=opened&label_name%5B%5D=critical&first_page_size=20)
|
||||
- [High-priority](https://gitlab.redox-os.org/redox-os/redox/-/issues/?sort=created_date&state=opened&label_name%5B%5D=high-priority&first_page_size=20)
|
||||
- [Medium-priority](https://gitlab.redox-os.org/redox-os/redox/-/issues/?sort=created_date&state=opened&label_name%5B%5D=medium-priority&first_page_size=20)
|
||||
- [Low-priority](https://gitlab.redox-os.org/redox-os/redox/-/issues/?sort=created_date&state=opened&label_name%5B%5D=low-priority&first_page_size=20)
|
||||
- [Critical](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=critical)
|
||||
- [High-priority](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=high-priority)
|
||||
- [Medium-priority](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=medium-priority)
|
||||
- [Low-priority](https://gitlab.redox-os.org/groups/redox-os/-/issues/?label_name[]=low-priority)
|
||||
|
||||
## RFCs
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Configuration for Jeremy Soller
|
||||
|
||||
include = ["../desktop.toml"]
|
||||
include = ["../demo.toml"]
|
||||
|
||||
# General settings
|
||||
[general]
|
||||
@ -10,31 +10,31 @@ filesystem_size = 8192
|
||||
# Package settings
|
||||
[packages]
|
||||
# apps
|
||||
#boxedwine = {} # not building
|
||||
#boxedwine = {}
|
||||
cosmic-player = {}
|
||||
cosmic-reader = {}
|
||||
#cosmic-settings = {} # requires recvmsg/sendmsg
|
||||
cosmic-store = {}
|
||||
cosmic-term = {}
|
||||
cosmic-text = {}
|
||||
periodictable = {}
|
||||
pixelcannon = {}
|
||||
qemu = {}
|
||||
schismtracker = {}
|
||||
sodium = {}
|
||||
|
||||
# cli
|
||||
acid = {}
|
||||
cleye = {}
|
||||
ffmpeg6 = {}
|
||||
gnu-grep = {}
|
||||
lua54 = {}
|
||||
nano = {}
|
||||
nushell = {}
|
||||
#nushell = {}
|
||||
perg = {}
|
||||
relibc-tests = {}
|
||||
ripgrep = {}
|
||||
#relibc-tests = {}
|
||||
russh = {}
|
||||
sed = {}
|
||||
shellharden = {}
|
||||
xz = {}
|
||||
|
||||
# demos
|
||||
cairodemo = {}
|
||||
#cairodemo = {}
|
||||
#cmatrix = {} # addwstr
|
||||
cpal = {}
|
||||
gears = {}
|
||||
@ -42,16 +42,14 @@ glutin = {}
|
||||
#hematite = {} # not building
|
||||
iced = {}
|
||||
libcosmic = {}
|
||||
orbclient = {}
|
||||
osdemo = {} # does not show anything
|
||||
#pathfinder = {} # not building
|
||||
procedural-wallpapers-rs = {}
|
||||
rodioplay = {}
|
||||
rust-cairo = {}
|
||||
rust-cairo-demo = {}
|
||||
#rust-cairo = {}
|
||||
#rust-cairo-demo = {}
|
||||
sdl2-gears = {}
|
||||
vttest = {}
|
||||
webrender = {}
|
||||
#webrender = {}
|
||||
winit = {}
|
||||
|
||||
# dev
|
||||
@ -64,43 +62,38 @@ gnu-make = {}
|
||||
nasm = {}
|
||||
patch = {}
|
||||
pkg-config = {}
|
||||
rust = {}
|
||||
rustpython = {}
|
||||
#rust = {}
|
||||
#rustpython = {}
|
||||
|
||||
# games
|
||||
devilutionx = {}
|
||||
dosbox = {}
|
||||
eduke32 = {}
|
||||
flycast = {}
|
||||
freedoom = {}
|
||||
freeciv = {}
|
||||
gigalomania = {}
|
||||
love = {}
|
||||
mednafen = {}
|
||||
mgba = {}
|
||||
neverball = {}
|
||||
openjazz = {}
|
||||
openjk = {}
|
||||
openttd = {}
|
||||
openttd-opengfx = {}
|
||||
openttd-openmsx = {}
|
||||
openttd-opensfx = {}
|
||||
prboom = {}
|
||||
redox-games = {}
|
||||
quakespasm = {}
|
||||
#retroarch = {} # need to package cores
|
||||
rs-nes = {} # need game for testing
|
||||
rust64 = {} # need roms
|
||||
rustual-boy = {} # need game for testing
|
||||
scummvm = {} # need game for testing
|
||||
sm64ex = {}
|
||||
sopwith = {}
|
||||
spacecadetpinball = {}
|
||||
syobonaction = {}
|
||||
#syobonaction = {}
|
||||
#vice = {} # broken on new toolchain
|
||||
#vvvvvv = {} # cannot find -lgcc_s
|
||||
|
||||
# stuff
|
||||
freepats = {}
|
||||
generaluser-gs = {}
|
||||
intel-one-mono = {}
|
||||
jeremy = {}
|
||||
libc-bench = {}
|
||||
noto-color-emoji = {}
|
||||
|
||||
2
cookbook
2
cookbook
@ -1 +1 @@
|
||||
Subproject commit 4f3b3288c328bf838c4b120142a97c932027bf67
|
||||
Subproject commit 687f4d207f174de060b59d087f1b507d93bd24ab
|
||||
2
mk/ci.mk
2
mk/ci.mk
@ -31,7 +31,7 @@ else
|
||||
$(HOST_CARGO) build --manifest-path installer/Cargo.toml --release
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) -c config/$(ARCH)/ci.toml)" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) --short -c config/$(ARCH)/ci.toml)" && \
|
||||
cd cookbook && \
|
||||
./fetch.sh "$${PACKAGES}" && \
|
||||
./repo.sh $(REPO_NONSTOP) "$${PACKAGES}"
|
||||
|
||||
@ -109,6 +109,7 @@ else
|
||||
export GNU_TARGET=$(TARGET)
|
||||
endif
|
||||
BUILD=build/$(ARCH)/$(CONFIG_NAME)
|
||||
MOUNT_DIR=$(BUILD)/filesystem
|
||||
HOST_FSTOOLS=build/fstools
|
||||
INSTALLER=$(HOST_FSTOOLS)/bin/redox_installer
|
||||
INSTALLER_OPTS=
|
||||
|
||||
26
mk/disk.mk
26
mk/disk.mk
@ -27,8 +27,8 @@ $(BUILD)/redox-live.iso: $(HOST_FSTOOLS) $(REPO_TAG) redox.ipxe
|
||||
|
||||
$(BUILD)/filesystem.img: $(HOST_FSTOOLS) $(REPO_TAG)
|
||||
mkdir -p $(BUILD)
|
||||
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
||||
rm -rf $@ $@.partial $(BUILD)/filesystem/
|
||||
-$(FUMOUNT) $(MOUNT_DIR) || true
|
||||
rm -rf $@ $@.partial $(MOUNT_DIR)
|
||||
-$(FUMOUNT) /tmp/redox_installer || true
|
||||
FILESYSTEM_SIZE=$(FILESYSTEM_SIZE) && \
|
||||
if [ -z "$$FILESYSTEM_SIZE" ] ; then \
|
||||
@ -36,30 +36,30 @@ $(BUILD)/filesystem.img: $(HOST_FSTOOLS) $(REPO_TAG)
|
||||
fi && \
|
||||
truncate -s "$$FILESYSTEM_SIZE"m $@.partial
|
||||
$(REDOXFS_MKFS) $(REDOXFS_MKFS_FLAGS) $@.partial
|
||||
mkdir -p $(BUILD)/filesystem/
|
||||
$(REDOXFS) $@.partial $(BUILD)/filesystem/
|
||||
mkdir -p $(MOUNT_DIR)
|
||||
$(REDOXFS) $@.partial $(MOUNT_DIR)
|
||||
sleep 1
|
||||
pgrep redoxfs
|
||||
umask 002 && $(INSTALLER) $(INSTALLER_OPTS) -c $(FILESYSTEM_CONFIG) $(BUILD)/filesystem/
|
||||
umask 002 && $(INSTALLER) $(INSTALLER_OPTS) -c $(FILESYSTEM_CONFIG) $(MOUNT_DIR)
|
||||
sync
|
||||
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
||||
rm -rf $(BUILD)/filesystem/
|
||||
-$(FUMOUNT) $(MOUNT_DIR) || true
|
||||
rm -rf $(MOUNT_DIR)
|
||||
mv $@.partial $@
|
||||
|
||||
mount: $(HOST_FSTOOLS) FORCE
|
||||
mkdir -p $(BUILD)/filesystem/
|
||||
$(REDOXFS) $(BUILD)/harddrive.img $(BUILD)/filesystem/
|
||||
mkdir -p $(MOUNT_DIR)
|
||||
$(REDOXFS) $(BUILD)/harddrive.img $(MOUNT_DIR)
|
||||
sleep 2
|
||||
pgrep redoxfs
|
||||
|
||||
mount_extra: $(HOST_FSTOOLS) FORCE
|
||||
mkdir -p $(BUILD)/filesystem/
|
||||
$(REDOXFS) $(BUILD)/extra.img $(BUILD)/filesystem/
|
||||
mkdir -p $(MOUNT_DIR)
|
||||
$(REDOXFS) $(BUILD)/extra.img $(MOUNT_DIR)
|
||||
sleep 2
|
||||
pgrep redoxfs
|
||||
|
||||
unmount: FORCE
|
||||
sync
|
||||
-$(FUMOUNT) $(BUILD)/filesystem/ || true
|
||||
rm -rf $(BUILD)/filesystem/
|
||||
-$(FUMOUNT) $(MOUNT_DIR) || true
|
||||
rm -rf $(MOUNT_DIR)
|
||||
-$(FUMOUNT) /tmp/redox_installer || true
|
||||
|
||||
32
mk/repo.mk
32
mk/repo.mk
@ -5,7 +5,7 @@ ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
else
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) -c $(FILESYSTEM_CONFIG))" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) --short -c $(FILESYSTEM_CONFIG))" && \
|
||||
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
cd cookbook && \
|
||||
./fetch.sh $(REPO_NONSTOP) $(REPO_OFFLINE) "$${PACKAGES}"
|
||||
@ -19,7 +19,7 @@ ifeq ($(PODMAN_BUILD),1)
|
||||
else
|
||||
export PATH="$(PREFIX_PATH):$$PATH" && \
|
||||
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) -c $(FILESYSTEM_CONFIG))" && \
|
||||
PACKAGES="$$($(LIST_PACKAGES) $(LIST_PACKAGES_OPTS) --short -c $(FILESYSTEM_CONFIG))" && \
|
||||
cd cookbook && \
|
||||
./repo.sh $(REPO_NONSTOP) $(REPO_OFFLINE) --with-package-deps "$${PACKAGES}"
|
||||
mkdir -p $(BUILD)
|
||||
@ -87,6 +87,34 @@ else
|
||||
fi
|
||||
endif
|
||||
|
||||
MOUNTED_TAG=$(MOUNT_DIR)~
|
||||
|
||||
# Push compiled package into existing image
|
||||
# DO NOT RUN THIS WHILE QEMU ALIVE, THE DISK MIGHT CORRUPT IN DOING SO
|
||||
p.%: $(FSTOOLS_TAG) FORCE
|
||||
@rm -f $(MOUNTED_TAG)
|
||||
@if [ ! -d "$(MOUNT_DIR)" ]; then \
|
||||
$(MAKE) mount; \
|
||||
touch $(MOUNTED_TAG); \
|
||||
fi
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
else
|
||||
@if echo "$*" | grep -q ','; then \
|
||||
$(MAKE) $(foreach f,$(subst $(comma), ,$*),p.$(f)); \
|
||||
else \
|
||||
export RECIPE_PATH=cookbook/$(shell make find.$* | grep ^recipes) && \
|
||||
export RECIPE_STAGE=$$RECIPE_PATH/target/$(TARGET)/stage.pkgar && \
|
||||
./cookbook/pkgar/target/release/pkgar extract $(MOUNT_DIR)/ --archive $$RECIPE_STAGE \
|
||||
--pkey ./cookbook/build/id_ed25519.pub.toml && \
|
||||
echo "extracted $$RECIPE_PATH"; \
|
||||
fi
|
||||
endif
|
||||
@if [ -f $(MOUNTED_TAG) ]; then \
|
||||
$(MAKE) unmount && rm -f $(MOUNTED_TAG); \
|
||||
else echo "Not unmounting by ourself, don't forget to do it"; \
|
||||
fi
|
||||
|
||||
# Invoke unfetch.sh for one or more targets separated by comma
|
||||
u.%: $(FSTOOLS_TAG) FORCE
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user