[Freeassociation-devel] libical 0.47 released

Antony Bowesman adb at thorntothehorn.org
Mon Oct 10 15:42:30 PDT 2011


There were a number of Windows related issues reported by Andrew Marlow in Sep 10

http://sourceforge.net/mailarchive/forum.php?forum_name=freeassociation-libical&max_rows=25&style=nested&viewmonth=201009

I had similar issues when building with 0.47 last week and summarise the 
problems I had (some were fixed based on AM's comments on the mailing list)

■	src/ical.def - remove simple_str_to_float
■	src/libical/vsnprintf.h - #ifdef arond whole section
■	src/libical/icalrecur.c - fixup int variable definitions not at top of block, 
e.g. line 1610
■	src/icalss.def - remove ss_init_buffer and line following
■	src/ical.def - add icaltimezone_set_tzid_prefix after 
icaltimezone_set_component in 4 places
■	Fix trap code in libical/icaltimezone.c: icaltimezone_parse_zone_tab (void) 
and replace zone_directory handling code with
const char* zone_dir;
...
#ifndef USE_BUILTIN_TZDATA
     zone_dir = icaltzutil_get_zone_directory();
     if (zone_dir == NULL)
     {
         return;
     }
     filename_len = strlen ((char *) zone_dir) + strlen 
(ZONES_TAB_SYSTEM_FILENAME) + 2;*
#else
     zone_dir = get_zone_directory();
     if (zone_dir == NULL)
     {
         return;
     }
     filename_len = strlen (zone_dir) + strlen (ZONES_TAB_FILENAME) + 2;
#endif

I built on Win7/64 with Visual Studio 2005 using CMake 2.8.6 and I have Cygwin 
installed.

I ran

cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=FULL_PATH_TO_SOMEWHERE

I had to use the -DCMAKE.. because otherwise it got some paths wrong, e.g. there 
was an (x86) directory in some path - can't remember the details.

I can't see how the Win version would build because of the issues above, so 
could these changes go in, if they are valid.

Cheers
Antony



On 11/10/2011 5:14 AM, IGnatius T Foobar wrote:
>   >Eh, doesn't this version still have the
>   >icaltimezone_get_builtin_timezone_from_tzid() regression that I reported
>
>   >on the list?
>
>   Ok, I have applied this patch to svn head.  Please test; if you are satisfied
> with the results I will roll it up again to supersede the previous release.
>
>
>    -- ARt
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Freeassociation-devel mailing list
> Freeassociation-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freeassociation-devel




More information about the libical-devel mailing list