Giter Site home page Giter Site logo

sharkopen / seadrive-gui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haiwen/seadrive-gui

0.0 0.0 0.0 19.81 MB

GUI part of seadrive.

License: Apache License 2.0

Shell 0.46% C++ 77.42% Python 0.02% C 2.24% Objective-C 3.39% CSS 1.26% Objective-C++ 12.30% CMake 2.92%

seadrive-gui's Introduction

seadrive-gui

GUI part of seafile drive.

Internationalization

You are welcome to add translation in your language.

Contribute your translation

Please submit translations via Transifex: https://www.transifex.com/projects/p/seadrive-gui

Steps:

  1. Create a free account on Transifex (https://www.transifex.com/).
  2. Send a request to join the language translation.
  3. After accepted by the project maintainer, you can translate online.

Build

Linux

Preparation

The following list is what you need to install on your development machine. You should install all of them before you build seadrive-gui.

Package names are according to Ubuntu 14.04. For other Linux distros, please find their corresponding names yourself.

  • autoconf/automake/libtool
  • libevent-dev ( 2.0 or later )
  • libcurl4-openssl-dev (1.0.0 or later)
  • libgtk2.0-dev ( 2.24 or later)
  • uuid-dev
  • intltool (0.40 or later)
  • libsqlite3-dev (3.7 or later)
  • valac (only needed if you build from git repo)
  • libjansson-dev
  • qtchooser
  • qtbase5-dev
  • libqt5webkit5-dev
  • qttools5-dev
  • qttools5-dev-tools
  • valac
  • cmake
  • python-simplejson
  • libssl-dev
sudo apt-get install autoconf automake libtool libevent-dev libcurl4-openssl-dev libgtk2.0-dev uuid-dev intltool libsqlite3-dev valac libjansson-dev cmake qtchooser qtbase5-dev libqt5webkit5-dev qttools5-dev qttools5-dev-tools libssl-dev

For a fresh Fedora or CentOS installation, the following will install all dependencies via YUM:

sudo yum install wget gcc libevent-devel openssl-devel gtk2-devel libuuid-devel sqlite-devel jansson-devel intltool cmake libtool vala gcc-c++ qt5-qtbase-devel qt5-qttools-devel qt5-qtwebkit-devel libcurl-devel openssl-devel

Building

  1. First you should get the latest source of libsearpc/seadrive/seadrive-gui, Download the source tarball of the latest tag from

For example, if the latest released seadrive gui client is 2.0.6, then just use the v2.0.6 tags of the three projects. You should get three tarballs:

  • libsearpc-v3.2-latest.tar.gz
  • seadrive-fuse-2.0.6.tar.gz
  • seadrive-gui-2.0.6.tar.gz
shopt -s expand_aliases
export version=2.0.6
alias wget='wget --content-disposition -nc'
wget https://github.com/haiwen/libsearpc/archive/v3.2-latest.tar.gz
wget https://github.com/haiwen/seadrive-fuse/archive/v${version}.tar.gz
wget https://github.com/haiwen/seadrive-gui/archive/v${version}.tar.gz
  1. Now uncompress them
tar xf libsearpc-3.2-latest.tar.gz
tar xf seadrive-fuse-${version}.tar.gz
tar xf seadrive-gui-${version}.tar.gz
  1. Build Seadrive gui

To build seadrive gui client you need first build libsearpc seadrive-fuse. To compile seadrive-fuse please refer to the link https://github.com/haiwen/seadrive-fuse/blob/master/README.md

set paths
export PREFIX=/usr
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="$PREFIX/bin:$PATH"

cd seadrive-gui-${version}
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX .
make
sudo make install
cd ..

seadrive-gui's People

Contributors

lins05 avatar sun20121818 avatar sunyuzhao avatar killing avatar qgm1qsz4ugx avatar rumtid avatar freeplant avatar caixiangyue avatar feiniks avatar qdbgw3ihnjw avatar ly1217 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.