<div dir="ltr">HI,<div>since cmake actually depends on pkg-config for this one, I guess you should be able to set the PKG_CONFIG_PATH environment variable (using export) to point to the directory where the libgit2.pc file is located. </div>

<div>After that, do (at the top level directory of the sources):</div><div><br></div><div>mkdir build</div><div>cd build</div><div>cmake ..</div><div>make</div><div>sudo make install</div><div><br></div><div>Matias</div>
<div>
<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 11:02 PM, Steven Blatnick <span dir="ltr"><<a href="mailto:steve8track@yahoo.com" target="_blank">steve8track@yahoo.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I'd love to try this out, but I don't know much about cmake, or
    building for that matter.<br>
    <br>
    I've installed libgit2 to /opt/ since I didn't see libgit2 in my
    repos.  How do I get cmake to see it?  It complains that I don't
    have it installed.<br>
    <br>
    Thanks!<br>
    <br>
    Steve<div><div class="h5"><br>
    <br>
    <div>On 10/15/2013 12:01 PM, v01d wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi,
        <div>I've pushed my code on github so others can use it and try
          it out. I'm using it constantly and it feels really stable.</div>
        <div><a href="https://github.com/v01d/geany-livediff" target="_blank">https://github.com/v01d/geany-livediff</a><br>
        </div>
        <div><br>
        </div>
        <div>The plugin shows changed/modifed/added colored markers on
          the margin of geany's editor windows. It currently works
          against the last saved version on disk of a regular file and
          also against files versioned in a git repository (using
          libgit). When a document is a regular file, the "old version"
          reference is reset whenever the file is reloaded (either
          manually or by geany). In the case of git versioned files, the
          diff is performed between the editor contents and the last
          revision of this file on the current branch. If the head
          reference changes (either by commiting or changing a branch),
          the plugin recognizes this and updates the markers accordingly
          (it uses a timer for this).</div>
        <div><br>
        </div>
        <div>The markers themselves are not pretty so if anyone wants to
          improve that it would be great.</div>
        <div><br>
        </div>
        <div>Matias</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Devel mailing list
<a href="mailto:Devel@lists.geany.org" target="_blank">Devel@lists.geany.org</a>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>