Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-08-15 Thread Reino Wijnsma
On 13-8-2018 15:02, qw wrote: > I use the command of 'pkg-config --static', which prints nothing. On 9-8-2018 2:09, Reino Wijnsma wrote: > 8) build fontconfig-2.13.0.tar.bz2 > export PKG_CONFIG="pkg-config --static" > ./configure --disable-shared --enable-static > make > unset PKG_CONFIG You'd ha

Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-08-13 Thread qw
Hi, >Andrew, how does your FreeType2 pkg-config file ('freetype2.pc') look like? >You're compiling Fontconfig. Fontconfig requires FreeType2, which in turn (in >your case) requires LibPNG and Harfbuzz. >To have Fontconfig also recognize Freetype2's requirements (LibPNG and >Harfbuzz) I believe

Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-08-08 Thread Reino Wijnsma
On 24-7-2018 08:02, qw wrote: > At 2018-07-23 22:43:44, "Roger Pack" wrote: >> Wonder if it should be >> or use another configure command : ./configure --disable-shared >> --enable-static LDFLAGS="-L/usr/local/lib" LIBS="-lfreetype -lharfbuzz >> -lpng" >> If that doesn't work maybe the circular d

Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-08-08 Thread Roger Pack
On Tue, Jul 24, 2018 at 12:02 AM, qw wrote: > Hi, > > >>Wonder if it should be >>or use another configure command : ./configure --disable-shared >>--enable-static LDFLAGS="-L/usr/local/lib" LIBS="-lfreetype -lharfbuzz >> -lpng" >> >>If that doesn't work maybe the circular dep. with harfbuzz and fr

Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-07-23 Thread qw
Hi, >Wonder if it should be >or use another configure command : ./configure --disable-shared >--enable-static LDFLAGS="-L/usr/local/lib" LIBS="-lfreetype -lharfbuzz > -lpng" > >If that doesn't work maybe the circular dep. with harfbuzz and free >type isn't trivial? It doesn't work. I combine lib

Re: [FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-07-23 Thread Roger Pack
Wonder if it should be or use another configure command : ./configure --disable-shared --enable-static LDFLAGS="-L/usr/local/lib" LIBS="-lfreetype -lharfbuzz -lpng" If that doesn't work maybe the circular dep. with harfbuzz and free type isn't trivial? On Tue, Jul 17, 2018 at 7:20 AM, qw wrote:

[FFmpeg-user] How to build static fontconfig with ffmpeg?

2018-07-17 Thread qw
Hi, My environment is Centos 7.4. I want to build static fontconfig and build ffmpeg with static fontconfig. I succeed in building static libpng/freetype2/harfbuzz/vidstab/fribidi/expat, but I fail to build static fontconfig. The following is my building steps: 1) build libpng-1.6.34.tar.gz