]> git.wincent.com - wincent-icon-util.git/log
wincent-icon-util.git
12 years agoMake product page URL shorter master
Wincent Colaiuta [Tue, 2 Nov 2010 19:45:59 +0000 (20:45 +0100)] 
Make product page URL shorter

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoUpdate links to point at new product page
Wincent Colaiuta [Tue, 2 Nov 2010 19:41:05 +0000 (20:41 +0100)] 
Update links to point at new product page

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoSupport --icon and --folder switches
Wincent Colaiuta [Tue, 2 Nov 2010 19:21:19 +0000 (20:21 +0100)] 
Support --icon and --folder switches

The older -icon and -folder switches are also supported for backwards
compatibility.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoAdd Rakefile reference to Xcode project
Wincent Colaiuta [Tue, 2 Nov 2010 19:12:23 +0000 (20:12 +0100)] 
Add Rakefile reference to Xcode project

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoRename version file for consistency with other filenames in project
Wincent Colaiuta [Tue, 2 Nov 2010 19:11:36 +0000 (20:11 +0100)] 
Rename version file for consistency with other filenames in project

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoSwitch to BSD license
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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoUpdate dates in man page
Wincent Colaiuta [Tue, 2 Nov 2010 18:41:40 +0000 (19:41 +0100)] 
Update dates in man page

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoAdd Rakefile for convenient release tagging and uploading
Wincent Colaiuta [Tue, 2 Nov 2010 18:29:58 +0000 (19:29 +0100)] 
Add Rakefile for convenient release tagging and uploading

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoBump version number post-release
Wincent Colaiuta [Tue, 2 Nov 2010 18:20:07 +0000 (19:20 +0100)] 
Bump version number post-release

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agotag-release.sh: no longer tag submodules 2.0.2
Wincent Colaiuta [Tue, 2 Nov 2010 18:14:04 +0000 (19:14 +0100)] 
tag-release.sh: no longer tag submodules

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoSimplify version header by using WOVersioning.h
Wincent Colaiuta [Tue, 2 Nov 2010 18:08:54 +0000 (19:08 +0100)] 
Simplify version header by using WOVersioning.h

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoAdd WOPublic submodule
Wincent Colaiuta [Tue, 2 Nov 2010 18:05:38 +0000 (19:05 +0100)] 
Add WOPublic submodule

For now, doing this to get access to the WOVersioning.h header.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoPreprocess Info.plist to inject version info
Wincent Colaiuta [Tue, 2 Nov 2010 18:04:20 +0000 (19:04 +0100)] 
Preprocess Info.plist to inject version info

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoPrepare version file for use with Info.plist
Wincent Colaiuta [Tue, 2 Nov 2010 16:48:36 +0000 (17:48 +0100)] 
Prepare version file for use with Info.plist

We have to use some stringification here because when we use these
macros in the Info.plist we want to use raw text; eg:

  2007-2010

And not strings like we would use in source code:

  "2007-2010"

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoAdd separate version file to clean up RCSID handling
Wincent Colaiuta [Tue, 2 Nov 2010 16:23:06 +0000 (17:23 +0100)] 
Add separate version file to clean up RCSID handling

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoExtract more parts of distro.sh into buildtools
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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoUpdate distro.sh to produce correct submodule release notes
Wincent Colaiuta [Tue, 2 Nov 2010 11:19:45 +0000 (12:19 +0100)] 
Update distro.sh to produce correct submodule release notes

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoUpdate buildtools 57c871a..e5ede6c
Wincent Colaiuta [Tue, 2 Nov 2010 10:49:39 +0000 (11:49 +0100)] 
Update buildtools 57c871a..e5ede6c

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

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoMake code signing conditional
Wincent Colaiuta [Tue, 2 Nov 2010 08:39:21 +0000 (09:39 +0100)] 
Make code signing conditional

Only try to sign if the executable is not already signed, and only if
the user is "wincent".

Seeing as this is open source project, this change means that other
people can produce (unsigned) builds without errors or warnings.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoMove buildtools folder reference into new "Submodules" group
Wincent Colaiuta [Tue, 2 Nov 2010 08:30:15 +0000 (09:30 +0100)] 
Move buildtools folder reference into new "Submodules" group

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoCode sign release builds
Wincent Colaiuta [Tue, 2 Nov 2010 08:18:08 +0000 (09:18 +0100)] 
Code sign release builds

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoInstruct linker to embed Info.plist info during linking
Wincent Colaiuta [Tue, 2 Nov 2010 08:07:02 +0000 (09:07 +0100)] 
Instruct linker to embed Info.plist info during linking

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoAdd basic Info.plist for code signing purposes
Wincent Colaiuta [Tue, 2 Nov 2010 08:02:36 +0000 (09:02 +0100)] 
Add basic Info.plist for code signing purposes

