Packaging - aegif/CmisSync GitHub Wiki
First, right-click on the CmisSync.Lib project, choose "Properties", then in the "Application" tab click on "Assembly Information..." and:
- Increment the "Assembly version",
- Generate a new GUID (for instance here).
To create a Windows installer package (MSI), you will need to install WiX 3.5.
If you have Visual C#:
- Right-click the solution and select "Clean",
- Right-click the "Installer" project and select "Rebuild",
- Right-click the "InstallerBootstrapper" project and select "Rebuild".
A .exe installer has been generated in CmisSync\Windows\InstallerBootstrapper\bin\Debug.
Also doable via command line in CmisSync\Windows:
build
This will create CmisSync.msi in the Installer\bin\Debug directory.
But not sure how to create the bootstrapper.
- Modify the version number in
configure.ac. -
Rebuild (from
make -f Makefile.am) - Copy DotCMIS.dll from external location to Extras/
- Run
make dist(this produces a tar.bz2 archive) - Run
rpmbuild -ta cmissync-<version>.tar.bz2
Based on http://ubuntuforums.org/showthread.php?t=910717
TODO: Investigate http://www.asic-linux.com.mx/~izto/checkinstall/ or even better build from Debian source package
- Modify the version number in
configure.ac. -
Rebuild (from
make -f Makefile.am) - Copy DotCMIS.dll from external location to
Extras/ - Build CmisSync normally, including
make install - Build the deb:
build/deb-creator.sh
- The package is built in the
builddirectory but check the output - if for some reason necessary, update the version number inbuild/cmissync_${VER}/DEBIAN/controland then rebuild the package:
fakeroot dpkg-deb --build build/cmissync_${VER}
Where ${VER} is the version number that was used to build the package during the script.
If needed, modify the version number by changing AssemblyVersion and Guid in CmisSync.Lib/Properties/AssemblyInfo.cs, then rebuild as explained in the CmisSync Mac README to update the version number.
To create the CmisSync.app Mac bundle, make sure the solution is focused in Monodevelop, select Build from the menu bar and click "Build All".
Now you have a working bundle "bin/CmisSync.app" that you can run by double-clicking.
To create a dmg package file, execute the commands below:
cd build
./dmg-creator.sh ../bin/CmisSync.app
Now you have a dmg package file in "bin/CmisSync.dmg".