summaryrefslogtreecommitdiff
path: root/utils/common/deploy.py (unfollow)
Commit message (Collapse)Author
2016-01-17update deploy.py to recognize and use Qt5Cástor Muñoz
Change-Id: Ied8c9d153a34bd8b689a34e45708262cede5348d
2015-06-07Append build date when building dev version from local foler.Dominik Riebeling
Change-Id: I1172cb0c4910f1d49b6a5d1125a809491a5aba9c
2015-05-30Make revision handling work when building from local folder.Dominik Riebeling
Change-Id: I8e6cc0eb8a5bff722bf5278ffa7685436c3d846a
2015-05-30Fix path creation for zip file names in current folder.Dominik Riebeling
When building in the current tree (i.e. buildfolder ending up as '.') creating the filename to use in the zip file stripped all '.' characters. Use a different way to create the filename to avoid this. Change-Id: I139c404d5e83a8bcb028a9a22b125f238911e405
2015-05-30Update findversion for change version.h format.Dominik Riebeling
version.h doesn't store the version number as string anymore. Update findversion to use the individual values instead. Change-Id: I6bf0fdd4420d41279b44cffd22b42febbfc778ce
2012-03-06Correctly insert build ID.Dominik Riebeling
Change-Id: I35a85ffd78bd0a56a31d6ba0abbd6102727155d4
2012-02-26Append "64bit" only on 64bit binary.Dominik Riebeling
Don't rely on the build host having the same bitsize as the created binary. Fixes building a 32bit binary getting a "64bit" postfix when built on a 64bit Linux. Change-Id: I2aa61dee82beddd60ebfc8e227551ea49d769664
2012-02-05Update deployment script for git.Dominik Riebeling
First and rather rough adjustment for git. There are still a lot of places referring to svn, and various functionality might be broken which needs fixing later. Change-Id: Ia628f06e99f527e01f131ce674746fba77d97d23
2011-08-14Remove use of which.py module.Dominik Riebeling
Implement simple which functionality. This has less features than which.py but is sufficient, and removing an external dependency is always good. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30315 a1c6a512-1295-4272-9138-f99709370657
2011-05-08Fix BUILDID getting appended even if not set.Dominik Riebeling
Rename some stuff to make it clearer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29836 a1c6a512-1295-4272-9138-f99709370657
2011-05-05deploy.py: support adding a build id.Dominik Riebeling
Add support for passing and injecting a build ID to the souces prior to compiling. Allows to easily create rebuilds of Rockbox Utility without creating false positives on update detection. Fix a typo in version.h. Thanks to sideral for noting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29825 a1c6a512-1295-4272-9138-f99709370657
2011-04-06deploy.py: insert version number into sources.Dominik Riebeling
After downloading the sources insert the number of the revision checked out into the code. Results in the Rockbox Utility about dialog showing the actual revision instead of the one of the last change to version.h. Only applied when building from trunk for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29684 a1c6a512-1295-4272-9138-f99709370657
2011-03-06Fix a potential variable problem. Change some messages a bit.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29534 a1c6a512-1295-4272-9138-f99709370657
2011-03-06Support cross compiling for Windows target.Dominik Riebeling
Restructure deploy.py by moving the platform decisions out of the calling scripts. This is necessary when cross compiling since this is only decided in deploy.py. Add support for passing a cross compiler prefix on the command line and always build targeting Windows if set. Correct some whitespace errors and long lines while at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29531 a1c6a512-1295-4272-9138-f99709370657
2010-12-19Use more than one core in deployment script.Dominik Riebeling
Try to detect the number of cores in the system and use that value for make -j. Gives a noticable speedup depending on the system (OS X doesn't seem to benefit from it). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28859 a1c6a512-1295-4272-9138-f99709370657
2010-09-23Fix matching of DLL name in deployment script.Dominik Riebeling
Allow DLL filenames to contain the plus sign. Fixes libstdc++-6.dll not getting recognized as DLL. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28150 a1c6a512-1295-4272-9138-f99709370657
2010-08-30Support resolving of DLLs when running on Windows.Dominik Riebeling
Resolve the DLLs required by the built executable and try to add the required DLL files that are not recognized as system libraries to the resulting zip / NSIS installer. This means that it's now possible to easily build both Theme Editor and Rockbox Utility as dynamically linked binary without the risk of missing required DLLs in the package. The major advantage of this is that it's not necessary anymore to have a statically built Qt installation for building releases. The drawback is that the created binaries will rely on additional DLL files, so it's no longer a single-run binary. Binary release of Rockbox Utility should still be statically build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27945 a1c6a512-1295-4272-9138-f99709370657
2010-08-09deploy.py: Figure installer filename from NSIS script.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27764 a1c6a512-1295-4272-9138-f99709370657
2010-08-08Support running NSIS from deployment script.Dominik Riebeling
This requires a few workarounds since NSIS expects files in the source folder but the build scripts run out-of-tree. Only added for Theme Editor for now, since Rockbox Utility doesn't have a NSIS script yet (and an installer for Rockbox Utility might not be that useful). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27759 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Correct OS X post-build bundle copying.Dominik Riebeling
Make copying files to the bundle work when building other applications than Rockbox Utility by replacing a hardcoded workaround. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27606 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Add deployment script for Theme Editor.Dominik Riebeling
Also move scripts to utils folder, in preparation of merging rbutil and utils folders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27600 a1c6a512-1295-4272-9138-f99709370657
2010-07-28Restructure and rename deploy-release.py.Dominik Riebeling
Move actual working functionality into a python module, and write a simple script to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27598 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Generalize the application bundle copy workaround to simplify later reuse.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27377 a1c6a512-1295-4272-9138-f99709370657
2010-06-23Detect when building for 64bit Linux and adjust tarball name.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27095 a1c6a512-1295-4272-9138-f99709370657
2010-06-11deploy-release: Make upx part optional and disable it.Dominik Riebeling
upx doesn't like the Rockbox Utility binaries built with MinGW's gcc 4.5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26794 a1c6a512-1295-4272-9138-f99709370657
2010-06-08Use program name variable instead of hardcoded name.Dominik Riebeling
This allows easier reuse for other tools (like the theme editor). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26702 a1c6a512-1295-4272-9138-f99709370657
2010-03-31Add build folder cleanup on build errors and add option to keep it.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25411 a1c6a512-1295-4272-9138-f99709370657
2010-02-28Rename Rockbox Utility output binary to RockboxUtility.Dominik Riebeling
This will also cause the archives created by deploy-release.py to use the new binary name, so also update the update checking code to accept any base filename when retrieving version numbers from the download server. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24980 a1c6a512-1295-4272-9138-f99709370657
2010-01-24Merge rbutil CREDITS file with main one and use that.Dominik Riebeling
Similar to removing the separate CREDITS file for the manual remove the rbutil one as discussed on IRC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24329 a1c6a512-1295-4272-9138-f99709370657
2009-11-29Add support for OS X.Dominik Riebeling
- make the deploy script work on OS X. - use macdeployqt for copying Frameworks macdeployqt is part of Qt, at least since 4.5. - add a workaround for Qt not copying icons and plist file correctly when building out of tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23789 a1c6a512-1295-4272-9138-f99709370657
2009-11-20Add docs/COPYING to rbutil source folder and make checkout slightly more robust.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23679 a1c6a512-1295-4272-9138-f99709370657
2009-11-04Use mingw32-make when deploy-building on Windows / MinGW as make might not ↵Dominik Riebeling
be the MinGW version one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23525 a1c6a512-1295-4272-9138-f99709370657
2009-10-30Catch import errors for modules that are not part of python.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23427 a1c6a512-1295-4272-9138-f99709370657
2009-10-30Building Rockbox Utility now also needs telechips.[ch].Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23425 a1c6a512-1295-4272-9138-f99709370657
2009-10-22Add simple progress indicator when building.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23317 a1c6a512-1295-4272-9138-f99709370657
2009-10-05Add some more options to rbutil deploy script.Dominik Riebeling
- Allow building the source tarball only - Allow building the binary only - Allow building the binary dynamically linked. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22964 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Add command line option for adding additional files to the build folder.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22928 a1c6a512-1295-4272-9138-f99709370657
2009-10-04Rework rbutil deployment script.Dominik Riebeling
- When building from trunk or a tag, retrieve the sources to build from svn. - Create a source archive as well. - Default to building from trunk instead of using a local source copy. - Disable creation of a source tarball when building from a local source tree. - Build in the systems temporary folder when building with sources from svn. - Display a short summary of the files created on success. - Disable the use of ccache when building. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22923 a1c6a512-1295-4272-9138-f99709370657
2009-10-03Add command line option to specify project file for deploying out-of-tree.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22898 a1c6a512-1295-4272-9138-f99709370657
2009-10-03Handle which not returning anything when searching for qmake.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22895 a1c6a512-1295-4272-9138-f99709370657
2009-10-03Refactor rbutil deploy script.Dominik Riebeling
- refactor some duplicated code. - fix a wrong exit() call. - improve build failure detection and abort on errors instead of going on. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22894 a1c6a512-1295-4272-9138-f99709370657
2009-09-20Substract the correct number of minutes when calculating the durations ↵Dominik Riebeling
seconds part. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22752 a1c6a512-1295-4272-9138-f99709370657
2009-09-20Fix short version of qmake command option. Add display of building time.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22751 a1c6a512-1295-4272-9138-f99709370657
2009-08-15Set svn:executable property.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22332 a1c6a512-1295-4272-9138-f99709370657
2009-06-18Initial script to automate rbutil release builds.Dominik Riebeling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21339 a1c6a512-1295-4272-9138-f99709370657