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
xfce:building [2026/02/11 15:49] – Add build instructions for meson andreldmxfce:building [2026/05/29 08:36] (current) – [Finding additional Help] alexxcons
Line 125: Line 125:
 ===== Building the packages (meson) ===== ===== Building the packages (meson) =====
  
-<note important>This section is working in progress, it applies for building from git master and Xfce 4.21</note>+<note important>This section is currently a work in progress, it applies for building from git master and Xfce 4.21+</note>
  
 Now it is finally time to start compiling the Xfce desktop. Last remaining thing is to choose an installation location. Possible examples are ''/usr'', ''/usr/local'' and ''/opt/xfce4'' for a system-wide installation or ''$HOME/local'' if you want to install in your home directory (whatever you choose, never put spaces in the name). We will refer to this location as ${PREFIX} in the code examples below! Now it is finally time to start compiling the Xfce desktop. Last remaining thing is to choose an installation location. Possible examples are ''/usr'', ''/usr/local'' and ''/opt/xfce4'' for a system-wide installation or ''$HOME/local'' if you want to install in your home directory (whatever you choose, never put spaces in the name). We will refer to this location as ${PREFIX} in the code examples below!
Line 140: Line 140:
  
 If you install the package in a public prefix, for example ''/usr'' or ''/usr/local'', ''meson install'' will attempt to use sudo. This way, you will be asked for the system administrator password and will have write permissions to install in those locations. If you install the package in a public prefix, for example ''/usr'' or ''/usr/local'', ''meson install'' will attempt to use sudo. This way, you will be asked for the system administrator password and will have write permissions to install in those locations.
 +
 +If you want to remove the installed files, you can do so with:
 +
 +  cd build && ninja uninstall
  
 [[|Back To Top]] [[|Back To Top]]
Line 184: Line 188:
   sudo make install   sudo make install
  
 +If you want to uninstall the installed files, you can do so by executing:
 +
 +  sudo make uninstall
 ==== Understanding Debug levels ==== ==== Understanding Debug levels ====
  
Line 201: Line 208:
 ===== Finding additional Help ===== ===== Finding additional Help =====
  
-Hopefully everything went fine after reading this guide. If you still have problems or questions you can ask on the [[https://www.xfce.org/community#mail|Xfce users mailing list]], the [[https://forum.xfce.org|forum]] or ask distribution related questions on their forums and mailing lists.+Hopefully everything went fine after reading this guide. More advanced options to build and debug Xfce applications can be found [[https://wiki.xfce.org/building/advanced|here]]. 
 + 
 +If you still have problems or questions you can ask on the [[https://www.xfce.org/community#mail|Xfce users mailing list]], the [[https://forum.xfce.org|forum]] or ask distribution related questions on their forums and mailing lists.
  
 Have fun building Xfce! Have fun building Xfce!