a8991c938f | ||
---|---|---|
cd | ||
fftw | ||
freetype | ||
ftgl | ||
im | ||
iup | ||
lua-5.4.4 | ||
pdflib7 | ||
README.md | ||
lsb_release |
README.md
IUP-stack
Стек библиотеки IUP
Download
wget https://sourceforge.net/projects/imtoolkit/files/3.15/Docs%20and%20Sources/im-3.15_Sources.tar.gz
wget https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/ftgl-2.1.5_Sources.tar.gz
wget https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/freetype-2.10.2_Sources.tar.gz
wget https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/pdflib_lite-7.0.5_Sources.tar.gz
wget https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/cd-5.14_Sources.tar.gz
wget https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/iup-3.30_Sources.tar.gz
wget https://www.lua.org/ftp/lua-5.4.4.tar.gz
Сборка
Экспорт переменных, где /root/iup/
путь к репозиторию, а Linux62_64
релиз ядра (возможен другой путь после компиляции):
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=54
export USE_LUA54=Yes
export LUA_LIB=/root/iup/lua-5.4.4/src
export LUA_INC=/root/iup/lua-5.4.4/src
export IM_LIB=/root/iup/im/lib/Linux62_64
export IM_INC=/root/iup/im/include
export FTGL_LIB=/root/iup/ftgl/lib/Linux62_64
export FTGL_INC=/root/iup/ftgl/include
export PDFLIB_LIB=/root/iup/pdflib7/lib/Linux62_64
export PDFLIB_INC=/root/iup/pdflib7/include
export CD_LIB=/root/iup/cd/lib/Linux62_64
export CD_INC=/root/iup/cd/include
Установить при необходимости (возможны ошибки для старых webkit
):
export USE_GTK3=Yes
lua
cd lua-5.4.4
make linux
pdflib7
cd pdflib7
make
ftgl
cd ftgl
make
fftw
Библиотеку необходимо собрать 2 раза - для одинарной точности и двойной точности (--enable-sse
, --enable-float
)
cd fftw
./configure --enable-shared --enable-sse --prefix=/usr
make -j16
make install
make clean
./configure --enable-shared --enable-float --prefix=/usr
make -j16
make install
im
cd im
make
cd
cd cd
make
iup
Применить патч для ядра Linux v6:
cd iup
git apply without-lua-prefix-with-linux6.patch
make