View previous topic :: View next topic |
Author |
Message |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
Posted: Thu Sep 29, 2005 12:59 pm Post subject: New ebuild for LightFrame on Philips |
|
|
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 |
|
 |
Earthwings Bodhisattva


Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Sep 29, 2005 2:15 pm Post subject: |
|
|
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 |
|
 |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
Posted: Thu Sep 29, 2005 2:55 pm Post subject: |
|
|
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 |
|
 |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
Posted: Thu Sep 29, 2005 3:49 pm Post subject: |
|
|
I just have modified the ebuild using dosed. _________________ pcmaster |
|
Back to top |
|
 |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
Posted: Thu Sep 29, 2005 5:54 pm Post subject: |
|
|
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 |
|
 |
Archangel1 Veteran


Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Fri Sep 30, 2005 10:57 am Post subject: |
|
|
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 |
|
 |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
Posted: Fri Sep 30, 2005 5:30 pm Post subject: |
|
|
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 |
|
 |
pcmaster Advocate

Joined: 04 Dec 2003 Posts: 2234 Location: Barcelona
|
|
Back to top |
|
 |
|