On 2015-03-10 10:56, jollie wrote:
On Mon, 09 Mar 2015 13:48:54 -0500, captaindet wrote:

thanks for the info. however, i am not familiar with this project. to be 
honest, it is not quite clear to me what MSYS2 is good for or who would need 
it. the dox are very slim. so before i dig too deep into what looks like a lot 
of trouble/work, may i ask you this:

after original&  package installation&  setup&  whatnot, will i end up with a 
dedicated gtk3 folder somewhere that acts as a (self-sufficient) runtime environment - 
i.e., will i be able to just zip this folder, distribute it to colleagues, unzip it and set 
the windows path to include the gtk/bin and then gkt 3.14+ can be used on this computer?

if not, MSYS2 would be of no use to me.



click Files tab you will see Base and REPOS.
click Base and you will see X86_64 and i686.

which version of msys2 do you want/need?
if you need 64bit select x86_64
if you need 32bit select i686

There is an installer you can use, I opt to use
the tar.xz file and unpack it in the root dir
to avoid spaces in dir/filenames.

Run the Drive:\{msys32,msys64}\msys2_shell.bat file.
It will initialize some things then you close window
when done.

Run the Drive:\{msys32,msys64}\msys2_shell.bat file
again use pacman package manager to install packages.

type the following pacman command to download gtk3
and its dependencies.

$ pacman -S mingw-w64-i686-gtk3
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mingw-w64-i686-harfbuzz will be installed before its 
mingw-w64-i686-freetype dependency
warning: dependency cycle detected:
warning: mingw-w64-i686-cairo will be installed before its 
mingw-w64-i686-freetype dependency
warning: dependency cycle detected:
warning: mingw-w64-i686-fontconfig will be installed before its 
mingw-w64-i686-freetype dependency

Packages (42) db-5.3.28-2  gdbm-1.11-3  libdb-5.3.28-2  libgdbm-1.11-3
               mingw-w64-i686-atk-2.15.4-1  mingw-w64-i686-bzip2-1.0.6-3
               mingw-w64-i686-cairo-1.14.0-3  mingw-w64-i686-expat-2.1.0-4
               mingw-w64-i686-freetype-2.5.5-3  mingw-w64-i686-gcc-libs-4.9.2-4
               mingw-w64-i686-gettext-0.19.4-2  mingw-w64-i686-glib2-2.42.2-2
               mingw-w64-i686-gmp-6.0.0-2  mingw-w64-i686-gnome-common-3.14.0-1
               mingw-w64-i686-jasper-1.900.1-3  mingw-w64-i686-jbigkit-2.1-1
               mingw-w64-i686-json-glib-1.0.2-2  mingw-w64-i686-libcroco-0.6.8-2
               mingw-w64-i686-libffi-3.2.1-2  mingw-w64-i686-libiconv-1.14-3
               mingw-w64-i686-libpng-1.6.16-1  mingw-w64-i686-librsvg-2.40.6-1
               mingw-w64-i686-libxml2-2.9.2-5  mingw-w64-i686-lzo2-2.09-1
               mingw-w64-i686-pango-1.36.8-2  mingw-w64-i686-pixman-0.32.6-2
               mingw-w64-i686-shared-mime-info-1.4-1  mingw-w64-i686-xz-5.2.1-1
               mingw-w64-i686-zlib-1.2.8-6  perl-5.20.2-1
               perl-XML-Parser-2.43-1  perl-XML-Simple-2.20-2

Total Installed Size:  229.98 MiB

:: Proceed with installation? [Y/n]

Type Y and pacman will download and install gtk3
in the Drive:\{msys32,msys64}\{mingw32,mingw64}

Pack the appropriate mingw{32,64} folder and you
have a gtk3 runtime. (this will include c library
and include files, I will leave it to you to
separate the wheat from the chaff).

Alternatively, I just set my path to include
then use pacman to update my files.

thanks a lot, jollie, for the detailed description. i tried as advised, the 
shell output was a bit different than in your example, i guess because i 
installed the 32 bit version and your example was probably for 64bit.

the problem though is that my GTK application lost most icons and there are 
tons of warning/critical messages (repeating every time i move the mouse):

Gtk-WARNING **: Error loading theme icon 'help-contents' for stock: Icon 
'help-contents' not present in theme

Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 
'image-missing' not present in theme

GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF 
(pixbuf)' failed

GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' 

any idea how to fix this?



Reply via email to