groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Musescore-Lilypond-groff


From: Grégoire Babey
Subject: Re: [Groff] Musescore-Lilypond-groff
Date: Tue, 12 May 2015 23:24:55 +0200

Le samedi 21 mars 2015 à 00:24 +0100, Werner LEMBERG a écrit :

> It's a patch that converts your version of glilypond to something that
> works.

Thanks a lot Werner, 
I have zero experience in patching files.
I try to learn about that in the web.

Now I took this code: 

diff --git a/contrib/glilypond/ChangeLog b/contrib/glilypond/ChangeLog
index 7cf6476..e124b3d 100644
--- a/contrib/glilypond/ChangeLog
+++ b/contrib/glilypond/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-20  Werner LEMBERG  <address@hidden>
+
+       * glilypond.pl <read files or stdin>: Fix typo.
+
+       Problem reported by Grégoire Babey <address@hidden>.
+
 2014-09-03  Bernd Warken  <address@hidden>
 
        * glilypond.pl: New version 1.3.1
diff --git a/contrib/glilypond/glilypond.pl
b/contrib/glilypond/glilypond.pl
index 6f8dd83..48101be 100755
--- a/contrib/glilypond/glilypond.pl
+++ b/contrib/glilypond/glilypond.pl
@@ -546,7 +546,7 @@ our $Read =
        $ly = new FH_FILE($path_ly);
 
        my $include = new FH_READ_FILE($file);
-       my $res = $include->read-all(); # is a refernce to an array
+       my $res = $include->read_all(); # is a reference to an array
        foreach ( @$res ) {
         chomp;
         $ly->print($_);

I made it to a file named "patch1glilypond" and apply the command:

patch -p1 < /home/gregexp/Bureau/patch1glilypond

I get just en error message: 

can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/contrib/glilypond/ChangeLog b/contrib/glilypond/ChangeLog
|index 7cf6476..e124b3d 100644
|--- a/contrib/glilypond/ChangeLog
|+++ b/contrib/glilypond/ChangeLog
--------------------------
File to patch:


I surely do something wrong.
Thanks for your help

Gregoire








reply via email to

[Prev in Thread] Current Thread [Next in Thread]