Hi all,

I'm new to this list and I don't really know the system for
submissions. Apologies in advance.

I think I've got a working fink package for the latest version of
Amaya - w3c development browser. The package and patch are
attached. The details of the port are in the package - suffice is to
say that it was pretty easy.

Issues:

1) It doesn't seem to build if libwww is installed. This is wierd
because amaya uses libwww (it comes with its own copy, as well as
libjpeg and libpng IIRC). Seems perverse. I'll ask the amaya
developers about this, but it might have to be a build-conflict.

2) Why gtk? Well it works, but gtk support is experimental. It prefers
motif/lesstif (and the amaya team have fixed the configure to check
for fink lesstif) but it seems to die with "Error: attempt to add
non-widget child "DropSiteManager" to parent "appli" which supports
only widgets". Can anyone else confirm that?

3) The build is a little hacky. Amaya likes to contain everything in
an Amaya directory, then link the executable from bin. That would
result in /sw/Amaya - I've fixed it to go in /sw/share/Amaya (with the
link corrected). Hope that's ok.

This was done on MacOS X 10.1.2, with fink from cvs.

Damian Steer

Package:        amaya-gtk
Version:        5.3
Revision:       1
Maintainer:     Damian Steer <[EMAIL PROTECTED]>
Depends:        gtk+, imlib
Source:         mirror:custom:amaya-src-%v.tgz
CustomMirror: <<
        Primary:  http://www.w3.org/Amaya/Distribution
        ftp-US:     ftp://ftp.w3.org/pub/amaya
        ftp-AU:     ftp://mirror.aarnet.edu.au/pub/amaya
<<
SourceDirectory: Amaya
UpdateConfigGuess: true
Patch:          %f.patch
CompileScript: <<
        mkdir Darwin
        cd 'Darwin' && ../configure --with-gtk --prefix=/sw/share --bindir=/sw/bin && 
make
<<
InstallScript: <<
        cd 'Darwin' && make install prefix=%i/share bindir=%i/bin
        cd %i/bin && ln -sf ../share/Amaya/applis/bin/amaya amaya
<<
DocFiles:       README README.amaya amaya/COPYRIGHT
Description:    W3C's Editor/Browser
DescDetail: <<
        Amaya is a complete web browsing and authoring 
        environment and comes equipped with a "WYSIWYG style" 
        of interface, similar to that of the most popular commercial 
        browsers. With such an interface, users can easily generate
        HTML and XHTML pages, as well as CSS style sheets, MathML
        expressions, and SVG drawings (full support of SVG is not yet
        available, though).
        Amaya includes a collaborative annotation application based
        on Resource Description Framework (RDF), XLink, and
        XPointer.
<<
DescPackaging: <<
        Patches the configure script to stop it checking for appkit
        (bad amaya) and adds -I/sw/include to the gtk part of
        Options.in so it finds imlib (this is probably bad).
        Slight hack to make Amaya install in /sw/share/Amaya with
        link from /sw/bin/amaya to amaya excutable. (Default would
        have /sw/Amaya, which isn't pretty).
<<
License:        OSI-Approved
Homepage:       http://www.w3.org/Amaya/
diff -Naur Amaya/Options.in Amaya_new/Options.in
--- Amaya/Options.in	Tue Jul  3 11:23:50 2001
+++ Amaya_new/Options.in	Thu Jan 24 20:20:49 2002
@@ -44,7 +44,7 @@
 EXPAT_LIBRARIES=
 EXPAT_OPTIONS=-DXML_DTD -DXML_NS
 
-GTK_INCLUDES=@GTK_INCLUDES@
+GTK_INCLUDES=@GTK_INCLUDES@ -I/sw/include
 GTK_LIBRARIES=@GTK_LIBRARIES@
 
 X_FLAGS=$(MOTIF_INCLUDES) $(GTK_INCLUDES) @X_CFLAGS@
diff -Naur Amaya/configure Amaya_new/configure
--- Amaya/configure	Tue Dec 18 16:17:56 2001
+++ Amaya_new/configure	Thu Jan 24 20:19:49 2002
@@ -3587,7 +3587,7 @@
 fi
 done
 
-for ac_hdr in appkit/appkit.h appkit.h
+for ac_hdr in apppkit/apppkit.h apppkit.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

Reply via email to