(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
+case "$target" in
+ *sparc* )
+ AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL])
+ ;;
+esac
+
Also added the include to the above .c files.
I'm going to add it to everything in source just haven't gotten that far yet.
Kent
--with-ssl=PFX Path to ssl files
--with-libjpeg=PFX Path to libjpeg files
--with-libpng=PFX Path to libpng files
--with-libz=PFX Path to libz files
--with-mozilla=PFX Path to mozilla files
(The mozilla one still needs some work but its a start)
I also cleaned up the blender/intern automake files a little as far as
the python stuff goes, it still isn't doing the correct thing in
intern/python/freeze but its a little closer I think.
Anyone that has ideas on this I'm all ears :)
Kent
--
mein@cs.umn.edu
I'm not an expert at this but I think I'm getting the hang of it quite nicely.
I added autoconf stuff for most of the intern dir. I move readme.txt to
README and added the following section to it:
*********************************************************************
*********************************************************************
We are in the process of moving things over to automake/autoconf
The old makefiles are still in place and will work. If you want to
get a working blender skip down to the next section and use this readme as
a guide.
If you want to play with the new autoconf environment you need to do the
following, inside this dir:
./bootstrap
mkdir ../newdir
cd ../newdir
../blender/configure
Take a look at INSTALL for options you can give to configure.
About half of the intern directory is done so you won't get very far.
If you want to work on fixing it you need to edit Makefile.am's and
configure.ac
after editing those files you need to run bootstrap again.
TODO to finish up the intern dir
Square away how ghost works.
(i.e. would be nice if under windows you could choose X11 or normal windows
libs, same with macos.. right now its a cludge and it doesn't do one explicitly
probably involves changing the way configure.ac picks stuff)
Get intern/python figured out.
Add the following to configure.ac
--with-openssl=dir
--with-mozilla=dir (get it so nspr is autodetected here)
--with-nspr=dir (incase in different dir)
--with-jpeg=dir
--with-png=dir
--with-zlib=dir
figure out why the heck the libtool that gets created is wrong on my
system (mein@cs.umn.edu) :)
Kent
--
mein@cs.umn.edu
batch file that freezes the Blender Python code.
I had to add a dummy.cpp file to the freeze directory to make MSVC
understand it should call the batch file in a post build step. If someone else
has a better idea, feel free to change it!
Maarten
+ python $(PYFLAGS) freeze.py -d -x os -x pprint -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
Freeze the Blender module
(I got this from some other people on #blendersauce and truthfully I have
no idea if this is correct or not so if someone else could look at it
that would be great)
Kent
--
mein@cs.umn.edu
intern/make/msvc_6_0. Changed paths in all these files to build to
lib/windows and use obj/window/intern for object files and other temporary
stuff.
Added project files for guardedalloc and blenkey (in keymaker directory).
blenkey still assumes openssl being installed in lib/windows.
The only thing not automated is is the frozen Python stuff.
Maarten
--Notes on compiling mxTextTools
To get the latest version to compile on my machine I had to
edit mxSetup.py and remove /usr/include from INCLPATH for it to build
properly.
(after doing this you need to edit blender/source/Makefile and
fix the pointer to it I'm still working on automating this)
Kent
--
mein@cs.umn.edu
This saves other OSX developers the trouble of manually running ranlib.
This is not a good solution (because I don't know the correct one) but it works.
Maarten
I also moved it so that it gets put in:
$(OCGDIR)/blender/bpython/$(DEBUG_DIR)libfrozen.a
and removed the stuff from the readme on how to do it by hand.
(I made one other small change and that was to comment
out the ssr target on solaris and freebsd in source/Makefile
I forgot to commit it yesterday)
Kent
--
mein@cs.umn.edu
I noticed it sounded kind of stupid so quit half way through the commit :)
Anyway it now reads:
If you tried to just have a go at making stuff you might wind up with
an empty file /tmp/.nanguess
You need to remove the empty file and it will get created automatically
by $NANBLENDERHOME/source/tools/guess/guessconfig after you have
setup the NANBLENDERHOME variable.
Kent
--
mein@cs.umn.edu
Also added the following since it burned me and a couple people have asked:
If you tried to just have a go at making stuff you might wind up with
an empty file /tmp/.nanguess
You need to remove the empty file and re run it after you have
setup the NANBLENDERHOME variable.
I should maybe hold off and post a couple at a time, but I figured
since others are working on stuff now it would be nice to keep it upto
date. (let me know if I'm committing to often...)
(removed set from the bash instructions)
Kent
the intern/python stuff up a little to the more generic case.
(well the unix bit but hopefully we can rename the unix bit
generic make instructions or something.)
Kent
--
mein@cs.umn.edu