Re: [fossil-users] PDF as embedded documentation

2012-01-29 Thread Matt Welland
On Fri, Jan 20, 2012 at 5:40 PM, Tomek Kott tkott.s...@gmail.com wrote:

 Hi Matt,

 Would you mind sharing that make file? I'm starting a project with Lyx
 myself, and that solution seems pretty great!


Well there isn't much to it, it may well not work for more complex
documents:

all : html/megatest.html megatest.lyx

html/megatest.html : megatest.lyx
rm -rf megatest.html.LyXconv
lyx -e html megatest.lyx
cp megatest.html.LyXconv/* html/
fossil add html/*

megatest.pdf : megatest.lyx
lyx -e pdf megatest.lyx


 I thought the embedded docs do preserve the fossil header (such as the
 landing page of fossil-scm.org, which is an 'embedded' doc, at least how
 I understood the term.) Are we thinking of different headers / embedded
 docs?


Well in my case when you click on the link to the embedded documentation
(the output from lyx in this case) the fossil heading, menu etc. goes away.
I may not have it set up optimally however.


 Thanks,

 Tomek

 On Fri, Jan 20, 2012 at 7:28 PM, Matt Welland estifo...@gmail.com wrote:

 I have been doing exactly the same thing. A LaTeX (lyx) document plus a
 make file that writes out html and a pdf and it seems to work great. I
 suppose it may depend on just how much in the way of hard to compress
 pictures comprise your document.

 I do wish there was a way with the embedded documentation to preserve the
 fossil header and display the html but that is a very minor thing.

 On Fri, Jan 20, 2012 at 5:22 PM, Guilherme P. de Freitas 
 guilhe...@gpfreitas.com wrote:




 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users



 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Should distributed binary require libnss to connect over http?

2012-01-29 Thread Remigiusz Modrzejewski
Hi,

I've hit a surprising obstacle. I've tried to use Fossil, the binary from the 
website, on a heavily stripped down Linux system. But trying to clone end with:

fl: can't resolve host name: dev.lrem.net

I traced the problem to be lack of libnss_dns.so.2. But as far as I understand, 
this library is needed only for https, isn't it? This failed while trying to 
use plain http. Is this expected?


Pozdrawiam,
Remigiusz Modrzejewski

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Should distributed binary require libnss to connect over http?

2012-01-29 Thread Remigiusz Modrzejewski

On Jan 29, 2012, at 20:36 , Remigiusz Modrzejewski wrote:

 I've hit a surprising obstacle. I've tried to use Fossil, the binary from the 
 website, on a heavily stripped down Linux system. But trying to clone end 
 with:
 
 fl: can't resolve host name: dev.lrem.net
 
 I traced the problem to be lack of libnss_dns.so.2. 

Nah, should read more carefully. The trace actually reads like this:

open(/lib/libnss_dns.so.2, O_RDONLY)  = 8
read(8, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\0\20\0\0\0\0\0\0..., 
512) = 512
close(8)= 0
open(/usr/lib/libnss_dns.so.2, O_RDONLY) = -1 ENOENT (No such file or 
directory)
munmap(0xf7746000, 8285)= 0
write(2, \rfl: can't resolve host name: de..., 43) = 43

No other indication what's wrong in strace. For ltrace, I get:

ltrace: Couldn't find .dynsym or .dynstr in /usr/bin/fossil

But I'm already getting too lazy to continue, sunday evening projects are meant 
to be pure fun ;) I'll pick up from here later this week.


Kind regards,
Remigiusz Modrzejewski



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Should distributed binary require libnss to connect over http?

2012-01-29 Thread Dmitry Chestnykh
On Sun, 29 Jan 2012 20:49:00 +0100 Remigiusz Modrzejewski wrote:

  I've hit a surprising obstacle. I've tried to use Fossil, the
  binary from the website, on a heavily stripped down Linux system.
  But trying to clone end with:
  
  fl: can't resolve host name: dev.lrem.net
  
  I traced the problem to be lack of libnss_dns.so.2. 

Yeah, static linking is not actually that static nowadays. When linking,
GCC warns about this.

If fossil runs in chroot/stripped system and needs to resolve hosts, you
need to put the related dynamic libraries into chroot/stripped system.

-- 
Dmitry Chestnykh
http://www.codingrobots.com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users