[xiphos-devel] back from the dead

Caleb Maclennan caleb at alerque.com
Thu Apr 16 03:27:08 MST 2020


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:

cmake -S . -B build \
make -C build
make -C build DESTDIR="$pkgdir" install

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:



On Thu, Apr 16, 2020 at 6:42 AM Greg Hellings <greg.hellings at gmail.com>

> Here's the magic source of Fedora building:
> https://src.fedoraproject.org/rpms/xiphos/tree/master
> Specifically we have 4.1.0 tarball
> Plus the cmake.patch which is a massive commit corresponding to "git diff
> 4.1.0..fccfbdc" and pulls in the CMake build and gets rid of the waf
> Plus my NASB patch
> CMake incantation is:
> mkdir build && cd build
> export CFLAGS=-fPIC
> export CXXFLAGS=-fPIC
> make && sudo make install
> --Greg
> On Wed, Apr 15, 2020 at 10:35 PM Karl Kleinpaste <karl at kleinpaste.org>
> wrote:
>> On 4/15/20 11:18 PM, Greg Hellings wrote:
>> it's gonna require some amount of ugly hackery to get that editor
>> working, now.
>> So my first attempts at cmake-driven build have failed because the attempt
>> to build the editor chokes.
>> What's the magic you're using for Fedora et al builds, to avoid including
>> the editor at all for the time being?
>> _______________________________________________
>> xiphos-devel mailing list
>> xiphos-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/xiphos-devel
> _______________________________________________
> xiphos-devel mailing list
> xiphos-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/xiphos-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/xiphos-devel/attachments/20200416/3999ef95/attachment.html>

More information about the xiphos-devel mailing list