Re: [gentoo-dev] Re: CUPS 1.4 and FFMpeg 0.6
On 09/10/2010 03:45 AM, Christian Faulhammer wrote: > 1. Disable usblp in your kernel configuration by setting > CONFIG_USB_PRINTER=n. Don't forget to rebuild the kernel and reboot > with that new image. If you're like me and you have CONFIG_USB_PRINTER=m then the above suggestion is a bit extreme. All that I had to do was uncomment usblp in the /etc/modprobe.d/blacklist.conf file that's installed by sys-fs/udev-158 on my system. -- Thanks, Zac
Re: [gentoo-dev] omitting redirecting man pages from compression
On Tuesday, September 21, 2010 05:26:36 James Cloos wrote: > Ulrich Mueller writes: > > If we take the second route, then maybe it should be a more general > > solution, i.e. exclude all tiny files (man page or not) from > > compression? > > First, from a user’s perspective, not compressing small files is a good > thing. Man pages perhaps most of all, given makewhatis, et al. > (Think of all the C₁₂ which won’t be un-sequestered quite so soon. ☺ ;^) > > Ideally, there would be some way to configure, per filesystem and/or per > directory, what constitutes a small file. If the fs uses fixed-size > blocks then anything already smaller than one block needn’t be compressed. > OTOH, if the fs supports partial block file packing, then a smaller > threshold may be better. probably not a bad idea, but i'm going to attempt the other route and avoid the whole issue (automatically turn .so into symlinks). feel free to pursue this in the related EAPI bug ;). -mike signature.asc Description: This is a digitally signed message part.
Re: [gentoo-dev] RFC: per package eclass GLEP
On 9/20/10 7:30 PM, Alec Warner wrote: > How does it provide more code sharing than the existing system? > > Previously I could put code I wanted shared: > 1) In a global eclass, which means any ebuild in the tree can likely use it A global eclass is quite heavyweight. It requires a review on gentoo-dev, is difficult to deprecate, and so on. That's discouraging if you only want to share 2-3 simple functions used by only one package. > 2) In a pkg eblit Which is hacky. > Wouldn't taking code from a global eclass and moving it to a > per-package eclass limit code re-use? No. It lowers the barrier to entry in cases where the shared code is only useful for one package. It can always be promoted to a global eclass later (with a proven API). Paweł signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] omitting redirecting man pages from compression
> "UM" == Ulrich Mueller writes: UM> If we take the second route, then maybe it should be a more general UM> solution, i.e. exclude all tiny files (man page or not) from UM> compression? First, from a user’s perspective, not compressing small files is a good thing. Man pages perhaps most of all, given makewhatis, et al. (Think of all the C₁₂ which won’t be un-sequestered quite so soon. ☺ ;^) Ideally, there would be some way to configure, per filesystem and/or per directory, what constitutes a small file. If the fs uses fixed-size blocks then anything already smaller than one block needn’t be compressed. OTOH, if the fs supports partial block file packing, then a smaller threshold may be better. Even for large files, if the compression fails to save any blocks then it may be better to leave it uncompressed. That said, some backup strategies may be better served by compressing all but the smallest files. Good heuristics for the default compress-or-don’t threshold should cover most systems, but the ability to easily override the default is desirable. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6