-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix issue #115 #116
base: main
Are you sure you want to change the base?
Fix issue #115 #116
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,16 +111,34 @@ $ meson test | |
|
||
## Windows support (experimental) | ||
|
||
To run on windows, install [msys2](msys2.org) and follow the instructions to set up a development environment. Once the setup is done, install the following dependencies: | ||
To run on windows, install [msys2](msys2.org) and follow the instructions to set up a development environment. Once the configuration is done, follow the instructions: | ||
|
||
### Install the dependencies | ||
|
||
```bash | ||
$ pacman -Suy | ||
$ pacman -S git mingw-w64-ucrt-x86_64-meson mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-python3-gobject mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-gstreamer mingw-w64-ucrt-x86_64-gst-plugins-good mingw-w64-ucrt-x86_64-gtksourceview5 mingw-w64-ucrt-x86_64-librsvg mingw-w64-ucrt-x86_64-desktop-file-utils | ||
$ pacman -S git mingw-w64-ucrt-x86_64-meson mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-python3 mingw-w64-ucrt-x86_64-python3-gobject mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-gstreamer mingw-w64-ucrt-x86_64-gst-plugins-good mingw-w64-ucrt-x86_64-gtksourceview5 mingw-w64-ucrt-x86_64-librsvg mingw-w64-ucrt-x86_64-desktop-file-utils unzip meson cmake | ||
``` | ||
|
||
### Install pandoc | ||
|
||
Now we download pandoc and copy it to `/usr/bin` by entering the msys2 terminal and typing the following commands | ||
```bash | ||
$ cd /tmp # Go to temporary directory | ||
$ wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-windows-x86_64.zip # Download pandoc zip | ||
$ unzip pandoc-3.1.13-windows-x86_64.zip # Unzip it | ||
$ cp pandoc-3.1.13/pandoc.exe /usr/bin # Copy it | ||
Tom5521 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
|
||
Additionally, [download](https://pandoc.org/installing.html) and copy `pandoc.exe` to `msys2/usr/bin`. | ||
### Copy gettext files | ||
|
||
Lastly, make sure to copy gettext ITS files from `/ucrt64/share/gettext/its` to `/usr/share/gettext/its`. | ||
```bash | ||
$ mkdir -p /usr/share/gettext/its # Create the directory if it does not exist | ||
$ cp /ucrt64/share/gettext/its/* /usr/share/gettext/its -rf # and copy the files | ||
``` | ||
#### Note: in windows you have to disable the webkit by using `meson setup build -Dwebkit=disabled` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To speed this up for less technical users, let's also include the complete build steps, e.g., |
||
|
||
Lastly, make sure to copy gettext ITS files from `msys2/ucrt64/share/gettext/its` to `msys2/usr/share/gettext/its`. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lastly, something to take into account when you're contributing to a project is to "inspect" how things are organized, e.g., commit messages, directories structure, file naming, coding style, etc. The closer you follow these things the better. In this particular case, you can run For this change, a single commit is enough, and you can squash the commits using You should still add |
||
## License | ||
|
||
|
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.
Note that meson is already in this list (as mingw-w64-ucrt-x86_64-meson). As per cmake, it's not needed here, since we're not building anything else manually that requires cmake.
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.
Even so, the unzip package is necessary for the subsequent steps.
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.
Unzip is fine, the other aren't necessary.
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.
A recent change we merged made pandoc not needed anymore to build Gameeky, can you update accordingly?
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.
@Tom5521 any chance to get this done ? :)