Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139887 Details for
Bug 184123
media-sound/oss4 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
oss-gentoo_install_sh.patch
oss-gentoo_install_sh.patch (text/plain), 4.21 KB, created by
Thomas Kuther
on 2008-01-02 17:39:46 UTC
(
hide
)
Description:
oss-gentoo_install_sh.patch
Filename:
MIME Type:
Creator:
Thomas Kuther
Created:
2008-01-02 17:39:46 UTC
Size:
4.21 KB
patch
obsolete
>--- setup/Linux/oss/build/install.sh.BAK 2007-12-14 15:26:04.000000000 +0100 >+++ setup/Linux/oss/build/install.sh 2007-12-14 15:33:03.000000000 +0100 >@@ -28,13 +28,13 @@ > > if ! test -f $OSSLIBDIR/objects/osscore.o > then >- echo Error: OSS core module for $REGPARM kernel is not available >+ echo "Error: OSS core module for $REGPARM kernel is not available" > exit 1 > fi > > if ! test -f $OSSLIBDIR/modules/ich.o > then >- echo Error: OSS driver modules for $REGPARM kernel are not available >+ echo "Error: OSS driver modules for $REGPARM kernel are not available" > exit 1 > fi > >@@ -42,66 +42,6 @@ > echo OSS build environment set up for $REGPARM kernels > > KERNELDIR=/lib/modules/`uname -r`/build >-UBUNTUPACKAGES="" >- >-OK=1 >-echo >- >-if test "`which gcc 2>/dev/null` " = " " >-then >- echo " gcc" >- UBUNTUPACKAGES="$UBUNTUPACKAGES gcc" >- OK=0 >-fi >- >-if test "`which make 2>/dev/null` " = " " >-then >- echo " make" >- UBUNTUPACKAGES="$UBUNTUPACKAGES make" >- OK=0 >-fi >- >-if test "`which ld 2>/dev/null` " = " " >-then >- echo " binutils" >- UBUNTUPACKAGES="$UBUNTUPACKAGES binutils" >- OK=0 >-fi >- >-if ! test -f /usr/include/stdio.h >-then >- echo " C library headers (glibc-devel or build-essential)" >- OK=0 >- UBUNTUPACKAGES="$UBUNTUPACKAGES build-essentials" >-fi >- >-if test "$OK " = "0 " >-then >- echo >- echo 'Error: The above Linux package(s) seem to be missing from your system.' >- echo ' Please install them and then try to install OSS again.' >- echo >- echo Please refer to the documentation of your Linux distribution if you >- echo have problems with installing the packages. >- echo >- >- if grep -q Ubuntu /etc/issue # Ubuntu? >- then >- echo You can use the following commands to download and install all >- echo required packages: >- echo >- >- for n in $UBUNTUPACKAGES >- do >- echo " apt-get install $n" >- done >- >- exit 1 >- fi >- >- exit 1 >-fi >- > > if ! test -f $KERNELDIR/Makefile && ! test -f /lib/modules/`uname -r`/sources/Makefile > then >@@ -111,41 +51,7 @@ > echo ' Please install the kernel development package if linking the' > echo ' OSS modules fails.' > echo >- echo The kernel development package may be called kernel-devel, kernel-smp-devel, >- echo kernel-sources, kernel-headers or something like that. Please refer >- echo to the documentation of your Linux distribution if there are any >- echo difficulties in installing the kernel/driver development environment. >- echo >- >- if grep -q 'Fedora Core release' /etc/issue >- then >- if uname -v|grep -q SMP >- then >- echo Assuming that you are using Fedora Core 5 or later >- echo "the right kernel source package (RPM) is probably called" >- echo kernel-smp-devel. >- else >- echo Assuming that you are using Fedora Core 5 or later >- echo "the right kernel source package (RPM) is probably called" >- echo kernel-devel. >- fi >- else >- echo For your Linux distribution the right kernel source package >- echo might be kernel-source. >- fi >- echo >- >- if grep -q Ubuntu /etc/issue # Ubuntu? >- then >- echo Under Ubuntu you may need to prepare the kernel environment >- echo after downloading the kernel sources using >- echo >- echo " sudo apt-get install linux-headers-`uname -r`" >- echo " cd /usr/src/linux-headers-`uname -r`/" >- echo " sudo make prepare" >- echo " sudo make prepare scripts" >- echo >- fi >+ echo 'Emerge some kernel sources, compile, install and boot them!' > fi > > if ! test -d /lib/modules/`uname -r` >@@ -260,33 +166,6 @@ > mkdir /etc/init.d > fi > >-rm -f /etc/init.d/oss /etc/rc.d/rc3.d/S89oss /etc/rc3.d/S89oss >-cp -f $OSSLIBDIR/etc/S89oss /etc/init.d/oss >- >-chmod 744 /etc/init.d/oss >- >-if test -x /sbin/chkconfig >-then >- /sbin/chkconfig oss on > /dev/null 2>&1 >-else >- if test -x /usr/sbin/update-rc.d >- then >- /usr/sbin/update-rc.d oss defaults > /dev/null 2>&1 >- else >- if test -d etc/rc.d/rc3.d >- then >- rm -f /etc/rc.d/rc3.d/S89oss >- ln -s /etc/init.d/oss /etc/rc.d/rc3.d/S89oss >- else >- if test -d /etc/rc3.d >- then >- rm -f /etc/rc3.d/S89oss >- ln -s /etc/init.d/oss /etc/rc3.d/S89oss >- fi >- fi >- fi >-fi >- > # Install ALSA interface module (Cuckoo) > #(cd $OSSLIBDIR/cuckoo && make clean) > /dev/null 2>&1 > #if (cd $OSSLIBDIR/cuckoo && make install) > $OSSLIBDIR/logs/cuckoo.log 2>&1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184123
:
129295
|
129654
|
129655
|
129657
|
129658
|
131327
|
131329
|
133153
|
134965
|
135027
|
135029
|
135932
|
135933
|
137503
|
137504
|
137506
|
138566
|
138567
|
138569
| 139887 |
142815
|
142817
|
142819
|
142820
|
153689
|
176122
|
176124
|
176125
|
176126
|
176605
|
176607
|
176609
|
177020
|
181575
|
181577
|
213095
|
213154
|
213155
|
213156
|
213157
|
213194
|
297327
|
297331
|
319606
|
319624
|
319632
|
382776