From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- x11-plugins/wmsound/Manifest | 1 + .../files/wmsound-ComplexProgramTargetNoMan.patch | 11 +++ x11-plugins/wmsound/files/wmsound-config.patch | 86 ++++++++++++++++++++++ x11-plugins/wmsound/metadata.xml | 5 ++ x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild | 50 +++++++++++++ x11-plugins/wmsound/wmsound-0.9.5.ebuild | 46 ++++++++++++ 6 files changed, 199 insertions(+) create mode 100644 x11-plugins/wmsound/Manifest create mode 100644 x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch create mode 100644 x11-plugins/wmsound/files/wmsound-config.patch create mode 100644 x11-plugins/wmsound/metadata.xml create mode 100644 x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild create mode 100644 x11-plugins/wmsound/wmsound-0.9.5.ebuild (limited to 'x11-plugins/wmsound') 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 " +- 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 @@ + + + +desktop-dock + 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 +} -- cgit v1.2.3-65-gdbad