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

How to maintain packaging files for multiple distributions in the same tree?

Is there a good way to let Maemo-specific packaging files coexist with
Debian unstable files in the upstream tree? Currently there is a
debian/ upstream, but it is Debian unstable specific. Btw tinymail is
not part of the official Debian Archive.

The problem is that of maintaining packages files for several
distributions in the same tree, preferably by using diff techniques
between them.

Øystein Gisnås

---------- Forwarded message ----------
From: Philip Van Hoof <spam@pvanhoof.be>
Date: 23.jan.2007 19:52
Subject: Re: compiling/packaging tinymail on maemo 3.0 (bora)
To: Dirk-Jan.Binnema@nokia.com
Cc: tinymail-devel-list@gnome.org, Øystein Gisnås <oystein@gisnas.net>

Hey Oystein,

Is there a way to have a maemo-specific directory or control file? I can
imagine this would break the original debian package support.

On Tue, 2007-01-23 at 19:59 +0200, Dirk-Jan.Binnema@nokia.com wrote:
Hi all,

Just to share some findings; I am a bit of a debian packaging n00b,
but the following seems to work.

1) apply the patch
      - this removes dependencies that are not necessary/available
        on the maemo 3.0 / bora platform
      - also it fixes the ICONV_10646 undefined issue
      - and it places the packages in Section: user/extra
          (otherwise the app manager on your 770/n800 will
          not accept it)
2) build the package with:
      $ DEB_CONFIGURE_USER_FLAGS="--with-platform=maemo"
dpkg-buildpackage -rfakeroot

BTW, there might be a problem running autogen.sh, as some of the m4
macros seem not
be correctly installed in bora; this seems like a bug; but can be worked
by manually copying the missing m4 files to /usr/share/aclocal. Ugly,
but it works.

The patch is not really suitable for non-bora tinymail, but hopefully I
(or someone
else) can come up with something better.

Best wishes,
tinymail-devel-list mailing list

Reply to: