Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
thunar:dev:build_and_run [2025/07/18 09:44] – Update to meson build alexxcons | thunar:dev:build_and_run [2025/08/17 20:06] (current) – [Thunar - build, test, and debugging suggestions] alexxcons | ||
---|---|---|---|
Line 16: | Line 16: | ||
git clone https:// | git clone https:// | ||
- | Enter build folder: | + | Enter the cloned |
cd thunar | cd thunar | ||
Line 23: | Line 23: | ||
| | ||
If any dependencies are missing, meson will tell you. Depending on your distribution, | If any dependencies are missing, meson will tell you. Depending on your distribution, | ||
- | If that does not help, you will need to build and install the dependencies from source as well. | + | If that does not help, you will need to build and install the dependencies from source as well. (You might need to run "sudo / |
When autogen has finished successfully (all required dependencies have been installed), you can build thunar: | When autogen has finished successfully (all required dependencies have been installed), you can build thunar: | ||
meson compile -C build | meson compile -C build | ||
- | For testing only thunar itself, you don't need to install it. You can run it directly from the source folder. (Though if you want to test thunar plugins, you will need to install) | + | For testing only thunar itself, you don't need to install it. You can run it directly from the source folder. (Though if you want to test thunar plugins, you will need to install): |
- | Here is my personal script for starting thunar from source: | + | |
- | | + | build/ |
- | + | ||
- | # Quit any running thunar instance and start a new thunar from source. Enable debug messages | + | |
- | THUNAR_TEST_FOLDER=/ | + | |
- | THUNAR=build/ | + | |
- | $THUNAR | + | |
- | TODO: Support that via meson. | + | Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar: |
- | | + | |
- | make | + | |
THUNARX_DIRS=~/ | THUNARX_DIRS=~/ | ||
Line 72: | Line 65: | ||
Here is a small collection of useful flags which can be passed to '' | Here is a small collection of useful flags which can be passed to '' | ||
- | < | + | < |
- | --enable-introspection : for usage of the GtkInspector | + | |
- | --prefix < | + | -Dgtk-doc=true : Creates html documentation inside / |
- | --enable-maintainer-mode | + | -Dintrospection=true |
- | --enable-debug=full|yes|minimum|no</ | + | --buildtype=debug|release|plain</ |
+ | |||
+ | A full list can be found here: https:// | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
[[ https:// | [[ https:// |