Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/trayer/, x11-misc/trayer/files/
Date: Sat, 01 Apr 2017 10:21:10
Message-Id: 1491042054.f87a7939f464757daef7cdd5559a9639129fcbbc.soap@gentoo
1 commit: f87a7939f464757daef7cdd5559a9639129fcbbc
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 26 07:31:06 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 10:20:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87a7939
7
8 x11-misc/trayer: Dont include libXmu
9
10 Gentoo-Bug: https://bugs.gentoo.org/613842
11 Package-Manager: Portage-2.3.5, Repoman-2.3.2
12 Closes: https://github.com/gentoo/gentoo/pull/4302
13
14 .../files/trayer-1.0-dont-include-libXmu.patch | 24 ++++++++++++++++++++++
15 x11-misc/trayer/trayer-1.0-r2.ebuild | 2 ++
16 x11-misc/trayer/trayer-1.0-r3.ebuild | 1 +
17 3 files changed, 27 insertions(+)
18
19 diff --git a/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch b/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch
20 new file mode 100644
21 index 00000000000..8b9fd291d15
22 --- /dev/null
23 +++ b/x11-misc/trayer/files/trayer-1.0-dont-include-libXmu.patch
24 @@ -0,0 +1,24 @@
25 +From 710efb0c8192e704a83fd3d4b8b3c0d6be984246 Mon Sep 17 00:00:00 2001
26 +From: Harri Nieminen <moikkis@×××××.com>
27 +Date: Sun, 26 Mar 2017 10:08:05 +0300
28 +Subject: [PATCH] Don't include libXmu
29 +
30 +---
31 + systray/main.c | 1 -
32 + 1 file changed, 1 deletion(-)
33 +
34 +diff --git a/systray/main.c b/systray/main.c
35 +index dff5455..79cbe34 100644
36 +--- a/systray/main.c
37 ++++ b/systray/main.c
38 +@@ -2,7 +2,6 @@
39 + #include <unistd.h>
40 + #include <string.h>
41 +
42 +-#include <X11/Xmu/WinUtil.h>
43 + #include <gdk-pixbuf/gdk-pixbuf.h>
44 +
45 + #include "panel.h"
46 +--
47 +2.12.1
48 +
49
50 diff --git a/x11-misc/trayer/trayer-1.0-r2.ebuild b/x11-misc/trayer/trayer-1.0-r2.ebuild
51 index eb0f827a998..9876527f2e6 100644
52 --- a/x11-misc/trayer/trayer-1.0-r2.ebuild
53 +++ b/x11-misc/trayer/trayer-1.0-r2.ebuild
54 @@ -24,6 +24,8 @@ DEPEND="
55 virtual/pkgconfig
56 "
57
58 +PATCHES=( "${FILESDIR}"/${P}-dont-include-libXmu.patch )
59 +
60 src_prepare() {
61 default
62 # fix for as-needed, bug #141707
63
64 diff --git a/x11-misc/trayer/trayer-1.0-r3.ebuild b/x11-misc/trayer/trayer-1.0-r3.ebuild
65 index 574902f5043..ad5fb8df846 100644
66 --- a/x11-misc/trayer/trayer-1.0-r3.ebuild
67 +++ b/x11-misc/trayer/trayer-1.0-r3.ebuild
68 @@ -26,6 +26,7 @@ DEPEND="
69
70 PATCHES=(
71 "${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch
72 + "${FILESDIR}"/${P}-dont-include-libXmu.patch
73 "${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch
74 )