Version 1.0 03/28/04 mgansser@ngi.de

1. Be sure that the following System Sofware is installed.

HPUX 11.11 System Patches and Developer Toolkit B3394BA from:

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3394BA

B3394BA B.11.11.02 HP-UX Developer's Toolkit for 11.11

HP-UX 11iv1 Quality Pack (GOLDQPK11i) December 2003 (B.11.11.0312.4)

PHCO_25569 1.0 libc cumulative header file patch

PHCO_29955 1.0 libc cumulative patch

PHSS_30049 1.0 ld(1) and linker tools cumulative patch

PHSS_30173 B.11.11.19 Xserver cumulative patch

s700_800 11.11 X/Motif DevKit Periodic Patch PHSS_30263
s700_800 11.11 X/Motif Runtime Periodic Patch PHSS_30262

Here is a list off all the packages that I downloaded from the porting centre for HP-UX.

Name
Version
Notes
gcc
3.3.3
gcc 3.3.3 + binutils 2.14 + gdb-6.0
unzip
5.50
Mozilla wants it
zlib
1.2.1
xpm
3.4k
wget
1.8.1
for garnome
tiff
3.5.7
pixbuff
bzip2
1.0.2
for garnome
db
4.2.52
expat
1.95.6
fileutils
4.1.7
for garnome
gettext
0.14.1
imake
6.00
for garnome
jpeg
6b
autoconf
2.57
automake
1.74
libiconv
1.9.2
libpng
1.2.4
make
3.80
for garnome
bison
1.8.75
flex
2.5.4a
texinfo
4.5
m4
1.4
perl
5.8.3
tar
1.13.25
for garnome
zip
2.3
Mozilla wants it
pcre
4.4
BlueFish needs it
diffutils
2.8.1
You need to aply some patches!!
gawk
3.1.2
gdbm
1.8.3
For GnomeICU
ncurses
5.4
popt
1.7

Install gcc 3.3.3

tar xfj gcc-3.3.3-32-11.11-hppa2.0.tbz -C /usr/local/

and the other Depot software with: swinstall -s /tmp/paketname.depot paketname

How to start

1. Download the latest garnome, unpack it:

http://www.gnome.org/~jdub/garnome/download/garnome-0.27.1.tar.bz2

link make with gmake

Now edit gar.conf.mk Add to:

Only if you have a PA8000 or newer!!!

Change CC & CXX to your gcc location

compile glib with gnu libiconv
edit gnome/glib/Makefile

Change X-Server from Xft to fontconfig

because hp-ux X server have not Xrender, so we can not build Xft1.
edit gnome/pango/Makefile

First we need to patch some programs, because they fails at compilation.

http://nauta.homeunix.net/~matias/garnome-hpux/

1. Patching gnome/libxml2

could not locate docbookx.dtd for DocBook XML

Patch for gnome/libxml2/files/buildDocBookCatalog

2. Patching gnome/gnome-vfs

error message:

gnome-vfs-mime-magic.c -fPIC -DPIC -o gnome-vfs-mime-magic.lo

gnome-vfs-mime-magic.c: In function `_gnome_vfs_sniff_buffer_looks_like_text':

gnome-vfs-mime-magic.c:770: error: `mbstate_t' undeclared (first use in this function)

gnome-vfs-mime-magic.c:770: error: (Each undeclared identifier is reported only once

gnome-vfs-mime-magic.c:770: error: for each function it appears in.)

gnome-vfs-mime-magic.c:770: error: parse error before "state"

gnome-vfs-mime-magic.c:775: error: `state' undeclared (first use in this function)

http://bugzilla.gnome.org/attachment.cgi?id=15650&action=view

? configure.diff

? doc/xml

? doc/tmpl/gnome-vfs-unused.sgml

? doc/tmpl/gnome-vfs.sgml

Index: configure.in

===================================================================

RCS file: /cvs/gnome/gnome-vfs/configure.in,v

retrieving revision 1.227

diff -u -r1.227 configure.in

--- configure.in 31 Mar 2003 11:22:39 -0000 1.227

+++ configure.in 11 Apr 2003 17:58:51 -0000

@@ -88,7 +88,7 @@

AM_GLIB_GNU_GETTEXT

AC_FUNC_ALLOCA

-AC_CHECK_FUNCS(getdtablesize open64 lseek64 statvfs seteuid setegid setresuid setresgid readdir_r)

+AC_CHECK_FUNCS(getdtablesize open64 lseek64 statvfs seteuid setegid setresuid setresgid readdir_r mbrtowc)

AC_REPLACE_FUNCS(getdelim)

dnl Specify the gconf configuration source,

@@ -151,7 +151,7 @@

AC_SUBST(VFS_SIZE_PRINTF)

AC_SUBST(VFS_OFFSET_PRINTF)

-AC_CHECK_HEADERS(sys/param.h sys/resource.h sys/vfs.h sys/mount.h sys/statvfs.h)

+AC_CHECK_HEADERS(sys/param.h sys/resource.h sys/vfs.h sys/mount.h sys/statvfs.h wctype.h)

dnl ====================================

dnl =

Index: libgnomevfs/gnome-vfs-mime-magic.c

===================================================================

RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-mime-magic.c,v

retrieving revision 1.45

diff -u -r1.45 gnome-vfs-mime-magic.c

--- libgnomevfs/gnome-vfs-mime-magic.c 19 Feb 2003 09:50:02 -0000 1.45

+++ libgnomevfs/gnome-vfs-mime-magic.c 11 Apr 2003 17:58:51 -0000

@@ -29,8 +29,11 @@

#include <sys/types.h>

#include <sys/stat.h>

#include <stdlib.h>

+

+#ifdef HAVE_WCTYPE_H

/* We can handle multibyte string. */

+# include <sys/_mbstate_t.h>

#include <wctype.h>

#include <wchar.h>

+#endif

#include <glib/garray.h>

#include <glib/gmessages.h>

@@ -759,6 +762,7 @@

if (g_utf8_get_char_validated(end, remaining_bytes) == -2)

return TRUE;

+#if defined(HAVE_WCTYPE_H) && defined (HAVE_MBRTOWC)

else {

size_t wlen;

wchar_t wc;

@@ -802,6 +806,7 @@

}

return TRUE;

}

+#endif /* defined(HAVE_WCTYPE_H) && defined (HAVE_MBRTOWC) */

}

}

replace gnome/esound with version from the porting centre for HP-UX.

error message

/usr/ccs/bin/ld: Unsatisfied symbols:
hstrerror (first referenced in esd.o) (code)
collect2: ld returned 1 exit status

In this version the function hstrerror() has been added

http://hpux.connect.org.uk/ftp/hpux/Development/Tools/esound-0.2.32/esound-0.2.32-ss-11.00.tar.gz

Now you can start with compilation, go to garnnome-0.27.1/bootstrap and run make install.

The step, go to garnome-0.27.1/gnome and run make install.

This will take a lot of time and space. More then 2 GB for the compilation process and 600 MB for the binaries in /opt/garnome.

Use the following command, if the compilation of a pakage fails, and you forgot to patch it.

Recompile it again with: make buildclean; make cookieclean; mak install.

This capture explains, how to add Gnome to the DtLogin

create the file Xresources.gnome

in /usr/dt/conf or /etc/dt/conf.

/usr/dt/config/C/Xresources.d/Xresources.gnome:

Maybe you must set a link to your location line

/usr/dt/config/de_DE.iso8815/Xresources.d/Xresources.gnome ...

To use altDtLogo you must have a xpm logo with the size 294x224 in /usr/dt/appconf/icon/C.

create the file Xsession.gnome

/usr/dt/config/Xsession.gnome/Xsession.gnome

Create the file Xsession.gnome2

/usr/dt/config/Xsession.gnome: # cat Xsession.gnome2