Re: win32 dia with python

2006-09-20 Thread Mike Dewhirst
Steffen Macke wrote:
> Mike,
> 
>> Further to 2.2.3, is there a reason you have stayed with that version of
>> Python?
> 
> I just looked at Hans' makefile. It seems to reference Python 2.2. For the 
> time
> being I sticked to it. It would be good to get some feedback which Python
> version is the preferred one (Or should we package for different
> Python versions?)
> I just saw that Python 2.5 is released.
> 
> The new DLL (still Python 2.2 but linked against Dia 0.95-1) is available:

Thanks again Steffen

I'll ask around tomorrow and see what the gurus say about Python 
versions. Bedtime now.

Regards

mike

> 
> http://prdownloads.sourceforge.net/dia-installer/dia-python-0.95.1-1.tar.bz2?download
> 
> Sorry for the .tar.bz2 file. Upload of .zip file didn't work for some
> reason. You can use
> e.g. 7-Zip to extract the files.
> 
> Regards,
> 
> Steffen
> ___
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
> 
> 
> 

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Problems compiling DIA on solaris 9 sparc

2006-09-20 Thread chuseq
Hello all, I hope someone can help me.

I have a sunfire with solaris9 with gcc 3.4.2, gmake 3,80, gtk+ 2.2.4,
glib 2.6.2 , atk, pango, pkconfig, libxml, fontconfig, freetype,
libpng, etc, all installed from packages from sunfreeware. I also
compiled intltool as it said in the requirements for DIA. I set
the variable LD_LIBRARY_PATH to include /usr/local/lib.

I am trying to compile dia 0.9.4 and the configure says:
=
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK+ is incorrectly
installed.
=
and it ends without error. The make fails with a lot of errors.

I guessed that the configure is not detecting glib. So I looked at the
config.log file and it said that "glibconfig.h" was not found.

Previous versions of glib put it in /usr/local/lib/glib/include but now
it is not there. So I got the glib2.6.2 sources and copied the
glibconfig.h to /usr/local/lib/glib-2.0/include, and tried again. I
don't know if that was correct but i was guessing.

Now the errors were like:
=
configure:20534: checking for GLIB - version >= 2.0.0
configure:20653: gcc -o conftest -g -O2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include conftest.c -L/usr/local/lib
-lglib-2.0 -liconv>&5
In file included from
/usr/local/include/glib-2.0/glib/gasyncqueue.h:30,
 from /usr/local/include/glib-2.0/glib.h:32,
 from conftest.c:36:
/usr/local/include/glib-2.0/glib/gthread.h: In function `__declspec':
/usr/local/include/glib-2.0/glib/gthread.h:112: error: storage class
specified for parameter `__declspec'
/usr/local/include/glib-2.0/glib/gthread.h:112: warning: parameter
names (without types) in function declaration
/usr/local/include/glib-2.0/glib/gthread.h:112: error: parse error
before "gboolean"
/usr/local/include/glib-2.0/glib/gthread.h:111: error: declaration for
parameter "g_thread_functions_for_glib_use" but no such parameter
=
etc.etc.

I also tried setting PKG_CONFIG_PATH, GTK_FLAGS, GTK_LIBS but no luck.

What am I doing wrong? what am I missing? Is this a glib problem, or a
configure problem? Any help will be appreciated.

Thanks

A.H.

PS. Some time ago I successfully compiled DIA, same version, but in
Solaris 8, with gcc, gtk, etc packages from sunfreeware.
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Bugs in Dia's MetaPost Plug-In

2006-09-20 Thread Michael Duelli
Hi,

I really tried hard to find contradictions to moving the 4 lines in
box.c, but could not find any.

So here is a tiny patch, I would be glad to see committed.

Ciao,
Michi


box4metapost.patch
Description: Binary data
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia