diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmcp | |
download | gentoo-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/wmcp')
-rw-r--r-- | x11-plugins/wmcp/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch | 74 | ||||
-rw-r--r-- | x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmcp/metadata.xml | 5 | ||||
-rw-r--r-- | x11-plugins/wmcp/wmcp-1.2.8.ebuild | 42 |
5 files changed, 133 insertions, 0 deletions
diff --git a/x11-plugins/wmcp/Manifest b/x11-plugins/wmcp/Manifest new file mode 100644 index 000000000000..263884fca079 --- /dev/null +++ b/x11-plugins/wmcp/Manifest @@ -0,0 +1 @@ +DIST wmcp-1.2.8.tar.gz 8673 RMD160 bb3f2fce429cb2c27d66c4eb67400d987bb993b5 SHA1 b2a249b63fec6a2e0931f01413f8e6e0fb6631e0 SHA256 2ecaee806442057d515c760ac58353c4b4cec41252a22e223a5b079776d55d31 diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch new file mode 100644 index 000000000000..018d28217971 --- /dev/null +++ b/x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch @@ -0,0 +1,74 @@ +diff -urN wmcp-1.2.8/wmcp.c wmcp-1.2.8-new/wmcp.c +--- wmcp-1.2.8/wmcp.c 1999-05-26 23:38:49.000000000 -0700 ++++ wmcp-1.2.8-new/wmcp.c 2003-09-24 15:22:25.000000000 -0700 +@@ -806,38 +806,38 @@ + void show_usage() + { + +-fprintf(stderr," +- +-%s +-This software is GPL -- do as you wish with it. +- +-Origional Author: +- Ben Cohen <buddog@aztec.asu.edu> +- +-Contributors: +- Thomas Nemeth <tnemeth@multimania.com> +- Craig Maloney <craig@ic.net> +- Gert Beumer <Gert@scintilla.utwente.nl> +- +- +- +-usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v] +- [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h] +- +- +--g geometry: ie: 64x64+10+10 +--d dpy: Display. ie: 127.0.0.1:0.0 +--n workspaces: How many buttons to start with. +--a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask). +--w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn) +--s y/n: Shaped window: yes or no (default y) +--c Sends CTRL + ALT + Key (default only sends ALT + key) +--v Verbose. 0=off, 1=on (default 0) +--x Number of buttons on the x-direction (1,2,3, or 4) +--y Number of buttons in the y-direction (1,2,3, or 4) +--h Help. This screen. +- +- ++fprintf(stderr," \ ++\ ++%s\ ++This software is GPL -- do as you wish with it.\ ++\ ++Origional Author:\ ++ Ben Cohen <buddog@aztec.asu.edu>\ ++\ ++Contributors:\ ++ Thomas Nemeth <tnemeth@multimania.com>\ ++ Craig Maloney <craig@ic.net>\ ++ Gert Beumer <Gert@scintilla.utwente.nl>\ ++\ ++\ ++\ ++usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]\ ++ [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]\ ++\ ++\ ++-g geometry: ie: 64x64+10+10\ ++-d dpy: Display. ie: 127.0.0.1:0.0\ ++-n workspaces: How many buttons to start with.\ ++-a alt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).\ ++-w i/n/w: Window State: Iconic, Normal, Withdrawn (default Withdrawn)\ ++-s y/n: Shaped window: yes or no (default y)\ ++-c Sends CTRL + ALT + Key (default only sends ALT + key)\ ++-v Verbose. 0=off, 1=on (default 0)\ ++-x Number of buttons on the x-direction (1,2,3, or 4)\ ++-y Number of buttons in the y-direction (1,2,3, or 4)\ ++-h Help. This screen.\ ++\ ++\ + ",VERSION); + + exit(-1); diff --git a/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch new file mode 100644 index 000000000000..70d1c7c4e225 --- /dev/null +++ b/x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch @@ -0,0 +1,11 @@ +diff -ur wmcp-1.2.8.orig/wmcp.c wmcp-1.2.8/wmcp.c +--- wmcp-1.2.8.orig/wmcp.c 1999-05-27 09:38:49.000000000 +0300 ++++ wmcp-1.2.8/wmcp.c 2008-01-06 16:16:17.000000000 +0200 +@@ -25,6 +25,7 @@ + #include <xpm.h> + #include <extensions/shape.h> + #include <keysym.h> ++#include <stdlib.h> + #include <stdio.h> + #include <math.h> + diff --git a/x11-plugins/wmcp/metadata.xml b/x11-plugins/wmcp/metadata.xml new file mode 100644 index 000000000000..b1a9efc4f2f0 --- /dev/null +++ b/x11-plugins/wmcp/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/wmcp/wmcp-1.2.8.ebuild b/x11-plugins/wmcp/wmcp-1.2.8.ebuild new file mode 100644 index 000000000000..2acf5efb6da5 --- /dev/null +++ b/x11-plugins/wmcp/wmcp-1.2.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="A pager dockapp" +HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/158" +SRC_URI="http://dockapps.windowmaker.org/download.php/id/213/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc33.patch + epatch "${FILESDIR}"/${P}-stdlibh.patch + sed -i -e "s:gcc:$(tc-getCC):g" Makefile + sed -i -e "s:i686-pc-linux-gnu-gcc -g:i686-pc-linux-gnu-gcc:g" Makefile + sed -i -e "s:i686-pc-linux-gnu-gcc -o:i686-pc-linux-gnu-gcc ${LDFLAGS} -o:" Makefile +} + +src_compile() { + emake -j1 INCLUDES="-I/usr/include/X11" \ + LIBINC="-L/usr/$(get_libdir)" \ + FLAGS="${CFLAGS}" || die "emake failed." +} + +src_install() { + dobin wmcp + dodoc README +} |