Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/keepass/
Date: Thu, 03 Dec 2015 12:06:10
Message-Id: 1449144334.8f26d62c4fff991e7d08f531814a97283ff9c608.kensington@gentoo
1 commit: 8f26d62c4fff991e7d08f531814a97283ff9c608
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 12:05:34 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 12:05:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f26d62c
7
8 app-admin/keepass: remove old
9
10 Package-Manager: portage-2.2.26
11
12 app-admin/keepass/Manifest | 2 -
13 app-admin/keepass/keepass-2.28.ebuild | 105 ----------------------------------
14 app-admin/keepass/keepass-2.29.ebuild | 105 ----------------------------------
15 3 files changed, 212 deletions(-)
16
17 diff --git a/app-admin/keepass/Manifest b/app-admin/keepass/Manifest
18 index 2d47051..ccf1481 100644
19 --- a/app-admin/keepass/Manifest
20 +++ b/app-admin/keepass/Manifest
21 @@ -1,3 +1 @@
22 -DIST KeePass-2.28-Source.zip 3532385 SHA256 2bd3291308fbb592ee8da21c42457320f81d00eda189c9ee39f03a12783ff91b SHA512 3fc1813076f4a205a6d970d3b9d1abfdfb8ea03099523dc8f7d775f5a4210002323bd8cbeba216acecf84032aa8504e752063880b87190935cb45d646badd672 WHIRLPOOL 954c677a10dad6bdf470dd29e777896806d1f5137711dea3e9ac7c2fd9ddc98042c9911fd10cf3c0f7838f3eebe40676564b4efcb43e3d2eb8b8d2bb0866fd07
23 -DIST KeePass-2.29-Source.zip 4762221 SHA256 b5582eb96611726a70b523c156c89dfb83ae80ce051a4f57bb0b7a6fbf023a14 SHA512 3a682be8f54fdaad7d299620f5f4821753f27716204f3aceac6e0e078a885dd427e0498ad78f5cdf29946d4821bd29c9f1b6f808d143afa225ffdf975d242047 WHIRLPOOL 3a00ad16a7b0c62df142edc1577c8fb04834a799708e744a808e1fefad4cf55ceb52cb0a68f0143eb68600e3c5bb99371a765fa8c5e5c16f8d0ccdd78f5f403b
24 DIST KeePass-2.30-Source.zip 4767753 SHA256 4a3c3c217bc05b13bf903612b89a09b67ed1df68fdecd83324f2ef372313e9e4 SHA512 05404f273f6a7df33887b036aa0dba335124a7b2ae30b61957f8dc9c959cdd3342fdfa22a7d59ba5e9180f039fed5ecbac0a3154eb9d342a5a3a8a057d763182 WHIRLPOOL 4ddec9e592724b60724a2deaaf959dacc91f77d1ae97dd07af940f8efd882a008b4424ba68a4fcbd9ebe8d75c2b8a9a644ff7144ed593cfb3f0e361c0364a780
25
26 diff --git a/app-admin/keepass/keepass-2.28.ebuild b/app-admin/keepass/keepass-2.28.ebuild
27 deleted file mode 100644
28 index a7f6372..0000000
29 --- a/app-admin/keepass/keepass-2.28.ebuild
30 +++ /dev/null
31 @@ -1,105 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -
38 -inherit eutils fdo-mime gnome2-utils mono-env multilib
39 -
40 -MY_PN="KeePass"
41 -DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
42 -HOMEPAGE="http://keepass.info/"
43 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -IUSE="aot"
49 -
50 -COMMON_DEPEND=">=dev-lang/mono-2.10.5"
51 -RDEPEND="${COMMON_DEPEND}
52 - dev-dotnet/libgdiplus[cairo]"
53 -DEPEND="${COMMON_DEPEND}
54 - app-arch/unzip"
55 -
56 -S=${WORKDIR}
57 -
58 -src_prepare() {
59 - # Remove Windows-specific things
60 - pushd Build > /dev/null || die
61 - . PrepMonoDev.sh || die
62 - popd > /dev/null || die
63 -
64 - # KeePass looks for some XSL files in the same folder as the executable,
65 - # we prefer to have it in /usr/share/KeePass
66 - epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
67 -}
68 -
69 -src_compile() {
70 - # Build with Release target
71 - xbuild /target:KeePass /property:Configuration=Release || die
72 -
73 - # Run Ahead Of Time compiler on the binary
74 - if use aot; then
75 - cp Ext/KeePass.exe.config Build/KeePass/Release/
76 - mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
77 - fi
78 -}
79 -
80 -src_install() {
81 - # Wrapper script to launch mono
82 - make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
83 -
84 - # Some XSL files
85 - insinto /usr/share/${PN}/XSL
86 - doins Ext/XSL/*
87 -
88 - insinto /usr/$(get_libdir)/${PN}/
89 - exeinto /usr/$(get_libdir)/${PN}/
90 - doins Ext/KeePass.exe.config
91 - # Default configuration, simply says to use user-specific configuration
92 - doins Ext/KeePass.config.xml
93 -
94 - # The actual executable
95 - doexe Build/KeePass/Release/KeePass.exe
96 -
97 - # Copy the AOT compilation result
98 - if use aot; then
99 - doexe Build/KeePass/Release/KeePass.exe.so
100 - fi
101 -
102 - # Prepare the icons
103 - newicon -s 256 Ext/Icons/Finals/plockb.png "${PN}.png"
104 - newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png "application-x-${PN}2.png"
105 -
106 - # Create a desktop entry and associate it with the KeePass mime type
107 - make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" "MimeType=application/x-keepass2;"
108 -
109 - # MIME descriptor for .kdbx files
110 - insinto /usr/share/mime/packages/
111 - doins "${FILESDIR}/${PN}.xml"
112 -}
113 -
114 -pkg_preinst() {
115 - gnome2_icon_savelist
116 -}
117 -
118 -pkg_postinst() {
119 - gnome2_icon_cache_update
120 - fdo-mime_mime_database_update
121 - fdo-mime_desktop_database_update
122 -
123 - if ! has_version x11-misc/xdotool ; then
124 - elog "Optional dependencies:"
125 - elog " x11-misc/xdotool (enables autotype)"
126 - fi
127 -
128 - elog "Some systems may experience issues with copy and paste operations."
129 - elog "If you encounter this, please install x11-misc/xsel."
130 -}
131 -
132 -pkg_postrm() {
133 - gnome2_icon_cache_update
134 - fdo-mime_mime_database_update
135 - fdo-mime_desktop_database_update
136 -}
137
138 diff --git a/app-admin/keepass/keepass-2.29.ebuild b/app-admin/keepass/keepass-2.29.ebuild
139 deleted file mode 100644
140 index 55cdd13..0000000
141 --- a/app-admin/keepass/keepass-2.29.ebuild
142 +++ /dev/null
143 @@ -1,105 +0,0 @@
144 -# Copyright 1999-2015 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -# $Id$
147 -
148 -EAPI=5
149 -
150 -inherit eutils fdo-mime gnome2-utils mono-env multilib
151 -
152 -MY_PN="KeePass"
153 -DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
154 -HOMEPAGE="http://keepass.info/"
155 -SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
156 -
157 -LICENSE="GPL-2"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~x86"
160 -IUSE="aot"
161 -
162 -COMMON_DEPEND=">=dev-lang/mono-2.10.5"
163 -RDEPEND="${COMMON_DEPEND}
164 - dev-dotnet/libgdiplus[cairo]"
165 -DEPEND="${COMMON_DEPEND}
166 - app-arch/unzip"
167 -
168 -S=${WORKDIR}
169 -
170 -src_prepare() {
171 - # Remove Windows-specific things
172 - pushd Build > /dev/null || die
173 - . PrepMonoDev.sh || die
174 - popd > /dev/null || die
175 -
176 - # KeePass looks for some XSL files in the same folder as the executable,
177 - # we prefer to have it in /usr/share/KeePass
178 - epatch "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch"
179 -}
180 -
181 -src_compile() {
182 - # Build with Release target
183 - xbuild /target:KeePass /property:Configuration=Release || die
184 -
185 - # Run Ahead Of Time compiler on the binary
186 - if use aot; then
187 - cp Ext/KeePass.exe.config Build/KeePass/Release/
188 - mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
189 - fi
190 -}
191 -
192 -src_install() {
193 - # Wrapper script to launch mono
194 - make_wrapper ${PN} "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
195 -
196 - # Some XSL files
197 - insinto /usr/share/${PN}/XSL
198 - doins Ext/XSL/*
199 -
200 - insinto /usr/$(get_libdir)/${PN}/
201 - exeinto /usr/$(get_libdir)/${PN}/
202 - doins Ext/KeePass.exe.config
203 - # Default configuration, simply says to use user-specific configuration
204 - doins Ext/KeePass.config.xml
205 -
206 - # The actual executable
207 - doexe Build/KeePass/Release/KeePass.exe
208 -
209 - # Copy the AOT compilation result
210 - if use aot; then
211 - doexe Build/KeePass/Release/KeePass.exe.so
212 - fi
213 -
214 - # Prepare the icons
215 - newicon -s 256 Ext/Icons/Finals/plockb.png "${PN}.png"
216 - newicon -s 256 -t gnome -c mimetypes Ext/Icons/Finals/plockb.png "application-x-${PN}2.png"
217 -
218 - # Create a desktop entry and associate it with the KeePass mime type
219 - make_desktop_entry ${PN} ${MY_PN} ${PN} "System;Security" "MimeType=application/x-keepass2;"
220 -
221 - # MIME descriptor for .kdbx files
222 - insinto /usr/share/mime/packages/
223 - doins "${FILESDIR}/${PN}.xml"
224 -}
225 -
226 -pkg_preinst() {
227 - gnome2_icon_savelist
228 -}
229 -
230 -pkg_postinst() {
231 - gnome2_icon_cache_update
232 - fdo-mime_mime_database_update
233 - fdo-mime_desktop_database_update
234 -
235 - if ! has_version x11-misc/xdotool ; then
236 - elog "Optional dependencies:"
237 - elog " x11-misc/xdotool (enables autotype)"
238 - fi
239 -
240 - elog "Some systems may experience issues with copy and paste operations."
241 - elog "If you encounter this, please install x11-misc/xsel."
242 -}
243 -
244 -pkg_postrm() {
245 - gnome2_icon_cache_update
246 - fdo-mime_mime_database_update
247 - fdo-mime_desktop_database_update
248 -}