--- hebcal-3.5.orig/debian/README.Debian +++ hebcal-3.5/debian/README.Debian @@ -0,0 +1,7 @@ +hebcal for Debian +----------------- + +This package is compiled with a default setting of New York City. Read +the manual for showing how to pick a new city or longitude/latitude setting + + -- Shaya Potter , Mon, 13 May 2002 22:24:40 -0400 --- hebcal-3.5.orig/debian/changelog +++ hebcal-3.5/debian/changelog @@ -0,0 +1,44 @@ +hebcal (3.5-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Updated DH to level 10. (Closes: #817493) + * debian/control: + - Bumped Standards-Version to 3.9.8. + - Added Homepage field. + * debian/watch: created. + + -- Paulo Henrique de Lima Santana (phls) Fri, 07 Oct 2016 16:01:47 -0300 + +hebcal (3.5-2) unstable; urgency=low + + * Fix Asara B'Tevet Bug, pulled from 3.9 release + + -- Shaya Potter Tue, 09 Nov 2010 12:20:06 -0500 + +hebcal (3.5-1) unstable; urgency=low + + * new release + "This is a maintenance release, with a few updates, notably support for + the 2007 DST changeover." + + * Fix's info file bug (closes: #373865), by including Ubuntu's fix. + + -- Shaya Potter Thu, 15 Jun 2006 21:33:17 -0400 + +hebcal (3.4-2) unstable; urgency=low + + * Cleaned up some dh_make droppings in source package + + -- Shaya Potter Sun, 22 May 2005 21:25:06 -0400 + +hebcal (3.4-1) unstable; urgency=low + + * New Version (Closes: #310264) + + -- Shaya Potter Sun, 22 May 2005 08:50:11 -0400 + +hebcal (3.2-1) unstable; urgency=low + + * Initial Release. (Closes: #156606) + + -- Shaya Potter Mon, 13 May 2002 22:24:40 -0400 --- hebcal-3.5.orig/debian/compat +++ hebcal-3.5/debian/compat @@ -0,0 +1 @@ +10 --- hebcal-3.5.orig/debian/control +++ hebcal-3.5/debian/control @@ -0,0 +1,15 @@ +Source: hebcal +Section: utils +Priority: optional +Maintainer: Shaya Potter +Build-Depends: debhelper (>= 10), autotools-dev +Standards-Version: 3.9.8 +Homepage: https://github.com/hebcal/hebcal + +Package: hebcal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A Perpetual Jewish Calendar + Hebcal is a program which prints out the days in the Jewish calendar + for a given gregorian year. Hebcal is fairly flexible in terms of which + events in the Jewish calendar it displays. --- hebcal-3.5.orig/debian/copyright +++ hebcal-3.5/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Shaya Potter on +Mon, 13 May 2002 22:24:40 -0400. + +It was downloaded from http://sourceforge.net/projects/hebcal/ + +Upstream Author: Danny Sadinoff + +Copyright: + +GPL v2 or later + +See /usr/share/common-licenses/GPL for the full license. --- hebcal-3.5.orig/debian/dirs +++ hebcal-3.5/debian/dirs @@ -0,0 +1 @@ +usr/bin --- hebcal-3.5.orig/debian/docs +++ hebcal-3.5/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- hebcal-3.5.orig/debian/info +++ hebcal-3.5/debian/info @@ -0,0 +1 @@ +doc/hebcal.info --- hebcal-3.5.orig/debian/rules +++ hebcal-3.5/debian/rules @@ -0,0 +1,104 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/hebcal.sgml > hebcal.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + rm -f package.m4 + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/hebcal. + $(MAKE) install DESTDIR=$(CURDIR)/debian/hebcal + rm -f $(CURDIR)/debian/hebcal/usr/share/info/dir* + + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- hebcal-3.5.orig/debian/watch +++ hebcal-3.5/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/hebcal/hebcal/releases .*/archive/v?(\d\S+)\.tar\.(?:bz2|gz|xz) --- hebcal-3.5.orig/holidays.c +++ hebcal-3.5/holidays.c @@ -581,11 +581,8 @@ tmpholp = getHolstorep (); tmpholp->name = HOLIDAY_ASARA_B_TEVET; - if (tevet10 % 7L >= 5) - { /* saturday or sunday */ - tempDt = abs2hebrew (day_on_or_before (THU, tevet10)); - PushHoliday (tmpholp, &var_holidays[tempDt.mm][tempDt.dd]); - } + if (tevet10 % 7L == SAT) + PushHoliday (tmpholp, &var_holidays[TEVET][11]); else PushHoliday (tmpholp, &var_holidays[TEVET][10]);