Re: [Tuxpaint-devel] SDL2 for the next release for windows?
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2022-05-20 06:26:27
|
On Thu, May 19, 2022 at 09:52:02PM +0900, Shin-ichi TOYAMA wrote: > On Thu, 19 May 2022 01:59:17 -0700, Bill Kendrick wrote: > >One problem for me is that I can't get SDL2_Pango working. > <snip> > I confirmed my SDL2_Pango.spec which I used to create rpm package for SDL_Pango. > I think it was tweaked based on the spec file for SDL_Pango. > > Seeing the spec file, I could build SDL2_Pango on my ubuntu on VMware as follows. > > $ tar zxvf SDL2_Pango-0.1.2.tar.gz > $ cd SDL2_Pango-0.1.2/ > $ autoreconf -i > $ libtoolize --copy --force > $ automake --add-missing > $ ./configure --disable-static > $ make > > good luck!! I was able to build it, and Tux Paint's Makefile found it! (I had to run "sudo ldconfig", which my brain dug up from the depths.) kendrick@gambit:~/tuxpaint/tuxpaint$ ldd `which tuxpaint` | grep -i pango libSDL2_Pango.so.1 => /usr/local/lib/libSDL2_Pango.so.1 (0x00007f22b54ae000) libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f22b3c1b000) libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f22b3bcc000) libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f22b3660000) (Before running "ldconfig", the above showed a "not found" error for "libSDL2_Pango.so.1 => ...", and "tuxpaint" wouldn't run due to a missing library.) Thanks! (And thanks to Mark, too; though I didn't use your solution.) -- -bill! Sent from my computer |