debian/0000755000000000000000000000000012203374261007166 5ustar debian/copyright0000644000000000000000000000077212203374214011125 0ustar This package was originally Debianised by Dafydd Harries , on 1st November 2003. Originally obtained from . KanjiPad is Copyright 1997-1999, 2002 Owen Taylor, and licensed under the terms of the GNU Public License. On Debian systems, the full text of the GPL can be found at /usr/share/common-licenses/GPL. KanjiPad uses portions of a program called JStroke. JStroke is Copyright (C) 1997 Robert E. Wells and is also licenced under the GPL. debian/kpengine.10000644000000000000000000000176412203374214011056 0ustar .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH KPENGINE 1 "November 1, 2003" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME kpengine \- helper program for kanjipad .SH SYNOPSIS .B kanjipad .SH DESCRIPTION kpengine is a helper program for kanjipad and is not intended for general use. .SH SEE ALSO .BR kanjipad (1) .SH AUTHOR KanjiPad was written by Owen Taylor . This manual page was written by Dafydd Harries for Debian GNU/Linux but may be used by others. debian/kanjipad.docs0000644000000000000000000000001412203374214011612 0ustar README TODO debian/patches/0000755000000000000000000000000012203374214010613 5ustar debian/patches/series0000644000000000000000000000002712203374214012027 0ustar 0001-build-flags.patch debian/patches/0001-build-flags.patch0000644000000000000000000000427212203374214014410 0ustar From: Dafydd Harries Date: Fri, 16 Aug 2013 11:34:05 +0200 Subject: build-flags * Set CFLAGS and LDFLAGS according to policy. * Allow use of deprecated Gtk/Glib functions. * Explicitly link against libm. =================================================================== --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 4869923..fb6bb67 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ -OPTIMIZE=-g -Wall -#OPTIMIZE=-O2 +OPTIMIZE=-O2 -g -Wall -GTKINC=$(shell pkg-config --cflags gtk+-2.0) -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED +GTKINC=$(shell pkg-config --cflags gtk+-2.0) GTKLIBS=$(shell pkg-config --libs gtk+-2.0) GLIBLIBS=$(shell pkg-config --libs glib-2.0) @@ -17,6 +16,7 @@ LIBDIR=$(DATADIR)/kanjipad # On Win32, uncomment the following to avoid getting console windows # #LDFLAGS=-mwindows +LDFLAGS=-Wl,--as-needed $(shell dpkg-buildflags --get LDFLAGS) INSTALL=install @@ -26,21 +26,21 @@ PACKAGE = kanjipad VERSION = 2.0.0 OBJS = kpengine.o scoring.o util.o -CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" +CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" $(shell dpkg-buildflags --get CFLAGS) all: kpengine kanjipad jdata.dat scoring.o: jstroke/scoring.c - $(CC) -c -o scoring.o $(CFLAGS) -Ijstroke jstroke/scoring.c + $(CC) $(CFLAGS) -c -o scoring.o -Ijstroke jstroke/scoring.c util.o: jstroke/util.c - $(CC) -c -o util.o $(CFLAGS) -Ijstroke jstroke/util.c + $(CC) $(CFLAGS) -c -o util.o -Ijstroke jstroke/util.c kpengine: $(OBJS) - $(CC) -o kpengine $(OBJS) $(GLIBLIBS) $(LDFLAGS) + $(CC) $(LDFLAGS) -o kpengine $(OBJS) $(GLIBLIBS) kanjipad: kanjipad.o padarea.o - $(CC) -o kanjipad kanjipad.o padarea.o $(GTKLIBS) $(LDFLAGS) + $(CC) $(LDFLAGS) -o kanjipad kanjipad.o padarea.o -lm $(GTKLIBS) jdata.dat: jstroke/strokedata.h conv_jdata.pl perl conv_jdata.pl < jstroke/strokedata.h > jdata.dat @@ -75,4 +75,4 @@ distcheck: dist cd .. && \ rm -rf $$distdir -.PHONY: dist distcheck \ No newline at end of file +.PHONY: dist distcheck debian/changelog0000644000000000000000000000413612203374214011042 0ustar kanjipad (2.0.0-8) unstable; urgency=low * Explicitly link against libm. Closes: #713625. * Add Vcs-* fields. -- Dafydd Harries Fri, 16 Aug 2013 11:59:08 +0200 kanjipad (2.0.0-7) unstable; urgency=low * Update maintainer address. Closes: #687815. * Switch to dpkg-source 3.0 (quilt) format. * Update to Debhelper compatibility version 9. * Add ${misc:Depends} dependency. * Link with -Wl,--as-needed to avoid unnecessary dependencies. * Update standards version. -- Dafydd Harries Tue, 18 Sep 2012 14:17:07 -0400 kanjipad (2.0.0-6.1) unstable; urgency=low * Non-maintainer upload. * debian/control - use appropriate Japanese font (closes: #642943) -- Hideki Yamane Wed, 12 Sep 2012 10:28:03 +0900 kanjipad (2.0.0-6) unstable; urgency=low * Makefile: - Remove DISABLE_DEPRECATED flags to allow compilation with Gtk+ 2.4. Closes: #250161. - Uncommented use of -O2. -- Dafydd Harries Fri, 21 May 2004 12:57:38 +0100 kanjipad (2.0.0-5) unstable; urgency=low * debian/control: Fix typo "tff-kochi-mincho". -- Dafydd Harries Wed, 18 Feb 2004 17:05:57 +0000 kanjipad (2.0.0-4) unstable; urgency=low * debian/control: Add Recommends: ttf-kochi-gothic | tff-kochi-mincho. It seems that these are good fonts for using Kanjipad with, and absence of appropriate fonts makes Kanjipad not very usable. Closes: #227874. -- Dafydd Harries Thu, 15 Jan 2004 12:31:33 +0000 kanjipad (2.0.0-3) unstable; urgency=low * Use Section: x11, rather than Section: gnome. -- Dafydd Harries Tue, 6 Jan 2004 05:19:58 +0000 kanjipad (2.0.0-2) unstable; urgency=low * New email address. * Use dh_shlibdeps. * Tidy debian/rules a bit. * Remove build-stamp. * Acknowledgements to Robert McQueen for his help. -- Dafydd Harries Tue, 6 Jan 2004 05:19:55 +0000 kanjipad (2.0.0-1) unstable; urgency=low * Initial Debianization. -- Dafydd Harries Sat, 01 Nov 2003 16:53:42 +0000 debian/rules0000755000000000000000000000031112203374214010237 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 override_dh_auto_build: dh_auto_build -- PREFIX=/usr override_dh_auto_install: $(MAKE) DESTDIR=debian/kanjipad PREFIX=/usr install %: dh $@ --with quilt debian/source/0000755000000000000000000000000012203374214010464 5ustar debian/source/format0000644000000000000000000000001412203374214011672 0ustar 3.0 (quilt) debian/control0000644000000000000000000000120212203374214010562 0ustar Source: kanjipad Maintainer: Dafydd Harries Build-Depends: libgtk2.0-dev, debhelper (>> 9), quilt Section: x11 Priority: extra Standards-Version: 3.9.3 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/kanjipad.git;a=summary Vcs-Git: git://anonscm.debian.org/collab-maint/kanjipad.git Package: kanjipad Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: fonts-ipafont-gothic | fonts-japanese-gothic Description: handwriting recognition tool for Kanji Kanjipad translates drawings by the user into Kanji characters. Translated characters can be copied and pasted into other applications. debian/kanjipad.manpages0000644000000000000000000000004412203374214012460 0ustar debian/kanjipad.1 debian/kpengine.1 debian/kanjipad.10000644000000000000000000000225012203374214011026 0ustar .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH KANJIPAD 1 "November 17, 2003" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME kanjipad \- handwriting recognition for Kanji .SH SYNOPSIS .B kanjipad .SH DESCRIPTION KanjiPad is a GTK+-based tool for inputting Kanji by handwriting recognition. It can be used with a mouse, although a drawing tablet is recommended. For instructions on using Kanjipad, see the README file (in /usr/share/doc/kanjipad). .SH SEE ALSO .BR /usr/share/doc/kanjipad/README .SH AUTHOR KanjiPad was written by Owen Taylor . This manual page was written by Dafydd Harries for Debian GNU/Linux but may be used by others. debian/compat0000644000000000000000000000000212203374214010362 0ustar 9