--- prime-1.0.0.1.orig/debian/copyright
+++ prime-1.0.0.1/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> on
+Fri, 25 Apr 2003 17:04:27 +0900.
+
+It was downloaded from http://sourceforge.jp/projects/prime/
+
+Upstream Author: Hiroyuki Komatsu <komatsu@taiyaki.org>
+
+Copyright:
+
+ 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; version 2 dated June, 1991.
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
--- prime-1.0.0.1.orig/debian/rules
+++ prime-1.0.0.1/debian/rules
@@ -0,0 +1,90 @@
+#!/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
+
+# Include dpatch stuff.
+include /usr/share/dpatch/dpatch.make
+
+configure: configure-stamp
+configure-stamp: patch
+ dh_testdir
+
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --with-rubydir=\$${prefix}/lib/ruby/1.8
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/prime.sgml > prime.1
+
+ touch build-stamp
+
+clean: clean1 unpatch
+
+clean1:
+ @echo "--- Cleaning"
+
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ [ ! -f Makefile ] || $(MAKE) clean
+
+ dh_clean
+
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_clean
+ dh_installdirs
+
+ # Add here commands to install the package into debian/prime.
+ # install *.el file except prime-conf.el
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/prime \
+ primedotfilesdir=/etc/prime
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen --priority=55
+# 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
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+ # Nothing to do...
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1
--- prime-1.0.0.1.orig/debian/changelog
+++ prime-1.0.0.1/debian/changelog
@@ -0,0 +1,203 @@
+prime (1.0.0.1-2) unstable; urgency=low
+
+ * New maintainer. Taking over by sponsor, because I cannot contact to
+ former maintainer Hidetaka Iwai for months. (closes: Bug#540933)
+ * Acqknowledgment of NMU fix.
+ * Bumped Standards-Version to 3.8.3.0.
+ * debian/README.source: New file. Mentioned about dpatch.
+ * Fix lintian errors in debian/rules, control, and etc.
+
+ -- Masahito Omote <omote@debian.org> Sat, 23 Jan 2010 05:45:47 +0000
+
+prime (1.0.0.1-1.1) unstable; urgency=high
+
+ * Non-maintainer upload to fix RC bug.
+ * Instead of using a versioned dependancy on ruby, use a non-versioned one,
+ and build-conflicts with ruby1.9. A better fix would be to use "ruby1.8"
+ instead of "ruby" everywhere, but that's harder to do. The result is
+ that when Debian will switch to ruby1.9 by default, prime will fail to
+ build, and we can start working on porting it to ruby1.9. Closes: #461035.
+
+ -- Lucas Nussbaum <lucas@lucas-nussbaum.net> Mon, 11 Feb 2008 18:36:52 +0100
+
+prime (1.0.0.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Changed the build process to use mergeWithUpstream mode of
+ svn-buildpackage.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sun, 3 Apr 2005 05:54:44 +0900
+
+prime (1.0.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sun, 3 Apr 2005 05:45:30 +0900
+
+prime (0.8.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Fri, 18 Feb 2005 18:06:02 +0900
+
+prime (0.8.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sat, 8 Jan 2005 22:30:21 +0900
+
+prime (0.8.5.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Mon, 27 Dec 2004 15:20:24 +0900
+
+prime (0.8.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Mon, 27 Dec 2004 14:38:56 +0900
+
+prime (0.8.5-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: Added the versioned dependency on libsuikyo-ruby1.8.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sun, 12 Dec 2004 01:25:45 +0900
+
+prime (0.8.4-3) unstable; urgency=low
+
+ * prime.pc.in: Added exec_prefix (closes: #276616)
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Mon, 8 Nov 2004 19:51:00 +0900
+
+prime (0.8.4-2) unstable; urgency=low
+
+ * debian/NEWS: Removed a wrong character (closes: #270256).
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Wed, 8 Sep 2004 02:36:50 +0900
+
+prime (0.8.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Wed, 1 Sep 2004 02:37:20 +0900
+
+prime (0.8.3.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Fixed the bug that the size of a user dictionary becomes zero
+ (closes: #255791).
+ * debian/NEWS: added to describe how to recover a user dictionary.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Thu, 24 Jun 2004 22:27:05 +0900
+
+prime (0.8.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Now we have no "NOT RELEASED YET" strings in changelog.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Thu, 10 Jun 2004 22:19:23 +0900
+
+prime (0.8.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sat, 1 May 2004 14:44:46 +0900
+
+prime (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Fri, 9 Apr 2004 22:44:26 +0900
+
+prime (0.8.0-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: Add Depends on libprogressbar-ruby1.8
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Tue, 30 Mar 2004 02:17:47 +0900
+
+prime (0.6.7-2) unstable; urgency=high
+
+ * Update policy to 3.6.1.0
+ * debian/control: Add ruby to Build-Depends-Indep. (closes: #233117)
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Tue, 17 Feb 2004 16:58:59 +0900
+
+prime (0.6.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Tue, 3 Feb 2004 06:07:40 +0900
+
+prime (0.6.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Sun, 11 Jan 2004 00:41:27 +0900
+
+prime (0.6.5-2) unstable; urgency=low
+
+ * First upload to Debian. Close wnpp bug. (Closes: Bug#226593)
+ * debian/control: New maintainer with previous maintainer's agreement.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Wed, 7 Jan 2004 00:19:44 +0900
+
+prime (0.6.5-1) unstable; urgency=low
+
+ * New upstream release
+ * Reconstruct package.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Fri, 2 Jan 2004 16:10:30 +0900
+
+prime (0.6.1-2) unstable; urgency=low
+
+ * Depends prime-dict.
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Wed, 4 Jun 2003 13:28:11 +0900
+
+prime (0.6.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Tue, 3 Jun 2003 22:41:55 +0900
+
+prime (0.5.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Tue, 3 Jun 2003 20:44:27 +0900
+
+prime (0.5.0-3) unstable; urgency=low
+
+ * Separation into prime and prime-dict.
+ * moved to section: 'text'.
+ * doc-basenized.
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Tue, 13 May 2003 11:39:08 +0900
+
+prime (0.5.0-2) unstable; urgency=low
+
+ * fixed packaging bugs.
+
+ -- Hiroyuki Komatsu <komatsu@taiyaki.org> Tue, 13 May 2003 11:43:49 +0900
+
+prime (0.5.0-1) unstable; urgency=low
+
+ * new upstream version.
+
+ -- Hiroyuki Komatsu <komatsu@taiyaki.org> Wed, 7 May 2003 00:06:43 +0900
+
+prime (0.4.0cvs20030425-2) unstable; urgency=low
+
+ * fixed depends:
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Wed, 30 Apr 2003 16:56:04 +0900
+
+prime (0.4.0cvs20030425-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Yasuhito Takamiya <takamiya@matsulab.is.titech.ac.jp> Fri, 25 Apr 2003 17:04:27 +0900
+
--- prime-1.0.0.1.orig/debian/README.source
+++ prime-1.0.0.1/debian/README.source
@@ -0,0 +1,5 @@
+This package uses dpatch for managing all modifications to the upstream source
+code. See /usr/share/doc/dpatch/README.source.gz for more details on how to
+use them.
+
+-- Masahito Omote <omote@debian.org>, Sat, 23 Jan 2010 13:10:00 +0900
--- prime-1.0.0.1.orig/debian/NEWS
+++ prime-1.0.0.1/debian/NEWS
@@ -0,0 +1,10 @@
+prime (0.8.3.1-1) unstable; urgency=low
+
+ * The bug that the size of a user dictionary becomes zero was fixed
+ by the upstream author. To recover the registered words of the dictionary,
+
+ cp ~/.prime/userdict_diff.log ~/.prime/userdict_di
+
+ and then, prime recovers the dictionary automatically.
+
+ -- Hidetaka Iwai <tyuyu@debian.or.jp> Thu, 24 Jun 2004 22:06:24 +0900
--- prime-1.0.0.1.orig/debian/control
+++ prime-1.0.0.1/debian/control
@@ -0,0 +1,20 @@
+Source: prime
+Section: text
+Priority: optional
+Maintainer: Masahito Omote <omote@debian.org>
+Build-Depends: debhelper (>> 7), dpatch, ruby1.8, ruby
+Build-Conflicts: ruby1.9
+Standards-Version: 3.8.3.0
+
+Package: prime
+Architecture: all
+Depends: ${misc:Depends}, ruby, ruby1.8, libprogressbar-ruby1.8, libsuikyo-ruby1.8 (>= 2.0.0.1), libsary-ruby1.8, prime-dict
+Description: Japanese PRedictive Input Method Editor
+ PRIME is Japanese PRedictive Input Method Editor.
+ PRIME predicts the user's input using knowledge of natural
+ languages and the user's previous input to reduce the difficulty of
+ typing. For example, when the user types "ap", intending "application",
+ PRIME might suggest "apple", "application", and "appointment." The user
+ then easily selects "application."
+ .
+ URI: http://taiyaki.org/prime/
--- prime-1.0.0.1.orig/debian/compat
+++ prime-1.0.0.1/debian/compat
@@ -0,0 +1 @@
+7
--- prime-1.0.0.1.orig/debian/prime.docs
+++ prime-1.0.0.1/debian/prime.docs
@@ -0,0 +1 @@
+README