Notices


Reply
Thread Tools
norayr's Avatar
Posts: 148 | Thanked: 216 times | Joined on Jul 2010 @ Yerevan
#1
If you have a photo camera which has not light meter, this app will be handy. It takes light from the n900 sensor, and calculates shutter/aperture settings.





Download deb file from here: https://garage.maemo.org/projects/lightmeter

Besides, this app is written by using FreePascal and Lazarus. In order to prepare development environment right on n900 and then build a .deb file I've been written two manuals:
how to setup Lazarus/FreePascal on maemo device (no crosscompilation)
http://wiki.maemo.org/Compile_FreePascal_on_device
how to setup checkinstall on maemo
http://wiki.maemo.org/Checkinstall_on_Maemo (lots of ugly hacks, dangerous, but works for me)

update: I've written a spec file and was able to generate a MeeGo/ARM rpm installer package for the MeeGo competition.
I've tested it on MeeGo, so it works now under MeeGo as well. Get rpm at the competition page entry.

Last edited by norayr; 2011-04-29 at 21:34.
 

The Following 23 Users Say Thank You to norayr For This Useful Post:
norayr's Avatar
Posts: 148 | Thanked: 216 times | Joined on Jul 2010 @ Yerevan
#2
Dependency information is not included into current deb package, because I guess all the required libraries are available in any Fremantle out of the box. However, these are the libraries you may need installed:
libc6
libx11-6
libgtk2.0-0
libglib2.0-0
libpango1.0-0
libatk1.0-0
libcairo2
libxau6
libxdmcp6
libxtst6
libxcomposite1
libxdamage1
libfreetype6
libfontconfig1
libxext6
libxrender1
libxi6
libxrandr2
libxcursor1
libgcc1
libpixman-1-0
libpng12-0
zlib1g
libexpat1

Just generated this list by using ldd

I will also prepare a version for Diablo later.

Last edited by norayr; 2011-02-03 at 23:59.
 

The Following 3 Users Say Thank You to norayr For This Useful Post:
norayr's Avatar
Posts: 148 | Thanked: 216 times | Joined on Jul 2010 @ Yerevan
#3
Version for the N810 also available for download from the garage.

http://talk.maemo.org/showthread.php...799#post945799
 

The Following 3 Users Say Thank You to norayr For This Useful Post:
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#4
Good thing you're picking up the ball since I've not had the time to update my Luxus light meter application anymore.. for example I am only showing EV values while you do the obviously necessary step of mapping that to shutter speeds + aperture numbers. Good!
 

The Following 3 Users Say Thank You to toninikkanen For This Useful Post:
norayr's Avatar
Posts: 148 | Thanked: 216 times | Joined on Jul 2010 @ Yerevan
#5
Thank you very much, toninikkanen.
That's because I personally need the app which will help me to photograph I mostly use film cameras without light meters and it is very convenient to me to use the phone to calculate correct settings.
 

The Following 2 Users Say Thank You to norayr For This Useful Post:
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#6
Yes that's exactly why I like this
I have a Bronica S2A, Leica IIIf, Nikon F, etc etc...

But.. I have a feeling that using the exposure data from the device camera would be more useful than the data from the ambient light sensor ("ALR"). The ALR seems pretty unpredictable. Just as a thought for future improvements.
 

The Following User Says Thank You to toninikkanen For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#7
I would need an app that gives me the actual Lux measures. Could this be added, I wonder?

/Z
 

The Following User Says Thank You to MasterZap For This Useful Post:
int_ua's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#8
Why is the binary /usr/bin/photolightmeter so huge? It's double the size of OMP and Xorg while being just a couple of buttons in UI.

MasterZap,

Code:
 $ cat /home/user/MyDocs/bin/lux.sh 
lux=0
while [ 1 == 1 ]; do
 new=`cat /sys/bus/i2c/drivers/tsl2563/2-0029/lux`
 if [ "$lux" != "$new" ]
 then
  lux=$new
 echo `date '+%y%m%d_%H%M%S'`"	"$lux
 fi
 

The Following User Says Thank You to int_ua For This Useful Post:
norayr's Avatar
Posts: 148 | Thanked: 216 times | Joined on Jul 2010 @ Yerevan
#9
I am afraid that's because of "lazarus" compatibility layers. The same code is possible to compile by using Qt or GTK, or anything else.
That's the advantage for which we pay with the size of those layers.
 

The Following 3 Users Say Thank You to norayr For This Useful Post:
Posts: 1 | Thanked: 1 time | Joined on Mar 2014
#10
Hey,

I've tried to install the photographic light meter on my Nokia N9 but both deb and rmp files fail to install. Deb file gets error: could not open debian archive. And rmp: sh: rpm: not found

Would be very grateful for help or advice.

Thank you.

Last edited by olives; 2014-03-25 at 20:30.
 

The Following User Says Thank You to olives For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 09:24.