diff -Nru openra-20210321/debian/changelog openra-20210321/debian/changelog --- openra-20210321/debian/changelog 2021-03-25 20:29:15.000000000 +0000 +++ openra-20210321/debian/changelog 2021-03-26 06:29:41.000000000 +0000 @@ -1,3 +1,9 @@ +openra (20210321-1~xtradeb6) focal; urgency=medium + + * MSBUILD nuget restore is working. Remove debug. + + -- Jhonny Oliveira Fri, 26 Mar 2021 06:29:41 +0000 + openra (20210321-1~xtradeb5) focal; urgency=medium * Another attempt diff -Nru openra-20210321/debian/debian.README openra-20210321/debian/debian.README --- openra-20210321/debian/debian.README 2021-03-25 14:12:06.000000000 +0000 +++ openra-20210321/debian/debian.README 2021-03-26 06:29:34.000000000 +0000 @@ -8,29 +8,23 @@ make DEBUG=true TARGETPLATFORM=unix-generic -make DESTDIR=debian/tmp \ +make DEBUG=true TARGETPLATFORM=unix-generic DESTDIR=debian/tmp \ prefix=/usr datadir=/usr/share/games libexecdir=/usr/share/games \ bindir=/usr/games gameinstalldir=/usr/share/games/openra install +# get a local copy of the nuget cache +cp -R ~/.nuget . -# either this or appending "-p:RestoreConfigFile=.nuget/nuget.config -p:RestorePackagesPath=.nuget/packages" to every single msbuild line you find +# create patch to append "-p:RestoreConfigFile=.nuget/nuget.config -p:RestorePackagesPath=.nuget/packages" to every single msbuild line you find tee .nuget/nuget.config < - - - EOF -# and create patch to add "-p:RestoreConfigFile=.nuget/NuGet.Config" to every msbuild command - -# get a local copy of the nuget cache -cp -R ~/.nuget . - mkdir -p debian/depends # save the nuget cache and other depends tar cJf debian/depends/nuget-cache.tar.xz .nuget nuget.config diff -Nru openra-20210321/debian/rules openra-20210321/debian/rules --- openra-20210321/debian/rules 2021-03-25 20:29:15.000000000 +0000 +++ openra-20210321/debian/rules 2021-03-26 06:24:38.000000000 +0000 @@ -15,10 +15,7 @@ override_dh_auto_configure: cp debian/depends/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP . tar xJf debian/depends/nuget-cache.tar.xz - #sed -i "s#_REPLACEME_#$(CURDIR)#g" $(CURDIR)/.nuget/nuget.config debian/backuprestore.sh backup - set - pwd make version VERSION=release-$(DEB_VERSION_UPSTREAM) override_dh_auto_install: