[Debian-hebrew-package] [svn] r173 - in pkg/libhdate/trunk: bindings/perl bindings/python examples/hcal src

Lior Kaplan kaplan-guest at costa.debian.org
Tue Aug 9 19:06:09 UTC 2005


Author: kaplan-guest
Date: Tue Aug  9 19:06:09 2005
New Revision: 173

Modified:
   pkg/libhdate/trunk/bindings/perl/Makefile.in
   pkg/libhdate/trunk/bindings/python/Makefile.in
   pkg/libhdate/trunk/examples/hcal/hdate.1
   pkg/libhdate/trunk/src/hdate.h.3
   pkg/libhdate/trunk/src/hdate_struct.3
Log:
Apply patches to upstream files from libhdate_1.3.0-1:
   * Manpages errors by man.
   * Add -fPIC to perl/python bindings


Modified: pkg/libhdate/trunk/bindings/perl/Makefile.in
==============================================================================
--- pkg/libhdate/trunk/bindings/perl/Makefile.in	(original)
+++ pkg/libhdate/trunk/bindings/perl/Makefile.in	Tue Aug  9 19:06:09 2005
@@ -338,8 +338,8 @@
 @WITH_PERL_TRUE at all-am: hdate.so
 
 @WITH_PERL_TRUE at hdate.so: hdate_wrap.cxx
- at WITH_PERL_TRUE@	g++ -fpic -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
- at WITH_PERL_TRUE@	g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so
+ at WITH_PERL_TRUE@	g++ -fPIC -c hdate_wrap.cxx $(PE_CFLAGS) -I$(top_srcdir)/src
+ at WITH_PERL_TRUE@	g++ -fPIC -shared ../../src/.libs/libhdate.so hdate_wrap.o -o hdate.so
 
 @WITH_PERL_TRUE at hdate_wrap.cxx: hdate.i
 @WITH_PERL_TRUE@	swig -perl -c++ hdate.i

Modified: pkg/libhdate/trunk/bindings/python/Makefile.in
==============================================================================
--- pkg/libhdate/trunk/bindings/python/Makefile.in	(original)
+++ pkg/libhdate/trunk/bindings/python/Makefile.in	Tue Aug  9 19:06:09 2005
@@ -338,8 +338,8 @@
 @WITH_PYTHON_TRUE at all-am: _hdate.so
 
 @WITH_PYTHON_TRUE at _hdate.so: hdate_wrap.cxx
- at WITH_PYTHON_TRUE@	g++ -fpic -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
- at WITH_PYTHON_TRUE@	g++ -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so
+ at WITH_PYTHON_TRUE@	g++ -fPIC -c hdate_wrap.cxx $(PY_CFLAGS) -I$(top_srcdir)/src
+ at WITH_PYTHON_TRUE@	g++ -fPIC -shared ../../src/.libs/libhdate.so hdate_wrap.o -o _hdate.so
 
 @WITH_PYTHON_TRUE at hdate_wrap.cxx: hdate.i
 @WITH_PYTHON_TRUE@	swig -python -c++ hdate.i

Modified: pkg/libhdate/trunk/examples/hcal/hdate.1
==============================================================================
--- pkg/libhdate/trunk/examples/hcal/hdate.1	(original)
+++ pkg/libhdate/trunk/examples/hcal/hdate.1	Tue Aug  9 19:06:09 2005
@@ -12,9 +12,9 @@
 is from tables by Zvi Har'El.
 .SH "SYNOPSIS"
 .B hdate
-[-sShdr]
+[\-sShdr]
 .PP
-[-L longitude -l latitude]
+[\-L longitude \-l latitude]
 [-z timezone]
 .PP
 [[[day] month] year]
@@ -30,32 +30,32 @@
 back to the common calendar.
 Months are numbered with Tishrey being 1 and Elul 12; Adar I and Adar II are months 13 and 14.
 .PP
-.I -s 
+.I \-s 
 : Print sunrise/sunset times.
 .PP
-.I -S 
+.I \-S 
 : Print using short format.
 .PP
-.I -h 
+.I \-h 
 : Print holidays.
 .PP
-.I -r 
+.I \-r 
 : Print weekly reading on saturday.
 .PP
-.I -d 
+.I \-d 
 : Use diaspora reading and holidays.
 .PP
-.I -l 
+.I \-l 
 xx : Set the latitude for solar calculations to
 .PP
 xx degrees.  Negative values are south.
 .PP
-.I -L 
+.I \-L 
 xx : Set the longitude for solar calculations to
 .PP
 xx degrees.  *Negative values are EAST*.
 .PP
-.I -z 
+.I \-z 
 : Use specified timezone.
 .PP
 ( default location for sunrise/set is Tel Aviv ).

Modified: pkg/libhdate/trunk/src/hdate.h.3
==============================================================================
--- pkg/libhdate/trunk/src/hdate.h.3	(original)
+++ pkg/libhdate/trunk/src/hdate.h.3	Tue Aug  9 19:06:09 2005
@@ -16,95 +16,95 @@
 .SS "Functions"
 
 .in +1c
-.ti \-1c
+.ti -1c
 .RI "\fBhdate_struct\fP * \fBhdate_set_gdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
 .br 
 .RI "\fIcompute date structure from the Gregorian date \fP"
-.ti \-1c
+.ti -1c
 .RI "\fBhdate_struct\fP * \fBhdate_set_hdate\fP (\fBhdate_struct\fP *h, int d, int m, int y)"
 .br 
 .RI "\fIcompute date structure from the Hebrew date \fP"
-.ti \-1c
+.ti -1c
 .RI "\fBhdate_struct\fP * \fBhdate_set_jd\fP (\fBhdate_struct\fP *h, int jd)"
 .br 
 .RI "\fIcompute date structure from the Julian day \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_format_date\fP (\fBhdate_struct\fP *h, int diaspora, int s)"
 .br 
 .RI "\fIget formated hebrew date. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_parasha\fP (\fBhdate_struct\fP *h, int diaspora)"
 .br 
 .RI "\fIget the number of hebrew parasha. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_holyday\fP (\fBhdate_struct\fP *h, int diaspora)"
 .br 
 .RI "\fIget the number of hebrew holyday. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_int_string\fP (int n)"
 .br 
 .RI "\fIconvert an integer to hebrew string. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_day_string\fP (int day, int s)"
 .br 
 .RI "\fIget name of week day. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_month_string\fP (int month, int s)"
 .br 
 .RI "\fIname of month. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_hebrew_month_string\fP (int month, int s)"
 .br 
 .RI "\fIname of hebrew month. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_holyday_string\fP (int holyday, int s)"
 .br 
 .RI "\fIname of hebrew holyday. \fP"
-.ti \-1c
+.ti -1c
 .RI "char * \fBhdate_get_parasha_string\fP (int parasha, int s)"
 .br 
 .RI "\fIname of parasha \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_holyday_type\fP (int holyday)"
 .br 
 .RI "\fIget the hebrew holyday type. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_size_of_hebrew_year\fP (int hebrew_year)"
 .br 
 .RI "\fIsize of hebrew year in days. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_days_from_3744\fP (int hebrew_year)"
 .br 
 .RI "\fIDays since Tishrey 3744. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_year_type\fP (int size_of_year, int new_year_dw)"
 .br 
 .RI "\fIReturn Hebrew year type based on size and first week day of year. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_gdate_to_jd\fP (int day, int month, int year)"
 .br 
 .RI "\fICompute Julian day from Gregorian date. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_hdate_to_jd\fP (int day, int month, int year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
 .br 
 .RI "\fICompute Julian day from Hebrew day, month and year. \fP"
-.ti \-1c
+.ti -1c
 .RI "void \fBhdate_jd_to_gdate\fP (int jd, int *day, int *month, int *year)"
 .br 
 .RI "\fIConverting from the Julian day to the Gregorian date. \fP"
-.ti \-1c
+.ti -1c
 .RI "void \fBhdate_jd_to_hdate\fP (int jd, int *day, int *month, int *year, int *jd_tishrey1, int *jd_tishrey1_next_year)"
 .br 
 .RI "\fIConverting from the Julian day to the Hebrew day. \fP"
-.ti \-1c
+.ti -1c
 .RI "int \fBhdate_get_day_of_year\fP (int day, int month, int year)"
 .br 
 .RI "\fIdays from 1 january \fP"
-.ti \-1c
+.ti -1c
 .RI "void \fBhdate_get_utc_sun_time\fP (int day, int month, int year, double latitude, double longitude, int *sunrise, int *sunset)"
 .br 
 .RI "\fIutc sunrise/set time for a gregorian date \fP"
-.in \-1c
+.in -1c
 .SH "Function Documentation"
 .PP 
 .SS "\fBhdate_struct\fP* hdate_set_gdate (\fBhdate_struct\fP * h, int d, int m, int y)"

Modified: pkg/libhdate/trunk/src/hdate_struct.3
==============================================================================
--- pkg/libhdate/trunk/src/hdate_struct.3	(original)
+++ pkg/libhdate/trunk/src/hdate_struct.3	Tue Aug  9 19:06:09 2005
@@ -18,46 +18,46 @@
 .SS "Data Fields"
 
 .in +1c
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_day\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_mon\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_year\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBgd_day\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBgd_mon\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBgd_year\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_dw\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_size_of_year\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_new_year_dw\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_year_type\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_jd\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_days\fP"
 .br 
-.ti \-1c
+.ti -1c
 .RI "int \fBhd_weeks\fP"
 .br 
-.in \-1c
+.in -1c
 .SH "Detailed Description"
 .PP 
 Base structore for hebrew dates 



More information about the Debian-hebrew-package mailing list