Commit Graph

13 Commits

Author SHA1 Message Date
Stefan Eßer 1a3491f23b Fetch from my repository to simplify port
Instead of fetching from a repository that was created based on a version
that did not include the pre-processor enhancements applied to -CURRENT
and patching to include them, fetch from a repository that has a copy of
the latest sources.

This change allows to remove the large number of complex patch files from
the port and will simplify further updates.

It is planned to make the port fetch from an official FreeBSD repository
as soon as it is available with up-to-date sources from -CURRENT.

No port revision bump since this is only a change to the build process and
not the generated package.
2020-11-07 11:41:24 +00:00
Stefan Eßer a5120828b6 Update to FreeBSD base SVN revision r367364
This upgrade improves the compatibility with prior versions that used cpp
to pre-process the calendar files..
2020-11-06 22:04:12 +00:00
Stefan Eßer 0691aef8f5 Update to -CURRENT SVN rev. r367293
This version processes conditionals with similar restrictions as were
effective when the data files were piped through the C pre-processor.

Specifically, only the first word after #define is considered as the name
being defined. An error is signalled if more than one word is found as
argument of #ifdef, #ifndef, or #undef.

All calendar files distributed with FreeBSD or in the deskutils/calendar
port comply with the newly enforced syntax checks.

Dates are now printed as defined for the locale of the user, not as
defined by a LANG= assignment in a data file, which is now only considered
for character-set translations (if ICONV is set to its default value of ON).
2020-11-03 21:11:00 +00:00
Stefan Eßer 1626014679 Update to -CURRENT SVN rev. r367255
Fix error position reporting for calendar data files in system directories
2020-11-01 20:46:31 +00:00
Stefan Eßer 9981c7141c Pass _PATH_LOCALBASE correctly quoted to the build 2020-11-01 09:33:28 +00:00
Stefan Eßer 3dcac3f775 Update to FreeBSD-CURRENT base SVN revision r367207
This update improves the internal pre-processor and makes it report data
file issues with filename and line number of the failed commend.

Several tests have been added to detect unmatched condition directives
(e.g. #endif or #else without prior #ifdef or #ifndef). An #undef command
has been added since it occurs in one of the calendar files tradionally
distributed with FreeBSD (and now in the deskutils/calendar-data port).

This update adds a default definition of _PATH_LOCALBASE that is required
to build the port on systems that do not define it in paths.h.
2020-10-31 15:33:08 +00:00
Stefan Eßer aa905f6b03 Upgrade to to FreeBSD base SVN revision r367173
The order of events printed was reversed due to the way a link list was
updated. This version prints the events in the order they appear in in
the data file.
2020-10-30 18:23:58 +00:00
Stefan Eßer 320ace80a3 Update to FreeBSD SVN revision r367167
This update implements comment handling lost when calendar was changed
from using an external cpp to an internal pre-processor
2020-10-30 15:01:04 +00:00
Stefan Eßer e545535649 Upgrade to FreeBSD base SVN version r367127.
This upgrade fixes the loading von included files from users' home
directories for calendar -a.
2020-10-29 11:08:39 +00:00
Stefan Eßer 292e41777e Update man-page to cover newly introduced features. 2020-10-28 21:14:08 +00:00
Stefan Eßer 476cf14137 Bump portversion, forgotten in previous commit 2020-10-28 21:12:27 +00:00
Stefan Eßer 83ba486458 Upgrade to FreeBSD base SVN version r367108
This version add support for nested conditionals, #ifdef and #else.
2020-10-28 21:10:46 +00:00
Stefan Eßer d88c4de7de Port of the FreeBSD calendar program from -CURRENT
This version of	the calendar program includes data file locations
populated by the calendar-data port in the search path.

It is meant to provide this feature to users of	FreeBSD	releases that
have not received the updated calendar program,	yet.

Development of the calendar program will	continue in the base system
and the	port will be updated to	reflect	changes	made to	the calendar
program	in FreeBSD-CURRENT.

Different from the version in -CURRENT this port does not warn about
missing calendar files provided by the calendar-data port since it has
this port declared as a run-time dependency and it can therefore be
assumed that the data port has been installed with this port.

This port uses a preliminary location for the repository to fetch from.

It is expected to be updated to an official repository with updated sources
that eliminate the need for the patches that are currently required.
2020-10-25 11:46:49 +00:00