Subject: abiword PLIST, install and ./make-html.sh
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/06/2005 17:55:11
My abiword install (under Linux) had many changes to the PLIST -- too
many to list here. (The diff -u is 941 lines). Examples:

-share/AbiSuite-2.2/AbiWord/help/en-US/dialogbackgroundcolor.html
+share/AbiSuite-2.2/AbiWord/help/en-US/interface/dialogbackgroundcolor.html

-share/AbiSuite-2.2/AbiWord/help/en-US/AbiSwish.png
+share/AbiSuite-2.2/AbiWord/help/en-US/template/AbiSwish.png

abiword's post-install includes:

        cd ${WRKDIR}/${DISTNAME}/abiword-docs/ && env \
                ABI_DOC_DEST=${PREFIX}/share/AbiSuite-2.2/AbiWord \
                ./make-html.sh

This script runs the AbiWord-2.2 executable. I think it assumes X?

This caused 217 errors of:

./make-html.sh: line 74: 19338 Aborted                 $ABI_DOC_PROG
--to=html --exp-props=$html_export_options $i

So I removed a >/dev/null and ran with sh -x and saw 217 errors like:

+ AbiWord-2.2 --to=html --exp-props=html4: 'no;' use-awml: 'no;'
embed-css: 'yes;' embed-images:yes aboutos.abw
_X11TransSocketINETConnect() can't get address for localhost:6010: Name or
service not known
AbiWord: [no;] is not a valid file name.
AbiWord: [use-awml:] is not a valid file name.
AbiWord: [no;] is not a valid file name.
AbiWord: [embed-css:] is not a valid file name.
AbiWord: [yes;] is not a valid file name.
AbiWord: [embed-images:yes] is not a valid file name.

(AbiWord-2.2:19338): Gtk-CRITICAL **: gtk_settings_get_for_screen:
assertion `GDK_IS_SCREEN (screen)' failed
(AbiWord-2.2:19338): GLib-GObject-CRITICAL **: g_object_get: assertion
`G_IS_OBJECT (object)' failed

(AbiWord-2.2:19338): GLib-GObject-WARNING **: value "TRUE" of type
`gboolean' is invalid or out of range for property `visible' of type
`gboolean'

(AbiWord-2.2:19338): Gtk-WARNING **: Screen for GtkWindow not set; you
must always set
a screen for a GtkWindow before using the window

(AbiWord-2.2:19338): Gdk-CRITICAL **: gdk_pango_context_get_for_screen:
assertion `GDK_IS_SCREEN (screen)' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_context_set_base_dir:
assertion `context != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **:
pango_context_set_font_description: assertion `context != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_context_set_language:
assertion `context != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_new: assertion
`context != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_set_text: assertion
`layout != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_set_attributes:
assertion `layout != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_set_alignment:
assertion `layout != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_set_ellipsize:
assertion `PANGO_IS_LAYOUT (layout)' failed

(AbiWord-2.2:19338): Pango-CRITICAL **:
pango_layout_set_single_paragraph_mode: assertion `PANGO_IS_LAYOUT
(layout)' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_set_width: assertion
`layout != NULL' failed

(AbiWord-2.2:19338): Pango-CRITICAL **: pango_layout_get_extents:
assertion `layout != NULL' failed

(AbiWord-2.2:19338): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen:
assertion `GDK_IS_SCREEN (screen)' failed

(AbiWord-2.2:19338): Gtk-CRITICAL **: gtk_settings_get_for_screen:
assertion `GDK_IS_SCREEN (screen)' failed

(AbiWord-2.2:19338): Gtk-CRITICAL **: gtk_icon_size_lookup_for_settings:
assertion `GTK_IS_SETTINGS (settings)' failed

(AbiWord-2.2:19338): Gtk-WARNING **: Invalid icon size 6

(AbiWord-2.2:19338): Gtk-CRITICAL **: gtk_icon_theme_load_icon: assertion
`GTK_IS_ICON_THEME (icon_theme)' failed
./make-html.sh: line 74: 19338 Aborted                 $ABI_DOC_PROG
--to=html --exp-props=$html_export_options $i



 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/