Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341775 - media-video/2mandvd: version bump and improved ebuild
Summary: media-video/2mandvd: version bump and improved ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tomás Touceda (RETIRED)
URL: http://kde-apps.org/content/show.php?...
Whiteboard:
Keywords: EBUILD, Inclusion
Depends on:
Blocks:
 
Reported: 2010-10-19 14:22 UTC by Zorzo Luca
Modified: 2011-04-22 17:32 UTC (History)
6 users (show)

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


Attachments
Ebuild (2mandvd-1.4.2.ebuild,2.56 KB, text/plain)
2010-10-19 14:23 UTC, Zorzo Luca
Details
Ebuild. Patches and Manifest (2mandvd.tar.gz,2.46 KB, application/octet-stream)
2010-10-19 14:29 UTC, Zorzo Luca
Details
media-video/2mandvd-1.4.3 - ebuild: Version bump (2mandvd-1.4.3.ebuild,2.63 KB, text/plain)
2010-10-28 11:06 UTC, Zorzo Luca
Details
media-video/2mandvd-1.4.3 - ebuild, patches and manifest : Version bump (2mandvd-1.4.3.tar.gz,2.11 KB, application/octet-stream)
2010-10-28 11:09 UTC, Zorzo Luca
Details
media-video/2mandvd-1.4.4 - ebuild: Version bump (2mandvd-1.4.4.ebuild,2.63 KB, text/plain)
2010-11-08 09:45 UTC, Zorzo Luca
Details
media-video/2mandvd-1.4.4 - ebuild, patches and manifest : Version bump (2mandvd-1.4.4.tar.gz,2.11 KB, application/octet-stream)
2010-11-08 09:47 UTC, Zorzo Luca
Details
media-video/2mandvd-1.5.1 - ebuild: Version bump (2mandvd-1.5.1.ebuild,2.61 KB, text/plain)
2010-12-16 19:10 UTC, Zorzo Luca
Details
media-video/2mandvd-1.5.1 - ebuild, patches and manifest: Version bump (2mandvd-1.5.1.tar.gz,2.53 KB, application/octet-stream)
2010-12-16 19:13 UTC, Zorzo Luca
Details
1.5.3 ebuild file (2mandvd-1.5.3.ebuild,2.61 KB, text/plain)
2011-02-23 23:48 UTC, Alessandro Surace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zorzo Luca 2010-10-19 14:22:11 UTC
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
Comment 1 Zorzo Luca 2010-10-19 14:23:34 UTC
Created attachment 251263 [details]
Ebuild

2mandvd-1.4.2.ebuild
Comment 2 Zorzo Luca 2010-10-19 14:29:24 UTC
Created attachment 251265 [details]
Ebuild. Patches and Manifest

Ebuild. Patches and Manifest
Comment 3 Zorzo Luca 2010-10-28 11:06:17 UTC
Created attachment 252349 [details]
media-video/2mandvd-1.4.3 - ebuild: Version bump
Comment 4 Zorzo Luca 2010-10-28 11:09:42 UTC
Created attachment 252351 [details]
media-video/2mandvd-1.4.3 - ebuild, patches and manifest : Version bump

Version bump + ebuild fixes.
Comment 5 Zorzo Luca 2010-11-08 09:45:31 UTC
Created attachment 253599 [details]
media-video/2mandvd-1.4.4 - ebuild: Version bump
Comment 6 Zorzo Luca 2010-11-08 09:47:46 UTC
Created attachment 253601 [details]
media-video/2mandvd-1.4.4 - ebuild, patches and manifest : Version bump
Comment 7 Zorzo Luca 2010-12-16 19:10:20 UTC
Created attachment 257349 [details]
media-video/2mandvd-1.5.1 - ebuild: Version bump
Comment 8 Zorzo Luca 2010-12-16 19:13:11 UTC
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.
Comment 9 Alessandro Surace 2011-02-23 23:26:56 UTC
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
Comment 10 Alessandro Surace 2011-02-23 23:47:35 UTC
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.
Comment 11 Alessandro Surace 2011-02-23 23:48:26 UTC
Created attachment 263653 [details]
1.5.3 ebuild file
Comment 12 Tomás Touceda (RETIRED) gentoo-dev 2011-04-22 16:01:18 UTC
Bumped to version 1.5.5. Sorry for the delay.

Thanks Zorzo and Alessandro!
Comment 13 Zorzo Luca 2011-04-22 17:32:58 UTC
(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.