[fixed] Unpackagable imagemagick for debian: LFS violation
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
[fixed] Unpackagable imagemagick for debian: LFS violation
Hi,
I cannot package imagemagick for debian due to recent change.
You move configuration file to /prefix/etc/imagemagick-version and you allow only modification from configure of /etc/ part. Configuration file per version is not really nice for our user. Could we custumize the whole path from configure ?
Moreover you move some livraries configuration file to /var.
First I disagree with your slip.
While configure.xml, lang.xml (english, french), locale.xml are really compile time stuff, delegate.xml , type*.xml and policy belong to /etc/ and thus is a LFS violation
Morevover we could not customize the full path where to store this libraries generated file.
We under debian firmly believe they belong under /usr/lib subdirectory
Regards
Bastien
I cannot package imagemagick for debian due to recent change.
You move configuration file to /prefix/etc/imagemagick-version and you allow only modification from configure of /etc/ part. Configuration file per version is not really nice for our user. Could we custumize the whole path from configure ?
Moreover you move some livraries configuration file to /var.
First I disagree with your slip.
While configure.xml, lang.xml (english, french), locale.xml are really compile time stuff, delegate.xml , type*.xml and policy belong to /etc/ and thus is a LFS violation
Morevover we could not customize the full path where to store this libraries generated file.
We under debian firmly believe they belong under /usr/lib subdirectory
Regards
Bastien
Last edited by broucaries on 2011-04-21T05:37:47-07:00, edited 1 time in total.
Re: Unpackagable imagemagick for debian: LFS violation
Putting the configuration files in /var was a temporary bug. The latest release, ImageMagick 6.6.8-10 puts the configure files in etc/ImageMagick-version and usr/share/ImageMagick-version. The changes were brought about from a request from another Linux package maintainer. Would it be sufficient to meet Debian goals if we removed the /etc/ImageMagick-version and used /etc/ImageMagick instead? Note in 6.6.8-10, delegate.xml, type*xml are in etc/ImageMagick-version.
We'll remove the version suffix in ImageMagick 6.6.9 and place the configure files in /etc/ImageMagick. If you have any other requirements let us know.
We'll remove the version suffix in ImageMagick 6.6.9 and place the configure files in /etc/ImageMagick. If you have any other requirements let us know.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Unpackagable imagemagick for debian: LFS violation
I agree with you with the /etc/ImageMagick part
but configure.xml, [english-french].xml, locale.xml are the only stuff compile time stuff and thus belong to /prefix/lib/imagemagick-version
Delegate is a **configuration** file (also type*.xml and policy.xml).
Bastien
but configure.xml, [english-french].xml, locale.xml are the only stuff compile time stuff and thus belong to /prefix/lib/imagemagick-version
Delegate is a **configuration** file (also type*.xml and policy.xml).
Bastien
Re: Unpackagable imagemagick for debian: LFS violation
Agreed. Look for a patch in ImageMagick 6.6.9-0 Beta by sometime tomorrow.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Unpackagable imagemagick for debian: LFS violation
It is not perfect ....
/usr/share/ImageMagick-6.6.9$ ls
ChangeLog coder.xml configure.xml delegates.xml english.xml francais.xml LICENSE locale.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml
coder.xml delegates.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml are configuration file....
Morevoer
Changelog Licence and News.text need to go to /usr/share/doc/Imagemagick
Thanks
Bastien
/usr/share/ImageMagick-6.6.9$ ls
ChangeLog coder.xml configure.xml delegates.xml english.xml francais.xml LICENSE locale.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml
coder.xml delegates.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml are configuration file....
Morevoer
Changelog Licence and News.text need to go to /usr/share/doc/Imagemagick
Thanks
Bastien
Re: Unpackagable imagemagick for debian: LFS violation
Ok, Changelog Licence and News.text goes to /usr/share/doc/Imagemagick.
Is there any reason coder.xml configure.xml delegates.xml english.xml francais.xml locale.xml magic.xml mime.xml sRGB.icm thresholds.xml can't go to /usr/share/ImageMagick/config? If not where should these config files go. You suggested they do not belong in /etc/ImageMagick.
Is there any reason coder.xml configure.xml delegates.xml english.xml francais.xml locale.xml magic.xml mime.xml sRGB.icm thresholds.xml can't go to /usr/share/ImageMagick/config? If not where should these config files go. You suggested they do not belong in /etc/ImageMagick.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Unpackagable imagemagick for debian: LFS violation
I said this:
>usr/share/ImageMagick-6.6.9$ ls
>ChangeLog coder.xml configure.xml delegates.xml english.xml francais.xml LICENSE locale.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml
It is a copy of the ls output not config/not config file
>coder.xml delegates.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml are configuration file....
Are the only config file and we customize it under debian
"english.xml francais.xml locale.xml " belong to /usr/lib/ because they are not cross version
Bastien
>usr/share/ImageMagick-6.6.9$ ls
>ChangeLog coder.xml configure.xml delegates.xml english.xml francais.xml LICENSE locale.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml
It is a copy of the ls output not config/not config file
>coder.xml delegates.xml magic.xml mime.xml NEWS.txt sRGB.icm thresholds.xml are configuration file....
Are the only config file and we customize it under debian
"english.xml francais.xml locale.xml " belong to /usr/lib/ because they are not cross version
Bastien
Re: Unpackagable imagemagick for debian: LFS violation
Here is the current configuration. We use two locations for the configuration files: etc/ImageMagick and share/ImageMagick-version/config. We could add a third, usr/lib/ImageMagick-version, but we would prefer not too.
- -> ls etc/ImageMagick/
colors.xml policy.xml type-ghostscript.xml type.xml
log.xml type-dejavu.xml type-windows.xml
-> ls share/ImageMagick-6.6.9/config
coder.xml delegates.xml francais.xml magic.xml sRGB.icm
configure.xml english.xml locale.xml mime.xml thresholds.xml
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Unpackagable imagemagick for debian: LFS violation
you said:
-> ls etc/ImageMagick/
colors.xml policy.xml type-ghostscript.xml type.xml
log.xml type-dejavu.xml type-windows.xml
coder.xml delegates.xml
magic.xml sRGB.icm
mime.xml thresholds.xml
-> ls share/ImageMagick-6.6.9/config
francais.xml
configure.xml english.xml locale.xml
Is better
Bastien
We firmly believe that:-> ls etc/ImageMagick/
colors.xml policy.xml type-ghostscript.xml type.xml
log.xml type-dejavu.xml type-windows.xml
-> ls share/ImageMagick-6.6.9/config
coder.xml delegates.xml francais.xml magic.xml sRGB.icm
configure.xml english.xml locale.xml mime.xml thresholds.xm
-> ls etc/ImageMagick/
colors.xml policy.xml type-ghostscript.xml type.xml
log.xml type-dejavu.xml type-windows.xml
coder.xml delegates.xml
magic.xml sRGB.icm
mime.xml thresholds.xml
-> ls share/ImageMagick-6.6.9/config
francais.xml
configure.xml english.xml locale.xml
Is better
Bastien
Re: Unpackagable imagemagick for debian: LFS violation
We have applied a patch to ImageMagick 6.6.9-2 Beta (available by sometime tomorrow) to distribute the files as you recommend. Thanks.