[Hackage] #849: [PATCH] Store licenses in text files instead of code.
Hackage
cvs-ghc at haskell.org
Sun Jun 19 06:15:23 CEST 2011
#849: [PATCH] Store licenses in text files instead of code.
---------------------------------+------------------------------------------
Reporter: refold | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
---------------------------------+------------------------------------------
Comment(by refold):
ELF equivalent of `windres` is [http://ktown.kde.org/~frerich/elfrc.html
elfrc].
If we choose to implement resource file support, it should be also
available to the users of Cabal. I propose the following interface:
* A `resource-files:` field in the `.cabal` file
* An auto-generated `Resources_$packagename.hs` file of the following
form:
{{{
foreign import ccall "&" _imgdata :: CString
imgdata :: CStringLen
imgdata = (_imgdata, 405585)
[...]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/849#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list