Put everything in a monodevelop project.

This commit is contained in:
Hylke Bons 2010-05-03 01:04:39 +01:00
parent 90a067a2a3
commit e01cf0c2da
17 changed files with 87 additions and 1079 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*~ *~
*.exe *.exe
*.exe.mdb

View file

@ -1,26 +1,27 @@
SparklePony.exe : src/SparklePony.cs SparkleShare.exe : SparkleShare.sln
gmcs -pkg:gtk-sharp-2.0 -pkg:notify-sharp -pkg:dbus-sharp src/SparklePony.cs mdtool build --f --buildfile:SparkleShare.sln
install: install:
mkdir -p /usr/local/share/sparklepony mkdir -p /usr/local/share/sparkleshare
cp src/SparklePony.exe /usr/local/share/sparklepony/ cp SparkleShare/bin/Debug/SparkleShare.exe /usr/local/share/sparkleshare/
chmod 755 /usr/local/share/sparklepony/SparklePony.exe cp SparkleShare/bin/Debug/SparkleShare.exe.mdb /usr/local/share/sparkleshare/
cp src/sparklepony /usr/local/bin/ chmod 755 /usr/local/share/sparkleshare/SparkleShare.exe
chmod 755 /usr/local/bin/sparklepony cp sparkleshare /usr/local/bin/
chmod 755 /usr/local/bin/sparkleshare
cp data/icons /usr/share/ -R cp data/icons /usr/share/ -R
mkdir -p ~/.config/autostart mkdir -p ~/.config/autostart
cp data/sparklepony.desktop.in ~/.config/autostart/sparklepony.desktop cp data/sparkleshare.desktop.in ~/.config/autostart/sparkleshare.desktop
chmod 775 ~/.config/autostart/sparklepony.desktop chmod 775 ~/.config/autostart/sparkleshare.desktop
gtk-update-icon-cache /usr/share/icons/hicolor -f gtk-update-icon-cache /usr/share/icons/hicolor -f
uninstall: uninstall:
rm /usr/local/bin/sparklepony rm /usr/local/bin/sparkleshare
rm /usr/local/share/sparklepony/SparklePony.exe rm /usr/local/share/sparkleshare/SparkleShare.exe
rmdir /usr/local/share/sparklepony rmdir /usr/local/share/sparkleshare
rm /usr/share/icons/hicolor/*x*/places/folder-sparklepony.png rm /usr/share/icons/hicolor/*x*/places/folder-sparkleshare.png
rm /usr/share/icons/hicolor/*x*/status/document-*ed.png rm /usr/share/icons/hicolor/*x*/status/document-*ed.png
rm /usr/share/icons/hicolor/*x*/status/avatar-default.png rm /usr/share/icons/hicolor/*x*/status/avatar-default.png
rm ~/.config/autostart/sparklepony.desktop rm ~/.config/autostart/sparkleshare.desktop
clean: clean:
rm src/SparklePony.exe rm src/sparkleshare.exe

24
README
View file

@ -1,29 +1,29 @@
SparklePony is a file sharing and collaboration tool inspired by DropBox. It SparkleShare is a file sharing and collaboration tool inspired by DropBox. It
allows you to instantly sync with any Git repository you have access to. allows you to instantly sync with any Git repository you have access to.
SparklePony isn't just a piece of software, it's part of your workflow. It's SparkleShare isn't just a piece of software, it's part of your workflow. It's
designed to make sharing documents and collaboration easier, and to make peers designed to make sharing documents and collaboration easier, and to make peers
aware of what you are doing. The user interface and features are made to aware of what you are doing. The user interface and features are made to
support this goal. However, you may find SparklePony useful for other kinds of support this goal. However, you may find SparkleShare useful for other kinds of
purposes as well, like backing up files or monitoring your favourite project. purposes as well, like backing up files or monitoring your favourite project.
SparklePony is not designed to be: SparkleShare is not designed to be:
- a graphical frontend for git - a graphical frontend for git
- a backup tool - a backup tool
In contrast to the projects name, we will very likely In contrast to the projects name, we will very likely
refuse to implement your personal ponies. :) refuse to implement your personal ponies. :)
SparklePony currently only works on Linux/GNOME. SparkleShare currently only works on Linux/GNOME.
Windows and OSX ports are planned for the future. Windows and OSX ports are planned for the future.
SparklePony is free software and licensed under the GNU GPLv3. You are welcome SparkleShare is free software and licensed under the GNU GPLv3. You are welcome
to change and redistribute it under certain conditions. For more information 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 see the LICENSE file or visit http://www.gnu.org/licenses/gpl-3.0.html
SparklePony currently requires (in alphabetical order): SparkleShare currently requires (in alphabetical order):
- ndesk-dbus-devel >= 0.6 - ndesk-dbus-devel >= 0.6
- git >= 1.7 - git >= 1.7
- gtk-sharp2 >= 2.12.7 - gtk-sharp2 >= 2.12.7
@ -35,23 +35,23 @@ Installing dependencies on Fedora:
# yum install git gtk-sharp2 gtk-sharp2-devel mono-core notify-sharp \ # yum install git gtk-sharp2 gtk-sharp2-devel mono-core notify-sharp \
notify-sharp-devel ndesk-dbus-devel notify-sharp-devel ndesk-dbus-devel
You can build and install SparklePony like this: You can build and install SparkleShare like this:
$ make $ make
$ su $ su
# make install # make install
Run the service: Run the service:
$ sparklepony start $ sparkleshare start
You can stop the service via the graphical interface or by typing: You can stop the service via the graphical interface or by typing:
$ sparklepony stop $ sparkleshare stop
For help: For help:
$ sparklepony --help $ sparkleshare --help
The official website is: The official website is:
http://www.github.com/hbons/SparklePony http://www.github.com/hbons/SparkleShare
Have fun! :) Have fun! :)

