From the homepage: "Klear is a graphical TV application (with KDE integration) for recording video streams from your DVB device and watching TV with all advantages of digital television (like EPG, OSD, Timeshiftin, videotext, and so on)." Klear is currently under heavy development. For more details see http://www.klear.org/. I have written an ebuild for this great program. Please add it to the portage tree. I would like to maintain it.
Created attachment 68337 [details] klear-0.4.1 ebuild Here's the ebuild.
Please fix the following and reopen: * http://dev.gentoo.org/~ciaranm/docs/mw-faq/emake.txt * http://dev.gentoo.org/~ciaranm/docs/mw-faq/license.txt * http://dev.gentoo.org/~ciaranm/docs/mw-faq/docfiles.txt
Created attachment 68450 [details] Corrected ebuild Sorry about that. It was my first ebuild. I hope now everything is correct. Thanks!
reopened
Hrm, does it work with econf rather than emake? If it does, you can remove the src_compile entirely. If it doesn't, please include a comment saying that ./configure is needed over econf. Please reopen with a new ebuild either way and I'll tag this as REVIEWED.
It would work if I removed the src_compile entry, but Klear uses a self-made configure script and not the common one. Due to this fact using econf produces errors like "Unknown option: p" and so on. Currently the configure script isn't a real configure script. It only checks if the required files are found. The paths are hard-coded into the source. Then qmake is executed. So you could replace ./configure with qmake. I decided to use ./configure instead of qmake because the output might be useful if someone has problems with compiling Klear. Somewhere in the future there will be a real configure script, too.
Created attachment 68497 [details] klear-0.4.1.ebuild Added comment
Created attachment 71126 [details] klear-0.5.0.ebuild Version bump
Created attachment 71520 [details] klear-0.5.1.ebuild New ebuild for version 0.5.1. You need the attached patch below. Hopefully Klear will be soon added to the portage tree.
Created attachment 71521 [details, diff] klear-0.5.1-qt.patch Required patch for Klear 0.5.1
Created attachment 73530 [details] klear-0.5.3.ebuild Here's an updated version of klear. It now uses scons for configuration.
*sigh* It can't be built with latest portage ... QA Notice: the following files contain insecure RUNPATH's Please file a bug about this at http://bugs.gentoo.org/ For more information on this issue, kindly review: http://bugs.gentoo.org/81745 /var/tmp/portage/klear-0.5.3/image/usr/kde/3.5/lib/kde3:/usr/kde/3.5/lib:/var/tmp/portage/klear-0.5.3/image/usr/kde/3.5/lib usr/kde/3.5/bin/klear
If you want to install it anyway you can use FEATURES="-sandbox" emerge klear which is a very bad thing to do, but it works. Anyway klear has some bugs right now ( No maximize of window under GNOME, configuratiion directory had to be created manually by me, ... ). But it looks promising.
Is there any progress in here? i can't install klear via ebuild, because i get the same error as "Christoph Brill" and disabling sandbox doesn't seem to work here Emerge just stops after building the source: [code] scons: done building targets. man: prepallstrip: strip: x86_64-pc-linux-gnu-strip --strip-unneeded usr/kde/3.5/bin/klear [/code] Btw. they just released klear v0.5.4
@Ruben: Don't forget the dodoc and doman command if you write an ebuild. @Christoph: I have got the same problem with latest portage. I don't know how to fix the insecure RUNPATH's problem because I don't know what this means. Maybe a dev can help? @Norman: Disabling sandbox does not help. If you find bugs in Klear please contact one of the developers. You can find contact information on their homepage. There is also a forum. If you don't help reporting bugs, Klear won't become better. @borisdigital: I know that v0.5.4 got released. I have already written a new ebuild but as long as the problem with the insecure runpath persits publishing it won't help.
FEATURES="-sandbox" did work for the version at that time. The bugs I know have already been reported.
- inheriting eutils or kde-functions is not needed, since you don't call any of its functions - scons is not a runtime dependency - src_unpack() is superfluous - you call kde-config, but miss kdelibs as compile time* dependency
Created attachment 79716 [details] klear-0.5.4.ebuild Thank you for your post Carsten. Yes, we don't need to inherit eutils anymore. Ruben probably only copy and pasted from the old ebuild. v0.5.1 required some patching. Of course then we also don't need the src_unpack function if we don't apply a patch. Inheriting kde-functions is required in order to avoid some sandbox access violations during compilation. I don't know if there's a better way to fix this. I would also not call kde-config. I order to avoid problems we should install Klear to /usr/bin/klear. Your second point I don't understand. Like you said scons is not a runtime dependency. Therefore we have listed it in the DEPEND section and not in RDEPEND. What's wrong with it? I have attached my ebuild for the latest version. Comments are welcome. We also still need help with the insecure RUNPATH problem.
*** Bug 145179 has been marked as a duplicate of this bug. ***
I just have copied the 0.5.4 ebuild to 0.6.0, added ~amd64 to KEYWORDS and successfully emerged the brand new klear 0.6.0 on my AMD64
Created attachment 99930 [details] klear-0.6.0.ebuild Version bump. Added ~amd64 keyword. There is still a warning about insecure RUNPATHs but it compiles fine.
Hi, I am using paludis and both the 0.5.4 and the 0.6.0 ebuild fail for me with the follwing error: ... >>> Starting src_compile scons: Reading SConscript files ... ** installation prefix for the project set to: /var/tmp/paludis/media-tv-klear-0.5.4/image/usr Checking for kde-config : kde-config was NOT found in your PATH Make sure kde is installed properly (missing package kdebase-devel?) ... I don't have any kde packages installed, do I need to install them or does this ebuild need another dependency on some kde stuff ? Or is it paludis doing something wrong ?
Created attachment 186047 [details, diff] scons-chmod.patch
Created attachment 186049 [details] klear-0.6.1.ebuild
O.K., this is my attempt at getting Klear running. :) I could successfully emerge and run klear on x86. I can't say anything about amd64, however. If the error reported by Benjamin should still occur, the following lines added to the beginning of src_compile might help: local myconf="kdeincludes=$(kde-config --prefix)/include prefix=/usr " use amd64 && myconf="${myconf} libsuffix=64" One problem remains, though. The channel files (for DVB-C) from klear.org don't seem to work.
klear 0.6.1 fails to merge with errors: scons: *** [build/src/GUI/Controller/CKlearControllerEPGMain.o] Error 1 [cut] scons: *** [build/src/GUI/Controller/CKlearControllerEPGMain_moc.o] Error 1 [cut] scons: building terminated because of errors. in the cut lines there are some warning that seems not to be interesting. The emerge of scons-1.2.0-r1 exits succesfully. Same problem with the 0.6.0 ebuild. Any idea?
Upstream looks unmaintained (last update was on 2006-07-22). Can this bug be rejected please?