################################################################################
#
Packaged on FC5  2007/06
#
# you may update configure.in before ./configure
#   to change packagehelpdir:html help install dir     (current=/usr/local/share/gnome/help/gxe)
#   or        packagepixmapsdir:icon image install dir (current=/usr/local/share/pixmaps/gxe)
# BinDir is specified by configure --bindir=PATH       (current=/usr/local/bin)
#
################################################################################
#
#installation procedure
#
    tar -zxvf gxe-v.rr.tar.gz    (v.rr : version)
    cd gxe-v.rr
    ./configure
    make
    make install
      Followings are installed.
        gxe   :editor,X(GTK) application
        xe    :editor,console application
        xprint:print tool,console application
        gxp   :print tool,gnome-print application
        xfc   :file compare tool,console application
        xdc   :directory compare tool,console application
      Install manualy other utility as your favour.

     /usr/local/bin/gxe .

     ? (xe's help command)

See xee.doc on doc dir as 1 file manual.

################################################################################
#
#trouble shooting
#                      tested--RH9,FC5,Kubuntu6,Ubuntu7,openSUSE10,Vine4,TurbolinuxFUJItrial
#                              Debian4.0r2(2008/01/25)
#
# refer to package manager information for each distribution to resolve dependency.
#   vine/Debian package manager is synaptics(Desktop->SystemMgt->Synaptic pkg Mgr)
#       (Once refresh pkg database; Edit->Reload Package Information)
#
#   commandline sample
#     RedHat    rpm -i ncurses-devel-5.4-7.i686.rpm
#     Ubuntu    apt-get install libc6-dev
#               auto-apt support to search package name containig the file.
#               ex) auto-apt search "libgnomeprintui*".
#               Auto-apt is gotten by apt-get.
#               On Kubuntu6, apt-get fail for auto-apt.
#               I got auto-apt.---.deb from web site,
#               then installed by "dpkg -i ---.deb".
#               Once issue auto-apt update.
#
#   TurbolinuxFUJI trial version:
#        application installer is turboplus
#        licence updated required to get package
#
##(A) configure
    (1) no acceptable C compiler found in $PATH
        ===> install gcc
    (1-1) crt1.o no such file   (Debian 4.0)
        ===> install libglib2.0-dev
    (2) ncurses.h not found.
        ===> install ncurses-develop.
    (3) cups/cups.h not found.
        ===> install cups-devel
    (4) No package libgnomeui-2.0 found
        No package gnome-vfs-module-2.0 found
        No package libgnomeprint-2.2 found
        ===> install libgnomeui-devel
             install libgnomeprint-devel
        (mutual dependency may start another package instalation)
##(B) make
    (1) "term.h" not found
        ===> install ncurses-develop.
    (2) Cannot find the librarly libssl (On TurbolinuxFUJI trial version)
        ===> install openssp
    (3) Cannot find the librarly libpopt.la
        ===> install popt from ftp site
    (4) X error'BadDevice invalid or uninitialized device 168  (Ubuntu-7)
        :        major 145 .. minor 3 resource 0x00
        Failed to open Device
        ===> /etc/X11/xorg.conf was changed.

        Following lines are comment out

        ##Section "InputDevice"
        ##  Driver        "wacom"
        ##  Identifier    "stylus"
        ##  Option        "Device"        "/dev/wacom"          # Change to
        ##                                                      # /dev/input/event
        ##                                                      # for USB
        ##  Option        "Type"          "stylus"
        ##  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
        ##EndSection

        ##Section "InputDevice"
        ##  Driver        "wacom"
        ##  Identifier    "eraser"
        ##  Option        "Device"        "/dev/wacom"          # Change to
        ##                                                      # /dev/input/event
        ##                                                      # for USB
        ##  Option        "Type"          "eraser"
        ##  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
        ##EndSection

        ##Section "InputDevice"
        ##  Driver        "wacom"
        ##  Identifier    "cursor"
        ##  Option        "Device"        "/dev/wacom"          # Change to
        ##                                                      # /dev/input/event
        ##                                                      # for USB
        ##  Option        "Type"          "cursor"
        ##  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
        ##EndSection

                And in Section "ServerLayout"

        ##    InputDevice     "stylus" "SendCoreEvents"
        ##    InputDevice     "cursor" "SendCoreEvents"
        ##    InputDevice     "eraser" "SendCoreEvents"
    (5) /bin/sh' /usr/bin/esd: not found (Ubuntu-7)
        ===> install esound
##(C) execution
    (1)  WARNING **:Could'nt find pixmap file gxe/wxe.png
        ===> do "make install" by root user

    (2) WARNING **: IPP request failed with status 1030
        ===> setup printer. Add any supported printer type even if you have not it.

    (3) WARNING **: IPP request failed with status 1280
        ===> start service cups.
    (4) ??? xe:serach for gnome-terminal by "which" cmd failed ???
        ===> This is not err if  "xe: use konsole for shell terminal" is followed.
            else install gnome-terminal or konsole.
    (5) Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG)
        ===> Ignore.
             (imlib call gdk_property_get with length=MAX_INT,callee issue warning length+3>G_MAXLONG,then use G_MAXLONG as length.)

    (6) WARNING **: failed request with status 200
        ===> Ignore.
             I donot know why but may be not harmfull.
    (7) GnomePrintCupsPlugin-WARNING **: failed iconv dose not support ppd character encoding: ISOLatin1, trying CSISOLatin1
        ===> Ignore.
             I donot know why but may be not harmfull.
    (8) WARNING ***: Owner of /tmp/xx-username is not the current user
                     Failed to initialize Panel Agent!
        ===> You changed UID number. Delete displayed directory
             and /tmp/scim-panel-socket-username... of old UID.
    (9) GnomePrint-CRITICAL ... assertion face != NULL failed
        ===> This means font face name(Bold/Italic ..) is missing.
             "Regular" is inserted after once change Print Font and Screen Font and save(normal exit).
             Note) xe use screen font to printScr.
    (10) xe help command fail
         (default action not defined for MIME type text/html
          On gnome desktop,it is defined in /usr/share/mime-info/gnome-vfs-keys.)
        ===> install desktop-file-utils
             /usr/share/applications/defaults.list-->/etc/gnome/defaults.list is installed.
    (11) Gtk WARNING : Cannot open display   (Debian 4.0 when started from console)
        ===> execute once `xhost +local:username`    (username is your user-id)
             (check also environment variable DISPLAY=)