debian/0000755000000000000000000000000011322147273007170 5ustar debian/control0000644000000000000000000000113011322145771010567 0ustar Source: epwutil Section: utils Priority: optional Maintainer: Masayuki Hatta (mhatta) Build-Depends: debhelper (>> 4.0.0) Standards-Version: 3.8.0 Package: epwutil Architecture: any Depends: ${shlibs:Depends} Description: Several utilities for EB(Electric Book)/EPWING epwutil is a set of small utilities that can deal with dictionary files in EB (Electric Book) / EPWING format. It contains: . catdump - dump EB / EPWING catalog file bookinfo - Show info about the dictionary squeeze - compress dictionary files . Would be nice to use with ndtpd, lookup-el, etc. debian/source/0000755000000000000000000000000011322146673010473 5ustar debian/source/format0000644000000000000000000000001411323773333011701 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000424511322147164011046 0ustar epwutil (1.1-8.1) unstable; urgency=low [Jari Aalto] * Non-maintainer upload. * Update to packaging format "3.0 (quilt)" due to patch. * debian/patches - (number 10): Add patch to fix error: conflicting types for getline. (RC bug FTBFS serious; Closes: #552903). * debian/source/format - New file. -- Jari Aalto Sat, 09 Jan 2010 20:44:04 +0200 epwutil (1.1-8) unstable; urgency=low * Bumped to Standards-Version: 3.8.0. * Acknowledged NMU, thanks Yves-Alexis. -- Masayuki Hatta (mhatta) Wed, 16 Jul 2008 05:25:11 +0900 epwutil (1.1-7.1) unstable; urgency=low * Non-maintainer upload. * Rename squeeze to epwutil-squeeze in package. -- Yves-Alexis Perez Sat, 29 Mar 2008 00:28:20 +0100 epwutil (1.1-7) unstable; urgency=low * Bumped to Standards-Version: 3.7.3. * Fixed various lintian warnings. -- Masayuki Hatta (mhatta) Fri, 07 Dec 2007 04:54:24 +0900 epwutil (1.1-6) unstable; urgency=low * Bumped to Standards-Version: 3.7.2. * Changed the compatibility level of debhelper to 4. -- Masayuki Hatta (mhatta) Fri, 13 Oct 2006 10:36:04 +0900 epwutil (1.1-5) unstable; urgency=low * Bumped up to Standards-Version: 3.6.1. -- Masayuki Hatta (mhatta) Sat, 7 Feb 2004 23:08:15 +0900 epwutil (1.1-4) unstable; urgency=low * Corrected the download site information in copyright. -- Masayuki Hatta Mon, 15 Apr 2002 19:28:43 +0900 epwutil (1.1-3) unstable; urgency=low * Bumped up to Standards-Version: 3.5.2. * Added Build-Depends: debhelper. -- Masayuki Hatta Mon, 8 Oct 2001 11:15:03 +0900 epwutil (1.1-2) unstable; urgency=low * Initial Release for Debian Project. -- Masayuki Hatta Wed, 18 Oct 2000 10:03:40 +0900 epwutil (1.1-1) unstable; urgency=low * New upstream release -- Masayuki Hatta Mon, 12 Jun 2000 14:01:37 +0900 epwutil (1.0-1) unstable; urgency=low * Initial Release. -- Masayuki Hatta Sun, 11 Jun 2000 19:32:36 +0900 Local variables: mode: debian-changelog End: debian/patches/0000755000000000000000000000000011322146664010622 5ustar debian/patches/series0000644000000000000000000000003211322146664012032 0ustar 10-getline-function.patch debian/patches/10-getline-function.patch0000644000000000000000000000376211322146657015345 0ustar From 6981c596ece878ff581556a719608513f88208ae Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 9 Jan 2010 20:40:44 +0200 Subject: [PATCH] Rename getline() to getline2() to avoid clash Signed-off-by: Jari Aalto --- catdump.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catdump.c b/catdump.c index b40bb27..8874db8 100644 --- a/catdump.c +++ b/catdump.c @@ -201,7 +201,7 @@ void outhex(); void outstr(); void outjstr(); int undump(); -uchr *getline(); +uchr *getline2(); /* getline() is declared in /usr/include/stdio.h */ uchr *getvalue(); int gethex(); int hexdigit(); @@ -561,7 +561,7 @@ char *txtfile, *catalog; err = 0; line = 0; - if (getline(buf, fp) == NULL || + if (getline2(buf, fp) == NULL || strncmp(buf, CAT_ENTRY, strlen(CAT_ENTRY))) { fprintf(stderr, "ERR: 項目 %s がありません\n", CAT_ENTRY); fclose(fp); @@ -571,7 +571,7 @@ char *txtfile, *catalog; st = 0; hdr = (HDR_T *)catbuf; mask = 0L; - while (getline(buf, fp) != NULL && *buf != '[') { + while (getline2(buf, fp) != NULL && *buf != '[') { if ((p = getvalue(buf)) == NULL) { fprintf(stderr, "ERR: line %d: 構文に誤りがあります\n", line); err++; @@ -666,7 +666,7 @@ char *txtfile, *catalog; if (strncmp(buf, BOOK_ENTRY, strlen(BOOK_ENTRY))) { fprintf(stderr, "ERR: line %d: 不明な項目です(%s)\n", line, buf); err++; - while (getline(buf, fp) != NULL && *buf != '[') + while (getline2(buf, fp) != NULL && *buf != '[') ; if (*buf == '\0') break; @@ -680,7 +680,7 @@ char *txtfile, *catalog; break; } mask = 0; - while (getline(buf, fp) != NULL && *buf != '[') { + while (getline2(buf, fp) != NULL && *buf != '[') { if ((p = getvalue(buf)) == NULL) { fprintf(stderr, "ERR: line %d: 構文に誤りがあります\n", line); err++; @@ -917,7 +917,7 @@ char *txtfile, *catalog; } uchr * -getline(buf, fp) +getline2(buf, fp) uchr *buf; FILE *fp; { -- 1.6.5 debian/rules0000755000000000000000000000323311322145771010252 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: configure-stamp build-stamp build-stamp: dh_testdir # Add here commands to compile the package. $(MAKE) -f makefile.unx #/usr/bin/docbook-to-man debian/epwutil.sgml > epwutil.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. [! -f Makefile ] || $(MAKE) -f makefile.unx clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/epwutil. #$(MAKE) install DESTDIR=`pwd`/debian/epwutil install bookinfo `pwd`/debian/epwutil/usr/bin install catdump `pwd`/debian/epwutil/usr/bin install squeeze `pwd`/debian/epwutil/usr/bin/epwutil-squeeze # 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_testversion dh_testdir dh_testroot # dh_installdebconf dh_installdocs dh_installexamples dh_installmenu # dh_installemacsen # dh_installpam # dh_installinit dh_installcron dh_installman dh_installinfo dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms # dh_makeshlibs dh_installdeb # dh_perl dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/docs0000644000000000000000000000007011322145771010041 0ustar README epwutil.doc bookinfo.man catdump.man squeeze.man debian/copyright0000644000000000000000000000037011322145771011124 0ustar This package was debianized by Masayuki Hatta on Sun, 11 Jun 2000 19:32:36 +0900. It was downloaded from http://openlab.ring.gr.jp/edict/epwutil/ Upstream Author: Junn Ohta Copyright: Public Domain. debian/dirs0000644000000000000000000000001011322145771010044 0ustar usr/bin debian/compat0000644000000000000000000000000211322145771010367 0ustar 4