mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Move source files to /src
This commit is contained in:
parent
4daff1ba79
commit
033ff07abf
2685 changed files with 9 additions and 7 deletions
14
README.md
14
README.md
|
@ -8,7 +8,7 @@ Raspberry Pi Imaging Utility
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The main code of the Imaging Utility is made available under the terms of the Apache license.
|
The main code of the Imaging Utility is made available under the terms of the Apache license.
|
||||||
See license.txt and files in "dependencies" folder for more information about the various open source licenses that apply to the third-party dependencies used such as Qt, libarchive, drivelist, mountutils and libcurl.
|
See license.txt and files in "src/dependencies" folder for more information about the various open source licenses that apply to the third-party dependencies used such as Qt, libarchive, drivelist, mountutils and libcurl.
|
||||||
|
|
||||||
## How to rebuild
|
## How to rebuild
|
||||||
|
|
||||||
|
@ -77,7 +77,9 @@ git clone --depth 1 https://github.com/raspberrypi/rpi-imager
|
||||||
|
|
||||||
```
|
```
|
||||||
cd rpi-imager
|
cd rpi-imager
|
||||||
cmake .
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
cmake ../src
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
@ -101,10 +103,10 @@ If NOT and are you only compiling for your own personal use, comment out all lin
|
||||||
Building can be done manually using the command-line, using "cmake", "make", etc., but if you are not that familar with setting up a proper Windows build environment (setting paths, etc.), it is easiest to use the Qt creator GUI instead.
|
Building can be done manually using the command-line, using "cmake", "make", etc., but if you are not that familar with setting up a proper Windows build environment (setting paths, etc.), it is easiest to use the Qt creator GUI instead.
|
||||||
|
|
||||||
- Download source .zip from github and extract it to a folder on disk
|
- Download source .zip from github and extract it to a folder on disk
|
||||||
- Open CMakeLists.txt in Qt creator.
|
- Open src/CMakeLists.txt in Qt creator.
|
||||||
- For builds you distribute to others, make sure you choose "Release" in the toolchain settings and not the debug flavour.
|
- For builds you distribute to others, make sure you choose "Release" in the toolchain settings and not the debug flavour.
|
||||||
- Menu "Build" -> "Build all"
|
- Menu "Build" -> "Build all"
|
||||||
- Result will be in ../build_rpi-imager_someversion
|
- Result will be in build_rpi-imager_someversion
|
||||||
- Go to the BUILD folder, right click on the .nsi script "Compile NSIS script", to create installer.
|
- Go to the BUILD folder, right click on the .nsi script "Compile NSIS script", to create installer.
|
||||||
|
|
||||||
Note: the CMake integration in Qt Creator is a bit flaky at times. If you made any custom changes to the CMakeLists.txt file and it subsequently gets in an endless loop where it never finishes the "configures" stage while re-processing the file, delete "build_rpi-imager_someversion" directory and try again.
|
Note: the CMake integration in Qt Creator is a bit flaky at times. If you made any custom changes to the CMakeLists.txt file and it subsequently gets in an endless loop where it never finishes the "configures" stage while re-processing the file, delete "build_rpi-imager_someversion" directory and try again.
|
||||||
|
@ -121,9 +123,9 @@ During installation, choose a Qt 5.x edition and CMake.
|
||||||
#### Building
|
#### Building
|
||||||
|
|
||||||
- Download source .zip from github and extract it to a folder on disk
|
- Download source .zip from github and extract it to a folder on disk
|
||||||
- Start Qt Creator (may need to start "finder" navigate to home folder using the "Go" menu, and find Qt folder to start it manually as it may not have created icon in Applications), and open CMakeLists.txt
|
- Start Qt Creator (may need to start "finder" navigate to home folder using the "Go" menu, and find Qt folder to start it manually as it may not have created icon in Applications), and open src/CMakeLists.txt
|
||||||
- Menu "Build" -> "Build all"
|
- Menu "Build" -> "Build all"
|
||||||
- Result will be in ../build_rpi-imager_someversion
|
- Result will be in build_rpi-imager_someversion
|
||||||
- For distribution to others: code sign the .app, create a DMG, code sign the DMG, submit it for notarization to Apple and staple the notarization ticket to the DMG.
|
- For distribution to others: code sign the .app, create a DMG, code sign the DMG, submit it for notarization to Apple and staple the notarization ticket to the DMG.
|
||||||
|
|
||||||
E.g.:
|
E.g.:
|
||||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -4,5 +4,5 @@
|
||||||
#export DH_VERBOSE = 1
|
#export DH_VERBOSE = 1
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@ --sourcedirectory=src
|
||||||
|
|
||||||
|
|
0
.gitignore → src/.gitignore
vendored
0
.gitignore → src/.gitignore
vendored
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue