Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/idea-community/
Date: Sat, 04 Jan 2020 00:13:11
Message-Id: 1578096771.cc48798f0688e6dea518c1f6f22750fd54bb913f.mpagano@gentoo
1 commit: cc48798f0688e6dea518c1f6f22750fd54bb913f
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 4 00:12:51 2020 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 4 00:12:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc48798f
7
8 dev-util/idea-community: Prevent automatic updates
9
10 Append a setting to the properties file which
11 will prevent automatic updates and show the user
12 from within the application that Gentoo is controlling
13 that.
14
15 Closes: https://bugs.gentoo.org/704494
16 Package-Manager: Portage-2.3.79, Repoman-2.3.16
17 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
18
19 ...> idea-community-2019.3.193.5233.102-r1.ebuild} | 28 +++++++++++++++-------
20 1 file changed, 19 insertions(+), 9 deletions(-)
21
22 diff --git a/dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild b/dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild
23 similarity index 84%
24 rename from dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild
25 rename to dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild
26 index c869f99be75..bf5c5606c6a 100644
27 --- a/dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild
28 +++ b/dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild
29 @@ -1,4 +1,4 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 +# Copyright 1999-2020 Gentoo Authors
32 # Distributed under the terms of the GNU General Public License v2
33
34 EAPI=7
35 @@ -57,15 +57,16 @@ QA_PREBUILT="opt/${PN}-${MY_PV}/*"
36
37 # jbr11 binary doesn't unpack nicely into a single folder
38 src_unpack() {
39 -if use !jbr11 ; then
40 -default_src_unpack
41 -else
42 -cd "${WORKDIR}"
43 -unpack ${MY_PN}IC-${PV_STRING}.tar.gz
44 -cd "${S}"
45 -mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz
46 -fi
47 + if use !jbr11 ; then
48 + default_src_unpack
49 + else
50 + cd "${WORKDIR}"
51 + unpack ${MY_PN}IC-${PV_STRING}.tar.gz
52 + cd "${S}"
53 + mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz
54 + fi
55 }
56 +
57 src_prepare() {
58 if use amd64; then
59 JRE_DIR=jre64
60 @@ -75,6 +76,15 @@ src_prepare() {
61 if use jbr8; then
62 mv "${WORKDIR}/jre" ./"${JRE_DIR}"
63 fi
64 +
65 + sed -i \
66 + -e "\$a\\\\" \
67 + -e "\$a#-----------------------------------------------------------------------" \
68 + -e "\$a# Disable automatic updates as these are handled through Gentoo's" \
69 + -e "\$a# package manager. See bug #704494" \
70 + -e "\$a#-----------------------------------------------------------------------" \
71 + -e "\$aide.no.platform.update=Gentoo" bin/idea.properties
72 +
73 eapply_user
74 }