Created
August 26, 2012 10:04
-
-
Save theirix/3476779 to your computer and use it in GitHub Desktop.
Growl 1.4 build instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Base is a tag Growl.app 1.4 | |
Create a 'growl test cert' certificate | |
cd ../growl | |
patch -p1 < ../growl-build/growl-1.4.patch | |
find . \( -name project.pbxproj -or -name \*xcconfig \) -print0 | xargs -0 -L1 -t sed -i '' "s/3rd Party Mac Developer Application: The Growl Project, LLC/growl test cert/;s/3rd Party Mac Developer Application/growl test cert/" | |
cd Release | |
VERSION=1.4i rake package_everything >build.log 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 234c34a9d09b GrowlVersion.h | |
--- a/GrowlVersion.h Wed May 30 00:37:42 2012 -0500 | |
+++ b/GrowlVersion.h Mon Jul 30 16:48:13 2012 +0400 | |
@@ -1,8 +1,8 @@ | |
#define COMMENT_1 DO NOT EDIT THE VERSION IN THIS FILE! | |
#define COMMENT_2 In case you're wondering why we're using #define for comments: This header is #imported into both Objective-C code and XML Info.plist files. | |
-#define GROWL_VERSION 1.4 | |
-#define GROWL_VERSION_STRING "1.4" | |
+#define GROWL_VERSION 1.4i | |
+#define GROWL_VERSION_STRING "1.4i" | |
#include "VCSData.h" | |
diff -r 234c34a9d09b Release/rakefile | |
--- a/Release/rakefile Wed May 30 00:37:42 2012 -0500 | |
+++ b/Release/rakefile Mon Jul 30 16:48:13 2012 +0400 | |
@@ -51,6 +51,7 @@ | |
$build_root = File.join($destdir, "build") | |
$product_root = File.join($destdir, "product") | |
$csi = env_default(:CODE_SIGN_IDENTITY, "3rd Party Mac Developer Installer: The Growl Project, LLC") | |
+$sign_verb = '' | |
$beta = false | |
task :default => "package_everything" | |
@@ -178,7 +179,7 @@ | |
FileUtils.mkdir_p(absolute) | |
FileUtils.cd("#{$build_root}/growl/#{$configuration}") | |
if !$beta | |
- system "productbuild --component Growl.app /Applications --sign \"#{$csi}\" Growl.pkg && cp -Rp Growl.pkg #{absolute}/" | |
+ system "productbuild --component Growl.app /Applications #{$sign_verb} Growl.pkg && cp -Rp Growl.pkg #{absolute}/" | |
else | |
system "zip -r #{absolute}/Growl-#{$growl_version}.zip Growl.app/" | |
end | |
@@ -192,7 +193,7 @@ | |
curdir = FileUtils.pwd() | |
FileUtils.cd("#{$build_root}/hardwaregrowler/#{$configuration}") | |
if !$beta | |
- system "productbuild --component HardwareGrowler.app /Applications --sign \"#{$csi}\" HardwareGrowler.pkg && cp -Rp HardwareGrowler.pkg #{$product_root}" | |
+ system "productbuild --component HardwareGrowler.app /Applications #{$sign_verb} HardwareGrowler.pkg && cp -Rp HardwareGrowler.pkg #{$product_root}" | |
else | |
system "zip -r -y #{$product_root}/HardwareGrowler-#{$growl_version}.zip HardwareGrowler.app/" | |
end | |
@@ -205,7 +206,7 @@ | |
curdir = FileUtils.pwd() | |
FileUtils.cd("#{$build_root}/growlcal/#{$configuration}") | |
if !$beta | |
- system "productbuild --component GrowlCal.app /Applications --sign \"#{$csi}\" GrowlCal.pkg && cp -Rp GrowlCal.pkg #{$product_root}" | |
+ system "productbuild --component GrowlCal.app /Applications #{$sign_verb}\" GrowlCal.pkg && cp -Rp GrowlCal.pkg #{$product_root}" | |
else | |
system "zip -r -y #{$product_root}/GrowlCal-#{$growl_version}.zip GrowlCal.app/" | |
end | |
@@ -218,7 +219,7 @@ | |
curdir = FileUtils.pwd() | |
FileUtils.cd("#{$build_root}/capster/#{$configuration}") | |
if !$beta | |
- system "productbuild --component Capster.app /Applications --sign \"#{$csi}\" Capster.pkg && cp -Rp Capster.pkg #{$product_root}" | |
+ system "productbuild --component Capster.app /Applications #{$sign_verb} Capster.pkg && cp -Rp Capster.pkg #{$product_root}" | |
else | |
system "zip -r -y #{$product_root}/Capster-#{$growl_version}.zip Capster.app/" | |
end | |
@@ -233,7 +234,7 @@ | |
FileUtils.mkdir_p(absolute) | |
FileUtils.cd("#{$build_root}/growltunes/#{$configuration}") | |
if !$beta | |
- system "productbuild --component GrowlTunes.app /Applications --sign \"#{$csi}\" GrowlTunes.pkg && cp -Rp GrowlTunes.pkg #{$product_root}" | |
+ system "productbuild --component GrowlTunes.app /Applications #{$sign_verb} GrowlTunes.pkg && cp -Rp GrowlTunes.pkg #{$product_root}" | |
else | |
system "zip -r -y #{$product_root}/GrowlTunes-#{$growl_version}.zip GrowlTunes.app/" | |
end | |
diff -r 234c34a9d09b xcconfig/Common.xcconfig | |
--- a/xcconfig/Common.xcconfig Wed May 30 00:37:42 2012 -0500 | |
+++ b/xcconfig/Common.xcconfig Mon Jul 30 16:48:13 2012 +0400 | |
@@ -51,7 +51,7 @@ | |
GCC_WARN_UNUSED_FUNCTION = YES | |
GCC_WARN_UNUSED_LABEL = YES | |
-GCC_TREAT_WARNINGS_AS_ERRORS = YES | |
+GCC_TREAT_WARNINGS_AS_ERRORS = NO | |
//plist | |
INFOPLIST_OTHER_PREPROCESSOR_FLAGS = -traditional -CC -I "$(TARGET_BUILD_DIR)/include" | |
diff -r 234c34a9d09b xcconfig/Localization.xcconfig | |
--- a/xcconfig/Localization.xcconfig Wed May 30 00:37:42 2012 -0500 | |
+++ b/xcconfig/Localization.xcconfig Mon Jul 30 16:48:13 2012 +0400 | |
@@ -23,4 +23,4 @@ | |
IBC_FLATTEN_NIBS = NO | |
//rez settings | |
-REZ_RESOURCE_MAP_READ_ONLY = YES | |
\ No newline at end of file | |
+REZ_RESOURCE_MAP_READ_ONLY = YES | |
diff -r 234c34a9d09b xcconfig/Release.xcconfig | |
--- a/xcconfig/Release.xcconfig Wed May 30 00:37:42 2012 -0500 | |
+++ b/xcconfig/Release.xcconfig Mon Jul 30 16:48:13 2012 +0400 | |
@@ -4,7 +4,7 @@ | |
#include "Common.xcconfig" | |
-CODE_SIGN_IDENTITY = 3rd Party Mac Developer Application: The Growl Project, LLC | |
+CODE_SIGN_IDENTITY = growl test cert | |
//compiler settings | |
GCC_OPTIMIZATION_LEVEL = s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment