Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
thunar:dev:build_and_run [2025/07/18 09:47] – [Thunar - build, test, and debugging suggestions] alexxconsthunar:dev:build_and_run [2025/08/17 20:06] (current) – [Thunar - build, test, and debugging suggestions] alexxcons
Line 23: Line 23:
      
 If any dependencies are missing, meson will tell you. Depending on your distribution, installing the "dev" version of the dependent packages might be sufficient. (e.g. package: libxfc4eutil-2-dev, libxfce4ui-2-dev, ... (naming might differ between distributions)) If any dependencies are missing, meson will tell you. Depending on your distribution, installing the "dev" version of the dependent packages might be sufficient. (e.g. package: libxfc4eutil-2-dev, libxfce4ui-2-dev, ... (naming might differ between distributions))
-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 /sbin/ldconfig -v" after installing shared libaries from source)
  
 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:
Line 32: Line 32:
   build/thunar/thunar -q;G_MESSAGES_DEBUG=all build/thunar/thunar   build/thunar/thunar -q;G_MESSAGES_DEBUG=all build/thunar/thunar
  
-TODO: Support that via meson. Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar:+Here a workaround to as well test thunar plugin changes (thunar-sbr in this example) without the need to install thunar:
  
-  ./autogen.sh --with-custom-thunarx-dirs-enabled +  meson compile -C build -Dthunarx-dirs-envvar=true
-  make+
   THUNARX_DIRS=~/git/thunar/plugins/thunar-sbr/.libs ./thunar/thunar   THUNARX_DIRS=~/git/thunar/plugins/thunar-sbr/.libs ./thunar/thunar
  
Line 66: Line 65:
 Here is a small collection of useful flags which can be passed to ''meson setup'' : Here is a small collection of useful flags which can be passed to ''meson setup'' :
  
-<code>--enable-gtk-doc : Creates html documentation inside /doc/reference/thunarx/html +<code> 
---enable-introspection : for usage of the GtkInspector + 
---prefix <install_dir>: install thunar to install_dir +-Dgtk-doc=true : Creates html documentation inside /doc/reference/thunarx/html 
---enable-maintainer-mode +-Dintrospection=true 
---enable-debug=full|yes|minimum|no</code>+--buildtype=debug|release|plain</code> 
 + 
 +A full list can be found here: https://gitlab.xfce.org/xfce/thunar/-/blob/master/meson_options.txt?ref_type=heads
  
 [[|Back To Top]] [[|Back To Top]]
 ---- ----
 [[ https://docs.xfce.org/xfce/thunar/start|Return to Main thunar documentation page]] [[ https://docs.xfce.org/xfce/thunar/start|Return to Main thunar documentation page]]