Re: Mac OS/X

2003-01-12 Thread Hubert Figuiere
According to Alan Horkan <[EMAIL PROTECTED]>:
> 
> I think you can get Dia using Fink.  It is definately avialable in a
> version that requires an X server.

You CAN install it using fink. That is what I did. This is the GTK
version running over X11 and it works like it works. I think that with
the recent release of Apple's X11, then it should be better (speed was
one of the issues). I haven't checked that yet as my MacOS X machine
is dead.

Oh, and to remove any more confusion, it is not because MacOS X is
BSDish that everything will compile on it. BSD API does not define
anything concerning GUI. Fortunately with X11 being available (several
sources), most GUI app can be easily build.


Hub
-- 
Unemployed AbiWord maintainer - Lille, France
http://www.figuiere.net/hub/ - Cell phone: +33 6 18 01 42 11
GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433  239A 5FEE 05E6 A56E 15A3
___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia




Re: Extension of UML/UML - Class possible?

2003-01-12 Thread Erik Wasser
On Sunday 05 January 2003 10:28, Lars Clausen wrote:

> It is already done!  I'm not sure if it made it into the 0.90
> release, but it's certainly there in CVS.  I don't think it's
> displayed in the diagram, though, it's just stored with the UML
> properties.

Nope, it's not in the version 0.90, I just checked it. When will be the 
next release of the CVS version?

-- 
So long... Fuzz

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia




feedback on 'dia win32 compilation' instructions

2003-01-12 Thread Mike Garnsey
Steffen,

I was finally able to test out your 'dia win32
compilation' 
instructions, and have attached my step-by-step notes
on the 
experience.  By and large, everything went fairly
smoothly.  Thanks again for your efforts!
  
biggest thing I tripped over was figuring out the need
to add 
'art_config.h' into the .\glib\build\win32\make.msc 

On the run-time side, I had to rename the libintl.dll
file 'libintl-1.dll', and had to copy iconv.dll as
libiconv.dll (somehow, both are needed!)

Only problem with the executable is the lack of any
sheets.
(FWIW, File->Plugins shows that all plug-ins are
loaded)
Any ideas how to fix this?

thx, Mike


--- Steffen Macke <[EMAIL PROTECTED]> wrote:
> Hello All,
> 
> with some help from Hans, I was able to compile dia
> for Win32.
> 
> http://dia-installer.sourceforge.net
> 
> has step-by-step instructions how to compile the
> CVS version as well as all the required developer
> packages.
> 
> Steffen
> 

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
==
1.  unpack build files
==

uncompress the following files to $(TOP)

atk-1.0.3-20020821.zip
atk-dev-1.0.3-20020821.zip
dia-CVS-20030105-0823.tar.gz
gettext-0.10.40-bin.zip
gettext-0.10.40-lib.zip
glib-2.0.7-20021201.zip
glib-2.0.7-20021201-src.zip
glib-dev-2.0.7-20021201.zip
gtk+-2.0.9-20021201.zip
gtk+-dev-2.0.9-20021201.zip
libart-2.3.3-1-lib.zip
libart-2.3.3-bin.zip
libiconv-1.8-w32-1.bin.zip
libpng-1.2.4-1-bin.zip
libpng-1.2.4-1-lib.zip
libxml2-2.4.12-1-lib.zip
libxml2-2.4.12-bin.zip
pango-1.0.5-20021201.zip
pango-dev-1.0.5-20021201.zip
zlib-1.1.4-bin.zip
zlib-1.1.4-lib.zip

==
2.  setup build environment:
==

2.1 in the $(TOP) directory, create/run the 'configure_dia_msvc.bat' script

copy dia\config.h.win32 dia\config.h
move glib-2.0.7 glib
copy glib\glibconfig.h.win32 glib\glibconfig.h
copy lib\gtk-2.0\include\gdkconfig.h include\gtk-2.0\
copy libiconv-1.8-w32-1.bin\*.h include

2.2 edit .\glib\build\win32\make.msc

update the following elements as follows:
-

ATK_CFLAGS = -I$(TOP)\include\$(ATK)
ATK_LIBS = $(TOP)\lib\atk-$(ATK_VER).lib

GDK_PIXBUF_LIBS = $(TOP)\lib\gdk_pixbuf-$(GDK_PIXBUF_VER).lib

GLIB_CFLAGS = -I $(GLIB) -I $(GLIB)\glib -I $(GLIB)\gmodule $(INTL_CFLAGS)
GLIB_LIBS = $(TOP)\lib\glib-$(GLIB_VER).lib $(TOP)\lib\gmodule-$(GLIB_VER).lib 
$(TOP)\lib\gobject-$(GLIB_VER).lib

GTK2_CFLAGS = $(GLIB_CFLAGS) $(ATK_CFLAGS) -I$(GTK2)\gdk -I$(GTK2)\gdk 
-I$(TOP)\include\gtk-2.0 -I$(TOP)\include\$(PANGO)
GTK2_LIBS = $(TOP)\lib\gtk-win32-$(GTK2_VER).lib 
$(TOP)\lib\gdk-win32-$(GTK2_VER).lib $(GDK_PIXBUF_LIBS) $(PANGO_LIBS)

INTL_CFLAGS = -I $(TOP)\include
INTL_LIBS = $(TOP)\lib\libintl.lib 

LIBART_CFLAGS = -FI$(TOP)\include\libart_lgpl\art_config.h
LIBART_LIBS = $(TOP)\lib\libart_lgpl.lib

LIBICONV_CFLAGS = -I $(TOP)\include
LIBICONV_LIBS = $(LIBICONV)\lib\iconv.lib

LIBXML2_CFLAGS = -I $(TOP)\include\$(LIBXML2)
LIBXML2_LIBS = $(TOP)\lib\libxml$(LIBXML_VER).lib

PANGO_CFLAGS = -I $(TOP)\include\$(PANGO)
PANGO_LIBS = $(TOP)\lib\pango-$(PANGO_VER).lib
PANGOWIN32_LIBS = $(PANGO_LIBS) $(TOP)\lib\pangowin32-$(PANGO_VER).lib

PNG_CFLAGS = -I $(TOP)\include\$(PNG) $(ZLIB_CFLAGS)
PNG_LIBS = $(TOP)\lib\libpng.lib $(ZLIB_LIBS)

ZLIB_CFLAGS = -I $(TOP)\include\$(ZLIB)
ZLIB_LIBS = $(TOP)\lib\libz.lib


2.3 edit .\glib\build\win32\module.defs

update:

LIBXML_VER = 2


2.4  setup environment variables:

add '{$TOP}\lib\' to LIB environment variable  

add '{$TOP}\include\' to INCLUDE environment variable 

add '{$TOP}\bin' to PATH environment variable 

note: replace {$TOP} with the full path location of $(TOP)

  also, these were the only environment variable changes
  I needed to make, since I had installed MSVC 6.0 with 
  it automatically setting its critical environment variables.
  
  here is how my 'include' and 'lib' environment variables are set:
   
  include=C:\Program Files\Microsoft Visual Studio\VC98\atl\include;
  C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;
  C:\Program Files\Microsoft Visual Studio\VC98\include;
  f:\dia-build-area\include\
 

Re: feedback on 'dia win32 compilation' instructions

2003-01-12 Thread Steffen Macke
Mike,

thanks for your feedback, I'll hopefully have time to include it
soon in the instructions. Did you merge the translations to
your sheets and objects? (e.g. uml.sheet.in -> UML.sheet) I guess
this is the problem that you're facing. 
$(TOP)/dia/makefile.msc should in the end take care of it, but it is not
there. I just copied the old sheets and objects from the 0.90 distribution
for testing purposes.
BTW: PNG output is crashing on me - could you check this?

The download page shows 4-18 downloads for the different packages.
Was anybody else successful compiling?

Steffen

___
Dia-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia