Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xystray/files/, x11-misc/xystray/
Date: Mon, 25 Apr 2016 08:10:15
Message-Id: 1461570934.35e9ccd31964c9932977e28ca175ab78d64ad362.monsieurp@gentoo
1 commit: 35e9ccd31964c9932977e28ca175ab78d64ad362
2 Author: Marek Szuba <Marek.Szuba <AT> cern <DOT> ch>
3 AuthorDate: Mon Apr 25 07:03:27 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 07:55:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e9ccd3
7
8 x11-misc/xystray: Add ebuild to the tree.
9
10 Xystray is a simple implementation of the freedesktop.org notification
11 area (also known as the system tray) for X, useful for window managers
12 such as FVWM which do not provide their own.
13
14 Gentoo-Bug: https://bugs.gentoo.org/82892
15 Closes: https://github.com/gentoo/gentoo/pull/1343
16
17 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
18
19 x11-misc/xystray/Manifest | 4 ++++
20 x11-misc/xystray/files/xystray-1.0-ldflags.patch | 11 ++++++++++
21 x11-misc/xystray/metadata.xml | 13 ++++++++++++
22 x11-misc/xystray/xystray-1.0.ebuild | 26 ++++++++++++++++++++++++
23 4 files changed, 54 insertions(+)
24
25 diff --git a/x11-misc/xystray/Manifest b/x11-misc/xystray/Manifest
26 new file mode 100644
27 index 0000000..a2babca
28 --- /dev/null
29 +++ b/x11-misc/xystray/Manifest
30 @@ -0,0 +1,4 @@
31 +AUX xystray-1.0-ldflags.patch 316 SHA256 eb586eb7b0e60d81558750591d61addb6b682ab067794446a4ae601b7faad7aa SHA512 d0a20301b3b1d8432d3f905ae5c44dd2f25e067b587d40487aec6e807e033351ae7c7e663e19b21678d9e34bb2528b5c5a016b85e0433a8996752130075f9edf WHIRLPOOL 256ccc03a1c3e2496f59caf1394ab17ccd5ee28961be7ce4b7c03f3aafc21510a84d1a6c064a39cc762fe0875eb7e1af7e4f32142630dd6390fec7d7e6c5e32a
32 +DIST xystray-1.0.tar.gz 18225 SHA256 ea7473edd09ade2b01a44dcf7a271253df52c91e727fcde3226412f42bd472a5 SHA512 50f3700e497dae875f659d55e2d5c469e977ab513c35f82516f2c139e2813f126bcc7658d76b55346480c0ca7d65a67b74b289cdae775bd13c0dc9da31a9a92c WHIRLPOOL 46f0528993a3a04d2f824ac81285452b09fdda3d4e6f7b620cbd4dfc9671f42a9279f51ea1b0571c56756cff8e7742c30b69c6912e299ad5cf41377c5307bdf6
33 +EBUILD xystray-1.0.ebuild 524 SHA256 b082c91d49bbfdb3bcf3ace9f2c9550dbf7352beeaef8077df9e9666fe01b86b SHA512 97a03d442d51179e7ab7854ef38b00aa8aa265922ebd9f02163112cd11e423e4ebe91566d98dd438421c10895d70d2b395958e681dd5cc63e800eb36d7fcc873 WHIRLPOOL d5ba505e374a6fdbabfa7f837025e97a010efc0c10d25818e23c2ce432c79c55f225f5e45ded51c93a077ea8f80f8bb46d58371436fbe03484ee94508909d943
34 +MISC metadata.xml 455 SHA256 3752be463cc35dcb6d06fad3dd5a4387a42d8c63959eec026acc78542eb896cf SHA512 2c3718417db689cc74201c24c326a1967a6e551cfa2310b5816b40d1df8de5ec92ef31b62542fbb46665d67c9036ee77bba136124f291354df5b22125922a703 WHIRLPOOL bb1d6a6769fde54baba077023f17af5da4641d53c4cbbef839a4269c4303887d3c447c7ac71b4d6dcb74e63ba213cb675a897e67e8d32193c89e987b71e4c89b
35
36 diff --git a/x11-misc/xystray/files/xystray-1.0-ldflags.patch b/x11-misc/xystray/files/xystray-1.0-ldflags.patch
37 new file mode 100644
38 index 0000000..0ed03d0
39 --- /dev/null
40 +++ b/x11-misc/xystray/files/xystray-1.0-ldflags.patch
41 @@ -0,0 +1,11 @@
42 +--- a/Makefile 2016-04-22 19:57:57.000000000 +0000
43 ++++ b/Makefile 2016-04-25 06:49:38.344591274 +0000
44 +@@ -1,6 +1,6 @@
45 +-LDFLAGS=-lX11 -lXt -L/usr/X11/lib
46 ++LIBS=-lX11 -lXt -L/usr/X11/lib
47 + xystray: Xystray.o xystray.o
48 +- $(CC) $(LDFLAGS) $^ -o $@
49 ++ $(CC) $(LDFLAGS) $(LIBS) $^ -o $@
50 +
51 + clean:
52 + rm Xystray.o xystray.o
53
54 diff --git a/x11-misc/xystray/metadata.xml b/x11-misc/xystray/metadata.xml
55 new file mode 100644
56 index 0000000..969bb1d
57 --- /dev/null
58 +++ b/x11-misc/xystray/metadata.xml
59 @@ -0,0 +1,13 @@
60 +<?xml version="1.0" encoding="UTF-8"?>
61 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
62 +<pkgmetadata>
63 + <maintainer type="project">
64 + <email>proxy-maint@g.o</email>
65 + <name>Gentoo Proxy Maintainers Project</name>
66 + </maintainer>
67 + <maintainer type="person">
68 + <email>Marek.Szuba@××××.ch</email>
69 + <name>Marek Szuba</name>
70 + <description>Proxied maintainer; set to assignee in all bugs</description>
71 + </maintainer>
72 +</pkgmetadata>
73
74 diff --git a/x11-misc/xystray/xystray-1.0.ebuild b/x11-misc/xystray/xystray-1.0.ebuild
75 new file mode 100644
76 index 0000000..2001273
77 --- /dev/null
78 +++ b/x11-misc/xystray/xystray-1.0.ebuild
79 @@ -0,0 +1,26 @@
80 +# Copyright 1999-2016 Gentoo Foundation
81 +# Distributed under the terms of the GNU General Public License v2
82 +# $Id$
83 +
84 +EAPI=6
85 +
86 +DESCRIPTION="A simple implementation of freedesktop.org notification area for X"
87 +HOMEPAGE="http://steelman.github.com/xystray/"
88 +SRC_URI="https://github.com/steelman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
89 +
90 +LICENSE="GPL-2"
91 +SLOT="0"
92 +KEYWORDS="~amd64 ~x86"
93 +IUSE=""
94 +
95 +DEPEND="x11-libs/libX11
96 + x11-libs/libXt"
97 +RDEPEND=""
98 +
99 +PATCHES=(
100 + "${FILESDIR}/${P}-ldflags.patch"
101 +)
102 +
103 +src_install() {
104 + dobin xystray
105 +}