Signed-off-by: Wincent Colaiuta <win@wincent.com>
12 years agoXcode project noise
Wincent Colaiuta [Tue, 2 Nov 2010 07:58:37 +0000 (08:58 +0100)] 
Xcode project noise

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agodistro.sh: distribute package file without zip wrapper
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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoBump version number post-release
Wincent Colaiuta [Sat, 29 Aug 2009 13:54:03 +0000 (15:54 +0200)] 
Bump version number post-release

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoBump version number for 2.0.1 release 2.0.1
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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoUpdate buildtools submodule 1cd84ad..7d4e122
Wincent Colaiuta [Sat, 29 Aug 2009 13:51:32 +0000 (15:51 +0200)] 
Update buildtools submodule 1cd84ad..7d4e122

  7d4e122 ReleaseNotes.sh: handle first release

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoBump version number for 2.0 release 2.0
Wincent Colaiuta [Sat, 29 Aug 2009 13:33:36 +0000 (15:33 +0200)] 
Bump version number for 2.0 release

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoXcode project file buzz
Wincent Colaiuta [Sat, 29 Aug 2009 13:33:01 +0000 (15:33 +0200)] 
Xcode project file buzz

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoUpdate dates in man page
Wincent Colaiuta [Sat, 29 Aug 2009 13:32:52 +0000 (15:32 +0200)] 
Update dates in man page

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoEnforce minimum system version requirement in installer package
Wincent Colaiuta [Sat, 29 Aug 2009 13:31:00 +0000 (15:31 +0200)] 
Enforce minimum system version requirement in installer package

A dialog will be displayed if run on systems prior to Mac OS X 10.6 Snow
Leopard.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoInclude product info in usage output
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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoEmbed version/copyright information for what(1)
Wincent Colaiuta [Sat, 29 Aug 2009 13:23:39 +0000 (15:23 +0200)] 
Embed version/copyright information for what(1)

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoDrop unnecessary import statement
Wincent Colaiuta [Sat, 29 Aug 2009 13:22:07 +0000 (15:22 +0200)] 
Drop unnecessary import statement

This header is the prefix (precompiled) header so there is no need to
explicitly import it again.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoUpdate buildtools submodule 6656431..1cd84ad
Wincent Colaiuta [Sat, 29 Aug 2009 13:20:06 +0000 (15:20 +0200)] 
Update buildtools submodule 6656431..1cd84ad

  1cd84ad ReleaseNotes.sh: handle submodules ahead of annotated tags

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd "Distro" target to Xcode project
Wincent Colaiuta [Sat, 29 Aug 2009 13:17:35 +0000 (15:17 +0200)] 
Add "Distro" target to Xcode project

This allows us to invoke the "distro.sh" script from within Xcode.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd Xcode project references to scripts
Wincent Colaiuta [Sat, 29 Aug 2009 13:15:37 +0000 (15:15 +0200)] 
Add Xcode project references to scripts

So that everything used in the project can be easily accessed from
within Xcode.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd "distro.sh" script
Wincent Colaiuta [Sat, 29 Aug 2009 13:14:55 +0000 (15:14 +0200)] 
Add "distro.sh" script

This is based on the similar script from Wincent Strings Utility.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd tag-release.sh script
Wincent Colaiuta [Sat, 29 Aug 2009 13:09:40 +0000 (15:09 +0200)] 
Add tag-release.sh script

This is based on the equivalent script from Wincent Strings Utility.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd call to objc_startCollectorThread()
Wincent Colaiuta [Fri, 28 Aug 2009 10:57:14 +0000 (12:57 +0200)] 
Add call to objc_startCollectorThread()

This is done automatically in Cocoa desktop apps, but in Foundation
tools needs to be done manually.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd installer package references to Xcode project
Wincent Colaiuta [Fri, 28 Aug 2009 10:31:38 +0000 (12:31 +0200)] 
Add installer package references to Xcode project

Once again, so that we can have handy references to everything used in
the project from within Xcode.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd LICENSE references to Xcode project
Wincent Colaiuta [Fri, 28 Aug 2009 10:30:20 +0000 (12:30 +0200)] 
Add LICENSE references to Xcode project

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd reference to "Package.sh" file
Wincent Colaiuta [Fri, 28 Aug 2009 10:28:41 +0000 (12:28 +0200)] 
Add reference to "Package.sh" file

This so we can easily see all resources used during builds from within
Xcode.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoGit: ignore "build" folder created by Xcode
Wincent Colaiuta [Fri, 28 Aug 2009 10:28:09 +0000 (12:28 +0200)] 
Git: ignore "build" folder created by Xcode

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoName "Run script" build phase in Installer package target
Wincent Colaiuta [Fri, 28 Aug 2009 10:27:18 +0000 (12:27 +0200)] 
Name "Run script" build phase in Installer package target

New feature in Xcode 3.2: named "Run script" phases show up with an
informative label in the build results window.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoUpdate project references to buildtools files
Wincent Colaiuta [Fri, 28 Aug 2009 10:25:38 +0000 (12:25 +0200)] 
Update project references to buildtools files

Signed-off-by: Wincent Colaiuta <win@wincent.com>
13 years agoAdd buildtools as a submodule
Wincent Colaiuta [Fri, 28 Aug 2009 10:23:47 +0000 (12:23 +0200)] 
Add buildtools as a submodule

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoIgnore Xcode index directory
Wincent Colaiuta [Tue, 27 Nov 2007 22:12:54 +0000 (23:12 +0100)] 
Ignore Xcode index directory

Set up .gitignore file for the new "index" directory created by Xcode 3.0.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoUpdate Xcode project bundle format
Wincent Colaiuta [Tue, 27 Nov 2007 22:12:08 +0000 (23:12 +0100)] 
Update Xcode project bundle format

Minor update to project bundle format for Xcode 3.0.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoUse relative path for installer window background
Wincent Colaiuta [Sat, 28 Jul 2007 14:33:51 +0000 (16:33 +0200)] 
Use relative path for installer window background

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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoAdd package building target
Wincent Colaiuta [Sat, 28 Jul 2007 13:50:02 +0000 (15:50 +0200)] 
Add package building target

Add a Shell Script target that uses the Package.sh script from the Wincent
Build Tools to prepare an installer package.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoAdd installer files
Wincent Colaiuta [Sat, 28 Jul 2007 13:00:35 +0000 (15:00 +0200)] 
Add installer files

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).

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoAdd RTF version of license
Wincent Colaiuta [Fri, 27 Jul 2007 18:26:13 +0000 (20:26 +0200)] 
Add RTF version of license

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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoRemove "Copy Files" build phase
Wincent Colaiuta [Fri, 27 Jul 2007 15:16:05 +0000 (17:16 +0200)] 
Remove "Copy Files" build phase

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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoCorrections for last commit
Wincent Colaiuta [Fri, 27 Jul 2007 14:59:57 +0000 (16:59 +0200)] 
Corrections for last commit

Correct two problems introduced in the last commit: one misnamed function and
one case typo in a variable name.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoHandle pre-existing icon files
Wincent Colaiuta [Fri, 27 Jul 2007 12:11:33 +0000 (14:11 +0200)] 
Handle pre-existing icon files

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).

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoEdit error messages for redundancy
Wincent Colaiuta [Fri, 27 Jul 2007 10:54:39 +0000 (12:54 +0200)] 
Edit error messages for redundancy

Remove the redundant "icns" reference in a couple of the error messages.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoAdd man page
Wincent Colaiuta [Fri, 27 Jul 2007 09:39:11 +0000 (11:39 +0200)] 
Add man page

Add a basic man page for wincent-icon-util.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoAdd license file
Wincent Colaiuta [Fri, 27 Jul 2007 09:11:37 +0000 (11:11 +0200)] 
Add license file

Add a copy of the full GPL (version 3) text to the repository.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoExit with status 0 on success
Wincent Colaiuta [Thu, 26 Jul 2007 21:28:26 +0000 (23:28 +0200)] 
Exit with status 0 on success

If the icon is successfully applied to the target folder exit with a 0 exit
code to indicate success.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoInclude file/folder name in error messages
Wincent Colaiuta [Thu, 26 Jul 2007 21:06:34 +0000 (23:06 +0200)] 
Include file/folder name in error messages

Make the error messages slightly more helpful by including the name of the
file or folder related to the failed operation.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoSwitch to shared configuration from buildtools
Wincent Colaiuta [Thu, 26 Jul 2007 20:45:23 +0000 (22:45 +0200)] 
Switch to shared configuration from buildtools

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.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoPrepare ignores for Xcode project bundle
Wincent Colaiuta [Thu, 26 Jul 2007 20:38:43 +0000 (22:38 +0200)] 
Prepare ignores for Xcode project bundle

Set up a gitignore file to ignore unwanted files in the Xcode project bundle,
remove previously added but unwanted files, add default.pbxuser file.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoWhitespace fixes
Wincent Colaiuta [Thu, 26 Jul 2007 20:35:15 +0000 (22:35 +0200)] 
Whitespace fixes

Fix lines with unnecessary trailing whitespace.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
15 years agoInitial commit
Wincent Colaiuta [Thu, 26 Jul 2007 20:33:49 +0000 (22:33 +0200)] 
Initial commit

Basic command line tool prototype (untested) for setting a custom folder icon.

Signed-off-by: Wincent Colaiuta <win@wincent.com>