SparkleShare/SparkleShare/Linux
2018-03-08 20:13:03 +00:00
..
Images linux: Add screenshots for gnome-software 2018-02-23 17:00:53 +00:00
About.cs Changes to adjust for Flatpak seems to have broken local builds (regular packages). Also minor cosmetic fixes. 2018-02-11 23:38:53 +00:00
Bubbles.cs Change my email address 2017-07-23 13:47:54 +01:00
Controller.cs controller: Allow for platform-specific quit methods and implement on Mac 2018-03-08 10:20:22 +00:00
EventLog.cs linux eventlog: Suppress webkit warning 2018-02-11 19:50:58 +00:00
meson.build build: Fix appindicator detection logic 2018-02-26 09:58:48 +00:00
Note.cs linux note: Fix crash/warnings due to packing logic 2018-02-26 16:16:01 +00:00
org.sparkleshare.SparkleShare.appdata.xml Update org.sparkleshare.SparkleShare.appdata.xml 2018-02-23 17:07:06 +00:00
org.sparkleshare.SparkleShare.desktop linux autostart: xdg-app -> flatpak 2016-09-03 19:41:23 +01:00
org.sparkleshare.SparkleShare.Invites.desktop Add toplevel Solution file 2016-07-08 22:58:19 +01:00
README.md Update README.md 2018-02-25 17:16:42 +00:00
Setup.cs Change my email address 2017-07-23 13:47:54 +01:00
SetupWindow.cs linux about: Fix background image 2017-08-14 21:28:46 +02:00
SparkleShare.Autostart.desktop linux autostart: xdg-app -> flatpak 2016-09-03 19:41:23 +01:00
sparkleshare.in Implement more of the meson build 2018-02-21 08:55:10 +00:00
SparkleShare.Linux.csproj mac: Fix build 2018-02-21 08:55:10 +00:00
StatusIcon.cs build: Install icons and finish last meson todo items 2018-02-21 08:55:10 +00:00
UserInterface.cs linux ui: Fix exception when there are multiple Run methods 2018-02-21 08:55:10 +00:00
UserInterfaceHelpers.cs linux ui: Fix icon lookup for statusicon 2018-02-11 14:01:54 +00:00

SparkleShare for Linux

Building on Linux

Common build requirements

You will need the packages listed below for the most used Linux distributions (some are run requirements):

# On Ubuntu 16.04:
sudo apt-get install \
  curl \ # Run requirement
  desktop-file-utils \
  git \ # Run requirement
  git-lfs \ # Run requirement
  gtk-sharp3-gapi \ # To build webkit2-sharp
  gvfs \ # Run requirement
  libappindicator3-0.1-cil-dev \
  libdbus-glib2.0-cil-dev \
  libgtk3.0-cil-dev \
  libnotify3.0-cil-dev \
  libsoup2.4-dev \
  libwebkit2gtk-4.0 \
  meson

# On Fedora 27:
sudo dnf install \
  curl \ # Run requirement
  git \ # Run requirement
  git-lfs \ # Run requirement
  gtk-sharp3-devel \
  gtk-sharp3-gapi \ # To build webkit2-sharp
  gvfs \ # Run requirement
  meson \
  notify-sharp3-devel \
  webkitgtk4-devel \
  webkit2-sharp

Additional source build requirements

Install the soup-sharp and webkit2gtk-sharp bindings from: https://github.com/hbons/soup-sharp
https://github.com/hbons/webkit2gtk-sharp

Both with:

./autogen.sh
make
sudo make install

Om Ubuntu, also install the appindicator-sharp bindings from: https://github.com/hbons/appindicator-sharp

Start the build

You can build and install SparkleShare with meson like this:

meson build/
ninja -C build/
sudo ninja install -C build/

If your distribution has an out of date meson package, you can install the latest version using the Python package manager:

# Install pip using your system's package manager
sudo apt-get install python3-pip # Ubuntu
sudo dnf install python3-pip # Fedora

pip3 install meson

Uninstall

sudo ninja uninstall

Reset SparkleShare settings

rm -Rf ~/SparkleShare
rm -Rf ~/.config/org.sparkleshare.SparkleShare