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/wmsound
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/wmsound')
-rw-r--r--x11-plugins/wmsound/Manifest1
-rw-r--r--x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch11
-rw-r--r--x11-plugins/wmsound/files/wmsound-config.patch86
-rw-r--r--x11-plugins/wmsound/metadata.xml5
-rw-r--r--x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild50
-rw-r--r--x11-plugins/wmsound/wmsound-0.9.5.ebuild46
6 files changed, 199 insertions, 0 deletions
diff --git a/x11-plugins/wmsound/Manifest b/x11-plugins/wmsound/Manifest
new file mode 100644
index 000000000000..c79a5fad2d39
--- /dev/null
+++ b/x11-plugins/wmsound/Manifest
@@ -0,0 +1 @@
+DIST wmsound-0.9.5.tar.gz 23098 RMD160 70be0e11d17c8ca989c73073cf8bb2f8ff2a38f7 SHA1 435d60c99ade4539a94a15f58a6e5f122d746720 SHA256 9f479d7a00030e410f21ce9b489de5c7bf4daac64ff710924440ac1d112da1c2
diff --git a/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch
new file mode 100644
index 000000000000..c87ab10e3791
--- /dev/null
+++ b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch
@@ -0,0 +1,11 @@
+--- wmsound-0.9.4/src/Imakefile~ Tue Dec 4 09:22:23 2001
++++ wmsound-0.9.4/src/Imakefile Tue Dec 4 09:22:23 2001
+@@ -26,7 +26,7 @@
+ SRCS = wmsound.c
+ OBJS = wmsound.o
+
+-ComplexProgramTarget(wmsound)
++ComplexProgramTargetNoMan(wmsound)
+
+ XCOMM MakeSubdirs($(SUBDIRS))
+ XCOMM DependSubdirs($(SUBDIRS))
diff --git a/x11-plugins/wmsound/files/wmsound-config.patch b/x11-plugins/wmsound/files/wmsound-config.patch
new file mode 100644
index 000000000000..5ab17c13693f
--- /dev/null
+++ b/x11-plugins/wmsound/files/wmsound-config.patch
@@ -0,0 +1,86 @@
+--- wmsound-0.9.5/Install.orig Sun May 2 13:02:43 1999
++++ wmsound-0.9.5/Install Wed Sep 4 12:59:56 2002
+@@ -7,62 +7,15 @@
+ DEVICE="/dev/dsp"
+
+ echo
+-echo "----------------------------"
+-echo " WMSound-$VERSION Installation "
+-echo "----------------------------"
++echo "-----------------------------"
++echo " WMSound-$VERSION Configuration "
++echo "-----------------------------"
+
+-WHOAMI=`whoami`
+-if test $WHOAMI != "root"
+-then
+- echo "It is advised to run this script as the root user"
+- echo "Your current user is $WHOAMI, if you want to continue press <Enter>"
+- read CONTINUE
+- if test $CONTINUE
+- then
+- echo "Installation aborted."
+- else
+- echo "Proceeding with installation ..."
+- fi
+-fi
+-
+-done=0
+-while test $done = 0
+-do
+- echo "Specify your default audio device [$DEVICE]"
+- echo -n ": "
+- read AUDIODEV
+- if !(test $AUDIODEV)
+- then
+- AUDIODEV=$DEVICE
+- fi
+- if test -e $AUDIODEV
+- then
+- echo "Using audio-device : $AUDIODEV"
+- DEVICE=$AUDIODEV
+- done=1
+- else
+- echo "$AUDIODEV does not exist ..."
+- fi
+-
+-done
+-echo "----------------------"
+-echo " Generating Makefiles "
+-echo "----------------------"
+-xmkmf -a
+-
+-echo "------------------------"
+-echo " Building WMSound-$VERSION"
+-echo "------------------------"
+-make install
+-
+-echo "-----------------------------------"
+-echo " Generating Default WMSound Domain "
+-echo "-----------------------------------"
+ (echo "{";\
+ echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\
+-echo " \"/usr/local/share/WindowMaker/Sounds\");";\
++echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\
+ echo " SoundSetPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\
+-echo " \"/usr/local/share/WindowMaker/SoundSets\");";\
++echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\
+ echo " Device = $DEVICE;";\
+ echo " AppExit = appexit.wav;";\
+ echo " AppStart = appstart.wav;";\
+@@ -73,13 +26,8 @@
+ echo " Shade = shade.wav;";\
+ echo " Startup = startup.wav;";\
+ echo " UnHide = unhide.wav;";\
+-echo " DeIconify = uniconify.wav;";\
++echo " DeIconify = deiconify.wav;";\
+ echo " UnShade = unshade.wav;";\
+ echo " UserDefined = replaceme.wav;";\
+-echo "}";) > WMSound
++echo "}";) > config/WMSound
+
+-echo "Make sure you copy the generated WMSound config to your Window Maker Global"
+-echo "Defaults path ... (probably /usr/local/etc/WindowMaker)"
+-echo
+-echo "Installation completed."
+-
diff --git a/x11-plugins/wmsound/metadata.xml b/x11-plugins/wmsound/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmsound/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/wmsound/wmsound-0.9.5-r1.ebuild b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..7fe3aa2cbd23
--- /dev/null
+++ b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An sound server for the WindowMaker desktop"
+HOMEPAGE="http://windowmaker.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-sound/wmsound-data
+ x11-libs/libproplist
+ x11-wm/windowmaker"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-config.patch \
+ "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
+
+ # Fix building with -Wl,--as-needed
+ sed -i \
+ -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \
+ src/Imakefile || die
+ sed -i \
+ -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \
+ utils/Imakefile || die
+}
+
+src_compile() {
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install
+ dodoc AUTHORS BUGS ChangeLog
+
+ # Remove libwmsnd.a and wmsnd.h because they are unused, see:
+ # http://qa-reports.gentoo.org/output/genrdeps/dindex/media-sound/wmsound
+ rm -rf "${ED}"/usr/{include,lib*}
+}
diff --git a/x11-plugins/wmsound/wmsound-0.9.5.ebuild b/x11-plugins/wmsound/wmsound-0.9.5.ebuild
new file mode 100644
index 000000000000..7910a45ff6da
--- /dev/null
+++ b/x11-plugins/wmsound/wmsound-0.9.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="WindowMaker sound server"
+HOMEPAGE="http://largo.windowmaker.org/"
+SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
+
+RDEPEND="media-sound/wmsound-data
+ x11-libs/libproplist
+ x11-wm/windowmaker"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-config.patch \
+ "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
+
+ # Fix building with -Wl,--as-needed
+ sed -i \
+ -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \
+ src/Imakefile || die
+ sed -i \
+ -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \
+ utils/Imakefile || die
+}
+
+src_compile() {
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" USRLIBDIR="${D}/usr/$(get_libdir)" install
+ dodoc AUTHORS BUGS ChangeLog
+}