Hi,
Here it is what we need from build system.
Configure the build. There is no configure but we need a way to do it.
I mean, what packagers need is a way to:
- set some defines (-DVAR compiler options). On wormux, this is the
way to set:
- font path
- data path
- locales path
- set install paths:
- wormux binary
- datas
Default target build all (I think this is ok with cmake)
'install' target install all (idem)
Usually, the 'dist' target make a tarball from which you can type
./configure make and make install. I know that it is only run by
developpers to make releases but, with autotools, it avoids to have the
releaser to look in the tarball if there is no .o files or some stuff
like that.
Is it possible to get it with cmake.
In a few words, I think we have to try to get the same semantics (at
least as near as possible) for targets as before. At least for targets :
- all
- install
- dist
+ something for configure
I am working on porting Debian packages to use cmake. I will tell you if
I have issues.
Best regards,
Jean
Le 18.10.2006 17:46, Reiner Herrmann a écrit :
Hi!
I just added support for archive generation in svn revision 1465.
Binary packages (.tar.gz) can be generated with "make package".
Wormux isn't yet ready-to-run from the extracted binary archives,
because some paths are hardcoded in the binary.
Perhaps we should make the hardcoded paths relative instead of absolute,
so you can just extract the binary archive and play wormux
(e.g. from an usb storage).
Source achives (.tar.gz) can be generated with "make package_source".
At the moment this needs to be done from a build-directory outside the
source-tree
and the source-tree has to be "clean".
But building projects with cmake in an external build-dir is in any case
recommended.
@ Jean (artefact): Is this a similar behavior to "make dist"?
Or is it important to build Debian packages inside the source-dir?
CMake can also generate self-extracting shell-archives, but I disabled this
feature,
because it isn't necessary in my opinion. If it should be needed, it can be
enabled
quite easy.
Regards,
Reiner (deki)
--
_____________________________________
/ Il y a trois savoirs : le savoir \
| proprement dit, le savoir-faire, et |
| puis le savoir-vivre : les deux |
| derniers dispensent bien souvent du |
| premier. -+- Charles-Maurice de |
\ Talleyrand-Perigord -+- /
-------------------------------------
\ ^__^
\ (xx)\_______
(__)\ )\/\
U ||----w |
|| ||
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev