Merge branch 'backend-dlls' of https://github.com/shish/SparkleShare into shish
This commit is contained in:
commit
fda4cc3f26
|
@ -1,4 +1,4 @@
|
||||||
basedirs = build SparkleLib data po
|
basedirs = build SparkleLib SparkleLib/Git data po
|
||||||
|
|
||||||
SUBDIRS = $(basedirs) $(GUISUBDIRS)
|
SUBDIRS = $(basedirs) $(GUISUBDIRS)
|
||||||
DIST_SUBDIRS = $(basedirs) SparkleShare
|
DIST_SUBDIRS = $(basedirs) SparkleShare
|
||||||
|
|
22
SparkleLib/Git/Makefile.am
Executable file
22
SparkleLib/Git/Makefile.am
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
ASSEMBLY = SparkleLib.Git
|
||||||
|
TARGET = library
|
||||||
|
|
||||||
|
LINK = -r:$(DIR_BIN)/SparkleLib.dll
|
||||||
|
|
||||||
|
SOURCES = \
|
||||||
|
SparkleGit.cs \
|
||||||
|
SparkleFetcherGit.cs \
|
||||||
|
SparkleRepoGit.cs
|
||||||
|
|
||||||
|
|
||||||
|
install-data-hook:
|
||||||
|
for ASM in $(EXTRA_BUNDLE); do \
|
||||||
|
$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
|
||||||
|
done;
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
for ASM in $(EXTRA_BUNDLE); do \
|
||||||
|
rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
|
||||||
|
done;
|
||||||
|
|
||||||
|
include $(top_srcdir)/build/build.mk
|
|
@ -20,6 +20,7 @@ using System.IO;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using SparkleLib;
|
||||||
|
|
||||||
namespace SparkleLib {
|
namespace SparkleLib {
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using SparkleLib;
|
||||||
|
|
||||||
namespace SparkleLib {
|
namespace SparkleLib {
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using SparkleLib;
|
||||||
|
|
||||||
namespace SparkleLib {
|
namespace SparkleLib {
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@ TARGET = library
|
||||||
|
|
||||||
SOURCES = \
|
SOURCES = \
|
||||||
Defines.cs \
|
Defines.cs \
|
||||||
Git/SparkleFetcherGit.cs \
|
|
||||||
Git/SparkleGit.cs \
|
|
||||||
Git/SparkleRepoGit.cs \
|
|
||||||
SparkleAnnouncement.cs \
|
SparkleAnnouncement.cs \
|
||||||
SparkleBackend.cs \
|
SparkleBackend.cs \
|
||||||
SparkleChangeSet.cs \
|
SparkleChangeSet.cs \
|
||||||
|
|
|
@ -614,7 +614,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
repo = (SparkleRepoBase) Activator.CreateInstance (
|
repo = (SparkleRepoBase) Activator.CreateInstance (
|
||||||
Type.GetType ("SparkleLib.SparkleRepo" + backend + ", SparkleLib"),
|
Type.GetType ("SparkleLib.SparkleRepo" + backend + ", SparkleLib." + backend),
|
||||||
folder_path
|
folder_path
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1015,7 +1015,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.fetcher = (SparkleFetcherBase) Activator.CreateInstance (
|
this.fetcher = (SparkleFetcherBase) Activator.CreateInstance (
|
||||||
Type.GetType ("SparkleLib.SparkleFetcher" + backend + ", SparkleLib"),
|
Type.GetType ("SparkleLib.SparkleFetcher" + backend + ", SparkleLib." + backend),
|
||||||
server,
|
server,
|
||||||
remote_folder,
|
remote_folder,
|
||||||
tmp_folder
|
tmp_folder
|
||||||
|
|
|
@ -157,6 +157,7 @@ data/plugins/Makefile
|
||||||
SparkleLib/AssemblyInfo.cs
|
SparkleLib/AssemblyInfo.cs
|
||||||
SparkleLib/Defines.cs
|
SparkleLib/Defines.cs
|
||||||
SparkleLib/Makefile
|
SparkleLib/Makefile
|
||||||
|
SparkleLib/Git/Makefile
|
||||||
SparkleShare/sparkleshare
|
SparkleShare/sparkleshare
|
||||||
SparkleShare/Makefile
|
SparkleShare/Makefile
|
||||||
SparkleShare/Mac/Makefile
|
SparkleShare/Mac/Makefile
|
||||||
|
|
Loading…
Reference in a new issue