Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6576 - New ebuild for osalp (an audio library)
Summary: New ebuild for osalp (an audio library)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL: http://osalp.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 02:30 UTC by Julien Ponge
Modified: 2002-08-20 20:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The osalp package tarball. (osalp-0.7.3-gentoo.tar.gz,956 bytes, application/x-tgz)
2002-08-16 02:31 UTC, Julien Ponge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Ponge 2002-08-16 02:30:07 UTC
Hi all, 
 
I have made an ebuild for osalp which is a very nice C++ audio library. It is 
portable between the different Unixes and will soon get to a better 
compatibility with Alsa and eventually Arts. 
 
The ebuild I have made should go put in media-libs/osalp . The tarball can be 
extracted directly under /usr/portage and it will put the osalp package at the 
location above. 
 
I have also filled the other files (digest, Changelog). Of course this might 
be tweaked a bit to meet fully your guidelines. The package does not ask for 
any dependency as this one does not depend on something special. 
 
I hope you'll appreciate this. I'm looking forward to make/maintain some more 
packages, let me know how I can do that. I am able to dedicate some of my time 
for the Gentoo project and I'd be happy to help what I consider as the best 
distro out there :-) 
 
Cheers.
Comment 1 Julien Ponge 2002-08-16 02:31:38 UTC
Created attachment 3127 [details]
The osalp package tarball.

Just extract it in /usr/portage and it will make a nice package as
media-libs/osalp :-)
Comment 2 Rigo 2002-08-16 04:33:35 UTC
1st. of all congrats with your 1st. ebuild Julien :-D !

I must confess I'm still recompiling stuff for 3.2, This is what I get when
compiling :'-(

bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.
-I..     -march=i686 -O3 -pipe -Wall  -DMODULE_INSTALL_DIR="\"/usr/lib/aflib\""
-c -o aflibAudioRecorder.lo `test -f 'aflibAudioRecorder.cc' || echo
'./'`aflibAudioRecorder.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O3 -pipe -Wall
-DMODULE_INSTALL_DIR=\"/usr/lib/aflib\" -c aflibAudioRecorder.cc -MT
aflibAudioRecorder.lo -MD -MP -MF .deps/aflibAudioRecorder.TPlo  -fPIC -DPIC
In file included from /usr/include/g++-v32/ostream:45,
                 from /usr/include/g++-v32/iostream:45,
                 from aflibAudioRecorder.cc:29:
/usr/include/g++-v32/ios:-33812: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [aflibAudioRecorder.lo] Fout 1
make[2]: *** Wachten op onafgeronde taken...
/usr/include/g++-v32/bits/locale_facets.h:107: internal error: Segmentation 
   fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [aflibEnvFile.lo] Fout 1
make[2]: Weggaan uit map `/var/tmp/portage/osalp-0.7.3/work/osalp-0.7.3/aflib'
make[1]: *** [all-recursive] Fout 1
make[1]: Weggaan uit map `/var/tmp/portage/osalp-0.7.3/work/osalp-0.7.3'
make: *** [all] Fout 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -24, Exitcode 2
!!! make failed

!!! emerge aborting on  /home/lemar/portage/media-libs/osalp/osalp-0.7.3.ebuild .
Guess I'll hit that GCC page now... :-|

Happy hunting ;), Rigo

Comment 3 Stefan Jones (RETIRED) gentoo-dev 2002-08-16 07:40:28 UTC
The ebuild compiles and installs fine with gcc-3.2 on a 2.95.3 system.
I forced it to use gcc 3.2 (it was verified that it used gcc 3.2 as I added
CXX=/opt/gcc-3/bin/g++ CC=/opt/gcc-3/bin/gcc b4 the ./congigure )

The example osalp was then compiled with gcc-3.2 which only needed the line:
"using namespace std;"
to be added to the start of examples/osalp/audioChain.h
the executable is then:
ldd osalp
        libaflib-0.7.3.so => /usr/lib/libaflib-0.7.3.so (0x4002a000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006d000)
        libstdc++.so.5 => /opt/gcc-3/lib/libstdc++.so.5 (0x40071000)
        libm.so.6 => /lib/libm.so.6 (0x40126000)
        libc.so.6 => /lib/libc.so.6 (0x40149000)
        libgcc_s.so.1 => /opt/gcc-3/lib/libgcc_s.so.1 (0x4029d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
with:
qpkg -f /usr/lib/libaflib-0.7.3.so -v
  media-libs/osalp-0.7.3 *
Comment 4 Julien Ponge 2002-08-16 07:45:50 UTC
I'm preparing a patch to add to the ebuild so that the 'using namespace' is 
added. I'll forward it back to the osalp author too so that he fixes it. 
Comment 5 Julien Ponge 2002-08-16 07:59:12 UTC
Well not need to diff as the examples are not installed ... I have sent a 
patch the original author thought, so that he can improve its library :-) 
Comment 6 Arcady Genkin (RETIRED) gentoo-dev 2002-08-20 20:39:58 UTC
Committed.  Please have a look at the DEPEND specifications in the ebuild: I had
to devise those myself, and I am not very familiar with the library.

Thanks for your submission.