OSDN Git Service

Imported Debian patch 0.3.0.20141226.0-1ppa1 debian/0.3.0.20141226.0-1ppa1
authorMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Tue, 17 Mar 2015 23:09:37 +0000 (08:09 +0900)
committerMitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
Wed, 18 Mar 2015 05:17:35 +0000 (14:17 +0900)
12 files changed:
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/prerm [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/yubin.dics.dir.off [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..aa7b158
--- /dev/null
@@ -0,0 +1,7 @@
+canna-yubin for Debian
+----------------
+
+To use canna-yubin, you should add "yubin7" to use-dictionary section in 
+~/.canna file.
+
+ -- Yoshito Komatsu <ykomatsu@debian.org>, Mon,  2 Jul 2001 11:25:51 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..7c02cdd
--- /dev/null
@@ -0,0 +1,114 @@
+canna-yubin (0.3.0.20141226.0-1ppa1) unstable; urgency=low
+
+  * new upstream release 0.3.0.20141226.0:
+    + supported (Free)Wnn
+    + used Autotools
+  * ../yu2.PL: renamed from yu2can.pl, supported (Free)Wnn
+    Others changes:
+    + convert charset encoding between Shift-JIS and EUC-JP.
+    + default CSV files name into capital letters from small letters,
+      because JAPAN POST Co., Ltd. shows files in capital letters.
+    + added Plain Old Document
+  * ../configure.ac: added to use Automake.
+  * ../Makefile.am: added to use Automake.
+  * ../Makefile: removed to use Automake.
+  * ../KEN_ALL.CSV: renamed fronm ken_all.csv and updated to 2014-12-26
+  * ../JIGYOSYO.CSV: renamed from jigyosyo.csv and updated to 2014-12-26
+  * ../ChangeLog: created
+  * ../AUTHORS: created
+  * ../INSTALL: created
+  * ../NEWS: created
+  * ../COPYING: modified:
+    + added ChangeLog & AUTHORS & INSTALL & NEWS
+    + CSV files name into capital letters
+    + yubin7.dic: add: (Free)Wnn's dictionary
+    + added 2015 year
+  * ../README: modified 2 points:
+    + added (Free)Wnn
+    + modified sentences
+  * ../README.eucJP: modified:
+    + added supporting (Free)Wnn
+    + modified files list
+    + announced removing binary dictionaries
+  * ../.gitignore: added to use Autotools.
+
+  * copyright: same as COPYING, see ../COPYING
+  * docs: added AUTHORS
+  * compat: changed 8->9
+  * control: modified: changed Build-Depends & Depends
+  * postinst: modified exit status to 1 if called with unknown argument,
+    modified lintian's warning
+  * prerm: modified exit status to 1 if called with unknown argument,
+    modified lintian's warning
+  * rules(%): used autotools-dev
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Wed, 18 Mar 2015 08:09:37 +0900
+
+canna-yubin (0.1.1.20140731.3-1ppa1) trusty; urgency=low
+
+  * Fixed debian/copyright COPYING: some files duplicate in them.
+  * Changed Makefie: skip making a tmpfile (using pipe).
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Fri, 08 Aug 2014 15:25:28 +0900
+
+canna-yubin (0.1.1.20140731.2-1ppa1) trusty; urgency=low
+
+  * Fixed mkdir -p  make install's target directory.
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Fri, 08 Aug 2014 12:48:53 +0900
+
+canna-yubin (0.1.1.20140731.1-1ppa1) trusty; urgency=low
+
+  * Changed license of binary dictionary GPL-2+ => public-domain .
+  * Fixed lintian's warnings.
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Tue, 05 Aug 2014 12:14:34 +0900
+
+canna-yubin (0.1.1.20140731-1ppa1) trusty; urgency=low
+
+  * Fixed 0.1.0's bug: debian/rules forgot copying yubin.dics.dir.off.
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Tue, 05 Aug 2014 02:44:01 +0900
+
+canna-yubin (0.1.0.20140731-1ppa1) trusty; urgency=low
+
+  * updated data to 20140731.
+
+ -- Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>  Mon, 04 Aug 2014 15:14:56 +0900
+
+canna-yubin (0.0.20011101) unstable; urgency=low
+
+  * New upstream release
+  * Modify postinst and prerm methods.
+  * Modify the upstream author's name.
+
+ -- Yoshito Komatsu <ykomatsu@debian.org>  Thu, 24 Jan 2002 16:31:07 +0900
+
+canna-yubin (0.0.20010601-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Yoshito Komatsu <ykomatsu@debian.or.jp>  Sat,  4 Aug 2001 16:16:44 +0900
+
+canna-yubin (0.0.20010501-3) unstable; urgency=low
+
+  * New upstream release
+
+ -- Yoshito Komatsu <ykomatsu@debian.or.jp>  Mon,  9 Jul 2001 14:56:41 +0900
+
+canna-yubin (0.0.20010501-2) unstable; urgency=low
+
+  * Add README.eucJP file.
+  * Fix debian/copyright file.
+
+ -- Yoshito Komatsu <ykomatsu@debian.or.jp>  Wed,  4 Jul 2001 13:12:34 +0900
+
+canna-yubin (0.0.20010501-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Yoshito Komatsu <ykomatsu@debian.or.jp>  Mon,  2 Jul 2001 11:25:51 +0900
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..3a72c9d
--- /dev/null
@@ -0,0 +1,16 @@
+Source: canna-yubin
+Section: utils
+Priority: optional
+Maintainer: Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+Build-Depends: debhelper (>= 9), autotools-dev, canna
+Standards-Version: 3.9.6
+Homepage: https://sourceforge.jp/projects/canna-yubin/
+Vcs-Git: https://scm.sourceforge.jp/gitroot/canna-yubin/canna-yubin.git
+Vcs-Browser: https://sourceforge.jp/projects/canna-yubin/scm/git/canna-yubin/
+
+Package: canna-yubin
+Architecture: all
+Depends: canna-utils, canna (>= 3.5b2-40), ${shlibs:Depends}, ${misc:Depends}
+Description: Japanese postal code dictionary for Canna
+ This package contains Japanese postal code dictionary used by Canna.
+ It was made from CSV file produced by JAPAN POST Co., Ltd.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..cefce74
--- /dev/null
@@ -0,0 +1,101 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: canna-yubin
+Upstream-Contact: canna-yubin-misc ML <canna-yubin-misc@lists.sourceforge.jp>
+Source: https://sourceforge.jp/projects/canna-yubin/
+
+Files: KEN_ALL.CSV
+Copyright: 2014 JAPAN POST Co., Ltd.
+License: public-domain
+ Please see http://www.post.japanpost.jp/zipcode/dl/readme.html .
+
+Files: JIGYOSYO.CSV
+Copyright: 2014 JAPAN POST Co., Ltd.
+License: public-domain
+ Please see http://www.post.japanpost.jp/zipcode/dl/jigyosyo/readme.html .
+
+Files: yu2.PL
+Copyright: 2001 Yoshito Komatsu
+           2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: README.eucJP
+Copyright: 2001 Yoshito Komatsu
+           2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: README COPYING ChangeLog AUTHORS
+Copyright: 2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: Makefile.am configure.ac NEWS
+Copyright: 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: COPYING.GPL2
+Copyright: 1989, 1991 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: INSTALL
+Copyright: 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: configure
+Copyright: 1992-1996, 1998-2012 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: Makefile.in
+Copyright: 1994-2013 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: aclocal.m4 missing
+Copyright: 1996-2013 Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: install-sh
+Copyright: 1994 X Consortium
+License: GPL-2+
+
+Files: .gitignore
+Copyright: 2014 GitHub, Inc.
+License: GPL-2+
+
+# If you want to use GPL v2 or later for the /debian/* files use 
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/README.Debian debian/dirs debian/yubin.dics.dir.off
+Copyright: 2001 Yoshito Komatsu
+License: GPL-2+
+
+Files: debian/postinst debian/prerm
+Copyright: 2001 Yoshito Komatsu
+           2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: debian/changelog debian/control debian/docs debian/rules
+Copyright: 2001 Yoshito Komatsu
+           2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: debian/source/*
+Copyright: 2014 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+Files: debian/copyright debian/compat
+Copyright: 2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+License: GPL-2+
+
+License: GPL-2+
+ This package 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 2 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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..1b89767
--- /dev/null
@@ -0,0 +1,2 @@
+var/lib/canna/dic/canna
+etc/canna/dics.dir.d
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..c5b5896
--- /dev/null
@@ -0,0 +1,4 @@
+NEWS
+README
+README.eucJP
+AUTHORS
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..0412673
--- /dev/null
@@ -0,0 +1,45 @@
+#!/bin/sh
+# postinst script for canna-yubin
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+       cp -f /etc/canna/dics.dir.d/yubin.dics.dir.off \
+           /etc/canna/dics.dir.d/yubin.dics.dir
+       update-canna-dics_dir
+       if CANNAHOST='' cannastat; then
+           service canna restart
+       fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..2ab4fd1
--- /dev/null
@@ -0,0 +1,45 @@
+#!/bin/sh
+# prerm script for canna-yubin
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+#DICS=/var/lib/canna/dic/canna/dics.dir
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/canna-yubin.info.gz
+       rm -f /etc/canna/dics.dir.d/yubin.dics.dir
+          update-canna-dics_dir
+       if CANNAHOST='' cannastat; then
+           service canna restart
+       fi
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..30ac275
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# -*- GNUmakefile -*-
+# Copyright (C) 2001 Yoshito Komatsu
+#               2014, 2015 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp>
+#
+# 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 2 of the License,
+# or (at your option) any later version.
+#
+# This program 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+# main packaging script based on dh7 syntax
+%:
+       dh $@  --with autotools-dev
+
+# debmake generated override targets
+# This is example for Cmake (See http://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#      dh_auto_configure -- \
+#      -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+override_dh_install:
+       mkdir -p debian/canna-yubin/etc/canna/dics.dir.d/
+       cp -f debian/yubin.dics.dir.off debian/canna-yubin/etc/canna/dics.dir.d/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/yubin.dics.dir.off b/debian/yubin.dics.dir.off
new file mode 100644 (file)
index 0000000..61f5b10
--- /dev/null
@@ -0,0 +1 @@
+yubin7.cbd(yubin7.mwd)         -yubin7---