Permalink
Browse files

Modified the package.sh script to use ditto rather than zip in order …

…to preserve resource forks, which is needed for HTML help files to open in SC by default. Added ChangeLog to the XCode projects, got rid of ChangeLog.scd. Changed the packagesource.sh script to export the entire directory rather than selected hard coded pieces.

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@6592 a380766d-ff14-0410-b294-a243070f3f08
  • Loading branch information...
Ryan Brown
Ryan Brown committed Nov 1, 2007
1 parent a182527 commit 5c7d37df8ec5d27c97e016048f9c1d47e122a038
Showing with 12 additions and 19 deletions.
  1. +2 −2 Language.xcodeproj/project.pbxproj
  2. +2 −2 Plugins.xcodeproj/project.pbxproj
  3. +2 −2 Synth.xcodeproj/project.pbxproj
  4. +1 −1 package.sh
  5. +5 −12 packagesource.sh
@@ -398,6 +398,7 @@
9456F6B20C19E79F00634E4D /* HID_Utilities.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HID_Utilities.h; sourceTree = "<group>"; };
9456F6B30C19E79F00634E4D /* HID_Utilities_External.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HID_Utilities_External.h; sourceTree = "<group>"; };
9456F6B40C19E79F00634E4D /* HID_Utilities_Internal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HID_Utilities_Internal.h; sourceTree = "<group>"; };
+ 945D14AF0CD9A73A00464EBF /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ChangeLog; path = build/ChangeLog; sourceTree = "<group>"; };
949310A60C1921F90018AB50 /* CocoaBridgePrimitives.M */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = CocoaBridgePrimitives.M; sourceTree = "<group>"; };
949310A70C1921F90018AB50 /* CocoaFilePrimitives.M */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = CocoaFilePrimitives.M; sourceTree = "<group>"; };
949310A80C1921F90018AB50 /* DrawBackground.M */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DrawBackground.M; sourceTree = "<group>"; };
@@ -621,7 +622,6 @@
94D9ED1C0C2773CF00223DF8 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = /System/Library/Frameworks/WebKit.framework; sourceTree = "<absolute>"; };
94E114FE0B163B040033537C /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; };
94F5FC7E0C1E6F7F005CDF9F /* libscsynth.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libscsynth.a; path = build/libscsynth.a; sourceTree = "<group>"; };
- DCF5E2420CBB812100411E96 /* ChangeLog.scd */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = ChangeLog.scd; path = build/ChangeLog.scd; sourceTree = "<group>"; };
F50D069502E6A1C601CA2799 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
F50D069602E6A1C601CA2799 /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
F50D069702E6A1C601CA2799 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
@@ -1059,7 +1059,7 @@
F50D04F802E68E8201CA2799 = {
isa = PBXGroup;
children = (
- DCF5E2420CBB812100411E96 /* ChangeLog.scd */,
+ 945D14AF0CD9A73A00464EBF /* ChangeLog */,
9456F5BC0C19E25900634E4D /* Synth.xcodeproj */,
9493126D0C19222B0018AB50 /* Headers */,
949310A40C1921F90018AB50 /* Source */,
@@ -292,14 +292,14 @@
9451F5F30C1CAC250037197F /* MacUGens.scx */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.objfile"; includeInIndex = 0; path = MacUGens.scx; sourceTree = BUILT_PRODUCTS_DIR; };
9451F5F40C1CAC250037197F /* TriggerUGens.scx */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.objfile"; includeInIndex = 0; path = TriggerUGens.scx; sourceTree = BUILT_PRODUCTS_DIR; };
9451F5F50C1CAC250037197F /* DynNoiseUGens.scx */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.objfile"; includeInIndex = 0; path = DynNoiseUGens.scx; sourceTree = BUILT_PRODUCTS_DIR; };
+ 945D14B80CD9A74B00464EBF /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ChangeLog; path = build/ChangeLog; sourceTree = "<group>"; };
949318790C192DCC0018AB50 /* PhysicalModelingUGens.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = PhysicalModelingUGens.cpp; path = Source/plugins/PhysicalModelingUGens.cpp; sourceTree = SOURCE_ROOT; };
9493187D0C192E160018AB50 /* fftlib.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = fftlib.c; sourceTree = "<group>"; };
949318870C192E350018AB50 /* fftlib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = fftlib.h; path = Headers/common/fftlib.h; sourceTree = SOURCE_ROOT; };
AAE924420481416E00A8010B /* SC_Endian.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SC_Endian.h; path = common/SC_Endian.h; sourceTree = "<group>"; };
B969DA0C0691887B0096E93F /* DynNoiseUGens.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = DynNoiseUGens.cpp; sourceTree = "<group>"; };
DC43F08F0CB26A670020E8B7 /* UnpackFFTUGens.scx */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.objfile"; includeInIndex = 0; path = UnpackFFTUGens.scx; sourceTree = BUILT_PRODUCTS_DIR; };
DC43F0930CB26B450020E8B7 /* UnpackFFTUGens.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = UnpackFFTUGens.cpp; path = Source/plugins/UnpackFFTUGens.cpp; sourceTree = SOURCE_ROOT; };
- DCF5E2450CBB813200411E96 /* ChangeLog.scd */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = ChangeLog.scd; path = build/ChangeLog.scd; sourceTree = "<group>"; };
F50D054602E69B6B01CA2799 /* clz.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = clz.h; sourceTree = "<group>"; };
F50D054702E69B6B01CA2799 /* Hash.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Hash.h; sourceTree = "<group>"; };
F50D054802E69B6B01CA2799 /* SC_BoundsMacros.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SC_BoundsMacros.h; sourceTree = "<group>"; };
@@ -539,7 +539,7 @@
F50D04F802E68E8201CA2799 = {
isa = PBXGroup;
children = (
- DCF5E2450CBB813200411E96 /* ChangeLog.scd */,
+ 945D14B80CD9A74B00464EBF /* ChangeLog */,
379E010B0CACF29700D633C7 /* FFTInterfaceTable.cpp */,
379E00FB0CACF09E00D633C7 /* PV_UGens.cpp */,
FE25830C0C2C13E400307453 /* TestUGens.cpp */,
@@ -185,6 +185,7 @@
942C37990C1B3F9F00360A35 /* libsndfile.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libsndfile.a; path = libsndfile/libsndfile.a; sourceTree = "<group>"; };
942C379C0C1B3FB600360A35 /* sndfile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = sndfile.h; path = libsndfile/sndfile.h; sourceTree = SOURCE_ROOT; };
942F96540B0337D600E00399 /* scsynth */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = scsynth; sourceTree = BUILT_PRODUCTS_DIR; };
+ 945D14870CD9A72A00464EBF /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ChangeLog; path = build/ChangeLog; sourceTree = "<group>"; };
949309CB0C190FB10018AB50 /* dtoa.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = dtoa.c; sourceTree = "<group>"; };
949309CC0C190FB10018AB50 /* g_fmt.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = g_fmt.c; sourceTree = "<group>"; };
949309CD0C190FB10018AB50 /* SC_AllocPool.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SC_AllocPool.cpp; sourceTree = "<group>"; };
@@ -286,7 +287,6 @@
94930C080C190FB80018AB50 /* SC_WireSpec.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SC_WireSpec.h; sourceTree = "<group>"; };
94B6B0C30AF5390900E478BB /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; };
94F5FAD10C1E6B95005CDF9F /* libscsynth.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libscsynth.a; sourceTree = BUILT_PRODUCTS_DIR; };
- DCF5E2320CBB806B00411E96 /* ChangeLog.scd */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = ChangeLog.scd; path = build/ChangeLog.scd; sourceTree = "<group>"; };
F53F78F503B2842D011C068F /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
F5EB7BE503184B8C01CA2799 /* libscsynth_exp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = libscsynth_exp; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -479,7 +479,7 @@
F50D04F802E68E8201CA2799 = {
isa = PBXGroup;
children = (
- DCF5E2320CBB806B00411E96 /* ChangeLog.scd */,
+ 945D14870CD9A72A00464EBF /* ChangeLog */,
F5EB7BE503184B8C01CA2799 /* libscsynth_exp */,
9456F7F60C1A1FBC00634E4D /* Resources */,
94930B770C190FB80018AB50 /* Headers */,
View
@@ -11,4 +11,4 @@ svn export --force build SuperCollider
cp -R build/SuperCollider.app build/scsynth build/sclang SuperCollider
cp build/plugins/* SuperCollider/plugins/
find SuperCollider/help/ \( -name "*.htm" -or -name "*.html" \) -exec /Developer/Tools/SetFile -c SCjm {} \;
-zip -r -9 "SuperCollider_$DATE.zip" SuperCollider
+ditto -ck --sequesterRsrc --keepParent SuperCollider "SuperCollider_$DATE.zip"
View
@@ -2,18 +2,11 @@
DATE=`date "+%Y-%m-%d"`
-if [ -d SuperCollider-source ]; then
- echo "Please remove the ./SuperCollider-source directory before running this script."
+if [ -d SuperCollider_Source ]; then
+ echo "Please remove the ./SuperCollider_Source directory before running this script."
exit 1
fi
-
-mkdir SuperCollider-source
-
-for item in Headers Source build Synth.xcodeproj Plugins.xcodeproj Language.xcodeproj Psycollider Resources SConstruct "Standalone resources" Windows linux clean-compile.sh compile.sh COPYING package.sh "README OS X"; do
- echo "Exporting: $item"
- svn export -r COMMITTED --force "$item" SuperCollider-source/"$item"
-done
-
-
-zip -r -9 "SuperCollider-source_$DATE.zip" SuperCollider-source
+mkdir SuperCollider_Source
+svn export --force -r COMMITTED ./ SuperCollider_Source
+zip -r -9 "SuperCollider_Source_$DATE.zip" SuperCollider_Source

0 comments on commit 5c7d37d

Please sign in to comment.