Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105775 - media-tv/klear-0.4.1 (new ebuild)
Summary: media-tv/klear-0.4.1 (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://www.klear.org/
Whiteboard:
Keywords: EBUILD, REVIEWED
: 145179 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-13 01:59 UTC by gentoolinux
Modified: 2018-06-07 18:25 UTC (History)
7 users (show)

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


Attachments
klear-0.4.1 ebuild (klear-0.4.1.ebuild,556 bytes, text/plain)
2005-09-13 01:59 UTC, gentoolinux
Details
Corrected ebuild (klear-0.4.1.ebuild,662 bytes, text/plain)
2005-09-14 04:26 UTC, gentoolinux
Details
klear-0.4.1.ebuild (klear-0.4.1.ebuild,723 bytes, text/plain)
2005-09-15 04:15 UTC, gentoolinux
Details
klear-0.5.0.ebuild (klear-0.5.0.ebuild,723 bytes, text/plain)
2005-10-21 08:54 UTC, gentoolinux
Details
klear-0.5.1.ebuild (klear-0.5.1.ebuild,799 bytes, text/plain)
2005-10-26 12:09 UTC, gentoolinux
Details
klear-0.5.1-qt.patch (klear-0.5.1-qt.patch,3.77 KB, patch)
2005-10-26 12:10 UTC, gentoolinux
Details | Diff
klear-0.5.3.ebuild (klear-0.5.3.ebuild,647 bytes, text/plain)
2005-11-24 15:08 UTC, Ruben Jenster
Details
klear-0.5.4.ebuild (klear-0.5.4.ebuild,703 bytes, text/plain)
2006-02-13 10:56 UTC, gentoolinux
Details
klear-0.6.0.ebuild (klear-0.6.0.ebuild,700 bytes, text/plain)
2006-10-18 03:13 UTC, gentoolinux
Details
scons-chmod.patch (scons-chmod.patch,601 bytes, patch)
2009-03-23 21:44 UTC, Juergen Nagel
Details | Diff
klear-0.6.1.ebuild (klear-0.6.1.ebuild,823 bytes, text/plain)
2009-03-23 21:48 UTC, Juergen Nagel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoolinux 2005-09-13 01:59:02 UTC
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.
Comment 1 gentoolinux 2005-09-13 01:59:57 UTC
Created attachment 68337 [details]
klear-0.4.1 ebuild

Here's the ebuild.
Comment 3 gentoolinux 2005-09-14 04:26:54 UTC
Created attachment 68450 [details]
Corrected ebuild

Sorry about that. It was my first ebuild. I hope now everything is correct.
Thanks!
Comment 4 gentoolinux 2005-09-14 04:29:17 UTC
reopened
Comment 5 Ciaran McCreesh 2005-09-14 12:07:55 UTC
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.
Comment 6 gentoolinux 2005-09-15 04:14:38 UTC
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.
Comment 7 gentoolinux 2005-09-15 04:15:45 UTC
Created attachment 68497 [details]
klear-0.4.1.ebuild

Added comment
Comment 8 gentoolinux 2005-10-21 08:54:31 UTC
Created attachment 71126 [details]
klear-0.5.0.ebuild

Version bump
Comment 9 gentoolinux 2005-10-26 12:09:14 UTC
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.
Comment 10 gentoolinux 2005-10-26 12:10:36 UTC
Created attachment 71521 [details, diff]
klear-0.5.1-qt.patch

Required patch for Klear 0.5.1
Comment 11 Ruben Jenster 2005-11-24 15:08:03 UTC
Created attachment 73530 [details]
klear-0.5.3.ebuild

Here's an updated version of klear. It now uses scons for configuration.
Comment 12 Christoph Brill (egore) (RESIGNED) 2005-12-07 01:02:54 UTC
*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
Comment 13 Norman Jonas 2005-12-07 04:14:14 UTC
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.
Comment 14 boris64 2006-01-25 11:03:16 UTC
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
Comment 15 gentoolinux 2006-02-10 06:09:44 UTC
@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.
Comment 16 Norman Jonas 2006-02-10 08:16:02 UTC
FEATURES="-sandbox" did work for the version at that time. The bugs I know have already been reported.
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 11:41:54 UTC
- 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
Comment 18 gentoolinux 2006-02-13 10:56:15 UTC
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.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-08-26 07:30:29 UTC
*** Bug 145179 has been marked as a duplicate of this bug. ***
Comment 20 Timo Maier 2006-10-17 13:14:23 UTC
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
Comment 21 gentoolinux 2006-10-18 03:13:09 UTC
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.
Comment 22 Benjamin Voigt 2008-09-16 19:28:21 UTC
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 ?
Comment 23 Juergen Nagel 2009-03-23 21:44:05 UTC
Created attachment 186047 [details, diff]
scons-chmod.patch
Comment 24 Juergen Nagel 2009-03-23 21:48:27 UTC
Created attachment 186049 [details]
klear-0.6.1.ebuild
Comment 25 Juergen Nagel 2009-03-23 21:55:55 UTC
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.
Comment 26 MJ 2009-10-16 07:34:36 UTC
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?
Comment 27 jannis 2011-05-06 07:34:46 UTC
Upstream looks unmaintained (last update was on 2006-07-22). Can this bug be rejected please?