[Pkg-cli-apps-commits] [monodevelop] 07/16: Use distro NuGet, including distro NuGet repos
Jo Shields
directhex at moszumanska.debian.org
Wed Dec 16 10:13:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
directhex pushed a commit to annotated tag debian/5.10.0.871-1
in repository monodevelop.
commit 8d28b95b8b39f9c8cd5b3ad92c715201dff4725d
Author: Jo Shields <jo.shields at xamarin.com>
Date: Mon Dec 14 12:16:11 2015 +0000
Use distro NuGet, including distro NuGet repos
---
debian/patches/series | 1 +
.../use_local_nuget_with_buildd_config.patch | 42 ++++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index ff25f5a..e4436e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_autoreconf.patch
update_templates_for_gtk-sharp_2.12.patch
boo_mimetype.patch
no_appmenu
+use_local_nuget_with_buildd_config.patch
diff --git a/debian/patches/use_local_nuget_with_buildd_config.patch b/debian/patches/use_local_nuget_with_buildd_config.patch
new file mode 100644
index 0000000..e8419bd
--- /dev/null
+++ b/debian/patches/use_local_nuget_with_buildd_config.patch
@@ -0,0 +1,42 @@
+Index: monodevelop/Makefile.am
+===================================================================
+--- monodevelop.orig/Makefile.am
++++ monodevelop/Makefile.am
+@@ -20,7 +20,7 @@ clean: clean-local
+ clean-local: sln_clean
+
+ restore-packages:
+- nuget restore
++ nuget restore -ConfigFile /usr/lib/nuget/NuGet.buildd.Config
+
+ vcrevision:
+ touch vcrevision
+Index: monodevelop/external/libgit2sharp/build.libgit2sharp.sh
+===================================================================
+--- monodevelop.orig/external/libgit2sharp/build.libgit2sharp.sh
++++ monodevelop/external/libgit2sharp/build.libgit2sharp.sh
+@@ -12,7 +12,7 @@ export LD_LIBRARY_PATH=.
+ # Required for NuGet package restore to run.
+ mozroots --import --sync
+
+-mono Lib/NuGet/NuGet.exe restore LibGit2Sharp.sln
++nuget restore -ConfigFile external/libgit2sharp/build.libgit2sharp.sh LibGit2Sharp.sln
+ xbuild CI/build.msbuild /target:Deploy /property:ExtraDefine="$EXTRADEFINE"
+
+ exit $?
+Index: monodevelop/src/addins/NUnit/NUnitRunner/NUnitRunner.csproj
+===================================================================
+--- monodevelop.orig/src/addins/NUnit/NUnitRunner/NUnitRunner.csproj
++++ monodevelop/src/addins/NUnit/NUnitRunner/NUnitRunner.csproj
+@@ -55,10 +55,6 @@
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Target Name="BeforeBuild">
+- <PropertyGroup>
+- <NuGet>$(SolutionDir)\external\nuget-binary\NuGet.exe</NuGet>
+- <NuGet Condition="$(OS)=='Unix'">mono $(NuGet)</NuGet>
+- </PropertyGroup>
+- <Exec Condition="Exists('$(SolutionDir)\..\.git')" Command="$(NuGet) restore -SolutionDirectory $(SolutionDir)" />
++ <Exec Condition="Exists('$(SolutionDir)\..\.git')" Command="nuget restore -ConfigFile /usr/lib/nuget/NuGet.buildd.Config -SolutionDirectory $(SolutionDir)" />
+ </Target>
+ </Project>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/monodevelop.git
More information about the Pkg-cli-apps-commits
mailing list