Page 1 of 1
[fixed] Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-28T03:40:05-07:00
by broucaries
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
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-28T05:34:25-07:00
by magick
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.
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-28T05:44:20-07:00
by broucaries
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
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-28T06:56:51-07:00
by magick
Agreed. Look for a patch in ImageMagick 6.6.9-0 Beta by sometime tomorrow.
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-30T04:14:43-07:00
by broucaries
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
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-30T07:08:59-07:00
by magick
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.
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-31T05:19:47-07:00
by broucaries
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
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-31T06:08:30-07:00
by magick
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
Before we lock this down, any last minute movements of configuration files?
Re: Unpackagable imagemagick for debian: LFS violation
Posted: 2011-03-31T08:36:51-07:00
by broucaries
you said:
-> 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
We firmly believe that:
-> 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
Posted: 2011-03-31T10:39:46-07:00
by magick
We have applied a patch to ImageMagick 6.6.9-2 Beta (available by sometime tomorrow) to distribute the files as you recommend. Thanks.