Wincent Colaiuta [Tue, 2 Nov 2010 19:07:39 +0000 (20:07 +0100)]
Switch to BSD license
This is part of a general move I'm making in all my projects away from
the GPL towards the BSD license; a couple of BSD license headers had
already crept in prior to this commit, but now all remaining references
to the GPL have been replaced.
Wincent Colaiuta [Tue, 2 Nov 2010 15:10:51 +0000 (16:10 +0100)]
Extract more parts of distro.sh into buildtools
This commit updates the buildtools submodule from e5ede6c to f3aaa1d:
f3aaa1d Replace ReleaseNotes.sh script with rewrite, git-release-notes.txt 42269a5 Add git-src-archive.sh d00c141 git-check-tag.sh: echo tag for utility by scripts 42d3f64 Add git-check-tag.sh script 3bf7829 git-last-tag.sh: handle case where no commits or tags in repo
These are three new scripts that have been extracted from the distro.sh
script into buildtools for reuse.
Principally of interest is the git-last-tag.sh script, added in e5ede6c:
57c871a Import help files from WOCommon a43b975 Change WOCommon references to buildtools e1f20eb Whitespace fixes c5d8f57 Reformat code comments for better display on narrow terminals b4a001d Remove needless namespacing within WalrusGrammar namespace 8f6e418 Add Rakefile to recompile templates only when needed 3d1ba67 help/NOTES.txt: reference rake task b5f40c2 Use "rule" to synthesize file tasks 37d53b8 Special dependencies for files which include settings.tmpl 71817db Rename settings.tmpl to .txt to avoid it being compiled separately 2c0cf53 Git: ignore compiled help files 0d0689c Make 'compile' the default rake task fa7701d Correct file extension (.tmpl.txt, not _tmpl.txt) for example template 2353bd0 Add missing license header to index_grep.rb 307df8c Wrap/reformat code comments in index_grep.rb 6e825be index_grep.rb: whitespace fixes 0513b06 Git: don't ignore update_full_index.rb a47c055 Add update_full_index.rb 0c0aad1 Update example full index template with notes on scripts 7af74dd Move example files to their corresponding place in the hierarchy a160292 Make update_full_index.rb script executable 6e7d8d0 update_full_index.rb: rescue EOFError a503b3a update_full_index.rb: add missing require statement 9640377 Remove unneeded 'rm' from update_full_index.rb 8f6ab89 update_full_index.rb: indent index items 5b21d49 Remove license header from example templates 30022fc Update front page example template to match Hextrapolate f597138 Remove unnecessary separators from example templates fef44cd Add missing license header to Rakefile 61f3f76 Add Rakefile.example b44acb6 Update paths for Walrus 0.4 ec17e58 Adapt sample Rakefile for Walrus 0.4 a6d6d57 Help: remove generator line 5f3639a Help: make meta tags customizable via placeholders d40929e Remove evil BOM from help.tmpl e5ede6c Add git-last-tag.sh script
Wincent Colaiuta [Sat, 29 Aug 2009 15:21:04 +0000 (17:21 +0200)]
distro.sh: distribute package file without zip wrapper
I've now configured the web servers (both nginx and Apache) to server
".pkg" files with a MIME type of "application/octet-stream" instead of
the default "text/plain". This means that it is no longer necessary to
wrap them up inside zip archives to prevent them from being
inappropriately displayed in the user's browser window rather than
downloaded to disk.
So, drop the zip wrapper and instead just give the package a unique
name. Flat packages are compressed in any case, so the download size
should be basically the same, give or take a few bytes.
Wincent Colaiuta [Sat, 29 Aug 2009 13:52:06 +0000 (15:52 +0200)]
Bump version number for 2.0.1 release
The 2.0 release itself was never actually published due to a glitch in
the buildtools which prevent release notes from being produced for the
very first release.
Wincent Colaiuta [Sat, 29 Aug 2009 13:27:59 +0000 (15:27 +0200)]
Include product info in usage output
Include product name, version, copyright, website address in the usage
output. Note that there is no official product page (yet), so just give
the URL of the web-based repo browser.
The PackageMaker document mistakenly specified the path to the installer
window background PDF using an absolute rather than a relative path. This
commit amends that, making it use a relative path.
Add a PackageMaker document and the remaining dependent file (the background
PDF; the other dependent file, the license RTF file, was added in the previous
commit).
This commit adds an RTF version of the license file, which will be used by the
installer package. I prepared the RTF version by removing the inappropriate
hard-wrapping and applying appropriate styling to differentiate the headings.
The default Xcode template now includes an unwanted "Copy Files" files phase
that copies the manual page to /usr/share/man/man1/ which causes builds to
fail when running as a normal user. This is a new behaviour with the latest
Xcode build; I don't know the exact cause but I suspect that the behaviour of
the SKIP_INSTALL build setting might have changed (the Copy Files phase is in
fact set to "Copy only when installing").
This commit removes the unwanted phase.
Two more appropriate solutions for installing the manual page would be either
preparing an Installer package (for installations outside of Xcode) or setting
up a completely separate "Install" target (for use within Xcode) that could be
fired off explicitly when desired.
This is an initial attempt at handling pre-existing icon files (easy enough to
encounter when doing repeated builds). If an existing file is already present
we try to open it, remove any existing icon resources, and then proceed to the
normal codepath (adding the new icon resource).
Switch to the shared configuration from the Wincent Build Tools, thus allowing
the removal of the sample prefix header file provided by Xcode. Minor changes
to code to silence warnings produced as a result of the new configuration.