Skip to content

Commit

Permalink
Remove SSHFS from installation package
Browse files Browse the repository at this point in the history
  • Loading branch information
anatol committed Jun 18, 2011
1 parent e435afd commit e412304
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Install_resources/Welcome.rtf
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
As a user, installing the Fuse4X software package will let you use any 3\super rd\nosupersub -party file system written atop Fuse4X. As a developer you can use the Fuse4X SDK to write numerous types of file systems as regular user-mode programs. The content of these file systems can come from anywhere: from the local disk, from across the network, from memory, or any other combination of sources.\ As a user, installing the Fuse4X software package will let you use any 3\super rd\nosupersub -party file system written atop Fuse4X. As a developer you can use the Fuse4X SDK to write numerous types of file systems as regular user-mode programs. The content of these file systems can come from anywhere: from the local disk, from across the network, from memory, or any other combination of sources.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qj\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qj\pardirnatural
\cf0 \ \cf0 \
This package will install the runtime and development components of Fuse4X. Please note that from Fuse4X-based file systems only SSHFS is included in this package.\ This package will install the runtime and development components of Fuse4X. Please note that no Fuse4X-based file systems are included in this package.\
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\cf0 \ \cf0 \
For more information, please visit the Fuse4X web site: {\field{\*\fldinst{HYPERLINK "http://fuse4x.org/"}}{\fldrslt http://fuse4x.org/}}} For more information, please visit the Fuse4X web site: {\field{\*\fldinst{HYPERLINK "http://fuse4x.org/"}}{\fldrslt http://fuse4x.org/}}}
16 changes: 14 additions & 2 deletions build.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
# #
# The final distribuition you can find in ./build # The final distribuition you can find in ./build


SUBMODULES = %w(kext fuse sshfs framework support) SUBMODULES = %w(kext fuse framework support)
CWD = File.dirname(__FILE__) CWD = File.dirname(__FILE__)
FUSE4X_VERSION = '0.8.6' FUSE4X_VERSION = '0.8.6'
SSHFS_VERSION = '2.2.0' # '2.2' is the upstream version, '0' - fuse4x revision


debug = ARGV.include?('--debug') debug = ARGV.include?('--debug')


Expand All @@ -32,4 +33,15 @@
# fix permissions # fix permissions
system('sudo chown -R root:wheel build/root/') system('sudo chown -R root:wheel build/root/')


system("/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker --doc fuse4x.pmdoc --out build/Fuse4X-#{FUSE4X_VERSION}.pkg") or abort('Cannot create install package') system("/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -m --doc fuse4x.pmdoc --out build/Fuse4X-#{FUSE4X_VERSION}.pkg") or abort('Cannot create install package')



##### BUILD SSHFS ##########
sshfs_dir = File.expand_path(File.join(build_dir, 'sshfs'))
`mkdir -p #{sshfs_dir}`
cmd = "../sshfs/build.rb --root #{sshfs_dir}"
cmd += ' --debug' if debug
system(cmd) or abort("Cannot run script in sshfs")
system('sudo chown -R root:wheel build/sshfs/')
system("cd build/sshfs && zip -rq ../sshfs-#{SSHFS_VERSION}.zip .")
2 changes: 1 addition & 1 deletion fuse4x.pmdoc/01root-contents.xml
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
<pkg-contents spec="1.12"><f n="root" o="root" g="wheel" p="16877" pt="/Users/anatol/sources/fuse4x/fuse4x/build/root" m="false" t="file"><f n="Library" o="root" g="wheel" p="16877"><f n="Frameworks" o="root" g="wheel" p="16877"><f n="Fuse4X.framework" o="root" g="wheel" p="16877"><f n="Fuse4X" o="root" g="wheel" p="41453"/><f n="Headers" o="root" g="wheel" p="41453"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="41453"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f><f n="Versions" o="root" g="wheel" p="16877"><f n="A" o="root" g="wheel" p="16877"><f n="Fuse4X" o="root" g="wheel" p="33261"/><f n="Headers" o="root" g="wheel" p="16877"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f><f n="Current" o="root" g="wheel" p="41453"><f n="Fuse4X" o="root" g="wheel" p="33261"/><f n="Headers" o="root" g="wheel" p="16877"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f></f></f></f></f><f n="System" o="root" g="wheel" p="16877"><f n="Library" o="root" g="wheel" p="16877"><f n="Extensions" o="root" g="wheel" p="16877"><f n="fuse4x.kext" o="root" g="wheel" p="16877"><f n="Contents" o="root" g="wheel" p="16877"><f n="Info.plist" o="root" g="wheel" p="33188"/><f n="MacOS" o="root" g="wheel" p="16877"><f n="fuse4x" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="API.txt" o="root" g="wheel" p="33188"/><f n="en.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f></f></f></f></f><f n="Filesystems" o="root" g="wheel" p="16877"><f n="fuse4x.fs" o="root" g="wheel" p="16877"><f n="Contents" o="root" g="wheel" p="16877"><f n="Executables" o="root" g="wheel" p="16877"><f n="autoupdater" o="root" g="wheel" p="33261"/><f n="uninstall.sh" o="root" g="wheel" p="33261"/></f><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f></f><f n="LaunchAgents" o="root" g="wheel" p="16877"><f n="org.fuse4x.autoupdater.plist" o="root" g="wheel" p="33188"/></f></f></f><f n="usr" o="root" g="wheel" p="16877"><f n="local" o="root" g="wheel" p="16877"><f n="bin" o="root" g="wheel" p="16877"><f n="sshfs" o="root" g="wheel" p="33261"/></f><f n="include" o="root" g="wheel" p="16877"><f n="fuse" o="root" g="wheel" p="16877"><f n="fuse.h" o="root" g="wheel" p="33188"/><f n="fuse_common.h" o="root" g="wheel" p="33188"/><f n="fuse_common_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_darwin.h" o="root" g="wheel" p="33188"/><f n="fuse_lowlevel.h" o="root" g="wheel" p="33188"/><f n="fuse_lowlevel_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_opt.h" o="root" g="wheel" p="33188"/><f n="fuse_version.h" o="root" g="wheel" p="33188"/></f><f n="fuse.h" o="root" g="wheel" p="33188"/></f><f n="lib" o="root" g="wheel" p="16877"><f n="libfuse4x.2.dylib" o="root" g="wheel" p="33261"/><f n="libfuse4x.dylib" o="root" g="wheel" p="41453"/><f n="libfuse4x.la" o="root" g="wheel" p="33261"/><f n="pkgconfig" o="root" g="wheel" p="16877"><f n="fuse.pc" o="root" g="wheel" p="33188"/></f></f><f n="share" o="root" g="wheel" p="16877"><f n="man" o="root" g="wheel" p="16877"><f n="man1" o="root" g="wheel" p="16877"><f n="sshfs.1" o="root" g="wheel" p="33188"/></f></f></f></f></f></f></pkg-contents> <pkg-contents spec="1.12"><f n="root" o="root" g="wheel" p="16877" pt="/Users/anatol/sources/fuse4x/fuse4x/build/root" m="false" t="file"><f n="Library" o="root" g="wheel" p="16877"><f n="Frameworks" o="root" g="wheel" p="16877"><f n="Fuse4X.framework" o="root" g="wheel" p="16877"><f n="Fuse4X" o="root" g="wheel" p="41453"/><f n="Headers" o="root" g="wheel" p="41453"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="41453"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f><f n="Versions" o="root" g="wheel" p="16877"><f n="A" o="root" g="wheel" p="16877"><f n="Fuse4X" o="root" g="wheel" p="33261"/><f n="Headers" o="root" g="wheel" p="16877"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f><f n="Current" o="root" g="wheel" p="41453"><f n="Fuse4X" o="root" g="wheel" p="33261"/><f n="Headers" o="root" g="wheel" p="16877"><f n="Fuse4X.h" o="root" g="wheel" p="33188"/><f n="GMAppleDouble.h" o="root" g="wheel" p="33188"/><f n="GMFinderInfo.h" o="root" g="wheel" p="33188"/><f n="GMResourceFork.h" o="root" g="wheel" p="33188"/><f n="GMUserFileSystem.h" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="English.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f><f n="framework.xcconfig" o="root" g="wheel" p="33188"/><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f></f></f></f></f><f n="System" o="root" g="wheel" p="16877"><f n="Library" o="root" g="wheel" p="16877"><f n="Extensions" o="root" g="wheel" p="16877"><f n="fuse4x.kext" o="root" g="wheel" p="16877"><f n="Contents" o="root" g="wheel" p="16877"><f n="Info.plist" o="root" g="wheel" p="33188"/><f n="MacOS" o="root" g="wheel" p="16877"><f n="fuse4x" o="root" g="wheel" p="33188"/></f><f n="Resources" o="root" g="wheel" p="16877"><f n="API.txt" o="root" g="wheel" p="33188"/><f n="en.lproj" o="root" g="wheel" p="16877"><f n="InfoPlist.strings" o="root" g="wheel" p="33188"/></f></f></f></f></f><f n="Filesystems" o="root" g="wheel" p="16877"><f n="fuse4x.fs" o="root" g="wheel" p="16877"><f n="Contents" o="root" g="wheel" p="16877"><f n="Executables" o="root" g="wheel" p="16877"><f n="autoupdater" o="root" g="wheel" p="33261"/><f n="uninstall.sh" o="root" g="wheel" p="33261"/></f><f n="Info.plist" o="root" g="wheel" p="33188"/></f></f></f><f n="LaunchAgents" o="root" g="wheel" p="16877"><f n="org.fuse4x.autoupdater.plist" o="root" g="wheel" p="33188"/></f></f></f><f n="usr" o="root" g="wheel" p="16877"><f n="local" o="root" g="wheel" p="16877"><f n="include" o="root" g="wheel" p="16877"><f n="fuse" o="root" g="wheel" p="16877"><f n="fuse.h" o="root" g="wheel" p="33188"/><f n="fuse_common.h" o="root" g="wheel" p="33188"/><f n="fuse_common_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_darwin.h" o="root" g="wheel" p="33188"/><f n="fuse_lowlevel.h" o="root" g="wheel" p="33188"/><f n="fuse_lowlevel_compat.h" o="root" g="wheel" p="33188"/><f n="fuse_opt.h" o="root" g="wheel" p="33188"/><f n="fuse_version.h" o="root" g="wheel" p="33188"/></f><f n="fuse.h" o="root" g="wheel" p="33188"/></f><f n="lib" o="root" g="wheel" p="16877"><f n="libfuse4x.2.dylib" o="root" g="wheel" p="33261"/><f n="libfuse4x.dylib" o="root" g="wheel" p="41453"/><f n="libfuse4x.la" o="root" g="wheel" p="33261"/><f n="pkgconfig" o="root" g="wheel" p="16877"><f n="fuse.pc" o="root" g="wheel" p="33188"/></f></f></f></f></f></pkg-contents>
2 changes: 1 addition & 1 deletion fuse4x.pmdoc/01root.xml
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
<pkgref spec="1.12" uuid="D3A2AA54-9270-475B-A85A-3D260C703716"><config><identifier>org.fuse4x.Fuse4X</identifier><version>0.8.6</version><description/><post-install type="none"/><requireAuthorization/><installFrom relative="true">build/root</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>installFrom.isRelativeType</mod><mod>scripts.postinstall.isRelativeType</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>parent</mod><mod>version</mod><mod>identifier</mod></config><scripts><postinstall relative="true" mod="true">Install_resources/postinstall.sh</postinstall><scripts-dir relative="true" mod="true">Install_resources</scripts-dir></scripts><contents><file-list>01root-contents.xml</file-list><component id="org.google.Fuse4X" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/Library/Frameworks/Fuse4X.framework" version=""/><component id="org.fuse4x.kext.fuse4x" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/System/Library/Extensions/fuse4x.kext" version="0.8.5"/><component id="org.fuse4x.fuse4x-fs" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/System/Library/Filesystems/fuse4x.fs" version="0.8.5"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> <pkgref spec="1.12" uuid="C1A32D8F-7532-4AF2-BAF2-157B7A94C69A"><config><identifier>org.fuse4x.Fuse4X</identifier><version>0.8.6</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true">build/root</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>requireAuthorization</mod><mod>installFrom.isRelativeType</mod><mod>scripts.postinstall.isRelativeType</mod></config><scripts><postinstall relative="true" mod="true">Install_resources/postinstall.sh</postinstall><scripts-dir relative="true" mod="true">Install_resources</scripts-dir></scripts><contents><file-list>01root-contents.xml</file-list><component id="org.google.Fuse4X" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/Library/Frameworks/Fuse4X.framework" version=""/><component id="org.fuse4x.kext.fuse4x" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/System/Library/Extensions/fuse4x.kext" version="0.8.6"/><component id="org.fuse4x.fuse4x-fs" path="/Users/anatol/sources/fuse4x/fuse4x/build/root/System/Library/Filesystems/fuse4x.fs" version="0.8.6"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
2 changes: 1 addition & 1 deletion fuse4x.pmdoc/index.xml
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
<pkmkdoc spec="1.12"><properties><title>Fuse4X</title><build>/Users/anatol/sources/fuse4x/fuse4x/build/Fuse4X.pkg</build><organization>org.fuse4x</organization><userSees ui="easy"/><min-target os="3"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="root" id="root" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.fuse4x.Fuse4X"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">Install_resources/License.rtf</resource><resource relative="true" mod="true" type="welcome">Install_resources/Welcome.rtf</resource></locale></resources><flags/><item type="file">01root.xml</item><mod>properties.title</mod><mod>properties.anywhereDomain</mod></pkmkdoc> <pkmkdoc spec="1.12"><properties><title>Fuse4X</title><organization>org.fuse4x</organization><userSees ui="easy"/><min-target os="3"/><domain anywhere="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="root" id="root" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.fuse4x.Fuse4X"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">Install_resources/License.rtf</resource><resource relative="true" mod="true" type="welcome">Install_resources/Welcome.rtf</resource></locale></resources><flags/><item type="file">01root.xml</item><mod>properties.title</mod></pkmkdoc>

0 comments on commit e412304

Please sign in to comment.