On 2014-05-13 09:38-0700 Alan W. Irwin wrote:

> I am now going to try the official all-in-on bundle of GTK+ accessible
> at http://www.gtk.org/download/win32.php under Wine with the PLplot
> svn trunk version and with -DDROP_GTK_PLUS_2_BUILDS=ON to see how far
> I get.

Hi Walt:

Here are some notes for this process as I go along.

I unpacked the bundle in a non-system location
(/z/home/wine/gtkplus/3.6.4), and then
finished the install using the directions in
gtk+-bundle_3.6.4-20130921_win32.README.txt.  Those instructions
translated (under MSYS and with the above install location) to the
following:

# Follow directions in gtk+-bundle_3.6.4-20130921_win32.README.txt but
# with MSYS PATHs for GTK+ put last so that you use pkg-config version
# from epa_build, for example.

bash.exe-3.1$ PATH=$PATH:/z/home/wine/gtkplus/3.6.4/bin
bash.exe-3.1$ 
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/z/home/wine/gtkplus/3.6.4/lib/pkgconfig
bash.exe-3.1$ pkg-config --cflags gtk+-3.0
-mms-bitfields -Iz:/home/wine/gtkplus/3.6.4/include/gtk-3.0 
-Iz:/home/wine/gtkplus/3.6.4/include/cairo -Iz:/home/wine/gtkplus/3.6.4/include/
pango-1.0 -Iz:/home/wine/gtkplus/3.6.4/include/atk-1.0 
-Iz:/home/wine/gtkplus/3.6.4/include/cairo 
-Iz:/home/wine/gtkplus/3.6.4/include/pixma
n-1 -Iz:/home/wine/gtkplus/3.6.4/include 
-Iz:/home/wine/gtkplus/3.6.4/include/freetype2 
-Iz:/home/wine/gtkplus/3.6.4/include -Iz:/home/wine/
gtkplus/3.6.4/include/libpng15 
-Iz:/home/wine/gtkplus/3.6.4/include/gdk-pixbuf-2.0 
-Iz:/home/wine/gtkplus/3.6.4/include/libpng15 -Iz:/home/w
ine/gtkplus/3.6.4/include/glib-2.0 
-Iz:/home/wine/gtkplus/3.6.4/lib/glib-2.0/include
bash.exe-3.1$ pango-querymodules > 
/z/home/wine/gtkplus/3.6.4/etc/pango/pango.modules
bash.exe-3.1$ gdk-pixbuf-query-loaders > 
/z/home/wine/gtkplus/3.6.4/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
bash.exe-3.1$ gtk-query-immodules-3.0 > 
/z/home/wine/gtkplus/3.6.4/lib/gtk-3.0/3.0.0/immodules.cache

Following those directions, I then tested the result:

bash.exe-3.1$ gtk3-demo

I didn't check everything, but what I did check, e.g., the colour chooser, 
worked
fine.

Note the above is for my preferred MSYS bash.exe working environment,
and the form of the PATHs change (see
gtk+-bundle_3.6.4-20130921_win32.README.txt for that case) for the
more typical case where you are using raw Windows without MSYS. Also,
the above notes are for the case where I am already using the
epa_build version of pkg-config with PKG_CONFIG_PATH already setup to
work properly for the non-GTK+ case.  For the more likely scenario
where you just use pkg-config.exe from the gtk+ bundle, and you have
no other component of PLplot that you are configuring with pkg-config,
then you should simply drop setting PKG_CONFIG_PATH.

Note, I have never gotten a downloaded binary version of GTK+ to work
properly with PLplot on MinGW/Wine because of ABI incompatibility
issues (my fairly recent version of MinGW was always ABI inconsistent
with the typically extremely old version of MinGW used to build GTK+),
but maybe I will finally get lucky this time.  Anyhow, so far so good,
and more later as this experiment on Wine unfolds.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to