22
SparkleShare.sln Normal file
View file

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleShare", "SparkleShare\SparkleShare.csproj", "{728483AA-E34B-4441-BF2C-C8BC2901E4E0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{728483AA-E34B-4441-BF2C-C8BC2901E4E0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
name = SparkleShare
version = 0.1
StartupItem = SparkleShare\SparkleShare.csproj
EndGlobalSection
EndGlobal

25
SparkleShare.userprefs Normal file
View file

@ -0,0 +1,25 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" ctype="Workspace" />
<MonoDevelop.Ide.Workbench ActiveDocument="SparkleShare/SparklePonyWindow.cs" ctype="Workbench">
<Files>
<File FileName="SparkleShare/Main.cs" Line="35" Column="3" />
<File FileName="SparkleShare/Repository.cs" Line="463" Column="1" />
<File FileName="SparkleShare/SparklePonyUI.cs" Line="18" Column="21" />
<File FileName="SparkleShare/SparklePonyStatusIcon.cs" Line="18" Column="21" />
<File FileName="SparkleShare/SparklePonyWindow.cs" Line="490" Column="22" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True">
<Node name="SparkleShare" expanded="True">
<Node name="References" expanded="True" />
<Node name="SparklePonyWindow.cs" selected="True" />
</Node>
</State>
</Pad>
<Pad Id="ClassPad">
<State expanded="True" selected="True" />
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
</Properties>

2
SparkleShare.usertasks Normal file
View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfUserTask xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />

View file

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View file

Before

Width:  |  Height:  |  Size: 1,004 B

After

Width:  |  Height:  |  Size: 1,004 B

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

View file

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1,5 +0,0 @@
[Desktop Entry]
Name=SparklePony
Exec=sparklepony start
Icon=folder-sparklepony
Terminal=false

View file

@ -0,0 +1,5 @@
[Desktop Entry]
Name=SparkleShare
Exec=sparkleshare start
Icon=folder-sparkleshare
Terminal=false

View file

@ -16,7 +16,7 @@
inkscape:export-ydpi="90.000000" inkscape:export-ydpi="90.000000"
inkscape:output_extension="org.inkscape.output.svg.inkscape" inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:version="0.46" inkscape:version="0.46"
sodipodi:docname="sparklepony.svg" sodipodi:docname="sparkleshare.svg"
sodipodi:version="0.32" sodipodi:version="0.32"
style="display:inline;enable-background:new" style="display:inline;enable-background:new"
version="1.0" version="1.0"
@ -163,7 +163,7 @@
<dc:title>Lapo Calamandrei</dc:title> <dc:title>Lapo Calamandrei</dc:title>
</cc:Agent> </cc:Agent>
</dc:creator> </dc:creator>
<dc:title>SparklePony</dc:title> <dc:title>sparkleshare</dc:title>
<dc:subject> <dc:subject>
<rdf:Bag> <rdf:Bag>
<rdf:li>folder</rdf:li> <rdf:li>folder</rdf:li>
@ -1832,7 +1832,7 @@
<g <g
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="layer17" id="layer17"
inkscape:label="artwork:sparklepony" inkscape:label="artwork:sparkleshare"
style="display:inline" style="display:inline"
transform="translate(0,300)"> transform="translate(0,300)">
<g <g
@ -1911,7 +1911,7 @@
y="-228.48639" y="-228.48639"
x="166.9707" x="166.9707"
sodipodi:role="line" sodipodi:role="line"
id="tspan4716">sparklepony</tspan></text> id="tspan4716">sparkleshare</tspan></text>
</g> </g>
<g <g
inkscape:groupmode="layer" inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 809 KiB

After

Width:  |  Height:  |  Size: 809 KiB

File diff suppressed because it is too large Load diff