diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-02 08:05:14 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-02 08:07:06 +0100 |
commit | 6fc3c38324c4fa644d7ab008ac5309c32b4f68a2 (patch) | |
tree | 63d8623b5d719a911f2066ff2e35739e627767da /Kernel | |
parent | 5e0b7f1a565ffd90c80da3965b2f706e7d55ce42 (diff) | |
download | serenity-6fc3c38324c4fa644d7ab008ac5309c32b4f68a2.zip |
Start working on a simple graphical font editor.
Editing fonts by editing text files is really slow and boring.
A simple font editor seems like a good way to take LibGUI for a spin.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/init.cpp | 4 | ||||
-rwxr-xr-x | Kernel/makeall.sh | 2 | ||||
-rwxr-xr-x | Kernel/mkf.sh | 8 | ||||
-rwxr-xr-x | Kernel/sync.sh | 2 |
4 files changed, 16 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 34b6521e9c..ead7becce8 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -26,6 +26,7 @@ //#define SPAWN_GUITEST #define SPAWN_GUITEST2 +#define SPAWN_FONTEDITOR //#define SPAWN_MULTIPLE_SHELLS //#define STRESS_TEST_SPAWNING @@ -110,6 +111,9 @@ static void init_stage2() #ifdef SPAWN_GUITEST2 Process::create_user_process("/bin/guitest2", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0); #endif +#ifdef SPAWN_FONTEDITOR + Process::create_user_process("/bin/FontEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0); +#endif #ifdef SPAWN_MULTIPLE_SHELLS Process::create_user_process("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty1); Process::create_user_process("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty2); diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh index 089873ef3e..576030aea7 100755 --- a/Kernel/makeall.sh +++ b/Kernel/makeall.sh @@ -10,6 +10,8 @@ make -C ../Userland clean && \ make -C ../Userland && \ make -C ../Terminal clean && \ make -C ../Terminal && \ +make -C ../FontEditor clean && \ +make -C ../FontEditor && \ make clean &&\ make && \ sudo ./sync.sh diff --git a/Kernel/mkf.sh b/Kernel/mkf.sh new file mode 100755 index 0000000000..2303fd7158 --- /dev/null +++ b/Kernel/mkf.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +sudo id + +make -C ../FontEditor clean && \ +make -C ../FontEditor && \ +sudo ./sync.sh + diff --git a/Kernel/sync.sh b/Kernel/sync.sh index 5c3003719e..447f40ed3f 100755 --- a/Kernel/sync.sh +++ b/Kernel/sync.sh @@ -43,6 +43,8 @@ cp -v ../Userland/guitest mnt/bin/guitest cp -v ../Userland/guitest2 mnt/bin/guitest2 cp -v ../Userland/sysctl mnt/bin/sysctl cp -v ../Terminal/Terminal mnt/bin/Terminal +cp -v ../FontEditor/FontEditor mnt/bin/FontEditor +ln -s FontEditor mnt/bin/ff cp -v ../Userland/dmesg mnt/bin/dmesg cp -v ../Userland/chmod mnt/bin/chmod sh sync-local.sh |