[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278810: ITP: slony-i



Greetings,

  Kind of amusing that you decided to do this now, I've just recently
  been working with Slony upstream to get things cleaned up so Debian
  packages can be easily built from Slony.  I've been working from CVS
  but I've been told that the fixes will be back-patched into the stable
  branch and released with the next stable release.  A couple comments:

  Probably best to use Build-Depends-Indep in this case since building 
  the docs adds alot of dependencies that aren't otherwise necessary.
  This is what I had:

Build-Depends-Indep: postgresql-autodoc, libjpeg-progs, groff,
  gs-common, netpbm, imagemagick, opensp, openjade, docbook-utils
Build-Depends: postgresql-server-dev-8.0, libpq-dev, cdbs, flex,
  bison

  According to upstream though, technically flex and bison shouldn't be
  necessary when building from a release (I was building from CVS).
  You should be able to remove the flex/bison parts of yoour clean::
  too, really.  Was there some reason you needed to rebuild them?

  Additionally, we need to figure out the best way to build both 8.0
  debs and 8.1 debs.  I like that you split it out into different debs,
  I hadn't gotten to that yet myself but had planned to.  I'm not sure
  slony1-bin should Recommend postgresql-8.0-slony1 (a Suggests would be
  better, imv).  Additionally, ntp-server should be a Recommends in
  postgresql-8.0-slony1, not slony1-bin.

  Here's what I have for my configure arguments (based on CVS, where
  these actually all work now...):


DEB_CONFIGURE_EXTRA_FLAGS += --with-pgsharedir=/usr/share/slony1
DEB_CONFIGURE_EXTRA_FLAGS += --with-pglibdir=/usr/share/slony1
DEB_CONFIGURE_EXTRA_FLAGS += --with-pgpkglibdir=/usr/lib/postgresql/8.0/lib
DEB_CONFIGURE_EXTRA_FLAGS += --with-perltools
DEB_CONFIGURE_EXTRA_FLAGS += --with-docs --with-docdir=/usr/share/doc/slony1/
DEB_CONFIGURE_EXTRA_FLAGS += --disable-rpath

  I've also got DEB_AUTO_UPDATE_AUTOCONF = true, but again that
  shouldn't be necessary when building from a release.  A couple of
  other things to note about the above:

  --disable-rpath doesn't work except in recent CVS.

  --pgsharedir, --pgpkglibdir, and --pglibdir have to be overridden
  because the configure script checks for things which aren't there in
  those directories (unless you've got the actual postgresql server
  installed, which really isn't an option on a buildd).  Also, make
  install in the docs directory ignores the alternate root (again,
  except for in recent CVS).

  --pglibdir is actually still broken in CVS, talking w/ X-Fade in
  #slony on OPN about getting that fixed (or, even better, changing
  tools/altperl to use something else like --perlsharedir for the
  install path for slon-tools.pm).

  Thanks for working on this, I really should have posted an update when
  I started working on this stuff again last month, sorry about that.

  	Thanks again!

		Stephen

Attachment: signature.asc
Description: Digital signature


Reply to: