JavaScript CSS HTML Python Shell
Permalink
Failed to load latest commit information.
.github Added issue template Jun 7, 2016
css Fixed button alignment Aug 26, 2017
debian Custom debian packaging for i386 and amd64 Dec 16, 2017
doc Refactoring and node module upgrade Jan 22, 2017
extras/media Fixes #122: autoloop option and allow multiple media to autoplay in t… Jun 10, 2015
icons Added application icon Feb 18, 2014
installation-assets/linux Added file argument to Exec field of desktop file Feb 17, 2018
js Added preferences for keyboard shortcuts Feb 18, 2018
locales Updated it translation for fuzzy keyword Feb 8, 2018
samples Added preferences for keyboard shortcuts Feb 18, 2018
templates Closes #345 - Preview transitions in editor Nov 25, 2017
test New Object system May 9, 2014
tools/texts2paths Removed sozi2pdf and sozi2video Jan 1, 2016
vendor/DroidSans Added placeholder and README for the Droid Sans font Aug 6, 2017
.csslintrc Better CSS. CSSLint config Apr 24, 2014
.gitignore Build Debian packages Dec 12, 2017
.jshintrc Fixed linting issues Apr 2, 2015
Gruntfile.js Fixed Italian translation Jan 24, 2018
LICENSE Switched to the Mozilla Public License 2.0 Oct 12, 2014
README.md Updated installation instructions Jan 21, 2018
bower.json Selectively disable user actions (zoom, translate, rotate, navigation) Aug 26, 2017
config.default.json Electron upgrade Nov 19, 2017
config.linux-x64.json Electron upgrade Nov 19, 2017
index-electron.html Removed Google client API from electron main page Jul 22, 2017
index-webapp.html Can build a webapp again Jan 24, 2017
index-webapp.js Can build a webapp again Jan 24, 2017
package.json Fixed Italian translation Jan 24, 2018

README.md

Github Downloads (latest) Github Downloads (total)

Sozi is a presentation tool for SVG documents.

It is free software distributed under the terms of the Mozilla Public License 2.0.

More details can be found on the official web site: http://sozi.baierouge.fr

Building and installing Sozi from sources

Get the source files

Clone the repository:

git clone git://github.com/senshu/Sozi.git

Install the build tools and dependencies

Install Node.js, Bower and the Grunt CLI. If you plan to build a Windows executable from Linux or OS X, also install wine. In Debian/Ubuntu and their derivatives, you can type the following commands.

sudo apt install nodejs nodejs-legacy npm wine
sudo npm install bower grunt-cli -g

If you plan to build Debian packages, also install the following packages:

sudo apt install devscripts debhelper

From the root of the source tree:

npm install
bower install

Also install the following:

  • Droid Sans as vendor/DroidSans/DroidSans.eot|ttf and vendor/DroidSans/DroidSans-Bold.eot|ttf

Build

To build the desktop application for all platforms, run the following command from the root of the source tree:

grunt

After a successful build, you will get a dist folder that will contain the generated application bundles for each platform.

You can customize the build by creating a custom configuration file. See config.default.json and config.linux-x64.json for examples. For instance, if you want to build 64-bit executables for OS X and Linux, the configuration file (config.linux-darwin-x64.json) will look like this:

{
    "platforms": [
        "darwin-x64",
        "linux-x64"
    ]
}

Then run Grunt with the --config option:

grunt --config=config.linux-darwin-x64.json

Other Grunt tasks are available for developers:

Command Effect
grunt electron-bundle (default) Build the desktop application and create zip bundles for various platforms.
grunt deb Build Debian packages.
grunt electron-build Build the desktop application without creating bundles.
grunt web-build Build the web application without uploading it.
grunt web-demo Build the web application and upload it to a server.
grunt pot Extract a template file (locales/messages.pot) for translation.

Install

Since Sozi 18.01, a Debian package is available for users of Debian or Ubuntu-based distributions.

sudo dpkg -i sozi_[...].deb

For other platforms, Sozi is released as a zip/tgz archive that you can extract wherever you like.

  • OS X users can drag the Sozi.app subfolder into their Applications folder.
  • Windows and Linux users can run the Sozi executable directly from the extracted folder.

If installation on your specific platform is supported by Sozi, there will be an install folder in the extracted archive containing installation scripts. To install Sozi system-wide:

cd Sozi-[...]/install
sudo ./install.sh

To install Sozi in your home folder:

cd Sozi-[...]/install
./install-local.sh

In many situations, Sozi will not need additional software to be installed. If Sozi complains about missing libraries, here is the list of all the known runtime dependencies of the Sozi executable:

sudo apt install \
    libasound2 \
    libatk1.0-0 \
    libavahi-client3 \
    libavahi-common3 \
    libc6 libcairo2 \
    libcomerr2 \
    libcups2 \
    libdatrie1 \
    libdbus-1-3 \
    libdbus-glib-1-2 \
    libexpat1 \
    libffi6 \
    libfontconfig1 \
    libfreetype6 \
    libgcc1 \
    libgconf-2-4 \
    libgcrypt20 \
    libgdk-pixbuf2.0-0 \
    libglib2.0-0 \
    libgmp10 \
    libgnutls30 \
    libgpg-error0 \
    libgraphite2-3 \
    libgssapi-krb5-2 \
    libgtk2.0-0 \
    libharfbuzz0b \
    libhogweed4 \
    libidn11 \
    libk5crypto3 \
    libkeyutils1 \
    libkrb5-3 \
    libkrb5support0 \
    liblzma5 \
    libnettle6 \
    libnspr4 \
    libnss3 \
    libp11-kit0 \
    libpango-1.0-0 \
    libpangocairo-1.0-0 \
    libpangoft2-1.0-0 \
    libpcre3 \
    libpixman-1-0 \
    libpng12-0 \
    libselinux1 \
    libstdc++6 \
    libsystemd0 \
    libtasn1-6 \
    libthai0 \
    libx11-6 \
    libx11-xcb1 \
    libxau6 \
    libxcb1 \
    libxcb-render0 \
    libxcb-shm0 \
    libxcomposite1 \
    libxcursor1 \
    libxdamage1 \
    libxdmcp6 \
    libxext6 \
    libxfixes3 \
    libxi6 \
    libxinerama1 \
    libxrandr2 \
    libxrender1 \
    libxss1 \
    libxtst6 \
    zlib1g