From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-plugins/wmsystray/Manifest | 8 ++++ .../wmsystray/files/wmsystray-0.1.1-Makefile.patch | 44 +++++++++++++++++++++ .../wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch | 10 +++++ x11-plugins/wmsystray/files/wmsystray.desktop | 8 ++++ x11-plugins/wmsystray/metadata.xml | 9 +++++ x11-plugins/wmsystray/wmsystray-0.1.1.ebuild | 46 ++++++++++++++++++++++ 6 files changed, 125 insertions(+) create mode 100644 x11-plugins/wmsystray/Manifest create mode 100644 x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch create mode 100644 x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch create mode 100644 x11-plugins/wmsystray/files/wmsystray.desktop create mode 100644 x11-plugins/wmsystray/metadata.xml create mode 100644 x11-plugins/wmsystray/wmsystray-0.1.1.ebuild (limited to 'x11-plugins/wmsystray') diff --git a/x11-plugins/wmsystray/Manifest b/x11-plugins/wmsystray/Manifest new file mode 100644 index 000000000000..509cd5d7e45d --- /dev/null +++ b/x11-plugins/wmsystray/Manifest @@ -0,0 +1,8 @@ +AUX wmsystray-0.1.1-Makefile.patch 1551 SHA256 0a28c97618e89e1b74544663da34b8cc8316df2e4a801974a08fa074bb0056db SHA512 0ebe1530db6770556def85a99075e9bea40fc9cffa1d0a43838651d0158c50960222ee830f8c8089f271537fec5869c6975fe17283443c9f9edbdf9da1a1c1b1 WHIRLPOOL 916b78f4e9d037e141abee36bf4dabf7e277bc80163a07d47b2184583a8f6536357acdcc90c454dac3d9e07706d91a1cca1cb1aefc145e2d974bd130dd23c7d1 +AUX wmsystray-0.1.1-gcc-3.4.patch 270 SHA256 92268628a43d62a0b1ba2a1d85f45a352cfd3745db355ba0e8b7863a31208064 SHA512 018db13c7eddd35080ddddc8ae146a5a129785561dc5a75ed4eac9bd7376b77a8a9c413a2e5cf4fb6d26ce454ed52b9afd206e812c3cf01dc46d88678bd60c92 WHIRLPOOL 926c3be371a82bcfac029c99bc705f8e9e6abeafe55612fb1a84baa107ffdf634520c3e66b0b1926ad48ab641b33717a9b1d5c5435aa56dd2865d8e8efaaf97c +AUX wmsystray.desktop 185 SHA256 3da038dca950f33a47796e0723178476aa39ff30da6776b51de2d6c739762136 SHA512 f7a2c0391257d76c9024f2804de067b07f3669fbba6fd0af6471297f4c0fb876ecfdd7cd6b931187d657d6558ff27d01766c299048f7c16c4d4eed5c4586213b WHIRLPOOL 778039f541971a1dd50f1eb0796b7fc4967083220b3cb09cc3537968a03bd4ed9c62265e45f761cb4959d7a65ccd7df8448801a9c35e7e2d8c5c4bfd256b81ce +DIST wmsystray-0.1.1.tar.bz2 18261 SHA256 d24a9cb25f4394eecb6e9215b88dde0d9debf203fbf1e501fb02e3e0571c37f7 SHA512 a28d8cb6a3e74909a1467459f81a853dae2d74c28db166be15f398f00bc8066fbb1caa0e982fb3874279a7edd376ab892499e8981d2c2126eed591ef52f8d604 WHIRLPOOL 4b6032663f5cd4c236bce79cd77626a1e15cd057c96c27080587ae4f6cc506b8c10082e13a215bba0d673373d45d1f07f445802218aa7df2920469f2505fdeff +EBUILD wmsystray-0.1.1.ebuild 1197 SHA256 4d9bcdbd7c90e547aa46923fec4d11aa3bddaa3e9bd619c006ffda39dbaa7a03 SHA512 dc7130595f2338cd2183179f8a4b40a40fd0f686f7e5e31b2b70c250c4252a99a947122934c650a8555e0369e81fce9748cd8ab1c9bf263132eed6834ef03df9 WHIRLPOOL 0ea4189346c55648718448d9250baac69bd11c8c5bb8ad7ea89fdc804dc4fe01a59ad38abd19ef7f53d9b2a0cf50d5d0895217c82eae9e692b036afa94913c7d +MISC ChangeLog 2999 SHA256 8801ed43867f4d588c6e13a40107b5ff7003067a4f34cd035b650c87bb5c83f2 SHA512 9090ceed6208cffba1467d7de443727fe5a99886ce02c61021eed63bc79cd1a3c0c2289aa3e61298e0fffaccf0f3ce10465eb8c3c9d69251180d391e2c1ddc40 WHIRLPOOL f24438504a3fb2c925e72f1a9758e9dac6ed29bf310b3b04a56e05f131eea7369374a4aa9405c36333c53e7ea65c0284b9d20b4470499e47b0d57474c6ac6dd8 +MISC ChangeLog-2015 1841 SHA256 d3b47b8b77d4b59d2a356617de3b5753a8f4405f678a77c2693343e0bcd3e926 SHA512 d0845370d39f87d30c066c33373de67f1e891953bbff4dd335d49aaa70daf37dbfe0e1600b1764acfd27b8c17e4d073ff01b8114fb26f9b757ac33dd0debce91 WHIRLPOOL 855f0946886ab972f8d4e06f03e0507ab665e2b3aa91fa948e1f2dad1022ed291749885d2fc41bc4b32522d1ae55e1274e6f05df9355188c3a85bb2e2a5a4003 +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch b/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch new file mode 100644 index 000000000000..19afa355b229 --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch @@ -0,0 +1,44 @@ +diff -ur wmsystray-0.1.1/Makefile wmsystray-0.1.1.new/Makefile +--- wmsystray-0.1.1/Makefile 2004-03-01 05:35:47.000000000 +0100 ++++ wmsystray-0.1.1.new/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,13 +1,14 @@ + prefix=/usr + bindir = ${prefix}/bin + mandir = ${prefix}/share/man +-INSTALL = /bin/install ++INSTALL = install + INSTALLPROG = ${INSTALL} -m 0755 + INSTALLMAN = ${INSTALL} -m 0644 ++EXTRACFLAGS = + + all: +- make -C xembed xembed.o +- make -C wmsystray ++ make EXTRACFLAGS="${EXTRACFLAGS}" -C xembed xembed.o ++ make EXTRACFLAGS="${EXTRACFLAGS}" -C wmsystray + + clean: + make -C xembed clean +diff -ur wmsystray-0.1.1/wmsystray/Makefile wmsystray-0.1.1.new/wmsystray/Makefile +--- wmsystray-0.1.1/wmsystray/Makefile 2004-03-01 04:54:44.000000000 +0100 ++++ wmsystray-0.1.1.new/wmsystray/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,7 +1,7 @@ + include ../Rules.make + + CC = gcc +-CFLAGS = ${X11CFLAGS} -DTRACE_LEVEL=${TRACE_LEVEL} -I../xembed -Wall -g ++CFLAGS = ${X11CFLAGS} -DTRACE_LEVEL=${TRACE_LEVEL} -I../xembed -g ${EXTRACFLAGS} + LDFLAGS = ${X11LDFLAGS} -lXpm + + OBJS = main.o ui.o systray.o xpms.o +diff -ur wmsystray-0.1.1/xembed/Makefile wmsystray-0.1.1.new/xembed/Makefile +--- wmsystray-0.1.1/xembed/Makefile 2004-03-01 04:54:44.000000000 +0100 ++++ wmsystray-0.1.1.new/xembed/Makefile 2007-06-30 18:09:59.000000000 +0200 +@@ -1,6 +1,6 @@ + include ../Rules.make + +-CFLAGS = -DTRACE_LEVEL=${TRACE_LEVEL} ${X11CFLAGS} -Wall -g ++CFLAGS = -DTRACE_LEVEL=${TRACE_LEVEL} ${X11CFLAGS} -g ${EXTRACFLAGS} + LDFLAGS = ${X11LDFLAGS} + + all: xembed.o diff --git a/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch b/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch new file mode 100644 index 000000000000..538a7ce0aa6a --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch @@ -0,0 +1,10 @@ +--- wmsystray/ui.c.orig 2004-08-25 11:14:51.265675224 +0000 ++++ wmsystray/ui.c 2004-08-25 11:09:56.676459592 +0000 +@@ -28,6 +28,7 @@ + int width, height, pos_x, pos_y; + Pixmap bg_pixmap; + char *bg_data; ++void draw_ui_elements(); + + int wmaker = 1; + int loop_program = 1; diff --git a/x11-plugins/wmsystray/files/wmsystray.desktop b/x11-plugins/wmsystray/files/wmsystray.desktop new file mode 100644 index 000000000000..e3701e0603e8 --- /dev/null +++ b/x11-plugins/wmsystray/files/wmsystray.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=WmSysTray +Comment=SysTray dockapp for WindowMaker +Comment[pl]=Dokowalny SysTray dla WindowMakera +Exec=wmsystray +Type=Application +Terminal=false +Categories=Utility; diff --git a/x11-plugins/wmsystray/metadata.xml b/x11-plugins/wmsystray/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-plugins/wmsystray/metadata.xml @@ -0,0 +1,9 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + diff --git a/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild b/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild new file mode 100644 index 000000000000..bb4e1db54854 --- /dev/null +++ b/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="Window Maker dock app that provides a system tray for GNOME/KDE applications" +SRC_URI="http://kai.vm.bytemark.co.uk/~arashi/wmsystray/release/${P}.tar.bz2" +HOMEPAGE="http://kai.vm.bytemark.co.uk/~arashi/wmsystray/" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Let's honour Gentoo CFLAGS and use correct install program + epatch "${FILESDIR}/${P}-Makefile.patch" + + # Fix for #61704, cannot compile with gcc 3.4.1: + # it's a trivial change and does not affect other compilers... + epatch "${FILESDIR}/${P}-gcc-3.4.patch" + + # Fix parallel compilation + sed -ie "s/make EXTRACFLAGS/make \${MAKEOPTS} EXTRACFLAGS/" Makefile + + # Honour Gentoo LDFLAGS, see bug #336296 + sed -ie "s/-o wmsystray/${LDFLAGS} -o wmsystray/" wmsystray/Makefile +} + +src_compile() { + emake EXTRACFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" + dodoc AUTHORS HACKING README || die + + domenu "${FILESDIR}/${PN}.desktop" +} -- cgit v1.2.3