hello, Audacity 1.0 is great but there is also 1.1.0 which most people should be using, I tried to rename the audacity 1.0 ebuild to 1.1.0 but i fails, the source is completely different. anyway we could get a ebuild and have it package masked so us music junkies can edit our music? :-) thanks
Your wish is my command ;) Rigo
Created attachment 3482 [details] audacity-1.1.0.tar.gz Included: Changelog entry + patches
Rigo: Thanks for your submission. I committed the ebuild (in a slightly modified way) to the CVS. However, I masked it out pending the clearing up the following: 1. What's up with id3 tag stuff in 1.1.0? It seems from README.txt that audacity now uses libid3tag, which seems to be provided by media-sound/mad. Should audacity depend on 'mad'? 2. THe same README.txt mentions libsndfile support. Should audacity depend on media-libs/libsndfile? 3. Ditto for libmad. 4. Is there any way to use system-wide installation of expat, libsndfile, etc., as opposed to those that come in audacity's tarball under "src-lib/"? If you had time to look into these issues, I'd be much obliged.
You're welcome ! I just made a quick one to see if it helped against Bug #6694...I'll look into the rest today.... Also had the crazy Idea of making ebuilds for all Demudi/Remudi software for you music-junkies out there (http://www.demudi.org) --> Always found Gemudi sounds WAY much nicer ;) ...Let me know it there are any testers 4 the packages so far ? Regards, Rigo
Finished configure: with libid3tag (system) with libmad (system) without wavelet denoising with LADSPA plug-ins without libvorbis with help prefix=/usr Does this answer your question Arcady ? Gonna give libvorbis another try, but it seems I can export ID3tags now. Can anyone check this ?
This is what we want I guess ;-D ! Agenkin, I uncommented a lot in this final ebuild (the myconf way lets it use it's own supplied code in src-lib), the DEPEND is NOT correct this way, but I'm a bit confused how to do this correctly... Finished configure: with libid3tag (system) with libmad (system) without wavelet denoising (It needs code, but from what ?!?) with LADSPA plug-ins with vorbis (system) with help prefix=/usr Regards, Rigo
Created attachment 3494 [details] audacity-1.1.0-r1.tar.gz Look at the ebuild-file !
Created attachment 3495 [details] audacity-1.1.0-r1.tar.gz Forget previous one (s/emake/einstall PREFIX="/usr"/)
Created attachment 3496 [details] audacity-1.1.0-r1.tar.gz audacity-1.1.0-r1 (final) for now....Included previous not found documentation..
a - strparse.cpp.o a - stimelinux.c.o ranlib allegro.a make[2]: Leaving directory `/var/tmp/portage/audacity-1.1.0/work/audacity-src-1.1.0/lib-src/allegro' cd libmad && make /bin/sh: cd: libmad: No such file or directory make[1]: *** [libmad/.libs/libmad.a] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.1.0/work/audacity-src-1.1.0/lib-src' make: *** [audacity] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -10, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-sound/audacity/audacity-1.1.0.ebuild . Im getting this error when compiling audacity 1.1.0.
See remark about DEPEND...Dependencies are NOT correct this way (see the ebuild-file and you'll find what to do... emerge rsync && emerge libmad After that you'll be fine ;) Rigo
libmad? its not in my portage tree.. I do have mad though and its installed.
I'm sorry, I ment mad, you are right...Can you look what the end of the configure output is ? It should look something like this: Finished configure: with libid3tag (system) with libmad (system) --> He's calling it libmad, that's why confusion ;) without wavelet denoising with LADSPA plug-ins with vorbis (system) with help prefix=/usr If it says it want to use included libmad, something goes wrong... 2nd. Do you have 'mad' in USE in /etc/make.conf ? Try that too ;) Rigo
I added mad to my use, same problem.
Created attachment 3683 [details] audacity-1.1.0-r2.tar.gz Cleaned up a bit...Took a shot on the DEPENDs...Could anyone test this one ? Rigo
Ok, I decided to take a shot at your audacity-1.1.0-r2.ebuild. It outpts this: ebuild audacity-1.1.0-r2.ebuild merge >>> md5 ;-) audacity-src-1.1.0.tgz >>> md5 ;-) audacity-manual-1.0.0-A.zip >>> Checking audacity-src-1.1.0.tgz's mtime... >>> Checking audacity-manual-1.0.0-A.zip's mtime... >>> WORKDIR is up-to-date, keeping... checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /bin/install -c checking for mad_decoder_init in -lmad... no configure: error: *** libmad not found. Run configure --without-libmad to disable it. !!! ERROR: The ebuild did not complete successfully. !!! Function econf, Line 9, Exitcode 1 !!! econf failed I would guess that it does not find mad in my USE variables, so it does not install it. I would suggest perhaps either making it a mandatory dependency, or having the option trigger --without-libmad. Also one last thing - there is a syntax error in the ebuild as well. The " on line 11? should be instead at the end of line 15 (after all the dependencies). I hope this all helps!! Jason
Ebuild failed with this message: g++ -c -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -I../lib-src/expat -I../lib-src/allegro -Wall -pedantic -Iinclude -Iinclude/linux -I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions ControlToolBar.cpp -o obj/ControlToolBar.o In file included from /usr/include/wx/dragimag.h:21, from Project.h:28, from ControlToolBar.cpp:40: /usr/include/wx/generic/dragimgg.h: In member function `bool wxGenericDragImage::Create(const wxCursor&, const wxPoint&)': /usr/include/wx/generic/dragimgg.h:187: `wxLogDebug' undeclared (first use this function) /usr/include/wx/generic/dragimgg.h:187: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [obj/ControlToolBar.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.1.0-r2/work/audacity-src-1.1.0/src' make: *** [audacity] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -145, Exitcode 2 !!! make failed Any ideas? Jason P.S. Is it only my browser (Konqueror) that shows all my posts without carriage returns? I hope so... I always hate it when people make me scroll horizontally ;)
I just wanted to let you know, that I recently (today) returned to trying this ebuild out. I had to delete my temp directories in /var/tmp/portage/audacity-1.1.0-r2, and it compiled this time, without a problem. Thanks a lot for your ebuild, and apparently, portage can leave some stale files around. Now I know for next time! Jason
Hello ! Tried to emerge audacity-1.1.0-r2.ebuild ... First attempt : $ emerge audacity-1.1.0-r2.ebuild Calculating dependencies \portage: aux_get(): (1) couldn't open cache entry for media-sound/audacity-1.1.0-r2 (likely caused by syntax error or corruption in the media-sound/audacity-1.1.0-r2 ebuild.) emerge: create(): aux_get() error on media-sound/audacity-1.1.0-r2; aborting... OK : the "quotes" problem was already pointed by jasong :) Second attempt : retrying after quotes correction : $ emerge audacity-1.1.0-r2.ebuild (...snip download messages...) 20:56:51 (71.60 KB/s) - `/usr/portage/distfiles/audacity-manual-1.0.0-A.zip' saved [294747/294747] !!! No message digest file found: /usr/portage/media-sound/audacity/files/digest-audacity-1.1.0-r2 !!! Type "ebuild foo.ebuild digest" to generate a digest. Third attempt : After generating digest, compile started but : (... snip ...) make[1]: Entering directory `/var/tmp/portage/audacity-1.1.0-r2/work/audacity-src-1.1.0/src' (... snip ...) i686-pc-linux-gnu-g++ -c -O3 -march=pentium3 -pipe -fomit-frame-pointer -I../lib-src/expat -I../lib-src/allegro -Wall -pedantic -Iinclude -Iinclude/linux -I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES AudacityApp.cpp -o obj/AudacityApp.o In file included from /usr/include/wx/dragimag.h:25, from Project.h:28, from AudacityApp.cpp:44: /usr/include/wx/generic/dragimgg.h: In member function `bool wxGenericDragImage::Create(const wxCursor&, const wxPoint&)': /usr/include/wx/generic/dragimgg.h:187: `wxLogDebug' undeclared (first use this function) /usr/include/wx/generic/dragimgg.h:187: (Each undeclared identifier is reported only once for each function it appears in.) AudacityApp.cpp: In member function `virtual bool AudacityApp::OnInit()': AudacityApp.cpp:240: `wxLogNull' undeclared (first use this function) AudacityApp.cpp:240: parse error before `;' token make[1]: *** [obj/AudacityApp.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.1.0-r2/work/audacity-src-1.1.0/src' make: *** [audacity] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -146, Exitcode 2 !!! make failed Is it related to wxGTK ? I've tried with versions 2.3.3 and 2.3.2-r2 with same result. With wxGTK-2.2.9-r1, there are immediatly a lot of other errors (sorry, not noted) Now, It becomes too hard for my little knowledge ... :(
OK : there was something wrong with my wxGTK ! I have unmerged wxGTK-2.2.9-r1 and tried the last masked audacity-1.1.0 (10 NOV 2002). A fresh wxGTK-2.2.9-r1 was automaticaly remerged and all compiled fine :)
I just tried to emerge 1.1.0-r2 and it failed with the following errors: g++ -c -march=pentium4 -O3 -pipe -fomit-frame-pointer -I../lib-src/expat -I../lib-src/allegro -Wall -pedantic -Iinclude -Iinclude/linux -I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES effects/ladspa/LadspaEffect.cpp -o obj/effects/ladspa/LadspaEffect.o effects/ladspa/LadspaEffect.cpp: In member function `virtual bool LadspaEffect::Init()': effects/ladspa/LadspaEffect.cpp:125: `wxMessageBox' undeclared (first use this function) effects/ladspa/LadspaEffect.cpp:125: (Each undeclared identifier is reported only once for each function it appears in.) effects/ladspa/LadspaEffect.cpp: In constructor `LadspaEffectDialog::LadspaEffectDialog(wxWindow*, const LADSPA_Descriptor*, float*, int)': effects/ladspa/LadspaEffect.cpp:410: `wxButton' undeclared (first use this function) effects/ladspa/LadspaEffect.cpp:410: `button' undeclared (first use this function) effects/ladspa/LadspaEffect.cpp:412: parse error before `(' token effects/ladspa/LadspaEffect.cpp:417: parse error before `(' token make[1]: *** [obj/effects/ladspa/LadspaEffect.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.1.0-r2/work/audacity-src-1.1.0/src' make: *** [audacity] Error 2 !!! ERROR: media-sound/audacity-1.1.0-r2 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! make failed At first I removed the " and put it in the right place (end of line 15), then I created a digest and started emerging. I have wxGTK-2.2.9-r1 emerged.
audacity-1.1.1-r1 has been added to portage. This has been tested on both our stable and unstable profile.
I now have had a couple of verifications that 1.1.1-r1 is working great. marking stable.