FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-30-2008, 01:01 PM
Albert Hopkins
 
Default How to prevent documentation in /usr/share/doc from being bzip2'ed ?

On Thu, 2008-10-30 at 19:13 +0530, Ashish Shukla आशीष शुक्ल wrote:
> While trying to lookup XCB API documentation (
> /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now
> I'm wondering is there anyway to install that documentation in the
> decompressed form, hmm...?


See the PORTAGE_COMPRESS* variables in the make.conf man page. I
typically use

PORTAGE_COMPRESS=""

HTH,
-a
 
Old 10-30-2008, 09:55 PM
Albert Hopkins
 
Default How to prevent documentation in /usr/share/doc from being bzip2'ed ?

> ,----
> | % emerge --info libxcb
> | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
[blah]

> Any ideas why PORTAGE_COMPRESS_* aren't set on my box.

Because you haven't set them. Therefore they take the defaults. BTW,
'emerge --info' doesn't print out every portage variable, only the
"interesting" ones (e.g. ones useful for submitting bug reports).

> BtW, how do I see
> what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to.

# cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults
|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES

Also the man page for make.conf lists many common defaults.
 
Old 10-30-2008, 11:38 PM
 
Default How to prevent documentation in /usr/share/doc from being bzip2'ed ?

On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote:
> Why not go even easier and use bzcat,bzless,zcat,and zless

Because bzgrep and many others haven't been written.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 
Old 10-30-2008, 11:40 PM
 
Default How to prevent documentation in /usr/share/doc from being bzip2'ed ?

On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote:

> less /usr/share/doc/libxcb/manual/blah.doc.bz2
> cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d
> cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2

and grep?

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 
Old 10-31-2008, 04:42 AM
 
Default How to prevent documentation in /usr/share/doc from being bzip2'ed ?

On Thu, Oct 30, 2008 at 07:23:09PM -0700, Andrey Falko wrote:

> It does get a little annoying when you want to use grep for all files in the
> directory, but nothing a little for loop cannot fix:
>
> for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done

Sorry, not good enough. The disk space taken by uncompressed docs is
hardly significant these days, and grep -r is too handy to have to
live with shell programming just because part of the disk is compressed.

--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
 

Thread Tools




All times are GMT. The time now is 10:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org