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 [2021/02/03 23:55] – [Thunar - build, test, and debugging suggestions] alexxcons | thunar:dev:build_and_run [2025/01/19 09:08] (current) – alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | {{ : | + | {{ : |
====== Thunar - build, test, and debugging suggestions ===== | ====== Thunar - build, test, and debugging suggestions ===== | ||
Line 10: | Line 10: | ||
=== Building Thunar === | === Building Thunar === | ||
+ | |||
+ | First of all, check the [[https:// | ||
Clone the sources (required packages: git): | Clone the sources (required packages: git): | ||
Line 17: | Line 19: | ||
cd thunar | cd thunar | ||
- | Execute autogen (required packages: build-essential, | + | Execute autogen (required packages: build-essential, |
./ | ./ | ||
| | ||
Line 26: | Line 28: | ||
make | make | ||
- | You don't need to install | + | For testing only thunar itself, you don't need to install |
Here is my personal script for starting thunar from source: | Here is my personal script for starting thunar from source: | ||
Line 35: | Line 37: | ||
echo " | echo " | ||
./ | ./ | ||
+ | |||
+ | Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar: | ||
+ | |||
+ | ./ | ||
+ | make | ||
+ | THUNARX_DIRS=~/ | ||
---- | ---- | ||
Line 45: | Line 53: | ||
echo " | echo " | ||
./ | ./ | ||
+ | |||
+ | 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, | ||
Line 58: | Line 70: | ||
=== 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 |
< | < | ||
Line 66: | Line 78: | ||
--enable-debug=full|yes|minimum|no</ | --enable-debug=full|yes|minimum|no</ | ||
+ | Some flags need to be passed to the thunar binary: | ||
+ | < | ||
+ | |||
+ | You might want to run that via gdb to get a backtrace: | ||
+ | < | ||
[[|Back To Top]] | [[|Back To Top]] | ||
---- | ---- | ||
[[ https:// | [[ https:// |