Bug#482054: ITP: libio-compress-bzip2-perl -- Read and write bzip2-compressed files and buffers in perl

2008-05-20 Thread Bas Zoetekouw
Package: wnpp
Severity: wishlist
Owner: Bas Zoetekouw <[EMAIL PROTECTED]>

* Package name: libio-compress-bzip2-perl
  Version : 2.011
  Upstream Author : Paul Marquess <[EMAIL PROTECTED]>
* URL : * http://search.cpan.org/~pmqs/IO-Compress-Bzip2-2.011/
* License : dual GPL1+ and Artistic
  Programming Lang: Perl
  Description : Read and write bzip2-compressed files and buffers in perl

 This package provides a Perl interface that allows reading and
 writing bzip2 compressed data to files or buffers.

 It contains two perl modules: IO::Compress::Bunzip2 and
 IO::Uncompress::Bunzip2.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: bzip2 compressed files

1999-01-25 Thread Josip Rodin
On Mon, Jan 25, 1999 at 11:49:43AM +, Russell Coker wrote:
> >...but I wouldn't do that *and* remove that .tgz completely, or
> >hhaving all the .debs converted to tbz2.
> 
> I agree, we're not ready for that yet.  However we only need bzip2 in the
> base if we have bzip2 compressed .deb packages in the main sections.
> If only xbooks, dictionaries, and bible references are bzip2 compressed
> then most people won't need bzip2.

Yes, but the bible (king james') is in main, and so are RFCs and xbooks.
If you'd want to make a fresh installation of debian from a CD, you'd
need bzip2 to decompress these -=> bzip2 would *have* to be in base or
dselect/dpkg would give 'Error 1' and quit when they encountered such
.debs. And making these packages Depend: on bzip2 is dumb.
If you propose putting these (and some other) large packages in some other
directory in the main archive and them compressing them with bzip2, fine,
but that is something different.

> >BTW if we leave the tgz-inside debs along with tbz2-inside ones, the
> >mirror list would shorten, because it would double (already alarming :)
> >archive size.
> 
> Definately not!

Not all people can afford to give more than 10 GB only for a doubled Debian
archive.

> Maybe we should have two copies of the package files and contents files
> as they get downloaded more often.

Certainly. We should submit a wishlist bug against dpkg/dselect to support
these bzip2 compressed files. Even if it had to be a dselect-bzip2 package.

> However I strongly believe that packages such as xbooks should only be
> available with bzip2 compression.

Yes, they are rather huge. Maybe a new section, like the one that was
proposed by people who'd like to upload vast amounts of geographical (and
other kinds of) data.

I'd vote for opening a new directory, ftp.debian.org/debian/data/ or
something like that, with subsections like 'doc', 'geo', 'space' etc.

--
enJoy -*/\*- http://jagor.srce.hr/~jrodin/



Re: bzip2 compressed files

1999-01-25 Thread Russell Coker
On Fri, 22 Jan 1999, you wrote:
>> I believe that eventually bzip2 support should be added to dselect and
>> dpkg (I would like to have packages such as xbooks compressed by bzip2).
>
>That would be nice as an additional option...
>
>> I doubt that 180K would be added if it became base_2.2.tbz2, in fact
>> it would probably be smaller.
>
>...but I wouldn't do that *and* remove that .tgz completely, or
>hhaving all the .debs converted to tbz2.

I agree, we're not ready for that yet.  However we only need bzip2 in the base
if we have bzip2 compressed .deb packages in the main sections.  If only
xbooks, dictionaries, and bible references are bzip2 compressed then most people
won't need bzip2.

>BTW if we leave the tgz-inside debs along with tbz2-inside ones, the
>mirror list would shorten, because it would double (already alarming :)
>archive size.

Definately not!  Maybe we should have two copies of the package files and
contents files as they get downloaded more often.  However I strongly believe
that packages such as xbooks should only be available with bzip2 compression.

--
I am in London and would like to meet any Linux users here.
I plan to work in London for 6 months and then I might move to some other
place where the pay is good.



Re: bzip2 compressed files

