Blame SOURCES/0008-prebuilt-files-for-man-page-for-ibus-table-createdb.patch

b385cc
diff -Nru ibus-table-1.5.0.orig/engine/Makefile.in ibus-table-1.5.0/engine/Makefile.in
b385cc
--- ibus-table-1.5.0.orig/engine/Makefile.in	2014-01-24 09:07:09.814525660 +0100
b385cc
+++ ibus-table-1.5.0/engine/Makefile.in	2014-01-24 09:07:34.954690472 +0100
b385cc
@@ -1,7 +1,7 @@
b385cc
-# Makefile.in generated by automake 1.12.2 from Makefile.am.
b385cc
+# Makefile.in generated by automake 1.13.4 from Makefile.am.
b385cc
 # @configure_input@
b385cc
 
b385cc
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
b385cc
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
b385cc
 
b385cc
 # This Makefile.in is free software; the Free Software Foundation
b385cc
 # gives unlimited permission to copy and/or distribute it,
b385cc
@@ -37,23 +37,51 @@
b385cc
 
b385cc
 
b385cc
 VPATH = @srcdir@
b385cc
-am__make_dryrun = \
b385cc
-  { \
b385cc
-    am__dry=no; \
b385cc
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
b385cc
+am__make_running_with_option = \
b385cc
+  case $${target_option-} in \
b385cc
+      ?) ;; \
b385cc
+      *) echo "am__make_running_with_option: internal error: invalid" \
b385cc
+              "target option '$${target_option-}' specified" >&2; \
b385cc
+         exit 1;; \
b385cc
+  esac; \
b385cc
+  has_opt=no; \
b385cc
+  sane_makeflags=$$MAKEFLAGS; \
b385cc
+  if $(am__is_gnu_make); then \
b385cc
+    sane_makeflags=$$MFLAGS; \
b385cc
+  else \
b385cc
     case $$MAKEFLAGS in \
b385cc
       *\\[\ \	]*) \
b385cc
-        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
b385cc
-          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
b385cc
-      *) \
b385cc
-        for am__flg in $$MAKEFLAGS; do \
b385cc
-          case $$am__flg in \
b385cc
-            *=*|--*) ;; \
b385cc
-            *n*) am__dry=yes; break;; \
b385cc
-          esac; \
b385cc
-        done;; \
b385cc
+        bs=\\; \
b385cc
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
b385cc
+          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
b385cc
     esac; \
b385cc
-    test $$am__dry = yes; \
b385cc
-  }
b385cc
+  fi; \
b385cc
+  skip_next=no; \
b385cc
+  strip_trailopt () \
b385cc
+  { \
b385cc
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
b385cc
+  }; \
b385cc
+  for flg in $$sane_makeflags; do \
b385cc
+    test $$skip_next = yes && { skip_next=no; continue; }; \
b385cc
+    case $$flg in \
b385cc
+      *=*|--*) continue;; \
b385cc
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
b385cc
+      -*I?*) strip_trailopt 'I';; \
b385cc
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
b385cc
+      -*O?*) strip_trailopt 'O';; \
b385cc
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
b385cc
+      -*l?*) strip_trailopt 'l';; \
b385cc
+      -[dEDm]) skip_next=yes;; \
b385cc
+      -[JT]) skip_next=yes;; \
b385cc
+    esac; \
b385cc
+    case $$flg in \
b385cc
+      *$$target_option*) has_opt=yes; break;; \
b385cc
+    esac; \
b385cc
+  done; \
b385cc
+  test $$has_opt = yes
b385cc
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
b385cc
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
b385cc
 pkgdatadir = $(datadir)/@PACKAGE@
b385cc
 pkgincludedir = $(includedir)/@PACKAGE@
b385cc
 pkglibdir = $(libdir)/@PACKAGE@
b385cc
@@ -73,10 +101,10 @@
b385cc
 build_triplet = @build@
b385cc
 host_triplet = @host@
b385cc
 subdir = engine
b385cc
-DIST_COMMON = $(engine_table_PYTHON) $(srcdir)/Makefile.am \
b385cc
-	$(srcdir)/Makefile.in $(srcdir)/ibus-engine-table.in \
b385cc
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
b385cc
+	$(srcdir)/ibus-engine-table.in \
b385cc
 	$(srcdir)/ibus-table-createdb.in $(srcdir)/table.xml.in.in \
b385cc
-	$(top_srcdir)/py-compile
b385cc
+	$(engine_table_PYTHON) $(top_srcdir)/py-compile
b385cc
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
b385cc
 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
b385cc
 	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
b385cc
@@ -120,6 +148,18 @@
b385cc
 	"$(DESTDIR)$(engine_tabledir)" "$(DESTDIR)$(man1dir)" \
b385cc
 	"$(DESTDIR)$(enginedir)" "$(DESTDIR)$(engine_tabledir)"
b385cc
 SCRIPTS = $(bin_SCRIPTS) $(libexec_SCRIPTS)
b385cc
+AM_V_P = $(am__v_P_@AM_V@)
b385cc
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
b385cc
+am__v_P_0 = false
b385cc
+am__v_P_1 = :
b385cc
+AM_V_GEN = $(am__v_GEN_@AM_V@)
b385cc
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
b385cc
+am__v_GEN_0 = @echo "  GEN     " $@;
b385cc
+am__v_GEN_1 = 
b385cc
+AM_V_at = $(am__v_at_@AM_V@)
b385cc
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
b385cc
+am__v_at_0 = @
b385cc
+am__v_at_1 = 
b385cc
 SOURCES =
b385cc
 DIST_SOURCES =
b385cc
 am__can_run_installinfo = \
b385cc
@@ -128,14 +168,18 @@
b385cc
     *) (install-info --version) >/dev/null 2>&1;; \
b385cc
   esac
b385cc
 am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
b385cc
+am__pep3147_tweak = \
b385cc
+  sed -e 's|\.py$$||' -e 's|[^/]*$$|__pycache__/&.*.py|'
b385cc
 py_compile = $(top_srcdir)/py-compile
b385cc
 man1dir = $(mandir)/man1
b385cc
 NROFF = nroff
b385cc
 MANS = $(man_MANS)
b385cc
 DATA = $(engine_DATA) $(engine_table_DATA)
b385cc
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
b385cc
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
b385cc
 ACLOCAL = @ACLOCAL@
b385cc
 AMTAR = @AMTAR@
b385cc
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
b385cc
 AUTOCONF = @AUTOCONF@
b385cc
 AUTOHEADER = @AUTOHEADER@
b385cc
 AUTOMAKE = @AUTOMAKE@
b385cc
@@ -435,13 +479,23 @@
b385cc
 uninstall-engine_tablePYTHON:
b385cc
 	@$(NORMAL_UNINSTALL)
b385cc
 	@list='$(engine_table_PYTHON)'; test -n "$(engine_tabledir)" || list=; \
b385cc
-	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
b385cc
-	test -n "$$files" || exit 0; \
b385cc
+	py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
b385cc
+	test -n "$$py_files" || exit 0; \
b385cc
 	dir='$(DESTDIR)$(engine_tabledir)'; \
b385cc
-	filesc=`echo "$$files" | sed 's|$$|c|'`; \
b385cc
-	fileso=`echo "$$files" | sed 's|$$|o|'`; \
b385cc
+	pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \
b385cc
+	pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \
b385cc
+	py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \
b385cc
+	echo "$$py_files_pep3147";\
b385cc
+	pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \
b385cc
+	pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \
b385cc
 	st=0; \
b385cc
-	for files in "$$files" "$$filesc" "$$fileso"; do \
b385cc
+	for files in \
b385cc
+	  "$$py_files" \
b385cc
+	  "$$pyc_files" \
b385cc
+	  "$$pyo_files" \
b385cc
+	  "$$pyc_files_pep3147" \
b385cc
+	  "$$pyo_files_pep3147" \
b385cc
+	; do \
b385cc
 	  $(am__uninstall_files_from_dir) || st=$$?; \
b385cc
 	done; \
b385cc
 	exit $$st
b385cc
@@ -530,29 +584,14 @@
b385cc
 	@list='$(engine_table_DATA)'; test -n "$(engine_tabledir)" || list=; \
b385cc
 	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
b385cc
 	dir='$(DESTDIR)$(engine_tabledir)'; $(am__uninstall_files_from_dir)
b385cc
-tags: TAGS
b385cc
-TAGS:
b385cc
+tags TAGS:
b385cc
 
b385cc
-ctags: CTAGS
b385cc
-CTAGS:
b385cc
+ctags CTAGS:
b385cc
 
b385cc
 cscope cscopelist:
b385cc
 
b385cc
 
b385cc
 distdir: $(DISTFILES)
