Al 16/09/11 17:06, En/na Tom Browder ha escrit:

> Jordi, maybe your deb set up for cmake should be part of the BRL-CAD
> package if the package is required--otherwise I think my mods are
> needed.

Tom, I think that You're mixing some thing here.

Your mods are to check if needed binaries are present on the system. I think 
it's a better idea to use the system-packages instead of install them manually 
or by an script.

I just compiled cmake v2.8.3 for Ubuntu 10.04 to make me able to compile brlcad 
on this system, because the resulting brlcad packages should be installable on 
the maximum computers as possible (Ubuntu 10.04 is the last LTS).

People that wants to compile/build their own deb packages with make_deb.sh 
script can do it on a system that has the required dependencies. There are many 
dependencies to build brlcad, not just cmake v2.8.3, so I don't think that this 
is a good idea to "share" cmake deb package from brlcad site.

> Do you have a deb set up for the other cmake programs (cpack, ctest, etc.)?

Yes, the package contains all the cmake binaries.

> I have struggled with the sparse deb instructions to build one
> non-standard deb package.   Have you found a good tutorial source to
> describe the process you seem to have well in hand (other than the dh
> and dh_* man pages)?

I think there are many tutorials on Internet to build deb packages, but I 
cannot recommend You any one.

There are several ways to build deb packages. Some of them:

The "$ debian/rules binary" way. this is the way used with make_deb.sh to 
create the package. You can check out misc/debian/rules to see how it works. 
Needs "debhelper" package, at least...

Another way is to create the structure of the package on a directory 
(uncompress a deb package to check it as an example). Then just run "$ dpkg-deb 
-b dir_name" where dir_name is the directory containing the structure. Needs 
"dpkg" package.

Another one, download the already prepared three sources files of the desired 
program from Your distribution site.
As an example you can download cmake v2.8.3 source for Ubuntu from here:
http://packages.ubuntu.com/source/natty/cmake
Place them on a folder and from command line type "$ dpkg-source -x 
cmake_2.8.3-3ubuntu7.dsc". Provably You'll need to modify the dependencies on 
this file.
A "cmake-2.8.3" folder will be created. "$ cd cmake-2.8.3" and then "$ fakeroot 
dpkg-buildpackage".
If everything goes fine, You'll get a couple of deb packages. Needs "dpkg-dev" 
package.

Best regards,
-- 
Jordi Sayol

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to