Re: [Viking-devel] Imminent Viking 1.4 Release

2013-02-08 Thread Greg Troxel

Robert Norris rw_nor...@hotmail.com writes:

 The NetBSD nan patch is integrated; thanks again (I'm sure I sent this
 in a long time ago :-).

 Not sure when ( almost before my time! )

Sorry, I am confused.  It is in my local tree as a patch that I rebase,
and hence in the tarball I generated.

 make distcheck fails because it doesn't carry the CPPFLAGS from the
 invocation of configure. (Not sure if that's legimately a bug, and I
 don't expect any of you to fix it, but thought I'd mention it.)

 Interesting observation - my CPPFLAGS '-O0 -g' to make debugging easier.
 This is carried over into make distcheck, on a Debian Unstable AMD64
 make --version
 GNU make 3.86

Hmm.  I'll have to check that harder.

 Hmm, I think I have may have (indirectly) removed help from tarball in
 trying to simplify the build dependencies.

 In principal *only* a 'full' build generates the help PDF from the
 DocBook XML help - this is more of a Windows build
 simplification/avoidance, especially since the help Makefile relies on
 ../gnome-doc-utils.make' which may not be available - how to do
 conditional 'includes' in a Makefile anyone?).

 Unfortunately I now see that some of the 'src' depends on the XML if
 you have 'xsltproc' available on your system, as then documenters.h is
 generated by processing the xml file.

 Personally I find automake Makefile.am a horrid interwoven web of
 implicit Macros in an obscure language I don't use anywhere else - so
 it's hard to know what's right!

 I'd like to put the XML help in the source generation, but not
 actually use it in a build but how (given the Makefile has an
 include statement) ?

I'm not sure what to do, but I wonder if making the xsltproc part of the
build non-optional would help.  gtk doc tools and xsltproc are pretty
normal on any machine beefy enough to run viking, I would think.

I think gnome-doc-utils.make is available in the tarball.  Or are you
worried about Windows users building from source when they don't have
the doc tarballs?

I wonder if it's easy to omit the build rules, but to leave the
additions to the distfiles.


pgpy8DfhuXhAk.pgp
Description: PGP signature
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Re: [Viking-devel] Imminent Viking 1.4 Release

2013-02-08 Thread Robert Norris


  The NetBSD nan patch is integrated; thanks again (I'm sure I sent this
  in a long time ago :-).
 
  Not sure when ( almost before my time! )

My mistake, I think I closed the SF bug here (mostly due to being 'old' and see 
if anyone would notice):

https://sourceforge.net/tracker/index.php?func=detailaid=1891884group_id=83870atid=570954

 Sorry, I am confused. It is in my local tree as a patch that I rebase,
 and hence in the tarball I generated.

Can you upload that to GitHub, repost the patch (or find a URL reference for 
it) please?

Probably to late for inclusion in 1.4

Some ideas to on how to get it to work for different compilers/platforms:

http://stackoverflow.com/questions/1923837/how-to-use-nan-and-inf-in-c
http://tdistler.com/2011/03/24/how-to-define-nan-not-a-number-on-windows

  I'd like to put the XML help in the source generation, but not
  actually use it in a build but how (given the Makefile has an
  include statement) ?

 I'm not sure what to do, but I wonder if making the xsltproc part of the
 build non-optional would help. gtk doc tools and xsltproc are pretty
 normal on any machine beefy enough to run viking, I would think.

Yes I've now given up in trying to avoid it.

So now I've found Windows builds of xsltproc (and libxml2) so I have a complete 
Windows build using wine.

I just need to resolve a nasty 'acquire' thread bug I introduced, but should 
have an updated git master very soon.


  
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/