1 |
commit: bb305819a4c39bb9a0da7f248a9ebbedc3097c7a |
2 |
Author: Mike Auty <ikelos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 19:30:00 2021 +0000 |
4 |
Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 19:31:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb305819 |
7 |
|
8 |
app-crypt/xca: Bump stable for 733000 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/733000 |
11 |
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org> |
12 |
|
13 |
...ca-bug-733000.patch => xca-2.1.2-bug-733000.patch} | 19 +++++++++++-------- |
14 |
...ca-bug-733000.patch => xca-2.3.0-bug-733000.patch} | 0 |
15 |
.../xca/{xca-2.3.0.ebuild => xca-2.1.2-r1.ebuild} | 15 +++++---------- |
16 |
app-crypt/xca/xca-2.3.0.ebuild | 2 +- |
17 |
4 files changed, 17 insertions(+), 19 deletions(-) |
18 |
|
19 |
diff --git a/app-crypt/xca/files/xca-bug-733000.patch b/app-crypt/xca/files/xca-2.1.2-bug-733000.patch |
20 |
similarity index 55% |
21 |
copy from app-crypt/xca/files/xca-bug-733000.patch |
22 |
copy to app-crypt/xca/files/xca-2.1.2-bug-733000.patch |
23 |
index 044575475c8..3e17a8aa9a9 100644 |
24 |
--- a/app-crypt/xca/files/xca-bug-733000.patch |
25 |
+++ b/app-crypt/xca/files/xca-2.1.2-bug-733000.patch |
26 |
@@ -1,10 +1,13 @@ |
27 |
diff --git a/doc/Makefile b/doc/Makefile |
28 |
-index d481c5a..dc5b49a 100644 |
29 |
+index 7c9a643..f88c209 100644 |
30 |
--- a/doc/Makefile |
31 |
+++ b/doc/Makefile |
32 |
-@@ -5,13 +5,9 @@ endif |
33 |
+@@ -3,15 +3,11 @@ TOPDIR=.. |
34 |
+ BUILD=.. |
35 |
+ endif |
36 |
|
37 |
- DELFILES=xca*.html xca.1.gz changelog.html database_schema.html |
38 |
+-DELFILES=xca*.html xca.1.gz changelog.html database_schema.html |
39 |
++DELFILES=xca*.html changelog.html database_schema.html |
40 |
|
41 |
-doc: xca.1.gz xca.html changelog.html database_schema.html |
42 |
+doc: xca.1 xca.html changelog.html database_schema.html |
43 |
@@ -18,11 +21,11 @@ index d481c5a..dc5b49a 100644 |
44 |
rm -f xca*.html |
45 |
echo 'The documentation for XCA can be viewed online at: <a href="http://hohnstaedt.de/documentation">http://hohnstaedt.de/documentation</a>.' > $@ |
46 |
@@ -23,7 +19,7 @@ install: $(doc) |
47 |
- $(ENABLE_DOC)install -m 755 -d $(DESTDIR)$(htmldir) |
48 |
- $(ENABLE_DOC)install -m 644 xca*.html $(DESTDIR)$(htmldir) |
49 |
- install -m 755 -d $(DESTDIR)$(mandir)/man1 |
50 |
-- install -m 644 *.1.gz $(DESTDIR)/$(mandir)/man1 |
51 |
-+ install -m 644 *.1 $(DESTDIR)/$(mandir)/man1 |
52 |
+ $(ENABLE_DOC)install -m 755 -d $(destdir)$(htmldir) |
53 |
+ $(ENABLE_DOC)install -m 644 xca*.html $(destdir)$(htmldir) |
54 |
+ install -m 755 -d $(destdir)$(mandir)/man1 |
55 |
+- install -m 644 *.1.gz $(destdir)/$(mandir)/man1 |
56 |
++ install -m 644 *.1 $(destdir)/$(mandir)/man1 |
57 |
|
58 |
app: xca.html |
59 |
mkdir -p $(APPDIR)/Resources |
60 |
|
61 |
diff --git a/app-crypt/xca/files/xca-bug-733000.patch b/app-crypt/xca/files/xca-2.3.0-bug-733000.patch |
62 |
similarity index 100% |
63 |
rename from app-crypt/xca/files/xca-bug-733000.patch |
64 |
rename to app-crypt/xca/files/xca-2.3.0-bug-733000.patch |
65 |
|
66 |
diff --git a/app-crypt/xca/xca-2.3.0.ebuild b/app-crypt/xca/xca-2.1.2-r1.ebuild |
67 |
similarity index 84% |
68 |
copy from app-crypt/xca/xca-2.3.0.ebuild |
69 |
copy to app-crypt/xca/xca-2.1.2-r1.ebuild |
70 |
index 556779ccf8e..28e0f2da477 100644 |
71 |
--- a/app-crypt/xca/xca-2.3.0.ebuild |
72 |
+++ b/app-crypt/xca/xca-2.1.2-r1.ebuild |
73 |
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND} |
74 |
|
75 |
PATCHES=( |
76 |
"${FILESDIR}/${PN}-1.0.0-desktop.patch" |
77 |
- "${FILESDIR}/${PN}-bug-73300.patch" |
78 |
+ "${FILESDIR}/${P}-bug-733000.patch" |
79 |
) |
80 |
|
81 |
src_configure() { |
82 |
@@ -37,35 +37,30 @@ src_configure() { |
83 |
STRIP=true |
84 |
} |
85 |
|
86 |
-src_prepare() { |
87 |
- sed '/^CFLAGS/s@-O2 -ggdb@@' -i Local.mak.in || die |
88 |
- default |
89 |
-} |
90 |
- |
91 |
src_compile() { |
92 |
# enforce all to avoid the automatic silent rules |
93 |
emake all |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
- default |
98 |
+ # non standard destdir |
99 |
+ emake install destdir="${ED}" |
100 |
+ einstalldocs |
101 |
|
102 |
insinto /etc/xca |
103 |
doins misc/*.txt |
104 |
|
105 |
ewarn "Make a backup copy of your database!" |
106 |
- ewarn "Version 2 completely changes the database format to SQL(ite)" |
107 |
+ ewarn "This version completely changes the database format to SQL(ite)" |
108 |
ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database." |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
- xdg_icon_cache_update |
113 |
xdg_desktop_database_update |
114 |
xdg_mimeinfo_database_update |
115 |
} |
116 |
|
117 |
pkg_postrm() { |
118 |
- xdg_icon_cache_update |
119 |
xdg_desktop_database_update |
120 |
xdg_mimeinfo_database_update |
121 |
} |
122 |
|
123 |
diff --git a/app-crypt/xca/xca-2.3.0.ebuild b/app-crypt/xca/xca-2.3.0.ebuild |
124 |
index 556779ccf8e..c7ef3f20b62 100644 |
125 |
--- a/app-crypt/xca/xca-2.3.0.ebuild |
126 |
+++ b/app-crypt/xca/xca-2.3.0.ebuild |
127 |
@@ -27,7 +27,7 @@ DEPEND="${RDEPEND} |
128 |
|
129 |
PATCHES=( |
130 |
"${FILESDIR}/${PN}-1.0.0-desktop.patch" |
131 |
- "${FILESDIR}/${PN}-bug-73300.patch" |
132 |
+ "${FILESDIR}/${P}-bug-733000.patch" |
133 |
) |
134 |
|
135 |
src_configure() { |