pkgsrc/time/libical/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2019/11/02 20:55:46 nia Exp $
DISTNAME= libical-3.0.6
CATEGORIES= time
libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better
2018-04-25 07:51:20 +02:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=libical/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better
2018-04-25 07:51:20 +02:00
HOMEPAGE= https://github.com/libical/libical/
COMMENT= Reference implementation of the iCalendar data type and format
libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better
2018-04-25 07:51:20 +02:00
LICENSE= gnu-lgpl-v2.1 OR mpl-2.0
libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better
2018-04-25 07:51:20 +02:00
USE_TOOLS+= perl pkg-config
2014-02-01 02:44:52 +01:00
USE_CMAKE= yes
CMAKE_ARGS+= -DUSE_BUILTIN_TZDATA=OFF
CMAKE_ARGS+= -DICAL_BUILD_DOCS=OFF
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_BDB=ON
REPLACE_INTERPRETER+= perl
REPLACE.perl.old= .*/bin/tclsh
REPLACE.perl.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.perl=
PKGCONFIG_OVERRIDE+= libical.pc.in
PKGCONFIG_OVERRIDE+= src/libical-glib/libical-glib.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# zone.tab file in /usr/share/zoneinfo
DEPENDS+= zonetab-[0-9]*:../../time/zonetab
.endif
# C++ is only needed for test
2014-02-01 02:44:52 +01:00
USE_LANGUAGES= c c++
#TEST_TARGET= check
libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better
2018-04-25 07:51:20 +02:00
.include "../../devel/glib2/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
2015-03-14 18:11:43 +01:00
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"