From 911fe0b6f67ab80d7417eb77ea865bc4cbaac72d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 19 Jun 2012 18:05:56 +0100 Subject: [PATCH] Simplify README.md --- Makefile.am | 4 +- README.md | 213 ++--------------- .../Common/Translations}/LINGUAS | 0 .../Common/Translations/Makefile.in.in | 222 ++++++++++++++++++ .../Common/Translations}/POTFILES.in | 0 .../Common/Translations}/POTFILES.skip | 0 .../Common/Translations}/README.transifex | 0 .../Common/Translations}/ar.po | 0 .../Common/Translations}/bg.po | 0 .../Common/Translations}/ca.po | 0 .../Common/Translations}/cs_CZ.po | 0 .../Common/Translations}/da.po | 0 .../Common/Translations}/de.po | 0 .../Common/Translations}/el.po | 0 .../Common/Translations}/eo.po | 0 .../Common/Translations}/es.po | 0 .../Common/Translations}/fi.po | 0 .../Common/Translations}/fr.po | 0 .../Common/Translations}/he.po | 0 .../Common/Translations}/hu.po | 0 .../Common/Translations}/it.po | 0 .../Common/Translations}/ja.po | 0 .../Common/Translations}/nl.po | 0 .../Common/Translations}/nn_NO.po | 0 .../Common/Translations}/no_NO.po | 0 .../Common/Translations}/pl.po | 0 .../Common/Translations}/pt_BR.po | 0 .../Common/Translations}/ru.po | 0 .../Common/Translations}/sk.po | 0 .../Common/Translations}/sl.po | 0 .../Common/Translations}/sort-potfiles | 0 .../Common/Translations}/sr_RS.po | 0 SparkleShare/Common/Translations/stamp-it | 0 .../Common/Translations}/sv.po | 0 .../Common/Translations}/te.po | 0 .../Common/Translations}/uk.po | 0 .../Common/Translations}/zh_CN.po | 0 .../Common/Translations}/zh_TW.po | 0 SparkleShare/Linux/README.md | 74 ++++++ SparkleShare/Mac/README.md | 58 +++++ SparkleShare/Windows/README.md | 51 ++++ 41 files changed, 426 insertions(+), 196 deletions(-) rename {po => SparkleShare/Common/Translations}/LINGUAS (100%) create mode 100644 SparkleShare/Common/Translations/Makefile.in.in rename {po => SparkleShare/Common/Translations}/POTFILES.in (100%) rename {po => SparkleShare/Common/Translations}/POTFILES.skip (100%) rename {po => SparkleShare/Common/Translations}/README.transifex (100%) rename {po => SparkleShare/Common/Translations}/ar.po (100%) rename {po => SparkleShare/Common/Translations}/bg.po (100%) rename {po => SparkleShare/Common/Translations}/ca.po (100%) rename {po => SparkleShare/Common/Translations}/cs_CZ.po (100%) rename {po => SparkleShare/Common/Translations}/da.po (100%) rename {po => SparkleShare/Common/Translations}/de.po (100%) rename {po => SparkleShare/Common/Translations}/el.po (100%) rename {po => SparkleShare/Common/Translations}/eo.po (100%) rename {po => SparkleShare/Common/Translations}/es.po (100%) rename {po => SparkleShare/Common/Translations}/fi.po (100%) rename {po => SparkleShare/Common/Translations}/fr.po (100%) rename {po => SparkleShare/Common/Translations}/he.po (100%) rename {po => SparkleShare/Common/Translations}/hu.po (100%) rename {po => SparkleShare/Common/Translations}/it.po (100%) rename {po => SparkleShare/Common/Translations}/ja.po (100%) rename {po => SparkleShare/Common/Translations}/nl.po (100%) rename {po => SparkleShare/Common/Translations}/nn_NO.po (100%) rename {po => SparkleShare/Common/Translations}/no_NO.po (100%) rename {po => SparkleShare/Common/Translations}/pl.po (100%) rename {po => SparkleShare/Common/Translations}/pt_BR.po (100%) rename {po => SparkleShare/Common/Translations}/ru.po (100%) rename {po => SparkleShare/Common/Translations}/sk.po (100%) rename {po => SparkleShare/Common/Translations}/sl.po (100%) rename {po => SparkleShare/Common/Translations}/sort-potfiles (100%) rename {po => SparkleShare/Common/Translations}/sr_RS.po (100%) create mode 100644 SparkleShare/Common/Translations/stamp-it rename {po => SparkleShare/Common/Translations}/sv.po (100%) rename {po => SparkleShare/Common/Translations}/te.po (100%) rename {po => SparkleShare/Common/Translations}/uk.po (100%) rename {po => SparkleShare/Common/Translations}/zh_CN.po (100%) rename {po => SparkleShare/Common/Translations}/zh_TW.po (100%) create mode 100644 SparkleShare/Linux/README.md create mode 100644 SparkleShare/Mac/README.md create mode 100644 SparkleShare/Windows/README.md diff --git a/Makefile.am b/Makefile.am index 2eef778c..b65969d4 100755 --- a/Makefile.am +++ b/Makefile.am @@ -4,10 +4,10 @@ SUBDIRS = $(basedirs) $(GUISUBDIRS) DIST_SUBDIRS = $(basedirs) SparkleShare EXTRA_DIST = \ + NEWS \ + README.md \ legal/LICENSE \ legal/TRADEMARK \ - README.md \ - NEWS \ legal/AUTHORS DISTCLEANFILES = \ diff --git a/README.md b/README.md index eb0a5ec2..9f21e02a 100644 --- a/README.md +++ b/README.md @@ -1,208 +1,33 @@ -# SparkleShare +## SparkleShare -SparkleShare is a collaboration and sharing tool that is designed to keep -things simple and to stay out of your way. SparkleShare is available for Linux, Mac and Windows. +SparkleShare is a collaboration and sharing tool that is designed to keep things simple and to stay out of your way. It allows you to instantly sync with [Git](http://www.git-scm.org/) repositories and is available for Linux distributions, Mac and Windows. -SparkleShare allows you to instantly sync with any [Git](http://www.git-scm.org/) repository you have access to. -[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/thing/21770/SparkleShare-Sharing-work-made-easy) - -## Resources +### Resources ||| -|-----------------------------------:|:--------------------------| -| **Website**: | http://www.sparkleshare.org/ | -| **Source code**: | https://github.com/hbons/SparkleShare | -| **IRC channel**: | #sparkleshare on irc.gnome.org | -| **Wiki**: | http://github.com/hbons/SparkleShare/wiki/ | -| **Report issues**: | http://github.com/hbons/SparkleShare/issues/ | -| **Translation project**: | http://www.transifex.net/projects/p/sparkleshare/ | +|-----------------------------------:|:----------------------------------| +| **Website**: | http://www.sparkleshare.org/ | +| **Downloads**: | https://github.com/hbons/SparkleShare/downloads | +| **Source code**: | https://github.com/hbons/SparkleShare | +| **IRC channel**: | #sparkleshare on irc.gnome.org | +| **Wiki**: | http://github.com/hbons/SparkleShare/wiki/ | +| **Report issues**: | http://github.com/hbons/SparkleShare/issues/ | +| **Translations**: | http://www.transifex.net/projects/p/sparkleshare/ | -## License +### License -SparkleShare is free software and licensed under the GNU GPLv3 or later. You -are welcome to change and redistribute it under certain conditions. For more -information see the LICENSE file or visit http://www.gnu.org/licenses/gpl-3.0.html +SparkleShare is free and Open Source software and licensed under the GNU GPLv3 or later. You are welcome to change and redistribute it under certain conditions. For more information see the legal/LICENSE file. +### Building... -## Running SparkleShare +[...on Linux distributions](https://github.com/hbons/SparkleShare/SparkleShare/Linux/README.md) +[...on Mac](https://github.com/hbons/SparkleShare/SparkleShare/Mac/README.md) +[...on Windows](https://github.com/hbons/SparkleShare/SparkleShare/Windows/README.md) -### Linux -You can choose to build from source or get the packages through your distribution's repositories. +### Finally -Requirements: +Have fun, make awesome. :) -``` -curl -git >= 1.7.3 -gtk-sharp2 -mono-core >= 2.8 -notify-sharp -webkit-sharp -``` - -Optional: - -``` -nautilus-python -gvfs -libappindicator -``` - - -### Mac - -Download, unzip and open the SparkleShare bundle. - - -### Windows - -Download and run the installer and start SparkleShare from the Windows menu. - - -## Building on Linux - -### Ubuntu: - -```bash -$ sudo apt-get install libappindicator0.1-cil-dev gtk-sharp2 mono-runtime mono-devel \ - monodevelop libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs - mono-gmcs libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev -``` - -### Fedora: - -```bash -$ sudo yum install gtk-sharp2-devel mono-core mono-devel monodevelop \ - ndesk-dbus-devel ndesk-dbus-glib-devel nautilus-python-devel nant \ - notify-sharp-devel webkit-sharp-devel webkitgtk-devel libtool intltool \ - desktop-file-utils -``` - -### Debian: - -```bash -$ sudo apt-get install gtk-sharp2 mono-runtime mono-devel monodevelop \ - libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs mono-gmcs \ - libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev \ - desktop-file-utils -``` - -### openSUSE: - -```bash -$ sudo zypper install gtk-sharp2 mono-core mono-devel monodevelop \ - ndesk-dbus-glib-devel python-nautilus-devel nant desktop-file-utils \ - notify-sharp-devel webkit-sharp libwebkitgtk-devel libtool intltool -``` - - -You can then build and install SparkleShare like this: - -```bash -$ ./configure --prefix=/usr (or ./autogen.sh if you build from the repository) -$ make -$ sudo make install -``` - -**Note:** The Nautilus extension will only be enabled if you build with `--prefix=/usr`. - - -## Building on Mac - -Install [Xcode](https://developer.apple.com/xcode/), the [Mono Framework](http://www.mono-project.com/) -and [MonoDevelop](http://monodevelop.com/). - -Start MonoDevelop and install the MonoMac add-in (it's in MonoDevelop > Add-in Manager). - - -You may need to adjust some environment variables to let the build environment tools find mono: - -```bash -$ export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH -$ export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config -$ export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig -``` - -Install git, automake, libtool and intltool using MacPorts: - -```bash -$ sudo port install git-core automake intltool libtool -``` - -Start the first part of the build: - -```bash -$ ./autogen.sh --enable-gtkui=no -$ make -``` - -Now that you have compiled the libraries, open `SparkleShare/Mac/SparkleShare.sln` in -MonoDevelop and start the build. - - -### Creating a Mac bundle - -To create the SparkleShare.app, make sure the project is focused and select Project from the menu bar -and click "Create Mac Installer...". Make sure to select "Don't link assemblies". - -Save the SparkleShare.app somewhere. Copy `SparkleShare/Mac/config` to - `SparkleShare.app/Contents/MonoBundle/config` (adjust the paths to where you saved the .app): - -``` -cp SparkleShare/Mac/config SparkleShare.app/Contents/MonoBundle/config -``` - -Copy `/Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib` to `SparkleShare.app/Contents/Resources` - -Now you should have a working bundle that you can run. - - -## Building on Windows - -Install version 4.0 of the [.NET Framework](http://www.microsoft.com/download/en/details.aspx?id=17851) if you haven't already. - -Install [msysGit](http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.8-preview20111206.exe). Change the install location to `C:\msysgit` and use the default settings for the other settings during the installation. Copy the `C:\msysgit` directory into `bin\msysgit` (in the SparkleShare source directory). - -Open a command prompt and execute the following: - -``` -cd C:\path\to\SparkleShare\source -cd SparkleShare\Windows -build -``` - -`C:\path\to\SparkleShare\source\bin` should now contain `SparkleShare.exe`, which you can run. - - - -### Creating a Windows installer - -To create an installer package, install [WiX 3.5](http://wix.sourceforge.net/), restart Windows and run: - -``` -build installer -``` - -This will create `SparkleShare.msi` in the same directory. - - -## Reset SparkleShare settings - -### Linux and Mac: - -``` -rm -Rf ~/SparkleShare -rm -Rf ~/.config/sparkleshare -``` - -### Windows - -Remove `My Documents\SparkleShare` and `AppData\Roaming\sparkleshare` (`AppData` is hidden by default). - - -## Finally - -Have fun! :) diff --git a/po/LINGUAS b/SparkleShare/Common/Translations/LINGUAS similarity index 100% rename from po/LINGUAS rename to SparkleShare/Common/Translations/LINGUAS diff --git a/SparkleShare/Common/Translations/Makefile.in.in b/SparkleShare/Common/Translations/Makefile.in.in new file mode 100644 index 00000000..06a8cfe9 --- /dev/null +++ b/SparkleShare/Common/Translations/Makefile.in.in @@ -0,0 +1,222 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Copyright (C) 2004-2008 Rodney Dawes +# +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, +# but which still want to provide support for the GNU gettext functionality. +# +# - Modified by Owen Taylor to use GETTEXT_PACKAGE +# instead of PACKAGE and to look for po2tbl in ./ not in intl/ +# +# - Modified by jacob berkman to install +# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize +# +# - Modified by Rodney Dawes for use with intltool +# +# We have the following line for use by intltoolize: +# INTLTOOL_MAKEFILE + +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +libdir = @libdir@ +DATADIRNAME = @DATADIRNAME@ +itlocaledir = $(prefix)/$(DATADIRNAME)/locale +subdir = po +install_sh = @install_sh@ +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot + +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS + +POTFILES = \ +# This comment gets stripped out + +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) + +.SUFFIXES: +.SUFFIXES: .po .pox .gmo .mo .msg .cat + +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) +INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) +INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; + +.po.pox: + $(MAKE) $(GETTEXT_PACKAGE).pot + $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox + +.po.mo: + $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< + +.po.gmo: + $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< + +.po.cat: + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && gencat $@ $*.msg + + +all: all-@USE_NLS@ + +all-yes: $(CATALOGS) +all-no: + +$(GETTEXT_PACKAGE).pot: $(POTFILES) + $(GENPOT) + +install: install-data +install-data: install-data-@USE_NLS@ +install-data-no: all +install-data-yes: all + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ + fi; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: + +# Define this as empty until I found a useful application. +install-exec installcheck: + +uninstall: + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ + done + +check: all $(GETTEXT_PACKAGE).pot + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi + +mostlyclean: + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp + rm -f .intltool-merge-cache + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f Makefile.in.in + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: $(DISTFILES) + dists="$(DISTFILES)"; \ + extra_dists="$(EXTRA_DISTFILES)"; \ + for file in $$extra_dists; do \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ + done; \ + for file in $$dists; do \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(GETTEXT_PACKAGE).pot + tmpdir=`pwd`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + echo "$$lang:"; \ + result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ + if $$result; then \ + if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.gmo failed!"; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi; \ + done + +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ + $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/po/POTFILES.in b/SparkleShare/Common/Translations/POTFILES.in similarity index 100% rename from po/POTFILES.in rename to SparkleShare/Common/Translations/POTFILES.in diff --git a/po/POTFILES.skip b/SparkleShare/Common/Translations/POTFILES.skip similarity index 100% rename from po/POTFILES.skip rename to SparkleShare/Common/Translations/POTFILES.skip diff --git a/po/README.transifex b/SparkleShare/Common/Translations/README.transifex similarity index 100% rename from po/README.transifex rename to SparkleShare/Common/Translations/README.transifex diff --git a/po/ar.po b/SparkleShare/Common/Translations/ar.po similarity index 100% rename from po/ar.po rename to SparkleShare/Common/Translations/ar.po diff --git a/po/bg.po b/SparkleShare/Common/Translations/bg.po similarity index 100% rename from po/bg.po rename to SparkleShare/Common/Translations/bg.po diff --git a/po/ca.po b/SparkleShare/Common/Translations/ca.po similarity index 100% rename from po/ca.po rename to SparkleShare/Common/Translations/ca.po diff --git a/po/cs_CZ.po b/SparkleShare/Common/Translations/cs_CZ.po similarity index 100% rename from po/cs_CZ.po rename to SparkleShare/Common/Translations/cs_CZ.po diff --git a/po/da.po b/SparkleShare/Common/Translations/da.po similarity index 100% rename from po/da.po rename to SparkleShare/Common/Translations/da.po diff --git a/po/de.po b/SparkleShare/Common/Translations/de.po similarity index 100% rename from po/de.po rename to SparkleShare/Common/Translations/de.po diff --git a/po/el.po b/SparkleShare/Common/Translations/el.po similarity index 100% rename from po/el.po rename to SparkleShare/Common/Translations/el.po diff --git a/po/eo.po b/SparkleShare/Common/Translations/eo.po similarity index 100% rename from po/eo.po rename to SparkleShare/Common/Translations/eo.po diff --git a/po/es.po b/SparkleShare/Common/Translations/es.po similarity index 100% rename from po/es.po rename to SparkleShare/Common/Translations/es.po diff --git a/po/fi.po b/SparkleShare/Common/Translations/fi.po similarity index 100% rename from po/fi.po rename to SparkleShare/Common/Translations/fi.po diff --git a/po/fr.po b/SparkleShare/Common/Translations/fr.po similarity index 100% rename from po/fr.po rename to SparkleShare/Common/Translations/fr.po diff --git a/po/he.po b/SparkleShare/Common/Translations/he.po similarity index 100% rename from po/he.po rename to SparkleShare/Common/Translations/he.po diff --git a/po/hu.po b/SparkleShare/Common/Translations/hu.po similarity index 100% rename from po/hu.po rename to SparkleShare/Common/Translations/hu.po diff --git a/po/it.po b/SparkleShare/Common/Translations/it.po similarity index 100% rename from po/it.po rename to SparkleShare/Common/Translations/it.po diff --git a/po/ja.po b/SparkleShare/Common/Translations/ja.po similarity index 100% rename from po/ja.po rename to SparkleShare/Common/Translations/ja.po diff --git a/po/nl.po b/SparkleShare/Common/Translations/nl.po similarity index 100% rename from po/nl.po rename to SparkleShare/Common/Translations/nl.po diff --git a/po/nn_NO.po b/SparkleShare/Common/Translations/nn_NO.po similarity index 100% rename from po/nn_NO.po rename to SparkleShare/Common/Translations/nn_NO.po diff --git a/po/no_NO.po b/SparkleShare/Common/Translations/no_NO.po similarity index 100% rename from po/no_NO.po rename to SparkleShare/Common/Translations/no_NO.po diff --git a/po/pl.po b/SparkleShare/Common/Translations/pl.po similarity index 100% rename from po/pl.po rename to SparkleShare/Common/Translations/pl.po diff --git a/po/pt_BR.po b/SparkleShare/Common/Translations/pt_BR.po similarity index 100% rename from po/pt_BR.po rename to SparkleShare/Common/Translations/pt_BR.po diff --git a/po/ru.po b/SparkleShare/Common/Translations/ru.po similarity index 100% rename from po/ru.po rename to SparkleShare/Common/Translations/ru.po diff --git a/po/sk.po b/SparkleShare/Common/Translations/sk.po similarity index 100% rename from po/sk.po rename to SparkleShare/Common/Translations/sk.po diff --git a/po/sl.po b/SparkleShare/Common/Translations/sl.po similarity index 100% rename from po/sl.po rename to SparkleShare/Common/Translations/sl.po diff --git a/po/sort-potfiles b/SparkleShare/Common/Translations/sort-potfiles similarity index 100% rename from po/sort-potfiles rename to SparkleShare/Common/Translations/sort-potfiles diff --git a/po/sr_RS.po b/SparkleShare/Common/Translations/sr_RS.po similarity index 100% rename from po/sr_RS.po rename to SparkleShare/Common/Translations/sr_RS.po diff --git a/SparkleShare/Common/Translations/stamp-it b/SparkleShare/Common/Translations/stamp-it new file mode 100644 index 00000000..e69de29b diff --git a/po/sv.po b/SparkleShare/Common/Translations/sv.po similarity index 100% rename from po/sv.po rename to SparkleShare/Common/Translations/sv.po diff --git a/po/te.po b/SparkleShare/Common/Translations/te.po similarity index 100% rename from po/te.po rename to SparkleShare/Common/Translations/te.po diff --git a/po/uk.po b/SparkleShare/Common/Translations/uk.po similarity index 100% rename from po/uk.po rename to SparkleShare/Common/Translations/uk.po diff --git a/po/zh_CN.po b/SparkleShare/Common/Translations/zh_CN.po similarity index 100% rename from po/zh_CN.po rename to SparkleShare/Common/Translations/zh_CN.po diff --git a/po/zh_TW.po b/SparkleShare/Common/Translations/zh_TW.po similarity index 100% rename from po/zh_TW.po rename to SparkleShare/Common/Translations/zh_TW.po diff --git a/SparkleShare/Linux/README.md b/SparkleShare/Linux/README.md new file mode 100644 index 00000000..ae808ec4 --- /dev/null +++ b/SparkleShare/Linux/README.md @@ -0,0 +1,74 @@ + +## Running SparkleShare + +### Linux + +You can choose to build from source or get the packages through your distribution's repositories. + +Requirements: + +``` +curl +git >= 1.7.3 +gtk-sharp2 +mono-core >= 2.8 +notify-sharp +webkit-sharp +``` + +Optional: + +``` +nautilus-python +gvfs +libappindicator +``` + + +## Building on Linux + +### Ubuntu: + +```bash +$ sudo apt-get install libappindicator0.1-cil-dev gtk-sharp2 mono-runtime mono-devel \ + monodevelop libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs + mono-gmcs libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev +``` + +### Fedora: + +```bash +$ sudo yum install gtk-sharp2-devel mono-core mono-devel monodevelop \ + ndesk-dbus-devel ndesk-dbus-glib-devel nautilus-python-devel nant \ + notify-sharp-devel webkit-sharp-devel webkitgtk-devel libtool intltool \ + desktop-file-utils +``` + +### Debian: + +```bash +$ sudo apt-get install gtk-sharp2 mono-runtime mono-devel monodevelop \ + libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs mono-gmcs \ + libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev \ + desktop-file-utils +``` + +### openSUSE: + +```bash +$ sudo zypper install gtk-sharp2 mono-core mono-devel monodevelop \ + ndesk-dbus-glib-devel python-nautilus-devel nant desktop-file-utils \ + notify-sharp-devel webkit-sharp libwebkitgtk-devel libtool intltool +``` + + +You can then build and install SparkleShare like this: + +```bash +$ ./configure --prefix=/usr (or ./autogen.sh if you build from the repository) +$ make +$ sudo make install +``` + +**Note:** The Nautilus extension will only be enabled if you build with `--prefix=/usr`. + diff --git a/SparkleShare/Mac/README.md b/SparkleShare/Mac/README.md new file mode 100644 index 00000000..08954f21 --- /dev/null +++ b/SparkleShare/Mac/README.md @@ -0,0 +1,58 @@ + + +### Mac + +Download, unzip and open the SparkleShare bundle. + + + + +## Building on Mac + +Install [Xcode](https://developer.apple.com/xcode/), the [Mono Framework](http://www.mono-project.com/) +and [MonoDevelop](http://monodevelop.com/). + +Start MonoDevelop and install the MonoMac add-in (it's in MonoDevelop > Add-in Manager). + + +You may need to adjust some environment variables to let the build environment tools find mono: + +```bash +$ export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH +$ export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config +$ export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig +``` + +Install git, automake, libtool and intltool using MacPorts: + +```bash +$ sudo port install git-core automake intltool libtool +``` + +Start the first part of the build: + +```bash +$ ./autogen.sh --enable-gtkui=no +$ make +``` + +Now that you have compiled the libraries, open `SparkleShare/Mac/SparkleShare.sln` in +MonoDevelop and start the build. + + +### Creating a Mac bundle + +To create the SparkleShare.app, make sure the project is focused and select Project from the menu bar +and click "Create Mac Installer...". Make sure to select "Don't link assemblies". + +Save the SparkleShare.app somewhere. Copy `SparkleShare/Mac/config` to + `SparkleShare.app/Contents/MonoBundle/config` (adjust the paths to where you saved the .app): + +``` +cp SparkleShare/Mac/config SparkleShare.app/Contents/MonoBundle/config +``` + +Copy `/Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib` to `SparkleShare.app/Contents/Resources` + +Now you should have a working bundle that you can run. + diff --git a/SparkleShare/Windows/README.md b/SparkleShare/Windows/README.md new file mode 100644 index 00000000..046862da --- /dev/null +++ b/SparkleShare/Windows/README.md @@ -0,0 +1,51 @@ +### Windows + +Download and run the installer and start SparkleShare from the Windows menu. + + + + + + +## Building on Windows + +Install version 4.0 of the [.NET Framework](http://www.microsoft.com/download/en/details.aspx?id=17851) if you haven't already. + +Install [msysGit](http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.8-preview20111206.exe). Change the install location to `C:\msysgit` and use the default settings for the other settings during the installation. Copy the `C:\msysgit` directory into `bin\msysgit` (in the SparkleShare source directory). + +Open a command prompt and execute the following: + +``` +cd C:\path\to\SparkleShare\source +cd SparkleShare\Windows +build +``` + +`C:\path\to\SparkleShare\source\bin` should now contain `SparkleShare.exe`, which you can run. + + + +### Creating a Windows installer + +To create an installer package, install [WiX 3.5](http://wix.sourceforge.net/), restart Windows and run: + +``` +build installer +``` + +This will create `SparkleShare.msi` in the same directory. + + +## Reset SparkleShare settings + +### Linux and Mac: + +``` +rm -Rf ~/SparkleShare +rm -Rf ~/.config/sparkleshare +``` + +### Windows + +Remove `My Documents\SparkleShare` and `AppData\Roaming\sparkleshare` (`AppData` is hidden by default). +