Portage's media-video/2mandvd-1.3.5 and 1.4 doesn't work, as ebuilds have some imperfection: - Wrong and not organized dependencies. - Wrong languages. - If executable has a different name then the original one (2ManDVD vs 2mandvd) program won't start correctly due to error "ERROR OPENING MEDIA IN ...". I fixed all this issues as well as I can, especially the third where i used a sed instead of a patch so it will be more simple to maintain also when names change. Reproducible: Always
Created attachment 251263 [details] Ebuild 2mandvd-1.4.2.ebuild
Created attachment 251265 [details] Ebuild. Patches and Manifest Ebuild. Patches and Manifest
Created attachment 252349 [details] media-video/2mandvd-1.4.3 - ebuild: Version bump
Created attachment 252351 [details] media-video/2mandvd-1.4.3 - ebuild, patches and manifest : Version bump Version bump + ebuild fixes.
Created attachment 253599 [details] media-video/2mandvd-1.4.4 - ebuild: Version bump
Created attachment 253601 [details] media-video/2mandvd-1.4.4 - ebuild, patches and manifest : Version bump
Created attachment 257349 [details] media-video/2mandvd-1.5.1 - ebuild: Version bump
Created attachment 257351 [details] media-video/2mandvd-1.5.1 - ebuild, patches and manifest: Version bump Attention: old projects are incompatible with this new release.
Hi dear, 1.5.1 is not more available. I've modified the ebuild removing the patch but with the last source 1.5.3 I get some error on build: /usr/bin/moc -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/boot/share/qt4/mkspecs/linux-g++ -I. -I/boot/include/qt4/QtCore -I/boot/include/qt4/QtGui -I/boot/include/qt4/QtOpenGL -I/boot/include/qt4/QtWebKit -I/boot/include/qt4 -I/usr/lib64 -I/usr/X11R6/include -I. -I. thptradia.h -o moc_thptradia.cpp /usr/bin/rcc -name interface interface.qrc -o qrc_interface.cpp interface.qrc: Warning: potential duplicate alias detected: 'execute.png' interface.qrc: Warning: potential duplicate alias detected: 'son.png' interface.qrc: Warning: potential duplicate alias detected: 'media3.png' x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/boot/share/qt4/mkspecs/linux-g++ -I. -I/boot/include/qt4/QtCore -I/boot/include/qt4/QtGui -I/boot/include/qt4/QtOpenGL -I/boot/include/qt4/QtWebKit -I/boot/include/qt4 -I/usr/lib64 -I/usr/X11R6/include -I. -I. -o main.o main.cpp x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/boot/share/qt4/mkspecs/linux-g++ -I. -I/boot/include/qt4/QtCore -I/boot/include/qt4/QtGui -I/boot/include/qt4/QtOpenGL -I/boot/include/qt4/QtWebKit -I/boot/include/qt4 -I/usr/lib64 -I/usr/X11R6/include -I. -I. -o mainfrm.o mainfrm.cpp x86_64-pc-linux-gnu-g++ -c -pipe -march=core2 -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/boot/share/qt4/mkspecs/linux-g++ -I. -I/boot/include/qt4/QtCore -I/boot/include/qt4/QtGui -I/boot/include/qt4/QtOpenGL -I/boot/include/qt4/QtWebKit -I/boot/include/qt4 -I/usr/lib64 -I/usr/X11R6/include -I. -I. -o player.o player.cpp mainfrm.cpp: In constructor ‘mainfrm::mainfrm(QWidget*)’: mainfrm.cpp:1404: error: invalid operands of types ‘const char [5]’ and ‘const char [27]’ to binary ‘operator+’ make: *** [mainfrm.o] Error 1 make: *** Waiting for unfinished jobs.... emake failed
I've modified the ebuild to use only the const-char-concatenation.patch patch and now the build finish correctly. I've attached the new ebuild file.
Created attachment 263653 [details] 1.5.3 ebuild file
Bumped to version 1.5.5. Sorry for the delay. Thanks Zorzo and Alessandro!
(In reply to comment #12) > Bumped to version 1.5.5. Sorry for the delay. > > Thanks Zorzo and Alessandro! Thanks to you. I think that find's "|| die" should be removed.