Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New ebuild for LightFrame on Philips
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Thu Sep 29, 2005 12:59 pm    Post subject: New ebuild for LightFrame on Philips Reply with quote

If you have a Philips CRT monitor with LihgtFrame2, and you want to use lightframe uin your linux box, this ebuild may be useful for you:

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit flag-o-matic

DESCRIPTION="Philips LightFrame2 for X"
HOMEPAGE="http://xlightframe.sourceforge.net"
SRC_URI="mirror://sourceforge/xlightframe/xLightFrame.${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/x11"
RDEPEND="virtual/x11 sys-apps/gawk"

S="${WORKDIR}/xLightFrame.${PV}"

src_compile() {
   append-ldflags -L/usr/lib/ -lX11 -lXext -lXpm
   econf || die "could not configure"
   emake || die "emake failed"
}

src_install() {
   make DESTDIR=${D} install || die "install failed"
   dobin src/lfw.sh || die "could not copy lfw.sh"
   dosed "s:/usr/local:/usr:g" /usr/bin/lfw.sh || die "could not modify xlightframe path in lfw.sh"
   dodoc NEWS README TODO AUTHORS COPYING INSTALL
}


I have submited this ebuild to bugzilla.
_________________
pcmaster


Last edited by pcmaster on Thu Sep 29, 2005 6:24 pm; edited 3 times in total
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Sep 29, 2005 2:15 pm    Post subject: Reply with quote

For the ebuild:

  • I think most of the things in (R)DEPEND are not needed
  • Doesn't make DESTDIR=${D} install || die instead of einstall work?
  • Use dosed instead of mv; cat | sed; rm


Moved from Multimedia to Unsupported Software.
_________________
KDE
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Thu Sep 29, 2005 2:55 pm    Post subject: Reply with quote

Thank for your comments. I have installed the ebuild in my system (in PORTDIR_OVERLAY directory), and it works.

The things in RDEPEND are necessary:

virtual/x11: xlightframe only works in X, not in text mode.
sys-apps/gawk: isn't necessary for xlightframe program itself, but is needed by lfw.sh script that alows you to select a window and apply xlightframe on that window.

If using dosed instead of cat, sed, etc, works, then the SED dependency can be removed.
_________________
pcmaster
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Thu Sep 29, 2005 3:49 pm    Post subject: Reply with quote

I just have modified the ebuild using dosed.
_________________
pcmaster
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Thu Sep 29, 2005 5:54 pm    Post subject: Reply with quote

New update.

einstall works, but a developer have posted a message saying is not recommended to use einstall, and other some tips.

I updated the ebuild.
_________________
pcmaster
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Fri Sep 30, 2005 10:57 am    Post subject: Reply with quote

Out of sheer curiosity, would anyone be able to explain to me what this lightframe thing actually does?
All I can find is a bunch of sales speak and press releases saying that it allows for TV-quality images on my computer screen - last time I checked, my computer screen was much better than just about any TV.

Presumably there is something to it, or xlightframe wouldn't exist...
_________________
What are you, stupid?
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Fri Sep 30, 2005 5:30 pm    Post subject: Reply with quote

xlightframe works only on Philips monitors.

Some Philips CRT monitors have a chip in their circuitry that allows to increase the bright of the screen in a certain area or in the entire screen. Hightlighted area are more brilliant than not hightlighted area.

Activating xlightframe in an are on you are watching TV or video, increases the image quality. Is not useful with text.

The LightFrame software that comes with Philips monitors are Windows-only, but in sourceforge.net is available a free software supporting this feature of Philips monitors. This is the page:

http://xlightframe.sourceforge.net/

http://www.prdomain.com/companies/p/philips/news_releases/pr_20011030_lightframe.htm

Why this post are moved to unsupported software forum?
_________________
pcmaster
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Fri Sep 30, 2005 7:47 pm    Post subject: Reply with quote

Archangel1: see this example:


Desttop fragment without Lightframe activated:

http://img277.imageshack.us/img277/3851/16gu.jpg

The same destop activating Lightframe in an area where the xawdecode window is:

http://img274.imageshack.us/img274/8118/21el.jpg

sorry for the camera saturation

After moving the xawdecode window:

http://img263.imageshack.us/img263/1430/30ei.jpg

The highlighted area is the LightFrame window. This is a monitor feature, a desktop capture don't show the efect.

In the upper right corner, you can see the LightFrame2 logo in the monitor.
_________________
pcmaster
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum