Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37841785
en ru br
ALT Linux repos
S:1.1.8-alt2
5.0: 1.0.17-alt2
4.1: 1.0.15-alt1
4.0: 1.0.14-alt1
3.0: 1.0.9-alt2

Other repositories
Upstream:1.0.15

Group :: System/Libraries
RPM: alsa-oss

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alsa-oss-1.1.8-alt2.patch
Download


 .gear/rules                                        |   2 +
 .../tags/cabfbebabe96873e7fb5d1d8b3ed19509b3a256f  |   8 +
 .gear/tags/list                                    |   1 +
 alsa-oss.spec                                      | 205 +++++++++++++++++++++
 alsa/aoss.in                                       |   4 +-
 oss                                                |   9 +
 6 files changed, 226 insertions(+), 3 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..4b0460c
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: v@version@:.
+diff: v@version@:. .
diff --git a/.gear/tags/cabfbebabe96873e7fb5d1d8b3ed19509b3a256f b/.gear/tags/cabfbebabe96873e7fb5d1d8b3ed19509b3a256f
new file mode 100644
index 0000000..8a742bd
--- /dev/null
+++ b/.gear/tags/cabfbebabe96873e7fb5d1d8b3ed19509b3a256f
@@ -0,0 +1,8 @@
+object df7b0691e75ee939894e8f1a260ae3684f415d1c
+type commit
+tag v1.1.8
+tagger Jaroslav Kysela <perex@perex.cz> 1546865741 +0100
+
+Release v1.1.8
+
+Signed-off-by: Jaroslav Kysela <perex@perex.cz>
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..5faf09b
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+cabfbebabe96873e7fb5d1d8b3ed19509b3a256f v1.1.8
diff --git a/alsa-oss.spec b/alsa-oss.spec
new file mode 100644
index 0000000..dcdc711
--- /dev/null
+++ b/alsa-oss.spec
@@ -0,0 +1,205 @@
+%define _unpackaged_files_terminate_build 1
+%define _stripped_files_terminate_build 1
+
+Name: alsa-oss
+Version: 1.1.8
+Release: alt2
+
+Summary: Advanced Linux Sound Architecture (ALSA) OSS compatibility library
+License: GPL
+Group: System/Libraries
+
+Url: http://www.alsa-project.org
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+Packager: Valery Inozemtsev <shrek@altlinux.ru>
+
+Obsoletes: libalsa2-oss <= 0.9.8
+Conflicts: sound-scripts <= 1.0.1-alt1
+
+BuildRequires: gcc-c++ libalsa-devel
+
+Summary(ru_RU.UTF-8): Запуск OSS-программ под ALSA
+Summary(uk_UA.UTF-8): Запуск OSS-програм під ALSA
+
+%description
+Advanced Linux Sound Architecture (ALSA) OSS compatibility libs.
+Modularized architecture with support for a large range of ISA
+and PCI cards. Fully compatible with OSS/Lite but contains many
+enhanced features.
+
+This package contains a OSS compatibility library.
+
+It might come handy when usual /dev/dsp emulation is not enough,
+e.g. with dmix software multichannel mixer.
+
+%description -l ru_RU.UTF-8
+Пакет содержит скрипт aoss, предназначенный для запуска программ,
+ориентированных на звуковую подсистему OSS, под ALSA (современной
+звуковой подсистемой Linux).
+
+Полезен, когда не хватает эмуляции /dev/dsp; например,
+при использовании программного микширования dmix.
+
+%description -l uk_UA.UTF-8
+Пакунок містить скрипт aoss, що застосовується для запуску
+програм, які орієнтовані на звукову підсистему OSS, під ALSA
+(сучасною звуковою системою Linux).
+
+Може стати у нагоді, коли не вистачає емуляції /dev/dsp;
+наприклад, за використання програмного мікшування dmix.
+
+%prep
+%setup
+%patch -p1
+
+# disable oss-redir, it's not packaged in package, and not used in other components
+sed -i -e 's: oss-redir : :' Makefile.am
+
+%build
+%autoreconf
+%configure --disable-static
+%make_build
+
+%install
+%makeinstall_std
+
+%files
+%_bindir/*
+%_libdir/*.so*
+%_man1dir/*
+
+%changelog
+* Wed Sep 08 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 1.1.8-alt2
+- Fixed build with LTO.
+
+* Thu Sep 26 2019 Michael Shigorin <mike@altlinux.org> 1.1.8-alt1
+- 1.1.8
+
+* Wed Apr 04 2018 Michael Shigorin <mike@altlinux.org> 1.1.6-alt1
+- 1.1.6
+
+* Wed Jun 18 2014 Michael Shigorin <mike@altlinux.org> 1.0.28-alt1
+- 1.0.28
+
+* Fri Sep 07 2012 Michael Shigorin <mike@altlinux.org> 1.0.25-alt2
+- retag
+
+* Thu Sep 06 2012 Michael Shigorin <mike@altlinux.org> 1.0.25-alt1
+- 1.0.25
+
+* Thu Dec 17 2009 Michael Shigorin <mike@altlinux.org> 1.0.17-alt7
+- spec cleanup
+
+* Sun Oct 25 2009 Michael Shigorin <mike@altlinux.org> 1.0.17-alt6
+- fixed interbug of aoss script and packaging wrt *.so and *.so.*
+  (closes: #21227)
+- spec cleanup
+
+* Mon Jul 27 2009 Valery Inozemtsev <shrek@altlinux.ru> 1.0.17-alt5
+- installed original aoss script
+
+* Mon Jul 27 2009 Valery Inozemtsev <shrek@altlinux.ru> 1.0.17-alt4
+- removed semiworking /etc/modprobe.d/oss (patches are welcomed)
+
+* Tue Mar 03 2009 Valery Inozemtsev <shrek@altlinux.ru> 1.0.17-alt3
+- added /etc/modprobe.d/oss
+
+* Sat Nov 22 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.0.17-alt2
+- removed obsolete %%post_ldconfig/%%postun_ldconfig calls
+
+* Wed Jul 16 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.0.17-alt1
+- 1.0.17
+
+* Sun Jan 27 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.0.15-alt1
+- 1.0.15
+
+* Mon Jun 11 2007 Michael Shigorin <mike@altlinux.org> 1.0.14-alt1
+- 1.0.14
+
+* Sat Sep 02 2006 Michael Shigorin <mike@altlinux.org> 1.0.12-alt1
+- 1.0.12
+- minor spec cleanup
+
+* Wed Apr 19 2006 Michael Shigorin <mike@altlinux.org> 1.0.11-alt1
+- 1.0.11
+
+* Sat Mar 04 2006 Michael Shigorin <mike@altlinux.org> 1.0.11-alt0.3
+- 1.0.11rc3
+- fixed description; thanks Sergey Vlasov (vsu@)
+
+* Wed Nov 16 2005 Michael Shigorin <mike@altlinux.org> 1.0.10-alt1
+- 1.0.10
+
+* Mon Jul 04 2005 Michael Shigorin <mike@altlinux.org> 1.0.9-alt2
+- fixed Obsoletes: (libalsa2-oss, was libalsa-oss)
+
+* Thu Jun 23 2005 Michael Shigorin <mike@altlinux.org> 1.0.9-alt1
+- 1.0.9
+
+* Thu Jan 13 2005 Michael Shigorin <mike@altlinux.ru> 1.0.8-alt1
+- 1.0.8
+
+* Thu Dec 16 2004 Michael Shigorin <mike@altlinux.ru> 1.0.7-alt1
+- 1.0.7
+
+* Sat Jun 26 2004 Michael Shigorin <mike@altlinux.ru> 1.0.5-alt2
+- added ru/uk package info
+- minor spec cleanup :)
+
+* Mon May 31 2004 Michael Shigorin <mike@altlinux.ru> 1.0.5-alt1
+- 1.0.5
+
+* Wed May 05 2004 Michael Shigorin <mike@altlinux.ru> 1.0.4-alt2
+- fixed #4041, thanks Sergey Bolshakov (sbolshakov@)
+  for report/fix.
+
+* Sat Apr 03 2004 Michael Shigorin <mike@altlinux.ru> 1.0.4-alt1
+- 1.0.4
+
+* Tue Mar 02 2004 Michael Shigorin <mike@altlinux.ru> 1.0.3a-alt1
+- 1.0.3a
+
+* Thu Jan 29 2004 Michael Shigorin <mike@altlinux.ru> 1.0.2-alt2
+- 1.0.2, Final Upload by ALSA Project (TM) 20040129 18:35 +0200
+- thanks to Sergey Vlasov (vsu@) for alerting about re-uploads
+
+* Wed Jan 28 2004 Michael Shigorin <mike@altlinux.ru> 1.0.2-alt1
+- 1.0.2
+
+* Thu Jan 15 2004 Michael Shigorin <mike@altlinux.ru> 1.0.1-alt1
+- 1.0.1
+
+* Sun Nov 23 2003 Michael Shigorin <mike@altlinux.ru> 0.9.8-alt1
+- renamed to alsa-oss as the library is only used for preloading
+- dropped devel subpackages due to the very same issue
+- aoss script was missing (and broken anyway); thanks to Sergey Vlasov (vsu@)
+  for pointing out and providing proper version (#3308)
+
+* Wed Oct 22 2003 Michael Shigorin <mike@altlinux.ru> 0.9.8-alt1
+- 0.9.8
+
+* Thu Jul 31 2003 Michael Shigorin <mike@altlinux.ru> 0.9.6-alt1
+- 0.9.6
+- forgot this part.  Getting back :)
+
+* Tue Nov 26 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0rc1-alt2
+- Rebuilt in new environment
+
+* Fri Jun 07 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0rc1-alt1
+- 0.9.0rc1
+
+* Thu Feb 28 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta11-alt1
+- 0.9.0beta11
+
+* Tue Nov 20 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta10-alt1a
+- 0.9.0beta10a
+
+* Tue Nov 20 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta9-alt1
+- 0.9.0beta9
+
+* Fri Oct 12 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta8-alt1
+- 0.9.0beta8
+
+* Fri Sep 21 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta7-alt1
+- First build for Sisyphus
diff --git a/alsa/aoss.in b/alsa/aoss.in
index c551431..abb9a98 100644
--- a/alsa/aoss.in
+++ b/alsa/aoss.in
@@ -5,9 +5,7 @@
 #	aoss <command> <command options and arguments>
 
 if [ -d /proc/asound ]; then
-  prefix=@prefix@
-  exec_prefix=@exec_prefix@
-  LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
+  LD_PRELOAD=@libdir@/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
 else
   exec "$@"
 fi
diff --git a/oss b/oss
new file mode 100644
index 0000000..b894f98
--- /dev/null
+++ b/oss
@@ -0,0 +1,9 @@
+alias sound_slot_0 snd_card_0
+alias sound_service_0_0 snd-mixer-oss
+alias sound_service_0_1 snd-seq-oss
+alias sound_service_0_3 snd-pcm-oss
+alias sound_service_0_8 snd-seq-oss
+alias sound_service_0_12 snd-pcm-oss
+
+install snd-pcm /sbin/modprobe --first-time --ignore-install snd-pcm && { /sbin/modprobe snd-pcm-oss; /bin/true; }
+install snd-pcm-oss /sbin/modprobe --first-time --ignore-install snd-pcm-oss && { /sbin/modprobe snd-seq-oss; /bin/true; }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin