Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7499 - New ebuild: cinelerra-1.0.ebuild (Video Editor)
Summary: New ebuild: cinelerra-1.0.ebuild (Video Editor)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on: 3638
Blocks:
  Show dependency tree
 
Reported: 2002-09-05 04:04 UTC by Rigo
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
cinelerra-1.0.0.ebuild (cinelerra-1.0.0.ebuild,991 bytes, text/plain)
2002-09-05 04:08 UTC, Rigo
Details
cinelerra-1.0.0-r1.ebuild (cinelerra-1.0.0-r1.ebuild,1.04 KB, text/plain)
2002-09-13 16:57 UTC, Rigo
Details
contains altered cinerella files to make it compile under gcc 2.9.x (cinerella-gcc2-fix.tar.gz,18.90 KB, patch)
2002-10-09 10:57 UTC, Corvus
Details | Diff
cinerella-gcc2-fix.tar.gz, since the 1st try was acciddently marked as textfile, sorry (cinerella-gcc2-fix.tar.gz,18.90 KB, application/octet-stream)
2002-10-09 16:01 UTC, Corvus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2002-09-05 04:04:14 UTC
*  media-video/cinelerra
      Latest version available: 1.0.0
      Latest version installed: 1.0.0
      Homepage: http://heroinewarrior.com/cinelerra.php3
      Description: Cinelerra - Professional Video Editor

<SNIP SITE>
Heroine Virtual Ltd. presents an advanced compositing and editing system for
native Linux at no cost to users.

Native Linux: that means no emulation of proprietary operating systems and no
additional commercial software required. When you run a native Linux program,
you own the software outright and are completely untied from corporate interests.

Of course, Linux isn't the first word that comes to mind when you think of
content creation. Neither would any human being dare say Linux and general
purpose computing in the same sentence, unless they were insane. That was before
Cinelerra was invented.

For guys like you - Linux gurus who also like general purpose computing -
there's a certain eliteness in doing the unusual. You want to create your own
niche. You want to try things no-one else will.
</SNIP SITE>
Comment 1 Rigo 2002-09-05 04:08:38 UTC
Created attachment 3675 [details]
cinelerra-1.0.0.ebuild
Comment 2 Maurizio Disimino 2002-09-05 08:00:03 UTC
rigo, does this compile fine on gcc3.2 (final) ? thanks
Comment 3 Rigo 2002-09-05 12:06:15 UTC
Yup 8-D !

Rigo
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-05 16:32:19 UTC
nick, I know you were working on somehting like this, anyway
Comment 5 Nick Hadaway 2002-09-11 20:13:04 UTC
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.
Comment 6 Markus Bertheau (RETIRED) gentoo-dev 2002-09-13 16:41:31 UTC
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
Comment 7 Rigo 2002-09-13 16:57:09 UTC
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
Comment 8 Markus Bertheau (RETIRED) gentoo-dev 2002-09-13 17:07:21 UTC
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.
Comment 9 todd allen 2002-09-17 09:30:57 UTC
i get the same error with the quicktime thing, could it be related to the
compile options in make.conf?
Comment 10 Nick Hadaway 2002-09-17 17:00:47 UTC
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.
Comment 11 todd allen 2002-09-19 13:52:37 UTC
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
Comment 12 Nick Hadaway 2002-09-19 14:37:20 UTC
ouch signal 11... usually points to hardware problem or something of the like...
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2002-09-19 19:26:57 UTC
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
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2002-09-19 19:26:57 UTC
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
Comment 15 Nick Hadaway 2002-09-20 09:44:40 UTC
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.
Comment 16 Nick Hadaway 2002-09-27 08:58:29 UTC
Cinelerra has been unmasked but is unavailable to those who are using a gcc2 
based gentoo system.
Comment 17 Corvus 2002-10-09 10:57:35 UTC
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 ;)
Comment 18 Corvus 2002-10-09 11:20:39 UTC
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 
 
Comment 19 Corvus 2002-10-09 16:01:26 UTC
Created attachment 4550 [details]
cinerella-gcc2-fix.tar.gz, since the 1st try was acciddently marked as textfile, sorry
Comment 20 Corvus 2002-10-09 21:32:52 UTC
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 ?