Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
thunar:dev:build_and_run [2020/02/28 08:02] – alexxcons | thunar:dev:build_and_run [2021/11/13 21:57] – [Thunar - build, test, and debugging suggestions] alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | For more details, check the INSTALL file in the source code ! | + | ~~NOTOC~~ |
+ | {{ : | ||
+ | ====== Thunar - build, test, and debugging suggestions ===== | ||
- | TODO: Add instructions | + | * **[[# |
+ | * **[[# | ||
+ | * **[[#Thunar Build Flags|Thunar Build Flags]]** | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Building Thunar === | ||
+ | |||
+ | Clone the sources (required packages: git): | ||
+ | git clone https:// | ||
+ | |||
+ | Enter build folder: | ||
+ | cd thunar | ||
+ | |||
+ | Execute autogen (required packages: build-essential, | ||
+ | ./ | ||
+ | |||
+ | If any dependencies are missing, autogen will tell you. Depending | ||
+ | If that does not help, you will need to build and install the dependencies from source as well. | ||
+ | |||
+ | When autogen has finished successfully (all required dependencies have been installed), you can build thunar: | ||
+ | make | ||
+ | |||
+ | You don't need to install Thunar for testing, you can run it directly from the source folder. | ||
+ | Here is my personal script for starting thunar from source: | ||
#!/bin/bash | #!/bin/bash | ||
+ | | ||
+ | # Quit any running thunar instance and start a new thunar from source. Enable debug messages | ||
THUNAR_TEST_FOLDER=/ | THUNAR_TEST_FOLDER=/ | ||
echo " | echo " | ||
./ | ./ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Debugging Thunar === | ||
+ | |||
+ | For debugging Thunar, I use the following: | ||
+ | |||
+ | #!/bin/bash | ||
+ | echo " | ||
+ | ./ | ||
+ | |||
+ | If you want to test thunar-plugins, | ||
+ | |||
+ | You can install Thunar with: | ||
+ | sudo make install | ||
+ | |||
+ | Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, | ||
+ | You can uninstall it with: | ||
+ | sudo make uninstall | ||
| | ||
- | | + | For more infoormation, |
+ | |||
+ | === Thunar Build Flags === | ||
+ | Here is a small collection of flags which often needs to be passed to '' | ||
+ | |||
+ | < | ||
+ | --enable-introspection : for usage of the GtkInspector | ||
+ | --prefix < | ||
+ | --g-fatal-warnings : Lets thunar crash an any warning/ | ||
+ | --enable-maintainer-mode | ||
+ | --enable-debug=full|yes|minimum|no</ | ||
+ | |||
+ | [[|Back To Top]] | ||
+ | ---- | ||
+ | [[ https:// |