1999-01-22 Thread Josip Rodin
On Fri, Jan 22, 1999 at 03:28:04PM +, Russell Coker wrote:
> >> Would it be possible to have files such as Contents*.gz also provided in 
> >> bzip2
> >> format to reduce download times when using slow links?
> >
> >Good idea. And Packages files too.
> >
> >But that would need implementation in dselect, and will only work
> >if bzip2 is already installed. Bzip2 package is not in base IIRC,
> >and that would require a bit more changing, like adding another
> >180.6k to base_2.2.tgz. I'm sure that there are more problems...
> 
> I believe that eventually bzip2 support should be added to dselect and
> dpkg (I would like to have packages such as xbooks compressed by bzip2).

That would be nice as an additional option...

> I doubt that 180K would be added if it became base_2.2.tbz2, in fact
> it would probably be smaller.

...but I wouldn't do that *and* remove that .tgz completely, or
having all the .debs converted to tbz2.

Bzip2 is very nice, and has become pretty fast, but gzip's advantage
is that it is very widely used, and has become a tradition. Making
Debian files uncompressable on most other systems just to reduce the
size of some files by let's say 15% seems unreasonable *now*.

Believe me, I *would* feel the difference (writing this at CONNECT 16800),
but I feel also that it is not worth of this kind of radical change.

BTW if we leave the tgz-inside debs along with tbz2-inside ones, the
mirror list would shorten, because it would double (already alarming :)
archive size.

> htget ftp://ftp.debian.org/.../Packages.bz2 | bzip2 -d >
> /var/state/apt/lists/ftp.debian.org.whatever
> 
> Then you have to get apt to recognise the files, once APT is happy then
> everything will be fine.

I'll try that, thanks.

> But the real solution is to change dselect and dpkg.

Indeed, but only as an option, not the default.

--
enJoy -*/\*- http://jagor.srce.hr/~jrodin/



Re: bzip2 compressed files

1999-01-22 Thread Russell Coker
On Fri, 22 Jan 1999, Josip Rodin wrote:
>On Fri, Jan 22, 1999 at 01:22:56PM +, Russell Coker wrote:
>> Would it be possible to have files such as Contents*.gz also provided in 
>> bzip2
>> format to reduce download times when using slow links?
>
>Good idea. And Packages files too.
>
>But that would need implementation in dselect, and will only work
>if bzip2 is already installed. Bzip2 package is not in base IIRC,
>and that would require a bit more changing, like adding another
>180.6k to base_2.2.tgz. I'm sure that there are more problems...

I believe that eventually bzip2 support should be added to dselect and dpkg (I
would like to have packages such as xbooks compressed by bzip2).
I doubt that 180K would be added if it became base_2.2.tbz2, in fact it would
probably be smaller.

>Is there a way to manually download the Packages.bz2, unpack
>it somewhere and make dselect use it? I remember something like
>/var/lib/dpkg/methods/ftp/packages_something but I'm not sure.

htget ftp://ftp.debian.org/.../Packages.bz2 | bzip2 -d >
/var/state/apt/lists/ftp.debian.org.whatever

Then you have to get apt to recognise the files, once APT is happy then
everything will be fine.  But the real solution is to change dselect and dpkg.

--
I am in London and would like to meet any Linux users here.
I plan to work in London for 3 - 6 months...



Re: bzip2 compressed files

1999-01-22 Thread Josip Rodin
On Fri, Jan 22, 1999 at 01:22:56PM +, Russell Coker wrote:
> Would it be possible to have files such as Contents*.gz also provided in bzip2
> format to reduce download times when using slow links?

Good idea. And Packages files too.

But that would need implementation in dselect, and will only work
if bzip2 is already installed. Bzip2 package is not in base IIRC,
and that would require a bit more changing, like adding another
180.6k to base_2.2.tgz. I'm sure that there are more problems...

Is there a way to manually download the Packages.bz2, unpack
it somewhere and make dselect use it? I remember something like
/var/lib/dpkg/methods/ftp/packages_something but I'm not sure.

--
enJoy -*/\*- http://jagor.srce.hr/~jrodin/



bzip2 compressed files

1999-01-22 Thread Russell Coker
Would it be possible to have files such as Contents*.gz also provided in bzip2
format to reduce download times when using slow links?