]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
mac build: tweaks to build fuse for 10.4 and 10.5
authorrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 27 Feb 2008 01:08:44 +0000 (18:08 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Wed, 27 Feb 2008 01:08:44 +0000 (18:08 -0700)
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

mac/10.4/fuseparts/_fusemodule.so [new file with mode: 0644]
mac/10.5/fuseparts/_fusemodule.so [new file with mode: 0644]
mac/Makefile
mac/fuseparts/_fusemodule.so [deleted file]

diff --git a/mac/10.4/fuseparts/_fusemodule.so b/mac/10.4/fuseparts/_fusemodule.so
new file mode 100644 (file)
index 0000000..c802be4
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 (file)
index 0000000..04efd0d
Binary files /dev/null and b/mac/10.5/fuseparts/_fusemodule.so differ
index 37fd985b27e2d6cf93939d439f1849608d201246..6db61f4efe82f47ececbcf69d1b48205a868c9b9 100644 (file)
@@ -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 (file)
index c802be4..0000000
Binary files a/mac/fuseparts/_fusemodule.so and /dev/null differ