![]() If you are writing multi-line comment, please use the same style with existing comments.If you want some features and you can implement it, PRs are always welcome, but there are some rules or personal habits: ![]() If you run this program in windowed mode ( -w), it will only create one window. This program has multi-monitor support when it is started as fullscreen, but adding/removing monitors while program is running is not supported, and you should not do this. On Windows, program will use nf under the same directory as program.įnf should be installed with the binary by Meson. If per-user configuration file does not exist, it will use /etc/nf or nf under sysconfdir you choosed while building. On Linux, program will first use $XDG_CONFIG_HOME/nf, if XDG_CONFIG_HOME is not set or file does not exist, it will use $HOME/.config/nf. It may be obsolete because I don't have enough time to update the Android wrapper. Go to flipclock dir under your prefix directory, you can now find flipclock.scr and right click it to install it as a screensaver.You can change prefix argument to other path you created in Step 2, but you need to use UNIX style slash instead of backslash because it's escape character in C. Run mkdir build & cd build & meson setup -prefix=d:/flipclock-prefix -buildtype=release. Change dir to where you put this project.Open 圆4 Native Tools Command Prompt for VS 2019 from Start Menu, or other architectures you need.Create a prefix directory, for example d:/flipclock-prefix, program files will be installed into it.Thanks to Meson which handles all dirty things, its SDL2 wrap works good and I managed to tweak it to build a static linked program automatically if no pre-built dependency found. Windows is a horrible platform for developers: there is no package manager so you have to package all dependencies, Visual Studio is slow and complex on adding dependenvies. It might be quite hard for some Windows users to understand how hard to build static libraries. Anyone who knows compiling, linking and loading won't complain. I saw a windows user says "This program has dlls in its folder so it's not simple!" and I got angry. If you want to install this to your system, you could use mkdir build & cd build & meson setup -prefix=/usr -buildtype=release.Install a C compiler, Meson, Ninja, libc, libm, SDL2 and SDL2_ttf.Please note I may not have time to build every version for Windows, just pick the latest available one. Just download file with win in its name from release page, extract it and right click flipclock.scr to install it as a screensaver. Please help package FlipClock to your distribution! Windows # flatpak install flathub & flatpak run
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |