<div dir="ltr"><div><div><div>Hello,<br></div>I am trying to package STLPlus (<a href="http://sourceforge.net/projects/stlplus/files/stlplus3/" target="_blank">sourceforge.net/projects/<wbr>stlplus/files/stlplus3/</a>) library for fedora. There are few doubts I have in mind regarding packaging it.<br><br></div>1. The library is dependent on another project viz. 'makefiles' (<a href="http://sourceforge.net/projects/stlplus/files/makefiles/" target="_blank">http://sourceforge.net/<wbr>projects/stlplus/files/<wbr>makefiles/</a>). This project is also distributed in a separate tar ball. This project only contains few helper files that are included by the STLPlus library's makefile (Hence, STLPlus requires this package for build only). Other projects can also make use of this project to write their makefiles quickly. I think makefiles project is more generic and not quite specific to STLPlus, hence must be packaged separately. Is it right to package it separately ? Though I understand that 'makefiles' name is too general and should be renamed to something else may be ?<br><br></div>2. Re. Location of 'makefiles' project : Since, it only contains few helper files, I am wondering what would be the best location for installing these files ? datadir ? libdir ?<br clear="all"><br>-- <br><div dir="ltr"><div>Regards,<br>Pranav Kant,<br></div><div>Department of Computer Science<br>National Institute of Technology Hamirpur<br></div><div><a href="http://pricked.in/" target="_blank">http://pricked.in/</a><br></div></div> </div>
Pranav,
Can you please re-send the e-mail without all the unnecessary HTML tags? Your e-mail is quite unreadable at the moment.
On Wed, 2014-10-01 at 05:11 -0400, Pranav Kant wrote:
<div dir="ltr"><div><div><div>Hello,<br></div>I am trying to package STLPlus (<a href="http://sourceforge.net/projects/stlplus/files/stlplus3/" target="_blank">sourceforge.net/projects/<wbr>stlplus/files/stlplus3/</a>) library for fedora. There are few doubts I have in mind regarding packaging it.<br><br></div>1. The library is dependent on another project viz. 'makefiles' (<a href="http://sourceforge.net/projects/stlplus/files/makefiles/" target="_blank">http://sourceforge.net/<wbr>projects/stlplus/files/<wbr>makefiles/</a>). This project is also distributed in a separate tar ball. This project only contains few helper files that are included by the STLPlus library's makefile (Hence, STLPlus requires this package for build only). Other projects can also make use of this project to write their makefiles quickly. I think makefiles project is more generic and not quite specific to STLPlus, hence must be packaged separately. Is it right to package it separately ? Though I understand that 'makefiles' name is too general and should be renamed to something else may be ?<br><br></div>2. Re. Location of 'makefiles' project : Since, it only contains few helper files, I am wondering what would be the best location for installing these files ? datadir ? libdir ?<br clear="all"><br>-- <br><div dir="ltr"><div>Regards,<br>Pranav Kant,<br></div><div>Department of Computer Science<br>National Institute of Technology Hamirpur<br></div><div><a href="http://pricked.in/" target="_blank">http://pricked.in/</a><br></div></div> </div>
Hello,
I am trying to package STLPlus ( sourceforge.net/projects/stlplus/files/stlplus3/) library for fedora. There are few doubts I have in mind regarding packaging it.
1. The library is dependent on another project viz. 'makefiles' ( http://sourceforge.net/projects/stlplus/files/makefiles/). This project is also distributed in a separate tar ball. This project only contains few helper files that are included by the STLPlus library's makefile (Hence, STLPlus requires this package for build only). Other projects can also make use of this project to write their makefiles quickly. I think makefiles project is more generic and not quite specific to STLPlus, hence must be packaged separately. Is it right to package it separately ? Though I understand that 'makefiles' name is too general and should be renamed to something else may be ?
2. Re. Location of 'makefiles' project : Since, it only contains few helper files, I am wondering what would be the best location for installing these files ? datadir ? libdir ?
On Wed, 2014-10-01 at 06:06 -0400, Pranav Kant wrote:
Hello,
I am trying to package STLPlus (sourceforge.net/projects/stlplus/files/stlplus3/) library for fedora. There are few doubts I have in mind regarding packaging it.
- The library is dependent on another project viz.
'makefiles' (http://sourceforge.net/projects/stlplus/files/makefiles/). This project is also distributed in a separate tar ball. This project only contains few helper files that are included by the STLPlus library's makefile (Hence, STLPlus requires this package for build only). Other projects can also make use of this project to write their makefiles quickly. I think makefiles project is more generic and not quite specific to STLPlus, hence must be packaged separately. Is it right to package it separately ? Though I understand that 'makefiles' name is too general and should be renamed to something else may be ?
"makefiles" should be packaged separately, yes. There's nothing in the guidelines that stops you from using "makefiles" as the name. It doesn't conflict with any other package. It'd be a good idea to see what name other distributions use, but I think you should be able to use "makefiles" without any trouble.
http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Package_Naming_and_...
- Re. Location of 'makefiles' project : Since, it only contains few
helper files, I am wondering what would be the best location for installing these files ? datadir ? libdir ?
datadir seems to fit best to me. libdir is reserved for object libraries and some executables according to the FHS:
/usr/lib Object libraries, including dynamic libraries, plus some executables which usually are not invoked directly. More complicated programs may have whole subdirectories there.
On Wed, Oct 01, 2014 at 06:06:44AM -0400, Pranav Kant wrote:
Hello,
I am trying to package STLPlus ( sourceforge.net/projects/stlplus/files/stlplus3/) library for fedora. There are few doubts I have in mind regarding packaging it.
- The library is dependent on another project viz. 'makefiles' (
http://sourceforge.net/projects/stlplus/files/makefiles/). This project is also distributed in a separate tar ball. This project only contains few helper files that are included by the STLPlus library's makefile (Hence, STLPlus requires this package for build only). Other projects can also make use of this project to write their makefiles quickly. I think makefiles project is more generic and not quite specific to STLPlus, hence must be packaged separately. Is it right to package it separately ? Though I understand that 'makefiles' name is too general and should be renamed to something else may be ?
I'm not sure if in this case the split is worth the additional time of you, the reviewers, users, etc. Custom written makefiles are mostly a thing of the past, and the great majority of projects are using autotools, cmake, or language specific helpers. IMHO, chances that any other project would start using 'makefiles' is approx. nil. So maybe just treat this as sigle project in two tarfiles.
- Re. Location of 'makefiles' project : Since, it only contains few helper
files, I am wondering what would be the best location for installing these files ? datadir ? libdir ?
This seems like a lot of work, for ultimately no gain, or even negative gain, since every new project with a custom build system is a PITA.
Zbyszek
devel@lists.stg.fedoraproject.org