Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/
Date: Tue, 11 Sep 2018 08:04:08
Message-Id: 1536653036.fe6520c33d86aa869cf6e42b769370d8218ff741.polynomial-c@gentoo
1 commit: fe6520c33d86aa869cf6e42b769370d8218ff741
2 Author: Francesco Turco <fturco <AT> fastmail <DOT> fm>
3 AuthorDate: Sun Aug 26 18:08:31 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 11 08:03:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe6520c3
7
8 x11-wm/i3: show elog message only on first installation
9
10 Closes: https://github.com/gentoo/gentoo/pull/9703
11
12 x11-wm/i3/i3-4.13-r1.ebuild | 17 ++++++++++-------
13 x11-wm/i3/i3-4.14.1.ebuild | 15 +++++++++------
14 x11-wm/i3/i3-4.14.ebuild | 17 ++++++++++-------
15 x11-wm/i3/i3-4.15.ebuild | 15 +++++++++------
16 x11-wm/i3/i3-9999.ebuild | 18 +++++++++++-------
17 5 files changed, 49 insertions(+), 33 deletions(-)
18
19 diff --git a/x11-wm/i3/i3-4.13-r1.ebuild b/x11-wm/i3/i3-4.13-r1.ebuild
20 index acfef3313c8..2b809ac551d 100644
21 --- a/x11-wm/i3/i3-4.13-r1.ebuild
22 +++ b/x11-wm/i3/i3-4.13-r1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -76,10 +76,13 @@ src_install() {
30 }
31
32 pkg_postinst() {
33 - einfo "There are several packages that you may find useful with ${PN} and"
34 - einfo "their usage is suggested by the upstream maintainers, namely:"
35 - einfo " x11-misc/dmenu"
36 - einfo " x11-misc/i3status"
37 - einfo " x11-misc/i3lock"
38 - einfo "Please refer to their description for additional info."
39 + # Only show the elog information on a new install
40 + if [[ ! ${REPLACING_VERSIONS} ]]; then
41 + elog "There are several packages that you may find useful with ${PN} and"
42 + elog "their usage is suggested by the upstream maintainers, namely:"
43 + elog " x11-misc/dmenu"
44 + elog " x11-misc/i3status"
45 + elog " x11-misc/i3lock"
46 + elog "Please refer to their description for additional info."
47 + fi
48 }
49
50 diff --git a/x11-wm/i3/i3-4.14.1.ebuild b/x11-wm/i3/i3-4.14.1.ebuild
51 index 3c204ad407f..a10e0a5f9e4 100644
52 --- a/x11-wm/i3/i3-4.14.1.ebuild
53 +++ b/x11-wm/i3/i3-4.14.1.ebuild
54 @@ -102,10 +102,13 @@ my_src_install_all() {
55 }
56
57 pkg_postinst() {
58 - einfo "There are several packages that you may find useful with ${PN} and"
59 - einfo "their usage is suggested by the upstream maintainers, namely:"
60 - einfo " x11-misc/dmenu"
61 - einfo " x11-misc/i3status"
62 - einfo " x11-misc/i3lock"
63 - einfo "Please refer to their description for additional info."
64 + # Only show the elog information on a new install
65 + if [[ ! ${REPLACING_VERSIONS} ]]; then
66 + elog "There are several packages that you may find useful with ${PN} and"
67 + elog "their usage is suggested by the upstream maintainers, namely:"
68 + elog " x11-misc/dmenu"
69 + elog " x11-misc/i3status"
70 + elog " x11-misc/i3lock"
71 + elog "Please refer to their description for additional info."
72 + fi
73 }
74
75 diff --git a/x11-wm/i3/i3-4.14.ebuild b/x11-wm/i3/i3-4.14.ebuild
76 index b98df36f927..26d946ec6f0 100644
77 --- a/x11-wm/i3/i3-4.14.ebuild
78 +++ b/x11-wm/i3/i3-4.14.ebuild
79 @@ -1,4 +1,4 @@
80 -# Copyright 1999-2017 Gentoo Foundation
81 +# Copyright 1999-2018 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License v2
83
84 EAPI=6
85 @@ -90,10 +90,13 @@ src_install() {
86 }
87
88 pkg_postinst() {
89 - einfo "There are several packages that you may find useful with ${PN} and"
90 - einfo "their usage is suggested by the upstream maintainers, namely:"
91 - einfo " x11-misc/dmenu"
92 - einfo " x11-misc/i3status"
93 - einfo " x11-misc/i3lock"
94 - einfo "Please refer to their description for additional info."
95 + # Only show the elog information on a new install
96 + if [[ ! ${REPLACING_VERSIONS} ]]; then
97 + elog "There are several packages that you may find useful with ${PN} and"
98 + elog "their usage is suggested by the upstream maintainers, namely:"
99 + elog " x11-misc/dmenu"
100 + elog " x11-misc/i3status"
101 + elog " x11-misc/i3lock"
102 + elog "Please refer to their description for additional info."
103 + fi
104 }
105
106 diff --git a/x11-wm/i3/i3-4.15.ebuild b/x11-wm/i3/i3-4.15.ebuild
107 index df485534f2f..90f223b0d2c 100644
108 --- a/x11-wm/i3/i3-4.15.ebuild
109 +++ b/x11-wm/i3/i3-4.15.ebuild
110 @@ -102,10 +102,13 @@ my_src_install_all() {
111 }
112
113 pkg_postinst() {
114 - einfo "There are several packages that you may find useful with ${PN} and"
115 - einfo "their usage is suggested by the upstream maintainers, namely:"
116 - einfo " x11-misc/dmenu"
117 - einfo " x11-misc/i3status"
118 - einfo " x11-misc/i3lock"
119 - einfo "Please refer to their description for additional info."
120 + # Only show the elog information on a new install
121 + if [[ ! ${REPLACING_VERSIONS} ]]; then
122 + elog "There are several packages that you may find useful with ${PN} and"
123 + elog "their usage is suggested by the upstream maintainers, namely:"
124 + elog " x11-misc/dmenu"
125 + elog " x11-misc/i3status"
126 + elog " x11-misc/i3lock"
127 + elog "Please refer to their description for additional info."
128 + fi
129 }
130
131 diff --git a/x11-wm/i3/i3-9999.ebuild b/x11-wm/i3/i3-9999.ebuild
132 index cd758177621..44462428862 100644
133 --- a/x11-wm/i3/i3-9999.ebuild
134 +++ b/x11-wm/i3/i3-9999.ebuild
135 @@ -1,4 +1,4 @@
136 -# Copyright 1999-2017 Gentoo Foundation
137 +# Copyright 1999-2018 Gentoo Foundation
138 # Distributed under the terms of the GNU General Public License v2
139
140 EAPI=6
141 @@ -74,10 +74,14 @@ src_install() {
142 }
143
144 pkg_postinst() {
145 - einfo "There are several packages that you may find useful with ${PN} and"
146 - einfo "their usage is suggested by the upstream maintainers, namely:"
147 - einfo " x11-misc/dmenu"
148 - einfo " x11-misc/i3status"
149 - einfo " x11-misc/i3lock"
150 - einfo "Please refer to their description for additional info."
151 +
152 + # Only show the elog information on a new install
153 + if [[ ! ${REPLACING_VERSIONS} ]]; then
154 + elog "There are several packages that you may find useful with ${PN} and"
155 + elog "their usage is suggested by the upstream maintainers, namely:"
156 + elog " x11-misc/dmenu"
157 + elog " x11-misc/i3status"
158 + elog " x11-misc/i3lock"
159 + elog "Please refer to their description for additional info."
160 + fi
161 }