[Pkg-cli-libs-commits] [db4o] 01/02: Build against 4.5 framework (Closes: #809564)

Jo Shields directhex at moszumanska.debian.org
Sun Jan 3 13:49:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/8.0.184.15484+dfsg2-3
in repository db4o.

commit b2785c31119ec4f2107e07fdae62e521b63083cf
Author: Jo Shields <directhex at apebox.org>
Date:   Sun Jan 3 13:46:01 2016 +0000

    Build against 4.5 framework (Closes: #809564)
---
 debian/patches/series                              |   1 +
 .../patches/use_4.5_targetframeworkversion.patch   | 233 +++++++++++++++++++++
 2 files changed, 234 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 4c7643d..e40f153 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ force_cecil_0.9.5.patch
 port_options_code_to_Mono.Options.patch
 dont_build_test_assemblies.patch
 use_cecil_0.9.5_api.patch
+use_4.5_targetframeworkversion.patch
diff --git a/debian/patches/use_4.5_targetframeworkversion.patch b/debian/patches/use_4.5_targetframeworkversion.patch
new file mode 100644
index 0000000..2ba055b
--- /dev/null
+++ b/debian/patches/use_4.5_targetframeworkversion.patch
@@ -0,0 +1,233 @@
+Index: db4o/src/Db4oTool/Db4oTool/Db4oTool-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4oTool/Db4oTool/Db4oTool-2010.csproj
++++ db4o/src/Db4oTool/Db4oTool/Db4oTool-2010.csproj
+@@ -16,7 +16,7 @@
+     <UpgradeBackupLocation>
+     </UpgradeBackupLocation>
+     <IsWebBootstrapper>false</IsWebBootstrapper>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <TargetFrameworkProfile/>
+     <PublishUrl>publish\</PublishUrl>
+     <Install>true</Install>
+Index: db4o/src/Db4oUnit.Extensions/Db4oUnit.Extensions-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4oUnit.Extensions/Db4oUnit.Extensions-2010.csproj
++++ db4o/src/Db4oUnit.Extensions/Db4oUnit.Extensions-2010.csproj
+@@ -9,7 +9,7 @@
+     <OutputType>Library</OutputType>
+     <RootNamespace>Db4oUnit.Extensions</RootNamespace>
+     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     <ProjectGuid>{9446B00C-E8A6-4CEB-83DE-2CAC5168DFE3}</ProjectGuid>
+     <FileUpgradeFlags>
+Index: db4o/src/Db4oUnit/Db4oUnit-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4oUnit/Db4oUnit-2010.csproj
++++ db4o/src/Db4oUnit/Db4oUnit-2010.csproj
+@@ -10,7 +10,7 @@
+     <OutputType>Library</OutputType>
+     <RootNamespace>Db4oUnit</RootNamespace>
+     <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     
+     
+Index: db4o/src/Db4objects.Db4o.CS.Optional/Db4objects.Db4o.CS.Optional-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.CS.Optional/Db4objects.Db4o.CS.Optional-2010.csproj
++++ db4o/src/Db4objects.Db4o.CS.Optional/Db4objects.Db4o.CS.Optional-2010.csproj
+@@ -10,7 +10,7 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>DB4objects.Db4o.CS.Optional</RootNamespace>
+     <AssemblyName>DB4objects.Db4o.CS.Optional</AssemblyName>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     
+     
+@@ -135,11 +135,11 @@
+     </ProjectReference>
+   </ItemGroup>
+   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets"/>
+-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+-       Other similar extension points exist, see Microsoft.Common.targets.
+-  <Target Name="BeforeBuild">
+-  </Target>
+-  <Target Name="AfterBuild">
+-  </Target>
++  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
++       Other similar extension points exist, see Microsoft.Common.targets.
++  <Target Name="BeforeBuild">
++  </Target>
++  <Target Name="AfterBuild">
++  </Target>
+   -->
+ </Project>
+Index: db4o/src/Db4objects.Db4o.CS/Db4objects.Db4o.CS-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.CS/Db4objects.Db4o.CS-2010.csproj
++++ db4o/src/Db4objects.Db4o.CS/Db4objects.Db4o.CS-2010.csproj
+@@ -10,7 +10,7 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>Db4objects.Db4o.CS</RootNamespace>
+     <AssemblyName>Db4objects.Db4o.CS</AssemblyName>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     <FileUpgradeFlags>
+     </FileUpgradeFlags>
+@@ -277,11 +277,11 @@
+     </ProjectReference>
+   </ItemGroup>
+   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets"/>
+-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+-       Other similar extension points exist, see Microsoft.Common.targets.
+-  <Target Name="BeforeBuild">
+-  </Target>
+-  <Target Name="AfterBuild">
+-  </Target>
++  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
++       Other similar extension points exist, see Microsoft.Common.targets.
++  <Target Name="BeforeBuild">
++  </Target>
++  <Target Name="AfterBuild">
++  </Target>
+   -->
+ </Project>
+Index: db4o/src/Db4objects.Db4o.Data.Services/Db4objects.Db4o.Data.Services-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.Data.Services/Db4objects.Db4o.Data.Services-2010.csproj
++++ db4o/src/Db4objects.Db4o.Data.Services/Db4objects.Db4o.Data.Services-2010.csproj
+@@ -10,7 +10,7 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>Db4objects.Db4o.Data.Services</RootNamespace>
+     <AssemblyName>Db4objects.Db4o.Data.Services</AssemblyName>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     
+     
+@@ -117,11 +117,11 @@
+     </ProjectReference>
+   </ItemGroup>
+   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
+-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+-       Other similar extension points exist, see Microsoft.Common.targets.
+-  <Target Name="BeforeBuild">
+-  </Target>
+-  <Target Name="AfterBuild">
+-  </Target>
++  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
++       Other similar extension points exist, see Microsoft.Common.targets.
++  <Target Name="BeforeBuild">
++  </Target>
++  <Target Name="AfterBuild">
++  </Target>
+   -->
+ </Project>
+Index: db4o/src/Db4objects.Db4o.Instrumentation/Db4objects.Db4o.Instrumentation-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.Instrumentation/Db4objects.Db4o.Instrumentation-2010.csproj
++++ db4o/src/Db4objects.Db4o.Instrumentation/Db4objects.Db4o.Instrumentation-2010.csproj
+@@ -15,7 +15,7 @@
+     <OldToolsVersion>3.5</OldToolsVersion>
+     <UpgradeBackupLocation>
+     </UpgradeBackupLocation>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <PublishUrl>publish\</PublishUrl>
+     <Install>true</Install>
+     <InstallFrom>Disk</InstallFrom>
+Index: db4o/src/Db4objects.Db4o.Linq/Db4objects.Db4o.Linq-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.Linq/Db4objects.Db4o.Linq-2010.csproj
++++ db4o/src/Db4objects.Db4o.Linq/Db4objects.Db4o.Linq-2010.csproj
+@@ -10,7 +10,7 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>Db4objects.Db4o.Linq</RootNamespace>
+     <AssemblyName>Db4objects.Db4o.Linq</AssemblyName>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     
+     
+@@ -157,11 +157,11 @@
+     </ProjectReference>
+   </ItemGroup>
+   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
+-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+-       Other similar extension points exist, see Microsoft.Common.targets.
+-  <Target Name="BeforeBuild">
+-  </Target>
+-  <Target Name="AfterBuild">
+-  </Target>
++  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
++       Other similar extension points exist, see Microsoft.Common.targets.
++  <Target Name="BeforeBuild">
++  </Target>
++  <Target Name="AfterBuild">
++  </Target>
+   -->
+ </Project>
+Index: db4o/src/Db4objects.Db4o.NativeQueries/Db4objects.Db4o.NativeQueries-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.NativeQueries/Db4objects.Db4o.NativeQueries-2010.csproj
++++ db4o/src/Db4objects.Db4o.NativeQueries/Db4objects.Db4o.NativeQueries-2010.csproj
+@@ -15,7 +15,7 @@
+     <OldToolsVersion>3.5</OldToolsVersion>
+     <UpgradeBackupLocation>
+     </UpgradeBackupLocation>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <TargetFrameworkProfile/>
+     <PublishUrl>publish\</PublishUrl>
+     <Install>true</Install>
+Index: db4o/src/Db4objects.Db4o.Optional/Db4objects.Db4o.Optional-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o.Optional/Db4objects.Db4o.Optional-2010.csproj
++++ db4o/src/Db4objects.Db4o.Optional/Db4objects.Db4o.Optional-2010.csproj
+@@ -15,7 +15,7 @@
+     <OldToolsVersion>3.5</OldToolsVersion>
+     <UpgradeBackupLocation>
+     </UpgradeBackupLocation>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <TargetFrameworkProfile/>
+     <PublishUrl>publish\</PublishUrl>
+     <Install>true</Install>
+Index: db4o/src/Db4objects.Db4o/Db4objects.Db4o-2010.csproj
+===================================================================
+--- db4o.orig/src/Db4objects.Db4o/Db4objects.Db4o-2010.csproj
++++ db4o/src/Db4objects.Db4o/Db4objects.Db4o-2010.csproj
+@@ -10,7 +10,7 @@
+     <AppDesignerFolder>Properties</AppDesignerFolder>
+     <RootNamespace>Db4objects.Db4o</RootNamespace>
+     <AssemblyName>Db4objects.Db4o</AssemblyName>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+     <FileAlignment>512</FileAlignment>
+     <FileUpgradeFlags>
+     </FileUpgradeFlags>
+@@ -1075,11 +1075,11 @@
+     </BootstrapperPackage>
+   </ItemGroup>
+   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets"/>
+-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+-       Other similar extension points exist, see Microsoft.Common.targets.
+-  <Target Name="BeforeBuild">
+-  </Target>
+-  <Target Name="AfterBuild">
+-  </Target>
++  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
++       Other similar extension points exist, see Microsoft.Common.targets.
++  <Target Name="BeforeBuild">
++  </Target>
++  <Target Name="AfterBuild">
++  </Target>
+   -->
+ </Project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/db4o.git



More information about the Pkg-cli-libs-commits mailing list