commit:     963885db33cd5c7cbf3a4d096c7cb381bf6f745f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 21:05:11 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 21:24:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963885db

x11-wm/xmonad: use pkg_postinst from directly inherited eclass

Package-Manager: portage-2.2.28

 x11-wm/xmonad/files/xmonad.desktop  | 8 +++++++-
 x11-wm/xmonad/xmonad-0.11-r1.ebuild | 2 +-
 x11-wm/xmonad/xmonad-0.11-r3.ebuild | 2 +-
 x11-wm/xmonad/xmonad-0.11.1.ebuild  | 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/x11-wm/xmonad/files/xmonad.desktop 
b/x11-wm/xmonad/files/xmonad.desktop
index d72fc71..9c0bf6e 100644
--- a/x11-wm/xmonad/files/xmonad.desktop
+++ b/x11-wm/xmonad/files/xmonad.desktop
@@ -1,7 +1,13 @@
 [Desktop Entry]
+Type=Application
+Encoding=UTF-8
 Name=xmonad
 Comment=A lightweight window manager
 Exec=/etc/X11/Sessions/xmonad
 TryExec=xmonad
+NoDisplay=true
 Icon=
-Type=Application
+X-GNOME-WMName=Xmonad
+X-GNOME-Autostart-Phase=WindowManager
+X-GNOME-Provides=windowmanager
+X-GNOME-Autostart-Notify=false

diff --git a/x11-wm/xmonad/xmonad-0.11-r1.ebuild 
b/x11-wm/xmonad/xmonad-0.11-r1.ebuild
index e7ae14b..6ef460d 100644
--- a/x11-wm/xmonad/xmonad-0.11-r1.ebuild
+++ b/x11-wm/xmonad/xmonad-0.11-r1.ebuild
@@ -55,7 +55,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       ghc-package_pkg_postinst
+       haskell-cabal_pkg_postinst
 
        elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:"
        elog "    
/usr/share/${PF}/ghc-$(ghc-version)/${SAMPLE_CONFIG_LOC}/${SAMPLE_CONFIG}"

diff --git a/x11-wm/xmonad/xmonad-0.11-r3.ebuild 
b/x11-wm/xmonad/xmonad-0.11-r3.ebuild
index e94fa77..ba8f130 100644
--- a/x11-wm/xmonad/xmonad-0.11-r3.ebuild
+++ b/x11-wm/xmonad/xmonad-0.11-r3.ebuild
@@ -62,7 +62,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       ghc-package_pkg_postinst
+       haskell-cabal_pkg_postinst
 
        elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:"
        elog "    
/usr/share/${PF}/ghc-$(ghc-version)/${SAMPLE_CONFIG_LOC}/${SAMPLE_CONFIG}"

diff --git a/x11-wm/xmonad/xmonad-0.11.1.ebuild 
b/x11-wm/xmonad/xmonad-0.11.1.ebuild
index 97e3725..a9bd1a5 100644
--- a/x11-wm/xmonad/xmonad-0.11.1.ebuild
+++ b/x11-wm/xmonad/xmonad-0.11.1.ebuild
@@ -62,7 +62,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       ghc-package_pkg_postinst
+       haskell-cabal_pkg_postinst
 
        elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:"
        elog "    
/usr/share/${PF}/ghc-$(ghc-version)/${SAMPLE_CONFIG_LOC}/${SAMPLE_CONFIG}"

Reply via email to