[xiphos-devel] back from the dead
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:
> 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
> cmake -DGTKHTML:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
> make && sudo make install
> On Wed, Apr 15, 2020 at 10:35 PM Karl Kleinpaste <karl at kleinpaste.org>
>> 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
> xiphos-devel mailing list
> xiphos-devel at crosswire.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xiphos-devel