[Pkg-cli-libs-commits] [cecil] 01/02: Force 4.5 framework for build

Jo Shields directhex at moszumanska.debian.org
Tue Dec 15 10:15:01 UTC 2015


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

directhex pushed a commit to annotated tag debian/0.9.5+dfsg-4
in repository cecil.

commit 328ec4f79b0859c6a109b6b43ceef68e1c0c4fb7
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Tue Dec 15 10:12:15 2015 +0000

    Force 4.5 framework for build
---
 debian/patches/force_4.5_framework.patch | 270 +++++++++++++++++++++++++++++++
 debian/patches/series                    |   1 +
 2 files changed, 271 insertions(+)

diff --git a/debian/patches/force_4.5_framework.patch b/debian/patches/force_4.5_framework.patch
new file mode 100644
index 0000000..906ac2e
--- /dev/null
+++ b/debian/patches/force_4.5_framework.patch
@@ -0,0 +1,270 @@
+Index: cecil/Mono.Cecil.csproj
+===================================================================
+--- cecil.orig/Mono.Cecil.csproj
++++ cecil/Mono.Cecil.csproj
+@@ -60,7 +60,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -69,7 +69,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'silverlight_Debug|AnyCPU' ">
+     <DebugSymbols>true</DebugSymbols>
+@@ -80,7 +80,7 @@
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'silverlight_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -90,7 +90,7 @@
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'winphone_Debug|AnyCPU' ">
+     <DebugSymbols>true</DebugSymbols>
+@@ -102,7 +102,7 @@
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'winphone_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -113,7 +113,7 @@
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
+Index: cecil/Test/Mono.Cecil.Tests.csproj
+===================================================================
+--- cecil.orig/Test/Mono.Cecil.Tests.csproj
++++ cecil/Test/Mono.Cecil.Tests.csproj
+@@ -60,7 +60,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -69,7 +69,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
+Index: cecil/dbg/dbg.csproj
+===================================================================
+--- cecil.orig/dbg/dbg.csproj
++++ cecil/dbg/dbg.csproj
+@@ -39,7 +39,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -48,7 +48,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup>
+     <Reference Include="System" />
+Index: cecil/rocks/Mono.Cecil.Rocks.csproj
+===================================================================
+--- cecil.orig/rocks/Mono.Cecil.Rocks.csproj
++++ cecil/rocks/Mono.Cecil.Rocks.csproj
+@@ -41,7 +41,7 @@
+     <DefineConstants>DEBUG;TRACE;INSIDE_ROCKS;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -50,7 +50,7 @@
+     <DefineConstants>TRACE;INSIDE_ROCKS;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'silverlight_Debug|AnyCPU' ">
+     <DebugSymbols>true</DebugSymbols>
+@@ -61,7 +61,7 @@
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'silverlight_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -71,7 +71,7 @@
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'winphone_Debug|AnyCPU' ">
+     <DebugSymbols>true</DebugSymbols>
+@@ -83,7 +83,7 @@
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'winphone_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -94,7 +94,7 @@
+     <WarningLevel>4</WarningLevel>
+     <TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
+     <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup>
+     <Reference Include="System.Core">
+Index: cecil/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
+===================================================================
+--- cecil.orig/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
++++ cecil/rocks/Test/Mono.Cecil.Rocks.Tests.csproj
+@@ -39,7 +39,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -48,7 +48,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup>
+     <Reference Include="nunit.core, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+Index: cecil/symbols/mdb/Mono.Cecil.Mdb.csproj
+===================================================================
+--- cecil.orig/symbols/mdb/Mono.Cecil.Mdb.csproj
++++ cecil/symbols/mdb/Mono.Cecil.Mdb.csproj
+@@ -60,7 +60,7 @@
+     <DefineConstants>DEBUG;TRACE;CECIL;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -69,7 +69,7 @@
+     <DefineConstants>TRACE;CECIL;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
+Index: cecil/symbols/mdb/Test/Mono.Cecil.Mdb.Tests.csproj
+===================================================================
+--- cecil.orig/symbols/mdb/Test/Mono.Cecil.Mdb.Tests.csproj
++++ cecil/symbols/mdb/Test/Mono.Cecil.Mdb.Tests.csproj
+@@ -58,7 +58,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -67,7 +67,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
+Index: cecil/symbols/pdb/Mono.Cecil.Pdb.csproj
+===================================================================
+--- cecil.orig/symbols/pdb/Mono.Cecil.Pdb.csproj
++++ cecil/symbols/pdb/Mono.Cecil.Pdb.csproj
+@@ -60,7 +60,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -69,7 +69,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
+Index: cecil/symbols/pdb/Test/Mono.Cecil.Pdb.Tests.csproj
+===================================================================
+--- cecil.orig/symbols/pdb/Test/Mono.Cecil.Pdb.Tests.csproj
++++ cecil/symbols/pdb/Test/Mono.Cecil.Pdb.Tests.csproj
+@@ -58,7 +58,7 @@
+     <DefineConstants>DEBUG;TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_4_0_Release|AnyCPU' ">
+     <DebugType>pdbonly</DebugType>
+@@ -67,7 +67,7 @@
+     <DefineConstants>TRACE;NET_3_5;NET_4_0</DefineConstants>
+     <ErrorReport>prompt</ErrorReport>
+     <WarningLevel>4</WarningLevel>
+-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
++    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+   </PropertyGroup>
+   <ItemGroup Condition=" '$(TargetFrameworkVersion)' != 'v2.0' ">
+     <Reference Include="System.Core" />
diff --git a/debian/patches/series b/debian/patches/series
index d2722b4..d1fb33f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+force_4.5_framework.patch
 dont_build_tests.patch

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



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