summaryrefslogtreecommitdiffstats
path: root/bin/patch_capabilities.pl
Commit message (Collapse)AuthorAgeFilesLines
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Improve patch_capabilities script output.Miikka Heikkinen2011-10-261-7/+8
| | | | | | | | Now prefix any actual patching errors with "ERROR:" so that they will be obvious also in QtCreator builds. Task-number: QTBUG-22267 Reviewed-by: Sami Merila
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Make createpackage and patch_capabilties scripts use tmp dirMiikka Heikkinen2011-03-221-13/+37
| | | | | | | | Temporary files created by these two scripts will now be created under a separate directory, contents of which is also added to cleanup. Task-number: QTBUG-11394 Reviewed-by: axis
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Unify epocroot usage in createpackage and patch_capabilities scriptsMiikka Heikkinen2010-12-031-4/+12
| | | | | | | | Some tools calls required epoc32/tools to be in path and some didn't. Now all tools calls will use tools from under %EPOCROOT%epoc32/tools if EPOCROOT env variable is defined. Reviewed-by: Janne Koskinen
* Only patch package content that is necessary for self-signingMiikka Heikkinen2010-11-251-102/+113
| | | | | | | | | | | | | | | Automatic patching was modifying all package files in ways that only made sense for very limited set of projects. Some things were also no longer necessary due other developments, so dropped the dependency, embedded sis, and manufacturer check modifications. Also provided an option to do a self-signed compatibility check for the package instead of patching it automatically by specifying "-d" parameter in QT_SIS_OPTIONS env variable or createpackage command line, depending on how package is made. Task-number: QTBUG-15561 Reviewed-by: axis
* Add Location as self signable capability in patch_capabilities.plMiikka Heikkinen2010-11-121-1/+5
| | | | | | | | | | | Location was not originally included in self-signable set, since in S60 3.1 devices it is not so. However, it is a lesser of two evils to make applications with Location capability not install on 3.1 devices than make them not work correctly on any devices, so Location is now included in the self-signable set in patch_capabilities.pl. Task-number: QTBUG-13891 Reviewed-by: Janne Koskinen
* Fix patch_capabilities.pl script for explicit set of capabilitiesMiikka Heikkinen2010-10-261-0/+3
| | | | | | | | | Elftran command never got executed when explicit set of capabilities was defined. No warning or error was printed either, making it rather confusing for user. Task-number: QTBUG-14730 Reviewed-by: Janne Koskinen
* Disallow patching capabilities of executablesMiikka Heikkinen2010-09-231-5/+21
| | | | | | | | | | | | All of the assigned capabilities of executables are likely to be actually needed unlike those of dlls, so do not create a patched sis for an application with non-self-signable capabilities. Similarly block creation of a patched package if any executable has a protected range SID, as installer will refuse to install such a package anyway. Task-number: QTBUG-13886 Reviewed-by: Janne Koskinen
* Improved output of patch_capabilities.pl scriptMiikka Heikkinen2010-09-211-19/+64
| | | | | | | | | More detailed output of what was patched reduces user confusion. Properly prefixed output messages can also be easily parsed by IDEs like Qt Creator. Task-number: QTBUG-13760 Reviewed-by: Janne Koskinen
* Fix gcce building of apps using static libraries in symbian-sbsv2Miikka Heikkinen2010-08-311-1/+8
| | | | | | | | | Removed usage of buggy .release_gcce target from symbian-sbsv2 generated makefiles. Now gcce builds like armv5 as it is supposed to when using Raptor. Task-number: QTBUG-13307 Reviewed-by: axis
* Allow commenting of individual files in generated pkg files.axis2010-07-151-1/+1
| | | | RevBy: Jason Barron
* Provide 'make unsigned_sis' target for Symbian mkspecsMiikka Heikkinen2010-06-161-1/+2
| | | | | | | | | | | Rationale for this is that currently there is no simple way to create a sis package that can be properly signed via Symbian open signed mechanism, as 'make sis' will by default use self-signed certificates and automatically patch capabilities of binaries to remove non-self-signable ones. Task-number: QTBUG-11455 Reviewed-by: Janne Koskinen
* Fixed automatic patching of self-signed packagesMiikka Heikkinen2010-04-161-6/+21
| | | | | | | | | | | | - Don't autopatch when just preprocessing pkg or creating stub package - Copy binaries before patching so that originals are preserved. - Only autopatch the preprocessed file so that original template is preserved. - Added clear warning to patch_capabilities.pl to notify users that patched package is not suitable for distribution. Task-number: QTBUG-9972 Reviewed-by: Shane Kearns
* Made redirection to /dev/null cross platform.axis2010-03-011-1/+4
|
* Made patch_capabilities.pl not raise capabilities unnecessarily.axis2010-03-011-12/+40
|
* Switched the order of message and execution in patch_capabilities.axis2010-02-261-1/+1
| | | | | It seems more natural to have the message first, so that you can tell which file is taking long to complete.
* Enabled patch_capabilities to work on Linux.axis2010-02-261-3/+8
|
* Don't remove all dependencies when patching the pkg.Miikka Heikkinen2010-02-081-3/+7
| | | | | | | | Only remove dependencies that are known to cause unncessary warnings from pkg files when patching them with patch_capabilities.pl script. Task-number: QTBUG-8018 Reviewed-by: Janne Koskinen
* Added support for ifdeffing for manufacturer in generated pkg filesMiikka Heikkinen2010-01-281-1/+24
| | | | | | | | | | | | DEPLOYMENT.manufacturers variable can be used to define manufacturer identifiers. DEPLOYMENT.manufacturers.fail_note variable can be used to define a file that contains the text to be shown in case of failed manufacturer check. Task-number: QTBUG-7695 Reviewed-by: Janne Koskinen
* Added support for embedded sis name/uid patching for SymbianMiikka Heikkinen2010-01-271-1/+20
| | | | | | | | | | | Patch_capabilities.pl script now also patches any embedded sis file entries in pkg to embed corresponding *_selfsigned.sis instead. Also the script now removes dependencies to other packages from patched pkg to reduce unnecessary warnings about missing dependencies when said dependencies were installed via patched sises. Reviewed-by: Janne Koskinen
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Update patch_capabilities.pl help to be a little bit clearerIain2009-09-251-2/+2
| | | | | | | | I certainly didn't read it well enough to notice I needed the third parameter with template pkg files. Reviewed-by: Jason Barron (cherry picked from commit 36304a764fb4ee0cc7cc26033c05c8d70c87b4b5)
* Fix permissions on files in bin directory.Jason McDonald2009-09-221-0/+0
| | | | Reviewed-by: Trust Me
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update license headersJason McDonald2009-09-041-3/+42
| | | | Reviewed-by: Trust Me
* Fixed patch_capabilites to patch also template pkg UID.Janne Anttila2009-09-031-6/+23
| | | | Reviewed-by: Miikka Heikkinen
* Trivial fixes for trailing spaces etcJanne Anttila2009-08-311-5/+5
| | | | Reviewed-by: TrustMe
* Added support for template .plg files to patch_capabilities.pl script.Janne Anttila2009-08-311-6/+25
| | | | | | | | | | | | patch_capabilities.pl now supports both template pkg files and makesis 'ready' pkg files. If template pkg file is given next argument has to be 'target-platform' Usage: patch_capabilities.pl pkg_filename [target-platform] [capabilies] If template .pkg file is given, next agrument must be 'target-platform' E.g. patch_capabilities.pl myapp_template.pkg release-armv5 \"All -TCB\" Reviewed-by: Miikka Heikkinen
* Update license headers according to commit 858c70f768e.axis2009-08-061-2/+2
| | | | RevBy: Trust me
* Patching capabilities now patches also the pkg file UID.Miikka Heikkinen2009-06-181-2/+14
|
* Also patch vendor id in patch_capabilities.pl script.Miikka Heikkinen2009-06-101-1/+1
|
* Fixed pkg file parsing in patch_capabilities.plMiikka Heikkinen2009-05-131-23/+23
|
* Long live Qt for S60!axis2009-04-241-0/+95