GOPchop is a MPEG2 video, GOP-accurate editor. It allows you to extract or remove portions of an MPEG2 video file, without reencoding or causing corruption. Reproducible: Always Steps to Reproduce:
Created attachment 36316 [details] gopchop-1.0.0.ebuild ebuild for GOPchop v1.0.0 (stable)
Created attachment 36317 [details] gopchop-1.1.3.ebuild ebuild for GOPchop v1.1.3 (development version).
I have included the development version, because the stable version is old and lacks necessary capabilities.
I'd like to see gopchop in portage as well.
Created attachment 45904 [details] gopchop-1.1.3-r1.ebuild add patch "LC_ALL" error; add #incude <locale.h> to Main.cpp
Created attachment 45905 [details] files/gopchop-1.1.3.patch
root@secures /var/tmp/portage/gopchop-1.1.3-r1/work/gopchop-1.1.3/src # make if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -mtune=pentium4 -mmmx -msse -O2 -ftracer -fomit-frame-pointer -pipe -MT Main.o -MD -MP -MF ".deps/Main.Tpo" \ -c -o Main.o `test -f 'Main.cpp' || echo './'`Main.cpp; \ then mv -f ".deps/Main.Tpo" ".deps/Main.Po"; \ else rm -f ".deps/Main.Tpo"; exit 1; \ fi Main.cpp: In function `void show_error(char*)': Main.cpp:260: error: ISO C++ forbids cast to non-reference type used as lvalue Main.cpp: In function `void show_GOP(uint32_t)': Main.cpp:1287: error: ISO C++ forbids cast to non-reference type used as lvalue Main.cpp:1304: error: ISO C++ forbids cast to non-reference type used as lvalue make: *** [Main.o] Error 1 Compile seems to be having issues. This needs to get fixed upstream before I can commit. Thanks for reporting and using Gentoo!
Version 1.1.7 is out, and it doesn't seem to suffer from the compilation problems that 1.1.3 had been suffering from. I'll attach an updated ebuild in just a second.
Created attachment 64004 [details] gopchop-1.1.7.ebuild Not many changes here. The project homepage has moved to http://gopchop.sf.net/. It doesn't require the patch given for 1.1.3, so that's been taken out. I put in a small sed statement so that the program correctly finds its pixmaps once it's been installed (otherwise it looks in /usr/share/pixmaps instead of /usr/share/pixmaps/gopchop). Also added in some dodoc statements for the usual READMEs, etc. Enjoy!