forked from aegif/CmisSync
-
Notifications
You must be signed in to change notification settings - Fork 1
Packaging
Nicolas Raoul edited this page Sep 26, 2013
·
5 revisions
First step for any platform: Modify the version number in CmisSync/CmisSync.Lib/StaticDefines.cs.
To create a Windows installer package (MSI), install WiX 3.5, restart Windows, go to directory CmisSync\Windows and run:
build installer
This will create CmisSync.msi in the same directory.
Rename it to CmisSync_<version>.msi.
- Copy DotCMIS.dll from external location to Extras/
- Run
make dist(this produces a tar.bz2 archive) - Run
rpmbuild -ta cmissync-<version>.tar.bz2
TODO
To create the CmisSync.app Mac bundle, make sure the project is focused in Monodevelop, select Project from the menu bar and click "Create Mac Installer...". Make sure to select Don't link assemblies.
Save the CmisSync.app somewhere. We need to copy some files over:
cp CmisSync/Mac/config CmisSync.app/Contents/MonoBundle/config
cp /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib CmisSync.app/Contents/Resources
Note: Adjust CmisSync.app/Contents/Resources to where you saved the bundle.
Now you have a working bundle that you can run by double-clicking.