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
Anirudha Bose
d3af1cd0a3
Use "Cygwin" as name of OS in Windows
2014-06-04 09:20:13 +02:00
Anirudha Bose
d6e6e239e7
Add checking of requirements in Cygwin
2014-06-04 09:20:13 +02:00
Anirudha Bose
4ab55e890f
Dynamically determine name and email from GnuPG fingerprint
2014-06-04 09:20:13 +02:00
Anirudha Bose
88c22d1c27
Also clean up temporary builddir
2014-06-04 09:20:12 +02:00
Anirudha Bose
b06749b980
Merge get_platform.sh to be a part of indep.sh
2014-06-04 09:20:12 +02:00
Anirudha Bose
9aa2485723
Reorganize platform independent functions into a single script
2014-06-04 09:20:12 +02:00
Anirudha Bose
9ebac9b476
Cleanup redundant directory after creating tarball
2014-06-04 09:20:12 +02:00
Anirudha Bose
a898a002de
Use actual URL for LICENSE.TXT
2014-06-04 09:20:12 +02:00
Anirudha Bose
0eb2bdf637
Combine --last-stable-deb and --last-stable-tar to --last-stable={tar,deb}
2014-06-04 09:20:12 +02:00
Anirudha Bose
2b6f55376b
Generalize --current-dev-tarball to --current-dev={tar, deb}
2014-06-04 09:20:12 +02:00
Anirudha Bose
5c4ba39cea
Make --check-requirements conditional, and some code cleanups
2014-06-04 09:20:12 +02:00
Anirudha Bose
d4ba5c61aa
Refactor and split common code into multiple helper scripts
2014-06-04 09:20:12 +02:00
Anirudha Bose
536d386876
Use correct OS name in GNU/Linux and Cygwin
2014-06-04 09:20:12 +02:00
Anirudha Bose
0c5cab41ad
Add TODOs in the script
2014-06-04 09:20:12 +02:00
Anirudha Bose
65ca47e2bf
Generate debian/changelog according to the checked out repo of Cling
2014-06-04 09:20:11 +02:00
Anirudha Bose
13e1c42a7a
Also check python during --check-requirements
2014-06-04 09:20:11 +02:00
Anirudha Bose
cdaaaa6490
Do not use ${var} style variable in AWK statement
2014-06-04 09:20:11 +02:00
Anirudha Bose
d97c2d47cc
source get_platform.sh must be executed after Cling is cloned
2014-06-04 09:20:11 +02:00
Anirudha Bose
eb3565e282
Limit commit hash to 7 characters like Git
2014-06-04 09:20:11 +02:00
Anirudha Bose
0651bbec97
Do not allow more than one switch at a time
2014-06-04 09:20:11 +02:00
Anirudha Bose
91c6267ba6
Modularize code and add switches
2014-06-04 09:20:11 +02:00
Anirudha Bose
81b84c9a74
Add script to detect host platform and Operating System
2014-06-04 09:20:11 +02:00
Anirudha Bose
6c2a281a5c
Patch "Fix wrong path of VERSION in Makefile" has been merged upstream
...
Commit: 7658828d0d
2014-06-04 09:20:11 +02:00
Anirudha Bose
3b8e1f74be
Make script capable of compiling Cling from source
2014-06-04 09:20:10 +02:00
Anirudha Bose
dc17d22467
Adapt script to use the new version system of Cling
2014-06-04 09:20:10 +02:00
Anirudha Bose
2f69c1be09
Fix globbing issues and use an improved method to check tarball in argument
2014-06-04 09:20:10 +02:00
Anirudha Bose
be4c32345e
Fix bug for the disappearing ${shlibs:Depends} and ${misc:Depends}
2014-06-04 09:20:10 +02:00
Anirudha Bose
1052a4a27c
Also double quote Parameter Expansion to prevent globbing and word splitting
2014-06-04 09:20:10 +02:00
Anirudha Bose
c0eae0781d
Use Parameter Expansion instead of sed
2014-06-04 09:20:10 +02:00
Anirudha Bose
455c4a6250
Double quote to prevent globbing and word splitting
2014-06-04 09:20:10 +02:00
Anirudha Bose
5954ec0ea5
Use $(..) instead of deprecated ..
2014-06-04 09:20:09 +02:00
Anirudha Bose
061ca9dfa5
Double quote array expansions, otherwise they're like $* and break on spaces
2014-06-04 09:20:09 +02:00
Anirudha Bose
4ae49cf988
Add new script to Debianize a tarball
2014-06-04 09:20:09 +02:00