From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 33660139694 for ; Sat, 8 Jul 2017 19:50:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85E17274109; Sat, 8 Jul 2017 19:50:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A388274109 for ; Sat, 8 Jul 2017 19:50:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1735D341A98 for ; Sat, 8 Jul 2017 19:50:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7370D74A4 for ; Sat, 8 Jul 2017 19:50:55 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1499543440.b218b0c2a6ec34770eceb9e19c897af2dde279bf.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/sublime-text/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/sublime-text/sublime-text-2.0.2-r1.ebuild app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild app-editors/sublime-text/sublime-text-3_pre3126-r1.ebuild app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild X-VCS-Directories: app-editors/sublime-text/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: b218b0c2a6ec34770eceb9e19c897af2dde279bf X-VCS-Branch: master Date: Sat, 8 Jul 2017 19:50:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 89a9dbd5-8e71-44c0-9d2c-29a18b69cc14 X-Archives-Hash: 635c35cb4153188d23ef93e6f2d51f01 commit: b218b0c2a6ec34770eceb9e19c897af2dde279bf Author: David Seifert gentoo org> AuthorDate: Sat Jul 8 19:49:30 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jul 8 19:50:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b218b0c2 app-editors/sublime-text: Make taskbar icons work Package-Manager: Portage-2.3.6, Repoman-2.3.2 ...text-2.0.2-r1.ebuild => sublime-text-2.0.2-r2.ebuild} | 16 +++++++++++++--- ...re3126-r1.ebuild => sublime-text-3_pre3126-r2.ebuild} | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/app-editors/sublime-text/sublime-text-2.0.2-r1.ebuild b/app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild similarity index 78% rename from app-editors/sublime-text/sublime-text-2.0.2-r1.ebuild rename to app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild index 856015667d3..b482c88d899 100644 --- a/app-editors/sublime-text/sublime-text-2.0.2-r1.ebuild +++ b/app-editors/sublime-text/sublime-text-2.0.2-r2.ebuild @@ -43,10 +43,20 @@ src_install() { local size for size in 16 32 48 128 256; do - newicon -s ${size} Icon/${size}x${size}/sublime_text.png sublime-text.png + newicon -s ${size} Icon/${size}x${size}/sublime_text.png subl.png done - make_desktop_entry "subl" "Sublime Text ${MV}" \ - /usr/share/icons/hicolor/48x48/apps/sublime-text.png \ + make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \ "TextEditor;IDE;Development" "StartupNotify=true" + + # needed to get WM_CLASS lookup right + mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die +} + +pkg_postrm() { + gnome2_icon_cache_update +} + +pkg_postinst() { + gnome2_icon_cache_update } diff --git a/app-editors/sublime-text/sublime-text-3_pre3126-r1.ebuild b/app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild similarity index 79% rename from app-editors/sublime-text/sublime-text-3_pre3126-r1.ebuild rename to app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild index dd797888dc4..d81372b9839 100644 --- a/app-editors/sublime-text/sublime-text-3_pre3126-r1.ebuild +++ b/app-editors/sublime-text/sublime-text-3_pre3126-r2.ebuild @@ -44,10 +44,20 @@ src_install() { local size for size in 32 48 128 256; do - newicon -s ${size} Icon/${size}x${size}/sublime-text.png sublime-text.png + newicon -s ${size} Icon/${size}x${size}/sublime-text.png subl.png done - make_desktop_entry "subl" "Sublime Text ${MV}" \ - /usr/share/icons/hicolor/48x48/apps/sublime-text.png \ + make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \ "TextEditor;IDE;Development" "StartupNotify=true" + + # needed to get WM_CLASS lookup right + mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die +} + +pkg_postrm() { + gnome2_icon_cache_update +} + +pkg_postinst() { + gnome2_icon_cache_update }