commit:     2ee58aa265a605551da1c51710f286e675090663
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 15 08:04:03 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 08:04:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee58aa2

x11-misc/xmonad-log-applet: remove masled package

Closes: https://bugs.gentoo.org/729492
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 profiles/package.mask                              |  6 ---
 x11-misc/xmonad-log-applet/Manifest                |  1 -
 x11-misc/xmonad-log-applet/files/xmonad.hs         | 60 ----------------------
 x11-misc/xmonad-log-applet/metadata.xml            | 16 ------
 .../xmonad-log-applet-2.0.0-r301.ebuild            | 47 -----------------
 5 files changed, 130 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 465be38f686..d79e5a7e714 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -743,12 +743,6 @@ dev-go/goptlib
 # Removal in 30 days
 dev-perl/gnome2-perl
 
-# Sergei Trofimovich <[email protected]> (2020-07-05)
-# No upstream activity in past few years.
-# Needs porting to gtk3/fxce4panel-4.15: bug #729492.
-# Removal in 30 days.
-x11-misc/xmonad-log-applet
-
 # Michał Górny <[email protected]> (2020-07-04)
 # Unmaintained.  Requires scipy-python2.  Current version is from 2015,
 # latest upstream release from 2017.  The only revdep is masked

diff --git a/x11-misc/xmonad-log-applet/Manifest 
b/x11-misc/xmonad-log-applet/Manifest
deleted file mode 100644
index 44bdd2c505d..00000000000
--- a/x11-misc/xmonad-log-applet/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST xmonad-log-applet-2.0.0.tar.gz 82881 BLAKE2B 
a059158558cc2fcb150e90cbd055cf50367dbed464c46891b6c63d49d2b5e2974ea3fc859afe8f1115af78fae60e639bde0aec37af8be693720eca80905712b8
 SHA512 
1885ac97569d909ab1c6af99d9b271d0f782de905dfe035df27524f428d09cefa20a468103477132656dea8945faf886270fd70a49e5a08be538e04f3f05baca

diff --git a/x11-misc/xmonad-log-applet/files/xmonad.hs 
b/x11-misc/xmonad-log-applet/files/xmonad.hs
deleted file mode 100644
index 54b0025a97c..00000000000
--- a/x11-misc/xmonad-log-applet/files/xmonad.hs
+++ /dev/null
@@ -1,60 +0,0 @@
-import XMonad
-import XMonad.Config.Gnome
-import XMonad.Hooks.DynamicLog
-
-import Control.OldException
-
-import DBus
-import DBus.Connection
-import DBus.Message
-
-main :: IO ()
-main =  withConnection Session $ \dbus -> do
-    getWellKnownName dbus
-    xmonad $ gnomeConfig
-         { logHook = dynamicLogWithPP (prettyPrinter dbus)
-         }
-
-prettyPrinter :: Connection -> PP
-prettyPrinter dbus = defaultPP
-    { ppOutput   = dbusOutput dbus
-    , ppTitle    = pangoSanitize
-    , ppCurrent  = pangoColor "green" . wrap "[" "]" . pangoSanitize
-    , ppVisible  = pangoColor "yellow" . wrap "(" ")" . pangoSanitize
-    , ppHidden   = const ""
-    , ppUrgent   = pangoColor "red"
-    , ppLayout   = const ""
-    , ppSep      = " "
-    }
-
-getWellKnownName :: Connection -> IO ()
-getWellKnownName dbus = tryGetName `catchDyn` (\(DBus.Error _ _) -> 
getWellKnownName dbus)
-  where
-    tryGetName = do
-        namereq <- newMethodCall serviceDBus pathDBus interfaceDBus 
"RequestName"
-        addArgs namereq [String "org.xmonad.Log", Word32 5]
-        sendWithReplyAndBlock dbus namereq 0
-        return ()
-
-dbusOutput :: Connection -> String -> IO ()
-dbusOutput dbus str = do
-    msg <- newSignal "/org/xmonad/Log" "org.xmonad.Log" "Update"
-    addArgs msg [String ("<b>" ++ str ++ "</b>")]
-    -- If the send fails, ignore it.
-    send dbus msg 0 `catchDyn` (\(DBus.Error _ _) -> return 0)
-    return ()
-
-pangoColor :: String -> String -> String
-pangoColor fg = wrap left right
-  where
-    left  = "<span foreground=\"" ++ fg ++ "\">"
-    right = "</span>"
-
-pangoSanitize :: String -> String
-pangoSanitize = foldr sanitize ""
-  where
-    sanitize '>'  xs = "&gt;" ++ xs
-    sanitize '<'  xs = "&lt;" ++ xs
-    sanitize '\"' xs = "&quot;" ++ xs
-    sanitize '&'  xs = "&amp;" ++ xs
-    sanitize x    xs = x:xs

diff --git a/x11-misc/xmonad-log-applet/metadata.xml 
b/x11-misc/xmonad-log-applet/metadata.xml
deleted file mode 100644
index e8a65559079..00000000000
--- a/x11-misc/xmonad-log-applet/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-       </maintainer>
-       <maintainer type="person">
-               <email>[email protected]</email>
-       </maintainer>
-       <longdescription>
-               xmonad-log-applet is for Xmonad users who find the GNOME, MATE, 
or Xfce panel useful. The applet will show the active workspaces, the title of 
the selected window or whatever information you send it from your xmonad.hs.
-       </longdescription>
-       <upstream>
-               <remote-id type="github">alexkay/xmonad-log-applet</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild 
b/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild
deleted file mode 100644
index 9038beb0ce0..00000000000
--- a/x11-misc/xmonad-log-applet/xmonad-log-applet-2.0.0-r301.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools gnome2
-
-DESCRIPTION="Gnome and XFCE applet for displaying XMonad log"
-HOMEPAGE="https://github.com/alexkay/xmonad-log-applet";
-SRC_URI="https://github.com/downloads/alexkay/${PN}/${P}.tar.gz";
-LICENSE="BSD"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="mirror"
-
-RDEPEND="
-       sys-apps/dbus
-       xfce-base/xfce4-panel
-       dev-libs/dbus-glib
-       dev-libs/glib:2
-       dev-haskell/dbus
-       x11-libs/gtk+:3
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-       eautoreconf
-       gnome2_src_prepare
-}
-
-src_configure() {
-       gnome2_src_configure --sysconfdir=/etc --with-panel=xfce4
-}
-
-src_install() {
-       gnome2_src_install
-       dodoc AUTHORS.md README.md
-       dodoc "${FILESDIR}"/xmonad.hs
-}
-
-pkg_postinst() {
-       gnome2_pkg_postinst
-       elog "Remember to update your xmonad.hs accordingly"
-       elog "a sample xmonad.hs is provided in /usr/share/doc/${PF}"
-}

Reply via email to