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/05/12 22:38] – Update URL to gitlab.x.o andreldm | thunar:dev:build_and_run [2022/09/07 17:10] – [Thunar - build, test, and debugging suggestions] alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
+ | {{ : | ||
+ | ====== Thunar - build, test, and debugging suggestions ===== | ||
+ | |||
+ | * **[[# | ||
+ | * **[[# | ||
+ | * **[[#Thunar Build Flags|Thunar Build Flags]]** | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === 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:// | ||
Line 8: | Line 22: | ||
./ | ./ | ||
| | ||
- | If dependencies are missing, autogen will tell you. Depending on your distribution, | + | If any dependencies are missing, autogen will tell you. Depending on your distribution, |
- | If that does not help, you as will need to build and install | + | If that does not help, you will need to build and install the dependencies from source |
- | When autogen finished | + | When autogen |
make | make | ||
- | You dont need to install Thunar for testing, you as well can run it directly from the source folder. | + | For testing |
- | Here my personal script for starting thunar from source: | + | Here is my personal script for starting thunar from source: |
#!/bin/bash | #!/bin/bash | ||
| | ||
- | # Quit any running thunar and starts | + | # Quit any running thunar |
THUNAR_TEST_FOLDER=/ | THUNAR_TEST_FOLDER=/ | ||
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=~/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Debugging Thunar === | ||
For debugging Thunar, I use the following: | For debugging Thunar, I use the following: | ||
Line 35: | Line 59: | ||
sudo make install | sudo make install | ||
- | Note that per default Thunar will be installed in parallel to the Thunar of your distro, into the "/ | + | Note that, per default, Thunar will be installed in parallel to the Thunar of your distribution, into the "/ |
You can uninstall it with: | You can uninstall it with: | ||
sudo make uninstall | sudo make uninstall | ||
| | ||
- | For more info, check the INSTALL file in the source code ! | + | For more infoormation, check the INSTALL file in the source code! |
- | === Build Flags === | + | === Thunar |
- | Here a small collection of flags which often needs to be passed to ./ | + | Here is a small collection of useful |
- | < | + | < |
--enable-introspection : for usage of the GtkInspector | --enable-introspection : for usage of the GtkInspector | ||
--prefix < | --prefix < | ||
--enable-maintainer-mode | --enable-maintainer-mode | ||
- | --enable-debug=yes</ | + | --enable-debug=full|yes|minimum|no</ |
+ | |||
+ | Some flags need to be passed to the thunar binary: | ||
+ | < | ||
+ | [[|Back To Top]] | ||
+ | ---- | ||
+ | [[ https:// |