Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

OSS-4.2.2007 version bump!

  • Loading branch information...
commit 69a927a77b0ed771e5547241201c7e036fd0900e 1 parent 65cec05
@o01eg o01eg authored
View
16 media-sound/oss/Manifest
@@ -1,11 +1,5 @@
-AUX oss 313 RMD160 d46f9dc08359fa6116f1b3694977127a4803f1f6 SHA1 6b8962ec12896f48563ea1a898b30e0a52d64077 SHA256 1b5379348f5a84f35f875cb6e0bba317064796bf770a9250e85f36d16fc91d86
-AUX usb.patch 2714 RMD160 37d2de187442bf4a82a5605b17dde56346b0d665 SHA1 c82aead7b596839b849674702e1727f76ec9e161 SHA256 82f048e896bae3dd89e953110292fd15ceed7ffd146909b68608806acfc54dcb
-DIST oss-v4.2-build2003-src-gpl.tar.bz2 1743674 RMD160 17f874f7ac6bb05619d31ce7b8cac741bf25077f SHA1 3e94c5c36b6955ad1224a65376b4a373f3a807ab SHA256 548587b831f18e636194e57ce5b2d5d08abc75a2b025c818628e99e9fe5bd1b5
-DIST oss-v4.2-build2004-src-gpl.tar.bz2 1790085 RMD160 7b62cb96bf363d1c0a4018e21b0737ec5ee3c5b5 SHA1 75c3ff1cf3e3bd5b351b1f778100387f998c7f3a SHA256 6a4ac364c6ed022467b23a9db137857afa9f8e9706a4bdbcb85b98efcde3f4a0
-DIST oss-v4.2-build2005-src-gpl.tar.bz2 1790056 RMD160 d70d85b407f66c8e884996d9bbefc5a4e3f84f06 SHA1 7924d8893f3af94c5c73c651ae0a6d5073a94bae SHA256 41c493eda1c1b93787085f36f8e68630af6112523216f3664ca1da8b7ece9bca
-DIST oss-v4.2-build2006-src-gpl.tar.bz2 1767324 RMD160 7b3517e14c589b8b7805919af0773521ee3caa25 SHA1 2fe8b432d8621fcbde74a6e25038d586881188ef SHA256 1d034bd0ab967d1d4e848b79171a36cf75656f87c542ea96ce4629ca69995391
-EBUILD oss-4.2.2003-r1.ebuild 1813 RMD160 e46f95d9e016cc5f43a01617ddc4e87176521a6b SHA1 e9792f74b55173d4826620ab555e8248a4cef8d8 SHA256 ba3b1ea184ac873f15ed6d07fa927882203f05bd424eeb5c8cc1f6a852309656
-EBUILD oss-4.2.2004.ebuild 1868 RMD160 28218f2b797cee871e2a229adca33cb73f841aff SHA1 3814d075ea08f997a5a6a87786fafecf2d79518a SHA256 313807a1a63e14ba0cfe2c8db7d82e096fe10215c0d38b6baac457a9f1dd9ea4
-EBUILD oss-4.2.2005.ebuild 1901 RMD160 58f998b753b047d8c568f0ff6da28b7b7d135707 SHA1 a630a436ad90c884e1db496e0cbfab10e52c6641 SHA256 95ef7cb567a5101f101a9da4b239f1ae9b24fe675fbf8a1321cd535d989af15a
-EBUILD oss-4.2.2006.ebuild 1901 RMD160 58f998b753b047d8c568f0ff6da28b7b7d135707 SHA1 a630a436ad90c884e1db496e0cbfab10e52c6641 SHA256 95ef7cb567a5101f101a9da4b239f1ae9b24fe675fbf8a1321cd535d989af15a
-EBUILD oss-9999.ebuild 1568 RMD160 429f5b4207dcad2f5f299268ae9539d8d1f8d938 SHA1 a174e9fa676fe77d238ac7009f601afc14024c17 SHA256 6f9e71bf9d0bb53b254a4e56021deb1fa56704e7064f937a714fd181c27c70c6
+DIST oss-v4.2-build2003-src-gpl.tar.bz2 1743674 SHA256 548587b831f18e636194e57ce5b2d5d08abc75a2b025c818628e99e9fe5bd1b5
+DIST oss-v4.2-build2004-src-gpl.tar.bz2 1790085 SHA256 6a4ac364c6ed022467b23a9db137857afa9f8e9706a4bdbcb85b98efcde3f4a0
+DIST oss-v4.2-build2005-src-gpl.tar.bz2 1790056 SHA256 41c493eda1c1b93787085f36f8e68630af6112523216f3664ca1da8b7ece9bca SHA512 ae34f83ddc90fba1676b53aac3896cac33fb741a42a1957b8923ea832129bd54b0c18e60aed8895b43e8b557b98659560c04ae26c7e565d55462ea7b0d09160c WHIRLPOOL 4a3394bbc726ff1d7129208763d76534818463c8d56836754d97f4f210241f2460289fd3f058f9a2582274d5ff484b19e5ff23c5e6c3f2271bffbde9d41c8372
+DIST oss-v4.2-build2006-src-gpl.tar.bz2 1767324 SHA256 1d034bd0ab967d1d4e848b79171a36cf75656f87c542ea96ce4629ca69995391 SHA512 d1834055e446496bd215a520a18af8a86f0109eab19e3fa2a6a67a8cb0958d9ec7fe343a2515bfc84e9a697308fb93dc8d50bdd0dbe73f2aa9717ec0e3d6e4a6 WHIRLPOOL a5253d26bf72b104f01750a6115656ba237b1dafbe2ab096b66eb9837008af97b728c1df034ecda132b04d73b4e3707b542eb7d2a95474215da04b27d4cd3336
+DIST oss-v4.2-build2007-src-gpl.tar.bz2 1772570 SHA256 6dafbf314fb11cd056f266b934f4f5aaa32504af6f07401b15e0f2391cf7119e SHA512 b74fb9acac157e7f28fbbf760be425269a5bbc30aaa2d1e18b714dabce084d4356dcc58051b0fa590f2d940d7858c6d4abe23f4e4457809f9fc9fac3f2001670 WHIRLPOOL 154dfae419eeb58704b2711f72087fc4dc45f6708852387e20a91a1698536c40f80d5fa599fd85790fcb899ccb04659f3ccd6c1b95fae310f1a19f17e9a4e0e8
View
16 media-sound/oss/files/usb.patch
@@ -31,21 +31,21 @@ diff -r 1af7e985cef6 kernel/drv/oss_usb/ossusb_audio.c
}
#if 0
-@@ -962,13 +964,11 @@
+@@ -962,13 +964,9 @@
adev_p adev = audio_engines[dev];
dmap_p dmap = adev->dmap_out;
-- MUTEX_ENTER_IRQDISABLE (devc->mutex, flags);
-
- if (portc->stopping)
++ if (portc->stopping)
++ return 0;
++
+ MUTEX_ENTER_IRQDISABLE (devc->mutex, flags);
+-
+- if (portc->stopping)
- {
- MUTEX_EXIT_IRQRESTORE (devc->mutex, flags);
- return 0;
- }
-+ return 0;
-+
-+ MUTEX_ENTER_IRQDISABLE (devc->mutex, flags);
-
+-
pn = portc->curr_datapipe;
portc->curr_datapipe = (portc->curr_datapipe + 1) % NR_DATAPIPES;
@@ -994,8 +994,7 @@
View
4 media-sound/oss/oss-4.2.2006.ebuild
@@ -38,13 +38,13 @@ src_prepare() {
sed -i -e 's/-Werror//' phpmake/Makefile.php setup/Linux/oss/build/install.sh setup/srcconf_linux.inc
- epatch "${FILESDIR}/usb.patch"
+ #epatch "${FILESDIR}/usb.patch"
}
src_configure() {
local myconf="$(use salsa && echo || echo --enable-libsalsa=NO) \
--config-midi=$(use midi && echo YES || echo NO)"
-
+
cd "${WORKDIR}/build"
# Configure has to be run from build dir with full path.
View
75 media-sound/oss/oss-4.2.2007.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+EAPI=2
+
+inherit eutils versionator
+
+MY_PV=$(get_version_component_range 1-2)
+MY_BUILD=$(get_version_component_range 3)
+MY_P="oss-v${MY_PV}-build${MY_BUILD}-src-gpl"
+
+DESCRIPTION="Open Sound System - portable, mixing-capable, high quality sound system for Unix."
+HOMEPAGE="http://developer.opensound.com/"
+SRC_URI="http://www.4front-tech.com/developer/sources/stable/gpl/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gtk salsa midi"
+
+RESTRICT="mirror"
+
+DEPEND="sys-apps/gawk
+ gtk? ( >=x11-libs/gtk+-2 )
+ >=sys-kernel/linux-headers-2.6.11
+ !media-sound/oss-devel"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ mkdir "${WORKDIR}/build"
+
+ einfo "Replacing init script with gentoo friendly one ..."
+ cp "${FILESDIR}/oss" "${S}/setup/Linux/oss/etc/S89oss"
+
+ sed -i -e 's/-Werror//' phpmake/Makefile.php setup/Linux/oss/build/install.sh setup/srcconf_linux.inc
+
+ #epatch "${FILESDIR}/usb.patch"
+}
+
+src_configure() {
+ local myconf="$(use salsa && echo || echo --enable-libsalsa=NO) \
+ --config-midi=$(use midi && echo YES || echo NO)"
+
+ cd "${WORKDIR}/build"
+
+ # Configure has to be run from build dir with full path.
+ "${S}"/configure \
+ ${myconf} || die "configure failed"
+}
+
+src_compile() {
+ cd "${WORKDIR}/build"
+
+ emake build || die 'emake failed'
+}
+
+src_install() {
+ newinitd "${FILESDIR}/oss" oss
+ cp -R "${WORKDIR}"/build/prototype/* "${D}"
+
+ echo 'CONFIG_PROTECT="$CONFIG_PROTECT /usr/lib/oss/conf/"' > 99oss
+ doenvd 99oss || die "doenvd failed"
+}
+
+pkg_postinst() {
+ ewarn "In order to use OSSv4 you must run"
+ ewarn "# /etc/init.d/oss start "
+ ewarn "If you are upgrading from a previous build of OSSv4 you must run"
+ ewarn "# /etc/init.d/oss restart "
+ ewarn 'and may need to remove /lib/modules/$KERNEL_VERSION/kernel/oss/'
+}
Please sign in to comment.
Something went wrong with that request. Please try again.