Skip to content
Snippets Groups Projects
Commit 7f2776a0 authored by edgrif's avatar edgrif
Browse files

replaced by new version.

parent 5a75af05
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 7765 deletions
Keeping up to date
------------------
Run through the following for developing changes to foocanvas:
check out the current foocanvas.
$ alias gcvs='cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:2401/cvs/gnome'
$ gcvs co foocanvas
modify files in foocanvas/libfoocanvas
create the patch which we'll store in cvs
$ cd foocanvas/libfoocanvas
$ gcvs diff -u > ZMap/foocanvas/support/libfoocanvas-VERSION.patch
store in ZMap cvs. Make sure '-ko' is used to STOP keyword substitution ($Id: DEV_NOTES,v 1.5 2006-10-18 20:14:35 rds Exp $).
$ cd ZMap/foocanvas/support/
$ cvs add -ko -m'message' libfoocanvas-VERSION.patch
should test the patch by
$ gcvs export -rHEAD foocanvas
$ cd foocanvas/libfoocanvas
$ patch -p0 < ZMap/foocanvas/support/libfoocanvas-VERSION.patch
Creating the tar.gz
-------------------
$ gcvs co -d libfoocanvas-VERSION foocanvas
*** additional files fix ***
now we have additional files this step is a little more difficult and makes me
think we should just distribute a fully patched tar.gz.
$ cd libfoocanvas-VERSION/libfoocanvas/
$ patch -p0 -u < ../path/to/additional_files/Makefile.am.patch
$ cp ../path/to/additional_files/*.{c,h} .
****************************
now make all the autoconf stuff. I had to do this first.
NOT $ export AUTOMAKE=~/bin/automake
try this...
$ export AUTOMAKE=/nfs/team71/acedb/zmap/prefix/LINUX/bin/automake
aclocal needs to be told where it's m4 files are.
~zmap/prefix/LINUX/share/aclocal
~zmap/prefix/LINUX/share/aclocal-1.9
are good bets at the moment. glib-gettext.m4 seems to be a dependancy
which breaks everything silently....
NOT $ export ACLOCAL_FLAGS="-I ~/share/aclocal -I ~/share/aclocal-1.9"
try this...
$ export ACLOCAL_FLAGS='-I /nfs/team71/acedb/zmap/prefix/LINUX/share/aclocal -I /nfs/team71/acedb/zmap/prefix/LINUX/share/aclocal-1.9'
autogen.sh also requires gnome-common
$ gcvs co gnome-common; ./configure; make; make install
For the last build (20060326) I had to modify autogen.sh and
configure.in as per build.patch. Unsure as to why, possibly a broken
autotools setup.
$ ./autogen.sh
$ make dist-gzip
this uses VERSION from configure.in (currently 0.1), I was using YYYYMMDD, who knows what's best.
to change this edit the Makefile
-distdir = $(PACKAGE)-$(VERSION)
+distdir = $(PACKAGE)-YYYYMMDD
$ mv libfoocanvas-VERSION.tar.gz ZMap/foocanvas/support/
$ cvs add -ko -m'message' libfoocanvas-VERSION.tar.gz
$ cvs commit -m'message' libfoocanvas-VERSION.tar.gz
Should alter untar_patch.sh to set the version variable to VERSION and
tag the files as libfoocanvas-VERSION.
Test by running ./untar_patch.sh and seeing no errors in patch and a complete build
ALPHA builds
------------
...NO LONGER SUPPORTED...
-------------------------
Now auto{conf,make}, m4 and libtool are installed
Use gtar and gpatch as the OSF ones don't do gnu options.
export AUTOMAKE=~acedb/prefix/ALPHA/bin/automake-1.9
make sure /usr/local/gtk2/bin is in $PATH
gnome-common & gtk-doc are now installed so just do the following
./autogen.sh; ./configure; make; make install
Zmap's version of foocanvas
---------------------------
You will need to install this altered version of foocanvas in order
to build and use zmap.
To do this run
./untar_patch.sh
This should untar and patch the source.
Follow instruction to run ./configure, make and make install.
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
This diff is collapsed.
File deleted
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment