public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/
Date: Mon, 11 Dec 2017 00:48:41 +0000 (UTC)	[thread overview]
Message-ID: <1512953305.13562bf472653993f2efd66da7c38a647488b050.xmw@gentoo> (raw)

commit:     13562bf472653993f2efd66da7c38a647488b050
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 00:48:03 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 00:48:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13562bf4

dev-util/pycharm-professional: include .desktop and icon db updates (thanks jstein).

Closes: https://github.com/gentoo/gentoo/pull/6434
Package-Manager: Portage-2.3.17, Repoman-2.3.6

 .../pycharm-professional-2017.2.3.ebuild                 | 16 +++++++++++++---
 .../pycharm-professional-2017.2.4.ebuild                 | 16 +++++++++++++---
 .../pycharm-professional-2017.3.ebuild                   | 16 +++++++++++++---
 3 files changed, 39 insertions(+), 9 deletions(-)

diff --git a/dev-util/pycharm-professional/pycharm-professional-2017.2.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2017.2.3.ebuild
index 78afd12076c..a52a5ee20aa 100644
--- a/dev-util/pycharm-professional/pycharm-professional-2017.2.3.ebuild
+++ b/dev-util/pycharm-professional/pycharm-professional-2017.2.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils readme.gentoo-r1
+inherit gnome2-utils xdg-utils readme.gentoo-r1
 
 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
 HOMEPAGE="http://www.jetbrains.com/pycharm/"
@@ -42,8 +42,18 @@ src_install() {
 	fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
 
 	dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
-	newicon "bin/${MY_PN}.png" ${PN}.png
-	make_desktop_entry ${PN} "${PN}" "${PN}"
+	newicon bin/${MY_PN}.png ${PN}.png
+	make_desktop_entry ${PN} ${PN} ${PN}
 
 	readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}

diff --git a/dev-util/pycharm-professional/pycharm-professional-2017.2.4.ebuild b/dev-util/pycharm-professional/pycharm-professional-2017.2.4.ebuild
index b8731d8db52..5d0519372d5 100644
--- a/dev-util/pycharm-professional/pycharm-professional-2017.2.4.ebuild
+++ b/dev-util/pycharm-professional/pycharm-professional-2017.2.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils readme.gentoo-r1
+inherit gnome2-utils xdg-utils readme.gentoo-r1
 
 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
 HOMEPAGE="http://www.jetbrains.com/pycharm/"
@@ -42,8 +42,18 @@ src_install() {
 	fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
 
 	dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
-	newicon "bin/${MY_PN}.png" ${PN}.png
-	make_desktop_entry ${PN} "${PN}" "${PN}"
+	newicon bin/${MY_PN}.png ${PN}.png
+	make_desktop_entry ${PN} ${PN} ${PN}
 
 	readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}

diff --git a/dev-util/pycharm-professional/pycharm-professional-2017.3.ebuild b/dev-util/pycharm-professional/pycharm-professional-2017.3.ebuild
index b8731d8db52..5d0519372d5 100644
--- a/dev-util/pycharm-professional/pycharm-professional-2017.3.ebuild
+++ b/dev-util/pycharm-professional/pycharm-professional-2017.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils readme.gentoo-r1
+inherit gnome2-utils xdg-utils readme.gentoo-r1
 
 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
 HOMEPAGE="http://www.jetbrains.com/pycharm/"
@@ -42,8 +42,18 @@ src_install() {
 	fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
 
 	dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
-	newicon "bin/${MY_PN}.png" ${PN}.png
-	make_desktop_entry ${PN} "${PN}" "${PN}"
+	newicon bin/${MY_PN}.png ${PN}.png
+	make_desktop_entry ${PN} ${PN} ${PN}
 
 	readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2017-12-11  0:48 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11  0:48 Michael Weber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 17:33 [gentoo-commits] repo/gentoo:master commit in: dev-util/pycharm-professional/ Ulrich Müller
2024-05-13 16:11 Ulrich Müller
2024-02-24 13:30 Joonas Niilola
2024-02-24 13:30 Joonas Niilola
2023-12-01 20:13 Arthur Zamarin
2023-12-01 20:03 Arthur Zamarin
2023-09-16  7:57 Joonas Niilola
2023-09-16  7:57 Joonas Niilola
2023-01-06 20:13 Arthur Zamarin
2023-01-06 20:03 Arthur Zamarin
2022-04-14 17:49 Ionen Wolkens
2022-04-11 19:13 Conrad Kostecki
2022-03-29 10:50 Ionen Wolkens
2022-03-13  2:59 Ionen Wolkens
2021-10-21 19:57 Mikle Kolyada
2021-07-17 14:19 Mikle Kolyada
2021-06-26  6:15 Mikle Kolyada
2021-06-25 19:24 Mikle Kolyada
2021-06-25 19:24 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-12-13 15:03 Mikle Kolyada
2020-07-15  7:32 Mikle Kolyada
2020-07-15  7:11 Mikle Kolyada
2020-05-13 10:33 Mikle Kolyada
2020-05-13 10:21 Mikle Kolyada
2020-04-09 13:47 Mikle Kolyada
2020-03-21  8:42 Mikle Kolyada
2020-02-09 12:22 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2020-01-25 15:03 Mikle Kolyada
2019-12-29  8:48 Mikle Kolyada
2019-12-11 12:44 Mikle Kolyada
2019-11-22  9:24 Mikle Kolyada
2019-11-02 13:37 Mikle Kolyada
2019-10-27 19:46 Mikle Kolyada
2019-10-27 19:46 Mikle Kolyada
2019-09-27 18:13 Mikle Kolyada
2019-09-26 18:42 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-07-25  9:03 Mikle Kolyada
2019-06-14  7:43 Mikle Kolyada
2019-05-26 10:34 Mikle Kolyada
2019-05-26 10:34 Mikle Kolyada
2019-05-08 10:22 Mikle Kolyada
2019-04-04 16:13 Mikle Kolyada
2019-04-04 16:08 Mikle Kolyada
2019-03-28 10:37 Mikle Kolyada
2019-03-08 18:18 Mikle Kolyada
2019-03-08 18:18 Mikle Kolyada
2019-02-28 10:38 Mikle Kolyada
2019-01-30 20:30 Mikle Kolyada
2019-01-11 10:24 Mikle Kolyada
2018-12-22  7:53 Mikle Kolyada
2018-12-06 18:29 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-29 17:39 Mikle Kolyada
2018-11-25 18:25 Mikle Kolyada
2018-10-28 16:37 Manuel Rüger
2018-09-16  2:30 Mikle Kolyada
2018-08-19 19:03 Michael Weber
2018-07-29 21:31 Michael Weber
2018-06-08 20:16 Michael Weber
2018-06-08 20:16 Michael Weber
2018-04-18 11:40 Mikle Kolyada
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 22:21 Michael Weber
2018-04-16 22:21 Michael Weber
2018-04-12 20:54 Thomas Deutschmann
2018-03-31 22:17 Manuel Rüger
2018-03-31 21:52 Aaron Bauman
2018-03-26  6:44 Michael Weber
2018-01-26 21:22 Patrice Clement
2017-12-22 10:17 Michael Weber
2017-12-22 10:17 Michael Weber
2017-12-22 10:17 Michael Weber
2017-12-08 18:34 Michael Weber
2017-11-30 13:33 Manuel Rüger
2017-11-29 15:24 Mikle Kolyada
2017-11-03 14:48 Manuel Rüger
2017-09-15 11:41 Manuel Rüger
2017-09-15 11:41 Manuel Rüger
2017-07-19 15:21 Manuel Rüger
2017-03-28  8:36 Michael Weber
2017-03-09 10:58 Michael Weber
2017-03-09 10:58 Michael Weber
2017-02-12 15:55 Michael Weber
2017-02-12 15:44 Agostino Sarubbo
2017-02-09 14:37 Agostino Sarubbo
2017-02-07 21:14 Michael Weber
2017-02-07 20:40 Michael Weber
2016-10-16 21:45 Manuel Rüger
2016-08-31 21:07 Manuel Rüger
2016-08-19 14:56 Michael Weber
2016-07-05 14:36 Michael Weber
2016-07-05 14:36 Michael Weber
2016-06-10 13:53 Agostino Sarubbo
2016-05-16 22:05 Manuel Rüger
2016-05-04 11:54 Manuel Rüger
2016-05-04 11:39 Manuel Rüger
2016-03-25 18:57 Manuel Rüger
2016-03-25 18:57 Manuel Rüger
2016-03-25 16:55 Manuel Rüger
2016-02-28 23:19 Manuel Rüger
2016-02-28 23:18 Manuel Rüger
2016-01-03  0:11 Michael Weber
2016-01-03  0:11 Michael Weber
2015-12-13  1:58 Manuel Rüger
2015-11-26 10:07 Patrice Clement
2015-11-07 13:46 Manuel Rüger
2015-11-07 12:45 Manuel Rüger
2015-09-15 11:28 Michael Weber
2015-09-11 19:37 Patrice Clement
2015-09-11 19:37 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1512953305.13562bf472653993f2efd66da7c38a647488b050.xmw@gentoo \
    --to=xmw@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox