debian/0000755000000000000000000000000012216145617007173 5ustar debian/watch0000644000000000000000000000011511600440446010213 0ustar version=3 http://dl.savannah.nongnu.org/releases/jcal/jcal-([\d.]*)\.tar\.gz debian/compat0000644000000000000000000000000210600424220010352 0ustar 5 debian/libjalali0.install0000644000000000000000000000004210614563066012564 0ustar debian/tmp/usr/lib/libjalali.so.* debian/libjalali-dev.install0000644000000000000000000000013111547427114013256 0ustar debian/tmp/usr/include/jalali/*.h debian/tmp/usr/lib/*.a debian/tmp/usr/lib/libjalali.so debian/changelog0000644000000000000000000000304612216144543011045 0ustar jcal (0.4.1-2) unstable; urgency=low * Fix FTBFS on mips: remove hardcoded link with /usr/lib (Closes: #722787) -- Lior Kaplan Tue, 17 Sep 2013 23:13:00 +0200 jcal (0.4.1-1) unstable; urgency=low * New upstream release. -- Lior Kaplan Mon, 13 Aug 2012 00:20:10 +0300 jcal (0.4.0-1.1) unstable; urgency=low * NMU * Quote parameters to perform() in autogen.sh. Closes: #642722. Previous code would work in bash, but not sh. -- Steve McIntyre Thu, 08 Dec 2011 17:54:45 +0000 jcal (0.4.0-1) unstable; urgency=low * New upstream release. -- Lior Kaplan Fri, 29 Jul 2011 14:23:37 +0200 jcal (0.3.0-1) unstable; urgency=low * New upstream release. -- Lior Kaplan Thu, 28 Jul 2011 13:16:21 +0200 jcal (0.1.2-2) unstable; urgency=low * Bump standards version to 3.9.1 - Remove *.la files from libjalali-dev to comply with Policy 10.2 (Closes: #621549) * Switch to dpkg-source 3.0 (quilt) format -- Lior Kaplan Fri, 08 Apr 2011 00:17:31 +0300 jcal (0.1.2-1) unstable; urgency=low * New upstream release. * Updated debian/control and debian/copyright - Changed homepage URL. - Use newly supported Homepage header for debian/control. * Updated watch file -- Alan Baghumian Sat, 27 Oct 2007 09:28:04 +0200 jcal (0.1.0-1) unstable; urgency=low * Initial release (Closes: #415802). -- Alan Baghumian Sat, 28 Apr 2007 09:43:22 +0330 debian/jcal.install0000644000000000000000000000007510614563066011500 0ustar debian/tmp/usr/bin/jcal debian/tmp/usr/share/man/man1/jcal.1 debian/source/0000755000000000000000000000000012216146532010470 5ustar debian/source/format0000644000000000000000000000001411547427114011702 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012216146501010613 5ustar debian/patches/multiparch.diff0000644000000000000000000000051412216144351013616 0ustar Description: Remove link with /usr/lib Author: Lior Kaplan --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,5 +7,5 @@ jcal_SOURCES = jcal.c jdate_SOURCES = jdate.c -LDADD = ../libjalali/libjalali.la -L@libdir@ +LDADD = ../libjalali/libjalali.la LIBS = @LIBS@ $(THREAD_LIBS) debian/patches/jcal-manpage.diff0000644000000000000000000000116112012020601013745 0ustar Description: Fix jcal man page Author: Lior Kaplan --- a/man/jcal.1 +++ b/man/jcal.1 @@ -157,7 +157,6 @@ Written by Ashkan Ghassemi. .Sh REPORTING BUGS Report jcal bugs to - libjalali home page: .Sh SEE ALSO .Nm jdate (1), @@ -166,7 +165,6 @@ .Nm jstrptime (3) .Sh COPYRIGHT Copyright (C) 2011 Ashkan Ghassemi. - License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by debian/patches/autogen-bashism.diff0000644000000000000000000000664412012020606014534 0ustar Description: Fix autogen.sh to work in chroot envs Author: Lior Kaplan --- a/autogen.sh +++ b/autogen.sh @@ -19,21 +19,21 @@ # along with libjalali. If not, see . # -#!/bin/bash +#!/bin/sh # @OPTIONS OPTS="anch" LONG_OPTS="nocolor,clean,help,alternative" # @USAGE -function usage() { +usage() { echo -e "Jalali calendar library autogen build script." echo -e "usage: autogen.sh [-nch]" echo -e "try \`autogen.sh --help\' for more information." } # @HELP -function help() { +help() { echo -e "usage: autogen.sh [-nch]..." echo -ne "Invokes GNU build system tools in order to create" echo -e " necessary configuration scripts.\n" @@ -48,7 +48,7 @@ } # echoes ``ok'' if parameter is zero, ''failed'' otherwise. -function printk() { +printk() { local STAT=$1 if [ $1 -eq 0 ]; then @@ -61,14 +61,14 @@ } # performs make distclean and removes auto-generated files by GNU build system. -function clean() { +clean() { local STAT # files - local FUBARS=( "autom4te.cache" "Makefile.in" "m4" "aclocal.m4" + local FUBARS={ "autom4te.cache" "Makefile.in" "m4" "aclocal.m4" "configure" "config.sub" "config.guess" "config.log" "config.status" "depcomp" "install-sh" "libtool" "ltmain.sh" "missing" "src/Makefile.in" "man/Makefile.in" - "libjalali/Makefile.in" "INSTALL" ) + "libjalali/Makefile.in" "INSTALL" } echo -e "${GREEN}*${RESET} ${YELLOW}cleaning source tree...${RESET}" @@ -77,7 +77,7 @@ echo -ne "${GREEN}*{RESET} {YELLOW}performing distclean on" echo -ne " sources if possible...${RESET} " make distclean >/dev/null 2>&1 - let STAT=$? + export STAT=$? printk ${STAT} if [ ${STAT} -ne 0 ]; then @@ -98,7 +98,7 @@ } # Setting colors to vt100 standard values, NULL if 0 gets passed to set_color() -function set_colors() { +set_colors() { local HAS_COLOR=$1 if [ ${HAS_COLOR} -eq 1 ]; then @@ -123,7 +123,7 @@ # $OUTPUT specifies whether is_present() should work silently or not. # $EXIT specifies whther is_present() should exit on the event of # service not found. -function is_present() { +is_present() { local SERVICE=$1 local NAME=$2 local OUTPUT=$3 @@ -131,7 +131,7 @@ local PRESENT=0 if [ -n "${SERVICE}" ]; then - let PRESENT=1 + export PRESENT=1 fi if [ ${OUTPUT} -eq 1 ]; then @@ -154,7 +154,7 @@ # Checking for tools # aclocal, libtoolize, autoconf, automake and autoreconf -function check_services() { +check_services() { local STAT ACLOCAL="$(which aclocal 2>/dev/null)" is_present "${ACLOCAL}" "aclocal" 1 1 @@ -182,16 +182,16 @@ # $EXIT specifies whether perform() should exit on the event of # encoutering any errors or not. # $PARAMS are the parameters passed to the service. -function perform() { - local SERVICE=$1 - local NAME=$2 - local EXIT=$3 - local PARAMS=$4 +perform() { + local SERVICE="$1" + local NAME="$2" + local EXIT="$3" + local PARAMS="$4" local SSTAT echo -ne "${GREEN}*${RESET} running ${YELLOW}${NAME}${RESET} ${CYAN}${PARAMS}${RESET}... " ${SERVICE} ${PARAMS} >/dev/null 2>&1 - let STAT=$? + export STAT=$? printk ${STAT} @@ -227,10 +227,10 @@ for i in $TEMP; do case $i in - -c|--clean) let CLEAN=1;; - -n|--nocolor) let COLOR=0;; - -h|--help) let HELP=1;; - -a|--alternative) let ALTERN=1;; + -c|--clean) export CLEAN=1;; + -n|--nocolor) export COLOR=0;; + -h|--help) export HELP=1;; + -a|--alternative) export ALTERN=1;; esac done fi debian/patches/series0000644000000000000000000000006712215425764012045 0ustar autogen-bashism.diff jcal-manpage.diff multiparch.diff debian/docs0000644000000000000000000000000710602145662010040 0ustar README debian/control0000644000000000000000000000203212216144452010567 0ustar Source: jcal Section: utils Priority: extra Maintainer: Lior Kaplan Uploaders: Alan Baghumian Build-Depends: debhelper (>= 5.0.0), automake, libtool Standards-Version: 3.9.4 Homepage: http://savannah.nongnu.org/projects/jcal/ Package: jcal Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: UNIX-cal-like tool to display Jalali calendar JCal is a UNIX-cal-like tool to display Jalali (Persian) calendar. Package: libjalali0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: library to display Jalali calendar JCal is a UNIX-cal-like tool to display Jalali (Persian) calendar. . This package contains JCal library files. Package: libjalali-dev Section: libdevel Architecture: any Depends: libjalali0 (= ${binary:Version}), ${misc:Depends} Description: development files of a library to display Jalali calendar JCal is a UNIX-cal-like tool to display Jalali (Persian) calendar. . This package contains development files for JCal library. debian/rules0000755000000000000000000000407511614525330010254 0ustar #!/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: autogen.sh dh_testdir # Add here commands to configure the package. ./autogen.sh -an ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -rf $(CURDIR)/debian/tmp [ ! -f Makefile ] || $(MAKE) distclean dh_clean config.log config.status install: build dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp # Build architecture-independent files here. # # Pass -i to all debhelper commands in this target to reduce clutter. binary-indep: # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_install dh_link dh_strip dh_compress dh_fixperms 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 debian/copyright0000644000000000000000000000404512216144737011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jcal Source: http://savannah.nongnu.org/projects/jcal/ Files: libjalali/* Copyright: 2006, 2007, 2009, 2010, 2011 Ashkan Ghassemi License: LGPL-3.0+ Files: src/* Copyright: 2006, 2007, 2009, 2010, 2011 Ashkan Ghassemi License: LGPL-3.0+ Files: debian/* Copyright: 2007 Alan Baghumian 2011-2013 Lior Kaplan License: GPL-3.0+ License: GPL-3.0+ 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 package 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". License: LGPL-3.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package 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 Lesser 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 Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3".