83 Commits

Author SHA1 Message Date
Anirudha Bose
bea1810af6 Change Cling's installer icon to use LLVM logo 2014-06-18 09:51:02 +02:00
Anirudha Bose
f461f9544b Maintain an extended path in dist-files.mk for better accuracy
This is needed to resolve some duplicate files installed during "make install"
by default.
2014-06-18 09:51:02 +02:00
Anirudha Bose
19014400d4 Version key "FileVersion" is required in cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
62f0148773 Add a mechanism to override default URL of Cling's git repo
Also handle cases where existing origin is different to the supplied origin.
2014-06-18 09:51:02 +02:00
Anirudha Bose
b029fbb5de Hard code cling.exe to be included in the package 2014-06-18 09:51:02 +02:00
Anirudha Bose
c5bd3ea1a3 Translate Cygwin pathname to Windows format for makensis.exe 2014-06-18 09:51:02 +02:00
Anirudha Bose
e41724157b Add icons for NSIS installer and uninstaller 2014-06-18 09:51:02 +02:00
Anirudha Bose
23c4bc0868 Enable building nsis executable from cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
ca100adf9d Use valid VIProductVersion key in cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
967175fc5c Use Windows style absolute paths in cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
6483f480f1 Change mode of nsis directory to 775
Grant read and execute permissions to nsis executables
2014-06-18 09:51:02 +02:00
Anirudha Bose
17ea31cd78 Add "unzip" to list of requirements in Windows 2014-06-18 09:51:02 +02:00
Anirudha Bose
15ca2b1064 Generate nsi script with --current-dev=nsis and last-stable=nsis 2014-06-18 09:51:02 +02:00
Anirudha Bose
5b9937769e Add uninstallation capabilities in cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
3fa5f6d5fd Use solid LZMA compression in NSIS installer 2014-06-18 09:51:02 +02:00
Anirudha Bose
6a321be404 Add section "Mainfiles" to NSI script
Section contains a list of files to be packaged in the installer
2014-06-18 09:51:02 +02:00
Anirudha Bose
401aa8514e Initial metadata for cling.nsi 2014-06-18 09:51:02 +02:00
Anirudha Bose
ca87015367 No need to run ldconfig in debian/postinst
Clang libraries are not distributed anymore.
2014-06-18 09:51:02 +02:00
Anirudha Bose
9fd7e3d3c7 Delay fetching of tags for --last-stable
In case of a fresh clone of cling, script could not perform "git describe"
2014-06-10 21:56:01 +02:00
Anirudha Bose
17087b930b CPT: Update README.md 2014-06-10 21:56:01 +02:00
Anirudha Bose
95c8088d21 Remove message for MSVC
CPT can now check for Visual Studio 11.0 installation. Remove unnecessary message.
2014-06-10 21:56:00 +02:00
Anirudha Bose
2978f646e6 Enable querying of Windows registry for Visual Studio 11.0 installation 2014-06-10 21:56:00 +02:00
Anirudha Bose
c7163994f2 No need to check if OS is Cygwin again 2014-06-10 21:56:00 +02:00
Anirudha Bose
72b1c09fa7 Update README.md for CPT 2014-06-10 21:56:00 +02:00
Anirudha Bose
b22a1622df Create README.md for CPT 2014-06-10 21:56:00 +02:00
Anirudha Bose
97739fa19d Replace cURL with wget to enable recursive downloading 2014-06-10 21:56:00 +02:00
Anirudha Bose
a051817247 Implement live check for latest version of NSIS 2014-06-10 21:56:00 +02:00
Anirudha Bose
fdec3a5a1d Add new options to generate an NSIS installer 2014-06-10 21:56:00 +02:00
Anirudha Bose
40da1cba1d Add entries of docs and share for Cling in dist-files.mk 2014-06-10 21:56:00 +02:00
Anirudha Bose
00e9ba7877 Disable installing LLVM/Clang libraries in all other cases 2014-06-10 21:56:00 +02:00
Anirudha Bose
e47f68fcff Automatically resolve missing dependencies in Ubuntu
This may not be so straight in case of Cygwin.
2014-06-10 21:56:00 +02:00
Anirudha Bose
8111c0f1ad Also check Cygwin when --check-requirements is passed (to keep users happy)
This may also be useful (in future) if some user launches CPT using MSYS
Also remove some extra instructions. We can provide a link to the
documentation when it is complete.
2014-06-10 21:56:00 +02:00
Anirudha Bose
9649d8ac8e Use cat command and EOT to print large messages instead of echo 2014-06-10 21:56:00 +02:00
Anirudha Bose
f1e392f9c0 Use RFC 2822 format in timestamp for cross-platform compatibility 2014-06-10 21:56:00 +02:00
Anirudha Bose
1c2eac4225 Use absolute paths to locate packaging scripts 2014-06-10 21:56:00 +02:00
Anirudha Bose
2875e4d3e4 Exclude unnecessary libraries of LLVM and Clang from Cling's build
Use dist-files.mk to keep track of files to be distributed with Cling.
2014-06-04 09:20:14 +02:00
Anirudha Bose
5e4fcade73 Enable running of Cling test suite post compilation 2014-06-04 09:20:14 +02:00
Anirudha Bose
3e69e4eb0a Fix spacer issues on Cygwin 2014-06-04 09:20:14 +02:00
Anirudha Bose
6e9dc31dae Add function to clean up redundant files and folders 2014-06-04 09:20:14 +02:00
Anirudha Bose
1828ae8d1d Prettify text printing with box drawings like in the Debian build logs 2014-06-04 09:20:14 +02:00
Anirudha Bose
b7f72ce212 Prevent skipping of the signing of Debian package when VERSION is 0.1 2014-06-04 09:20:14 +02:00
Anirudha Bose
16d6dbd1cc Wrap long commit messages to 75 columns wide following Debian Policy
Old changelogs (prior to tag v0.1) do not need wrapping. Debian Policy Manual
suggests changelog entries should not exceed 80 columns. The "fmt" tool
provided by GNU Coreutils wraps text to 75 columns by default. This can be
modified by: fmt --split-only --width=80
2014-06-04 09:20:14 +02:00
Anirudha Bose
5c2eda383a Automatically generate changelogs separated according to versions or Git tags 2014-06-04 09:20:13 +02:00
Anirudha Bose
3c5a310ddf Create file debian/postinst to call ldconfig on libclang.so
Fixes Lintian Tag: postinst-must-call-ldconfig
2014-06-04 09:20:13 +02:00
Anirudha Bose
1141fe5bbe Override Lintian tag: source-is-missing 2014-06-04 09:20:13 +02:00
Anirudha Bose
fe12304cde Use cygpath to get cmd.exe friendly path to prefix 2014-06-04 09:20:13 +02:00
Anirudha Bose
0a36eaebe9 Use different naming of prefix for Cygwin 2014-06-04 09:20:13 +02:00
Anirudha Bose
e8463df8c6 Set DIST variable for Windows 2014-06-04 09:20:13 +02:00
Anirudha Bose
8f55ec767c Conditionally compile Cling for Windows 2014-06-04 09:20:13 +02:00
Anirudha Bose
61c1941be5 Enable compilation of Cling in Cygwin with CMake 2014-06-04 09:20:13 +02:00