From: robk-tahoe Date: Wed, 27 Feb 2008 01:08:44 +0000 (-0700) Subject: mac build: tweaks to build fuse for 10.4 and 10.5 X-Git-Url: https://git.rkrishnan.org/(%5B%5E?a=commitdiff_plain;h=9063eebf64c9edea40b165a9daf5773e4c49c966;p=tahoe-lafs%2Ftahoe-lafs.git mac build: tweaks to build fuse for 10.4 and 10.5 rather than trying to build a single .app with both 10.4 and 10.5 fuse libraries embedded within it, for the time being, we're just going to have independant 10.4 and 10.5 builds. this provides a 10.5 _fusemodule.so, and build changes to copy the appropriate versions of files for 10.4 or 10.5 from sub dirs of mac/ into the build tree before triggering py2app --- diff --git a/mac/10.4/fuseparts/_fusemodule.so b/mac/10.4/fuseparts/_fusemodule.so new file mode 100644 index 00000000..c802be46 Binary files /dev/null and b/mac/10.4/fuseparts/_fusemodule.so differ diff --git a/mac/10.5/fuseparts/_fusemodule.so b/mac/10.5/fuseparts/_fusemodule.so new file mode 100644 index 00000000..04efd0dd Binary files /dev/null and b/mac/10.5/fuseparts/_fusemodule.so differ diff --git a/mac/Makefile b/mac/Makefile index 37fd985b..6db61f4e 100644 --- a/mac/Makefile +++ b/mac/Makefile @@ -6,6 +6,7 @@ all: build dist: build diskimage upload cleanup build: + rsync -avn $( sw_vers -productVersion | sed -e 's/^\(10\.[0-9]*\)\..*$/\1/' )/ ./ python setup.py py2app --no-chdir diskimage: diff --git a/mac/fuseparts/_fusemodule.so b/mac/fuseparts/_fusemodule.so deleted file mode 100644 index c802be46..00000000 Binary files a/mac/fuseparts/_fusemodule.so and /dev/null differ