Blob Blame History Raw
diff -Nru ibus-table-1.5.0.orig/engine/Makefile.in ibus-table-1.5.0/engine/Makefile.in
--- ibus-table-1.5.0.orig/engine/Makefile.in	2014-01-14 10:28:10.066194361 +0100
+++ ibus-table-1.5.0/engine/Makefile.in	2014-01-14 10:28:33.371351530 +0100
@@ -1,9 +1,8 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# Makefile.in generated by automake 1.12.2 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-# Foundation, Inc.
+# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -76,7 +75,8 @@
 subdir = engine
 DIST_COMMON = $(engine_table_PYTHON) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(srcdir)/ibus-engine-table.in \
-	$(srcdir)/ibus-table-createdb.in $(srcdir)/table.xml.in.in
+	$(srcdir)/ibus-table-createdb.in $(srcdir)/table.xml.in.in \
+	$(top_srcdir)/py-compile
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
 	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
@@ -117,8 +117,8 @@
          $(am__cd) "$$dir" && rm -f $$files; }; \
   }
 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
-	"$(DESTDIR)$(engine_tabledir)" "$(DESTDIR)$(enginedir)" \
-	"$(DESTDIR)$(engine_tabledir)"
+	"$(DESTDIR)$(engine_tabledir)" "$(DESTDIR)$(man1dir)" \
+	"$(DESTDIR)$(enginedir)" "$(DESTDIR)$(engine_tabledir)"
 SCRIPTS = $(bin_SCRIPTS) $(libexec_SCRIPTS)
 SOURCES =
 DIST_SOURCES =
@@ -129,6 +129,9 @@
   esac
 am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile)
 py_compile = $(top_srcdir)/py-compile
+man1dir = $(mandir)/man1
+NROFF = nroff
+MANS = $(man_MANS)
 DATA = $(engine_DATA) $(engine_table_DATA)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
@@ -253,6 +256,10 @@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
+DOC2MAN = docbook2man
+SGML = ibus-table-createdb.sgml
+BUILT_MANS = ibus-table-createdb.1
+man_MANS = $(BUILT_MANS)
 engine_table_PYTHON = \
 	chinese_variants.py \
 	factory.py \
@@ -275,6 +282,8 @@
 	ibus-table-createdb.in \
 	ibus-engine-table.in \
 	table.xml.in \
+	$(SGML) \
+	$(BUILT_MANS) \
 	$(NULL)
 
 CLEANFILES = \
@@ -436,6 +445,49 @@
 	  $(am__uninstall_files_from_dir) || st=$$?; \
 	done; \
 	exit $$st
+install-man1: $(man_MANS)
+	@$(NORMAL_INSTALL)
+	@list1=''; \
+	list2='$(man_MANS)'; \
+	test -n "$(man1dir)" \
+	  && test -n "`echo $$list1$$list2`" \
+	  || exit 0; \
+	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
+	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
+	{ for i in $$list1; do echo "$$i"; done;  \
+	if test -n "$$list2"; then \
+	  for i in $$list2; do echo "$$i"; done \
+	    | sed -n '/\.1[a-z]*$$/p'; \
+	fi; \
+	} | while read p; do \
+	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+	  echo "$$d$$p"; echo "$$p"; \
+	done | \
+	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
+	sed 'N;N;s,\n, ,g' | { \
+	list=; while read file base inst; do \
+	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
+	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
+	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
+	  fi; \
+	done; \
+	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
+	while read files; do \
+	  test -z "$$files" || { \
+	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
+	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
+	done; }
+
+uninstall-man1:
+	@$(NORMAL_UNINSTALL)
+	@list=''; test -n "$(man1dir)" || exit 0; \
+	files=`{ for i in $$list; do echo "$$i"; done; \
+	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
+	  sed -n '/\.1[a-z]*$$/p'; \
+	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
+	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
+	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
 install-engineDATA: $(engine_DATA)
 	@$(NORMAL_INSTALL)
 	@list='$(engine_DATA)'; test -n "$(enginedir)" || list=; \
@@ -484,8 +536,23 @@
 ctags: CTAGS
 CTAGS:
 
+cscope cscopelist:
+
 
 distdir: $(DISTFILES)
+	@list='$(MANS)'; if test -n "$$list"; then \
+	  list=`for p in $$list; do \
+	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
+	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
+	  if test -n "$$list" && \
+	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
+	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
+	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
+	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
+	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
+	    exit 1; \
+	  else :; fi; \
+	else :; fi
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 	list='$(DISTFILES)'; \
@@ -517,9 +584,9 @@
 	done
 check-am: all-am
 check: check-am
-all-am: Makefile $(SCRIPTS) $(DATA)
+all-am: Makefile $(SCRIPTS) $(MANS) $(DATA)
 installdirs:
-	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(engine_tabledir)" "$(DESTDIR)$(enginedir)" "$(DESTDIR)$(engine_tabledir)"; do \
+	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(engine_tabledir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(enginedir)" "$(DESTDIR)$(engine_tabledir)"; do \
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
 	done
 install: install-am
@@ -575,7 +642,7 @@
 info-am:
 
 install-data-am: install-engineDATA install-engine_tableDATA \
-	install-engine_tablePYTHON
+	install-engine_tablePYTHON install-man
 
 install-dvi: install-dvi-am
 
@@ -591,7 +658,7 @@
 
 install-info-am:
 
-install-man:
+install-man: install-man1
 
 install-pdf: install-pdf-am
 
@@ -621,7 +688,9 @@
 
 uninstall-am: uninstall-binSCRIPTS uninstall-engineDATA \
 	uninstall-engine_tableDATA uninstall-engine_tablePYTHON \
-	uninstall-libexecSCRIPTS
+	uninstall-libexecSCRIPTS uninstall-man
+
+uninstall-man: uninstall-man1
 
 .MAKE: install-am install-strip
 
@@ -632,14 +701,19 @@
 	install-engine_tableDATA install-engine_tablePYTHON \
 	install-exec install-exec-am install-html install-html-am \
 	install-info install-info-am install-libexecSCRIPTS \
-	install-man install-pdf install-pdf-am install-ps \
+	install-man install-man1 install-pdf install-pdf-am install-ps \
 	install-ps-am install-strip installcheck installcheck-am \
 	installdirs maintainer-clean maintainer-clean-generic \
 	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
 	uninstall-am uninstall-binSCRIPTS uninstall-engineDATA \
 	uninstall-engine_tableDATA uninstall-engine_tablePYTHON \
-	uninstall-libexecSCRIPTS
+	uninstall-libexecSCRIPTS uninstall-man uninstall-man1
+
 
+${man_MANS}: ${SGML}
+	$(AM_V_GEN) $(RM) $@; \
+	$(DOC2MAN) ${SGML}; \
+	$(RM) manpage.*
 
 table.xml: table.xml.in
 	( \
diff -Nru ibus-table-1.5.0.orig/engine/ibus-table-createdb.1 ibus-table-1.5.0/engine/ibus-table-createdb.1
--- ibus-table-1.5.0.orig/engine/ibus-table-createdb.1	1970-01-01 01:00:00.000000000 +0100
+++ ibus-table-1.5.0/engine/ibus-table-createdb.1	2014-01-14 09:26:33.652424633 +0100
@@ -0,0 +1,48 @@
+.\" auto-generated by docbook2man-spec from docbook-utils package
+.TH "IBUS-TABLE-CREATEDB" "1" "Apr 18, 2013" "" ""
+.SH NAME
+ibus-table-createdb \- create ibus-table database from table source
+.SH SYNOPSIS
+.sp
+\fBibus-table-createdb\fR [ \fB [ -n \fIname\fB ]  [ --name \fIname\fB ] \fR ]  [ \fB [ -s \fIsource\fB ]  [ --source \fIsource\fB ] \fR ]  [ \fB [ -e \fIextra\fB ]  [ --extra \fIextra\fB ] \fR ]  [ \fB [ -p \fIpinyin\fB ]  [ --pinyin \fIpinyin\fB ] \fR ]  [ \fB-o\fR ]  [ \fB--no-create-index\fR ]  [ \fB-i\fR ]  [ \fB--create-index-only\fR ]  [ \fB-d\fR ]  [ \fB--debug\fR ] 
+
+.SH "DESCRIPTION"
+.PP
+\fBibus-table-createdb\fR creates a database for
+ibus-table from a source table.
+.SH "OPTIONS"
+.PP
+This program follows the usual GNU command line syntax,
+with long options starting with two dashes (`-'). A summary of
+options is included below.
+.TP
+\fB-n\fR
+\fIdatabase-file\fR specifies the file which will contain the binary database for the IME. The default is ''.
+.TP
+\fB-s\fR
+\fIsource-file\fR specifies the file which contains the source of the IME. The default is ''.
+.TP
+\fB-e\fR
+\fIextra-words-file\fR specifies the file for the extra words for the IME. The default is ''.
+.TP
+\fB-p\fR
+\fIpinyin-file\fR specifies the source file for the pinyin. The default is /usr/share/ibus-table/data/pinyin_table.txt.bz2.
+.TP
+\fB-o\fR
+Do not create an index for for a database (Only for distribution purposes, a normal user should not use this flag!)
+.TP
+\fB-i\fR
+Only create an index for an existing database.
+.TP
+\fB-d\fR
+Print extra debug messages.
+.SH "EXAMPLES"
+.TP
+\fBibus-table-createdb -n ipa-x-sampa.db -s ipa-x-sampa.txt\fR
+Create the binary database ``ipa-x-sampa.db'' from the source file ``ipa-x-sampa.txt''\&.
+.TP
+\fBibus-table-createdb -i -n ipa-x-sampa.db\fR
+Create an index for the database ``ipa-x-sampa.db''\&.
+.SH "AUTHOR"
+.PP
+This manual page was written by Mike FABIAN <mfabian@redhat.com>\&.