Bug#826522: Set the plugin directory

2016-06-30 Thread Jérôme Kieffer
On Thu, 30 Jun 2016 21:51:19 +0200
Gilles Filippini  wrote:


> No need to clutter it up. There is the environment variable HDF5_PLUGIN_PATH. 
> From the HDF5 filters doc [1]:
> > The default path can be overwritten by a user with the HDF5_PLUGIN_PATH 
> > environment variable. Several directories can be specified for the search 
> > path using “:” as a path separator for UNIX-like systems and “;” for 
> > Windows.
> 
> [1] 
> https://www.hdfgroup.org/HDF5/doc/Advanced/DynamicallyLoadedFilters/HDF5DynamicallyLoadedFilters.pdf
> 
> For now I'd rather stay with the above default configuration, until new real 
> life cases are submitted.

I agree. Then we will be able to package the various plugins and distribute 
them.

Cheers,

Jerome K.


pgptpRwEDDUiC.pgp
Description: OpenPGP digital signature


Bug#826522: Set the plugin directory

2016-06-30 Thread Gilles Filippini
Jerome BENOIT a écrit le 29/06/2016 à 08:32 :
> Hi,
> 
> On 29/06/16 07:16, PICCA Frederic-Emmanuel wrote:
>>> I've juste uploaded release 1.10.0-patch1+docs-1~exp3 to experimental,
>>> configured with:
>>> --with-default-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins
> 
> 
>> Just for information do we have this plugin directory available in the 
>> pkg-config file in order to setup
>> the plugging directory for a third-party plugging project ?
> 
> 
> Should be easy to do, I guess.
> 
> Otherwise, would it be possible to add local plugins folder ?
> Something as:
> 
> --with-default-plugindir=/usr/local/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins:/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins

No need to clutter it up. There is the environment variable HDF5_PLUGIN_PATH. 
From the HDF5 filters doc [1]:
> The default path can be overwritten by a user with the HDF5_PLUGIN_PATH 
> environment variable. Several directories can be specified for the search 
> path using “:” as a path separator for UNIX-like systems and “;” for Windows.

[1] 
https://www.hdfgroup.org/HDF5/doc/Advanced/DynamicallyLoadedFilters/HDF5DynamicallyLoadedFilters.pdf

For now I'd rather stay with the above default configuration, until new real 
life cases are submitted.

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature


Bug#826522: Set the plugin directory

2016-06-29 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

On 29/06/16 07:16, PICCA Frederic-Emmanuel wrote:
>> I've juste uploaded release 1.10.0-patch1+docs-1~exp3 to experimental,
>> configured with:
>> --with-default-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins
> 
> 
> Just for information do we have this plugin directory available in the 
> pkg-config file in order to setup
> the plugging directory for a third-party plugging project ?
> 

Should be easy to do, I guess.

Otherwise, would it be possible to add local plugins folder ?
Something as:

- 
--with-default-plugindir=/usr/local/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins:/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins

> Cheers
> 
> Frederic
> 

Best wishes,
Jerome
-BEGIN PGP SIGNATURE-

iQQcBAEBCgAGBQJXc2txAAoJED+SGaZ/NsaL1Acf/1HGOJJ0rk2Wy6Zqs68uSbb5
sGMRQaSbmLVOMvwCTHHWDJ9JPFxJ6J73LnJHCdxF9SyW82MW9TDQ2z9idzOpv3l/
Q/46pjidqjfB1qK8+yPm+djrup+vmeUEiF257kWDS/BhUH4DeH5CT9aLNuZ4tQ14
7AYrMeaRUMyKRkCDeaZx7dZ2YWhjUvipFDA4gSrMjS0S7JQCI3CR9/WeTdmJJdRB
P3c+lEIrFN4PQ5VoS0vQJJZFqUJNM7PyIWt0jEi5+kgpyB4ZULqYz394dtzPrs2z
UGC/1IN7iwqDMA/cUtL2QOZyR8ug/KzBzWkTAwCnhH7w9LCLLgG1EubTsUUYbecY
q2H1HNAw8X6NU+LvTHJWoM+n/uenGLPbH6emhoozqMlo/UZfFPNzQATjiTHyPba3
IaEtEYUB6lbhxZk55q4Jz378o1XFJYhvBMSmSwsSaVcuPgYKN76uvIN+NTXbs3JM
CuiFZ7st5BiA/jzwj9TDiQe7JzVuxBz4SCrHkpUo6vLSW85eHnDx28OFpep8JSj4
YMr0RLvZNpnmssfFZNN96R0HYDRg/khzIXHtCD/ujfD7PJ+Bq91Lp05LWPSF5cu3
bz+K9pHVZWkc6Fr5+YSw5uqYONBXfSb/SLcpRE37qkhCu9RME81RXbba75jGa0vb
seJGNOpYwQLCR7+4HeL0xP/WgFWQmqHycI3BzN+kAtAaCq2+4kGV9B8Oug6Sp01d
H7Hac1LJMNGZ3cFMwlE7+iPgqBifj8ncYIJR9oLkxLmC2I5RNwMBpamX/723sSnm
RmeDx9C5u0/j17tjEbuq6ptqcddqBTC9pnKL+fKJjV6H0akkJL5PdIYj9y3K0+w4
3MxFT3AHHSMbEtZtd6EJWCeLO9wNhaFzESDTvy8lHQasKiMfXyj6qqmtbyvGKZEe
2f1+AyH6/h/oxVQmsAwQb8I8Vqib/lXHcBP0OXzQFf7qFHjjlRF4SYO7NWfNPzi1
5FKgrGEe04rdX6Ybuj05TE+dzcpHGT6kDy6bIDPYjX3hZfgsW9KJ/cEOo6H4Hqcn
Nm1XFXJ8At1uXlb4FzplHXJbkgvKzEipNFa2BV0LAnK1FhGqjQNiPZou0x4eMFQ4
aJseqAyxS/TeVSkmP783yxjQSkZQ2su3Ao2uBOVYZ3OFeLZON0QFjUD12R8Qcq3C
o4xmasRJkMiTkvVExWfXxVgOgIusiP0RAkzprDzsNzU4G/evZa/QmFFWvDS7tJ+Z
5jwPm/TQdbCAYD/kj9H0ie018zI8Wqg57G5pK1YkRBK2cGU39Xx0Tuu+q9Bt/TAT
R/REXz0v2gRaqvYN5Z2Dx0oqEVw3GqPZ2zLYLZFffafw3si6ydtZ58Toea2mo20=
=/MkG
-END PGP SIGNATURE-



Bug#826522: Set the plugin directory

2016-06-29 Thread PICCA Frederic-Emmanuel
what about the serial / openmp etc.. version of the plugings ?


Bug#826522: Set the plugin directory

2016-06-29 Thread PICCA Frederic-Emmanuel
> I've juste uploaded release 1.10.0-patch1+docs-1~exp3 to experimental,
> configured with:
> --with-default-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins


Just for information do we have this plugin directory available in the 
pkg-config file in order to setup
the plugging directory for a third-party plugging project ?

Cheers

Frederic


Bug#826522: Set the plugin directory

2016-06-29 Thread Gilles Filippini
Hi,

Jérôme Kieffer a écrit le 28/06/2016 à 09:16 :
> Dear HDF5 package maintainers,
> 
> Currently the debian build system does not enforce the plugin directory
> for HDF5 filters, defaulting to "/usr/local/hdf5/lib/plugin". I guess
> Debian would prefer something like:
> "/usr/share/hdf5/plugin" or even better:
> "/usr/lib/x86_64-linux-gnu/hdf5/plugins".
> 
> Would it be possible to specify the option 
> --with-default-plugindir=/usr/lib/x86_64-linux-gnu/hdf5/plugins
> to ./configure in order to re-locate those plugins and offer in
> external packages those plugins.
> 
> At synchrotrons, some of our detectors use LZ4 compression in HDF5
> files. Having plugins packaged and directly installable is real
> advantage compared to other operating systems.
> 
> Thanks for you comprehention.
> With my best regards,

I've juste uploaded release 1.10.0-patch1+docs-1~exp3 to experimental,
configured with:
--with-default-plugindir=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/plugins

Could you please give it a try?

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature


Bug#826522: Set the plugin directory

2016-06-28 Thread Jérôme Kieffer
Dear HDF5 package maintainers,

Currently the debian build system does not enforce the plugin directory
for HDF5 filters, defaulting to "/usr/local/hdf5/lib/plugin". I guess
Debian would prefer something like:
"/usr/share/hdf5/plugin" or even better:
"/usr/lib/x86_64-linux-gnu/hdf5/plugins".

Would it be possible to specify the option 
--with-default-plugindir=/usr/lib/x86_64-linux-gnu/hdf5/plugins
to ./configure in order to re-locate those plugins and offer in
external packages those plugins.

At synchrotrons, some of our detectors use LZ4 compression in HDF5
files. Having plugins packaged and directly installable is real
advantage compared to other operating systems.

Thanks for you comprehention.
With my best regards,

Jérôme Kieffer

REF: https://github.com/silx-kit/silx/issues/113