Re: [gentoo-user] systemrescuecd: using x86 for amd64
On Wednesday 05 November 2008 09:44:46 Daniel Pielmeier wrote: 2008/11/5 Momesso Andrea [EMAIL PROTECTED]: So it is possible to chroot from a 32 to a 64 bit enviroment? And is it safe? AFAIK chroot from 32 to 64 bit is not possible. To remove all doubt about this, it is definitely not possible. The 32 bit kernel cannot run the 64 bit code that the chroot will provide. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
Am Mittwoch, den 05.11.2008, 12:50 +0530 schrieb Lorenzu Hewa, Gayan Neomal: Does portage keep a copy of the file which it installs in the system? Yes: /var/db/pkg (/var/db/pkg/*/*/CONTENTS) The information in /var/db/pkg is more nicely accessed through the utilities in app-portage/portage-utils and app-portage/gentoolkit. Install theses packages and play with the tools - it will make your gentoo-life a lot nicer :) A must (at least for me) is also app-portage/eix to access the information in /usr/portage quickly. Because after the intial installation the gentoo system only contains few packages and it takes up about 2.5 GB … Where other distro’s like slackware would take up 2.5 GB for every thing with out KDE or Gnome . 1st: # rm /usr/portage/distfiles/* Then: Gentoo installs (in binary distros terms) all *-dev packages (all libs and headers), as it needs this for compiling - that blows the system a lot. In my system (GNOME, lots of servers, development software) the installed package DB (/var/db/pkg) is about 200 MB. The portage tree (/usr/portage) is about 500 MB for everybody... Where should I look for information … * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. Bye, Daniel -- PGP key: http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
[gentoo-user] Re: Installing software without an internet connection
Lorenzu Hewa, Gayan Neomal wrote: Is their any possible way that i can get a Software collection downloaded for my Gentoo box . I have a P3 with 256 RAM For this machine I don't recommend Gentoo, sorry (unless you want a text-only box without X). Also, without an internet connection I would try something like Debian which has all its packages on the downloadable ISO images.
Re: [gentoo-user] First Portage Hick-up, Chokes on Java
On Tue, Nov 04, 2008 at 05:23:58PM +0200, Penguin Lover Alan McKinnon squawked: On Tuesday 04 November 2008 16:16:30 Jorge Peixoto de Morais Neto wrote: collision-protect seems nice, but I don't know about its drawbacks (if any), and since it seems not to be default and I don't have good knowledge of it, I didn't change the default. You probably want this enabled. I think it's disabled by default because new users will have no idea whatsoever what to do about it. All it does is check the files it wants to install with what's on the disk. If there's a match, the existing files must only have been put there by the same package (ignoring version numbers). If there's a collision, you get a huge big fat error message and a chance to find out why two different packages install the same file. Maybe you need to uninstall one, maybe it doesn't matter. If it's the latter, just FEATURES=-collision-protect emerge package and continue as normal. In any event, you get to decide what should happen. Every experienced gentoo user should be using this imho On my version of portage (2.2_rc13; but I am pretty sure this is the case for some older ones too), there is the default feature protect-owned which provides more or less the same function as collision-protect but is slightly smarter. See 'man make.conf' for details. W -- Don't tell anyone, but duct tape is The Force. It has a dark side, and a light side, and it binds the Universe together. Sortir en Pantoufles: up 698 days, 13:54
Re: [gentoo-user] First Portage Hick-up, Chokes on Java
On Wed, Nov 5, 2008 at 1:16 PM, Willie Wong [EMAIL PROTECTED] wrote: On Tue, Nov 04, 2008 at 05:23:58PM +0200, Penguin Lover Alan McKinnon squawked: On Tuesday 04 November 2008 16:16:30 Jorge Peixoto de Morais Neto wrote: collision-protect seems nice, but I don't know about its drawbacks (if any), and since it seems not to be default and I don't have good knowledge of it, I didn't change the default. You probably want this enabled. I think it's disabled by default because new users will have no idea whatsoever what to do about it. All it does is check the files it wants to install with what's on the disk. If there's a match, the existing files must only have been put there by the same package (ignoring version numbers). If there's a collision, you get a huge big fat error message and a chance to find out why two different packages install the same file. Maybe you need to uninstall one, maybe it doesn't matter. If it's the latter, just FEATURES=-collision-protect emerge package and continue as normal. In any event, you get to decide what should happen. Every experienced gentoo user should be using this imho On my version of portage (2.2_rc13; but I am pretty sure this is the case for some older ones too), there is the default feature protect-owned which provides more or less the same function as collision-protect but is slightly smarter. See 'man make.conf' for details. No. In my system (Portage 2.1.4.5) this FEATURE does not exist. I have searched make.conf.example, and several portage-related man pages; no mention to protect-owned. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] Installing software without an internet connection
On Wed, Nov 5, 2008 at 4:24 AM, Dirk Uys [EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 5:01 AM, Lorenzu Hewa, Gayan Neomal [EMAIL PROTECTED] wrote: Hi I was able to complete the Gentoo installation and boot into my system successfully. I only downloaded the Live CD, But the live CD only contains a limited number of packages and... I do not have an internet connection at home since its very expensive for us. Is their any possible way that i can get a Software collection downloaded for my Gentoo box . I have a P3 with 256 RAM when xfce is combined with Gnome my PC runs slow. I am not much of a xfce/Gnome /KDE fan but since I have no way of getting packages in to my PC I am facing difficulties. What do you mean xfce combined with Gnome ? As a side note: for a PC running on low specs I would recommend using a window manager like WindowMaker or IceWM. Both of them are very lightweight. Xfce is light enough. I'm using it right now, and I like it very much. It is very lightweight, occupies negligible RAM, and also occupies little disk space: equery size xfce-base/ * size of xfce-base/libxfce4mcs-4.4.2 Total files : 44 Total size : 285.76 KiB * size of xfce-base/libxfce4util-4.4.2 Total files : 68 Total size : 527.11 KiB * size of xfce-base/libxfcegui4-4.4.2 Total files : 114 Total size : 1287.49 KiB * size of xfce-base/thunar-0.9.0-r2 Total files : 530 Total size : 9990.27 KiB * size of xfce-base/xfce-mcs-manager-4.4.2 Total files : 199 Total size : 601.28 KiB * size of xfce-base/xfce-mcs-plugins-4.4.2-r1 Total files : 228 Total size : 1494.46 KiB * size of xfce-base/xfce-utils-4.4.2-r1 Total files : 87 Total size : 483.62 KiB * size of xfce-base/xfce4-4.4.2 Total files : 4 Total size : 5.57 KiB * size of xfce-base/xfce4-panel-4.4.2 Total files : 290 Total size : 1638.96 KiB * size of xfce-base/xfce4-session-4.4.2 Total files : 259 Total size : 2215.87 KiB * size of xfce-base/xfdesktop-4.4.2-r2 Total files : 254 Total size : 4127.12 KiB * size of xfce-base/xfwm4-4.4.2 Total files : 1435 Total size : 3048.79 KiB equery size xfce-extra/ [ Searching for packages matching xfce-extra/... ] * size of xfce-extra/exo-0.3.4 Total files : 324 Total size : 3297.70 KiB * size of xfce-extra/xfce4-mixer-4.4.2 Total files : 188 Total size : 624.86 KiB And look at how little memory it consumes: $ free -m total used free shared buffers cached Mem: 884 78806 0 643 -/+ buffers/cache: 28855 Swap: 972 0 972 This is from a just-booted system, with a gkrellm open, some daemons, and an aterm (used to run the command 'free'). So only 28 MB used, total (including Xfce plus everything else) (although I imagine the is some kernel memory that does not go in this figure; I'm not an OS expert). There is no need to go the path of Fluxbox; Xfce delivers all the speed and featherweight you need, while being very ease to use, vastly configurable, feature-rich, and good-looking. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] Installing software without an internet connection
On Wed, Nov 5, 2008 at 5:49 AM, Dirk Uys [EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 9:18 AM, Lorenzu Hewa, Gayan Neomal [EMAIL PROTECTED] wrote: I Used the Live CD ... It does contain few packages like X11,xfce4, gdm , some network utils,vim . But I need to get other packages which I need. lIke Gcj , fluxbox , mpg321 ... Even though it has only few packages installed it consumes a lot of disk space... that another problem im having. I used to run an offline gentoo setup. You can use emerge -upvf package-name(s) to get a list of files you need to obtain. Pipe the output of that to some file, do some grep/sed to remove duplicates and remove the multiple urls. Write a script to fetch all the files in your file list. It can be as simple as for file in `cat filelist` do wget $URL/$file; done; When you get to an internet connection, run the script to fetch all the files. Why don't you just run wget -i filelist? In fact, you do not even need to edit the filelist to remove duplicates; you can just use wget's -nc option. So you can use wget -nc -i filelist or, if you want to do it in the background wget -nc -i filelist -b --progress=dot:mega The /usr/portage/distfiles directory can very quickly grow, clean it up every now and then. I suggest the tool eclean (part of gentoolkit).
[gentoo-user] vncviewer from package vnc crashes.
Greetings, I use vncviewer from package vnc version 4.1.2-r4 (latest Gentoo stable) connecting to an MSXP machine and it crashes when I maximize the window. From the shell:vncviewer: TXScrollbar.cxx:47: void TXScrollbar::set(int, int, int, bool): Assertion `limit_ 0 len_ = 0 len_ = limit_' failed. I experienced many problems with this package like that when vncviewer to an MS machine it sometimes got it's network hang for a few minutes (didn't respond to ping. seem to me that rapid graphics update was performed when it hanged) but I don't even know on which side are the problems. Any recommendations? -- Regards. David Harel, == Home office +972 77 7657645 Fax:+972 77 7657645 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED]
Re: [gentoo-user] systemrescuecd: using x86 for amd64
On Mittwoch 05 November 2008, Daniel Pielmeier wrote: 2008/11/5 Momesso Andrea [EMAIL PROTECTED]: So it is possible to chroot from a 32 to a 64 bit enviroment? And is it safe? AFAIK chroot from 32 to 64 bit is not possible. you are wrong. You can do it, BUT you need a 64bit kernel.
Re: [gentoo-user] systemrescuecd: using x86 for amd64
On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 09:44:46 Daniel Pielmeier wrote: 2008/11/5 Momesso Andrea [EMAIL PROTECTED]: So it is possible to chroot from a 32 to a 64 bit enviroment? And is it safe? AFAIK chroot from 32 to 64 bit is not possible. To remove all doubt about this, it is definitely not possible. The 32 bit kernel cannot run the 64 bit code that the chroot will provide. and that is why systemrescuecd has a 64bit kernel for people who want or need to chroot.
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
On Mittwoch 05 November 2008, Daniel Troeder wrote: Am Mittwoch, den 05.11.2008, 12:50 +0530 schrieb Lorenzu Hewa, Gayan Neomal: Does portage keep a copy of the file which it installs in the system? Yes: /var/db/pkg (/var/db/pkg/*/*/CONTENTS) no, that is just a LIST. . Because after the intial installation the gentoo system only contains few packages and it takes up about 2.5 GB … Where other distro’s like slackware would take up 2.5 GB for every thing with out KDE or Gnome . Then: Gentoo installs (in binary distros terms) all *-dev packages (all libs and headers), as it needs this for compiling - that blows the system a lot. a bit ;) but yes. In my system (GNOME, lots of servers, development software) the installed package DB (/var/db/pkg) is about 200 MB. The portage tree (/usr/portage) is about 500 MB for everybody... Where should I look for information … * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. and don't forget that du is lying - a lot.
[gentoo-user] lzma archives
How to extract lzma archives? -- Regards, Nickolay Hodyunya.
Re: [gentoo-user] lzma archives
On Wednesday 5 November 2008, 17:38, Nickolay Hodyunya wrote: How to extract lzma archives? $ eix lzma * app-arch/lzma Available versions: ~4.27 ~4.43 ~4.57 {doc} Homepage:http://www.7-zip.org/sdk.html Description: LZMA Stream Compressor from the SDK [U] app-arch/lzma-utils Available versions: 4.32.6 4.32.7 {nocxx} Installed versions: 4.32.6(13:00:02 22/09/08)(-nocxx) Homepage:http://tukaani.org/lzma/ Description: LZMA interface made easy
Re: [gentoo-user] lzma archives
On Wed, Nov 5, 2008 at 2:38 PM, Nickolay Hodyunya [EMAIL PROTECTED] wrote: How to extract lzma archives? by lzma archive, you probably mean a lzma-compressed tar archive. You can extract them with lzma -dc compressedarchive.tar.lzma | tar -xv -f - or, if your version of tar supports it, tar --lzma -xv -f compressedarchive.tar.lzma The command lzma comes from app-arch/lzma-utils, and these days the distros ship it by default. -- Software is like sex: it is better when it is free - Linus Torvalds
[gentoo-user] cue, flac, ape player?
I'm using foobar now for playing ape+cue cd rips, but it is too unstable under wine. I tried audacious but it's more unstable then foobar+wine and crashes with every second cue file i try to load in playlist. So, is there any player in linux that have good support for flac,ape,cue, builtin cue formats? I have enough experience with mocp while listen mp3 and flac formats, but it's also unstable for me becouse after long time listening mocp always start to cycle one fragment of currently playing file in playlist. -- Regards, Nickolay Hodyunya.
Re: [gentoo-user] lzma archives
On Wed, Nov 05, 2008 at 11:38:44PM +0700, Nickolay Hodyunya wrote: How to extract lzma archives? emerge lzma-utils man lzma -- v4sw5RUYhw2ln3pr5ck0ma2u7Lw3+2Xm0l6/7Gi2e2t3b6AKMen5+7a16s0Sr1p-5.62/-6.56g6OR
Re: [gentoo-user] FLAC to mp3 converters?
On Tue, Nov 4, 2008 at 4:04 PM, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. I wouldn't trust something GUI-based; it would probably call the mp3 encoder with suboptimal default settings. I would write a script myself. For flac decoding use (of course) media-libs/flac; for mp3 encoding, media-sound/lame. You can probably chain them in a pipe, using flac -dc infile.flac | mp3lame lameopts - outfile.mp3 . Read lame's man page and write a shell (or perhaps python/perl) script.
Re: [gentoo-user] lzma archives
Nickolay Hodyunya wrote: How to extract lzma archives? package: lzma-utils command: lzma -d filename
Re: [gentoo-user] Kernel upgrade problem
On Tue, Nov 4, 2008 at 8:56 PM, David Relson [EMAIL PROTECTED] wrote: Hello Dirk, Thanks for taking the time to reply. The combination of gentoo-sources and genkernel has been working quite well for the 2 yrs I've been running Gentoo. It's convenient to have grub.conf auto-magically updated and that's not been an issue. You don't need to edit grub.conf at all. make install automatically updates the symlinks in /boot/ For me, the kernel update process is: emerge -a1v sys-kernel/vanilla-sources cd /usr/src/linux // I usually issue make defconfig to start with a fresh config. But if you skip make defconfig, the following command will start with your old config from /boot/config make menuconfig make make install modules_install //The above command automatically copies the kernel image, System.map and .config to /boot and updates the /boot/vmlinuz, /boot/vmlinuz.old, /boot/config, /boot/config.old, /boot/System.map, /boot/System.map.old symlinks. It also copies the modules to /lib/modules //No need for genkernel, no need to edit grub.conf *reboot *delete obsolete modules in /lib/modules, and obsolete files in /boot *By the way, before i delete obsolete config file in /boot, i back it up in a oldconfigs.tar.lzma compressed archive.
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote: * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. and don't forget that du is lying - a lot. No it doesn't, du is very exact. It's just exact in ways the user seldom expects it be exact in. Especially when they have the block size wrong, or don't understand SI units (that's OK, nobody understands SI units) or include symlinks, or don't grok sparse files... -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] systemrescuecd: using x86 for amd64
On Wednesday 05 November 2008 18:22:00 Volker Armin Hemmann wrote: On Mittwoch 05 November 2008, Daniel Pielmeier wrote: 2008/11/5 Momesso Andrea [EMAIL PROTECTED]: So it is possible to chroot from a 32 to a 64 bit enviroment? And is it safe? AFAIK chroot from 32 to 64 bit is not possible. you are wrong. You can do it, BUT you need a 64bit kernel. Ah, but how often have you seen a 32 bit userland running atop a 64 bit kernel? I've never seen it (unusual cases like a 32 bit Firefox on a 64 bit system excepted) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 3:16 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote: I wouldn't trust something GUI-based; it would probably call the mp3 encoder with suboptimal default settings. Any decent program would let you adjust the MP3 settings. My experience so far is that most GUI multimedia-encoding programs offer far less options than a command-line program. Sometimes the only choice is codec and bitrate, and the bitrate sometimes comes in a drop-down menu of low, medium, high. I have done many video encodings with mplayer, and in this case adjusting settings yield drastic benefits to quality/bitrate. You also need to extract the ID3 tags from the FLAC file and then write them to the MP3 file. I don't care about these, but I imagine it wouldn't be too hard to preserve them.
Re: [gentoo-user] openoffice 3 broken?
The result: a clean compile, as near as I can tell, but useless. Now it quits silently a second or so into any startup, with or without a filename on the command line. No message on the terminal where I start it, and no clue I can see about what's wrong. I'm back to MSOffice. I hate it but it works. Have you not tried Openoffice-bin?
Re: [gentoo-user] FLAC to mp3 converters?
IIRC, there is a fuse filesystem in portage that does exactly that. I don't have any experience with it but it warrants a look. On 11/5/08, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 3:16 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 5 Nov 2008 15:12:44 -0200, Jorge Peixoto de Morais Neto wrote: I wouldn't trust something GUI-based; it would probably call the mp3 encoder with suboptimal default settings. Any decent program would let you adjust the MP3 settings. My experience so far is that most GUI multimedia-encoding programs offer far less options than a command-line program. Sometimes the only choice is codec and bitrate, and the bitrate sometimes comes in a drop-down menu of low, medium, high. I have done many video encodings with mplayer, and in this case adjusting settings yield drastic benefits to quality/bitrate. You also need to extract the ID3 tags from the FLAC file and then write them to the MP3 file. I don't care about these, but I imagine it wouldn't be too hard to preserve them.
Re: [gentoo-user] FLAC to mp3 converters?
Am Mittwoch, 5. November 2008 18:59:42 schrieb Eric Martin: IIRC, there is a fuse filesystem in portage that does exactly that. I don't have any experience with it but it warrants a look. Wow, indeed! sys-fs/mp3fs. Bye... Dirk
[gentoo-user] fix for e2fsprogs BLOCK?
This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI).
Re: [gentoo-user] FLAC to mp3 converters?
2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. Thanks, Mark Mark, I don't know any good FLAC to MP3 converter. But anytime I need to convert from one format to another I simply use FFMPEG. It's a command line program, but it is very easy to use. If you want, you can give me the quality parameters you want to use for the conversion and I can tell you the options you have to pass ffmpeg to convert from FLAC to MP3. About the directories and stuff, you could just use an script, but unfortunatelly I can't help you with that. Regards. Richard.
RE: [gentoo-user] fix for e2fsprogs BLOCK?
-Original Message- From: Denis [mailto:[EMAIL PROTECTED] Sent: November 5, 2008 1:08 PM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] fix for e2fsprogs BLOCK? This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI). Apparently a later version of Portage will correct it, but if you're running 2.1.4.5 you're probably fixing it manually. That's been my experience anyway.
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Am Mittwoch, 5. November 2008 19:08:23 schrieb Denis: This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI). emerge -f e2fsprogs e2fsprogs-libs # wget won't work w/o com_err , so you need to fetch first. emerge -C com_err ss emerge e2fsprogs or, simpler with paludis: paludis -i --dl-blocks discard e2fsprogs If the block still exists after you unmerged com_err and ss, use emerge with - t to find out which package still wants them end re-emerge this first. HTH... Dirk
Re: [gentoo-user] systemrescuecd: using x86 for amd64
On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 18:22:00 Volker Armin Hemmann wrote: On Mittwoch 05 November 2008, Daniel Pielmeier wrote: 2008/11/5 Momesso Andrea [EMAIL PROTECTED]: So it is possible to chroot from a 32 to a 64 bit enviroment? And is it safe? AFAIK chroot from 32 to 64 bit is not possible. you are wrong. You can do it, BUT you need a 64bit kernel. Ah, but how often have you seen a 32 bit userland running atop a 64 bit kernel? I've never seen it (unusual cases like a 32 bit Firefox on a 64 bit system excepted) just boot systemresucuecd with the 64bit kernel. You have a 32bit userland, 64bit kernel and you can chroot into 64bit systems without any problems at all. Done it several times.
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote: * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. and don't forget that du is lying - a lot. No it doesn't, du is very exact. nope, it is lying. du -h /var 31G /var df -h /dev/md2 18G 5,4G 13G 31% /var as I said - lying ;)
Re: [gentoo-user] FLAC to mp3 converters?
2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Mittwoch 05 November 2008, Dirk Heinrichs wrote: Am Mittwoch, 5. November 2008 19:08:23 schrieb Denis: This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI). emerge -f e2fsprogs e2fsprogs-libs # wget won't work w/o com_err , so you need to fetch first. emerge -C com_err ss emerge e2fsprogs or, simpler with paludis: paludis -i --dl-blocks discard e2fsprogs If the block still exists after you unmerged com_err and ss, use emerge with - t to find out which package still wants them end re-emerge this first. HTH... Dirk and mask com_err and ss afterwards - to make sure that nothing pulls them in.
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Wed, Nov 5, 2008 at 6:52 PM, Volker Armin Hemmann [EMAIL PROTECTED] wrote: On Mittwoch 05 November 2008, Dirk Heinrichs wrote: Am Mittwoch, 5. November 2008 19:08:23 schrieb Denis: This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI). emerge -f e2fsprogs e2fsprogs-libs # wget won't work w/o com_err , so you need to fetch first. emerge -C com_err ss emerge e2fsprogs or, simpler with paludis: paludis -i --dl-blocks discard e2fsprogs If the block still exists after you unmerged com_err and ss, use emerge with - t to find out which package still wants them end re-emerge this first. HTH... Dirk and mask com_err and ss afterwards - to make sure that nothing pulls them in. Seems completely unnecessary.
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Mittwoch 05 November 2008, Jorge Peixoto de Morais Neto wrote: On Wed, Nov 5, 2008 at 6:52 PM, Volker Armin Hemmann [EMAIL PROTECTED] wrote: On Mittwoch 05 November 2008, Dirk Heinrichs wrote: Am Mittwoch, 5. November 2008 19:08:23 schrieb Denis: This probably was already discussed at length... But I keep waiting for an automatic portage tree fix to this... Any idea if there will be a fix, or will I need to take care of this manually? (Intel Core Duo 32-bit system, FYI). emerge -f e2fsprogs e2fsprogs-libs # wget won't work w/o com_err , so you need to fetch first. emerge -C com_err ss emerge e2fsprogs or, simpler with paludis: paludis -i --dl-blocks discard e2fsprogs If the block still exists after you unmerged com_err and ss, use emerge with - t to find out which package still wants them end re-emerge this first. HTH... Dirk and mask com_err and ss afterwards - to make sure that nothing pulls them in. Seems completely unnecessary. seems - but was part of the bug back in the days I did the switch. unmerge and mask them, was the instruction.
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter Thanks to all for the answers and ideas so far. Andrew - can soundkonverter target the output files to a completely different directory structure? I.e., can it take input from /audio/flac/Artist/album/*.flac and send it to /audio/mp3/artist/album/*.mp3 where it needs to create the directories in the output tree? If so this would be great for my needs. I'll build it later this evening. Thanks, Mark
Re: [gentoo-user] FLAC to mp3 converters?
Mark Knecht writes: I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. This might work: - emerge -u media-sound/transkode transkode - Configure transkode: - edit the profile (like mp3-standard) you want to use to your needs - set the naming scheme to %{src_dir}/%{src_name}.%{dst_ext} - Drag the root folder of your MP3s into the application window (works with KDE, not sure about other desktops). - Mark all files with Ctrl-A. - Click right and set the profile to the one you want. - Click the play button. - Wait until all is done. You may stop and resume the process, but when you quit transkode, I think it does not remember which files were already converted. - Beware of the strange naming things, I do not know how well transkode will handle this. - You will also get a nice amarok plugin if the amarok use flag is set. Wonko
Re: [gentoo-user] fix for e2fsprogs BLOCK?
James Homuth writes: Apparently a later version of Portage will correct it, but if you're running 2.1.4.5 you're probably fixing it manually. That's been my experience anyway. On the PC I am writing this, portage 2.2 had no trouble with this update. But on another, which was upgraded to portage 2.2 just before the world update, I got the blockers and had to solve this manually. No idea why. Wonko
Re: [gentoo-user] FLAC to mp3 converters?
On Wednesday 05 November 2008 22:55:34 Mark Knecht wrote: On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter Thanks to all for the answers and ideas so far. Andrew - can soundkonverter target the output files to a completely different directory structure? I.e., can it take input from /audio/flac/Artist/album/*.flac and send it to /audio/mp3/artist/album/*.mp3 where it needs to create the directories in the output tree? If so this would be great for my needs. I'll build it later this evening. Thanks, Mark There ia an option (among others) copy directory structure (I have not used it).
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter Try also media-sound/soundconverter for a gnome version
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Wed, Nov 05, 2008 at 07:16:02PM +0100, Dirk Heinrichs wrote: or, simpler with paludis: paludis -i --dl-blocks discard e2fsprogs If the block still exists after you unmerged com_err and ss, use emerge with - t to find out which package still wants them end re-emerge this first. It might be a good idea to remove the entries in the package database afterwards. -Erik -- v4sw5RUYhw2ln3pr5ck0ma2u7Lw3+2Xm0l6/7Gi2e2t3b6AKMen5+7a16s0Sr1p-5.62/-6.56g6OR
Re: [gentoo-user] fix for e2fsprogs BLOCK?
I did this emerge -f e2fsprogs e2fsprogs-libs emerge -C com_err ss but it still complained about blocks when I tried emerge e2fsprogs So I had to do emerge -C e2fsprogs emerge e2fsprogs This seems to work fine - no more blocks. Thank you, Denis
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Wednesday 05 November 2008 22:39:52 Denis wrote: I did this emerge -f e2fsprogs e2fsprogs-libs emerge -C com_err ss but it still complained about blocks when I tried emerge e2fsprogs So I had to do emerge -C e2fsprogs emerge e2fsprogs This seems to work fine - no more blocks. Thank you, Denis Yep. Thats the solution ;) -- Markos Chandras
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
On Wednesday 05 November 2008 20:39:54 Volker Armin Hemmann wrote: On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote: * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. and don't forget that du is lying - a lot. No it doesn't, du is very exact. nope, it is lying. No it's not :-) Be prepared to find out stuff: du -h /var 31G /var This is the total size of all files below /var, measured as actual allocatable disk space consumed, not the sum of the size of all files. df -h /dev/md2 18G 5,4G 13G 31% /var This is the *filesystem* mounted at /var, the data comes from it's superblock as I said - lying ;) I say you have other filesystems mounted below /var somewhere, about 25G worth of stuff. Or, you have a 25G sparse file :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Markos Chandras schrieb: On Wednesday 05 November 2008 22:39:52 Denis wrote: I did this emerge -f e2fsprogs e2fsprogs-libs emerge -C com_err ss but it still complained about blocks when I tried emerge e2fsprogs So I had to do emerge -C e2fsprogs emerge e2fsprogs This seems to work fine - no more blocks. Thank you, Denis Yep. Thats the solution ;) To be on the save side of gentoo :-) quickpkg ss com_err e2fsprogs e2fsprogs-libs imho quickpkg is a good idea whenever changing something which ist part of system. kh
Re: [gentoo-user] fix for e2fsprogs BLOCK?
KH writes: To be on the save side of gentoo :-) quickpkg ss com_err e2fsprogs e2fsprogs-libs Yeah, that saved me some trouble. imho quickpkg is a good idea whenever changing something which ist part of system. Or you can put buildyspkg into your FEATURES list in make.conf. Then, whenever a system package is merged, a binary package will be created. Wonko
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 20:39:54 Volker Armin Hemmann wrote: On Mittwoch 05 November 2008, Alan McKinnon wrote: On Wednesday 05 November 2008 18:26:35 Volker Armin Hemmann wrote: * Use 'qsize' from app-portage/portage-utils to find out package sizes. * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are distributed on your disk. and don't forget that du is lying - a lot. No it doesn't, du is very exact. nope, it is lying. No it's not :-) Be prepared to find out stuff: du -h /var 31G /var This is the total size of all files below /var, measured as actual allocatable disk space consumed, not the sum of the size of all files. df -h /dev/md2 18G 5,4G 13G 31% /var This is the *filesystem* mounted at /var, the data comes from it's superblock as I said - lying ;) I say you have other filesystems mounted below /var somewhere, about 25G worth of stuff. Or, you have a 25G sparse file :-) nope. I do have a 2gb tempfs mounted at /var/tmp/portage, but then I would get 20GB overall. Also the partition size is 18gb. So du is lying. Well, the fact, that I am using a filesystem with compression, makes du lying even worse *fg*.
Re: [gentoo-user] FLAC to mp3 converters?
Audacity does an excellent job ( and lets you select many different encoding qualities ) On Thu, Nov 6, 2008 at 6:24 AM, Paul Hartman [EMAIL PROTECTED][EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter Try also media-sound/soundconverter for a gnome version -- Beau Dylan Henderson
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, 5 Nov 2008 19:06:49 +0100, Dirk Heinrichs wrote: IIRC, there is a fuse filesystem in portage that does exactly that. I don't have any experience with it but it warrants a look. Wow, indeed! sys-fs/mp3fs. Nice,anything similar for Ogg Vorbis? -- Neil Bothwick 30 minutes of begging is not considered foreplay. signature.asc Description: PGP signature
Re: [gentoo-user] FLAC to mp3 converters?
quoth the Mark Knecht: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. CLI based, but very simple. It will mirror your directory structure and preserve any meta-tags: http://badcomputer.org/unix/code/sneetchalizer/ Something like: $ sneetchalizer -r -D /my/mp3s/ --in=flac --out=mp3 /my/flacs/ will do everything you specified above with one command. Ruby powered ;) Thanks, Mark HTH, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 6:14 PM, darren kirby [EMAIL PROTECTED] wrote: quoth the Mark Knecht: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. CLI based, but very simple. It will mirror your directory structure and preserve any meta-tags: http://badcomputer.org/unix/code/sneetchalizer/ Something like: $ sneetchalizer -r -D /my/mp3s/ --in=flac --out=mp3 /my/flacs/ will do everything you specified above with one command. Ruby powered ;) Thanks, Mark HTH, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 Darrin, Thanks. I'll give it a try. Cheers, Mark
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 12:24 PM, Paul Hartman [EMAIL PROTECTED] wrote: On Wed, Nov 5, 2008 at 12:46 PM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter Try also media-sound/soundconverter for a gnome version I tried this. It converts a single album correctly but fails horribly at collections of dozens and dozens of directories. It seems to get very confused. I guess I'll try the KDE version to see if it works any better. Thanks for the help, Mark
Re: [gentoo-user] FLAC to mp3 converters?
On Wed, Nov 5, 2008 at 10:46 AM, Andrew Gaydenko [EMAIL PROTECTED] wrote: 2008/11/4 Mark Knecht [EMAIL PROTECTED]: Hi, I'm wondering if anyone has a good way to convert a large hierarcy of directories populated with FLAC files to a new set of directories using mp3 instead? The FLAC directory contains something like 2 files so I need the converted structure to replicate the original. Most likely the tool has to be very tolerant of file naming, unicode, etc., as there are likely to be any number of strange things in there. Possibly something in perl or, for the likes of me, even something GUI based. GUI-based: media-sound/soundkonverter thanks Andrew. I tried this version but so far it's not cooperating. Probably it's mostly me but I now understand I have one more requirement that the Gnome version handles but I don't see an option in the KDE version. Most of the tracks were ripped over the last couple of years using KDE which prepends a track number on the file name 01_Track1Name.flac 02_Track2Name.flac I'd like to remove the track numbers but I don't see a way to do this yet. The Gnome version has that feature but crashes when given more than a single album. too bad - Mark
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Am Mittwoch 05 November 2008 23:26:57 schrieb ext KH: quickpkg ss com_err That doesn't make sense at all. They're the ones you need to get rid of. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Alex Schuster schrieb: KH writes: To be on the save side of gentoo :-) quickpkg ss com_err e2fsprogs e2fsprogs-libs Yeah, that saved me some trouble. imho quickpkg is a good idea whenever changing something which ist part of system. Or you can put buildyspkg into your FEATURES list in make.conf. Then, whenever a system package is merged, a binary package will be created. Wonko Wow did not know that. Great option! Does this only do packages for system or also for the hole world? kh
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Dirk Heinrichs schrieb: Am Mittwoch 05 November 2008 23:26:57 schrieb ext KH: quickpkg ss com_err That doesn't make sense at all. They're the ones you need to get rid of. Bye... Dirk Well that's the point. You want to get rid of them. So you are unmerging them. The moment something fails after unmerging and before emerging the new packages, you will be very happy to have your old packages. You just put them pack in place and you have a running system again. It's a seatbelt. kh
Re: [gentoo-user] fix for e2fsprogs BLOCK?
On Donnerstag 06 November 2008, Dirk Heinrichs wrote: Am Mittwoch 05 November 2008 23:26:57 schrieb ext KH: quickpkg ss com_err That doesn't make sense at all. They're the ones you need to get rid of. Bye... Dirk it is good to have backups - just in case.
Re: [gentoo-user] fix for e2fsprogs BLOCK?
Am Donnerstag 06 November 2008 08:21:26 schrieb ext KH: Well that's the point. You want to get rid of them. So you are unmerging them. The moment something fails after unmerging and before emerging the new packages, you will be very happy to have your old packages. You just put them pack in place and you have a running system again. It's a seatbelt. That's why 1) I use paludis, no seatbelts required. One can safely de-install com_err and ss _after_ upgrading e2fsprogs and e2fsprogs-libs. 2) I outlined to first emerge -f e2fsprogs e2fsprogs. It's known that wget will fail after unmerging com_err, so the new packages need to be fetched first. That's all. No need to make the thing more complicated than it is. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.