Re: [Tuxpaint-devel] Using libtextwrap in Tux Paint Config.
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Bill K. <nb...@so...> - 2021-11-16 22:12:55
|
On Tue, Nov 16, 2021 at 08:51:10AM -0500, Mark K. Kim wrote: > Hi Bill, > > On Mon, Nov 15, 2021 at 03:05:42PM -0800, Bill Kendrick wrote: > > Mark, can you confirm that this library will build fine for you > > on macOS? > > The library was built from https://github.com/adah1972/libunibreak without > any trouble using autogen.sh. Great! > Compiling your test code, linebreak-test.c, though, required some extra > flags. Most of the flags are supplied by pkg-config, so using pkg-config > in Makefile if we use this library in Tux Paint would be preferable to > directly passing `-l unibreak`. Ah whoops, I forgot to try that! (I _did_ try with libtextwrap, but there was nothing available via pkg-config) > `-l libiconv` also needed to be passed > manually but I think we already do this in Tux Paint Makefile. The > resulting output is below. Thanks. I'd be curious to know about any warnings you get while compiling Tux Paint from source. We cleaned up a lot of the codebase to avoid 'meaningless' warnings (like all of the unused func. arguments in a lot of Magic tools), and of course try to fix up the meaningful ones. I'll go add the pkg-config stuff to Makefile right now :) -bill! |