summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-12-31 15:11:47 (GMT)
committer Jaromil <jaromil@dyne.org>2013-12-31 15:20:41 (GMT)
commite93e00d8551f302a7f39607a61a31ac685379a55 (patch)
treed4423bec01322fd573ebb60efdcd64f24d821c96
parentb97588ade78dc7f337a2127a85d1b02e524eb013 (diff)
osx packaging fixes
-rwxr-xr-xmac/AutOrg.command2
-rwxr-xr-xmac/pack.sh15
2 files changed, 8 insertions, 9 deletions
diff --git a/mac/AutOrg.command b/mac/AutOrg.command
index 181612c..9d1a62d 100755
--- a/mac/AutOrg.command
+++ b/mac/AutOrg.command
@@ -22,6 +22,8 @@ cat <<EOF > $appbase/$autorg/.emacs
(setq default-directory "$HOME" )
(setq AutOrgRes "$appbase/$autorg")
(add-to-list 'load-path AutOrgRes)
+(add-to-list 'load-path (concat AutOrgRes "/org-mode/lisp"))
+(add-to-list 'load-path (concat AutOrgRes "/org-mode/contrib/lisp"))
(require 'autorg)
(require 'osx)
EOF
diff --git a/mac/pack.sh b/mac/pack.sh
index 9442a5b..013d73b 100755
--- a/mac/pack.sh
+++ b/mac/pack.sh
@@ -23,6 +23,9 @@ else
exit 1
fi
+# clean old signatures
+rm -rf AutOrg.app/Contents/_CodeSignature
+
# make sure we use our own org-mode
if [ -r AutOrg.app/Contents/Resources/lisp/org ]; then
rm -rf AutOrg.app/Contents/Resources/lisp/org
@@ -33,14 +36,8 @@ cp -f AutOrg.icns AutOrg.app/Contents/Resources/
mkdir -p AutOrg.app/Contents/Resources/AutOrg
rsync -a ../elisp/* AutOrg.app/Contents/Resources/AutOrg/
-# grammar parser
-rsync -r ../grammar/data/en AutOrg.app/Contents/Resources/AutOrg/
-cp ../grammar/grammar-filter/grammar-filter AutOrg.app/Contents/Resources/AutOrg/
-
-# aspell
-cp ../spell/aspell AutOrg.app/Contents/Resources/AutOrg/
-cp ../spell/ispell AutOrg.app/Contents/Resources/AutOrg/
-# cp ../spell/dictionaries.el AutOrg.app/Contents/Resources/AutOrg/
-rsync -ra ../spell/dict AutOrg.app/Contents/Resources/AutOrg/
+# pwgen
+cp brew/pwgen AutOrg.app/Contents/Resources/AutOrg/
+cp ../tools/autorg-* AutOrg.app/Contents/Resources/AutOrg/
echo "Done."