Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/, app-admin/keepass/files/
Date: Sun, 04 Oct 2015 16:00:11
Message-Id: 1443974374.d5094f447a1433978cff63283329e1659b3b1bc4.idella4@gentoo
1 commit: d5094f447a1433978cff63283329e1659b3b1bc4
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 15:58:52 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 15:59:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5094f44
7
8 app-admin/keepass: patch to build to support >=mono-4
9
10 pacthes supplied by maintainer via the gentoo bug
11
12 Gentoo bug #558094
13
14 Package-Manager: portage-2.2.20.1
15
16 .../files/keepass-2.30-mono-4-support.patch | 92 ++++++++++++++++++++++
17 app-admin/keepass/keepass-2.30.ebuild | 3 +
18 2 files changed, 95 insertions(+)
19
20 diff --git a/app-admin/keepass/files/keepass-2.30-mono-4-support.patch b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
21 new file mode 100644
22 index 0000000..5794ba0
23 --- /dev/null
24 +++ b/app-admin/keepass/files/keepass-2.30-mono-4-support.patch
25 @@ -0,0 +1,92 @@
26 +File keepass-2.30-original/.ipc_in is a fifo while file keepass-2.30/.ipc_in is a fifo
27 +File keepass-2.30-original/.ipc_out is a fifo while file keepass-2.30/.ipc_out is a fifo
28 +diff -ur keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln
29 +--- keepass-2.30-original/work/Ext/KeePassMsi/KeePassMsi.sln 2008-09-11 18:19:14.000000000 +0200
30 ++++ keepass-2.30/work/Ext/KeePassMsi/KeePassMsi.sln 2015-09-28 17:21:23.640007000 +0200
31 +@@ -1,5 +1,5 @@
32 + 
33 +-Microsoft Visual Studio Solution File, Format Version 10.00
34 ++Microsoft Visual Studio Solution File, Format Version 11.00
35 + # Visual Studio 2008
36 + Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "KeePassMsi", "KeePassMsi.vdproj", "{C4135368-4A84-4924-B5CE-82B18FAADFD4}"
37 + EndProject
38 +diff -ur keepass-2.30-original/work/KeePass/KeePass.csproj keepass-2.30/work/KeePass/KeePass.csproj
39 +--- keepass-2.30-original/work/KeePass/KeePass.csproj 2015-09-28 17:20:19.828006799 +0200
40 ++++ keepass-2.30/work/KeePass/KeePass.csproj 2015-09-28 17:21:26.160007008 +0200
41 +@@ -1,5 +1,5 @@
42 +-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
43 +- <PropertyGroup>
44 ++<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
45 ++ <PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
46 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
47 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
48 + <ProductVersion>9.0.30729</ProductVersion>
49 +@@ -1315,6 +1315,6 @@
50 + <Target Name="AfterBuild">
51 + </Target>
52 + -->
53 +- <PropertyGroup>
54 ++ <PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
55 + </PropertyGroup>
56 + </Project>
57 +diff -ur keepass-2.30-original/work/KeePassLib/KeePassLib.csproj keepass-2.30/work/KeePassLib/KeePassLib.csproj
58 +--- keepass-2.30-original/work/KeePassLib/KeePassLib.csproj 2015-09-28 17:20:19.836006799 +0200
59 ++++ keepass-2.30/work/KeePassLib/KeePassLib.csproj 2015-09-28 17:21:26.148007008 +0200
60 +@@ -1,5 +1,5 @@
61 +-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
62 +- <PropertyGroup>
63 ++<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
64 ++ <PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
65 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
67 + <ProductVersion>9.0.30729</ProductVersion>
68 +diff -ur keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj
69 +--- keepass-2.30-original/work/KeePassLibSD/KeePassLibSD.csproj 2014-05-08 15:00:06.000000000 +0200
70 ++++ keepass-2.30/work/KeePassLibSD/KeePassLibSD.csproj 2015-09-28 17:21:26.148007008 +0200
71 +@@ -1,5 +1,5 @@
72 +-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
73 +- <PropertyGroup>
74 ++<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
75 ++ <PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
76 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
77 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
78 + <ProductVersion>9.0.30729</ProductVersion>
79 +@@ -14,7 +14,7 @@
80 + <PlatformID>3C41C503-53EF-4c2a-8DD4-A8217CAD115E</PlatformID>
81 + <OSVersion>4.20</OSVersion>
82 + <DeployDirSuffix>KeePassLibSD</DeployDirSuffix>
83 +- <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
84 ++
85 + <FormFactorID>
86 + </FormFactorID>
87 + <SignAssembly>true</SignAssembly>
88 +diff -ur keepass-2.30-original/work/KeePass.sln keepass-2.30/work/KeePass.sln
89 +--- keepass-2.30-original/work/KeePass.sln 2015-09-28 17:20:19.848006799 +0200
90 ++++ keepass-2.30/work/KeePass.sln 2015-09-28 17:21:23.632007000 +0200
91 +@@ -1,4 +1,4 @@
92 +-Microsoft Visual Studio Solution File, Format Version 10.00
93 ++Microsoft Visual Studio Solution File, Format Version 11.00
94 + # Visual Studio 2008
95 + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeePassLib", "KeePassLib\KeePassLib.csproj", "{53573E4E-33CB-4FDB-8698-C95F5E40E7F3}"
96 + EndProject
97 +diff -ur keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln keepass-2.30/work/ShInstUtil/ShInstUtil.sln
98 +--- keepass-2.30-original/work/ShInstUtil/ShInstUtil.sln 2011-09-10 13:21:28.000000000 +0200
99 ++++ keepass-2.30/work/ShInstUtil/ShInstUtil.sln 2015-09-28 17:21:23.636007000 +0200
100 +@@ -1,5 +1,5 @@
101 + 
102 +-Microsoft Visual Studio Solution File, Format Version 10.00
103 ++Microsoft Visual Studio Solution File, Format Version 11.00
104 + # Visual Studio 2008
105 + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShInstUtil", "ShInstUtil.vcproj", "{C9FBA6FD-04AC-4B2F-8277-B852B8013DAE}"
106 + EndProject
107 +diff -ur keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj
108 +--- keepass-2.30-original/work/Translation/TrlUtil/TrlUtil.csproj 2013-07-21 10:06:38.000000000 +0200
109 ++++ keepass-2.30/work/Translation/TrlUtil/TrlUtil.csproj 2015-09-28 17:21:26.140007008 +0200
110 +@@ -1,5 +1,5 @@
111 +-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
112 +- <PropertyGroup>
113 ++<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
114 ++ <PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
115 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
116 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
117 + <ProductVersion>9.0.30729</ProductVersion>
118
119 diff --git a/app-admin/keepass/keepass-2.30.ebuild b/app-admin/keepass/keepass-2.30.ebuild
120 index 55cdd13..d98b4e7 100644
121 --- a/app-admin/keepass/keepass-2.30.ebuild
122 +++ b/app-admin/keepass/keepass-2.30.ebuild
123 @@ -33,6 +33,9 @@ src_prepare() {
124 # KeePass looks for some XSL files in the same folder as the executable,
125 # we prefer to have it in /usr/share/KeePass
126 epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
127 + # bug # 558094
128 + has_version ">=dev-lang/mono-4" && epatch \
129 + "${FILESDIR}/${P}-mono-4-support.patch"
130 }
131
132 src_compile() {