summaryrefslogtreecommitdiff
path: root/x11-plugins/wmcp
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /x11-plugins/wmcp
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'x11-plugins/wmcp')
-rw-r--r--x11-plugins/wmcp/Manifest1
-rw-r--r--x11-plugins/wmcp/files/wmcp-1.2.8-gcc33.patch74
-rw-r--r--x11-plugins/wmcp/files/wmcp-1.2.8-stdlibh.patch11
-rw-r--r--x11-plugins/wmcp/metadata.xml9
-rw-r--r--x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild43
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..e7778ddc74c3
--- /dev/null
+++ b/x11-plugins/wmcp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</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
+}