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/03/15 22:21] – alexxcons | thunar:dev:build_and_run [2020/09/17 01:58] – kevinbowen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
+ | {{ : | ||
+ | ====== Thunar - build, test, and debugging suggestions ===== | ||
+ | |||
+ | * **[[# | ||
+ | * **[[# | ||
+ | * **[[#Thunar Build Flags|Thunar Build Flags]]** | ||
+ | ---- | ||
+ | |||
+ | === Building Thunar === | ||
+ | |||
Clone the sources (required packages: git): | Clone the sources (required packages: git): | ||
- | git clone https://git.xfce.org/ | + | git clone https://gitlab.xfce.org/ |
Enter build folder: | Enter build folder: | ||
Line 8: | Line 19: | ||
./ | ./ | ||
| | ||
- | 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. | + | You don' |
- | 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 " | ||
./ | ./ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Debugging Thunar === | ||
For debugging Thunar, I use the following: | For debugging Thunar, I use the following: | ||
Line 35: | Line 50: | ||
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! |
- | + | ||
+ | === 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 < | ||
+ | --enable-maintainer-mode | ||
+ | --enable-debug=full|yes|minimum|no</ | ||
+ | |||
+ | [[|Back To Top]] | ||
+ | ---- | ||
+ | [[ https:// |