diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /x11-plugins/wmcp | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
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 | 9 | ||||
| -rw-r--r-- | x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild | 43 |
5 files changed, 138 insertions, 0 deletions
diff --git a/x11-plugins/wmcp/Manifest b/x11-plugins/wmcp/Manifest new file mode 100644 index 000000000000..6318c263ec66 --- /dev/null +++ b/x11-plugins/wmcp/Manifest @@ -0,0 +1 @@ +DIST wmcp-1.2.8.tar.gz 8673 BLAKE2B 28cad145f6c41829a740cbcef043fe54d940019ea42cbc6aebbc6b8022cf15c642f1c1dbbc0e34721442d4c3974224b498e436b5eae4ea30c766b2512f58939d SHA512 ac8db45800573810389d8103b5086966bd6bd5b03620338e736e05633fca570639d94e1ceaf24f882619f7de048c70e5ba9996849e0062407e32a74d971a3b01 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..0cd5b9db476b --- /dev/null +++ b/x11-plugins/wmcp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +</pkgmetadata> diff --git a/x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild b/x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild new file mode 100644 index 000000000000..98503037b8d8 --- /dev/null +++ b/x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A pager dockapp" +HOMEPAGE="https://www.dockapps.net/wmcp" +SRC_URI="https://www.dockapps.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~mips ppc ~sparc x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${P}-gcc33.patch + "${FILESDIR}"/${P}-stdlibh.patch + ) +src_prepare() { + default + sed -i \ + -e "s:gcc -g -c:$(tc-getCC) -c:" \ + -e "s:gcc -g -o:$(tc-getCC) ${LDFLAGS} -o:" \ + Makefile || die +} + +src_compile() { + emake INCLUDES="-I/usr/include/X11" \ + LIBINC="-L/usr/$(get_libdir)" \ + FLAGS="${CFLAGS}" +} + +src_install() { + dobin wmcp + dodoc README +} |
