summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmsystray
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmsystray')
-rw-r--r--x11-plugins/wmsystray/Manifest1
-rw-r--r--x11-plugins/wmsystray/files/wmsystray-0.1.1-Makefile.patch44
-rw-r--r--x11-plugins/wmsystray/files/wmsystray-0.1.1-gcc-3.4.patch10
-rw-r--r--x11-plugins/wmsystray/files/wmsystray.desktop8
-rw-r--r--x11-plugins/wmsystray/metadata.xml5
-rw-r--r--x11-plugins/wmsystray/wmsystray-0.1.1.ebuild47
6 files changed, 115 insertions, 0 deletions
diff --git a/x11-plugins/wmsystray/Manifest b/x11-plugins/wmsystray/Manifest
new file mode 100644
index 000000000000..6d84fba97f94
--- /dev/null
+++ b/x11-plugins/wmsystray/Manifest
@@ -0,0 +1 @@
+DIST wmsystray-0.1.1.tar.bz2 18261 SHA256 d24a9cb25f4394eecb6e9215b88dde0d9debf203fbf1e501fb02e3e0571c37f7
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..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmsystray/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+</pkgmetadata>
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..ff41274fd2f5
--- /dev/null
+++ b/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+}