Tree [r60] /
History



File Date Author Commit
docs 2011-01-14 tcorio [r39] Initial Checkin.
src 2011-03-03 tcorio [r60] Changes for 0.2.0 release.
AUTHORS 2010-02-12 tcorio [r1] Initial version.
COPYING 2010-02-12 tcorio [r1] Initial version.
ChangeLog 2010-02-12 tcorio [r1] Initial version.
INSTALL 2010-02-12 tcorio [r1] Initial version.
Makefile.am 2011-02-05 tcorio [r47] Add reactions to search parameter changes.
Makefile.win32 2011-02-11 tcorio [r57] Build for Windows.
NEWS 2010-02-12 tcorio [r1] Initial version.
README 2011-03-03 tcorio [r60] Changes for 0.2.0 release.
RELEASE 2011-03-03 tcorio [r60] Changes for 0.2.0 release.
buildwin.bat 2011-02-11 tcorio [r57] Build for Windows.
cleanwin.bat 2011-01-10 tcorio [r32] Initial checkin
depcomp 2010-02-12 tcorio [r1] Initial version.
doautomake 2011-01-16 tcorio [r41] Add automake.
install-sh 2010-02-12 tcorio [r1] Initial version.
install.iss 2011-03-02 tcorio [r59] Original image not displayed.
missing 2010-02-12 tcorio [r1] Initial version.
mkinstalldirs 2010-02-12 tcorio [r1] Initial version.

Read Me

The imagecomp application is a tool to aid the visual comparison of two
images.  It is most useful for comparing images of coins, medals, and
similar (round) items.  Load the two images, use the tools to identify
the center and radius of the item in each image.  Then use the compare
tool to visually identify differences between the two items.

COMPILING ON LINUX:
--------------------

1) Get the source code.

2) cd to the directory containing the source code.

3) Create the configure.ac file with the following commands:
   $ autoscan
   $ mv configure.scan configure.ac

4) Add the following line to the configure.ac file just after the
   line with "AC_INIT(...)"
   AM_INIT_AUTOMAKE

5) Complete the compilation with the following commands:
   $ aclocal
   $ autoheader
   $ autoconf
   $ automake
   $ ./configure
   $ mv config.h src/inc/
   $ make

6) Run the application with the following command:
   $ ./imagecomp

COMPILING ON WINDOWS:
--------------------

1) Install Microsoft Visual Studio 9.0.  This is a free download
   from Microsoft.

2) Edit the buildwin.bat script:
   a) Change the value for the variable MK to point to the
      nmake.exe application installed with Visual Studio 9.0.
   b) Change the value added to the path to point to the
      IDE directory of Visual Studio 9.0
   c) Change the values to which the LIB variable is set to point
      to the appropriate directories.

3) Run the buildwin.bat script.

4) Remove Image Compare using Add/Remove Program.

4) With Inno Setup Compiler 5.3.7.
   a) Open install.iss.
   b) Select menu item Build->Compile.
   c) Reinstall Image Compare using Run->Run.
   d) Follow the Setup wizard's instructions.


BUILDING A RELEASE:
------------------

1)  Update versions in:
    * inc/imagecomp_project.h
    * inc/imagemask_version.h
    * inc/imagecomp_version.h

2)  Update RELEASE.

3)  Build both Linux and Windows versions.

4)  Test both Linux and Windows versions.

--  Linux build.

5)  On Linux checkout project into a temp directory:
    $ cd ~/tmp
    $ svn export https://imagecomp.svn.sourceforge.net/svnroot/imagecomp \
      imagecomp-0.2.0

    NOTE: change the name of the target directory to reflect the current
    version number.

5)  Create source code tarball:
    $ cd ~/tmp
    $ tar -cvzf imagecomp-0.2.0.src.tgz imagecomp-0.2.0

6)  Upload tarball to Sourceforge.

--  Windows build.
    The install program was created when the application was built on Windows.

7)  Change name of install application to imagecomp-0.2.0-win32.exe.

    NOTE: Use the appropriate version number in the new file name.

8)  Upload install application to Sourceforge.