Re: group_props.py import dia [was: stroke-width]
Ignore this - I just got a bit further and ... Mike Mike Dewhirst wrote: > Mike Dewhirst wrote: >> Mike Dewhirst wrote: >>> Robert Staudinger wrote: On 8/24/06, Mike Dewhirst <[EMAIL PROTECTED]> wrote: > Hans Breuer wrote: >> Am 23.08.2006 15:48, Mike Dewhirst schrieb: >>> Lars Clausen wrote: Mike Dewhirst sagde: >>> > > > Another option is to use mingw/msys, which lets you reuse the *nix build infrastructure. > > > That said i have built dia on win32 with msys/mingw some time ago, a patch is available from http://bugzilla.gnome.org/show_bug.cgi?id=341549 . If you manage getting to the point where dia builds with said patch enabling python support should be pretty easy. > > OK - I'm trying a bit harder this time. I have installed mingw/msys and > have created a file called dia-win32-mingw-02.diff containing your patch > in ../mingw/dia-0.95/ although I don't exactly know how to deal with it. > I presume it has to be nominated somewhere in configure.in. Any advice? > > In the ../mingw/dia-0.95/ directory I am running ... > > ./configure --with-python; make; make install > > Checking seems to proceed for some distance before failing at ... > > - - last few lines of mingw configure error message - -> > ... > checking for pkg-config... /mingw/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for GMODULE... configure: error: Package requirements > (gmodule-2.0 gobject-2.0) were not met. > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively you may set the GMODULE_CFLAGS and GMODULE_LIBS > environment variables > to avoid the need to call pkg-config. See the pkg-config man page for > more details. > make: *** No targets specified and no makefile found. Stop. > make: Nothing to be done for `install'. > > - - - - end of error message - - - - > > Google found gmodule and gobject sources for me in glib-morphos.lha but > I cannot compile them. What I think I really need are gmodule and > gobject binaries so I can get a bit further compiling dia-0.95 as per > the above error message. > > Thanks for any advice > > Regards > > Mike > > > > > ___ > 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
Configure an xgettext problem
Hello,I'm sorry, I guess it is only a small problem.I tried to compile dia-0.95 because the 0.94 on my SUSE 10.0 does not have the UML scheme I need.I first got the following message : $ ./configure[...] checking for xgettext... noneconfigure: error: xgettext program not found: none. I googled xgettext but I got nothing. I also searched the mail archive but nobody seems to have this problem.So I got the latest gettext : gettext-0.15 . I compiled it, installed it and 'ldconfig'ed it.When configuring dia-0.95 the "checking for xgettext" was ok (hurra!).But when compiling, I got the following error : $ make[...]INTLTOOL_EXTRACT=../intltool-extract srcdir=. ../intltool-update --gettext-package dia --pot *** xgettext is not found on this system! *** Without it, intltool-update can not extract strings. If I ask for xgettext version, xgettext is found and I get :$ xgettext -Vxgettext (GNU gettext-tools) 0.15Could someone please help me? Thank you. Xavier ___ 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
Compiling dia in mingw [was group_props.py import dia [was: stroke-width]]
Mike Dewhirst wrote: > Mike Dewhirst wrote: >> Mike Dewhirst wrote: >>> Robert Staudinger wrote: On 8/24/06, Mike Dewhirst <[EMAIL PROTECTED]> wrote: > Hans Breuer wrote: >> Am 23.08.2006 15:48, Mike Dewhirst schrieb: >>> Lars Clausen wrote: Mike Dewhirst sagde: >>> > > > Another option is to use mingw/msys, which lets you reuse the *nix build infrastructure. > > > That said i have built dia on win32 with msys/mingw some time ago, a patch is available from http://bugzilla.gnome.org/show_bug.cgi?id=341549 . If you manage getting to the point where dia builds with said patch enabling python support should be pretty easy. > > OK - I'm trying a bit harder this time. I have installed mingw/msys and > have created a file called dia-win32-mingw-02.diff containing your patch > in ../mingw/dia-0.95/ although I don't exactly know how to deal with it. > I presume it has to be nominated somewhere in configure.in. Any advice? > This is probably the wrong place to ask for help on compiling Dia in mingw but here goes ... 1. I got Dia to the point of complaining it wants GTK so I started downloading missing bits. 2. GTK wouldn't compile and the list of dependencies seems as follows: Dia GTK+ atk pango cairo libpng zlib 3. zlib compiles but doesn't produce its advertised output according to the last few lines of the make install prefix=/mingw command results as follows: ... // works fine cp zlib.h zconf.h /mingw/include // not applicable chmod 644 /mingw/include/zlib.h /mingw/include/zconf.h // works fine cp libz.a /mingw/lib // not applicable cd /mingw/lib; chmod 755 libz.a // this looks like a prob EXCEPT I would expect a .dll file not .so cd /mingw/lib; if test -f libz.so.1.2.3; then \ // libz.so.1.2.3 is not in /mingw/lib rm -f libz.so libz.so.1; \ ln -s libz.so.1.2.3 libz.so; \ ln -s libz.so.1.2.3 libz.so.1; \ (ldconfig || true) >/dev/null 2>&1; \ fi //works fine cp zlib.3 /mingw/share/man/man3 //not applicable chmod 644 /mingw/share/man/man3/zlib.3 4. the only zlib file in /mingw/lib is libz.a 5. the only other files (not in /mingw/zlib-1.2.3/) are: /mingw/include/zconf.h /mingw/include/zlib.h 6. Throwing caution to the wind I tried libpng as follows: $ ./configure; make; make install prefix=/mingw The last few lines ... cd /mingw/bin; rm -f libpng-config cd /mingw/bin; ln -s libpng12-config libpng-config + cd /mingw/lib + rm -f libpng.a + ln -s libpng12.a libpng.a + rm -f libpng.la + ln -s libpng12.la libpng.la + rm -f libpng.so + ln -s libpng12.so libpng.so ln: creating symbolic link `libpng.so' to `libpng12.so': No such file or directory make[2]: *** [install-exec-hook] Error 1 make[2]: Leaving directory `/mingw/libpng-1.2.12' make[1]: *** [install-exec-am] Error 2 The actual output of this in /mingw/lib/ is ... libpng-3.dll libpng.dll.a libpng-config libpng12-0.dll libpng12-config.dll libpng.a libpng.la libpng12.a libpng12.dll.a libpng12.la plus dozens of files in /mingw/libpng-1.2.12 My question is - how should I modify the make files to satisfy mingw under windows? Thanks for hints or links to any how-to files Mike ___ 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: Configure an xgettext problem
On Tue, 2006-08-29 at 10:09 +0200, Xavier Blanadet wrote: > Hello, > > I'm sorry, I guess it is only a small problem. > > I tried to compile dia-0.95 because the 0.94 on my SUSE 10.0 does not > have the UML scheme I need. > > I first got the following message : > $ ./configure > [...] > checking for xgettext... none > configure: error: xgettext program not found: none. > I googled xgettext but I got nothing. I also searched the mail archive > but nobody seems to have this problem. > > So I got the latest gettext : gettext-0.15 . I compiled it, installed > it and 'ldconfig'ed it. > > When configuring dia-0.95 the "checking for xgettext" was ok (hurra!). > > But when compiling, I got the following error : > $ make > [...] > INTLTOOL_EXTRACT=../intltool-extract > srcdir=. ../intltool-update --gettext-package dia --pot > *** xgettext is not found on this system! > *** Without it, intltool-update can not extract strings. > If I ask for xgettext version, xgettext is found and I get : > $ xgettext -V > xgettext (GNU gettext-tools) 0.15 > Could someone please help me? Damn, I seem to recognize the problem, but can't remember the solution. My first shot would be to do make distclean and then ./autogen.sh && ./configure && make. -Lars ___ 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: using "DIA" for create a prototype of the a WEB application.
On Mon, 2006-08-28 at 10:36 -0300, "Rodrigo Maia(Fortes Informática)" wrote: > hi, > > i have need of finding a "plugin" for Dia that help me in the create the > prototype of the my WEB application. i need of WEB components, for > example: selects, input of the type text, password, this things. i would > be using Visio, but i migrated for Linux recently. None such has been mentioned on the list. I really don't see how Dia could be more useful for that than so many other programs, seeing as how it's not really a graph-like thing to do, but maybe I'm missing something. -Lars ___ 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