Jump to content

Windows/Build/additional libraries: Difference between revisions

From KDE Community Wiki
New page: there are some libraries which are not included but which are still usefull for some kde sub projects. Since there are no packages yet, you can find the build instructions for some of them...
 
Ochurlaud (talk | contribs)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:


seems to be building out of the box, but in fact 0.21 and 0.22 do not.
seems to be building out of the box, but in fact 0.21 and 0.22 do not.
 
you need glib and glib-devel to make it compiling though.
poppler 0.6:
poppler 0.6:
be sure that you have installed fontconfig and freetype2 2.3.5 which can be obtained somewhere in the net.
be sure that you have installed fontconfig and freetype2 2.3.5 which can be obtained somewhere in the net.
Line 42: Line 42:
mingw32-make install
mingw32-make install
</pre>
</pre>
if you need some packages, try this site:
[http://www.gimp.org/~tml/gimp/win32/downloads.html]

Latest revision as of 14:58, 18 March 2016

there are some libraries which are not included but which are still usefull for some kde sub projects. Since there are no packages yet, you can find the build instructions for some of them below.


pkg-config 0.20:

seems to be building out of the box, but in fact 0.21 and 0.22 do not. you need glib and glib-devel to make it compiling though. poppler 0.6: be sure that you have installed fontconfig and freetype2 2.3.5 which can be obtained somewhere in the net.

get pkg-config, at least the above version.

set up the following vars in a msys shellscript:

#!/bin/sh
mykdedir=/d/kde
export mykdedir

PKG_CONFIG_PATH=/lib/pkgconfig;
export PKG_CONFIG_PATH;

FONTCONFIG_CFLAGS=-I/include;
FONTCONFIG_LIBS=-L/lib\ -lfontconfig

FREETYPE_CFLAGS=-I/include/freetype2\ -I/include
FREETYPE_LIBS=-L/lib\ -L/bin\ -lfreetype\ -lfreetype6

POPPLER_QT4_CFLAGS="-I$mykdedir/include"
POPPLER_QT4_LIBS="-L$mykdedir/lib\ -L$mykdedir/bin\ -lQt3Support4\ -lQtAssistantClient4\ -lQtCore4\ -lQtDBus4\ -lQtGui4\ -lQtNetwork4\ -lQtOpenGL4\ -lQtScript4\ -lQtSql4\ -lQtSvg4\ -lQtTest4\ -lQtXml4"
CXXFLAGS="-I/include -I/include/freetype2"
LIBS="$FREETYPE_LIBS"
export FONTCONFIG_CFLAGS
export FONTCONFIG_LIBS
export POPPLER_QT4_CFLAGS
export POPPLER_QT4_LIBS
export CXXFLAGS;
export LIBS;
./configure --disable-abiword-output --disable-cairo-output --disable-poppler-glib --disable-gtk-test --prefix="$mykdedir"
mingw32-make
mingw32-make install

if you need some packages, try this site: [1]