Re: Packaging: bin subfolder

2014-05-30 Thread Ralf Corsepius

On 05/29/2014 11:27 PM, Sandro Mani wrote:

Hi,

I'm working on packaging Salome (The Open Source Integration Platform
for Numerical Simulation) [1], and the cmake scripts there install tons
of binaries and python scripts to the /usr/bin/salome folder. Is this
acceptable?

No. /usr/bin is not supposed to carry subdirs.

Depending on what these files actually are (I don't know anything about 
this package), installing them to %{_libexecdir} or %{libdir}/package 
might be advisable.


Ralf


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-30 Thread Kevin Kofler
Ralf Corsepius wrote:
 Depending on what these files actually are (I don't know anything about
 this package), installing them to %{_libexecdir} or %{libdir}/package
 might be advisable.

IMHO, %{_libexecdir}/salome/ is the best place.

Kevin Kofler

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-30 Thread Ralf Corsepius

On 05/30/2014 12:28 PM, Kevin Kofler wrote:

Ralf Corsepius wrote:

Depending on what these files actually are (I don't know anything about
this package), installing them to %{_libexecdir} or %{libdir}/package
might be advisable.


IMHO, %{_libexecdir}/salome/ is the best place.

Absolutly - The %{_libexecdir} above was an oversight on my part. Sorry 
for the confusion.


Ralf
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-30 Thread Sandro Mani


On 30.05.2014 14:08, Ralf Corsepius wrote:

On 05/30/2014 12:28 PM, Kevin Kofler wrote:

Ralf Corsepius wrote:

Depending on what these files actually are (I don't know anything about
this package), installing them to %{_libexecdir} or %{libdir}/package
might be advisable.


IMHO, %{_libexecdir}/salome/ is the best place.

Absolutly - The %{_libexecdir} above was an oversight on my part. 
Sorry for the confusion.


Ralf

Ok, I'll do that.

Thanks,
Sandro

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Packaging: bin subfolder

2014-05-29 Thread Sandro Mani

Hi,

I'm working on packaging Salome (The Open Source Integration Platform 
for Numerical Simulation) [1], and the cmake scripts there install tons 
of binaries and python scripts to the /usr/bin/salome folder. Is this 
acceptable?


Thanks,
Sandro


[1] http://www.salome-platform.org/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-29 Thread Paulo César Pereira de Andrade
2014-05-29 18:27 GMT-03:00 Sandro Mani manisan...@gmail.com:
 Hi,

  Hi,

 I'm working on packaging Salome (The Open Source Integration Platform for
 Numerical Simulation) [1], and the cmake scripts there install tons of

  I packaged and maintained it packaged in Mandriva for a few years.
If I recall correctly, it is (kind of) salome solution to avoid name clashes.

 binaries and python scripts to the /usr/bin/salome folder. Is this
 acceptable?

  I believe a symbolic link should be acceptable. Actually creating a subdir
would probably have a lot of opposition, but it should be possible to
reconfigure salome to use %_libexecdir/salome or %_libdir/salome

 Thanks,
 Sandro


 [1] http://www.salome-platform.org/

Paulo
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-29 Thread Sandro Mani



binaries and python scripts to the /usr/bin/salome folder. Is this
acceptable?

   I believe a symbolic link should be acceptable. Actually creating a subdir
would probably have a lot of opposition, but it should be possible to
reconfigure salome to use %_libexecdir/salome or %_libdir/salome
Yeah reconfiguring is not an issue, and if the symlink solution is 
accepted I'd be happy. I'd just prefer not to break the install 
hierarchy too much so that various documentation and stuff on the net 
also applies to Fedora as far as possible.



Thanks,
Sandro

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Packaging: bin subfolder

2014-05-29 Thread Toshio Kuratomi
On Thu, May 29, 2014 at 11:56:02PM +0200, Sandro Mani wrote:
 
 binaries and python scripts to the /usr/bin/salome folder. Is this
 acceptable?
I believe a symbolic link should be acceptable. Actually creating a subdir
 would probably have a lot of opposition, but it should be possible to
 reconfigure salome to use %_libexecdir/salome or %_libdir/salome
 Yeah reconfiguring is not an issue, and if the symlink solution is
 accepted I'd be happy. I'd just prefer not to break the install
 hierarchy too much so that various documentation and stuff on the net
 also applies to Fedora as far as possible.
 
nod  Probably %{_libdir}/salome/REAL_FILES  and
%{_bindir}/SYMLINKS_TO_REAL_FILES.  If there is a concern that salome's
files will conflict with other things in %{_bindir} the symlinks probably
need to have a prefix like salome-SYMLINK.

-Toshio


pgpjAguzoXqEg.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct