[gtranslator] help: Build help with yelp-tools instead of gnome-doc-utils



commit b7e2ae85019e152fcc3e605b273408f731c1cd20
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Wed Aug 15 12:06:43 2012 -0400

    help: Build help with yelp-tools instead of gnome-doc-utils
    
    Also added Mallard help.

 .gitignore                         |  174 ++++++++++++++++++++---------------
 Makefile.am                        |    6 +-
 configure.ac                       |    2 +-
 help/C/NO/gtr-join-developers.page |   24 -----
 help/Makefile.am                   |   78 ++++++++++++----
 src/gtr-utils.c                    |    2 +-
 6 files changed, 162 insertions(+), 124 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9d815e8..f2d8493 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,75 +1,99 @@
-/help/C/NO/C.css
-/help/C/NO/figures/closedialog.png
-/help/C/NO/figures/edit_header2.png
-/help/C/NO/figures/edit_header.png
-/help/C/NO/figures/Gtranslator_022.png
-/help/C/NO/figures/Gtranslator_023.png
-/help/C/NO/figures/Gtranslator_025.png
-/help/C/NO/figures/Gtranslator_026.png
-/help/C/NO/figures/Gtranslator_027.png
-/help/C/NO/figures/gtranslator32.png
-/help/C/NO/figures/gtranslator-plugins.png
-/help/C/NO/figures/gtranslator.png
-/help/C/NO/figures/mainwindow.png
-/help/C/NO/figures/mover1.png
-/help/C/NO/figures/mover2.png
-/help/C/NO/figures/mover3.png
-/help/C/NO/figures/mover4.png
-/help/C/NO/figures/prefs-editor.png
-/help/C/NO/figures/prefs-interface.png
-/help/C/NO/figures/prefs.png
-/help/C/NO/figures/prefs-tm.png
-/help/C/NO/figures/profiles-dialog.png
-/help/C/NO/figures/profiles.png
-/help/C/NO/figures/tm.png
-/help/C/NO/figures/toolbar.png
-/help/C/NO/gtr-add-comment-po.html
-/help/C/NO/gtr-concepts.html
-/help/C/NO/gtr-create-tm.html
-/help/C/NO/gtr-credits-design.html
-/help/C/NO/gtr-credits-dev.html
-/help/C/NO/gtr-credits-trans.html
-/help/C/NO/gtr-custom.html
-/help/C/NO/gtr-edit-po.html
-/help/C/NO/gtr-faq.html
-/help/C/NO/gtr-faq.html~
-/help/C/NO/gtr-join-developers.html
-/help/C/NO/gtr-join-users.html
-/help/C/NO/gtr-main-window.html
-/help/C/NO/gtr-open-po.html
-/help/C/NO/gtr-plugins.html
-/help/C/NO/gtr-profiles.html
-/help/C/NO/gtr-quickstart.html
-/help/C/NO/gtr-report-problem.html
-/help/C/NO/gtr-save-po.html
-/help/C/NO/gtr-shortcut-keys.html
-/help/C/NO/gtr-translate.html
-/help/C/NO/gtr-use-delete-entry.html
-/help/C/NO/index.html
-/help/C/NO/jquery.js
-/help/C/NO/jquery.syntax.core.js
-/help/C/NO/jquery.syntax.js
-/help/C/NO/jquery.syntax.layout.yelp.js
-/help/C/NO/yelp.js
-/help/C/gtr-concepts.page~
-/help/C/gtr-credits-design.page~
-/help/C/gtr-faq.page~
-/help/C/gtr-plugins.page~
-/help/C/gtr-quickstart.page~
-/help/C/NO/figures/add-profile.png
-/help/C/NO/figures/edit-profile.png
-/help/C/NO/figures/gtrans_go_to_string_menu.png
-/help/C/NO/figures/gtranslator_interface.png
-/help/C/NO/figures/gtranslator_tm_strings.png
-/help/C/NO/figures/gtr-prefs-tm.png
-/help/C/NO/figures/profiles2.png
-/help/C/NO/gtr-credits-design.page
-/help/C/NO/gtr-credits-design.page~
-/help/C/NO/gtr-credits-dev.page
-/help/C/NO/gtr-credits-dev.page~
-/help/C/NO/gtr-credits-trans.page
-/help/C/NO/gtr-credits-trans.page~
-/help/C/NO/gtr-wizzard.html
-/help/C/NO/idm20144.html
-/help/C/NO/idm20472.html
-/help/C/NO/index.page
+/*.bak
+/*.lo
+/*.o
+/*.orig
+/*.rej
+/*.tab.c
+/*~
+/.*.sw[nop]
+/.deps
+/.dirstamp
+/.gitignore
+/.libs
+/GPATH
+/GRTAGS
+/GSYMS
+/GTAGS
+/ID
+/Makefile
+/Makefile.in
+/TAGS
+/_libs
+/aclocal.m4
+/autom4te.cache
+/config.cache
+/config.guess
+/config.h
+/config.h.in
+/config.log
+/config.lt
+/config.status
+/config.status.lineno
+/config.sub
+/configure
+/configure.lineno
+/data/Makefile.in
+/data/desktop/Makefile.in
+/data/desktop/icons/Makefile.in
+/data/pixmaps/Makefile.in
+/depcomp
+/doc/Makefile.in
+/doc/UMTF/Makefile.in
+/doc/reference/Makefile.in
+/gtk-doc.make
+/help/Makefile.in
+/help/cs/cs.mo
+/help/de/de.mo
+/help/el/el.mo
+/help/es/es.mo
+/help/eu/eu.mo
+/help/fr/fr.mo
+/help/gl/gl.mo
+/help/ja/ja.mo
+/help/ru/ru.mo
+/help/sl/sl.mo
+/help/th/th.mo
+/help/uk/uk.mo
+/help/zh_CN/zh_CN.mo
+/install-sh
+/intltool-extract.in
+/intltool-merge.in
+/intltool-update.in
+/libtool
+/ltmain.sh
+/m4/gnome-doc-utils.m4
+/m4/gtk-doc.m4
+/m4/intltool.m4
+/m4/libtool.m4
+/m4/ltoptions.m4
+/m4/ltsugar.m4
+/m4/ltversion.m4
+/m4/lt~obsolete.m4
+/man/Makefile.in
+/missing
+/mkinstalldirs
+/plugins/Makefile.in
+/plugins/alternate-language/Makefile.in
+/plugins/charmap/Makefile.in
+/plugins/charmap/charmap/Makefile.in
+/plugins/codeview/Makefile.in
+/plugins/dictionary/Makefile.in
+/plugins/fullscreen/Makefile.in
+/plugins/insert-params/Makefile.in
+/plugins/open-tran/Makefile.in
+/plugins/translation-memory/Makefile.in
+/plugins/translation-memory/gda/Makefile.in
+/po/*.gmo
+/po/*.mo
+/po/.intltool-merge-cache
+/po/Makefile
+/po/Makefile.in
+/po/Makefile.in.in
+/po/POTFILES
+/po/gtranslator.pot
+/po/stamp-it
+/so_locations
+/src/Makefile.in
+/src/toolbareditor/Makefile.in
+/stamp-h1
+/tags
diff --git a/Makefile.am b/Makefile.am
index e1bba4b..37bc6ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,11 +7,7 @@ EXTRA_DIST= \
 		HACKING \
 		ChangeLog-20090817 \
 		omf.make \
-		xmldocs.make \
-		gnome-doc-utils.make
-
-DISTCLEANFILES = 		\
-	gnome-doc-utils.make    
+		xmldocs.make
 
 MAINTAINERCLEANFILES = 		\
 	aclocal.m4		\
diff --git a/configure.ac b/configure.ac
index 6c736dc..148db85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,7 @@ AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package n
 dnl -------------------------------------------------------------------
 dnl Documentation
 dnl -------------------------------------------------------------------
-GNOME_DOC_INIT
+YELP_HELP_INIT
 GTK_DOC_CHECK([1.0])
 
 dnl -------------------------------------------------------------------
diff --git a/help/Makefile.am b/help/Makefile.am
index a082cb7..8bac113 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,21 +1,63 @@
-include $(top_srcdir)/gnome-doc-utils.make
-dist-hook: doc-dist-hook
+ YELP_HELP_RULES@
+HELP_ID = gtranslator
 
-DOC_MODULE = gtranslator
-DOC_ENTITIES = legal.xml
-DOC_INCLUDES =
-DOC_FIGURES = figures/mainwindow.png \
-	      figures/toolbar.png \
-	      figures/closedialog.png \
-	      figures/profiles.png \
-	      figures/tm.png \
-	      figures/toolbar.png \
-	      figures/prefs.png	\
-	      figures/prefs-editor.png \
-	      figures/profiles.png \
-	      figures/profiles-dialog.png \
-	      figures/prefs-interface.png \
-	      figures/prefs-tm.png
-DOC_LINGUAS = cs de el es eu fr gl ja ru sl th uk zh_CN
+HELP_FILES = \
+	gtr-add-comment-po.page		\
+	gtr-concepts.page		\
+	gtr-create-tm.page		\
+	gtr-custom.page			\
+	gtr-edit-header.page		\
+	gtr-edit-po.page		\
+	gtr-faq.page			\
+	gtr-goto-string-po.page		\
+	gtr-join-users.page		\
+	gtr-main-window.page		\
+	gtr-open-po.page		\
+	gtr-plugins.page		\
+	gtr-profiles.page		\
+	gtr-quickstart.page		\
+	gtr-report-problem.page		\
+	gtr-save-po.page		\
+	gtr-shortcut-keys.page		\
+	gtr-translate.page		\
+	gtr-use-delete-entry.page	\
+	gtr-wizzard.page		\
+	index.page			\
+	license.page
+
+HELP_MEDIA = \
+	figures/add-profile.png			\
+	figures/comment-text.png		\
+	figures/edit_header2.png		\
+	figures/edit_header.png			\
+	figures/edit-profile.png		\
+	figures/edit-text.png			\
+	figures/edit-toolbar.png		\
+	figures/gtrans_go_to_string_menu.png	\
+	figures/Gtranslator_022.png		\
+	figures/Gtranslator_023.png		\
+	figures/Gtranslator_025.png		\
+	figures/Gtranslator_026.png		\
+	figures/Gtranslator_027.png		\
+	figures/gtranslator22.png		\
+	figures/gtranslator32.png		\
+	figures/gtranslator_interface.png	\
+	figures/gtranslator-plugins.png		\
+	figures/gtranslator.png			\
+	figures/gtranslator_tm_strings.png	\
+	figures/gtr-prefs-tm.png		\
+	figures/message-detail.png		\
+	figures/mover1.png			\
+	figures/mover2.png			\
+	figures/mover3.png			\
+	figures/mover4.png			\
+	figures/mover5.png			\
+	figures/profiles2.png			\
+	figures/tm-manager.png			\
+	figures/use-tm-entry.png
+
+
+
+HELP_LINGUAS = cs de el es eu fr gl ja ru sl th uk zh_CN
 
 -include $(top_srcdir)/git.mk
diff --git a/src/gtr-utils.c b/src/gtr-utils.c
index c0fe102..2b06020 100644
--- a/src/gtr-utils.c
+++ b/src/gtr-utils.c
@@ -523,7 +523,7 @@ gtr_utils_help_display (GtkWindow * parent,
       return;
     }
 
-  command = g_strconcat ("gnome-help ghelp://", uri, NULL);
+  command = g_strconcat ("gnome-help help://", uri, NULL);
   g_free (uri);
 
   g_spawn_command_line_async (command, &error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]