Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-13 Thread Aron Xu
On Sun, Feb 12, 2012 at 08:00, Carsten Hey wrote: > * Aron Xu [2012-02-09 01:22 +0800]: >> Some packages come with data files that endianness matters, and many >> of them are large enough to split into a separate arch:all package if >> endianness were not something to care about. ... > > Debian Po

Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-11 Thread Carsten Hey
* Aron Xu [2012-02-09 01:22 +0800]: > Some packages come with data files that endianness matters, and many > of them are large enough to split into a separate arch:all package if > endianness were not something to care about. ... Debian Policy, begin of section 5.6.8: | Depending on context and th

Re: Endianness of data files in MultiArch

2012-02-11 Thread Goswin von Brederlow
Aron Xu writes: > On Sat, Feb 11, 2012 at 00:14, Osamu Aoki wrote: >> [...] >> >> Just think any phrase data with its content size in 16bit integer. >> >> I have bigger example :-) >> >> ipadic: Uncompressed size: 44.5 M >> >> This one, I made them arch:any to build many binary packages.  Simila

Re: Endianness of data files in MultiArch

2012-02-10 Thread Osamu Aoki
Hi, On Sat, Feb 11, 2012 at 08:40:35AM +0800, Aron Xu wrote: > On Sat, Feb 11, 2012 at 00:14, Osamu Aoki wrote: > > [...] > > > > Just think any phrase data with its content size in 16bit integer. > > > > I have bigger example :-) > > > > ipadic: Uncompressed size: 44.5 M > > > > This one, I made

Re: Endianness of data files in MultiArch

2012-02-10 Thread Aron Xu
On Sat, Feb 11, 2012 at 09:36, Russ Allbery wrote: > Aron Xu writes: > >> This trick is broken. Dpkg doesn't have similar features like `rpm -V` >> at present, which verifies if files on disk are identical to what was >> installed. > > That's what debsums does. > Thanks for updating me! -- R

Re: Endianness of data files in MultiArch

2012-02-10 Thread Russ Allbery
Aron Xu writes: > This trick is broken. Dpkg doesn't have similar features like `rpm -V` > at present, which verifies if files on disk are identical to what was > installed. That's what debsums does. -- Russ Allbery (r...@debian.org) -- To UNSUBS

Re: Endianness of data files in MultiArch

2012-02-10 Thread Aron Xu
On Sat, Feb 11, 2012 at 00:14, Osamu Aoki wrote: > [...] > > Just think any phrase data with its content size in 16bit integer. > > I have bigger example :-) > > ipadic: Uncompressed size: 44.5 M > > This one, I made them arch:any to build many binary packages.  Similar > packages use install time

Re: Endianness of data files in MultiArch

2012-02-10 Thread Aron Xu
On Fri, Feb 10, 2012 at 19:59, Goswin von Brederlow wrote: > Aron Xu writes: > >> Sorry, the thread was broken and I saw your reply just now. >> >> On Thu, Feb 9, 2012 at 16:23, Jan Hauke Rahm wrote: >>> On Thu, Feb 09, 2012 at 01:58:28AM +0800, Aron Xu wrote: This is valid for most-us

Re: Endianness of data files in MultiArch

2012-02-10 Thread Osamu Aoki
Hi, On Fri, Feb 10, 2012 at 12:59:15PM +0100, Goswin von Brederlow wrote: > Aron Xu writes: > > > Sorry, the thread was broken and I saw your reply just now. > > > > On Thu, Feb 9, 2012 at 16:23, Jan Hauke Rahm wrote: > >> On Thu, Feb 09, 2012 at 01:58:28AM +0800, Aron Xu wrote: > >>> > >>> Thi

Re: Endianness of data files in MultiArch

2012-02-10 Thread Goswin von Brederlow
Aron Xu writes: > Sorry, the thread was broken and I saw your reply just now. > > On Thu, Feb 9, 2012 at 16:23, Jan Hauke Rahm wrote: >> On Thu, Feb 09, 2012 at 01:58:28AM +0800, Aron Xu wrote: >>> >>> This is valid for most-used applications/formats like gettext, images >>> that are designed to

Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-09 Thread Aron Xu
Sorry, the thread was broken and I saw your reply just now. On Thu, Feb 9, 2012 at 16:23, Jan Hauke Rahm wrote: > On Thu, Feb 09, 2012 at 01:58:28AM +0800, Aron Xu wrote: >> >> This is valid for most-used applications/formats like gettext, images >> that are designed to behave in this way, but on

Re: Endianness of data files in MultiArch

2012-02-09 Thread Aron Xu
On Thu, Feb 9, 2012 at 20:52, Goswin von Brederlow wrote: > > It should be possible to build a converter or generator that can output > either endianess. So you could have a single arch:all package with both > /usr/share/$package/data/{be,le} in it or to generate the right > endianness on install.

Re: Endianness of data files in MultiArch

2012-02-09 Thread Goswin von Brederlow
Guillem Jover writes: > On Thu, 2012-02-09 at 13:52:34 +0100, Goswin von Brederlow wrote: >> Aron Xu writes: >> > This looks not very nice, because we need to maintain a list of >> > architectures in debian/control, and when new architectures are added >> > the package is potentially broken. >>

Re: Endianness of data files in MultiArch

2012-02-09 Thread Guillem Jover
On Thu, 2012-02-09 at 13:52:34 +0100, Goswin von Brederlow wrote: > Aron Xu writes: > > This looks not very nice, because we need to maintain a list of > > architectures in debian/control, and when new architectures are added > > the package is potentially broken. > > If endian dependend data is

Re: Endianness of data files in MultiArch

2012-02-09 Thread Goswin von Brederlow
Aron Xu writes: > On Thu, Feb 9, 2012 at 01:35, Simon McVittie wrote: >> On 08/02/12 17:22, Aron Xu wrote: >>> Some packages come with data files that endianness matters, and many >>> of them are large enough to split into a separate arch:all package if >>> endianness were not something to care

Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-09 Thread Jan Hauke Rahm
On Thu, Feb 09, 2012 at 01:58:28AM +0800, Aron Xu wrote: > On Thu, Feb 9, 2012 at 01:35, Simon McVittie wrote: > > On 08/02/12 17:22, Aron Xu wrote: > >> Some packages come with data files that endianness matters, and many > >> of them are large enough to split into a separate arch:all package if

Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-08 Thread Aron Xu
On Thu, Feb 9, 2012 at 01:35, Simon McVittie wrote: > On 08/02/12 17:22, Aron Xu wrote: >> Some packages come with data files that endianness matters, and many >> of them are large enough to split into a separate arch:all package if >> endianness were not something to care about. AFAIK some mainta

Re: Endianness of data files in MultiArch (was: Please test gzip -9n - related to dpkg with multiarch support)

2012-02-08 Thread Simon McVittie
On 08/02/12 17:22, Aron Xu wrote: > Some packages come with data files that endianness matters, and many > of them are large enough to split into a separate arch:all package if > endianness were not something to care about. AFAIK some maintainers > are not aware of endianness issues in their packag