Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 894b33f6b47b635c2a5f2b5c960eb081 > files > 6

xxdiff-2.9-2mdk.ppc.rpm

				 xxdiff README
			 ------------------------------

xxdiff is a graphical file and directories comparison and merge tool.

Official home page: http://xxdiff.sourceforge.net
Author: Martin Blais <blais@iro.umontreal.ca>

Full documentation is available from the Help menu or web site.


Building from source:
------------------------------

#
# Requirements:
#
# - GNU make.  You will need GNU make.  Don't waste your time with other makes,
#   many are known not to work (Sun's, as well as OSF1).
#
# - A C++ compiler with a decent STL (g++-2.96 or more will do).
#
# - flex and bison
#
# - Qt-3.x
#
# - tmake-1.7 or more (old versions, e.g. tmake-1.4, have problems with the
#   INTERFACE keyword and don't generate appropriate rules for building the .ui
#   files). This won't work with qmake.
#


#
# compile xxdiff itself
#
# http://www.trolltech.com.  Make sure your TMAKEPATH is properly set to point
# to the architecture specific tmake directory.

cd xxdiff/src
tmake xxdiff.pro > Makefile
make


#
# installation
#
su -
install xxdiff/src/xxdiff /usr/X11R6/bin

# you can generate HTML documentation with 'xxdiff --help-html' if you want.



Building from source, under Windows:
------------------------------

This has been done with success by one of my users (suamor @ sourceforge.net).

Here is what I was advising before his contribution:

 - install Cygwin
 - install qt non-commercial version
 - use nmake.exe
 - you'll have to hack the makefile produced by tmake, it's not working.
 - you'll have to add DEFINES += QT_DLL to the compilation options

I think this is how he compiled it:

 - try using contrib/xxdiff.pro.windows, and run qmake on it
 - tweak until it works.

Please refrain from asking Windows-related questions to me, it's and endless,
complicated task, and frankly, unless you've already figured out the problems
I'm not really interested. I don't even have a Windows box to test it on and I
probably won't have one for a good while (hopefully I'll never have to have
one). If you want to compile under Windows, you've got to be somewhat of a
hacker, and then I'm sure you don't need me for that. You're on your
own. Besides, I wouldn't have the answer anyway. I have already wasted countless
hours trying to make this work under Windows, and although I was pretty damn
close, I never quite finished it. Maybe the tools will mature and it will be
easier one day.

However, I will happily include any contributions in the source tree that would
help others make this happen.



Packaging:
------------------------------

   * Source packaging:
     tools/release_src

   * Simple binary packaging (all platforms):
     tools/release_bin

   * Redhat Linux packaging:
     tools/release_i386_rpm

   * Debian Linux packaging:
     See web page for link to current port.

   * OpenBSD packaging:
     In the ports tree.

   * SGI packaging:
     tools/release_mips_tardist
     # to install the SGI package you'll need fw_qt and it's prerequisites.

     # installing from tardist package.
     inst -f xxdiff-<version>.mips.tardist
     > go




The author's own release process:
------------------------------

   0) check
      1a) tmake makefile is in release
      1b) version number is correct

   1) apply release tag to cvs files

   2) build (see instructions above)
      2a) run tests in xxdiff/test

   3) build packages (see instructions above)

   4) distribute
      - add release to sourceforge project
      - upload to sourceforge htdocs (secondary download location)
      - upload to sourceforge web page
      - upload to rhcontrib.bero.org

   5) announce
      - sourceforge project release announcement
      - update web site
      - freshmeat
      - rh-contrib (bero)
      - qt-interest
      - cervisia ml
      - wincvs ml
      - sgi freeware
      - discreet