Re: [Inkscape-devel] Win32 cross-compiled build
vellum wrote:
Hi Bob,
This build seemed to open up OK. So far it seems to work well with no obvious problems.
I checked the build though and the Inkscape screen says build031231. This is confusing to say the least. Is it 031231 or 040106?
Text zoom to 25600% seems good and I notice the width has been increased-thanks. text shapes etc seem good
Will play more soon.
vellum
Yes, I should fix the date. Since I created the makefiles for a non-automated PC world, I have the date hardcoded. I guess now that I can automate the builds, something like
DTG = `date +%y%m%d.%H%M`
VERSION = "0.37cvs${DTG}"
might work.
This would make "0.37cvs040107.1556"
Is that OK? This is in case more than one build happens to occur in a day. And it remains sortable.
Bob
Bob wrote:
Yes, I should fix the date. Since I created the makefiles for a non-automated PC world, I have the date hardcoded. I guess now that I can automate the builds, something like
DTG = `date +%y%m%d.%H%M`
VERSION = "0.37cvs${DTG}"
might work.
This would make "0.37cvs040107.1556"
Is that OK? This is in case more than one build happens to occur in a
day.
And it remains sortable.
This would be cool.
I've played some more with the cross build especially with nodes, changing paths, flip functions etc. So far no problems at all with handling.
But my bugbear is still preferences. Where are they now?? The cross build did not construct a separate preferences file. Should it? This behaviour is different to previous ones. This makes me wonder if the cross build it is picking one up from an earlier build. Is this likely? Anyway when I have time I will try and clean up all other installed versions of preferences.
vellum
vellum wrote:
But my bugbear is still preferences. Where are they now?? The cross build did not construct a separate preferences file. Should it? This behaviour is different to previous ones. This makes me wonder if the cross build it is picking one up from an earlier build. Is this likely? Anyway when I have time I will try and clean up all other installed versions of preferences.
Ok. I think we've got a little farther on this one.
I heard a little more about this on Jabber, and that it appears that glib's call to get the user's home directory is failing.
Looking at the current sources, It's clear that it's only trying to get at things via environment variables. For Win32-land, that approach was deprecated in favor of SHGetSpecialFolderPath back with MSIE 4.0. So the 'proper' thing for nice Win32 programs is for them to call that function and ask for CSIDL_APPDATA. Or maybe to call SHGetSpecialFolderLocation (I think that's the original Win95 call).
We'll investigate those and how to deal with things. In the meantime, a temporary work-around might be to set one of the environment variables that glib is looking for. At the moment, it looks for HOME first. Set that from your autoexec.bat for Windows 95/98/ME and it all might be happy-happy.
Jon wrote,
Ok. I think we've got a little farther on this one.
I heard a little more about this on Jabber, and that it appears that glib's call to get the user's home directory is failing.
Looking at the current sources, It's clear that it's only trying to get at things via environment variables. For Win32-land, that approach was deprecated in favor of SHGetSpecialFolderPath back with MSIE 4.0. So the 'proper' thing for nice Win32 programs is for them to call that function and ask for CSIDL_APPDATA. Or maybe to call SHGetSpecialFolderLocation (I think that's the original Win95 call).
Wooh! You've lost me completely.
We'll investigate those and how to deal with things. In the meantime, a temporary work-around might be to set one of the environment variables that glib is looking for. At the moment, it looks for HOME first. Set that from your autoexec.bat for Windows 95/98/ME and it all might be happy-happy.
Currently my autoexec.bat is empty. Can you give a little more detail on what I should set? I also have seen comments to the effect that Win2000 does not use autoexec.bat though it can be forced to do so. Don't know if that is relevant. I'm wading in deep waters here.
I removed all installed Inkscapes and cleaned my registry of Inkscape stuff as far as I could see. Then reinstalled the cross build cleanly and again it did not prepare a references.xml. Inkscape itself runs well.
vellum
I will get onto jabber at some stage soon.
participants (3)
-
Bob Jamison
-
Jon A. Cruz
-
vellum