finally the next avidemux release is out has lots of new filters and what not...
Created attachment 74576 [details] Filthy filthy hack of the avidemux-2.1_pre1 ebuild This will allow a compile/install (tested on AMD64) however there is still work to be done.
Currently a number of crashes of avidemux-2.1.0 to be sorted out, not sure if they're underlying faults of the code or AMD64 or otherwise related: - Reloading of MPEG2 indexes sometimes causes a crash - Deinterlace filter will always cause crash (but kernel deinterlace is OK)
Can you please test also the ebuild I did for 2.1-final (both new spidermonkey and new avidemux)? You can find it at: http://forums.gentoo.org/viewtopic-t-423211.html Some bugs should have been fixed in final,and some should be fixed by using the latest spidermonkey...... At least here (~x86) seems to work fine. Also, ebuild isn't 100% clean, I'm not sure the location of spidermonkey include file is the right one (--with-jsapi-include= in the avidemux ebuild....)
Added a new patch (for avi compatibility,released by mean which is the developer) in my ebuild at: http://forums.gentoo.org/viewtopic-t-423211.html
Created attachment 77795 [details] spidermonkey-1.5.ebuild posted here since there's the issue of the jsapi.h location...... I choosed standard but you might want it to build in a different location.
Created attachment 77796 [details, diff] avidemux-avifix.patch released from avidemux developers needed to grant avi compatibility with all players and not just mplayer.
Created attachment 77797 [details] main ebuild (need both 2 previous files) Main ebuild: put in /usr/local/portage/media-video/avidemux/ directory, and put avifix patch in the file/ subdirectory. Spidermonkey ebuild instead go in /usr/local/portage/dev-lang/spidermonkey/
Created attachment 77801 [details] main ebuild (need both 2 previous files) +esd use flag added esd use flag to let non-esd users to build.
Created attachment 77804 [details] main ebuild lacking only x264 support (need files: 2 and 3) Fixed jsapi.h location , tested working in a cleaner system.
Created attachment 77815 [details] avidemux-2.1.0-r1.ebuild (final, see comment) ok, here's also x264 support: 1) needs dev-lang/spidermonkey-1.5.ebuild (file 2 here) 2) needs media-video/avidemux/files/avidemux-avifix.patch (file 3 here) 3) if you want to try x264 support, needs x264-svn-20051004-r2.ebuild and x264-svn-sobuild.patch that you may find at http://bugs.gentoo.org/show_bug.cgi?id=115628 (point 3 is optional, not needed if you don't use x264)
When using the attached ebuild, I am having a problem using the sdl use flag. When it is not enabled everything compiles fine, and works great. When I enable the sdl use flag I receive this error. Please let me know what else I should provide to help with this problem. ADM_deviceSDL.cpp: In member function `virtual uint8_t sdlAudioDevice::setVolume(int)': ADM_deviceSDL.cpp:256: error: `alsaAudioDevice' was not declared in this scope ADM_deviceSDL.cpp:256: error: expected `;' before "dev" ADM_deviceSDL.cpp:257: error: `dev' was not declared in this scope make[3]: *** [ADM_deviceSDL.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/avidemux-2.1.0-r1/work/avidemux-2.1.0/avidemux/ADM_audiodevice' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.1.0-r1/work/avidemux-2.1.0/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.1.0-r1/work/avidemux-2.1.0' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.1.0-r1 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. emerge --info Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://distfiles.gentoo.org/pub/gentoo ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://ftp.fr.freesbie.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dga directfb dlloader dts dvdread eds emboss encode exif expat fam fbcon ffmpeg foomaticdb fortran gdbm gif gmp gpm gstreamer gtk2 hal idn imagemagick imlib ithreads java jikes jpeg junit kde kdeenablefinal lcms libg++ libwww lzo mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl pam pcre pdflib perl png ppds python qt quicktime readline real samba sdl spell sse ssl svga symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS sdl version info if this helps media-libs/libsdl-1.2.9-r1 media-libs/sdl-sound
I haven't any issue with SDL flag, my system is ~x86 with: media-libs/libsdl-1.2.9-r1 media-libs/sdl-sound-1.0.1-r2 Please try to emerge with -O2 cflag instead of -O3 ......
I changed it to -O2 and I am still reciving the same message. I forgot to attach my version of sdl-sound, but we are using identical versions.
hum, it's pretty sure that avidemux is sensible to CFLAGS (check ebuild, some are filtered out), so I suspect some of your unstandard ones are causing this, try to filter out everything except -O2 -march=athlon-xp -pipe -fomit-frame-pointer check if it compiles, and if yes readd them one by one please,I'll filter out the guilty one if I'm right (if I'm not, you could have a screwed sdl, sorry)
Created attachment 78476 [details] avidemux-2.1.1.ebuild Ok, this is new version of avidemux with some bugfixes, the avifix patch is now obsolete and some glitches are gone, test this one. Still optional use flag x264 requires lix264.so building ebuild : http://bugs.gentoo.org/show_bug.cgi?id=115628
op, forgot: spidermonkey-1.5.ebuild still suggested.
I will rebuild my sdl packages, and then filter my CFLAGS. If it matters the version in portage works compiles ok for me. Will update in a few mins when its done!
I filtered out my cflags here is my emerge --info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://distfiles.gentoo.org/pub/gentoo ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://ftp.fr.freesbie.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/etc/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 alsa apm avi berkdb bitmap-fonts bzip2 crypt cups dlloader dvdread eds emboss encode ffmpeg foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ithreads java jikes jpeg kde kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline samba sdl spell sse ssl symlink tcpd truetype truetype-fonts type1-fonts vorbis xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS With these changes I rebuilt both of my SDL packages. I then updated my avidemux ebuild to the new 2.1.1 version that is posted here. Upon building avidemux I still recive the same error :( If I remove the SDL flag builds ok. It looks like there is more information in the error this time around !!! ERROR: media-video/avidemux-2.1.1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile This is appended to the original error
I've actually been experiencing the same SDL problem...I've just been compiling without SDL for now...also the ESD use flag would cause the same problem. I've just been compiling avidemux without both of them for now...I don't really need them anyway.
kpex did another ebuild (is for 2.1.0 but will be updated if working) which also doesn't needs x264 patching (works without libx264.so) neither spidermonkey new ebuild. You can find at https://kpex.no-ip.org/kpex-media/media-video/avidemux/ check if SDL works with this one (libx264 blocking SDL in avidemux?)
No dice :( Just for the hell of it I am trying the cvs ebuild. Will update when its done.
CVS ebuild gives the same error as well.
Created attachment 78551 [details] avidemux-2.1.1.ebuild New 2.1.1.ebuild with changed source uri, plus warning for sdl and esd flags, plus kpex sed line to remove the need for libx264.so library (you may emerge with x264 and plain x264 from portage), also removed dependancy from the ebuild of spidermonkey as the last committed in portage seems to work. So actually only this ebuild is needed to build avidemux, just care of the warnings for sdl and esd flags.
New build works fine for me, with the except of SDL, but by showing the warning I guess we are going to move on from that. With regards to the warning. I would like to make a suggestion. The warning currently states * Warning: esd and sdl flags are not always * compatible with avidemux,please remove * (from /etc/portage/package.use) if you * experience emerge issues. The SDL flag on my system is within my make.defaults for my profile, so I never set it, it was already set. You might want to change your wording to ask people to add -sdl in their package.use, instead of remove it. Just a suggestion :)
*** Bug 121206 has been marked as a duplicate of this bug. ***
I have now been using avidemux-2.1.1 for some time. It emerged fine with the ebuild posted here. As it is a major improvement in user-friendliness it is a shame to see that it takes so long to put it in the testing-branch. I have now hit the first bug for avidemux-2.1.1. I found out that this bug has been fixed upstream. Check the following posting in the avidemux forum: http://www.avidemux.org/pun/viewtopic.php?id=1992 The developer suggests a patch, which I did not try as I did not know how to combine the patch with the ebuild. However after emerging the SVN.2.1 version the audio-sync problem I experienced was gone.
It builds fine on my amd64 box but not on ppc powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -I.. -I../ADM_lavutil -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_deviceEsd.o ADM_deviceEsd.cpp ADM_deviceSDL.cpp: In member function `virtual uint8_t sdlAudioDevice::setVolume(int)': ADM_deviceSDL.cpp:256: error: `alsaAudioDevice' was not declared in this scope ADM_deviceSDL.cpp:256: error: expected `;' before "dev" ADM_deviceSDL.cpp:257: error: `dev' was not declared in this scope make[3]: *** [ADM_deviceSDL.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/mnt/scratch/portage/avidemux-2.1.1/work/avidemux-2.1.1/avidemux/ADM_audiodevice' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/scratch/portage/avidemux-2.1.1/work/avidemux-2.1.1/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/scratch/portage/avidemux-2.1.1/work/avidemux-2.1.1' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.1.1 failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1_pre5-r2 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 ppc) ================================================================= System uname: 2.6.15-gentoo-r7 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -pipe -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache distlocks parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages/krikkit" PORTAGE_TMPDIR="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="ppc X alsa altivec apm artswrappersuid audiofile berkdb bitmap-fonts bluetooth bzip2 cddb cdr crypt cups curl dbus dv dvd emboss encode exif ffmpeg flac foomaticdb gdbm gif gimpprint gphoto2 gpm gtk gtk2 hal ieee1394 imagemagick imlib java jpeg kde kdeenablefinal libg++ libwww mad mng mono motif mp3 mpeg musicbrainz mysql ncurses nptl nptlonly offensive ogg oggvorbis opengl pdflib perl png ppds python qt quicktime readline sdl speex spell ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vhosts vorbis wifi xml xml2 xv zlib elibc_glibc kernel_linux linguas_en_GB userland_GNU" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Created attachment 81274 [details] log of failed ppc emerge
there is a new version available ... I simply renamed the hereby provided ebuild to avidemux-2.1.2.ebuild and it works for me (on AMD64) err, not so easy, I forgot USE="-sdl" for the first try and I've got the same compile error as in comment #11 and comment #27
The updated version worked for me as well. Thanks for the info. I still have issues with sdl but I don't need it, so it doesn't bother me. However since sdl is within the make.default, I think that it might be one of the hold ups as to why this package has not been released. If there is anything that I can do to help move this package along please let me know. Although I think it may com down to doing it ourselves to get it out the door. Speaking for myself, I wouldn't know where to start with some of the problems that we are reciving. I don't mean any offence to any mantiners, it just seems like this problem has gone stale.
(In reply to comment #30) > However since sdl is within the make.default, I think that it might be one of > the hold ups as to why this package has not been released. Unfortunately, the sdl problem is really only one of many :-( When I said "works for me" in the previous comment, I've meant that I can build it using the provided ebuild and I am able to start it but ... it crashes on each attempt to use some of the filters (the "smart" deinterlace to name one). I am afraid that a lot of problems should be solved upstream before this may go stable (at least on AMD64 - I am using the 2.x on Mandriva x86 and it does not crash).
(In reply to comment #31) > I am afraid that a lot of problems should be solved upstream before this may go You do make a good point, I didn't think of that.
*** Bug 125984 has been marked as a duplicate of this bug. ***
Created attachment 82230 [details] avidemux-2.1.2.ebuild It looks like a new version has been released. I renamed the 2.1.1 ebuild downloaded from here, and it seemed to have compiled properly.
New ebuild for 2.1.2 compiles and runs fine for me on x86 (with a few packages unmasked). Here's my USE flag breakdown: $ emerge -pv avidemux These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/avidemux-2.1.2 +a52 +aac +alsa (-altivec) -arts +encode +esd +mad +nls +oss +sdl +truetype +vorbis +x264 +xv +xvid 0 kB [1] Made a VOB from an MPEG2/MP2 stream, audio/video sync problem appears to be gone. Thanks! :)
(In reply to comment #35) > New ebuild for 2.1.2 compiles and runs fine for me on x86 (with a few packages > unmasked). Here's my USE flag breakdown: > > $ emerge -pv avidemux > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] media-video/avidemux-2.1.2 +a52 +aac +alsa (-altivec) -arts > +encode +esd +mad +nls +oss +sdl +truetype +vorbis +x264 +xv +xvid 0 kB [1] > > Made a VOB from an MPEG2/MP2 stream, audio/video sync problem appears to be > gone. Thanks! :) > So you were able to emerge the package using the sdl use flag? Can you please post your libsdl, sdl-sound versions, and emerge --info.
Here you go: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/libsdl-1.2.9-r1 +X -aalib +alsa -arts +dga -directfb +esd +fbcon +ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss +svga -xinerama +xv 2,625 kB [ebuild R ] media-libs/sdl-sound-1.0.1-r1 +flac +mikmod -physfs +speex +vorbis 0 kB Total size of downloads: 2,625 kB Gentoo Base System version 1.6.14 Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) MP 2800+ distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.1.3-r1, 2.2.3-r5, 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/" LC_ALL="en_US" LINGUAS="en" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/data/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://homeserver-02/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X Xaw3d a52 aac acl acpi acpi4linux adns alsa apache2 audiofile avi bash-completion berkdb bonobo browserplugin bzip2 cdda cddb cdparanoia cdr cli crypt cscope css ctype cups curl dba dga dri dts dv dvd dvdr dvdread eds emboss encode escreen esd ethereal evms2 evo exif expat faad fam fame fastbuild fastcgi fbcon ffmpeg flac flash font-server foomaticdb force-cgi-redirect fortran frontendonly ftp gb gd gdbm ggi gif gimp gimpprint glut gmp gnome gphoto2 gpm gssapi gstreamer gtk gtk2 gtkhtml guile hbci httpd idn imagemagick imap imlib jabber java jikes joystick jpeg junit kerberos krb4 lcms ldap libg++ libwww live lm_sensors lua lzo lzw-tiff mad maildir matroska mcal mdb memlimit mhash mikmod ming mjpeg mldonkeypango mmx mng motif mozilla mozp3p mozsvg mozxmlterm mp3 mp4 mpeg mpeg2 mpeg4 mplayer mpm-prefork musicbrainz mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net network nls nocd nptl nptlonly nsplugin ntlm nvidia odbc offensive ofx ogg openal opengl oss pam pam_chroot pam_console pam_timestamp pcap pcre pda pdflib perl png pnp posix postgres ppds python quicktime readline recode rogue rtc ruby samba sasl scanner sdl session silc simplexml slang smp snmp soap sockets socks5 softmmu speex spell spl sse ssl stream svg svga tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 videos vim-with-x visualization vorbis win32codecs winbind wmf wxwindows x264 xchattext xine xml xml2 xosd xpm xrandr xsl xtended xv xvid xvmc yahoo yv12 zeo zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS
I am receiving an error in compilation of ADM_deviceSDL.cpp and ADM_deviceEsd.cpp. I believe it is because these do not include ADM_deviceALSA.h even though they have references to the type "alsaAudioDevice". Make output follows: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -I.. -I../ADM_lavutil -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O4 -O2 -falign-loops=16 -c -o ADM_deviceEsd.o ADM_deviceEsd.cpp ADM_deviceSDL.cpp: In member function `virtual uint8_t sdlAudioDevice::setVolume(int)': ADM_deviceSDL.cpp:256: error: `alsaAudioDevice' undeclared (first use this function) ADM_deviceSDL.cpp:256: error: (Each undeclared identifier is reported only once for each function it appears in.) ADM_deviceSDL.cpp:256: error: expected `;' before "dev" ADM_deviceSDL.cpp:257: error: `dev' undeclared (first use this function) make[3]: *** [ADM_deviceSDL.o] Error 1 make[3]: *** Waiting for unfinished jobs.... ADM_deviceEsd.cpp: In member function `virtual uint8_t esdAudioDevice::setVolume(int)': ADM_deviceEsd.cpp:102: error: `alsaAudioDevice' undeclared (first use this function) ADM_deviceEsd.cpp:102: error: (Each undeclared identifier is reported only once for each function it appears in.) ADM_deviceEsd.cpp:102: error: expected `;' before "dev" ADM_deviceEsd.cpp:103: error: `dev' undeclared (first use this function) make[3]: *** [ADM_deviceEsd.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.1.2/work/avidemux-2.1.2/avidemux/ADM_audiodevice' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.1.2/work/avidemux-2.1.2/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.1.2/work/avidemux-2.1.2' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.1.2 failed. !!! Function src_compile, Line 101, Exitcode 2 !!! emake failed
(In reply to comment #37) > Here you go: > > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] media-libs/libsdl-1.2.9-r1 +X -aalib +alsa -arts +dga > -directfb +esd +fbcon +ggi -libcaca -nas -noaudio -noflagstrip -nojoystick > -novideo +opengl +oss +svga -xinerama +xv 2,625 kB > [ebuild R ] media-libs/sdl-sound-1.0.1-r1 +flac +mikmod -physfs +speex > +vorbis 0 kB > > Total size of downloads: 2,625 kB Thanks for your info. I went ahead and tried to build sdl-sound and libsdl in the same way that you have. I was able to get sdl-sound to build properly with your version and flags. However libsdl was a bit tricky. I was able to get it to build with everything but ggi. Since the ggi version in portage does does not support the latest glibc in unstable, there are some new ebuilds that some one created, and I was having some problems with them. With the same versions and everything compiled with your use flags minus the ggi useflag, the problem still exists. So, still no dice on the sdl use flag issue. hahahah, it was worth a shot! Thanks again, for posting your info.
when will this be in portage tree? (especially since the only blocking bug has a note that the problems described there are fixed in >= 2.1.0)?
I suppose when either the upstream configure is fixed or when someone will update the patchset to fix the same issues in the latest version. Myself, I spent already two days during pre-releases working on it, sending all the patches to upstream, just to see almost all of them not applying anymore because of stylistic changes, and only a couple actually applied.
I think that oss is a requirement. I was getting the same build errors until I added: media-video/avidemux oss to my /etc/portage/package.use I left everything else the same. Ken
(In reply to comment #42) > I think that oss is a requirement. I do not think so, since I successfully recompiled avidemux with: # USE="-sdl" emerge -av --oneshot avidemux These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/avidemux-2.1.2 +a52 +aac +alsa (-altivec) -arts +encode -esd +mad +nls -oss -sdl +truetype +vorbis -x264 +xv +xvid 0 kB [1] or do you mean that oss is a requirement for sdl? - when I set these two together, it compiles too ... it compiles even with oss alone, the only combination that does not work is -oss +sdl which gives the error already mentioned several times (e.g. in comment #11) btw, in comment #31 I mention that the new Avidemux does not crash on Mandriva on x86 ... well this is not true, I have found that it crashes when trying to append some of the clips that I dvgrab-bed last week :-(
(In reply to comment #43) > or do you mean that oss is a requirement for sdl? > - when I set these two together, it compiles too ... it compiles even with oss > alone, the only combination that does not work is -oss +sdl which gives the > error already mentioned several times (e.g. in comment #11) Yes, I meant in order to compile with +sdl, +oss also has to be used. Looking through this entire list, nobody has mentioned this as a fix to use +sdl.
Created attachment 86554 [details, diff] patch for missing include in ADM_deviceSDL (fixes compile problems) just saw this bug as I was trying to get avidemux 2.1.2 to compile too. The fix for the reported problem with SDL, ALSA and avidemux is easy to fix: there is only an include missing. I have attached a one-line patch for it. below you will find also an ebuild which properly applies the patch. (just put patch in the files dir in your avidemux overlay) I hope I could be of help...
Created attachment 86555 [details] ebuild which applies compilation fix for ADM_deviceSDL... just added one epatch line so the ADM_deviceSDL compile fix (which has to be located in the files dir of your avidemux overlay) gets applied.
It works flawlessly with the lastest ebuild and the patch for missing include in ADM device SDL.
Created attachment 87362 [details] My emerge --info Sorry this is my emerge --info . Thanks for this ebuild.
*** Bug 136814 has been marked as a duplicate of this bug. ***
Comment on attachment 82230 [details] avidemux-2.1.2.ebuild fixing mime type of ebuild
Created attachment 90300 [details] avidemux-2.2.0_beta2 I have trivial changes to ebuild, hopefuly it will work...
(In reply to comment #51) > avidemux-2.2.0_beta2 Just for caution: It should be clear that avidemux-2.2 is the current development branch, so not the version that is intended for the general public. Latest stable version of avidemux is the 2.1.2 version from the 2.1 branch.
Hi, Is there any reason why the stable avidemux-2.1.2 is not in cvs while the 2.1 preview is there? Please, can someone update avidemux in cvs? Thanks
i'm on AMD64, building avidemux 2.1.2 with esd activated i've the same problem (later patched) of the missing include of ADM_deviceALSA.h in ADM_deviceEsd.cpp... maybe i'll test a patched version (something like the previous) but not this night... someone have same problem? or better made the patch? let know! tnx!
I _know_ every dev is a busy dev with Gentoo, and appreciate your work, but is this package without a maintainer now? We'd love to just have a release of the upstream stable. I'm using 2.1.2 on x86 (with a mostly stable system), and, while it still has bugs, as do many of the multimedia creation programs in Linux, it works pretty well. It's been out for quite some time now (5 months). Thanks.
Created attachment 95145 [details, diff] media-libs/x264-svn-20060810 compatibility fix backport Hi, I've just backported the fix to compile against the latest x264-svn from avidemux svn branch 2.3 to avidemux 2.2-preview2 tarball. Here is my patch, the ebuild is coming.
Created attachment 95146 [details, diff] A simple fix for parallel build with nls This is a simple fix to the makefile.in.in file to prevent errors when using parallel build.
Created attachment 95147 [details] The ebuild applying those patches. I've also made some more or less cosmetic changes to the ebuild : named _pre2 in order to respect gentoo naming policy and be as close as possible to upstream name added the two epatch lines of course ;) removed the following lines : - sed -i -e 's/x264=no,-lm/x264=no,-lm -lX11/' configure.in.in || die "sed failed." From what I've understood from the build system, -lX11 is not appended to ld flags only if built under cygwin, I think we can remove it safely. - gmake -f Makefile.dist || die "autotools failed." Only needed when built from a cvs checkout, this is not needed with this should not be needed with this tarball. Fixed some weird spacings. Fixed icon location path, it was not installed with the previous ebuild. I've left the three keywords (~amd64 ~ppc ~x86) but I've only been able to test it on ~amd64, so please test it ;) Everything seems to work fine on my system with that ebuild and the latest x264-svn, I've been able to export a video with some filters enabled to x264 video. Regards, Alexis.
Compiles and works on my ~amd64 # emerge --info Portage 2.1.1_rc1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r6! x86_64) ================================================================= System uname: 2.6.17-gentoo-r6! x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.4 Last Sync: Sat, 26 Aug 2006 10:20:01 +0000 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.20_alpha2 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17.50.0.3 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe" DISTDIR="/300GB/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="cs" MAKEOPTS="-j3" PKGDIR="/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/20GB/var/tmp" PORTDIR="/portage" PORTDIR_OVERLAY="/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acl acpi alsa apache2 asf avi bitmap-fonts bzip2 cairo cdparanoia cdr cli css cups curl curlwrappers custom-cflags cvs dbus dga dts dvd dvdr dvdread elibc_glibc emboss enca encode expat fbcon ffmpeg firefox flash ftp fuse gcc64 gd gdbm gif gpm hal iconv id3 id3v2 imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog jabber javascript jingle jpeg kde kdeenablefinal kernel_linux lame lcms libg++ linguas_cs mad matroska mime mp3 mpeg mplayer mpm-event ncurses nls nowebdav nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pdflib pic png posix ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session sockets spl ssl subversion svg symlink theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nvidia vorbis wma xcomposite xine xml xml2 xorg xpm xrandr xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
I have ebuilds in my overlay for spidermonkey with threadsafe support, current x264-svn and Avidemux 2.3 subversion branch (it's only that arts support doesn't seem to work, but it works fine with alsa). People tracking this bug might be interested in those. See http://berkano.net/bits/2006/09/20/gentoo-overlay Also, 2.3-preview1 has recently been released. This version should be much more useful for most people. It should be easy enough to adapt my subversion ebuild for that. I might add one to my overlay.
This bug is already a huge mess, 2.2 has been dropped upstream, so please move to Bug 150175 (which has an ebuild for 2.3_pre2 that hopefully doesn't require backporting tons of stuff. *** This bug has been marked as a duplicate of 150175 ***