<div dir="ltr">Greg,<br><br><div>On Arch Linux we are still building 4.1.0 using the waf build system, but on our VCS package that builds from git head the cmake build system is working perfectly as is. From the git clone directory, our cmake incantation looks like this:</div><br><span style="font-family:monospace">cmake -S . -B build \<br>                -DCMAKE_BUILD_TYPE=Release \<br>            -DCMAKE_INSTALL_PREFIX=/usr \<br>            -DGTKHTML=ON<br>        make -C build<br>        make -C build DESTDIR=&quot;$pkgdir&quot; install</span><br><br>Given the right system deps, this works great and is pretty generic cmake usage. Note the package build environment already hase CFlags/CXXFlags/etc. set properly so they are not part of the build recipie. The full package script is here if you are interested in the dependencies:<br><br><a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=xiphos-git">https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=xiphos-git</a><br><br>Caleb<br><br><br><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 16, 2020 at 6:42 AM Greg Hellings &lt;<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Here&#39;s the magic source of Fedora building: <a href="https://src.fedoraproject.org/rpms/xiphos/tree/master" target="_blank">https://src.fedoraproject.org/rpms/xiphos/tree/master</a></div><div><br></div><div>Specifically we have 4.1.0 tarball</div><div>Plus the cmake.patch which is a massive commit corresponding to &quot;git diff 4.1.0..fccfbdc&quot; and pulls in the CMake build and gets rid of the waf</div><div>Plus my NASB patch</div><div><br></div><div>CMake incantation is:</div><div>mkdir build &amp;&amp; cd build<br></div><div>export CFLAGS=-fPIC</div><div>export CXXFLAGS=-fPIC</div><div>cmake -DGTKHTML:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..</div><div>make &amp;&amp; sudo make install<br></div><div><br></div><div>--Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 15, 2020 at 10:35 PM Karl Kleinpaste &lt;<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 4/15/20 11:18 PM, Greg Hellings
      wrote:<br>
    </div>
    <blockquote type="cite">it&#39;s
      gonna require some amount of ugly hackery to get that editor
      working, now.</blockquote>
    <font face="FreeSerif">So my first attempts at cmake-driven build
      have failed because the </font>attempt to build the editor
    chokes.<br>
    What&#39;s the magic you&#39;re using for Fedora et al builds, to avoid
    including the editor at all for the time being?<br>
  </div>

_______________________________________________<br>
xiphos-devel mailing list<br>
<a href="mailto:xiphos-devel@crosswire.org" target="_blank">xiphos-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/xiphos-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/xiphos-devel</a><br>
</blockquote></div>
_______________________________________________<br>
xiphos-devel mailing list<br>
<a href="mailto:xiphos-devel@crosswire.org" target="_blank">xiphos-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/xiphos-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/xiphos-devel</a><br>
</blockquote></div>