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

Bluetile package



Hi there!

I have been in contact with Joachim Breitner regarding packaging of
Bluetile for Debian and he asked me to continue the discussion on this
list instead.

Quick background: Bluetile (http://www.bluetile.org/) currently depends
on the unreleased codebase of xmonad-darcs. To make packaging easier
until the next xmonad release happens, I now backported Bluetile to
xmonad 0.9.1. So this version can now be build with the current version
of xmonad that is already in Debian.

The repository for the backport is located here:
  http://code.haskell.org/~jav/bluetile-backport/
And I also created a tarball of the backport release:
  http://code.haskell.org/~jav/releases/bluetile-0.4-bp.tar.gz

Joachim has started on a Debian package for Bluetile here:
  http://darcs.debian.org/pkg-haskell/bluetile

Joachim mentioned these warnings:
  W: bluetile: binary-without-manpage usr/bin/bluetiledock
  W: bluetile: binary-without-manpage usr/bin/bluetilegreet
  W: bluetile: binary-without-manpage usr/bin/bluetilemockwin
and recommended to look into the option of installing these binaries in
libexecdir instead - for intern/private executables.

That seems indeed a good fit. Unfortunately I can't seem to find an easy
way to get Cabal to install them there. This thread
  http://www.archivum.info/libraries@haskell.org/2008-03/00100/Re:-building-a-helper-binary-with-cabal.html
seems to suggest that Cabal actually has no support for private
binaries. I don't know if this is still true.

Do I really have to write a custom Setup.hs to make this happen? If so,
is there maybe somewhere a simple package that I can look at? I have
little experience with Cabal.

One other thing: I was hoping I could denote the fact that this is a
backport somewhere in the version number. I would have prefered
something like 0.4bp, but Cabal only allowed me to go for 0.4-bp. But
even then it creates packages that omit the "-bp" in the archive name.
>From reading the documentation, it seems Cabal pretty much expects only
numbers to be used in the version string. So I guess I will drop the
"-bp" in order not to confuse Cabal too much. Unless someone can suggest
an alternative to me?

Best regards!
Jan


Reply to: