adium-1.4 3181:a88e6b64e94e: This should set the com.apple.TextE...

commits at adium.im commits at adium.im
Sat Oct 30 22:40:13 UTC 2010


details:	http://hg.adium.im/adium-1.4/rev/a88e6b64e94e
revision:	3181:a88e6b64e94e
author:		Evan Schoenberg
date:		Sat Oct 30 17:40:07 2010 -0500

This should set the com.apple.TextEncoding for Changes.txt when the disk image is made

diffs (17 lines):

diff -r 23c66c68f9e6 -r a88e6b64e94e Release/Makefile
--- a/Release/Makefile	Sat Oct 30 16:37:38 2010 -0500
+++ b/Release/Makefile	Sat Oct 30 17:40:07 2010 -0500
@@ -170,9 +170,12 @@
 	cp -R "$(ADIUM_BUILD_DIR)/Adium.app" $(ADIUM_DIR)
 
 	@# copy the text files
-	cp $(SRC_DIR)/ChangeLogs/Changes.txt $(ADIUM_DIR)
+	cp $(SRC_DIR)/ChangeLogs/Changes.txt $(ADIUM_DIR)	
 	cp $(SRC_DIR)/License.txt $(ADIUM_DIR)
 	
+	@# TextEdit doesn't read the UTF-8 BOM properly; set the encoding manually
+	xattr -w com.apple.TextEncoding 'UTF-8;134217984' $(ADIUM_DIR)/Changes.txt
+
 	@# symlink /Applications
 	./mkalias -r /Applications $(ADIUM_DIR)/Applications
 




More information about the commits mailing list