[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: how to update manuals in Frescobaldi?
From:       Nick Payne <nick.payne () internode ! on ! net>
Date:       2013-12-31 19:58:54
Message-ID: 52C321FE.1030509 () internode ! on ! net
[Download RAW message or body]

On 01/01/14 05:03, Federico Bruni wrote:
> 2013/12/31 Nick Payne <nick.payne@internode.on.net 
> <mailto:nick.payne@internode.on.net>>
> 
> On 31/12/13 07:51, Federico Bruni wrote:
> > 2013/12/30 Tom Cloyd <tomcloydmsma@gmail.com
> > <mailto:tomcloydmsma@gmail.com>>
> > 
> > Now that Ly 2.18.0 is out, those of us who use Frescobaldi
> > need to update the manuals it refers to in its Documentation
> > Browser tab.
> > 
> > Nowhere can I find instructions for how to do that. In the
> > Preferences modal window it is possible to indicate a path to
> > "the documentation", but that documentation comes in multiple
> > forms, so I'm at a fork in the road with no map. What does
> > Frescobaldi need?
> > 
> > 
> > Frescobaldi needs just a new location for the 2.18  doc.
> > The quickest way is using the new online url:
> > http://www.lilypond.org/doc/v2.18
> > 
> > You may need updating the documentation browser with Ctrl+R.
> > 
> > If you want to use the offline documentation, type this command
> > (suggested in the download page):
> > 
> > sh lilypond-2.18.0-OS-TYPE.sh <http://lilypond-2.18.0-OS-TYPE.sh>
> > --help
> > 
> > and you'll see an option to download the documentation.
> 
> That option doesn't work unless the doc tarball is already
> downloaded and in the same folder as the install sh. Otherwise it
> tries to append some of the local path to the doc tarball download
> link and the download fails:
> 
> 
> It worked perfect for me. I downloaded the 64bit version and installed 
> it as normal user in my home directory.
> I have manuals version 2.18.0 here:
> file:///home/fede/lilypond/usr/share/doc/lilypond/html/Documentation/web/manuals.html
>  
> 
> nick@nick-desktop ~ $ sudo sh
> ~/Downloads/lilypond/lilypond-2.18.0-1.linux-64.sh
> <http://lilypond-2.18.0-1.linux-64.sh> --doc
> 
> lilypond installer for version 2.18.0 release 1,
> x86_64 build.
> For a list of options, abort (^C) then do:
> sh /home/nick/Downloads/lilypond/lilypond-2.18.0-1.linux-64.sh
> <http://lilypond-2.18.0-1.linux-64.sh> --help
> 
> 
> You are about to install LilyPond in /usr/local/lilypond
> A script in /usr/local/bin will be created as a shortcut.
> 
> Press ^C to abort, or Enter to proceed.
> 
> Making /usr/local/lilypond
> Creating script /usr/local/bin/lilypond
> Creating script /usr/local/bin/lilypond-wrapper.python
> Creating script /usr/local/bin/lilypond-wrapper.guile
> Creating script /usr/local/bin/uninstall-lilypond
> Untarring
> /home/nick/Downloads/lilypond/lilypond-2.18.0-1.linux-64.sh
> <http://lilypond-2.18.0-1.linux-64.sh>
> No
> .//home/nick/Downloads/lilypond/lilypond-2.18.0-1.documentation.tar.bz2
> found, downloading.
> --2013-12-31 21:33:33--
> http://lilypond.org/download/binaries/documentation//home/nick/Downloads/lilypond/lilypond-2.18.0-1.documentation.tar.bz2
>  
> 
> This is weird.
> I've used --doc in the past (for stable versions only) and it always 
> worked.
> Can you  try installing as normal user?

The problem happens if you specify a path to the install sh. If I cd to 
the folder holding the file and just run

sudo sh lilypond-2.18.0-1.linux-64.sh 
<http://lilypond-2.18.0-1.linux-64.sh> --doc

then the doc tarball starts downloading ok. If I have

sudo sh /path/to/lilypond-2.18.0-1.linux-64.sh 
<http://lilypond-2.18.0-1.linux-64.sh> --doc

then the attempted download fails because /path/to gets appended to 
where the doc download is attempted from the internet.


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/01/14 05:03, Federico Bruni
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPjDBpqpOzpuD6d6_J3pyy7_JOGPcnTDH76Tsxat+ncfDesABQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">2013/12/31 Nick Payne <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:nick.payne@internode.on.net"
                target="_blank">nick.payne@internode.on.net</a>&gt;</span><br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  <div bgcolor="#FFFFFF" text="#000000">
                <div class="im">
                  <div>On 31/12/13 07:51, Federico Bruni wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_extra">
                        <div class="gmail_quote">2013/12/30 Tom Cloyd <span
                            dir="ltr">&lt;<a moz-do-not-send="true"
                              href="mailto:tomcloydmsma@gmail.com"
                              \
target="_blank">tomcloydmsma@gmail.com</a>&gt;</span><br>  <blockquote \
class="gmail_quote"  style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Now


                            that Ly 2.18.0 is out, those of us who use
                            Frescobaldi need to update the manuals it
                            refers to in its Documentation Browser tab.<br>
                            <br>
                            Nowhere can I find instructions for how to
                            do that. In the Preferences modal window it
                            is possible to indicate a path to "the
                            documentation", but that documentation comes
                            in multiple forms, so I'm at a fork in the
                            road with no map. What does Frescobaldi
                            need?<br>
                            <br>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>Frescobaldi needs just a new location for
                            the 2.18  doc.</div>
                          <div>The quickest way is using the new online
                            url:</div>
                          <div><a moz-do-not-send="true"
                              href="http://www.lilypond.org/doc/v2.18"
                              \
target="_blank">http://www.lilypond.org/doc/v2.18</a><br>  </div>
                          <div><br>
                          </div>
                          <div>You may need updating the documentation
                            browser with Ctrl+R.</div>
                          <div><br>
                          </div>
                          <div>If you want to use the offline
                            documentation, type this command (suggested
                            in the download page):</div>
                          <div><br>
                          </div>
                          <div>sh <a moz-do-not-send="true"
                              href="http://lilypond-2.18.0-OS-TYPE.sh"
                              target="_blank">lilypond-2.18.0-OS-TYPE.sh</a>
                            --help<br>
                          </div>
                          <div><br>
                          </div>
                          <div>and you'll see an option to download the
                            documentation.<br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
                That option doesn't work unless the doc tarball is
                already downloaded and in the same folder as the install
                sh. Otherwise it tries to append some of the local path
                to the doc tarball download link and the download fails:<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>It worked perfect for me. I downloaded the 64bit
              version and installed it as normal user in my home
              directory.</div>
            <div>I have manuals version 2.18.0 here:</div>
            <div><a moz-do-not-send="true"
href="file:///home/fede/lilypond/usr/share/doc/lilypond/html/Documentation/web/manuals \
.html">file:///home/fede/lilypond/usr/share/doc/lilypond/html/Documentation/web/manuals.html</a><br>
  </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  <div bgcolor="#FFFFFF" text="#000000"> nick@nick-desktop ~
                $ sudo sh ~/Downloads/lilypond/<a moz-do-not-send="true"
                  href="http://lilypond-2.18.0-1.linux-64.sh"
                  target="_blank">lilypond-2.18.0-1.linux-64.sh</a>
                --doc<br>
                <br>
                lilypond installer for version 2.18.0 release 1,<br>
                x86_64 build.<br>
                For a list of options, abort (^C) then do:<br>
                sh /home/nick/Downloads/lilypond/<a
                  moz-do-not-send="true"
                  href="http://lilypond-2.18.0-1.linux-64.sh"
                  target="_blank">lilypond-2.18.0-1.linux-64.sh</a>
                --help<br>
                <br>
                <br>
                You are about to install LilyPond in /usr/local/lilypond<br>
                A script in /usr/local/bin will be created as a
                shortcut.<br>
                <br>
                Press ^C to abort, or Enter to proceed.<br>
                <br>
                Making /usr/local/lilypond<br>
                Creating script /usr/local/bin/lilypond<br>
                Creating script /usr/local/bin/lilypond-wrapper.python<br>
                Creating script /usr/local/bin/lilypond-wrapper.guile<br>
                Creating script /usr/local/bin/uninstall-lilypond<br>
                Untarring /home/nick/Downloads/lilypond/<a
                  moz-do-not-send="true"
                  href="http://lilypond-2.18.0-1.linux-64.sh"
                  target="_blank">lilypond-2.18.0-1.linux-64.sh</a><br>
                No
                .//home/nick/Downloads/lilypond/lilypond-2.18.0-1.documentation.tar.bz2
  found, downloading.<br>
                --2013-12-31 21:33:33-- 
                <a moz-do-not-send="true"
href="http://lilypond.org/download/binaries/documentation//home/nick/Downloads/lilypond/lilypond-2.18.0-1.documentation.tar.bz2"
                
                  target="_blank">http://lilypond.org/download/binaries/documentation//home/nick/Downloads/lilypond/lilypond-2.18.0-1.documentation.tar.bz2</a></div>
  </blockquote>
            <div><br>
            </div>
            <div>This is weird.</div>
            <div>I've used --doc in the past (for stable versions only)
              and it always worked.</div>
            <div>Can you  try installing as normal user?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    The problem happens if you specify a path to the install sh. If I cd
    to the folder holding the file and just run<br>
    <br>
    sudo sh <a moz-do-not-send="true"
      href="http://lilypond-2.18.0-1.linux-64.sh" \
                target="_blank">lilypond-2.18.0-1.linux-64.sh</a>
    --doc<br>
    <br>
    then the doc tarball starts downloading ok. If I have <br>
    <br>
    sudo sh /path/to/<a moz-do-not-send="true"
      href="http://lilypond-2.18.0-1.linux-64.sh" \
                target="_blank">lilypond-2.18.0-1.linux-64.sh</a>
    --doc<br>
    <br>
    then the attempted download fails because /path/to gets appended to
    where the doc download is attempted from the internet.<br>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic