Summary: | New ebuild: cinelerra-1.0.ebuild (Video Editor) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rigo <rigo> |
Component: | New packages | Assignee: | Nick Hadaway <grandmasterlinux> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | mholzer, ska-fan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 3638 | ||
Bug Blocks: | |||
Attachments: |
cinelerra-1.0.0.ebuild
cinelerra-1.0.0-r1.ebuild contains altered cinerella files to make it compile under gcc 2.9.x cinerella-gcc2-fix.tar.gz, since the 1st try was acciddently marked as textfile, sorry |
Description
Rigo
2002-09-05 04:04:14 UTC
Created attachment 3675 [details]
cinelerra-1.0.0.ebuild
rigo, does this compile fine on gcc3.2 (final) ? thanks Yup 8-D ! Rigo nick, I know you were working on somehting like this, anyway I added the cinelerra ebuild to portage. I made some minor changes for optimization and cleaned up formatting. Please let me know if the ebuild works with the optimization settings included. The ebuild should be available in portage within 24 hours. It is currently masked. g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: No such file or directory make[1]: *** [i686/xmovie] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed saphir root # gcc --version 2.95.3 saphir root # emerge -V Portage 2.0.36 saphir root # ls -l /etc/make.profile lrwxrwxrwx 1 root root 35 Apr 7 19:51 /etc/make.profile -> ../usr/portage/profiles/default-1.0 Created attachment 3900 [details]
cinelerra-1.0.0-r1.ebuild
Added dependency for quicktime4linux (1.5.5-r1), can you please test if this
solves your problem ?
Rigo
saphir cinelerra # emerge -p cinelerra-1.0.0-r1.ebuild
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] media-video/cinelerra-1.0.0-r1 to /
saphir cinelerra # /usr/sbin/epm -qa | grep quickt
quicktime4linux-1.5.5
openquicktime-1.0
quicktime4linux-1.5.5-r1
saphir cinelerra #
I didn't merge quicktime in the meantime :)
> g++: ../quicktime/i686/libquicktime.a: No such file or directory
This is a cinelerra-local thing.
i get the same error with the quicktime thing, could it be related to the compile options in make.conf? If you are having trouble with the optimizations you can comment this line out of the ebuild... so it looks like this #echo ${CFLAGS} > i686/c_flags Then it will build with default flags. Those who are having trouble please test and let me know how things go. tried that... might be related to this error in the build process gcc -c `cat i686/c_flags` libvorbis-1.0/lib/analysis.c -o i686/libvorbis-1.0/lib/analysis.o gcc: Internal compiler error: program cc1 got fatal signal 11 make[1]: *** [i686/libvorbis-1.0/lib/analysis.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/quicktime ouch signal 11... usually points to hardware problem or something of the like... I get the same error, gcc 2.95.3, plain i686 in make.conf. Installed are quicktime4linux 1.5.5-r1 and openquicktime 1.0: g++ -o i686/mix2000 \ i686/main.o i686/mixer.o \ ../guicast/i686/libguicast.a \ ../quicktime/i686/libquicktime.a \ -L/usr/X11R6/lib -lGL -lX11 -lXext -lXv -lpthread -lglib -lm -lpng -lz -ldl -lXxf86vm g++: ../quicktime/i686/libquicktime.a: Datei oder Verzeichnis nicht gefunden make[1]: *** [i686/mix2000] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis I get the same error, gcc 2.95.3, plain i686 in make.conf. Installed are quicktime4linux 1.5.5-r1 and openquicktime 1.0: g++ -o i686/mix2000 \ i686/main.o i686/mixer.o \ ../guicast/i686/libguicast.a \ ../quicktime/i686/libquicktime.a \ -L/usr/X11R6/lib -lGL -lX11 -lXext -lXv -lpthread -lglib -lm -lpng -lz -ldl -lXxf86vm g++: ../quicktime/i686/libquicktime.a: Datei oder Verzeichnis nicht gefunden make[1]: *** [i686/mix2000] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/mix« make[1]: Wechsel in das Verzeichnis Verzeichnis »/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie« g++ -c `cat i686/c_flags` arender.C -o i686/arender.o g++ -c `cat i686/c_flags` asset.C -o i686/asset.o g++ -c `cat i686/c_flags` audiodevice.C -o i686/audiodevice.o g++ -c `cat i686/c_flags` file.C -o i686/file.o g++ -c `cat i686/c_flags` fileavi.C -o i686/fileavi.o g++ -c `cat i686/c_flags` filebase.C -o i686/filebase.o g++ -c `cat i686/c_flags` filemov.C -o i686/filemov.o g++ -c `cat i686/c_flags` filempeg.C -o i686/filempeg.o g++ -c `cat i686/c_flags` filesndfile.C -o i686/filesndfile.o g++ -c `cat i686/c_flags` load.C -o i686/load.o g++ -c `cat i686/c_flags` mainmenu.C -o i686/mainmenu.o g++ -c `cat i686/c_flags` mwindow.C -o i686/mwindow.o g++ -c `cat i686/c_flags` mwindowgui.C -o i686/mwindowgui.o g++ -c `cat i686/c_flags` playbackengine.C -o i686/playbackengine.o g++ -c `cat i686/c_flags` playbackscroll.C -o i686/playbackscroll.o g++ -c `cat i686/c_flags` playlist.C -o i686/playlist.o g++ -c `cat i686/c_flags` renderengine.C -o i686/renderengine.o g++ -c `cat i686/c_flags` theme.C -o i686/theme.o g++ -c `cat i686/c_flags` transportque.C -o i686/transportque.o g++ -c `cat i686/c_flags` settings.C -o i686/settings.o g++ -c `cat i686/c_flags` vrender.C -o i686/vrender.o g++ -c `cat i686/c_flags` xmovie.C -o i686/xmovie.o g++ -o i686/xmovie `cat i686/libs` g++: ../quicktime/i686/libquicktime.a: Datei oder Verzeichnis nicht gefunden make[1]: *** [i686/xmovie] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/var/tmp/portage/cinelerra-1.0.0/work/hvirtual-1.0.0/xmovie«make: *** [all] Fehler 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4, Exitcode 2 !!! make failed The installed versions of openquicktime or quicktime4linux do not matter with cinelerra as they are already within cinelerra's source tree. It appears that it will only compile on gcc3 systems as the quicktime portion fails for anyone still using gcc2. I will see if there are any patches available for this issue. If I can't find any I will mask it for gcc2 profiles. Cinelerra has been unmasked but is unavailable to those who are using a gcc2 based gentoo system. Created attachment 4541 [details, diff]
contains altered cinerella files to make it compile under gcc 2.9.x
I just compiled cinerella on my gentoo linux 1.2 gcc 2.95.3 20010315, using
the ebuild, but a patched cinerella package.
there were several things to do:
1st: the makefile of cinerella doesnt fail if single subdirs fail (including
mainparts like cinerella itself), so i temporarely added a simple check if it
worked to that, has to be altered for any ebuild
2nd: several makefiles include others, but too far at the bottem beyond parts
where the stuff is allready used, had to alter this.
3rn: quicktime (seems to be a really HEAVY altered version) segfaults doe to
some illegal compiler flags in some makefiles (which also make
cinerella-altered-freetype not compile) had to be altered
4th: some files in quicktime/libdc-cvsxxxx/libdv used some strange "inline
includes" in header files, had to change the code there to make it work
i didnt make a diff/patch since i am lacy, but u can find a hvirtual-1.0.0 -
tree with the altered files only at cinerella-gcc2-fix.tar.gz
(attachment)
to create an ebuild this has to be heavy altered anyway
greetings, Corvus V Corax
have fun ;)
maybe its possible to enable avifile support for cinerella. howto do this!? ok heres a try: after doing the changes mentioned above to make it compile under gcc 2.95 which have to be tested to work with 3.1 and 3.2 as well by anyone of u, : there is in hvirtual-1.0.0/global_config a line which says HAVE_AVIFILE := n set this to yes then do hvirtual-1.0.0/ $ tar -zxf /usr/portage/distfiles/avifile-0.7.15-20020816.tgz to create this lovely avifile dir (maybe use other versions i dunno which work) then go into this avifile dir and do a ./configure -blablabla where your blablabla has to make avifile compile into static librarys (by default it creates libavifile.so, but cinerella searches for libavifile.a) i dunno how to do this, i am lame beginner ;) dont do make ther, do make in hvirtual-1.0.0/ as usual, it should do the avifile stuff if the Makefile is patched that the #include global_config is above ifeq ($(HAVE_AVIFILE), yes) VIFILE_DIR := $(shell expr avifile* ) endif by default this is just below, so change that (alter my patch) i tryed this once, but with dynamic libs, and the resulting cinerella segfaulted, so just fiddle around with this, maybe it works. have several heavy FUN ... >:>>> Corvus V Corax Created attachment 4550 [details]
cinerella-gcc2-fix.tar.gz, since the 1st try was acciddently marked as textfile, sorry
i tried to compile with aviplay support under gcc 2.95.3 again, this time aviplay configured as --enable-static unfortunately there are loads of duplicate definitions and unresolved symbols when trying to link cinelerra. (this with the "latest" avifile-0.7.15.20020816 source) they seem to have implemented half the avifile lib in their quicktime-"mutant" unfortunately2, without avifile compiled-in, cinelerra crashes on trying to open a .AVI (divx, mp3 audio) project which was just been created by cinelerra itself. they seem to have implemented half the avifile lib in their quicktime-"mutant" wrong :-( not even a segfault message, just gone. maybe anyone can fiddle around with that, if much spare time <g> Corvus V Corax by the way, does avi support work under gcc 3.x ? |