b385cc
-	@list='$(MANS)'; if test -n "$$list"; then \
b385cc
-	  list=`for p in $$list; do \
b385cc
-	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
b385cc
-	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
b385cc
-	  if test -n "$$list" && \
b385cc
-	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
b385cc
-	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
b385cc
-	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
b385cc
-	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
b385cc
-	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
b385cc
-	    exit 1; \
b385cc
-	  else :; fi; \
b385cc
-	else :; fi
b385cc
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
b385cc
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
b385cc
 	list='$(DISTFILES)'; \
b385cc
@@ -694,18 +733,19 @@
b385cc
 
b385cc
 .MAKE: install-am install-strip
b385cc
 
b385cc
-.PHONY: all all-am check check-am clean clean-generic distclean \
b385cc
-	distclean-generic distdir dvi dvi-am html html-am info info-am \
b385cc
-	install install-am install-binSCRIPTS install-data \
b385cc
-	install-data-am install-dvi install-dvi-am install-engineDATA \
b385cc
-	install-engine_tableDATA install-engine_tablePYTHON \
b385cc
-	install-exec install-exec-am install-html install-html-am \
b385cc
-	install-info install-info-am install-libexecSCRIPTS \
b385cc
-	install-man install-man1 install-pdf install-pdf-am install-ps \
b385cc
-	install-ps-am install-strip installcheck installcheck-am \
b385cc
-	installdirs maintainer-clean maintainer-clean-generic \
b385cc
-	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
b385cc
-	uninstall-am uninstall-binSCRIPTS uninstall-engineDATA \
b385cc
+.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
b385cc
+	ctags-am distclean distclean-generic distdir dvi dvi-am html \
b385cc
+	html-am info info-am install install-am install-binSCRIPTS \
b385cc
+	install-data install-data-am install-dvi install-dvi-am \
b385cc
+	install-engineDATA install-engine_tableDATA \
b385cc
+	install-engine_tablePYTHON install-exec install-exec-am \
b385cc
+	install-html install-html-am install-info install-info-am \
b385cc
+	install-libexecSCRIPTS install-man install-man1 install-pdf \
b385cc
+	install-pdf-am install-ps install-ps-am install-strip \
b385cc
+	installcheck installcheck-am installdirs maintainer-clean \
b385cc
+	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
b385cc
+	pdf-am ps ps-am tags-am uninstall uninstall-am \
b385cc
+	uninstall-binSCRIPTS uninstall-engineDATA \
b385cc
 	uninstall-engine_tableDATA uninstall-engine_tablePYTHON \
b385cc
 	uninstall-libexecSCRIPTS uninstall-man uninstall-man1
b385cc
 
b385cc
diff -Nru ibus-table-1.5.0.orig/engine/ibus-table-createdb.1 ibus-table-1.5.0/engine/ibus-table-createdb.1
b385cc
--- ibus-table-1.5.0.orig/engine/ibus-table-createdb.1	2014-01-24 09:07:09.814525660 +0100
b385cc
+++ ibus-table-1.5.0/engine/ibus-table-createdb.1	2014-01-24 09:07:30.058658483 +0100
b385cc
@@ -17,22 +17,22 @@
b385cc
 options is included below.
b385cc
 .TP
b385cc
 \fB-n\fR
b385cc
-\fIdatabase-file\fR specifies the file which will contain the binary database for the IME. The default is ''.
b385cc
+\fIdatabase-file\fR specifies the file name for the binary database for the IME. The default is ''. If the file name of the database is not specified, the file name of the source file before the first '.' will be appended with '.db' and that will be used as the file name of the database.
b385cc
 .TP
b385cc
 \fB-s\fR
b385cc
 \fIsource-file\fR specifies the file which contains the source of the IME. The default is ''.
b385cc
 .TP
b385cc
 \fB-e\fR
b385cc
-\fIextra-words-file\fR specifies the file for the extra words for the IME. The default is ''.
b385cc
+\fIextra-words-file\fR specifies the file name for the extra words for the IME. The default is ''.
b385cc
 .TP
b385cc
 \fB-p\fR
b385cc
-\fIpinyin-file\fR specifies the source file for the pinyin. The default is /usr/share/ibus-table/data/pinyin_table.txt.bz2.
b385cc
+\fIpinyin-file\fR specifies the source file for the pinyin. The default is '/usr/share/ibus-table/data/pinyin_table.txt.bz2'.
b385cc
 .TP
b385cc
 \fB-o\fR
b385cc
-Do not create an index for for a database (Only for distribution purposes, a normal user should not use this flag!)
b385cc
+Do not create an index for a database (Only for distribution purposes, a normal user should not use this flag!)
b385cc
 .TP
b385cc
 \fB-i\fR
b385cc
-Only create an index for an existing database.
b385cc
+Only create an index for an existing database. Specifying the file name of the binary database with the -n or --name option is required when this option is used.
b385cc
 .TP
b385cc
 \fB-d\fR
b385cc
 Print extra debug messages.