2013年9月3日 星期二

Static build in VC9 GtK+-2.90.0 / GtK+-2.21.1

Refer to http://xullicious.com/gtk-win32.php

1.Need Gnuwin32 by fatalfeel
http://www.pudn.com/downloads264/sourcecode/windows/control/detail1213704.html

2.fatalfeel's all GTK package
http://www.pudn.com/downloads264/sourcecode/windows/control/detail1212874.html

Preinstall:
1.ActivePerl's http://www.activestate.com/activeperl

2.Gnuwin32 by fatalfeel copy to C:\Program Files\GnuWin32\include
source from http://sourceforge.net/projects/gnuwin32/files/

3.Setting to tools option vc++ Directories

fatalfeel's all GTK package:

1.atk-1.30.0

2.cairo-1.8.10

3.expat-2.0.1

4.fontconfig-2.8.0

5.freetype-2.3.12

6.gettext-0.14.4 -> install gettext-0.14.4.exe

7.libiconv-1.9.2-1 -> install libiconv-1.9.2-1.exe

8.libpng-1.2.37 -> install libpng-1.2.37-setup.exe

9.pango-1.28.0

10.pixman-0.18.2

11.zlib-1.2.3 -> install zlib-1.2.3.exe

12.glib-2.24.0

13.gtk+-2.21.1(gtk+-2.90.0 ok too)


1.fontconfig-2.8.0:
Modify fc-arch.c, command arguments:
x86
after execute then press three @@@ and enter
then generate fcarch.h copy to fontconfig-2.8.0\fc-arch

Modify fc-lang.c, command arguments:
aa.orth ab.orth af.orth am.orth ar.orth as.orth ast.orth av.orth ay.orth az_az.orth az_ir.orth ba.orth bm.orth be.orth bg.orth bh.orth bho.orth bi.orth bin.orth bn.orth bo.orth br.orth bs.orth bua.orth ca.orth ce.orth ch.orth chm.orth chr.orth co.orth cs.orth cu.orth cv.orth cy.orth da.orth de.orth dz.orth el.orth en.orth eo.orth es.orth et.orth eu.orth fa.orth fi.orth fj.orth fo.orth fr.orth ff.orth fur.orth fy.orth ga.orth gd.orth gez.orth gl.orth gn.orth gu.orth gv.orth ha.orth haw.orth he.orth hi.orth ho.orth hr.orth hu.orth hy.orth ia.orth ig.orth id.orth ie.orth ik.orth io.orth is.orth it.orth iu.orth ja.orth ka.orth kaa.orth ki.orth kk.orth kl.orth km.orth kn.orth ko.orth kok.orth ks.orth ku_am.orth ku_ir.orth kum.orth kv.orth kw.orth ky.orth la.orth lb.orth lez.orth ln.orth lo.orth lt.orth lv.orth mg.orth mh.orth mi.orth mk.orth ml.orth mn_cn.orth mo.orth mr.orth mt.orth my.orth nb.orth nds.orth ne.orth nl.orth nn.orth no.orth nr.orth nso.orth ny.orth oc.orth om.orth or.orth os.orth pa.orth pl.orth ps_af.orth ps_pk.orth pt.orth rm.orth ro.orth ru.orth sa.orth sah.orth sco.orth se.orth sel.orth sh.orth shs.orth si.orth sk.orth sl.orth sm.orth sma.orth smj.orth smn.orth sms.orth so.orth sq.orth sr.orth ss.orth st.orth sv.orth sw.orth syr.orth ta.orth te.orth tg.orth th.orth ti_er.orth ti_et.orth tig.orth tk.orth tl.orth tn.orth to.orth tr.orth ts.orth tt.orth tw.orth tyv.orth ug.orth uk.orth ur.orth uz.orth ve.orth vi.orth vo.orth vot.orth wa.orth wen.orth wo.orth xh.orth yap.orth yi.orth yo.orth zh_cn.orth zh_hk.orth zh_mo.orth zh_sg.orth zh_tw.orth zu.orth ak.orth an.orth ber_dz.orth ber_ma.orth byn.orth crh.orth csb.orth dv.orth ee.orth fat.orth fil.orth hne.orth hsb.orth ht.orth hz.orth ii.orth jv.orth kab.orth kj.orth kr.orth ku_iq.orth ku_tr.orth kwm.orth lg.orth li.orth mai.orth mn_mn.orth ms.orth na.orth ng.orth nv.orth ota.orth pa_pk.orth pap_an.orth pap_aw.orth qu.orth rn.orth rw.orth sc.orth sd.orth sg.orth sid.orth sn.orth su.orth ty.orth wal.orth za.orth lah.orth
after execute then press three @@@ and enter
will generate fclang.h copy to fontconfig-2.8.0\fc-lang

2.pango-1.28.0
modify basic-win32.c, add
#define PANGO_MODULE_PREFIX _pango_basic_win32 before #include "pango-engine.h"

modify module-defs-win32.c to
#ifdef __GNUC__
#include "module-defs.h"
PangoIncludedModule _pango_included_win32_modules[] = {
{ NULL, NULL, NULL, NULL },
};
#else
#include "modules.h"
#define PANGO_MODULE_PREFIX _pango_basic_win32
#ifdef PANGO_MODULE_PREFIX void _pango_basic_win32_script_engine_list (PangoEngineInfo **engines, gint *n_engines);
void _pango_basic_win32_script_engine_init (GTypeModule *module);
void _pango_basic_win32_script_engine_exit (void);
PangoEngine *_pango_basic_win32_script_engine_create (const char *id);
#endif
PangoIncludedModule _pango_included_win32_modules[] = {
#ifdef PANGO_MODULE_PREFIX
{
_pango_basic_win32_script_engine_list,
_pango_basic_win32_script_engine_init,
_pango_basic_win32_script_engine_exit,
_pango_basic_win32_script_engine_create
},
#endif
{ NULL, NULL, NULL },
};
#endif

3.gtk+-2.21.1
go to dos command mode:
perl makegdkpixbufalias.pl -def < gdk-pixbuf.symbols > gdk-pixbuf-aliasdef.c
copy to gtk+-cvs\gdk-pixbuf

1 則留言:

  1. try this new framebuffer tool kit
    https://fatalfeel.blogspot.com/2013/12/awtk-framebuffer-gui.html

    回覆刪除