took the ebuild from here http://bugs.gentoo.org/show_bug.cgi?id=14511 and updated it to the newest version. added RDEPEND to explicitly use qt2 as it won't build with qt3 (?) also edited the third line (the commented one), please check correctness this is also my first time, so be gentle if something breaks.. greets, peter aka nephros Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 7929 [details] the ebuild v1.0
*** Bug 14511 has been marked as a duplicate of this bug. ***
*** Bug 15120 has been marked as a duplicate of this bug. ***
Mike, wanna have a look if you got the time ?
This ebuild doesn't fix bug 15120. >>> Merging media-video/nvclock-0.6.2 to / --- /bin/ >>> /bin/nvclock_gtk >>> /bin/nvclock >>> /share/ >>> /share/doc/ >>> /share/doc/nvclock/ >>> /share/doc/nvclock/COPYING >>> /share/doc/nvclock/INSTALL >>> /share/doc/nvclock/AUTHORS >>> /share/doc/nvclock/ChangeLog >>> /share/doc/nvclock/FAQ >>> /share/doc/nvclock/NEWS >>> /share/doc/nvclock/README >>> /share/doc/nvclock/ABOUT .... And theres either something wrong with the configure script or the way gentoo installs qt3 that breaks it with qt3. The docs say that it has support for qt2/qt3.
Heres the qt configure error if I change the ebuild to use qt3: checking for Qt >= 2.2.0... ./configure: QTDIR: command not found ./configure: -L/usr/qt/3: No such file or directory ./configure: QTDIR: command not found then it compiles and chokes when it cant include random qt stuff. This is with qt-3.0.5-r2
Created attachment 7954 [details] nvclock-0.6.2.ebuild Fixes the docs in /share problem :)
Created attachment 7955 [details] REAL nvclock-0.6.2.ebuild Forgot to take a echo statement out that I was using to see why it installed to /share.
mine now if you dont mind az ;)
Created attachment 7981 [details] nvclock-0.6.2.tbz2 could you guys test this version out ?
works good except it builds the qt gui when USE="-qt". It works with qt3 as well, but the ebuild wants =x11-libs/qt-2*, so the only way to get the gui and not downgrade qt is to disable qt...kindof strange :)
the fact it still relies on qt-2 is a typo ;) it should be utilizing qt-3 ... as for -qt ... i'll look into that ... ive noticed the configure script appears to be badly broken ...
this configure script is pretty freaking broken, it may take some time to figure out what is wrong with it
ok, maybe not as long as i thought :) i added a configure.in patch and e-mailed upstream authors about it ... in the meantime, 0.6.2 is now in portage ;) i hardcoded the ebuild to qt3 since it's (1) newer and (2) i couldnt get qt-2 to compile with this http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-video/nvclock/nvclock-0.6.2.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-video/nvclock/files/0.6.2-configure.in.patch?rev=1.1&content-type=text/vnd.viewcvs-markup
bug is now fixed