放置していたgimp依存パッケージに対応します。
・wmf
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/src/mingw64-libwmf-0.2.8.4-5.257.src.rpm
cd $LOCALBUILDDIR
tar xzf libwmf-0.2.8.4.tar.gz
cd libwmf-0.2.8.4
各種パッチ
https://github.com/drawoc/windows-gimp-jhbuild/tree/master/patches/libwmf
patch -p1 < libwmf-0.2.8.3-nodocs.patch
patch -p1 < libwmf-0.2.8.3-relocatablefonts.patch
patch -p1 < libwmf-0.2.8.4-deps.patch
patch -p1 < libwmf-0.2.8.4-fallbackfont.patch
patch -p1 < libwmf-0.2.8.4-intoverflow.patch
patch -p1 < libwmf-0.2.8.4-libpng-1.5.patch
patch -p1 < libwmf-0.2.8.4-multiarchdevel.patch
patch -p1 < libwmf-0.2.8.4-reducesymbols.patch
patch -p1 < libwmf-0.2.8.4-useafterfree.patch
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --enable-shared --disable-static --without-x
make
make install
・mng
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_12.3/src/mingw64-libmng-1.0.10-2.5.src.rpm
cd $LOCALBUILDDIR
tar -jxf libmng-1.0.10.tar.bz2
cd libmng-1.0.10
libmng-1.0.10-mingw.patch
libmng-1.0.9-dont-leak-zlib-streams.diff
patch -p1 < libmng-1.0.10-mingw.patch
patch -p0 < libmng-1.0.9-dont-leak-zlib-streams.diff
C:\MinGW\build64\libmng-1.0.10\makefiles
makefile.mingwdll
の下記箇所を変更
INSTALL_PREFIX = /local64
ZLIBLIB=-L/local64/lib -lz
JPEGLIB=-L/local64/lib -ljpeg
LCMSLIB=-L/local64/lib -llcms
LCMSINC=-I/local64/include
make -f makefiles/makefile.mingwdll
make -f makefiles/makefile.mingwdll INSTALL_PREFIX=/local64/ install
・poppler
cd $LOCALBUILDDIR
tar xzf poppler-0.22.2.tar.gz
cd poppler-0.22.2
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --enable-shared --disable-static --enable-xpdf-headers GLIB_MKENUMS=/local64/bin/glib-mkenums
C:\MinGW\build64\poppler-0.22.2\test
perf-test.cc
下記のように修正
void strcpy_s(char* dst, size_t dst_size, const char* src)
↓
errno_t strcpy_s(char* dst, size_t dst_size, const char* src)
make
make install
・参考:windows向けビルドのパッチたち
こんなのがありました。
https://github.com/drawoc/windows-gimp-jhbuild/tree/master/patches
=====
windowsでのpkg依存解決状況
WebKitをやりたいけどいろいろはまって進んでない。。
Extra Binaries:
gimp-console: yes
Optional Features:
D-Bus service: no
Language selection: yes
Optional Plug-Ins:
Ascii Art: no (AA library not found)
Compressor: yes
Ghostscript: no (Ghostscript library not found)
Help Browser: no (WebKit not found)
LCMS: yes
JPEG: yes
JPEG 2000: yes
MNG: yes
PDF (import): yes
PDF (export): yes
PNG: yes
Print: yes
PSP: yes
Python: yes
Script-Fu: yes
SVG: yes
TIFF: yes
TWAIN (MacOS X): no
TWAIN (Win32): yes
URI: yes (using libcurl)
Webpage: no (WebKit not found)
Windows ICO: yes
WMF: yes
XJT: no (not built on Windows)
X11 Mouse Cursor: no (libXcursor not found)
XPM: no (XPM library not found)
Plug-In Features:
EXIF support: yes
Optional Modules:
ALSA (MIDI Input): no (libasound not found or unusable)
Linux Input: no (linux input support disabled) (GUdev support: no)
DirectInput (Win32): no
Color Correction: yes
Soft Proof: yes
Tests:
Use xvfb-run no (not found)
0 件のコメント:
コメントを投稿