Skip to content

Commit

Permalink
buildenv/1.3.x/win32-static: re-add nuke nuget patch to ZeroC Ice.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz committed Apr 2, 2017
1 parent 5ed52a6 commit 4121e33
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
--- ./cpp/Makefile.mak
+++ ./cpp/Makefile.mak
@@ -27,26 +27,6 @@ install:: install-common
@echo "making $@ in %i" && \
cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $@" || exit 1

-!if "$(CPP_COMPILER)" == "VC100"
-install::
- @if not exist "$(install_bindir)" $(MKDIR) "$(install_bindir)"
- copy "$(BZIP2_HOME)\build\native\bin\$(PLATFORM)\$(CONFIGURATION)\*" "$(install_bindir)"
-!else
-install::
- @if not exist "$(install_bindir)" $(MKDIR) "$(install_bindir)"
- copy "$(BZIP2_HOME)\build\native\bin\$(PLATFORM)\$(CONFIGURATION)\*" "$(install_bindir)"
- copy "$(DB_HOME)\build\native\bin\$(PLATFORM)\$(CONFIGURATION)\*" "$(install_bindir)"
- copy "$(EXPAT_HOME)\build\native\bin\$(PLATFORM)\$(CONFIGURATION)\*" "$(install_bindir)"
-
-!if "$(CONFIGURATION)" == "Debug"
-#
-# If that is a Debug build install also the DB tools from the release bin directory
-install::
- @if not exist "$(install_bindir)" $(MKDIR) "$(install_bindir)"
- copy "$(DB_HOME)\build\native\bin\$(PLATFORM)\Release\*" "$(install_bindir)"
-!endif
-!endif
-
test::
@python $(top_srcdir)/allTests.py

--- ./cpp/config/Make.rules.mak
+++ ./cpp/config/Make.rules.mak
@@ -205,30 +205,10 @@ EXPAT_NUPKG = $(EXPAT_HOME)\expat.$(PLA
NUGET = $(LOCALAPPDATA)\ZeroC\nuget\nuget.exe

"$(NUGET)":
- @if not exist "$(LOCALAPPDATA)\ZeroC\nuget" $(MKDIR) "$(LOCALAPPDATA)\ZeroC\nuget"
- powershell -Command "(New-Object Net.WebClient).DownloadFile('http://nuget.org/nuget.exe', '$(NUGET)')"
-
-$(BZIP2_NUPKG): "$(NUGET)"
- @if not exist "$(PKG_DIR)" $(MKDIR) "$(PKG_DIR)"
- @if exist "$(PKG_DIR)\bzip2.$(PLATFORMTOOLSET)" rd /s /q "$(PKG_DIR)\bzip2.$(PLATFORMTOOLSET)"
- "$(NUGET)" install bzip2.$(PLATFORMTOOLSET) -OutputDirectory "$(PKG_DIR)" -Version $(BZIP2_VERSION) -ExcludeVersion
-
-$(MCPP_NUPKG): "$(NUGET)"
- @if not exist "$(PKG_DIR)" $(MKDIR) "$(PKG_DIR)"
- @if exist "$(PKG_DIR)\mcpp.$(PLATFORMTOOLSET)" rd /s /q "$(PKG_DIR)\mcpp.$(PLATFORMTOOLSET)"
- "$(NUGET)" install mcpp.$(PLATFORMTOOLSET) -OutputDirectory "$(PKG_DIR)" -Version $(MCPP_VERSION) -ExcludeVersion
-
-!if "$(CPP_COMPILER)" != "VC100"
-$(DB_NUPKG): "$(NUGET)"
- @if not exist "$(PKG_DIR)" $(MKDIR) "$(PKG_DIR)"
- @if exist "$(PKG_DIR)\berkeley.db.$(PLATFORMTOOLSET)" rd /s /q "$(PKG_DIR)\berkeley.db.$(PLATFORMTOOLSET)"
- "$(NUGET)" install berkeley.db.$(PLATFORMTOOLSET) -OutputDirectory "$(PKG_DIR)" -Version $(DB_VERSION) -ExcludeVersion
-
-$(EXPAT_NUPKG): "$(NUGET)"
- @if not exist "$(PKG_DIR)" $(MKDIR) "$(PKG_DIR)"
- @if exist "$(PKG_DIR)\expat.$(PLATFORMTOOLSET)" rd /s /q "$(PKG_DIR)\expat.$(PLATFORMTOOLSET)"
- "$(NUGET)" install expat.$(PLATFORMTOOLSET) -OutputDirectory "$(PKG_DIR)" -Version $(EXPAT_VERSION) -ExcludeVersion
-!endif
+$(BZIP2_NUPKG):
+$(MCPP_NUPKG):
+$(DB_NUPKG):
+$(EXPAT_NUPKG):

!endif

1 change: 1 addition & 0 deletions buildenv/1.3.x/win32-static/zeroc-ice.build
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function prepare {
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-no-install-pds.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-ice-ice-h-include-icessl-config-h.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-test-icediscovery-simple-linkwith.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.3-nuke-nuget.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-winxp-dont-use-native-inet-pton.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-iceutil-disable-win32-stacktraces.patch
patch -p1 < ${MUMBLE_BUILDENV_ROOT}/patches/zeroc-ice-3.6.1-user-configurable-win32-winnt.patch
Expand Down

0 comments on commit 4121e33

Please sign in to comment.