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/wmcdplay
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/wmcdplay')
-rw-r--r--x11-plugins/wmcdplay/Manifest2
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch8
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-c++.patch11
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch10
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay.desktop8
-rw-r--r--x11-plugins/wmcdplay/metadata.xml5
-rw-r--r--x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild50
-rw-r--r--x11-plugins/wmcdplay/wmcdplay-1.1.ebuild35
8 files changed, 129 insertions, 0 deletions
diff --git a/x11-plugins/wmcdplay/Manifest b/x11-plugins/wmcdplay/Manifest
new file mode 100644
index 000000000000..940992bec48b
--- /dev/null
+++ b/x11-plugins/wmcdplay/Manifest
@@ -0,0 +1,2 @@
+DIST wmcdplay-1.0-beta1.tgz 31919 SHA256 20f0421b0e7ad6eb413b839ca940dd6e3409a37194f27e5534511f5a6b09039a
+DIST wmcdplay-1.1.tar.gz 32079 SHA256 5d1cfdcf96a1877d4120109c25b7a9068fb76703e418f73f4cc3696920e51833 SHA512 bf655b7e4ce986b3085410b2a8f3646db0376478f37bec0828fc6f8ed60627037e331ed122f1ebbcb010b7d9b7659a7bc6e636c66f47ec654091daac3a463e14 WHIRLPOOL ddaa2177ef6c6aa5cd6dcd985eba7069ef63ef5d9fe9ee332022e2c1433ce946c9329e188585cd8270c6196469332835146e89a34627e0dff78b63e26b482e07
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch
new file mode 100644
index 000000000000..78aaf3022d19
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch
@@ -0,0 +1,8 @@
+--- ./Imakefile.org Wed Nov 28 01:18:02 2001
++++ ./Imakefile Wed Nov 28 01:19:28 2001
+@@ -7,4 +7,4 @@
+ SRCS = wmcdplay.cc
+ OBJS = wmcdplay.o
+
+-ComplexProgramTarget(wmcdplay)
++ComplexProgramTargetNoMan(wmcdplay)
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-c++.patch b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch
new file mode 100644
index 000000000000..a0461c380b4e
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch
@@ -0,0 +1,11 @@
+diff -uNr wmcdplay.old/Imakefile wmcdplay/Imakefile
+--- wmcdplay.old/Imakefile Sat Sep 5 10:11:26 1998
++++ wmcdplay/Imakefile Mon Nov 16 18:27:37 1998
+@@ -1,5 +1,7 @@
+ DEPLIBS = $(DEPXLIB)
+
++CC = c++
++
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+
+ SRCS = wmcdplay.cc
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch
new file mode 100644
index 000000000000..084a4597d19a
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch
@@ -0,0 +1,10 @@
+--- wmcdplay.cc
++++ wmcdplay.cc
+@@ -20,6 +20,6 @@
+ #define CLASS "WMCDPlay"
+
+ // User defines - custom
+-#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/"
++#define SYSARTDIR "/usr/share/WMcdplay/"
+ #define CDDEV "/dev/cdrom"
+ #define BACKCOLOR "#282828"
diff --git a/x11-plugins/wmcdplay/files/wmcdplay.desktop b/x11-plugins/wmcdplay/files/wmcdplay.desktop
new file mode 100644
index 000000000000..c289ac8dd16c
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WmCDPlay
+Comment=Dockable CD player applet
+Comment[pl]=Dokowalny aplet CD playera
+Exec=wmcdplay
+Type=Application
+Terminal=false
+Categories=AudioVideo;Audio;
diff --git a/x11-plugins/wmcdplay/metadata.xml b/x11-plugins/wmcdplay/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmcdplay/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/wmcdplay/wmcdplay-1.0_beta1.ebuild b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild
new file mode 100644
index 000000000000..9ae58702102f
--- /dev/null
+++ b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+IUSE=""
+
+MY_P=${P/_beta/-beta}
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="CD player applet for WindowMaker"
+SRC_URI="mirror://gentoo/${MY_P}.tgz"
+HOMEPAGE="http://www.gentoo.org/"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto
+ x11-misc/imake"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-xpmdir.patch
+ epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
+ epatch "${FILESDIR}"/${PN}-c++.patch
+}
+
+src_compile() {
+ xmkmf || die "xmkmf failed."
+ emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "emake failed."
+}
+
+src_install() {
+ einstall DESTDIR="${D}" BINDIR="/usr/bin" || die "emake install failed."
+
+ insinto /usr/share/WMcdplay
+ doins XPM/*.art
+
+ dodoc ARTWORK README
+
+ domenu "${FILESDIR}"/${PN}.desktop
+}
diff --git a/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild b/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild
new file mode 100644
index 000000000000..d55792c7101b
--- /dev/null
+++ b/x11-plugins/wmcdplay/wmcdplay-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools
+
+DESCRIPTION="CD player applet for WindowMaker"
+HOMEPAGE="http://windowmaker.org/dockapps/?name=wmcdplay"
+# Grab from http://windowmaker.org/dockapps/?download=${P}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S=${WORKDIR}/dockapps
+
+src_prepare() {
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc ARTWORK README
+ domenu "${FILESDIR}"/${PN}.desktop
+}