Difference between revisions of "User:Oldman/A layman's guide/Making wallpaper available in an ISO image."

From ReactOS Wiki
Jump to: navigation, search
m
m (Deleted some incomplete information)
Line 1: Line 1:
This guide will show you how to make wallpaper available and add more, so that the installation of your locally compiled ISO will have wallpaper available to add to your desktop.
+
This guide will show you how to make wallpaper available, so that the installation of your locally compiled ISO will have wallpaper available to add to your desktop.
 
 
The wallpaper folder in the '''source''' directory, in '''\reactos\modules\wallpapers'''
 
 
 
Examples: '''E:\ReactOS_Development\Source\reactos\modules\wallpapers''' or  '''/home/RosBuild/source/reactos/modules/wallpapers'''
 
 
 
 
 
  
 
====Windows====
 
====Windows====

Revision as of 15:28, 4 July 2020

This guide will show you how to make wallpaper available, so that the installation of your locally compiled ISO will have wallpaper available to add to your desktop.

Windows

In your source directory, go into the reactos directory and find configure.cmd

Example: E:\ReactOS_Development\Source\reactos\configure.cmd

And in a text editor go to line 189, which should look like the line shown below (only the first part shown)

cmake -G %CMAKE_GENERATOR% -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=%MINGW_TOOCHAIN_FILE%

and add -DENABLE_WALLPAPERS=1 into the line, like so:

cmake -G %CMAKE_GENERATOR% -DENABLE_CCACHE:BOOL=0 -DENABLE_WALLPAPERS=1 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=%MINGW_TOOCHAIN_FILE%

then save and compile.

Unix

In your source directory, go into the reactos directory and find configure.sh

Example: /home/RosBuild/source/reactos/configure.sh

And in a text editor go to line 52, which should look like the line shown below (only the first part shown)

cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake

add -DENABLE_WALLPAPERS=1 into the line, like so:

cmake -G "$CMAKE_GENERATOR" -DENABLE_CCACHE:BOOL=0 -DENABLE_WALLPAPERS=1 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-gcc.cmake

then save and compile.


NOTE: If the code is changed in the configure script, then the line numbers where you need to make the addition, may also change.


Layman's guides