Thread: [Cppcms-users] Debian packaging for CppCMS
Brought to you by:
artyom-beilis
From: Mario P. <mp...@us...> - 2011-01-10 11:57:30
|
Hello Artyom, I attach a tarball of a "debian" directory to put in the source's root directory of CppCMS for generate two Debian packages: "libcppcms1" and "libcppcms1-dev". With this code, in a Debian system with packages "build-essential" and "debhelper" installed, we can generate the CppCMS DEBs with the command "dpkg-buildpackage". I've build the Debian packages for i386 and amd64 architectures for CppCMS 0.99.5, and can be downloaded from this URL: http://mpalomo.users.sourceforge.net/cppcms/ I hope to build packages for each new official version of CppCMS, which can be found at the URL above. Later I hope to also create packages for other architectures, and I also want to create packages of CppDB. I hope this helps for those who work with Debian or Ubuntu. If you see something wrong let me know. Greetings, Mario |
From: augustin <aug...@ov...> - 2011-01-10 13:45:16
|
On Monday 10 January 2011 07:57:02 pm Mario Palomo wrote: > I hope this helps for those who work with Debian or Ubuntu. If you see > something wrong let me know. Greetings, > As a Kubuntu user, I'd like to thank you :) Blessings, Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |
From: Artyom <art...@ya...> - 2011-01-10 14:14:49
|
Hello, First of all this is great contribution! Few notes or issues I had found in this configuration: 1. I would recommend include by default the recommended dependencies: a) ICU - is very important part of the library. b) Gcrypt or OpenSSL - I'd recommended gcrypt as it has GPL compatible license (unlike OpenSSL) There are should be included in default builds as they provide very valuable features. 2. May be I do not understand but according to the files it seems to me not include: a) cppcms_tmpl_cc - templates compiler b) cppcms_run - the script for running cppcms applications with different web servers easily I think they both should be either in libcppcms1-dev or in the some package like cppcms1-tools 3. I don't know what is the policy of Debian, but wouldn't it be better to have libbooster and libcppcms as separate packages as, libbooster is very useful outside scope of CppCMS and can be seen as ABI stable boost subset. But this is rather minor and optional thing. Thank you once again. Do you want debian build files to be included in the official SVN distribution. One additional notice, CppCMS is officially beta version and its ABI is not stabilized, however I do not update SOVERSION as I expect that first official - non-beta release would have SOVERSION 1. Artyom ----- Original Message ---- > From: Mario Palomo <mp...@us...> > To: cpp...@li... > Sent: Mon, January 10, 2011 1:57:02 PM > Subject: [Cppcms-users] Debian packaging for CppCMS > > Hello Artyom, > > I attach a tarball of a "debian" directory to put in the source's root > directory of CppCMS for generate two Debian packages: "libcppcms1" and > "libcppcms1-dev". With this code, in a Debian system with packages > "build-essential" and "debhelper" installed, we can generate the CppCMS DEBs > with the command "dpkg-buildpackage". > > I've build the Debian packages for i386 and amd64 architectures for CppCMS > 0.99.5, and can be downloaded from this URL: > > http://mpalomo.users.sourceforge.net/cppcms/ > > I hope to build packages for each new official version of CppCMS, which can be > > found at the URL above. Later I hope to also create packages for other > architectures, and I also want to create packages of CppDB. > > I hope this helps for those who work with Debian or Ubuntu. If you see > something wrong let me know. Greetings, > > Mario > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Mario P. <mp...@us...> - 2011-01-11 11:38:00
|
El 10/01/11 15:14, Artyom escribió: > Hello, > > First of all this is great contribution! > > Few notes or issues I had found in this configuration: > > 1. I would recommend include by default the recommended dependencies: > > a) ICU - is very important part of the library. > b) Gcrypt or OpenSSL - I'd recommended gcrypt as it has GPL compatible > license (unlike OpenSSL) > > There are should be included in default builds as they provide very valuable > features. > First of all I must say that I am not an official Debian Developer, but I want to get in touch with official Debian Developers in the near future, to propose my package in the official repositories. I agree I should include the recommended dependencies (ICU and Gcrypt), and I will do so in a new version of the package. The reason for not building with this dependencies is that lately I was creating a minimal version for an embedded device that had no such dependencies. > 2. May be I do not understand but according to the files it seems to me not > include: > > a) cppcms_tmpl_cc - templates compiler > b) cppcms_run - the script for running cppcms applications with different web > servers easily > > I think they both should be either in libcppcms1-dev or in the some package > like cppcms1-tools > Ok, in the new version of the package I will consider this. At first I'll put these binaries in the package libcppcms1-dev (but I have to review the Debian Policy). > 3. I don't know what is the policy of Debian, but wouldn't it be better to have > libbooster and libcppcms > as separate packages as, libbooster is very useful outside scope of CppCMS > and can be seen as > ABI stable boost subset. > > But this is rather minor and optional thing. > > I have to review the policy of Debian on this, although it is clear that if the library has entity itself, it should be in another package. Another thing is that currently is only used in conjunction with CppCMS, and could be separated in the future as another package, if necessary. > Thank you once again. > Do you want debian build files to be included in the > official SVN distribution. > I really don't know: from what I know, most Debian packagers have their own tree with the "debian" directory, and the original software does not contain this, but if someone wants to build a Debian package from the latest version of the software in the repository, it will be easy if they already have available these files directly en the official SVN distribution. I leave to you the decision on this. > One additional notice, CppCMS is officially beta version and its ABI is not > stabilized, however > I do not update SOVERSION as I expect that first official - non-beta release > would have > SOVERSION 1. > > Artyom > > Thanks for your words of support for my work, that encourages me to continue to support and assist wherever possible to this great software. Thanks to you, Artyom, for sharing this as free software with everyone. Mario |