public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/sublime-text/
Date: Thu, 28 Mar 2019 06:44:53 +0000 (UTC)	[thread overview]
Message-ID: <1553755482.ed3ae2a477cf543dd1b32f2a73670cfa800b939f.gyakovlev@gentoo> (raw)

commit:     ed3ae2a477cf543dd1b32f2a73670cfa800b939f
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 05:30:50 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 06:44:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed3ae2a4

app-editors/sublime-text: fix dep on gtk+

bump eapi to 7
migrate to xdg-utils
install 16x16 icons

Closes: https://bugs.gentoo.org/680332
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 ...-text-3_p3200.ebuild => sublime-text-3_p3200-r1.ebuild} | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/app-editors/sublime-text/sublime-text-3_p3200.ebuild b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild
similarity index 87%
rename from app-editors/sublime-text/sublime-text-3_p3200.ebuild
rename to app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild
index 5fd7944da80..d059f42e93d 100644
--- a/app-editors/sublime-text/sublime-text-3_p3200.ebuild
+++ b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit desktop gnome2-utils
+inherit desktop xdg-utils
 
 # get the major version from PV
 MV=${PV:0:1}
@@ -23,7 +23,7 @@ RESTRICT="bindist mirror strip"
 
 RDEPEND="
 	dev-libs/glib:2
-	x11-libs/gtk+:2
+	x11-libs/gtk+:3
 	x11-libs/libX11
 	dbus? ( sys-apps/dbus )"
 
@@ -43,7 +43,7 @@ src_install() {
 	dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
 
 	local size
-	for size in 32 48 128 256; do
+	for size in 16 32 48 128 256; do
 		dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
 			/usr/share/icons/hicolor/${size}x${size}/apps/subl.png
 	done
@@ -52,13 +52,13 @@ src_install() {
 		"TextEditor;IDE;Development" "StartupNotify=true"
 
 	# needed to get WM_CLASS lookup right
-	mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die
+	mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die
 }
 
 pkg_postrm() {
-	gnome2_icon_cache_update
+	xdg_icon_cache_update
 }
 
 pkg_postinst() {
-	gnome2_icon_cache_update
+	xdg_icon_cache_update
 }


             reply	other threads:[~2019-03-28  6:44 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28  6:44 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-07  9:03 [gentoo-commits] repo/gentoo:master commit in: app-editors/sublime-text/ David Seifert
2024-05-11 16:22 David Seifert
2023-12-01 10:16 David Seifert
2023-11-22 20:25 David Seifert
2023-08-04 11:41 David Seifert
2022-11-13 16:02 David Seifert
2022-11-13 16:02 David Seifert
2021-12-30 18:12 David Seifert
2021-10-28 13:39 David Seifert
2021-07-29 12:08 David Seifert
2021-07-16 23:11 David Seifert
2020-03-27  7:30 Ulrich Müller
2019-10-19  9:54 David Seifert
2019-10-19  9:54 David Seifert
2019-10-02 15:18 Rick Farina
2019-04-06 21:26 David Seifert
2019-03-27 17:17 Rick Farina
2018-05-22 11:50 Amy Liffey
2017-12-25 19:21 David Seifert
2017-09-16 10:58 David Seifert
2017-07-08 23:53 David Seifert
2017-07-08 19:50 David Seifert
2017-07-04 18:57 David Seifert

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=1553755482.ed3ae2a477cf543dd1b32f2a73670cfa800b939f.gyakovlev@gentoo \
    --to=gyakovlev@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