gedit windows
Tips:
to share a folder from linux:
net use x: \\vboxsvr\{folder name}
for the ssh key you have to copy your .ssh folder from linux to c:/Documents.../User/
---------------------------------------------------
After having the msys and vim installed, run it and inside it:
cd; vim .profile <- and in that file copy the next:
---
export PATH=$PATH:/c/Aspell/bin:/c/Python26:/c/Python26/bin:/c/Archivos\ de\ programa/Inno\ Setup\ 5:/c/gtk/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/lib/pkgconfig:/local/lib/pkgconfig:/c/Python26/Lib/pkgconfig:/c/gtk/lib/pkgconfig
export CPPFLAGS="-I/include -I/c/Python26/include -I/c/gtk/include"
export LDFLAGS="-L/lib -L/c/Python26/lib -L/c/gtk/lib"
export ACLOCAL_FLAGS="-I
/c/gtk/share/aclocal"
export am_cv_python_pyexecdir=/c/Python26/Lib/site-packages
export ac_cv_path_INTLTOOL_PERL=/c/Perl/bin/perl
export lt_cv_deplibs_check_method='pass_all'
---
1) Download and install 7zip
2) From msys.org:
Download msys, mingw
Install msys on c:/msys
Install mingw on c:/mingw
--------------------------------------------------
Download m4, autoconf, automake (the msys ones)
Unpack m4 on c:/msys (with latest version of msys I think this is not really neccessary)
Unpack autoconf on c:/msys
-------------------------------------------------
To edit some files is better if you download vim from this page and unpack it on msys as the previous ones.
-------------------------------------------------
We need the msys perl to make run the automake
also msys crypt is needed by this perl
--------------------------------------------------
Download libtool, is needed for gedit
3) Download gtk and unpack it in c:/gtk
To use the windows theme:
echo "gtk-theme-name = \"MS-Windows\"" >
/c/gtk/etc/gtk-2.0/gtkrc
4) Install active perl from
www.activestate.com on c:/Perl
5) Download git from
http://code.google.com/msysgit
6) Download gtk-doc: I downloaded the git one:
cp gtkdocize.in gtkdocize
Modify it and change:
@PACKAGE@ -> gtk-doc
@VERSION@ -> the version of the gtk-doc
@PREFIX@ -> /
@datadir@ -> /share
cp gtk-doc.m4
/share/aclocal
cp gtkdocize /bin
mkdir -p
/share/gtk-doc/data
cp gtk-doc.make
/share/gtk-doc/data
7) Download from git gnome-common
./autogen.sh --prefix=/usr; make && make install
8) Download from
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/ :
libxml2 (we need 2.6.x and 2.7.x) and unpack it
gettext-runtime/-dev and gettext-tools
9) Download and install python26 in c:/Python26 from
www.python.org/download
10) Download inttool from
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/
11) modify
/bin/intltoolize and change:
datarootdir={prefix}/share -> datarootdir=/share
12) modify
/bin/intltool-update and
/bin/intltool-merge
change #!/opt/perl/bin/perl -v to #!/c/Perl/bin/perl -v
13) GConf:
--------------------------------
gedit, gedit-plugins and gtksourceview are installed in
/usr/local
--------------------------------
14) download gtksourceview using git and then ./autogen.sh; make && make install
--------------------------------
15) download and unpack libsoup
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/libsoup
16) gedit with Spell support
17) python plugins
* install python 2.6 from
http://www.python.org/download/
- install pygtk, pycairo, pygobject y pygtksourceview from the ftp:
--------------------------------------------------------------------
Create the pygtksourceview installer
--------------------------------------------------------------------
- First of all you have to modify the files in the folder /c/Python26/share/pygtk/2.0/defs:
- gdk-types.def: remove gtk/
- gtk-types.def: remove gtk/
- Warning: This is due to an error in pygtk, maybe later versions fixes this
- Then download pygtksourceview and run:
- python setup.py build --compiler=mingw32 --yes-i-know-its-not-supported bdist_wininst
- this will generate the installer in the dist directory.