[pkg-xmule] things to be done to prepare xMule package 1.9.5-2

Daniel Leidert pkg-xmule-maintainers@lists.alioth.debian.org
Wed, 16 Mar 2005 18:22:15 +0100


bcc to David

Hello,

Here are the changes, which IMHO have to be done to prepare new xMule
package release:

(1) files to delete from CVS:
  - Makefile
  - xLibs/DynPrefs/DynPrefs.make
  - xLibs/xrc/xrc.make
  - src/xmule.make
  - po/POTFILES
  - po/Makefile
  - po/Makefile.in
  - intl/Makefile

(2) files to move
  - xmule.1 -> debian/xmule.1 (to have debian package files in debian
    subdir)

(3) revert all changes which have be done to prepare for dpatch use:
  - Makefile.in
  - configure.ac
  - src/ClientCredits.cpp
  - src/ClientCredits.h
  - src/ServerList.cpp
  - src/packets.cpp

(4) things to patch:
  - libcrypto++5.2 detection and includes
    -> configure.ac
    -> includes have to be changed to crypto++
    -> all PACKAGE_* variables have to be changed to PACKAGE and VERSION
       by configure.ac: AM_INIT_AUTOMAKE() to avoid redefinition during
       compilation
  - wx2.4-detection
    -> there is automatic detection for wx2.4, so we need to add it by
       hand
  - no need to compile zlib and xrc stuff (part of zlib1g-dev and
    libwxgtk2.4-contrib-dev, libwxgtk2.4-dev)
  - intl subdir should not be removed by distclean-target (bug in
    upstream)

(5) debian-subdir
  - add autotools stuff (we need autoheader and autoconf for (4)
    libcrypto++5.2)
  - xmule.manpages: needs to be adjusted for xmule.1 location
  - control: build-dependencies need to be adjusted (dpatch, libz-dev,
    wx2.4-packages)
  - postrm/preinst: can be removed, if xmule conflicts with amule
  - rules: some configure-options are missing:
    --with-zlib=/usr/lib
    --with-wx-config=/usr/bin/wxgtk-2.4-config
  - ed2k.1 should be written (similar to amule package)

I suggest the following patches:
 - misc-stuff: do not delete intl subdir
 - configure.ac: fit debian environment
 - libcrypto++: patch includes and PACKAGE_* variables in src/
 - wx2.4, zlib: use Debian packages instead of upstream sources

Patches should include a informative description in their head section.

Discussion is opened. I will begin with with (1-3) and then do the
necessary changes to (4) and (5).

Suggestions, comments?

Regards, Daniel