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 [2020/09/17 01:58] – kevinbowen | thunar:dev:build_and_run [2025/08/17 20:06] (current) – [Thunar - build, test, and debugging suggestions] alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ : | + | {{ : |
====== Thunar - build, test, and debugging suggestions ===== | ====== Thunar - build, test, and debugging suggestions ===== | ||
Line 6: | Line 6: | ||
* **[[# | * **[[# | ||
* **[[#Thunar Build Flags|Thunar Build Flags]]** | * **[[#Thunar Build Flags|Thunar Build Flags]]** | ||
+ | |||
---- | ---- | ||
=== Building Thunar === | === Building Thunar === | ||
+ | |||
+ | First of all, check the [[https:// | ||
Clone the sources (required packages: git): | Clone the sources (required packages: git): | ||
git clone https:// | git clone https:// | ||
- | Enter build folder: | + | Enter the cloned |
cd thunar | cd thunar | ||
- | Execute | + | Execute |
- | | + | |
| | ||
- | If any dependencies are missing, | + | If any dependencies are missing, |
- | 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: | ||
- | | + | |
- | You don't need to install | + | For testing only thunar itself, you don't need to install |
- | Here is my personal script for starting | + | |
- | | + | |
- | + | ||
- | # Quit any running | + | Here a workaround to as well test thunar |
- | THUNAR_TEST_FOLDER=/path/to/thunar/ | + | |
- | echo "./thunar/thunar -q;./thunar/thunar $THUNAR_TEST_FOLDER" | + | |
- | | + | THUNARX_DIRS=~/ |
---- | ---- | ||
Line 39: | Line 41: | ||
=== Debugging Thunar === | === Debugging Thunar === | ||
- | For debugging Thunar, I use the following: | + | For debugging Thunar, I use: |
- | | + | |
- | echo "./ | + | |
- | | + | Usually a good idea to bail out on the first warning: |
+ | |||
+ | | ||
+ | |||
+ | On a freeze, get a backtrace of all threads via | ||
+ | |||
+ | thread apply all bt | ||
If you want to test thunar-plugins, | If you want to test thunar-plugins, | ||
You can install Thunar with: | You can install Thunar with: | ||
- | | + | |
Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, | Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, | ||
You can uninstall it with: | You can uninstall it with: | ||
- | | + | |
- | + | ||
- | For more infoormation, | + | |
=== Thunar Build Flags === | === Thunar Build Flags === | ||
- | Here is a small collection of flags which often needs to be passed to '' | + | Here is a small collection of useful |
+ | |||
+ | < | ||
+ | |||
+ | -Dgtk-doc=true : Creates html documentation inside / | ||
+ | -Dintrospection=true | ||
+ | --buildtype=debug|release|plain</ | ||
- | < | + | A full list can be found here: https:// |
- | --enable-introspection : for usage of the GtkInspector | + | |
- | --prefix < | + | |
- | --enable-maintainer-mode | + | |
- | --enable-debug=full|yes|minimum|no</ | + | |
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
[[ https:// | [[ https:// |