Re: [Freevo-users] Daylight saving

2009-10-04 Thread Adam Charrett
On Sun, 2009-10-04 at 10:25 +1300, Bernard Mentink wrote:
 
 Maybe my thanks was a tad quick. When I tried to compile it I get this
 error:
 
 
 
 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
 -Wall -Werror -D_GNU_SOURCE -g -O2 -MT sap.lo -MD -MP
 -MF .deps/sap.Tpo -c sap.c -fPIC -DPIC -o .libs/sap.o
 cc1: warnings being treated as errors
 sap.c: In function ‘SAPServer’:
 sap.c:226: error: dereferencing pointer ‘sockAddr4’ does break
 strict-aliasing rules
 sap.c:227: error: dereferencing pointer ‘sockAddr4’ does break
 strict-aliasing rules
 sap.c:198: note: initialized from here
 sap.c:236: error: dereferencing pointer ‘sockAddr6’ does break
 strict-aliasing rules
 sap.c:237: error: dereferencing pointer ‘sockAddr6’ does break
 strict-aliasing rules
 sap.c:238: error: dereferencing pointer ‘sockAddr6’ does break
 strict-aliasing rules
 sap.c:242: error: dereferencing pointer ‘sockAddr6’ does break
 strict-aliasing rules
 sap.c:234: note: initialized from here
 make[2]: *** [sap.lo] Error 1
 -
Odd, what version of gcc are you using? I've just checked and the
release compiles with 3.4 and 4.3.

Cheers

Adam


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-04 Thread Bernard Mentink
On Sun, Oct 4, 2009 at 9:07 PM, Adam Charrett a...@dvbstreamer.org wrote:

 On Sun, 2009-10-04 at 10:25 +1300, Bernard Mentink wrote:
 
  Maybe my thanks was a tad quick. When I tried to compile it I get this
  error:
 
 
 
 
  libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
  -Wall -Werror -D_GNU_SOURCE -g -O2 -MT sap.lo -MD -MP
  -MF .deps/sap.Tpo -c sap.c -fPIC -DPIC -o .libs/sap.o
  cc1: warnings being treated as errors
  sap.c: In function ‘SAPServer’:
  sap.c:226: error: dereferencing pointer ‘sockAddr4’ does break
  strict-aliasing rules
  sap.c:227: error: dereferencing pointer ‘sockAddr4’ does break
  strict-aliasing rules
  sap.c:198: note: initialized from here
  sap.c:236: error: dereferencing pointer ‘sockAddr6’ does break
  strict-aliasing rules
  sap.c:237: error: dereferencing pointer ‘sockAddr6’ does break
  strict-aliasing rules
  sap.c:238: error: dereferencing pointer ‘sockAddr6’ does break
  strict-aliasing rules
  sap.c:242: error: dereferencing pointer ‘sockAddr6’ does break
  strict-aliasing rules
  sap.c:234: note: initialized from here
  make[2]: *** [sap.lo] Error 1
 
 -
 Odd, what version of gcc are you using? I've just checked and the
 release compiles with 3.4 and 4.3.

 Cheers

 Adam


HI Adam,

Using gcc v4.4.1. I have managed to get it to compile, but I had to turn off
strict aliasing with:

CFLAGS=$CFLAGS -fno-strict-aliasing ./configure --prefix=/usr


By the way, having run it and got rid of the .db files as per your original
response and re-fetched the guide data, I still get no change  it
doesn't seem to have made any difference.

Do I have to do a setupdvbstreamer again?

Cheers,
Bernie
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-03 Thread Bernard Mentink
On Sat, Oct 3, 2009 at 1:01 AM, Adam Charrett a...@dvbstreamer.org wrote:

 On Fri, October 2, 2009 11:59 am, Adam Charrett wrote:
  On Fri, October 2, 2009 4:39 am, Bernard Mentink wrote:
  Hi All,
  It's that time of the year for us down-under in New Zealand. Since
  changing
  to daylight savings (clock forward an hour) my TV guide
  is an hour out. The clock on my PC is correct and the time on Freevo is
  shown correct, however the guide data shows programs an hour ahead.
 
  I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it
  doesn't
  make any difference.
 
  My guide is obtained by dvbstreamer off the satellite.
 
  This sounds like a bug in dvbstreamer, I need to apply a fix to the 1.x
  branch
 snip

 I've now applied the fix and a new release should be available from
 Sourceforge now (dvbstreamer-1.2).

 Cheers

 Adam



 Wow, that was quick, many thanks Adam.

Cheers,
Bernie
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-03 Thread Bernard Mentink
On Sun, Oct 4, 2009 at 10:07 AM, Bernard Mentink bment...@gmail.com wrote:



 On Sat, Oct 3, 2009 at 1:01 AM, Adam Charrett a...@dvbstreamer.orgwrote:

 On Fri, October 2, 2009 11:59 am, Adam Charrett wrote:
  On Fri, October 2, 2009 4:39 am, Bernard Mentink wrote:
  Hi All,
  It's that time of the year for us down-under in New Zealand. Since
  changing
  to daylight savings (clock forward an hour) my TV guide
  is an hour out. The clock on my PC is correct and the time on Freevo is
  shown correct, however the guide data shows programs an hour ahead.
 
  I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it
  doesn't
  make any difference.
 
  My guide is obtained by dvbstreamer off the satellite.
 
  This sounds like a bug in dvbstreamer, I need to apply a fix to the 1.x
  branch
 snip

 I've now applied the fix and a new release should be available from
 Sourceforge now (dvbstreamer-1.2).

 Cheers

 Adam



 Wow, that was quick, many thanks Adam.

 Cheers,
 Bernie



Maybe my thanks was a tad quick. When I tried to compile it I get this
error:


libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wall
-Werror -D_GNU_SOURCE -g -O2 -MT sap.lo -MD -MP -MF .deps/sap.Tpo -c sap.c
-fPIC -DPIC -o .libs/sap.o
cc1: warnings being treated as errors
sap.c: In function ‘SAPServer’:
sap.c:226: error: dereferencing pointer ‘sockAddr4’ does break
strict-aliasing rules
sap.c:227: error: dereferencing pointer ‘sockAddr4’ does break
strict-aliasing rules
sap.c:198: note: initialized from here
sap.c:236: error: dereferencing pointer ‘sockAddr6’ does break
strict-aliasing rules
sap.c:237: error: dereferencing pointer ‘sockAddr6’ does break
strict-aliasing rules
sap.c:238: error: dereferencing pointer ‘sockAddr6’ does break
strict-aliasing rules
sap.c:242: error: dereferencing pointer ‘sockAddr6’ does break
strict-aliasing rules
sap.c:234: note: initialized from here
make[2]: *** [sap.lo] Error 1
-

Cheers,
Bernie
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-02 Thread Elizabeth Dodd
On Fri, 2 Oct 2009, Bernard Mentink wrote:
 Hi All,
 It's that time of the year for us down-under in New Zealand. Since changing
 to daylight savings (clock forward an hour) my TV guide
 is an hour out. The clock on my PC is correct and the time on Freevo is
 shown correct, however the guide data shows programs an hour ahead.

 I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it doesn't
 make any difference.

 My guide is obtained by dvbstreamer off the satellite.

 Does anyone know how to fix this. I can't record anything at the moment.

 Cheers,
 Bernie
we have used fudges in the past
with a little script that rewrote the xml file 
i can't promise that i even have a copy of the script one of my kids wrote - 
but i used to run the script until the end of daylight saving, as a cron job 
after the run to get the data and before freevo read the data

-- 
Long life is in store for you.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-02 Thread Adam Charrett
On Fri, October 2, 2009 4:39 am, Bernard Mentink wrote:
 Hi All,
 It's that time of the year for us down-under in New Zealand. Since
 changing
 to daylight savings (clock forward an hour) my TV guide
 is an hour out. The clock on my PC is correct and the time on Freevo is
 shown correct, however the guide data shows programs an hour ahead.

 I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it doesn't
 make any difference.

 My guide is obtained by dvbstreamer off the satellite.

This sounds like a bug in dvbstreamer, I need to apply a fix to the 1.x
branch but for the mean time its a simple fix to do by hand.
In the file src/plugins/schedule.c change line 326 from
secs = mktime(startTime);
to
secs = timegm(startTime);

recompile and reinstall. Then delete the epgX.db (where X is the number of
you dvb adapter) from ~/.dvbstreamer. Once you've tuned to several
channels you should have rebuilt the epg database.

Cheers

Adam


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Daylight saving

2009-10-02 Thread Adam Charrett
On Fri, October 2, 2009 11:59 am, Adam Charrett wrote:
 On Fri, October 2, 2009 4:39 am, Bernard Mentink wrote:
 Hi All,
 It's that time of the year for us down-under in New Zealand. Since
 changing
 to daylight savings (clock forward an hour) my TV guide
 is an hour out. The clock on my PC is correct and the time on Freevo is
 shown correct, however the guide data shows programs an hour ahead.

 I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it
 doesn't
 make any difference.

 My guide is obtained by dvbstreamer off the satellite.

 This sounds like a bug in dvbstreamer, I need to apply a fix to the 1.x
 branch
snip

I've now applied the fix and a new release should be available from
Sourceforge now (dvbstreamer-1.2).

Cheers

Adam



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Daylight saving

2009-10-01 Thread Bernard Mentink
Hi All,
It's that time of the year for us down-under in New Zealand. Since changing
to daylight savings (clock forward an hour) my TV guide
is an hour out. The clock on my PC is correct and the time on Freevo is
shown correct, however the guide data shows programs an hour ahead.

I have tried setting the variable  XMLTV_TIMEZONE='+1300', but it doesn't
make any difference.

My guide is obtained by dvbstreamer off the satellite.

Does anyone know how to fix this. I can't record anything at the moment.

Cheers,
Bernie
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users