Reply
Thread Tools
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#11
I really hope this comes to a HAPPY END for maemo
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 

The Following 2 Users Say Thank You to Alfred For This Useful Post:
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#12
Originally Posted by Alfred View Post
I really hope this comes to a HAPPY END for maemo
It should be simple.

There are two things that must be provided by OS:
  1. information on current time and time zone (geoclue, gnome-clock, manual)
  2. method to change the colors (randr, vidmode)
 

The Following User Says Thank You to momcilo For This Useful Post:
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#13
Originally Posted by momcilo View Post
I've tried on diablo (all packages present) and failed to configure

I think the configure script might be broken.

BTW: after several days of using redshift on my laptop, I think it really works better than dimming of the screen. If combined with dimming it works great for my eyes.
I'll have a dig through it again this afternoon when I've done some real (get-paid-for!) work.

Agree with you about redshift on my panels. Makes a big difference for prolonged use.
 

The Following User Says Thank You to gregoranderson For This Useful Post:
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#14
Google dug up the following (which didn't turn up when I searched maemo.org!)

http://forums.internettablettalk.com...4&postcount=34

Checking again, redshift requires xrandr >= 1.3, so that's a non-starter for the N900. I'll look and see what is possible with the xrandr-dev libs that come with the sdk - however I think we can call it a no-go for a redshift port.

In the meantime, a means of staggering the brightness across day might be a reasonable. Fbreader, even with white on black nearly burns the core of my retina when I'm reading late at night ... it's a PITA having to traverse the control panel just to change it
 

The Following 2 Users Say Thank You to gregoranderson For This Useful Post:
Posts: 673 | Thanked: 856 times | Joined on Mar 2006
#15
Originally Posted by gregoranderson View Post
Google dug up the following (which didn't turn up when I searched maemo.org!)

http://forums.internettablettalk.com...4&postcount=34

Checking again, redshift requires xrandr >= 1.3, so that's a non-starter for the N900. I'll look and see what is possible with the xrandr-dev libs that come with the sdk - however I think we can call it a no-go for a redshift port.

In the meantime, a means of staggering the brightness across day might be a reasonable. Fbreader, even with white on black nearly burns the core of my retina when I'm reading late at night ... it's a PITA having to traverse the control panel just to change it
FBReader can be tweaked to support that, by alternating the background color based on time/zone.
 

The Following 2 Users Say Thank You to momcilo For This Useful Post:
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#16
Originally Posted by momcilo View Post
FBReader can be tweaked to support that, by alternating the background color based on time/zone.
Ha! Thinking out of the box - I very much like that idea. Nice one
 

The Following User Says Thank You to gregoranderson For This Useful Post:
Posts: 151 | Thanked: 158 times | Joined on Apr 2012 @ UK
#17
I love flux on my PC and have tried to get it running on my N9.
No luck there.

As flux closed source, I have tried redshift. Downloaded the source code and I have gcc installed as per:
http://talk.maemo.org/showpost.php?p...3&postcount=18

I know gcc works are I have compiled and use proxychains on my N9.

On ./configure:
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for 2-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
From the config.log

Code:
configure:3219: $? = 0
configure:3208: gcc -v >&5
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='maemo 4.4.1-0maemo14+0m6' --with-bugurl=http://bugs.maemo.org/ --with-arch=armv7-a --with-float=hard --with-fpu=neon --enable-languages=c,c++,fortran --prefix=/usr --enable-shared --disable-multiarch --enable-linker-build-id --with-system-zlib --with-mpfr-lib=/usr/lib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.4.1 (maemo 4.4.1-0maemo14+0m6) 
configure:3219: $? = 0
configure:3208: gcc -V >&5
gcc: '-V' option must have argument
configure:3219: $? = 1
configure:3208: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3219: $? = 1
configure:3239: checking whether the C compiler works
configure:3261: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3265: $? = 1
configure:3303: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "redshift"
| #define PACKAGE_TARNAME "redshift"
| #define PACKAGE_VERSION "1.7"
| #define PACKAGE_STRING "redshift 1.7"
| #define PACKAGE_BUGREPORT "https://bugs.launchpad.net/redshift"
| #define PACKAGE_URL ""
| #define PACKAGE "redshift"
| #define VERSION "1.7"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3308: error: in `/redshift':
configure:3310: error: C compiler cannot create executables
See `config.log' for more details
I doesnt want to compile ;/

Thought there was a slim chance that the debian packages may work too so I have also downloaded redshift_1.2-3_armel.deb, which installed ok following me installing the dependency libxxf86vm1_1.1.0-2_armel.deb was installed but then I get a "BUS error" on execution.

Any ideas on getting it to run?
 

The Following User Says Thank You to Nad For This Useful Post:
Posts: 14 | Thanked: 13 times | Joined on Apr 2012
#18
Unfortunately I'm not sure why it claims your C compiler doesn't work. That's weird. Check this and this:
might want to run gcc-config to re set your C compiler, generally when you get this error is either due to broken CFLAGS or flat out not having the compiler in the expected path.
might need ldconfig also
I can only tell you that more trouble lies ahead. For me it configures okay after installing the libxcb-randr0 package and manually installing /usr/lib/pkgconfig/xcb-randr.pc and /usr/include/xcb/randr.h from the source of the appropriate version.

But I still get build errors:
Code:
make                                                                                 
make  all-recursive
make[1]: Entering directory `redshift-1.7'
Making all in src
make[2]: Entering directory `redshift-1.7/src'
Making all in gtk-redshift
make[3]: Entering directory `redshift-1.7/src/gtk-redshift'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `redshift-1.7/src/gtk-redshift'
make[3]: Entering directory `redshift-1.7/src'
  CC       redshift.o
In file included from redshift.c:61:
gamma-randr.h:33: error: expected specifier-qualifier-list before ‘xcb_randr_crtc_t’
make[3]: *** [redshift.o] Error 1
make[3]: Leaving directory `redshift-1.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `redshift-1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `redshift-1.7'
make: *** [all] Error 2
I started working on it last summer and gave up. Redshift's author was helpful then, so I've once more solicited his advice. Anyone here with insight is also welcome to chip in. Hoping to make some more progress on this.

Last edited by Doctor Colossus; 2013-07-08 at 23:45.
 

The Following 2 Users Say Thank You to Doctor Colossus For This Useful Post:
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#19
This is much simpler on N9 than that.
2 lines properly placed.
 

The Following 4 Users Say Thank You to knobtviker For This Useful Post:
Posts: 835 | Thanked: 772 times | Joined on Oct 2007 @ Finland
#20
Any chance for a deb of redshift for N9 or did anyone got it working yet?
 
Reply

Tags
redshift

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:23.