Re: [gentoo-user] Adding dependencies in init scripts
Am Sonntag 14 Februar 2010 02:51:57 schrieb Damian: On Sun, Feb 14, 2010 at 2:25 AM, Damian damian.o...@gmail.com wrote: HTH... Dirk Thanks a lot for your responses. That looks just like what I needed. Ok, I just cannot make this work. I've created a file /etc/conf.d/mpd with the following line rc_after=mpdscrible But the init script seems to ignore it. No matter what I put in /etc/conf.d/mpd . The gentoo handbook doesn't say anything about it. I'm clearly missing something, but I don't know what it is. In your first post you stated that you want to have both started, right? But after is about order, not dependency. I'd say you need to put rc_need=mpd into /etc/conf.d/mpdscrible and put mpdscrible into default runlevel, not mpd. Maybe a combination of both rc_after=mpdscrible rc_need=mpdscrible in /etc/conf.d/mpd could also work. HTH... Dirk
Re: [gentoo-user] How should I clean up my broken system?
On Sun, 14 Feb 2010 08:01:50 +0200, Alan McKinnon wrote: The OP then doesn't have to deal with 600+ conf-update complaints Run conf-update and press a then d :) But I'm a paranoid snarky old git and that doesn't work for me! But d rejects all the changes, leaving your own configs. To be paranoid that you are trying to hack your own computer mean you must have MPD too, and I'm not referring to the Music Player Daemon :) If I get 600 entries in conf-update I feel compelled to examine each one and decide individually. Just in case You may grow out of that, if you have time after reading all those configs :) On a more serious note, conf-update automatically merges trivial changes, so any configs you ran at the default, which is probably the majority, won't be flaged at all. -- Neil Bothwick Shotgun wedding: A case of wife or death. signature.asc Description: PGP signature
Re: [gentoo-user] How should I clean up my broken system?
On Sonntag 14 Februar 2010, Neil Bothwick wrote: On Sun, 14 Feb 2010 08:01:50 +0200, Alan McKinnon wrote: The OP then doesn't have to deal with 600+ conf-update complaints Run conf-update and press a then d :) But I'm a paranoid snarky old git and that doesn't work for me! But d rejects all the changes, leaving your own configs. To be paranoid that you are trying to hack your own computer mean you must have MPD too, and I'm not referring to the Music Player Daemon :) If I get 600 entries in conf-update I feel compelled to examine each one and decide individually. Just in case You may grow out of that, if you have time after reading all those configs :) On a more serious note, conf-update automatically merges trivial changes, so any configs you ran at the default, which is probably the majority, won't be flaged at all. so does cfg-update
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Sonntag 14 Februar 2010, Alan McKinnon wrote: On Saturday 13 February 2010 14:07:05 Volker Armin Hemmann wrote: I agree with the concept that people who don't want KDE dependancies, e.g. dbus, shouldn't use KDE apps. Therefore, I avoid amarok, kaffeine, kplayer, etc. What got me started in this thread was the fact that what had been a formerly-standalone media player (audacious), now pretty much demands dbus. dbus would be bundled in to my basic service, i.e. ICEWM. #except that dsbus is not a KDE application. Just grep to portage tree for apps that use dbus. The result might be a bit shocking. Btw, do you have a car? But certainly you drive stick. Unsyncronized. Oy! What are you trying to say? All my cars are stick. Down here in deepest darkest Africa you pay a premium for auto so no-one in their right mind buys them except old ladies and trendy hippy naffs. And we need a clutch to get the car out of the potholes that adorn the streets. The bikes are all crash boxes because all bikes are like that (except Vespas and Chinese scooters, but I don't have any of those). On the track the clutch is mostly pointless once you're moving. I highly recommend drivers to gain the skill of driving a vehicle crash-style without a clutch. Comes in useful sometimes. :-) the point was not stick but unsyncronized ;)
Re: [gentoo-user] How should I clean up my broken system?
On Sun, 14 Feb 2010 12:03:40 +0100, Volker Armin Hemmann wrote: On a more serious note, conf-update automatically merges trivial changes, so any configs you ran at the default, which is probably the majority, won't be flaged at all. so does cfg-update Every now and then, someone mentions cfg-update - usually you :) - and I give it another try, but I don't really get on with it and always go back to conf-update. There's nothing specific wrong with it, I just prefer (or am used to) conf-update. I expect that if I were still using etc-update or dispatch-conf I would welcome it with open arms though. -- Neil Bothwick The modem is the message. signature.asc Description: PGP signature
Re: [gentoo-user] KDE 4.4: window tabbing?
On Sun, 14 Feb 2010 13:08:05 +0700, Robin Atwood wrote: Do you use Oxygen or anything else as window decorator? I use crystal, where tabbing does not work. However, after I changed to Oxygen, it did. So the Decorator has to support it. Thanks, that's the problem, I use Crystal. Changing to Oxygen makes it all work. Bummer, I don't much like Oxygen. ;) Currently, it only works with Oxygen. Now that 4.4 is out and more people will want this feature, the devs of the other themes will make the necessary changes. -- Neil Bothwick I work with User-Surly Software. signature.asc Description: PGP signature
Re: [gentoo-user] Adding dependencies in init scripts
Hi Dirk, In your first post you stated that you want to have both started, right? But after is about order, not dependency. I'd say you need to put rc_need=mpd into /etc/conf.d/mpdscrible and put mpdscrible into default runlevel, not mpd. I understand, but that isn't what I want, because when I boot up, I don't always start up mpd. Maybe a combination of both rc_after=mpdscrible rc_need=mpdscrible in /etc/conf.d/mpd could also work. That's the problem. No matter what I put in /etc/conf.d/mpd the init script seems to ignore it. Even if I write rc_need=more money it will be ignored. Although the config file is read when I restart mpd.
Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?
On Sunday 14 February 2010 13:02:48 Volker Armin Hemmann wrote: I highly recommend drivers to gain the skill of driving a vehicle crash-style without a clutch. Comes in useful sometimes. :-) the point was not stick but unsyncronized ;) I know. I just felt like tossing sounding in that sounded awfully clever :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Adding dependencies in init scripts
Damian: On Sun, Feb 14, 2010 at 12:56:14PM +0100, Damian wrote: I understand, but that isn't what I want, because when I boot up, I don't always start up mpd. Maybe a combination of both rc_after=mpdscrible rc_need=mpdscrible in /etc/conf.d/mpd could also work. That's the problem. No matter what I put in /etc/conf.d/mpd the init script seems to ignore it. Even if I write rc_need=more money it will be ignored. Although the config file is read when I restart mpd. I am getting rather confused by this back and forth (I thought I understood what you wanted and Dirk and other's answers should be right, but now I am not so sure). Can you answer the following for me just to make sure we are on the same page? (a) What is mpdscribble? My understanding is that it is a service that tells other things what is currently playing on mpd? That it is actually a client of mpd? Is it actually a daemon/service? (b) What actually is the desired behaviour? From the last e-mail I am under the impression you don't always want to have the mpd daemon running, but you want to be able to bring up /etc/init.d/mpd and automatically have mpdscribble started? Can you give me a description of what commands you want to execute and what you want to accomplish with those? (c) I noticed that in your previous e-mail you spelled it mpdscrible with only one b. Is that a typo in the e-mail, or is it actually how you have it in /etc/conf.d/mpd? emerge --search suggests that mpdscribble is spelled with two b's. (d) What versions of openrc and baselayout are you using? Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] how to add an ebuild
Greetings; I'm needing to add an ebuild, but there is something I'm not doing right it seems. I have xorg-server-1.6.3.901-r2.ebuild. The file that is. I place it in /usr/portage/x11-base/xorg-server/ I run ebuild xorg-server-1.6.3.901-r2.ebuild digest I can see that the file Manifest is altered. also tried ebuild xorg-server-1.6.3.901-r2.ebuild manifest as man page says those are equivilant. Then eix-update. Then eix xorg-server - the version I am trying to add does not appear in the output. What am I missing here? Other than my sanity. :) Thanks, Skippy
Re: [gentoo-user] How the HAL are you supposed to use these files?
Neil Bothwick wrote: For example, Network Manager uses D-Bus to tell programs when your Internet connection is available and not, so your mail client goes into offline mode rather than pointlessly trying to access your mailbox. Why should an MUA care about some local interface at all ? It doesnt say anything whether the server can be reached, it's nothing more than guessing, that *might* be fine for trivial setups but can cause big headache in more complex ones. For example: * LAN is up, but remote server is or LAN's uplink down, MUA wont learn about it this way * local mailserver is falsely considered unreachable just because the LAN interface went down There's no way around it: the MUA (or a local proxy) must always check on itself whether a _particular_ remote server is reachable and properly handling that. And *IF* some application is interested in the such information, why not just using the filesystem ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Alan McKinnon wrote: Example: You have any old arbitrary email client. A mail contains a URL. Click it. The URL should open in your preferred browser, whatever that should be. Please note that any email client should support launching any browser, whether the dev built in support for it or not. Simply put a simple script in a defined, stardized location. Or use plan9's plumber. Example: Notifications. I have 3 (yes, three!!) kinds of popups that show up here daily. There's KDE's system which is the majority of them, some GTK apps throw popups in the top right corner where I don't want them and them then there's Skype which does it's own thing. God, you gotta love proprietary sekrit apps /sarcasm. The solution is a notification service, apps send their notifications to it and the service does whatever the user configured it to do with the notification. man 1 plumb Just to bring this back to your original statement of Unix philosophy. IPC on modern desktops conforms exactly to the Unix philosophy. On dbus, everything's a file ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] how to add an ebuild
On Sonntag 14 Februar 2010, Skippy wrote: Greetings; I'm needing to add an ebuild, but there is something I'm not doing right it seems. I have xorg-server-1.6.3.901-r2.ebuild. The file that is. I place it in /usr/portage/x11-base/xorg-server/ you should place it in /usr/local/portage/x11-base/xorg-server I run ebuild xorg-server-1.6.3.901-r2.ebuild digest I can see that the file Manifest is altered. also tried ebuild xorg-server-1.6.3.901-r2.ebuild manifest as man page says those are equivilant. Then eix-update. Then eix xorg-server - the version I am trying to add does not appear in the output. because it got deleted? What am I missing here? Other than my sanity. :) see above. You are doing it wrong. Everything in /usr/portage is nuked with the next sync if it isn't on the rsync-server. You have to put your own stuff into /usr/local/portage.
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: so how do you propose that a network connection manager tells a broweser or mail app that they are offline? use the filesystem ? guess what: I've got a filesystem (a tiny 9p server) which even lets me control the network interfaces. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Neil Bothwick wrote: You're on a train, it goes into a 3G dead zone, your mailer hangs until it times out, meaning you can't even read cached mails until that happens. Probably fix that broken MUA (or let it run via an caching proxy) ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Adding dependencies in init scripts
I am getting rather confused by this back and forth (I thought I understood what you wanted and Dirk and other's answers should be right, but now I am not so sure). Can you answer the following for me just to make sure we are on the same page? Sure, I'm sorry for the confusion. (a) What is mpdscribble? My understanding is that it is a service that tells other things what is currently playing on mpd? That it is actually a client of mpd? Is it actually a daemon/service? In short, mpdscribble is a daemon that submits the tracks you play (using mpd) to sites such as libre.fm. In that sense it is a client of mpd. It is possible to start mpdscribble by using /etc/init.d/mpdscribble start (b) What actually is the desired behaviour? From the last e-mail I am under the impression you don't always want to have the mpd daemon running, but you want to be able to bring up /etc/init.d/mpd and automatically have mpdscribble started? Can you give me a description of what commands you want to execute and what you want to accomplish with those? Yes, that's exactly what I want. If I start mpd using the command /etc/init.d/mpd start I would like mpdscribble to be automatically started. What I have as output instead: $ /etc/init.d/mpd stop /etc/init.d/mpd start /etc/init.d/mpdscribble status * Caching service dependencies ... * Service 'syslog-ng' already provides 'logger'!; * Not adding service 'metalog'... [ ok ] * Service mpd stopping * Service mpd stopped * Service mpd starting * Service mpd started * status: stopped (c) I noticed that in your previous e-mail you spelled it mpdscrible with only one b. Is that a typo in the e-mail, or is it actually how you have it in /etc/conf.d/mpd? emerge --search suggests that mpdscribble is spelled with two b's. That's right, it is a typo in my previous mail. The config file has no typo. (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. Thanks, Damian.
Re: [gentoo-user] How the HAL are you supposed to use these files?
Alan McKinnon wrote: You are assuming that smaller WMs don't need IPC. I believe that assumption to be false. If my belief is true, then your argument falls flat. Guess what, there are even very small WMs that have an IPC, and a very clear/portable/network-agnostic one: wmii uses 9P. By way of example: printing. By no stretch of the imagination can printing be considered to be a niche function. How will an arbitrary app find your printers? There are multiple print server around. So, you could: lpr ? If it's interface is not enough anymore, invent a new one. Perhaps as a filesystem. 9P makes this *very* easy. Multimedia buttons. One of the most confounding things on modern hardware are multimedia buttons. Volume is easy - make it adjust the sound server. man 1 plumb cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Alan McKinnon wrote: However. ELF is analogous (with the exception that you don't have one or two binary apps), and nothing is stopping you from building everything statically, or still using .a Actually, if libraries hadn't been grown that extremly fat, but instead using small tailored ones and moving the redundant complexity to their own services, we perhaps won't need it at all, but would be fine with small static binaries (which can startup much faster). cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Alan McKinnon wrote: However. ELF is analogous (with the exception that you don't have one or two binary apps), and nothing is stopping you from building everything statically, or still using .a Actually, if libraries hadn't been grown that extremly fat, but instead using small tailored ones and moving the redundant complexity to their own services, we perhaps won't need it at all, but would be fine with small static binaries (which can startup much faster). cu startup time is not dependet on the size, harddisks are way too fast - but symbol resolution. More libs, more work to resolve them, longer startup times.
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: so how do you propose that a network connection manager tells a broweser or mail app that they are offline? use the filesystem ? guess what: I've got a filesystem (a tiny 9p server) which even lets me control the network interfaces. cu great for you. And how portable is your little solution?
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
Volker Armin Hemmann wrote: KDE apps use PHONON, so they don't have to deal with the underlying sound system. KDE apps use SOLID, so they don't need to care about hardware, hot plugin, etc. KDE apps use dbus so they can share code and easily communicate. One thing I never understood about dbus is why does an IPC deamon depend on X ? And to phonon, why does an audio api depend not just on X, but also Qt ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
BRM wrote: It does not exist so that Kmail can index all the files on the system but for the opposite - so that Kmail can participate in the search by allowing the system to be able to search _its_ data. Just to let me get the point right: kmail provides some kind of search/date integration driver into the semantic-desktop framework ? Why does this have to happen in a MUA ? Why not in an separate service ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: so how do you propose that a network connection manager tells a broweser or mail app that they are offline? use the filesystem ? guess what: I've got a filesystem (a tiny 9p server) which even lets me control the network interfaces. cu great for you. And how portable is your little solution? On the front side, very portable *and* network agnostic. You can reach the server from practically anywhere (assuming fw allows it) as long as you can access 9P fileservers (in theory it should also be re-exportable through other network filesystems, even i didn try it yet ;-o). The backend side (the actual interface controll stuff) yet is linux-specific, but it can be easily adapted to other platforms. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: startup time is not dependet on the size, harddisks are way Assuming you're using an harddisk (or another fast-enough medium) at all. too fast - but symbol resolution. More libs, more work to resolve them, longer startup times. Exactly. And that wouldn't be needed with static executables. Of course this could be minimized by proper prelinking techniques (some kind of JIT for dynamic linking ;-), but that's another topic for its own. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Adding dependencies in init scripts
On 14 Feb 2010, at 11:56, Damian wrote: Hi Dirk, In your first post you stated that you want to have both started, right? But after is about order, not dependency. I'd say you need to put rc_need=mpd into /etc/conf.d/mpdscrible and put mpdscrible into default runlevel, not mpd. I understand, but that isn't what I want, because when I boot up, I don't always start up mpd. So don't put either of them into the default runlevel. The point is to get one of them to start when the other does. Maybe a combination of both rc_after=mpdscrible rc_need=mpdscrible in /etc/conf.d/mpd could also work. That's the problem. No matter what I put in /etc/conf.d/mpd the init script seems to ignore it. Even if I write rc_need=more money it will be ignored. Although the config file is read when I restart mpd. Is it possible that you Dirk are using different versions of baselayout? $ grep rc_need /etc/init.d/* $ grep rc_need /etc/conf.d/* $ eix -I baselayout [I] sys-apps/baselayout Available versions: [P]1.11.15-r3 1.12.11.1 ~1.12.12 1.12.13 ~2.0.0 ~2.0.1 {bootstrap build static unicode} Installed versions: 1.12.13(03:11:46 09/02/10)(unicode - bootstrap -build -static) Homepage:http://www.gentoo.org/ Description: Filesystem baselayout and init scripts $ Stroller.
Re: [gentoo-user] how to add an ebuild
On 14 Feb 2010, at 14:28, Skippy wrote: I'm needing to add an ebuild, but there is something I'm not doing right it seems. I have xorg-server-1.6.3.901-r2.ebuild. The file that is. http://en.gentoo-wiki.com/wiki/Overlay#Creating_a_local_overlay Stroller.
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 03:54:10PM +0100, Damian wrote: (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. I am thinking that Dirk's advice maybe OpenRC/baselayout2 specific. Which is perhaps why those configuration variables gets ignored in your case. One thing you can try is to upgrade. But be sure to follow http://www.gentoo.org/doc/en/openrc-migration.xml if you choose to do so. If you leave the system in an inconsistent state it will fail to boot. (Unfortunately, as far as I know, openrc is not terribly well documented besides the information in /etc/rc.conf ... I'd be happy to be shown otherwise.) For baselayout-1, I think you are more or less stuck with http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=4 Cheers, W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Adding dependencies in init scripts
Am Sonntag 14 Februar 2010 12:56:14 schrieb Damian: into /etc/conf.d/mpdscrible and put mpdscrible into default runlevel, not mpd. I understand, but that isn't what I want, because when I boot up, I don't always start up mpd. Well, then don't put it in any runlevel, but if you start the service, you should rather start mpdscrible instead of mpd. The latter should then be started automatically because of rc_need. Bye... Dirk
Re: [gentoo-user] Adding dependencies in init scripts
Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could still be using BL1, sorry for that ;) Bye... Dirk
Re: [gentoo-user] how to add an ebuild
Thanks y'all In addition to not using the local location, I didn't know about the line in make.conf. Done and done. Plus I couldn't find the right info as I was searching for adding an ebuild or such things instead of adding local overlay which would have probably been more helpful. :) Skippy On Sun, 14 Feb 2010 15:52:10 + Stroller strol...@stellar.eclipse.co.uk wrote the words: On 14 Feb 2010, at 14:28, Skippy wrote: I'm needing to add an ebuild, but there is something I'm not doing right it seems. I have xorg-server-1.6.3.901-r2.ebuild. The file that is. http://en.gentoo-wiki.com/wiki/Overlay#Creating_a_local_overlay Stroller.
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: so how do you propose that a network connection manager tells a broweser or mail app that they are offline? use the filesystem ? guess what: I've got a filesystem (a tiny 9p server) which even lets me control the network interfaces. cu great for you. And how portable is your little solution? On the front side, very portable *and* network agnostic. You can reach the server from practically anywhere (assuming fw allows it) as long as you can access 9P fileservers (in theory it should also be re-exportable through other network filesystems, even i didn try it yet ;-o). The backend side (the actual interface controll stuff) yet is linux-specific, but it can be easily adapted to other platforms. don't waste your time - dbis is already there...
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: BRM wrote: It does not exist so that Kmail can index all the files on the system but for the opposite - so that Kmail can participate in the search by allowing the system to be able to search _its_ data. Just to let me get the point right: kmail provides some kind of search/date integration driver into the semantic-desktop framework ? Why does this have to happen in a MUA ? Why not in an separate service ? kmail provides the HOOKS. Also, we had enough people complaining about bloat just because of dbus. Another service? Great - but then shut up about dbus.
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: KDE apps use PHONON, so they don't have to deal with the underlying sound system. KDE apps use SOLID, so they don't need to care about hardware, hot plugin, etc. KDE apps use dbus so they can share code and easily communicate. One thing I never understood about dbus is why does an IPC deamon depend on X ? And to phonon, why does an audio api depend not just on X, but also Qt ? cu dbus: luckily X is not a mandatory dependendcy for dbus. phonon: because phonon is part of qt? And qt is more than just a toolkit?
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: startup time is not dependet on the size, harddisks are way Assuming you're using an harddisk (or another fast-enough medium) at all. too fast - but symbol resolution. More libs, more work to resolve them, longer startup times. Exactly. And that wouldn't be needed with static executables. no, but with static exes you have to recompile everything everytime a security bug is found. Or some other bug fixed. Oh - and didn't you just complain about bloat? Nothing means more bloat than static binaries.
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: don't waste your time - dbis is already there... dbus lets me access my network interfaces via filesystem ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
[gentoo-user] Kernel Error
What can be this / bin / sh: lzma: command not found make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: don't waste your time - dbis is already there... dbus lets me access my network interfaces via filesystem ? no, it is ported to different architectures.
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: no, but with static exes you have to recompile everything everytime a security bug is found. That's the job of the distro buildsystem. Ah, and that dramatically minimizes the chance that things break apart (i still remember the old times when libc updates tended to be dangerous). Oh - and didn't you just complain about bloat? Nothing means more bloat than static binaries. As already said, all this under the axiom that libs are *small* and complex/redundant things are done by separate services. Perhaps you might have a look at Plan9 and how its done there. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Adding dependencies in init scripts
On Sun, Feb 14, 2010 at 6:00 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag 14 Februar 2010 16:48:00 schrieb Stroller: Is it possible that you Dirk are using different versions of baselayout? Yes, I am running OpenRC/BL2. I didn't even think for a second that somebody could still be using BL1, sorry for that ;) Ok, I just thought that there might be an easy way in (my loved) gentoo to start daemon/service X whenever Y is started. So I'll try upgrading to baselayout 2, and I'll see what happens. Thanks, Damian.
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
Volker Armin Hemmann wrote: Another service? Yes, a service that will be started only on-demand. Great - but then shut up about dbus. Who the frak are you to tell me shut up ?! cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] Kernel Error
German Lopez Cortina schrieb am 14.02.2010 19:45: What can be this / bin / sh: lzma: command not found make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2 You have lzma compression enabled for your kernel image but you don't have app-arch/xz-utils or app-arch/lzma-utils installed. -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
Volker Armin Hemmann wrote: phonon: because phonon is part of qt? And qt is more than just a toolkit? What is it then ? An own OS ? ;-o cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
Volker Armin Hemmann wrote: On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: don't waste your time - dbis is already there... dbus lets me access my network interfaces via filesystem ? no, it is ported to different architectures. the only thing i have yet to port is the networking stuff. everything else is just plain ansi-c using posix APIs. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: don't waste your time - dbis is already there... dbus lets me access my network interfaces via filesystem ? no, it is ported to different architectures. the only thing i have yet to port is the networking stuff. everything else is just plain ansi-c using posix APIs. and posix works everywhere ... yeah.
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: no, but with static exes you have to recompile everything everytime a security bug is found. That's the job of the distro buildsystem. Ah, and that dramatically minimizes the chance that things break apart (i still remember the old times when libc updates tended to be dangerous). and even better - just introduce a single patch/updated package and everything is fine. What you are describing is maybe nice with gentoo. But a nightmare if you want something stable. Recompiling everything is not an option. Why do you think the whole industry went away from static - except for tiny embedded devices? Oh - and didn't you just complain about bloat? Nothing means more bloat than static binaries. As already said, all this under the axiom that libs are *small* and complex/redundant things are done by separate services. Perhaps you might have a look at Plan9 and how its done there. no, under the axiom of sharable code. The size of a lib is not really important - except if you use everything. But if you compile in everything the lib does on a static basis, all your binaries are huge and bloated.
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: phonon: because phonon is part of qt? And qt is more than just a toolkit? What is it then ? An own OS ? ;-o are you insisting going down the stupid road?
Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?
On Sonntag 14 Februar 2010, Enrico Weigelt wrote: Volker Armin Hemmann wrote: Another service? Yes, a service that will be started only on-demand. so I have to wait for the service to start first? Sounds even crappier. Great - but then shut up about dbus. Who the frak are you to tell me shut up ?! attacking dbus or nepomuk and then proposing a 'small service' - sounds really clever.
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sun, 14 Feb 2010 15:27:45 +0100, Enrico Weigelt wrote: For example, Network Manager uses D-Bus to tell programs when your Internet connection is available and not, so your mail client goes into offline mode rather than pointlessly trying to access your mailbox. Why should an MUA care about some local interface at all ? It doesnt say anything whether the server can be reached, it's nothing more than guessing, that *might* be fine for trivial setups but can cause big headache in more complex ones. I think this thread has had enough people trying to find specific use cases where IPC would not be useful and trying to use that as some sort of justification for it never being useful. You're a little late for the party. -- Neil Bothwick There are no stupid questions, just too many inquisitive idiots. signature.asc Description: PGP signature
Re: [gentoo-user] Kernel Error
On Sun, 14 Feb 2010 13:45:49 -0500 German Lopez Cortina glo...@estudiantes.uci.cu wrote: What can be this / bin / sh: lzma: command not found make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2 You need app-arch/lzma, app-arch/xz-utils, app-arch/lzma-utils or app-arch/p7zip. signature.asc Description: PGP signature
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sunday 14 February 2010 16:40:01 Enrico Weigelt wrote: Just to bring this back to your original statement of Unix philosophy. IPC on modern desktops conforms exactly to the Unix philosophy. On dbus, everything's a file ? You are either ignorant, or trying to be a jackass. Either way, it's obvious you do not underatand Unix philosophy Everything is a file is but one of many engineering concepts underpinning Unix. I really don't have the inclination to delineate them for you, I suggest you Google the topic - it will serve you well in future. Meanwhile, here's the short description of the main principle behind what I said: A large collection of small programs, each of which does one thing well. The one thing an MUA does well is NOT popup notifications but dealing with mail - retrieving it (or causing it to be retrieved), sending it (or causing it to be sent) and displaying it to be read. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] How the HAL are you supposed to use these files?
On Sunday 14 February 2010 20:44:32 Enrico Weigelt wrote: Volker Armin Hemmann wrote: no, but with static exes you have to recompile everything everytime a security bug is found. That's the job of the distro buildsystem. Ah, and that dramatically minimizes the chance that things break apart (i still remember the old times when libc updates tended to be dangerous). Oh - and didn't you just complain about bloat? Nothing means more bloat than static binaries. As already said, all this under the axiom that libs are *small* and complex/redundant things are done by separate services. Perhaps you might have a look at Plan9 and how its done there. To be fair, Plan9 is Unix done right. For all it's power, Unix (the system, not just the kernel) has some very severe flaws. Why can't I prepend data to a file using any of the common shells? Why are pipes 1 input 1 output, instead of the more useful 1 input same data to 2 or more outputs? Why is the permission model so simplistic? Why is ELF so prone to bloat (or more accurately why do so many compilers generate such large libs?) The answer is because of the available constraints at the time these things were introduced. Partly the amount of grunt available from systems of the time, partly the speed of disks, partly to keep things simple and to an irreducible minimum, with a huge helping of how easy a platform it is to develop on. For better or worse, what we have is what we have and it's the sum total of the past. -- alan dot mckinnon at gmail dot com
RE: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils
kos...@gentoo /usr/bin $ ls -al gcc* -rwxr-xr-x 1 root root 14504 Jun 17 2008 gcc lrwxrwxrwx 1 root root62 Jan 24 06:25 gcc-4.3.4 - /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/x86_64-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21711 Jan 24 01:46 gcc-config kos...@gentoo /usr/bin $ Maybe I have to boot from a live cd, chroot to the hard-disk files, emerge gcc, reboot and after that emerge -uDN world. Gcc seems to be ok from here, the problems is somewhere else. -Original Message- From: news [mailto:n...@ger.gmane.org] On Behalf Of walt Sent: Sunday, February 14, 2010 1:18 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils Konstantinos Bekiaris wrote: On Tue, Feb 9, 2010 at 8:53 PM, walt w41...@gmail.com mailto:w41...@gmail.com wrote: On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote: What do you have in /etc/env.d/gcc/? I have this: #ls -l /etc/env.d/gcc/ total 16 -rw-r--r-- 1 root root 32 2010-02-08 11:53 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4 Do you still have any version of gcc installed? drwxr-xr-x 2 root root 4096 Jan 24 13:16 . drwxr-xr-x 5 root root 4096 Jan 24 13:17 .. lrwxrwxrwx 1 root root 25 Jan 24 06:25 .NATIVE - x86_64-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 34 Jan 24 06:25 config-x86_64-pc-linux-gnu -rw-r--r-- 1 root root 381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4 There's one problem. .NATIVE is pointing at a non-existent file. Assuming your machine really does have gcc-4.3.4, .NATIVE should be pointing at x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu should be: CURRENT=x86_64-pc-linux-gnu-4.3.4 I don't know why there are two different ways to point at the same gcc, but that's the way gcc-config does it. Correct those two files and see if it helps. I think that i have gcc, the problem is that it is not correctly linked with tha appropriate files-libraries. You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if it works. It works, when i am in the folder /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/ and i tried ./gcc, it works. Can you please show me the way i must put the links in order to work from anywhere(sym links or hard links)? I think it is ln -s //usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc folder. This is weird. I have a small binary /usr/bin/gcc which is obviously just a stub for starting the version of gcc you select with gcc-config. The weird part is that no package claims that file so I don't know how it got there but the date suggests it was put there by gcc-4.3.4. $ls -l /usr/bin/gcc* -rwxr-xr-x 1 root root 9572 2010-01-10 12:29 /usr/bin/gcc *** this one lrwxrwxrwx 1 root root58 2009-01-29 12:34 /usr/bin/gcc-4.1.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.1.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2009-07-04 09:03 /usr/bin/gcc-4.3.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2010-01-10 12:29 /usr/bin/gcc-4.3.4 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21711 2010-02-13 14:33 /usr/bin/gcc-config Do you have a similar /usr/bin/gcc? It seems to run whatever file /etc/env.d/gcc/.NATIVE is pointing to, so that symlink must be right for /usr/bin/gcc to work properly.
Re: [gentoo-user] Re: revdep-rebuild keeps reinstalling binutils
kos...@gentoo /usr/bin $ ls -al gcc* -rwxr-xr-x 1 root root 14504 Jun 17 2008 gcc lrwxrwxrwx 1 root root62 Jan 24 06:25 gcc-4.3.4 - /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/x86_64-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21711 Jan 24 01:46 gcc-config kos...@gentoo /usr/bin $ Maybe I have to boot from a live cd, chroot to the hard-disk files, emerge gcc, reboot and after that emerge -uDN world. Gcc seems to be ok from here, the problems is somewhere else. On Sun, Feb 14, 2010 at 1:18 AM, walt w41...@gmail.com wrote: Konstantinos Bekiaris wrote: On Tue, Feb 9, 2010 at 8:53 PM, walt w41...@gmail.com mailto:w41...@gmail.com wrote: On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote: What do you have in /etc/env.d/gcc/? I have this: #ls -l /etc/env.d/gcc/ total 16 -rw-r--r-- 1 root root 32 2010-02-08 11:53 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2 -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4 Do you still have any version of gcc installed? drwxr-xr-x 2 root root 4096 Jan 24 13:16 . drwxr-xr-x 5 root root 4096 Jan 24 13:17 .. lrwxrwxrwx 1 root root 25 Jan 24 06:25 .NATIVE - x86_64-pc-linux-gnu-4.1.2 -rw-r--r-- 1 root root 34 Jan 24 06:25 config-x86_64-pc-linux-gnu -rw-r--r-- 1 root root 381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4 There's one problem. .NATIVE is pointing at a non-existent file. Assuming your machine really does have gcc-4.3.4, .NATIVE should be pointing at x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu should be: CURRENT=x86_64-pc-linux-gnu-4.3.4 I don't know why there are two different ways to point at the same gcc, but that's the way gcc-config does it. Correct those two files and see if it helps. I think that i have gcc, the problem is that it is not correctly linked with tha appropriate files-libraries. You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if it works. It works, when i am in the folder /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/ and i tried ./gcc, it works. Can you please show me the way i must put the links in order to work from anywhere(sym links or hard links)? I think it is ln -s //usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc folder. This is weird. I have a small binary /usr/bin/gcc which is obviously just a stub for starting the version of gcc you select with gcc-config. The weird part is that no package claims that file so I don't know how it got there but the date suggests it was put there by gcc-4.3.4. $ls -l /usr/bin/gcc* -rwxr-xr-x 1 root root 9572 2010-01-10 12:29 /usr/bin/gcc *** this one lrwxrwxrwx 1 root root58 2009-01-29 12:34 /usr/bin/gcc-4.1.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.1.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2009-07-04 09:03 /usr/bin/gcc-4.3.2 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.2/i686-pc-linux-gnu-gcc lrwxrwxrwx 1 root root58 2010-01-10 12:29 /usr/bin/gcc-4.3.4 - /usr/i686-pc-linux-gnu/gcc-bin/4.3.4/i686-pc-linux-gnu-gcc -rwxr-xr-x 1 root root 21711 2010-02-13 14:33 /usr/bin/gcc-config Do you have a similar /usr/bin/gcc? It seems to run whatever file /etc/env.d/gcc/.NATIVE is pointing to, so that symlink must be right for /usr/bin/gcc to work properly. -- Greetings, Daemon!
Re: [gentoo-user] Adding dependencies in init scripts
Am Sun, 14 Feb 2010 15:54:10 +0100 schrieb Damian damian.o...@gmail.com: (d) What versions of openrc and baselayout are you using? openrc is not installed, and the baselayout version is 1.12.13. As Willie Wong mentioned, that ought to explain it. The features Dirk was referring to are AFAIK only available in OpenRC/Baselayout-2. In addition to the previous advice, another thing you could try is modify the mpdscribble init script and add it (not the entire /etc/init.d/ directory [0]) to CONFIG_PROTECT in make.conf, similarly to what Neil suggested. Then you should only be bothered by mpdscribble updates, and not by *any* update in /etc/init.d/. Of course this is up to you. Perhaps there is a better way to accomplish what you want with baselayout-1, but I can't think of any right now. Thanks, Damian. [0] According to make.conf(5), CONFIG_PROTECT and CONFIG_PROTECT_MASK may contain individual files in addition to whole directories. HTH -- Marc Joliet -- Lt. Frank Drebin: It's true what they say: cops and women don't mix. Like eating a spoonful of Drāno; sure, it'll clean you out, but it'll leave you hollow inside. signature.asc Description: PGP signature
[gentoo-user] poppler vs virtual/poppler eix-test-obsolete
Hi, Mostly in support of (I think) KDE I have poppler installed which seems to cause eix-test-obsolete a little indigestion. It sees virtual/poppler as installed but says they are not in the database. Do I have a problem here (eix-test-obsolete itself or my use of it, use flags, some sort of database problem, etc.) or is this some sort of ebuild problem that will likely get worked out over the next few weeks? Thanks, Mark firefly ~ # eix -Ic poppler [I] app-text/poppler (0.12.3...@02/14/10): PDF rendering library based on the xpdf-3.0 code base firefly ~ # equery depends =app-text/poppler-0.12.3-r3 [ Searching for packages depending on =app-text/poppler-0.12.3-r3... ] app-misc/strigi-0.7.0 (=app-text/poppler-0.12.3-r3[utils]) app-text/evince-2.26.2 (=app-text/poppler-0.12.3-r3[cairo]) kde-base/okular-4.3.3 (pdf? =app-text/poppler-0.12.3-r3[lcms,qt4]) net-print/cups-1.3.11-r1 (=app-text/poppler-0.12.3-r3[utils]) virtual/poppler-0.12.3-r1 (~app-text/poppler-0.12.3[lcms?,xpdf-headers]) virtual/poppler-glib-0.12.3-r2 (~app-text/poppler-0.12.3[cairo]) virtual/poppler-qt4-0.12.3-r1 (~app-text/poppler-0.12.3[qt4]) virtual/poppler-utils-0.12.3-r1 (~app-text/poppler-0.12.3[abiword?,png?,utils]) firefly ~ # eix-test-obsolete -d No non-matching entries in /etc/portage/package.keywords. No non-matching entries in /etc/portage/package.mask. No non-matching entries in /etc/portage/package.unmask. No non-matching or empty entries in /etc/portage/package.use. No non-matching or empty entries in /etc/portage/package.cflags. The following installed packages are not in the database: virtual/poppler virtual/poppler-glib virtual/poppler-qt4 virtual/poppler-utils -- No redundant entries in /etc/portage/package.keywords (or test switched off). No redundant entries in /etc/portage/package.mask (or test switched off). No redundant entries in /etc/portage/package.unmask (or test switched off). No redundant entries in /etc/portage/package.use (or test switched off). No redundant entries in /etc/portage/package.cflags (or test switched off). No uninstalled entries in /etc/portage/package.keywords (or test switched off). No uninstalled entries in /etc/portage/package.mask (or test switched off). No uninstalled entries in /etc/portage/package.unmask (or test switched off). No uninstalled entries in /etc/portage/package.use (or test switched off). No uninstalled entries in /etc/portage/package.cflags (or test switched off). All installed versions of packages are in the database. firefly ~ # firefly ~ # slocate poppler | grep virtual /var/db/pkg/virtual/poppler-0.12.3-r1 /var/db/pkg/virtual/poppler-0.12.3-r1/COUNTER /var/db/pkg/virtual/poppler-0.12.3-r1/KEYWORDS /var/db/pkg/virtual/poppler-0.12.3-r1/DEFINED_PHASES /var/db/pkg/virtual/poppler-0.12.3-r1/PF /var/db/pkg/virtual/poppler-0.12.3-r1/PROPERTIES /var/db/pkg/virtual/poppler-0.12.3-r1/DEPEND /var/db/pkg/virtual/poppler-0.12.3-r1/DESCRIPTION /var/db/pkg/virtual/poppler-0.12.3-r1/USE /var/db/pkg/virtual/poppler-0.12.3-r1/FEATURES /var/db/pkg/virtual/poppler-0.12.3-r1/SLOT /var/db/pkg/virtual/poppler-0.12.3-r1/RDEPEND /var/db/pkg/virtual/poppler-0.12.3-r1/SIZE /var/db/pkg/virtual/poppler-0.12.3-r1/IUSE /var/db/pkg/virtual/poppler-0.12.3-r1/poppler-0.12.3-r1.ebuild /var/db/pkg/virtual/poppler-0.12.3-r1/CFLAGS /var/db/pkg/virtual/poppler-0.12.3-r1/environment.bz2 /var/db/pkg/virtual/poppler-0.12.3-r1/repository /var/db/pkg/virtual/poppler-0.12.3-r1/LDFLAGS /var/db/pkg/virtual/poppler-0.12.3-r1/EAPI /var/db/pkg/virtual/poppler-0.12.3-r1/CATEGORY /var/db/pkg/virtual/poppler-0.12.3-r1/CBUILD /var/db/pkg/virtual/poppler-0.12.3-r1/CXXFLAGS /var/db/pkg/virtual/poppler-0.12.3-r1/CHOST /var/db/pkg/virtual/poppler-0.12.3-r1/CONTENTS /var/db/pkg/virtual/poppler-glib-0.12.3-r2 /var/db/pkg/virtual/poppler-glib-0.12.3-r2/COUNTER /var/db/pkg/virtual/poppler-glib-0.12.3-r2/KEYWORDS /var/db/pkg/virtual/poppler-glib-0.12.3-r2/DEFINED_PHASES /var/db/pkg/virtual/poppler-glib-0.12.3-r2/PF /var/db/pkg/virtual/poppler-glib-0.12.3-r2/PROPERTIES /var/db/pkg/virtual/poppler-glib-0.12.3-r2/DEPEND /var/db/pkg/virtual/poppler-glib-0.12.3-r2/DESCRIPTION /var/db/pkg/virtual/poppler-glib-0.12.3-r2/USE /var/db/pkg/virtual/poppler-glib-0.12.3-r2/poppler-glib-0.12.3-r2.ebuild /var/db/pkg/virtual/poppler-glib-0.12.3-r2/FEATURES /var/db/pkg/virtual/poppler-glib-0.12.3-r2/SLOT /var/db/pkg/virtual/poppler-glib-0.12.3-r2/RDEPEND /var/db/pkg/virtual/poppler-glib-0.12.3-r2/SIZE /var/db/pkg/virtual/poppler-glib-0.12.3-r2/IUSE /var/db/pkg/virtual/poppler-glib-0.12.3-r2/CFLAGS /var/db/pkg/virtual/poppler-glib-0.12.3-r2/environment.bz2 /var/db/pkg/virtual/poppler-glib-0.12.3-r2/repository /var/db/pkg/virtual/poppler-glib-0.12.3-r2/LDFLAGS /var/db/pkg/virtual/poppler-glib-0.12.3-r2/EAPI /var/db/pkg/virtual/poppler-glib-0.12.3-r2/CATEGORY /var/db/pkg/virtual/poppler-glib-0.12.3-r2/CBUILD /var/db/pkg/virtual/poppler-glib-0.12.3-r2/CXXFLAGS /var/db/pkg/virtual/poppler-glib-0.12.3-r2/CHOST
Re: [gentoo-user] poppler vs virtual/poppler eix-test-obsolete
On Sunday 14 February 2010 22:10:05 Mark Knecht wrote: Hi, Mostly in support of (I think) KDE I have poppler installed which seems to cause eix-test-obsolete a little indigestion. It sees virtual/poppler as installed but says they are not in the database. Do I have a problem here (eix-test-obsolete itself or my use of it, use flags, some sort of database problem, etc.) or is this some sort of ebuild problem that will likely get worked out over the next few weeks? I saw this a few days ago. virtual/poppler is not in portage anymore. We now just have regular poppler, xpdf, et al. Just remove poppler from world if you have it there - you shouldn't, it's a lib and should be pulled in by everything that DEPENDs on it. Latest masked portage deals with this kind of nonsense nicely. If you use an old portage, you may have to unmerge what you have and remerge the real one. FWIW, poppler is one of those packages seemingly run by an insane idiot. Every new minor point version seems to block the one before it, implying API/ABI breaks across minor versions. Which is thick beyond belief. It's a problematic package and one that I seemed to umerge/merge often in the pre-portage-2.2 days -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] poppler vs virtual/poppler eix-test-obsolete
On Sun, Feb 14, 2010 at 12:18 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 14 February 2010 22:10:05 Mark Knecht wrote: Hi, Mostly in support of (I think) KDE I have poppler installed which seems to cause eix-test-obsolete a little indigestion. It sees virtual/poppler as installed but says they are not in the database. Do I have a problem here (eix-test-obsolete itself or my use of it, use flags, some sort of database problem, etc.) or is this some sort of ebuild problem that will likely get worked out over the next few weeks? I saw this a few days ago. virtual/poppler is not in portage anymore. We now just have regular poppler, xpdf, et al. Just remove poppler from world if you have it there - you shouldn't, it's a lib and should be pulled in by everything that DEPENDs on it. Latest masked portage deals with this kind of nonsense nicely. If you use an old portage, you may have to unmerge what you have and remerge the real one. FWIW, poppler is one of those packages seemingly run by an insane idiot. Every new minor point version seems to block the one before it, implying API/ABI breaks across minor versions. Which is thick beyond belief. It's a problematic package and one that I seemed to umerge/merge often in the pre-portage-2.2 days -- alan dot mckinnon at gmail dot com Alan, poppler isn't in my world file: firefly ~ # cat /var/lib/portage/world | grep poppler firefly ~ # and I seem to be using the newest portage-2.2_rc62 although a slightly older portage-utils-0.2.1 Are you suggesting the I unmerge poppler and then do a revdep-rebuild (or emerge -DuN @world) to get it reinstalled without this problem? Easy enough if it works, but even if it works it seems something is brokern and before I destroy the symptom I thought I'd ask a couple of questions. I've read a couple of bug reports that echo your thoughts about the package. Thanks, Mark
Re: [gentoo-user] Keyword for dev-java/sun-j2ee
dhk wrote: Alan McKinnon wrote: On Friday 12 February 2010 00:58:52 dhk wrote: I put /usr/bin/java back the way it was. ln -s /usr/bin/run-java-tool /usr/bin/java I set the CLASSPATH, got it from java-config --runtime export CLASSPATH=$CLASSPATH:/opt/sun-jdk-1.6.0.18/jre/lib/resources.jar: /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar:/opt/sun-jdk-1.6.0.18/jre/lib/jsse.jar : /opt/sun-jdk-1.6.0.18/jre/lib/jce.jar:/opt/sun-jdk-1.6.0.18/jre/lib/charse ts.jar Is it safe to set the CLASSPATH as follows? export CLASSPATH=$CLASSPATH:`java-config --runtime` That seems to work too. I ran /opt/sun-j2ee-1.3.1/bin/j2ee and still got the errors. It definately looks like the CLASSPATH, but what should it be? I'm getting out of my depth here :-) It's been a while since I used java to any extent, and things change rapidly in that arena. Perhaps you need a more java-specific forum, or wait for someone with a real clue to come along and read this thread. Well, thanks for your help. I appreciate it. dhk Ok, I think the problem is in the rt.jar file. The beginning of the error is as follows: # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose J2EE server listen port: 1050 Exception in thread main java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable However, the following command shows the IdentityHashtable in a different location. # jar tf /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar | grep IdentityHashtable com/sun/corba/se/impl/util/IdentityHashtable.class com/sun/corba/se/impl/util/IdentityHashtableEntry.class com/sun/corba/se/impl/util/IdentityHashtableEnumerator.class I think the difference is j2ee is looking for IdentityHashtable in com/sun/corba/se/internal/util/IdentityHashtable but the jar file has it in com/sun/corba/se/impl/util/IdentityHashtable.class . Is this the problem? If so haw can it be fixed? Thanks, dhk
Re: [gentoo-user] poppler vs virtual/poppler eix-test-obsolete
On 14 Feb 2010, at 20:31, Mark Knecht wrote: ... poppler isn't in my world file: ... Are you suggesting the I unmerge poppler and then do a revdep-rebuild (or emerge -DuN @world) to get it reinstalled without this problem? Yes. Stroller.
Re: [gentoo-user] poppler vs virtual/poppler eix-test-obsolete
On Sun, Feb 14, 2010 at 1:33 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 14 Feb 2010, at 20:31, Mark Knecht wrote: ... poppler isn't in my world file: ... Are you suggesting the I unmerge poppler and then do a revdep-rebuild (or emerge -DuN @world) to get it reinstalled without this problem? Yes. Stroller. Well, it's an interesting result, or I'm just getting tired. I really think that I tried emerge --depclean earlier and it didn't fix the problem. After emerge -C poppler/emerge poppler I was left with the same failure in eix-test-obsolete but this time emerge --depclean did get rid of the 4 virtuals. I don't know. I suspect now that I never did emerge --depclean. Thanks. It's fixed. Cheers, Mark
Re: [gentoo-user] Kernel Error
On Sun, Feb 14, 2010 at 08:20:52PM +0100, hp_sebastian wrote: On Sun, 14 Feb 2010 13:45:49 -0500 German Lopez Cortina glo...@estudiantes.uci.cu wrote: What can be this / bin / sh: lzma: command not found make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2 You need app-arch/lzma, app-arch/xz-utils, app-arch/lzma-utils or app-arch/p7zip. Or change the Kernel compression mode (under General Setup in menuconfig) to something other than lzma. W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
[gentoo-user] Running xsane
Hi everyone, I have purchased an HP C4795 Photosmart All-in-One printer, scanner and copier. I have gotten the printer to work fine after installing the unstable version of hplip. The copy mechanism works also. However, I am having trouble with the scanner. I again have installed unstable versions (i.e. ~x86) versions of sane-backends and xsane). If I run xsane as root, the scanner is recognized. However, if I run xsane as a normal user, the device is not recognized. I can't seem to figure out what to change to rectify this - I've tried changing the owner and group on the xsane executable, but this didn't work. The permissions for the xsane executable seem fine. I have added myself to the scanner group, but this doesn't seem to have any affect. Also, despite the fact that the device can be set up wirelessly, I have not done this - I have the unit connected to my computer via USB cable. Any of you gurus have any ideas? Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far
Am Sonntag, 7. Februar 2010 schrieb Mark Knecht: Hi Willie, OK - it turns out if I start fdisk using the -u option it show me sector numbers. Looking at the original partition put on just using default values it had the starting sector was 63 - probably about the worst value it could be. As a test I blew away that partition and created a new one starting at 64 instead and the untar results are vastly improved - down to roughly 20 seconds from 8-10 minutes. That's roughly twice as fast as the old 120GB SATA2 drive I was using to test the system out while I debugged this issue. Sorry if I reheat a topic that some already consider closed. I used the weekend to experiment on that stuff and need to report my results. Because they startle me a little. I first tried different start sectors around sector 63: 63, 64, 66, 68 etc. They showed nearly the same results in speed. So I almost thought that my drive, albeit being new and of high capacity, is not affected by this yet. But then I tested my main media partition, which starts in the middle of the disk. I downloaded a portage snapshot and put it into a ramdisk, so reading it would not manipulate measurements. I also copied a 1GB file into that ramdisk to test consecutive writes. As a start sector I chose 288816640, which is divisible by 64. The startling result: this gave the lowest performance. If the partition starts in one of the sectors behind it, performance was always better. I repeated the test several times to confirm it. How do you explain this? :-? The following table shows the ‘real’ value from the output of the time command. SS means the aforementioned start sector with SS % 64 == 0. action SS (1st) SS (2nd) SS+2 SS+4 SS+6 SS+8 -+--+--+--+--+--+-- untar portage 3m12.517 2m55.916 1m46.663 1m35.341 1m47.829 1m43.677 rm portage 4m11.109 3m54.950 3m18.820 3m11.378 3m21.804 3m12.433 cp 1GB file0m21.383 0m13.558 0m14.920 0m12.813 0m13.407 0m13.681 -- Gruß | Greetings | Qapla' How are things in the collective? - Perfect. (Captain Jainway to the Borg queen) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far
On Mon, Feb 15, 2010 at 01:48:01AM +0100, Frank Steinmetzger wrote: Sorry if I reheat a topic that some already consider closed. I used the weekend to experiment on that stuff and need to report my results. Because they startle me a little. I first tried different start sectors around sector 63: 63, 64, 66, 68 etc. They showed nearly the same results in speed. So I almost thought that my drive, albeit being new and of high capacity, is not affected by this yet. But then I tested my main media partition, which starts in the middle of the disk. I downloaded a portage snapshot and put it into a ramdisk, so reading it would not manipulate measurements. I also copied a 1GB file into that ramdisk to test consecutive writes. As a start sector I chose 288816640, which is divisible by 64. The startling result: this gave the lowest performance. If the partition starts in one of the sectors behind it, performance was always better. I repeated the test several times to confirm it. How do you explain this? :-? The following table shows the ‘real’ value from the output of the time command. SS means the aforementioned start sector with SS % 64 == 0. action SS (1st) SS (2nd) SS+2 SS+4 SS+6 SS+8 -+--+--+--+--+--+-- untar portage 3m12.517 2m55.916 1m46.663 1m35.341 1m47.829 1m43.677 rm portage 4m11.109 3m54.950 3m18.820 3m11.378 3m21.804 3m12.433 cp 1GB file0m21.383 0m13.558 0m14.920 0m12.813 0m13.407 0m13.681 Instead of guessing using this rather imprecise metric, why not just look up the serial number of your drive and see what the physical sector size is? If you don't want to open your box, you can usually get the information from dmesg. Only caveat: don't trust the harddrive to report accurate geometry. This whole issue is due to the harddrives lying about their physical geometry to be compatible with older versions of Windows. So the physical sector size listed in dmesg may not be the real one. Which is why you are advised to look up the model number on the vendor's website yourself to determine the physical sector size. W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] 1-Terabyte drives - 4K sector sizes? - bar performance so far
2010/2/14 Willie Wong ww...@math.princeton.edu: On Mon, Feb 15, 2010 at 01:48:01AM +0100, Frank Steinmetzger wrote: SNIP action SS (1st) SS (2nd) SS+2 SS+4 SS+6 SS+8 -+--+--+--+--+--+-- untar portage 3m12.517 2m55.916 1m46.663 1m35.341 1m47.829 1m43.677 rm portage 4m11.109 3m54.950 3m18.820 3m11.378 3m21.804 3m12.433 cp 1GB file0m21.383 0m13.558 0m14.920 0m12.813 0m13.407 0m13.681 Instead of guessing using this rather imprecise metric, why not just look up the serial number of your drive and see what the physical sector size is? If you don't want to open your box, you can usually get the information from dmesg. hdparm capital eye works very nicely: gandalf ~ # hdparm -I /dev/sda /dev/sda: ATA device, with non-removable media Model Number: WDC WD10EARS-00Y5B1 Serial Number: WD-WCAV55464493 Firmware Revision: 80.00A80 Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6 Standards: Supported: 8 7 6 5 Likely used: 8 SNIP Only caveat: don't trust the harddrive to report accurate geometry. This whole issue is due to the harddrives lying about their physical geometry to be compatible with older versions of Windows. So the physical sector size listed in dmesg may not be the real one. Which is why you are advised to look up the model number on the vendor's website yourself to determine the physical sector size. W -- Willie W. Wong ww...@math.princeton.edu Very true... Since this thread started and you help (me at least1) understand what I was dealing with I got in contact with Mark Lord - the developer and maintainer of the hdparm program. I was interested in seeing if we could get hdparm to recognize this aspect of the drive. He was very interested and asked me to send along additional info which he then analyzed and decided that, at least at this time, even drives that we __know__ are 4K sector sizes are not implementing any way of reading it from the drive's firmware which is supported, at least in the newer SATA specs. With that he decided that even for his own new 4K drives he cannot do anything except either assume they are 4K and partition appropriately or look up specs specifically as you suggest. Currently I'm partial to the idea that all my sector starting addresses will end in '000'. It's easy to remember and at most that wastes (I think) 512K bytes between sectors so it's not much in terms of the overall disk space. Just a couple of megabyte on a drive with 4 partitions. = Mark
[gentoo-user] Error+ffmpeg
Error ffmpeg installing make: *** [libavcodec/x86/dsputil_mmx.o] Error 1 * ERROR: media-video/ffmpeg-0.5_p20373 failed: * make failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2636: Called die * The specific snippet of code: * emake || die make failed * * If you need support, post the output of 'emerge --info =media- video/ffmpeg-0.5_p20373', * the complete build log and the output of 'emerge -pqv =media- video/ffmpeg-0.5_p20373'. * The complete build log is located at '/var/log/portage/media- video:ffmpeg-0.5_p20373:20100215-033636.log'. * The ebuild environment file is located at '/var/tmp/portage/media- video/ffmpeg-0.5_p20373/temp/environment'. * S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373' Failed to emerge media-video/ffmpeg-0.5_p20373, Log file: '/var/log/portage/media-video:ffmpeg-0.5_p20373:20100215-033636.log' * Messages for package media-video/ffmpeg-0.5_p20373: * ERROR: media-video/ffmpeg-0.5_p20373 failed: * make failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2636: Called die * The specific snippet of code: * emake || die make failed * * If you need support, post the output of 'emerge --info =media- video/ffmpeg-0.5_p20373', * the complete build log and the output of 'emerge -pqv =media- video/ffmpeg-0.5_p20373'. * The complete build log is located at '/var/log/portage/media- video:ffmpeg-0.5_p20373:20100215-033636.log'. * The ebuild environment file is located at '/var/tmp/portage/media- video/ffmpeg-0.5_p20373/temp/environment'. * S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373'
Re: [gentoo-user] Error+ffmpeg
On Monday 15 February 2010 05:49:23 German Lopez Cortina wrote: Error ffmpeg installing Please report with the build error. It's earlier than the bit you quoted, you need to examine the output to find it. make: *** [libavcodec/x86/dsputil_mmx.o] Error 1 * ERROR: media-video/ffmpeg-0.5_p20373 failed: * make failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2636: Called die * The specific snippet of code: * emake || die make failed * * If you need support, post the output of 'emerge --info =media- video/ffmpeg-0.5_p20373', * the complete build log and the output of 'emerge -pqv =media- video/ffmpeg-0.5_p20373'. * The complete build log is located at '/var/log/portage/media- video:ffmpeg-0.5_p20373:20100215-033636.log'. * The ebuild environment file is located at '/var/tmp/portage/media- video/ffmpeg-0.5_p20373/temp/environment'. * S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373' Failed to emerge media-video/ffmpeg-0.5_p20373, Log file: '/var/log/portage/media-video:ffmpeg-0.5_p20373:20100215-033636.log' * Messages for package media-video/ffmpeg-0.5_p20373: * ERROR: media-video/ffmpeg-0.5_p20373 failed: * make failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2636: Called die * The specific snippet of code: * emake || die make failed * * If you need support, post the output of 'emerge --info =media- video/ffmpeg-0.5_p20373', * the complete build log and the output of 'emerge -pqv =media- video/ffmpeg-0.5_p20373'. * The complete build log is located at '/var/log/portage/media- video:ffmpeg-0.5_p20373:20100215-033636.log'. * The ebuild environment file is located at '/var/tmp/portage/media- video/ffmpeg-0.5_p20373/temp/environment'. * S: '/var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373' -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] poppler vs virtual/poppler eix-test-obsolete
On Monday 15 February 2010 00:04:21 Mark Knecht wrote: On Sun, Feb 14, 2010 at 1:33 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 14 Feb 2010, at 20:31, Mark Knecht wrote: ... poppler isn't in my world file: ... Are you suggesting the I unmerge poppler and then do a revdep-rebuild (or emerge -DuN @world) to get it reinstalled without this problem? Yes. Stroller. Well, it's an interesting result, or I'm just getting tired. I really think that I tried emerge --depclean earlier and it didn't fix the problem. After emerge -C poppler/emerge poppler I was left with the same failure in eix-test-obsolete but this time emerge --depclean did get rid of the 4 virtuals. I don't know. I suspect now that I never did emerge --depclean. Possibly. --depclean removed virtual/poppler here, leaving the real poppler package that was in place. FWIW, tinkering with poppler won't break anything much. It's just a pdf rendering library, not critical. If you remove it in error, emerge -1 will put it back :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Keyword for dev-java/sun-j2ee
On Sunday 14 February 2010 22:37:03 dhk wrote: dhk wrote: Ok, I think the problem is in the rt.jar file. The beginning of the error is as follows: # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose J2EE server listen port: 1050 Exception in thread main java.lang.NoClassDefFoundError: com/sun/corba/se/internal/util/IdentityHashtable However, the following command shows the IdentityHashtable in a different location. # jar tf /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar | grep IdentityHashtable com/sun/corba/se/impl/util/IdentityHashtable.class com/sun/corba/se/impl/util/IdentityHashtableEntry.class com/sun/corba/se/impl/util/IdentityHashtableEnumerator.class I think the difference is j2ee is looking for IdentityHashtable in com/sun/corba/se/internal/util/IdentityHashtable but the jar file has it in com/sun/corba/se/impl/util/IdentityHashtable.class . Is this the problem? If so haw can it be fixed? It sure looks like your real problem. The class loader will not find the package you do have. And it's not a simple matter of unpacking rt.jar, changing and it zipping it all back up again - those things are signed and manifested. Have you looked into the metadata of java ebuilds to find where the java herd hang out and ask them there? -- alan dot mckinnon at gmail dot com