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/wmbutton
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/wmbutton')
-rw-r--r--x11-plugins/wmbutton/Manifest3
-rw-r--r--x11-plugins/wmbutton/files/sample.wmbutton43
-rw-r--r--x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch27
-rw-r--r--x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch26
-rw-r--r--x11-plugins/wmbutton/metadata.xml5
-rw-r--r--x11-plugins/wmbutton/wmbutton-0.6.1.ebuild41
-rw-r--r--x11-plugins/wmbutton/wmbutton-0.7.0.ebuild42
7 files changed, 187 insertions, 0 deletions
diff --git a/x11-plugins/wmbutton/Manifest b/x11-plugins/wmbutton/Manifest
new file mode 100644
index 000000000000..0cc3e02d88d4
--- /dev/null
+++ b/x11-plugins/wmbutton/Manifest
@@ -0,0 +1,3 @@
+DIST wmbutton-0.6.1.tar.gz 48404 SHA256 423c99bff4657b968cd14913097e8ac821a6b238b150fb4eacb36d661739a09f
+DIST wmbutton-0.7.0.tar.gz 48381 SHA256 dd6d7a4188b9acd22538d04de2ce0a5e3822e91488a1521df4ff9d09a922f950 SHA512 dc631caca0b1ed6daf8781a0893464b91d788b3d0f81dc22a33d13715cda7becbb145d2d3d34ab93a9a343ed178171c376f81e2eb25e9436d1da8ee2d6455ce2 WHIRLPOOL 0b16fab3064ce98d1c6fda5e4856ec9b3b63b7733bc39ee4ab2a96faa7829e77f5e2a45b60124e4f1c91bfa1004c2b6cf3a8e38d8142daff11e34013a2576570
+DIST wmbutton-buttons.xpm 25003 SHA256 357de6947c75339ed8156bd09287f82ef46dad22d16b1c82f7bbce12fd287318 SHA512 eb73812b8a4060a6bb13a477275224a2e6d50f7b77944f2f674c4995e0053f3d3c667d483c86dda98b69f398fd332e4c836ddf9eb3410e1e29b69449b874537c WHIRLPOOL ddc743a8d689ae46a44515e39531acc63a39534cbbf96184e6fa7e243dd1cee253ca10da65aec03391e6b6a92ddad72826bb1be56c6a301a786e90beddc4ba5f
diff --git a/x11-plugins/wmbutton/files/sample.wmbutton b/x11-plugins/wmbutton/files/sample.wmbutton
new file mode 100644
index 000000000000..a4177a24e081
--- /dev/null
+++ b/x11-plugins/wmbutton/files/sample.wmbutton
@@ -0,0 +1,43 @@
+# Buttons are numbered as follows
+# Left 1 2 3 Middle 11 12 13 Right 21 22 23
+# button 4 5 6 button 14 15 16 button 24 25 26
+# 7 8 9 17 18 19 27 28 29
+#
+
+1 mozilla &
+11 firefox &
+21 opera &
+
+2 evolution &
+12 mozilla -mail &
+22 gftp &
+
+3 xterm -T 'xterm' &
+13 Eterm -T 'Eterm' &
+23 aterm -T 'Aterm' &
+
+4 psi &
+14 gaim &
+24 kadu &
+
+5 gentoo &
+15 xterm -T 'Midnight Commander' -e mc &
+25 xffm &
+
+6 ooffice &
+16 gnumeric &
+26 acroread &
+
+7 xmms &
+17 gmplayer &
+27 audacity &
+
+8 gimp-2.0 &
+18 sodipodi &
+28 kpaint &
+
+9 kghostview &
+19 ggv &
+29 xpdf &
+# The above don't need to be in any particular order.
+# Repeated entries should be ignored
diff --git a/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch
new file mode 100644
index 000000000000..7654c8cd40e7
--- /dev/null
+++ b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch
@@ -0,0 +1,27 @@
+diff -ur wmbutton-0.6.1.orig/Makefile wmbutton-0.6.1/Makefile
+--- wmbutton-0.6.1.orig/Makefile 2005-01-16 17:12:54.000000000 +0200
++++ wmbutton-0.6.1/Makefile 2008-01-13 08:15:02.000000000 +0200
+@@ -1,19 +1,17 @@
+-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
+-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
++INCLUDES =-I/usr/include/X11
+ LIBS = -lX11 -lXpm -lXext
++CC = gcc
+
+ TARGET = wmbutton
+ OBJECTS = wmbutton.o wmb_libs.o
+
+-CFLAGS += -c -Wall -O2
+-
+ all: ${TARGET} tags
+
+ .c.o:
+- gcc ${CFLAGS} ${INCLUDES} $< -o $*.o
++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o
+
+ ${TARGET}: ${OBJECTS}
+- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET}
+
+ clean::
+ for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
diff --git a/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch
new file mode 100644
index 000000000000..f9197842b44a
--- /dev/null
+++ b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch
@@ -0,0 +1,26 @@
+--- Makefile.orig 2014-10-06 15:20:41.300883734 +0200
++++ Makefile 2014-10-06 15:22:08.936939085 +0200
+@@ -1,6 +1,6 @@
+ INCLUDES =-I/usr/include -I/usr/local/include
+-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
+ LIBS = -lX11 -lXpm -lXext
++CC = gcc
+
+ TARGET = wmbutton
+ OBJECTS = wmbutton.o wmb_libs.o
+@@ -14,13 +14,11 @@
+ INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
+ INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
+
+-CFLAGS += -Wall -O2
+-
+ .c.o:
+- gcc -c ${CFLAGS} ${INCLUDES} $< -o $*.o
++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o
+
+ ${TARGET}: ${OBJECTS}
+- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET}
+
+ clean::
+ for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done
diff --git a/x11-plugins/wmbutton/metadata.xml b/x11-plugins/wmbutton/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmbutton/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/wmbutton/wmbutton-0.6.1.ebuild b/x11-plugins/wmbutton/wmbutton-0.6.1.ebuild
new file mode 100644
index 000000000000..762fb15ebc4a
--- /dev/null
+++ b/x11-plugins/wmbutton/wmbutton-0.6.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a dockapp application that displays nine configurable buttons"
+HOMEPAGE="http://www.freshports.org/x11/wmbutton"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${P}.tar.gz
+ branding? ( mirror://gentoo/${PN}-buttons.xpm )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE="branding"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto
+ dev-util/ctags"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ use branding && cp "${DISTDIR}"/${PN}-buttons.xpm buttons.xpm
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed."
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README
+ use branding && dodoc "${FILESDIR}"/sample.wmbutton
+ use branding || newdoc .wmbutton sample.wmbutton
+}
diff --git a/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild
new file mode 100644
index 000000000000..0fbdd900eac3
--- /dev/null
+++ b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a dockapp application that displays nine configurable buttons"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmbutton"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz
+ branding? ( mirror://gentoo/${PN}-buttons.xpm )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="branding"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto
+ x11-proto/xproto"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ use branding && cp "${DISTDIR}"/${PN}-buttons.xpm buttons.xpm
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README
+ use branding && dodoc "${FILESDIR}"/sample.wmbutton
+ use branding || dodoc sample.wmbutton
+}