debian/0000755000000000000000000000000012302376040007163 5ustar debian/libhdate-php.install0000644000000000000000000000006612253150531013116 0ustar bindings/php/hdate.ini etc/php5/conf.d usr/lib/php5/* debian/hdate.install0000644000000000000000000000003712253150531011640 0ustar usr/bin/* usr/share/man/man1/* debian/copyright0000644000000000000000000000237512253150531011125 0ustar This package was debianized by Lior Kaplan on Sat, 13 Jul 2005 03:44:18 +0200. It was downloaded from http://libhdate.sourceforge.net/ Copyright: (C) 2011-2012 Boruch Baum (C) 2003-2008 Yaacov Zamir (C) 1984-2003 Amos Shapir (C) 2005,2008 Ido Kanner - Pascal bindings Upstream Author: Boruch Baum License: * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. debian/libhdate-dev.install0000644000000000000000000000013412253150531013101 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/share/man/man3/* debian/libhdate-perl.dirs0000644000000000000000000000001612253150531012557 0ustar usr/lib/perl5 debian/changelog0000644000000000000000000001672212302376040011045 0ustar libhdate (1.6-2ubuntu3) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:48:16 +0000 libhdate (1.6-2ubuntu2) trusty; urgency=medium * Build with dh-autoreconf for newer libtool. -- Steve Langasek Sat, 14 Dec 2013 13:45:29 -0800 libhdate (1.6-2ubuntu1) trusty; urgency=low * Merge with Debian; remaining changes: - Make python-hdate Multi-Arch: foreign (needed by bsdmainutils). - Split out a hdate binary package. -- Matthias Klose Mon, 21 Oct 2013 14:37:07 +0200 libhdate (1.6-2) unstable; urgency=low * Patch fix_3: fix an endless loop with hcal -3 (Closes: #692039). * Patch time_t: fixes a size issue on x32 (Closes: #719808). * Switch to dh. * Compat level 9. * autotools-dev for new config.{sub,guess} for e.g. arm64. * A symbols file for libhdate1. * typo_output.patch: fix a typo "ouput" (Lintian). * Bump standards version: 3.9.4. * cflags.patch: pass along build-flags set by deb-helpers. * As a result of building with warnings and hardening, several other fixes: - missing_format.patch - missing a format string for fprintf. - duplicate_gnu_source.patch - _GNU_SOURCE was set both in autoconf and in files. - nested_extern.patch - Don't #include files inside a function. - size_t.patch - int vs. size_t issues. * feb.patch: calendars of February mat have more than 4 weeks (Closes: #696814). -- Tzafrir Cohen Sat, 21 Sep 2013 14:17:40 +0300 libhdate (1.6-1ubuntu2) saucy; urgency=low * Update config.{guess,sub} for AArch64. -- Matthias Klose Wed, 21 Aug 2013 10:31:42 +0200 libhdate (1.6-1ubuntu1) raring; urgency=low * Install into multiarch locations. * Make python-hdate Multi-Arch: foreign (needed by bsdmainutils). * Split out a hdate binary package. -- Matthias Klose Fri, 08 Mar 2013 15:49:52 +0800 libhdate (1.6-1) unstable; urgency=low * New upstream release * Drop libhdate-php package -- Lior Kaplan Sat, 07 Apr 2012 19:31:21 +0300 libhdate (1.4.20-4) unstable; urgency=low * Migrate from dh_pycentral to dh_python2 (Closes: #616863) -- Lior Kaplan Fri, 29 Jul 2011 15:45:24 +0200 libhdate (1.4.20-3) unstable; urgency=low * Drop *.la from -dev package per policy 10.2 (Closes: #621670) -- Lior Kaplan Fri, 08 Apr 2011 01:53:14 +0300 libhdate (1.4.20-2) unstable; urgency=low * Fix build failure with ld --as-needed (Closes: #604780) - Apply patch from Matthias Klose (Ubuntu). -- Lior Kaplan Tue, 05 Apr 2011 22:50:16 +0300 libhdate (1.4.20-1) unstable; urgency=low * New upstream release - Inlcudes man page patch (removing it from debian/patches) -- Lior Kaplan Sat, 13 Nov 2010 23:46:24 +0200 libhdate (1.4.19-2) unstable; urgency=low * Rename python bindings to python-hdate (Thanks to Luca Falavigna). -- Lior Kaplan Wed, 03 Nov 2010 23:34:02 +0200 libhdate (1.4.19-1) unstable; urgency=low * New upstream release - Returns null if no parasha is returned (Closes: #583092) * Switch to dpkg-source 3.0 (quilt) format (Closes: #583235) * debian/control: - Rename libhdate-python to python-libhdate (Closes: #497774) - Provide PHP bindings with php-libhdate. -- Lior Kaplan Sun, 31 Oct 2010 23:44:16 +0200 libhdate (1.4.12-2) unstable; urgency=low * Remove libhdate-pascal package as fpc was removed from Lenny -- Baruch Even Mon, 01 Dec 2008 14:05:11 +0200 libhdate (1.4.12-1) unstable; urgency=low * New upstream release - Pascal binding can be compiled with gpc (Closes: #486095) * Build python binding with python2.5 instead of python2.4. -- Lior Kaplan Thu, 04 Sep 2008 11:35:29 +0300 libhdate (1.4.11-1) unstable; urgency=low * New upstream release (Closes: #462781) * Add ${shlibs:Depends} to arch:any packages in order to fix missing-dependency-on-libc lintian error. -- Lior Kaplan Fri, 28 Mar 2008 11:09:19 +0300 libhdate (1.4.10-1) unstable; urgency=low * New upstream release - Upstream changed license to GPL3 from GPL2 -- Baruch Even Sat, 05 Jan 2008 22:30:38 +0200 libhdate (1.4.9-3) unstable; urgency=low * Add arm as a supported arch for libhdate-pascal (Closes: #457448) * Increased Standards-Version to 3.7.3, No changes needed. * Moved the Homepage to the control headers from the description * Do not disable errors in make distclean * Converted XS-Vcs-* to Vcs-* * Add section description to appease the manpage gods * Fix libhdate-pascal to actually include the built files -- Baruch Even Fri, 28 Dec 2007 18:37:14 +0200 libhdate (1.4.9-2) unstable; urgency=low * Update debian/control so packages are binNMU safe. See http://wiki.debian.org/binNMU for more info. -- Lior Kaplan Thu, 21 Jun 2007 20:29:23 +0100 libhdate (1.4.9-1) unstable; urgency=low * New upstream release - Fixes getopt variable usage (Closes: #414206) * Add XS-Vcs-Svn and XS-Vcs-Browser to the control file * Update dep on python-central to >= 0.5 as per lintian -- Baruch Even Sun, 8 Apr 2007 12:15:46 +0300 libhdate (1.4.8-1) unstable; urgency=low * New upstream release * Remove hardcoded python version (2.3), as preparation for the Python transition. * Comply with the new Python policy. -- Lior Kaplan Sat, 8 Jul 2006 23:04:56 +0300 libhdate (1.4.6-1) unstable; urgency=low * New upstream release * debian/control: upgrade Standards-Version to 3.7.2 (no changes needed) -- Lior Kaplan Mon, 15 May 2006 19:05:45 -0500 libhdate (1.4.3-2) unstable; urgency=low * Remove hardcoded i386 from libhdate-pascal. This enables non-empty packages for other architectures. -- Lior Kaplan Mon, 15 May 2006 00:37:57 +0000 libhdate (1.4.3-1) unstable; urgency=low * New upstream release * debian/control: enable libhdate-pascal for AMD64 * debian/watch: use uscan's sf.net shortcut -- Lior Kaplan Fri, 14 Apr 2006 22:30:14 +0300 libhdate (1.4.2-2) unstable; urgency=low * Update watch file -- Baruch Even Sun, 29 Jan 2006 23:25:54 +0000 libhdate (1.4.2-1) unstable; urgency=low [ Baruch Even ] * Conflicts/Replaces with libhdate0 to smooth upgrades from old packages. * New upstream version [ Lior Kaplan ] * Fix FSF address in debian/copyright -- Baruch Even Thu, 1 Dec 2005 11:28:16 +0000 libhdate (1.3.0-3) unstable; urgency=low * debian/control: - Change section to match overrides -- Baruch Even Thu, 11 Aug 2005 15:52:35 +0100 libhdate (1.3.0-2) unstable; urgency=low * debian/control: - Limit the build dependency of fp-compiler to i386, sparc & powerpc. - Build libhdate-pascl only on i386, sparc & powerpc - Add -s option (short for --same-arch) to all dh_* lines. -- Lior Kaplan Wed, 10 Aug 2005 23:10:05 +0300 libhdate (1.3.0-1) unstable; urgency=low * Initial release. (Closes: #291581: ITP: libhdate -- small C, C++ library for Hebrew dates and holidays) * Based on package by Kobi Zamir -- Lior Kaplan Wed, 3 Aug 2005 00:38:20 +0300 debian/libhdate-perl.install0000644000000000000000000000002012253150531013257 0ustar usr/lib/perl5/* debian/libhdate-dev.dirs0000644000000000000000000000002412253150531012372 0ustar usr/lib usr/include debian/libhdate1.install0000644000000000000000000000004712253150531012411 0ustar usr/lib/*/lib*.so.* usr/share/locale/* debian/compat0000644000000000000000000000000212253150531010361 0ustar 9 debian/patches/0000755000000000000000000000000012253151006010610 5ustar debian/patches/time_t.patch0000644000000000000000000000132012253150531013110 0ustar Author: Adam Borowski Description: fix sizes issues manifested in x32 Bug-Debian: http://bugs.debian.org/719808 libhdate calls localtime(long), when its interface requires time_t. If sizeof(long) == sizeof(time_t), all is ok. If sizeof(long) > sizeof(time_t), it will work on little-endian, use some uninitialized memory on big-endian. If sizeof(long) < sizeof(time_t), it will trample nearby memory. --- a/src/hdate_julian.c +++ b/src/hdate_julian.c @@ -367,7 +367,7 @@ hdate_set_gdate (hdate_struct * h, int d if ((d == 0) || (m == 0)) { struct tm *tm; - long t; + time_t t; /* FIXME: day start at 6:00 or 12:00 like in Gregorian cal. ? */ t = time (0); tm = localtime (&t); debian/patches/feb.patch0000644000000000000000000000535212253150531012374 0ustar Description: February may take more than 4 calendar lines Author: Tzafrir Cohen Bug-Debian: http://bugs.debian.org/696814 Fix the check for the number of separate weeks in each month (calender lines to print). The code considered February to always have four such weeks when in fact it normally spreads to 5. The original and simple patch by Yair Yoram did not account for leap years in which February is 29 days (using __isleap()). Doing so requires passing along the year number. While I was at it, I simplified the code in the function. --- a/examples/hcal/hcal.c +++ b/examples/hcal/hcal.c @@ -1161,26 +1161,27 @@ int print_calendar ( const int current_m int previous_year, next_year; int jd_current_month, jd_previous_month, jd_next_month; - void how_many_calendar_lines( int month, int start_dow ) + void how_many_calendar_lines( int month, int start_dow, int year) { + int days_in_month = 31; + int gross_days_of_month; /* incl. slack of previous month */ + switch (month) { case 4: case 6: case 9: - case 11: if (start_dow == 7) max_calendar_lines = 6; - else if (max_calendar_lines == 4) max_calendar_lines = 5; - break; - case 1: - case 3: - case 5: - case 7: - case 8: - case 10: - case 12: if (start_dow > 5) max_calendar_lines = 6; - else if (max_calendar_lines == 4) max_calendar_lines = 5; - break; + case 11: + days_in_month = 30; break; + case 2: + if (__isleap(year)) + days_in_month = 29; + else + days_in_month = 28; + break; } + gross_days_of_month = days_in_month + (start_dow - 1); + max_calendar_lines = (gross_days_of_month + 6) / 7; } /********************************************************* @@ -1190,7 +1191,7 @@ int print_calendar ( const int current_m *********************************************************/ hdate_set_gdate (&h, 1, current_month, current_year); jd_current_month = h.hd_jd - h.hd_dw + 1; - how_many_calendar_lines( h.gd_mon, h.hd_dw ); + how_many_calendar_lines( h.gd_mon, h.hd_dw, h.gd_year); /********************************************************* * three months, side-by-side @@ -1212,7 +1213,7 @@ int print_calendar ( const int current_m } hdate_set_gdate (&h, 1, previous_month, previous_year); jd_previous_month = h.hd_jd - h.hd_dw + 1; - how_many_calendar_lines( h.gd_mon, h.hd_dw ); + how_many_calendar_lines( h.gd_mon, h.hd_dw, h.gd_year); /********************************************************* * next month @@ -1229,7 +1230,7 @@ int print_calendar ( const int current_m } hdate_set_gdate (&h, 1, next_month, next_year); jd_next_month = h.hd_jd - h.hd_dw + 1; - how_many_calendar_lines( h.gd_mon, h.hd_dw ); + how_many_calendar_lines( h.gd_mon, h.hd_dw, h.gd_year); } debian/patches/duplicate_gnu_source.patch0000644000000000000000000000301112253150531016031 0ustar Description: _GNU_SOURCE is already set in autoconf. Author: Tzafrir Cohen --- a/examples/hcal/hdate.c +++ b/examples/hcal/hdate.c @@ -20,7 +20,6 @@ * along with this program. If not, see . */ -#define _GNU_SOURCE // For mempcpy, asprintf #include // For hebrew date //#include "../../src/hdate.h" #include // For atoi, getenv, setenv --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c @@ -25,7 +25,6 @@ /************************************************** * functions to support hcal and hdate **************************************************/ -#define _GNU_SOURCE // For mempcpy, asprintf #include // For hebrew date //include "../../src/hdate.h" --- a/examples/hcal/hcal.c +++ b/examples/hcal/hcal.c @@ -20,7 +20,6 @@ * along with this program. If not, see . */ -#define _GNU_SOURCE // for mempcpy #include // For printf #include // For hebrew date //#include "../../src/hdate.h" --- a/src/deprecated.c +++ b/src/deprecated.c @@ -16,7 +16,6 @@ * along with this program. If not, see . */ -#define _GNU_SOURCE #include #include #include --- a/src/hdate_strings.c +++ b/src/hdate_strings.c @@ -18,7 +18,6 @@ * along with this program. If not, see . */ -#define _GNU_SOURCE #include #include #include debian/patches/cflags.patch0000644000000000000000000000546412253150531013103 0ustar Description: Pass variables set by Debian build system Author: Tzafrir Cohen The Debian build system sets several variables (LDFLAGS, CFLAGS, CPPFLAGS). * CFLAGS was overriden by the configure script. * The perl and python bindings were not using the values of those variables. --- a/configure.in +++ b/configure.in @@ -33,7 +33,6 @@ AC_C_CONST AC_CONFIG_MACRO_DIR([m4]) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -CFLAGS= LIBS=-lm dnl ======================================================================================= --- a/configure +++ b/configure @@ -12466,7 +12466,6 @@ fi -CFLAGS= LIBS=-lm --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -11,8 +11,8 @@ all-am: hdate.so hdate.so: hdate_wrap.cxx - g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src - g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so + g++ -fpic -c hdate_wrap.cxx $(CFLAGS) $(CPPFLAGS) $(PE_CFLAGS) -I$(top_srcdir)/src + g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so $(LDFLAGS) hdate_wrap.cxx: hdate.i swig -perl -c++ hdate.i --- a/bindings/perl/Makefile.in +++ b/bindings/perl/Makefile.in @@ -402,8 +402,8 @@ uninstall-am: @WITH_PERL_TRUE@all-am: hdate.so @WITH_PERL_TRUE@hdate.so: hdate_wrap.cxx -@WITH_PERL_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src -@WITH_PERL_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so +@WITH_PERL_TRUE@ g++ -fpic -c hdate_wrap.cxx $(CFLAGS) $(CPPFLAGS) $(PE_CFLAGS) -I$(top_srcdir)/src +@WITH_PERL_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so $(LDFLAGS) @WITH_PERL_TRUE@hdate_wrap.cxx: hdate.i @WITH_PERL_TRUE@ swig -perl -c++ hdate.i --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -11,8 +11,8 @@ all-am: _hdate.so _hdate.so: hdate_wrap.cxx - g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src - g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so + g++ -fpic -c hdate_wrap.cxx $(CPPFLAGS) $(CFLAGS) $(PY_CFLAGS) -I$(top_srcdir)/src + g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so $(LDFLAGS) hdate_wrap.cxx: hdate.i swig -python -c++ hdate.i --- a/bindings/python/Makefile.in +++ b/bindings/python/Makefile.in @@ -402,8 +402,8 @@ uninstall-am: @WITH_PYTHON_TRUE@all-am: _hdate.so @WITH_PYTHON_TRUE@_hdate.so: hdate_wrap.cxx -@WITH_PYTHON_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src -@WITH_PYTHON_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so +@WITH_PYTHON_TRUE@ g++ -fpic -c hdate_wrap.cxx $(CPPFLAGS) $(CFLAGS) $(PY_CFLAGS) -I$(top_srcdir)/src +@WITH_PYTHON_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so $(LDFLAGS) @WITH_PYTHON_TRUE@hdate_wrap.cxx: hdate.i @WITH_PYTHON_TRUE@ swig -python -c++ hdate.i debian/patches/size_t.patch0000644000000000000000000000377312253150531013142 0ustar Description: size_t vars need %d in printf. %*s needs int Author: Tzafrir Cohen --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c @@ -247,11 +247,11 @@ void revstr( char *source, const size_t #define DEBUG 0 #if DEBUG -printf("\nrevstr: entry: sourcelen = %d, source = %s\n",source_len, source); +printf("\nrevstr: entry: sourcelen = %zd, source = %s\n",source_len, source); #endif if (source == NULL) {error(0,0,"revstr: source buffer pointer is NULL"); exit(0);}; - if (source_len <= 0) {error(0,0,"revstr: source_len parameter invalid, %d",source_len); exit(0);}; + if (source_len <= 0) {error(0,0,"revstr: source_len parameter invalid, %zd",source_len); exit(0);}; size_t i,j; char *temp_buff; @@ -272,7 +272,7 @@ printf("\nrevstr: entry: sourcelen = %d, memcpy(source, temp_buff, source_len); source[source_len] = '\0'; #if DEBUG -printf("\nrevstr: before free(tempbuff): sourcelen = %d, source = %s\n",source_len, source); +printf("\nrevstr: before free(tempbuff): sourcelen = %zd, source = %s\n",source_len, source); #endif free(temp_buff); return; --- a/examples/hcal/hcal.c +++ b/examples/hcal/hcal.c @@ -1135,7 +1135,7 @@ void print_week( int jd, const int month // padding - FIXME - spaces are single-byte, while // the Hebrew characters are two bytes const int margin_max = 15; - printf("%*s%s", (margin_max - shabbat_name_str_len/2)," ", shabbat_name_buffer); + printf("%*s%s", (int) (margin_max - shabbat_name_str_len/2)," ", shabbat_name_buffer); free(shabbat_name_buffer); } @@ -1344,7 +1344,7 @@ int print_month ( const int month, const // padding - FIXME - spaces are single-byte, while // the Hebrew characters are two bytes const int margin_max = 16; // 15 fails because of jabotinsky in july - printf("%*s%s\n", (margin_max - holiday_str_len/2)," ", holiday_buffer); + printf("%*s%s\n", (int) (margin_max - holiday_str_len/2)," ", holiday_buffer); free(holiday_buffer); } debian/patches/nested_extern.patch0000644000000000000000000000170512253150531014505 0ustar Description: Do not include headers inside a function. Author: Tzafrir Cohen If you #include unistd.h inside a function, the declerations made in it can be considered nested functions. --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c @@ -641,6 +641,11 @@ file. Attempting to create a config file } +#include // for get pwuid +#include // for getuid +#include +#include // for mkdir, + /************************************************************ * Open config file, or create one * - returns filepointer or NULL @@ -650,11 +655,6 @@ FILE* get_config_file( const char* confi const char* config_file_name, const char* default_config_file_text ) { -#include // for get pwuid -#include // for getuid -#include -#include // for mkdir, - size_t path_len; char* config_home_path_name = ""; debian/patches/missing_format.patch0000644000000000000000000000152312253150531014655 0ustar Description: Use an explicit format string when printing config file Author: Tzafrir Cohen The call to print the default configuration text to the configuration file should use an explicit "%s". However the text comes from the code and does not happen to contain any '%' sign, so it is not explitable. --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c @@ -676,7 +676,7 @@ FILE* get_config_file( const char* confi error(0, errno, "%s: %s", N_("failure attempting to create config file"), config_file_path); return; } - fprintf(config_file, default_config_file_text); + fprintf(config_file, "%s", default_config_file_text); error(0,0,"%s: %s",N_("config file created"), config_file_path); if (fclose(config_file) != 0) error(0,errno,"%s %s",N_("failure closing"),config_file_name); } debian/patches/manpage.patch0000644000000000000000000003250512253150531013250 0ustar Description: Fix a hyphen used as minus sign (thanks lintian) Author: Lior Kaplan --- a/docs/man/man1/hcal.1 +++ b/docs/man/man1/hcal.1 @@ -7,13 +7,13 @@ hcal \- displays a Hebrew / Gregorian ca .B hcal [options] [coordinates [timezone]] [[mm] yyyy] .TP -coordinates: -l [NS]yy[.yyy] -L [EW]xx[.xxx] +coordinates: \-l [NS]yy[.yyy] \-L [EW]xx[.xxx] .RE .RS 7 - -l [NS]yy[:mm[:ss]] -L [EW]xx[:mm[:ss]] + \-l [NS]yy[:mm[:ss]] \-L [EW]xx[:mm[:ss]] .RE .RS 7 -timezone: -z nn[( .nn | :mm )] +timezone: \-z nn[( .nn | :mm )] .PP .SH "DESCRIPTION" .B hcal @@ -34,78 +34,78 @@ will interpret the given date as a Hebre .PP .SH "OPTIONS" .TP 18 -.B \-1 --one-month -over-ride config file setting if you had set option --three-month as a default there +.B \-1 \-\-one\-month +over-ride config file setting if you had set option \-\-three\-month as a default there .TP -.B \-3 --three-month +.B \-3 \-\-three\-month output previous/next months, side by side. requires 127 columns .TP -.B \-b --bidi +.B \-b \-\-bidi output Hebrew information in Hebrew , in reverse .RE .RS 7 -.B \ \ \ --visual +.B \ \ \ \-\-visual \ sequence .P .RE .RS 7 -.B \ \ \ --no-bidi +.B \ \ \ \-\-no\-bidi \ over-ride config file setting if you had set .RE .RS 7 -.B \ \ \ --no-visual -\ option -bidi as a default there +.B \ \ \ \-\-no\-visual +\ option \-\-bidi as a default there .TP 18 -.B \-c --colorize +.B \-c \-\-colorize output in calming, muted tones .RE .RS 7 -.B \ \ \ --no-color +.B \ \ \ \-\-no\-color \ over-ride config file setting .TP 18 -.B \-d --diaspora +.B \-d \-\-diaspora use diaspora reading and holidays. Only relevant if hcal is using location information indicating an Israeli timezone .TP -.B \-f --footnote +.B \-f \-\-footnote output descriptive notes of holidays .RE .RS 7 -.B \ \ \ --no-footnote +.B \ \ \ \-\-no\-footnote \ over-ride config file setting .TP 18 -.B \-h --html +.B \-h \-\-html output in html format to stdout .RE .RS 7 -.B \ \ \ --no-html +.B \ \ \ \-\-no\-html \ over-ride config file setting .TP 18 -.B \-H --hebrew -output Hebrew information in Hebrew, in 'logical' sequence. If this displays in reverse for you, use option -b +.B \-H \-\-hebrew +output Hebrew information in Hebrew, in 'logical' sequence. If this displays in reverse for you, use option \-b .TP -.B \-I --israel +.B \-I \-\-israel override a diaspora default. Only relevant if hcal is using location information indicating other than an Israeli timezone .TP .B \-i use external css file "./hcal.css" for html output .TP -.B \ \ \ \--no-reverse +.B \ \ \ \-\-no\-reverse do not highlight today's date .TP -.B \-p --parasha +.B \-p \-\-parasha output week's parasha on each calendar row .TP -.B \-s --shabbat +.B \-s \-\-shabbat output Shabbat times and parshiot .TP -.B \-l --latitude +.B \-l \-\-latitude [NS]yy[.yyy] decimal degrees, or [NS]yy[:mm[:ss]] degrees, minutes, seconds. Negative values are South .TP -.B \-L --longitude +.B \-L \-\-longitude [EW]xx[.xxx] decimal degrees, or [EW]xx[:mm[:ss]] degrees, minutes, seconds. Negative values are West .TP -.B \-z --timezone -\+/-UTC. Notation may be in decimal hours ( hh[.hh] ) or hours, minutes ( hh[:mm] ) +.B \-z \-\-timezone +\+/\-UTC. Notation may be in decimal hours ( hh[.hh] ) or hours, minutes ( hh[:mm] ) .SH NOTES .SS "HOLIDAYS" .PP @@ -153,7 +153,7 @@ Gregorian and Hebrew dates, as follows: \ Other Israeli National days .RE .P -Use the -f (--footnote) option to have hcal describe what any particular day is marking. +Use the \-f (\-\-footnote) option to have hcal describe what any particular day is marking. .SS LOCATIONS If you want .B hcal @@ -164,9 +164,9 @@ requires location and time zone informat uses your computer's local time zone information as an indicator, and either picks a city in that time zone, or defaults to the equator at the center of that time zone. If .B hcal can't even retrieve time zone information from your computer, it defaults to Tel-Aviv. For other locations, use the -.B -l -L +.B \-l \-L option pair. For other timezones, use the -.B -z +.B \-z option. Co-ordinates and standard time zones for some common locations are listed below. .PP The current defaults include: @@ -174,7 +174,7 @@ The current defaults include: Timezone Default city Lattitude Longitude .RE .RS 12 --5 New York City 40 \-74 +\-5 New York City 40 \-74 .RE .RS 12 0 London 51 0 @@ -191,19 +191,19 @@ Timezone Default city Lattitude Lo .PP Useful locations and time zones .RS 6 -Jerusalem 31, 35, 2 Buenos Aires 34, -58, -3 +Jerusalem 31, 35, 2 Buenos Aires 34, \-58, \-3 .RE .RS 6 Tel Aviv 32, 34, 2 Hong Kong 22, 114, 8 .RE .RS 6 -Haifa 32, 34, 2 Los Angeles 34, -118, -8 +Haifa 32, 34, 2 Los Angeles 34, \-118, \-8 .RE .RS 6 -Beer Sheva 31, 34, 2 Sao Paolo 23, -46, -3 +Beer Sheva 31, 34, 2 Sao Paolo 23, \-46, \-3 .RE .RS 6 -Ashdod 31, 34, 2 Toronto 43, -79 -5 +Ashdod 31, 34, 2 Toronto 43, \-79 \-5 .RS 6 .RE Tiberias 32, 35, 2 @@ -233,18 +233,18 @@ The timezone support is currenlty primit .TP 10 .B Historical The software does not yet account for the phenomenon and complications of the "Gregorian transition" from the prior, Julian calendar, which effectively caused an instantaneous 'loss' of two weeks for all gentiles affected. Countries (eg. Poland, Spain and Italy) began adopting the Gregorian calendar on 8 Tishrei 5343 (4 October 1582CE), although many did not transition until the 56th century (1752 CE, eg. UK colonies, Sweden). Russia did not adopt the Gregorian calendar until 5678 (1918 CE) and Turkey did not until 5687 (December, 1926 CE). Many other countries made the transition on other dates. Keep in mind that Russia invaded part of Poland, undoing, for the interim, the Gregorian transition for (only) that part of Poland; Also important to remember in this regard is that Eretz Ysroel was part of the Turkish Ottoman empire until the British mandate (5677 (1917CE)). Until all this is accounted for adequately by this application, refer to ' -.B ncal -p +.B ncal \-p \' for a basic table of country transitions. However, keep in mind that European borders underwent many changes during the 426 years in question, so the accuracy of your data will depend on accurate knowledge of whether any particular date at any specific location was Julian or Gregorian. .SH "EXAMPLES" .TP 3 1. Display a 2012ce year's calendar, three-months wide, in color. .RS 6 -.B hcal -3c 2012 +.B hcal \-3c 2012 .RE .HP 3 2. Display the current month's calendar, with Shabbat times, parshiot, footnoted holiday identification, with Hebrew information in Hebrew, and all in "calming", "muted" color-tones. .RS 6 -.B hcal -csfH +.B hcal \-csfH .SH "SEE ALSO" mlterm(1), hdate(1), hebcal(1), date(1), ncal(1), cal(1), remind(1) .SH "AUTHORS" --- a/docs/man/man3/hdate.h.3 +++ b/docs/man/man3/hdate.h.3 @@ -999,7 +999,7 @@ a static string with name of translator, .PP helper function to find hebrew locale \fBReturns:\fP .RS 4 -0 - latin locale, -1 - hebrew locale +0 - latin locale, \-1 - hebrew locale .RE .PP --- a/docs/man/man1/hdate.1 +++ b/docs/man/man1/hdate.1 @@ -9,13 +9,13 @@ hdate \- displays Hebrew date informatio .B hdate [options] [coordinates [timezone]] [ julian_day ] .TP -coordinates: -l [NS]yy[.yyy] -L [EW]xx[.xxx] +coordinates: \-l [NS]yy[.yyy] \-L [EW]xx[.xxx] .RE .RS 7 - -l [NS]yy[:mm[:ss]] -L [EW]xx[:mm[:ss]] + \-l [NS]yy[:mm[:ss]] \-L [EW]xx[:mm[:ss]] .RE .RS 7 -timezone: -z nn[( .nn | :mm )] +timezone: \-z nn[( .nn | :mm )] .PP .SH "DESCRIPTION" .B hdate @@ -45,79 +45,79 @@ will interpret it as the "Julian day num .PP .SH "OPTIONS" .TP 18 -.B \-b --bidi +.B \-b \-\-bidi output Hebrew information in Hebrew, but in reverse .RE .RS 7 -.B \ \ \ --visual +.B \ \ \ \-\-visual \ sequence. .TP 18 .B \-c print Shabbat start/end times. Shabbat starts 20 min before sunset, and ends when three stars are out. .TP -.B \-d --diaspora +.B \-d \-\-diaspora use diaspora reading and holidays. .TP -.B \-h --holidays +.B \-h \-\-holidays print holidays. .TP .B \-H Print only if it is a holiday. .TP -.B \-i --ical +.B \-i \-\-ical use iCal formatted output. .TP -.B \-j --julian +.B \-j \-\-julian print Julian day number. .TP -.B \-o --omer +.B \-o \-\-omer print Sefirat Ha Omer .TP -.B \-q --quiet-alerts +.B \-q \-\-quiet\-alerts quiet. suppress warning messages .TP -.B \-r --parasha +.B \-r \-\-parasha print weekly reading for Shabbat. .TP .B \-R print only if the weekly reading is read on that Shabbat .TP -.B \-s --sun +.B \-s \-\-sun print sunrise/sunset times. .TP -.B \-S --short-format +.B \-S \-\-short\-format print using short format. .TP .B \-t print day times: first light, talit, sunrise, mid day, sunset, first stars, three stars .TP -.B \-T --table +.B \-T \-\-table print tabular output. All data for each requested day will be output on a single comma-delimited line. Most suitable for piping, or export to spreadsheets\n\n\ .TP -.B \-l --latitude +.B \-l \-\-latitude [NS]yy[.yyy] decimal degrees, or [NS]yy[:mm[:ss]] degrees, minutes, seconds. Negative values are South .TP -.B \-L --longitude +.B \-L \-\-longitude [EW]xx[.xxx] decimal degrees, or [EW]xx[:mm[:ss]] degrees, minutes, seconds. Negative values are West .TP -.B \-z --timezone -\+/-UTC. Notation may be in decimal hours ( hh[.hh] ) or hours, minutes ( hh[:mm] ) +.B \-z \-\-timezone +\+/\-UTC. Notation may be in decimal hours ( hh[.hh] ) or hours, minutes ( hh[:mm] ) .TP -.B \ \ --hebrew +.B \ \ \-\-hebrew forces Hebrew to print in Hebrew characters .TP -.B \ \ --yom +.B \ \ \-\-yom force Hebrew prefix to Hebrew day of week .TP -.B \ \ --leshabbat +.B \ \ \-\-leshabbat insert parasha between day of week and day .TP -.B \ \ --leseder +.B \ \ \-\-leseder insert parasha between day of week and day .TP -.B \ \ --not-sunset-aware +.B \ \ \-\-not\-sunset\-aware don't display next day if after sunset .SH NOTES .SS LOCATIONS @@ -130,9 +130,9 @@ requires location and time zone informat uses your computer's local time zone information as an indicator, and either picks a city in that time zone, or defaults to the equator at the center of that time zone. If .B hdate can't even retrieve time zone information from your computer, it defaults to Tel-Aviv. For other locations, use the -.B -l -L +.B \-l \-L option pair. For other timezones, use the -.B -z +.B \-z option. Co-ordinates and standard time zones for some common locations are listed below. .PP The current defaults include: @@ -140,7 +140,7 @@ The current defaults include: Timezone Default city Lattitude Longitude .RE .RS 12 --5 New York City 40 \-74 +\-5 New York City 40 \-74 .RE .RS 12 0 London 51 0 @@ -157,19 +157,19 @@ Timezone Default city Lattitude Lo .PP Useful locations and time zones .RS 6 -Jerusalem 31, 35, 2 Buenos Aires 34, -58, -3 +Jerusalem 31, 35, 2 Buenos Aires 34, \-58, \-3 .RE .RS 6 Tel Aviv 32, 34, 2 Hong Kong 22, 114, 8 .RE .RS 6 -Haifa 32, 34, 2 Los Angeles 34, -118, -8 +Haifa 32, 34, 2 Los Angeles 34, \-118, \-8 .RE .RS 6 -Beer Sheva 31, 34, 2 Sao Paolo 23, -46, -3 +Beer Sheva 31, 34, 2 Sao Paolo 23, \-46, \-3 .RE .RS 6 -Ashdod 31, 34, 2 Toronto 43, -79 -5 +Ashdod 31, 34, 2 Toronto 43, \-79 \-5 .RS 6 .RE Tiberias 32, 35, 2 @@ -199,17 +199,17 @@ The timezone support is currenlty primit .TP 10 .B Historical The software does not yet account for the phenomenon and complications of the "Gregorian transition" from the prior, Julian calendar, which effectively caused an instantaneous 'loss' of two weeks for all gentiles affected. Countries (eg. Poland, Spain and Italy) began adopting the Gregorian calendar on 8 Tishrei 5343 (4 October 1582CE), although many did not transition until the 56th century (1752 CE, eg. UK colonies, Sweden). Russia did not adopt the Gregorian calendar until 5678 (1918 CE) and Turkey did not until 5687 (December, 1926 CE). Many other countries made the transition on other dates. Keep in mind that Russia invaded part of Poland, undoing, for the interim, the Gregorian transition for (only) that part of Poland; Also important to remember in this regard is that Eretz Ysroel was part of the Turkish Ottoman empire until the British mandate (5677 (1917CE)). Until all this is accounted for adequately by this application, refer to ' -.B ncal -p +.B ncal \-p \' for a basic table of country transitions. However, keep in mind that European borders underwent many changes during the 426 years in question, so the accuracy of your data will depend on accurate knowledge of whether any particular date at any specific location was Julian or Gregorian. .SH "EXAMPLES" 1. Create an iCal calendar of the holidays of year 2025. .RS 6 -.B hdate -Hi 2025 +.B hdate \-Hi 2025 .RE .HP 3 2. Print out the weekly readings and sunset/sunrise times for Eilat, on April 2031. .RS 6 -.B hdate -sR 4 2031 -l29 -L34 -z2 +.B hdate \-sR 4 2031 \-l29 \-L34 \-z2 .RE .SH "SEE ALSO" mlterm(1), hcal(1), hebcal(1), date(1), ncal(1), cal(1), remind(1) debian/patches/docdir.patch0000644000000000000000000000070312253150531013077 0ustar Description: Update libhdatedocdir to the one used by the debian Author: Debian Hebrew Packaging Team --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,7 @@ SUBDIRS = po docs src examples bindings pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libhdate.pc -libhdatedocdir = ${prefix}/share/doc/libhdate +libhdatedocdir = ${prefix}/share/doc/libhdate1 libhdatedoc_DATA = \ README\ COPYING\ debian/patches/ld-as-needed.patch0000644000000000000000000000744612253150531014070 0ustar Description: Fix build from source when linking with "ld --as-needed" Author: Matthias Klose --- a/bindings/perl/Makefile.in +++ b/bindings/perl/Makefile.in @@ -403,7 +403,7 @@ @WITH_PERL_TRUE@hdate.so: hdate_wrap.cxx @WITH_PERL_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src -@WITH_PERL_TRUE@ g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so +@WITH_PERL_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so @WITH_PERL_TRUE@hdate_wrap.cxx: hdate.i @WITH_PERL_TRUE@ swig -perl -c++ hdate.i --- a/bindings/perl/Makefile.am +++ b/bindings/perl/Makefile.am @@ -12,7 +12,7 @@ hdate.so: hdate_wrap.cxx g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src - g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so + g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so hdate_wrap.cxx: hdate.i swig -perl -c++ hdate.i --- a/bindings/php/Makefile.in +++ b/bindings/php/Makefile.in @@ -403,7 +403,7 @@ @WITH_PHP_TRUE@hdate.so: hdate_wrap.cpp @WITH_PHP_TRUE@ g++ -I$(top_srcdir)/src `php-config --includes` -fpic -c hdate_wrap.cpp -@WITH_PHP_TRUE@ gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -lstdc++ -o hdate.so +@WITH_PHP_TRUE@ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -lstdc++ -o hdate.so @WITH_PHP_TRUE@hdate_wrap.cpp: hdate.i @WITH_PHP_TRUE@ swig -php5 -c++ hdate.i --- a/bindings/php/Makefile.am +++ b/bindings/php/Makefile.am @@ -12,7 +12,7 @@ hdate.so: hdate_wrap.cpp g++ -I$(top_srcdir)/src `php-config --includes` -fpic -c hdate_wrap.cpp - gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -lstdc++ -o hdate.so + gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -lstdc++ -o hdate.so hdate_wrap.cpp: hdate.i swig -php5 -c++ hdate.i --- a/bindings/ruby/Makefile.in +++ b/bindings/ruby/Makefile.in @@ -403,7 +403,7 @@ @WITH_RUBY_TRUE@hdate.so: hdate_wrap.cxx @WITH_RUBY_TRUE@ g++ -fpic -fno-strict-aliasing -g -O2 -c hdate_wrap.cxx $(RU_CFLAGS) -I$(top_srcdir)/src -@WITH_RUBY_TRUE@ gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so +@WITH_RUBY_TRUE@ gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so @WITH_RUBY_TRUE@hdate_wrap.cxx: hdate.i @WITH_RUBY_TRUE@ swig -c++ -ruby hdate.i --- a/bindings/ruby/Makefile.am +++ b/bindings/ruby/Makefile.am @@ -12,7 +12,7 @@ hdate.so: hdate_wrap.cxx g++ -fpic -fno-strict-aliasing -g -O2 -c hdate_wrap.cxx $(RU_CFLAGS) -I$(top_srcdir)/src - gcc -shared ../../src/.libs/libhdate.so hdate_wrap.o -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so + gcc -shared hdate_wrap.o ../../src/.libs/libhdate.so -rdynamic -Wl,-export-dynamic -lruby$(RU_VERSION) -lpthread -ldl -lcrypt -lm -lc -lstdc++ -o hdate.so hdate_wrap.cxx: hdate.i swig -c++ -ruby hdate.i --- a/bindings/python/Makefile.in +++ b/bindings/python/Makefile.in @@ -403,7 +403,7 @@ @WITH_PYTHON_TRUE@_hdate.so: hdate_wrap.cxx @WITH_PYTHON_TRUE@ g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src -@WITH_PYTHON_TRUE@ g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so +@WITH_PYTHON_TRUE@ g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so @WITH_PYTHON_TRUE@hdate_wrap.cxx: hdate.i @WITH_PYTHON_TRUE@ swig -python -c++ hdate.i --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -12,7 +12,7 @@ _hdate.so: hdate_wrap.cxx g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src - g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so + g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so hdate_wrap.cxx: hdate.i swig -python -c++ hdate.i debian/patches/typo_output.patch0000644000000000000000000001766512253150531014265 0ustar Description: typo: "ouput" (Lintian) Author: Tzafrir Cohen --- a/examples/hcal/hdate.c +++ b/examples/hcal/hdate.c @@ -102,7 +102,7 @@ VERSION=2.00\n\ # and its (limited, and maybe biased) of the dominant Jewish community\n\ # in that timezone. When hdate is forced to guess, it alerts the user\n\ # with a message that includes the guessed location.\n\ -# hdate's guesses will also affect its default behaviour for ouput of\n\ +# hdate's guesses will also affect its default behaviour for output of\n\ # Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n\ #SUNSET_AWARE=TRUE\n\ # LATITUDE and LONGITUDE may be in decimal format or in the form\n\ --- a/examples/hcal/hcal.c +++ b/examples/hcal/hcal.c @@ -162,7 +162,7 @@ VERSION=2.00\n\ # and its (limited, and maybe biased) of the dominant Jewish community\n\ # in that timezone. When hcal is forced to guess, it alerts the user\n\ # with a message that includes the guessed location.\n\ -# hcal's guesses will also affect its default behaviour for ouput of\n\ +# hcal's guesses will also affect its default behaviour for output of\n\ # Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n\ #SUNSET_AWARE=TRUE\n\ # LATITUDE and LONGITUDE may be in decimal format or in the form\n\ --- a/po/es_MX.po +++ b/po/es_MX.po @@ -677,7 +677,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -934,7 +934,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" --- a/po/fr.po +++ b/po/fr.po @@ -661,7 +661,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -918,7 +918,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" --- a/po/he.po +++ b/po/he.po @@ -658,7 +658,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -915,7 +915,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" --- a/po/libhdate.pot +++ b/po/libhdate.pot @@ -659,7 +659,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -916,7 +916,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" --- a/po/ru.po +++ b/po/ru.po @@ -662,7 +662,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -919,7 +919,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" --- a/po/sv.po +++ b/po/sv.po @@ -661,7 +661,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hcal is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hcal's guesses will also affect its default behaviour for ouput of\n" +"# hcal's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" @@ -918,7 +918,7 @@ msgid "" "# and its (limited, and maybe biased) of the dominant Jewish community\n" "# in that timezone. When hdate is forced to guess, it alerts the user\n" "# with a message that includes the guessed location.\n" -"# hdate's guesses will also affect its default behaviour for ouput of\n" +"# hdate's guesses will also affect its default behaviour for output of\n" "# Shabbat times, parshiot, and choice of Israel/diaspora hoidays.\n" "#SUNSET_AWARE=TRUE\n" "# LATITUDE and LONGITUDE may be in decimal format or in the form\n" debian/patches/series0000644000000000000000000000026112253150531012026 0ustar docdir.patch ld-as-needed.patch manpage.patch fix_3 time_t.patch typo_output.patch cflags.patch duplicate_gnu_source.patch size_t.patch nested_extern.patch missing_format.patch debian/patches/fix_30000644000000000000000000000105512253150531011546 0ustar Description: Fixes an endless with hcal -3 Author: Tzafrir Cohen On hcal -3 we get padding < 0, and hence an endless loop as it is unsigned. --- a/examples/hcal/hcal.c +++ b/examples/hcal/hcal.c @@ -656,7 +656,7 @@ void print_header_month_line_stdout( con /************************************************** * print padding *************************************************/ - for (j = 1; j < padding; j++) printf(" "); + for (j = 1; j < (int)padding; j++) printf(" "); /************************************************** debian/libhdate-php.dirs0000644000000000000000000000002012253150531012377 0ustar etc/php5/conf.d debian/python-hdate.install0000644000000000000000000000002212253150531013151 0ustar usr/lib/python*/* debian/control0000644000000000000000000000644512253150600010574 0ustar Source: libhdate Priority: optional Section: libdevel Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Hebrew Packaging Team Uploaders: Baruch Even , Lior Kaplan , Shachar Shemesh , Tzafrir Cohen Vcs-Svn: svn://anonscm.debian.org/debian-hebrew/pkg/libhdate Vcs-Browser: http://anonscm.debian.org/viewvc/debian-hebrew/pkg/libhdate Build-Depends: debhelper (>= 9), swig, python-dev (>= 2.6.6-3~), autotools-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://libhdate.sourceforge.net/ Package: libhdate-dev Architecture: any Multi-Arch: same Depends: libhdate1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Provides a library that help use hebrew dates (development files) LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir's "hdate" package fixed and patched by Nadav Har'El. The Torah reading sequence is from tables by Zvi Har'El. . This package contains headers and support files required to build new applications with libhdate. Package: python-hdate Section: python Architecture: any Multi-Arch: foreign Provides: ${python:Provides} Depends: libhdate1 (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Provides a library that help use hebrew dates (python bindings) LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir's "hdate" package fixed and patched by Nadav Har'El. The Torah reading sequence is from tables by Zvi Har'El. . This package contains Python bindings to libhdate Package: libhdate-perl Section: perl Architecture: any Depends: libhdate1 (= ${binary:Version}), ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Provides a library that help use hebrew dates (perl bindings) LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir's "hdate" package fixed and patched by Nadav Har'El. The Torah reading sequence is from tables by Zvi Har'El. . This package contains perl bindings to libhdate Package: libhdate1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: libhdate0 Replaces: libhdate0 Description: Provides a library that help use hebrew dates LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir's "hdate" package fixed and patched by Nadav Har'El. The Torah reading sequence is from tables by Zvi Har'El. Package: hdate Section: utils Architecture: any Depends: libhdate1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Replaces: libhdate0 (<< 1.6-1ubuntu1) Description: Provides the hcal and hdate binaries that help use hebrew dates LibHdate is a small C,C++ library for Hebrew dates, holidays, and reading sequence (parasha). It is using the source code from Amos Shapir's "hdate" package fixed and patched by Nadav Har'El. The Torah reading sequence is from tables by Zvi Har'El. debian/libhdate1.symbols0000644000000000000000000000253012253150531012432 0ustar libhdate.so.1 libhdate1 #MINVER# delete_hdate@Base 1.6 hdate_days_from_3744@Base 1.6 hdate_gdate_to_jd@Base 1.6 hdate_get_day_of_the_week@Base 1.6 hdate_get_day_of_year@Base 1.6 hdate_get_day_string@Base 1.6 hdate_get_days@Base 1.6 hdate_get_format_date@Base 1.6 hdate_get_gday@Base 1.6 hdate_get_gmonth@Base 1.6 hdate_get_gyear@Base 1.6 hdate_get_hday@Base 1.6 hdate_get_hebrew_month_string@Base 1.6 hdate_get_hmonth@Base 1.6 hdate_get_holyday@Base 1.6 hdate_get_holyday_string@Base 1.6 hdate_get_holyday_type@Base 1.6 hdate_get_hyear@Base 1.6 hdate_get_int_string@Base 1.6 hdate_get_julian@Base 1.6 hdate_get_month_string@Base 1.6 hdate_get_new_year_day_of_the_week@Base 1.6 hdate_get_omer_day@Base 1.6 hdate_get_omer_string@Base 1.6 hdate_get_parasha@Base 1.6 hdate_get_parasha_string@Base 1.6 hdate_get_size_of_hebrew_year@Base 1.6 hdate_get_size_of_year@Base 1.6 hdate_get_translator_string@Base 1.6 hdate_get_utc_sun_time@Base 1.6 hdate_get_utc_sun_time_deg@Base 1.6 hdate_get_utc_sun_time_full@Base 1.6 hdate_get_version_string@Base 1.6 hdate_get_weeks@Base 1.6 hdate_get_year_type@Base 1.6 hdate_hdate_to_jd@Base 1.6 hdate_is_hebrew_locale@Base 1.6 hdate_jd_to_gdate@Base 1.6 hdate_jd_to_hdate@Base 1.6 hdate_set_gdate@Base 1.6 hdate_set_hdate@Base 1.6 hdate_set_jd@Base 1.6 hdate_string@Base 1.6 new_hdate@Base 1.6 debian/rules0000755000000000000000000000033412253150544010247 0ustar #!/usr/bin/make -f %: dh $* --with python2,autotools_dev,autoreconf override_dh_auto_configure: dh_auto_configure -- --with-perl-sitelib-dir=/usr/lib/perl5 override_dh_python2: dh_python2 -s --no-guessing-versions debian/source/0000755000000000000000000000000012253151006010461 5ustar debian/source/format0000644000000000000000000000001412253150531011671 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000033112253150531010211 0ustar # format version number, currently 3; this line is compulsory! version=3 # If your package is located on sourceforge, use the following format # difficult mirror system. http://sf.net/libhdate/libhdate-(.*)\.tar\.bz2 debian/libhdate1.dirs0000644000000000000000000000003112253150531011675 0ustar usr/lib usr/share/locale debian/libhdate-dev.examples0000644000000000000000000000001312253150531013245 0ustar examples/*