Jeff Ames a23d64dec1 Formatting cleanup. %!s(int64=15) %!d(string=hai) anos
..
AuraMetaEntity.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
BeamMetaEntity.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
CMController.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
CMEntityCollection.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
CMModel.cs a23d64dec1 Formatting cleanup. %!s(int64=15) %!d(string=hai) anos
CMView.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
ContentManagementEntity.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
ContentManagementModule.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
FileSystemDatabase.cs a23d64dec1 Formatting cleanup. %!s(int64=15) %!d(string=hai) anos
GitDatabase.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
IContentDatabase.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
MetaEntity.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
PointMetaEntity.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos
README 180be7de07 this is step 2 of 2 of the OpenSim.Region.Environment refactor. %!s(int64=15) %!d(string=hai) anos
SceneObjectGroupDiff.cs 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. %!s(int64=15) %!d(string=hai) anos

README

This module is meant to be built alone and not added to the Opensim code base. References are made to required dlls through a
reference file, ContentManagement.mdp. Originally, for development, this project was contained in the Opensim/Region/Modules/
directory.

To compile: nant
To use: Copy ContentManagement.dll into the bin directory of your Opensim build. You should find many other dlls in the same directory.


--------------------------------------------------------------------------------------------------------------------
To build the libgit.so file:

#Download GIT git repository
$ git clone git://git2.kernel.org/pub/OpenSim/Region/Environment/Modules/ContentManagementSystem/scm/git/git.git
$ cd git

#Compile GIT
#Note that we are adding two extra flags to pass to gcc while compiling (-c and -fPIC)
$ autoconf
$ ./configure
$ CFLAGS="-g -O2 -Wall -c -fPIC" make

#Copy necessary object files (and some not so necessary) to their own directory for shared object file creation
$ mkdir ../libgit-objects
$ cp builtin*.o ../libgit-objects
$ cp xdiff/*.o ../libgit-objects
$ cp libgit.a ../libgit-objects

#Remove the main symbol from any object files (like git.o)
$ cd ../libgit-objects
$ strip -N main *.o

#Uncompress the plumbing objects from archive created by git
$ ar x libgit.a

#Create shared object file from all objects (including the zlib library)
$ ld -shared -soname libgit.so.1 -o libgit.so.1.5.6.3 -lc -lz *.o


#You can also just copy the following commands into a file and run as a script inside the git directory

make clean
autoconf
./configure
CFLAGS="-g -O2 -Wall -c -fPIC" make
mkdir libgit-objects
cp builtin*.o libgit-objects
cp xdiff/*.o libgit-objects
cp libgit.a libgit-objects
cd libgit-objects
strip -N main *.o
ar x libgit.a
ld -shared -soname libgit.so.1 -o libgit.so.1.5.6.3 -lc -lz *.o