summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/screen-message/ChangeLog10
-rw-r--r--x11-misc/screen-message/files/screen-message-0.22-desktop-file.patch23
-rw-r--r--x11-misc/screen-message/screen-message-0.22.ebuild33
3 files changed, 64 insertions, 2 deletions
diff --git a/x11-misc/screen-message/ChangeLog b/x11-misc/screen-message/ChangeLog
index 2e4317ac432f..e4f4e25d2b05 100644
--- a/x11-misc/screen-message/ChangeLog
+++ b/x11-misc/screen-message/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/screen-message
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/screen-message/ChangeLog,v 1.5 2013/11/03 12:39:52 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screen-message/ChangeLog,v 1.6 2014/05/29 16:30:21 sping Exp $
+
+*screen-message-0.22 (29 May 2014)
+
+ 29 May 2014; Sebastian Pipping <sping@gentoo.org>
+ +screen-message-0.22.ebuild, +files/screen-message-0.22-desktop-file.patch:
+ Bump to 0.22
03 Nov 2013; Julian Ospald <hasufell@gentoo.org> screen-message-0.20.ebuild:
update blocker on jabberd2 wrt #453994
diff --git a/x11-misc/screen-message/files/screen-message-0.22-desktop-file.patch b/x11-misc/screen-message/files/screen-message-0.22-desktop-file.patch
new file mode 100644
index 000000000000..66ec231b0e85
--- /dev/null
+++ b/x11-misc/screen-message/files/screen-message-0.22-desktop-file.patch
@@ -0,0 +1,23 @@
+From af93db050e56dd6cc99674c58c48d45fd2eb92ba Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Thu, 29 May 2014 18:22:04 +0200
+Subject: [PATCH] Fix desktop file template
+
+warning: value "GTK;Application;Utility;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
+---
+ sm.desktop.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sm.desktop.in b/sm.desktop.in
+index f37e974..4b6033d 100644
+--- a/sm.desktop.in
++++ b/sm.desktop.in
+@@ -5,4 +5,4 @@ Exec=@BINPATH@/sm
+ Icon=sm
+ Terminal=false
+ Type=Application
+-Categories=GTK;Application;Utility;
++Categories=GTK;Utility;
+--
+1.9.3
+
diff --git a/x11-misc/screen-message/screen-message-0.22.ebuild b/x11-misc/screen-message/screen-message-0.22.ebuild
new file mode 100644
index 000000000000..66f2990d1e6e
--- /dev/null
+++ b/x11-misc/screen-message/screen-message-0.22.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/screen-message/screen-message-0.22.ebuild,v 1.1 2014/05/29 16:30:21 sping Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="Display a multi-line message large, fullscreen, black on white"
+HOMEPAGE="http://www.joachim-breitner.de/projects#screen-message"
+SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3
+ >=x11-libs/pango-1.16"
+RDEPEND="${DEPEND}
+ !<net-im/jabberd2-2.2.17-r1"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-desktop-file.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodir /usr/bin || die
+ mv "${D}"/usr/{games,bin}/sm || die
+ sed -i 's|Exec=/usr/games/sm||' "${D}"/usr/share/applications/sm.desktop || die
+}