Re: [gentoo-user] Installing 2 version-different libs in the same time

2013-02-17 Thread Frank Schwidom
On Sat, Feb 16, 2013 at 10:48:26AM -0500, Mike Gilbert wrote:
 On Sat, Feb 16, 2013 at 10:09 AM, Frank Schwidom schwi...@gmx.net wrote:
 
  The current Version is '=readline-5*'. the only thing, i want to do
  next, is to update portage, but portage wants to get a new python and
  python a new readline(-6). My Problem is, to install a new readline (-6)
  parallel to the old (-5).
 
  Would it help, to change the SLOT Variable in the ebuild files, or
   is there any option or Variable to override the slot settings?
 
 
 Try running this by itself:
 
 emerge -1 sys-libs/readline:0 sys-libs/readline:5
 
 That should upgrade readline-5.2_p12 to readline-6.2_p1 with SLOT=0,
 and then install readline-5.4_p14 with SLOT=5.
 
 You can then run your larger update, which should no longer produce
 slot conflicts.
 

Thanks, it worked. 





[gentoo-user] Re: Acroread

2013-02-17 Thread Nikos Chantziaras

On 17/02/13 09:52, Nilesh Govindrajan wrote:

Is it officially supported now? Or has been discontinued like flash?

I'm mainly interested in the NPAPI plug in since it would allow me to
use the same thing in Firefox and chromium.

Are there any other good PDF readers with NPAPI? Don't suggest binary
chrome.


You can use the Chrome PDF plugin in Chromium too.  Just symlink it into 
chromium's plugin directory:


  ln -s /opt/google/chrome/libpdf.so /usr/lib/chromium-browser/

And you can also use Chrome's PPAPI Flash plugin in Chromium (which is 
supported, unlike the NPAPI Flash plugin.)  In your 
/etc/chromium/default file, put this in it:


# Options to pass to chromium.
CHROMIUM_FLAGS=--ppapi-flash-path=/opt/google/chrome/PepperFlash/libpepflashplayer.so

Simply keep google-chrome emerged.




Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Nilesh Govindrajan
That's what I did. But I tend to switch browsers too often (chromium and
Firefox).
Firefox has a pdf.js addon, doesn't work reliably many times.

(sorry for top post, mobile).

--
Nilesh Govindrajan
http://nileshgr.com
On Feb 17, 2013 1:49 PM, Nikos Chantziaras rea...@gmail.com wrote:

 On 17/02/13 09:52, Nilesh Govindrajan wrote:

 Is it officially supported now? Or has been discontinued like flash?

 I'm mainly interested in the NPAPI plug in since it would allow me to
 use the same thing in Firefox and chromium.

 Are there any other good PDF readers with NPAPI? Don't suggest binary
 chrome.


 You can use the Chrome PDF plugin in Chromium too.  Just symlink it into
 chromium's plugin directory:

   ln -s /opt/google/chrome/libpdf.so /usr/lib/chromium-browser/

 And you can also use Chrome's PPAPI Flash plugin in Chromium (which is
 supported, unlike the NPAPI Flash plugin.)  In your /etc/chromium/default
 file, put this in it:

 # Options to pass to chromium.
 CHROMIUM_FLAGS=--ppapi-flash-**path=/opt/google/chrome/**
 PepperFlash/libpepflashplayer.**so

 Simply keep google-chrome emerged.





Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Yohan Pereira
On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
 That's what I did. But I tend to switch browsers too often (chromium and
 Firefox).
 Firefox has a pdf.js addon, doesn't work reliably many times.

If you use KDE try this. You can then use okular(among other things) 
in your browsers. 

 www-plugins/kpartsplugin
 http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
 Description: Plugin using KDE's KParts technology to embed file 
 viewers into non-KDE browsers

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain



Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Nilesh Govindrajan
That sounds interesting. Will try it out. Thanks.

But nobody replied if Adobe still supports acroread?

--
Nilesh Govindrajan
http://nileshgr.com
On Feb 17, 2013 3:04 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
  That's what I did. But I tend to switch browsers too often (chromium and
  Firefox).
  Firefox has a pdf.js addon, doesn't work reliably many times.

 If you use KDE try this. You can then use okular(among other things)
 in your browsers.

  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed file
  viewers into non-KDE browsers

 --

 - Yohan Pereira

 The difference between a Miracle and a Fact is exactly the difference
 between a mermaid and a seal.
 -- Mark Twain




[gentoo-user] Re: Acroread

2013-02-17 Thread nunojsilva
On 2013-02-17, Nilesh Govindrajan wrote:
 On Feb 17, 2013 3:04 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
  That's what I did. But I tend to switch browsers too often (chromium and
  Firefox).
  Firefox has a pdf.js addon, doesn't work reliably many times.

 If you use KDE try this. You can then use okular(among other things)
 in your browsers.

  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed file
  viewers into non-KDE browsers

 That sounds interesting. Will try it out. Thanks.

 But nobody replied if Adobe still supports acroread?

AFAIK there was no annoucement regarding end of life for acroread, so I
don't see any reason to expect otherwise.

Flash is a separate thing.

But keep in mind that Adobe Acrobat Reader is one of the worst, most
bloated and most heavy PDF viewers out there. The only thing it may be
worthy for is some kind of bleeding edge PDF feature libpoppler and the
like don't have yet.

Also, I actually had to try running it recently. I was trying to print a
document with annotations -- spoiler: it didn't work, not even with
acroread, closest I got was generating a postscript file using acroread
in the commandline after manually hacking the acroread settings to
enable annotation printing, and even then part of the annotations don't
show up or are covered, and there's no mapping between annotations and
their icons. But the interface was *really* slow, almost unusable. I
wonder why. I possibly overlooked something.

-- 
Nuno Silva (aka njsg)
http://njsg.sdf-eu.org/



Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Volker Armin Hemmann
Am 17.02.2013 13:05, schrieb (Nuno Silva):
 On 2013-02-17, Nilesh Govindrajan wrote:
 On Feb 17, 2013 3:04 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
 That's what I did. But I tend to switch browsers too often (chromium and
 Firefox).
 Firefox has a pdf.js addon, doesn't work reliably many times.
 If you use KDE try this. You can then use okular(among other things)
 in your browsers.

  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed file
  viewers into non-KDE browsers
 That sounds interesting. Will try it out. Thanks.

 But nobody replied if Adobe still supports acroread?
 AFAIK there was no annoucement regarding end of life for acroread, so I
 don't see any reason to expect otherwise.

 Flash is a separate thing.

 But keep in mind that Adobe Acrobat Reader is one of the worst, most
 bloated and most heavy PDF viewers out there. The only thing it may be
 worthy for is some kind of bleeding edge PDF feature libpoppler and the
 like don't have yet.

 Also, I actually had to try running it recently. I was trying to print a
 document with annotations -- spoiler: it didn't work, not even with
 acroread, closest I got was generating a postscript file using acroread
 in the commandline after manually hacking the acroread settings to
 enable annotation printing, and even then part of the annotations don't
 show up or are covered, and there's no mapping between annotations and
 their icons. But the interface was *really* slow, almost unusable. I
 wonder why. I possibly overlooked something.

biddings need digitally signed pdfs. Easy to create with acroread. Not
so easy with anything else.
And that 'feature' is not arcane nor seldomly used.



Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Nilesh Govindrajan
On Sun, Feb 17, 2013 at 5:35 PM, Nuno Silva nunojsi...@ist.utl.pt wrote:
 On 2013-02-17, Nilesh Govindrajan wrote:
 On Feb 17, 2013 3:04 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
  That's what I did. But I tend to switch browsers too often (chromium and
  Firefox).
  Firefox has a pdf.js addon, doesn't work reliably many times.

 If you use KDE try this. You can then use okular(among other things)
 in your browsers.

  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed file
  viewers into non-KDE browsers

 That sounds interesting. Will try it out. Thanks.

 But nobody replied if Adobe still supports acroread?

 AFAIK there was no annoucement regarding end of life for acroread, so I
 don't see any reason to expect otherwise.

 Flash is a separate thing.

 But keep in mind that Adobe Acrobat Reader is one of the worst, most
 bloated and most heavy PDF viewers out there. The only thing it may be
 worthy for is some kind of bleeding edge PDF feature libpoppler and the
 like don't have yet.

 Also, I actually had to try running it recently. I was trying to print a
 document with annotations -- spoiler: it didn't work, not even with
 acroread, closest I got was generating a postscript file using acroread
 in the commandline after manually hacking the acroread settings to
 enable annotation printing, and even then part of the annotations don't
 show up or are covered, and there's no mapping between annotations and
 their icons. But the interface was *really* slow, almost unusable. I
 wonder why. I possibly overlooked something.

 --
 Nuno Silva (aka njsg)
 http://njsg.sdf-eu.org/


Installed acroread with nsplugin use flag. It didn't add to
/usr/lib/nsbrowser/plugins. Symlinked manually.
Still doesn't show up, neither in chromium nor in firefox.

So my primary purpose is defeated lol.

Going to try kparts now :-)

--
Nilesh Govindrajan
http://nileshgr.com



[gentoo-user] Calibre break after Update

2013-02-17 Thread Silvio Siefke
Hello,


i run the update from calibre yesterday and now calibre not startet. Has
someone the same and has fix?

siefke@gentoo-mobile : ~ $ calibre
Traceback (most recent call last):
  File /usr/bin/calibre, line 20, in module
sys.exit(main())
  File /usr/lib/calibre/calibre/gui2/main.py, line 412, in main
app, opts, args, actions = init_qt(args)
  File /usr/lib/calibre/calibre/gui2/main.py, line 85, in init_qt
from calibre.gui2.ui import Main
  File /usr/lib/calibre/calibre/gui2/ui.py, line 31, in module
from calibre.gui2.widgets import ProgressIndicator
  File /usr/lib/calibre/calibre/gui2/widgets.py, line 21, in module
from calibre.gui2.progress_indicator import ProgressIndicator as 
_ProgressIndicator
  File /usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py, line 15, 
in module
pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module 
implements API v9.0 to v9.1 but the progress_indicator module requires API v8.1

Thank you  Greetings
Silvio



Re: [gentoo-user] Calibre break after Update

2013-02-17 Thread ckard
On Sun, Feb 17, 2013 at 11:24 PM, Silvio Siefke siefke_lis...@web.de wrote:
 Hello,


 i run the update from calibre yesterday and now calibre not startet. Has
 someone the same and has fix?

 siefke@gentoo-mobile : ~ $ calibre
 Traceback (most recent call last):
   File /usr/bin/calibre, line 20, in module
 sys.exit(main())
   File /usr/lib/calibre/calibre/gui2/main.py, line 412, in main
 app, opts, args, actions = init_qt(args)
   File /usr/lib/calibre/calibre/gui2/main.py, line 85, in init_qt
 from calibre.gui2.ui import Main
   File /usr/lib/calibre/calibre/gui2/ui.py, line 31, in module
 from calibre.gui2.widgets import ProgressIndicator
   File /usr/lib/calibre/calibre/gui2/widgets.py, line 21, in module
 from calibre.gui2.progress_indicator import ProgressIndicator as 
 _ProgressIndicator
   File /usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py, line 
 15, in module
 pi_error)
 RuntimeError: Failed to load the Progress Indicator plugin: the sip module 
 implements API v9.0 to v9.1 but the progress_indicator module requires API 
 v8.1

 Thank you  Greetings
 Silvio


You probably updated other python modules afterwards. Try to reinstall calibre.



Re: [gentoo-user] Re: Acroread

2013-02-17 Thread Nilesh Govindrajan
On Sun, Feb 17, 2013 at 10:56 PM, Nilesh Govindrajan m...@nileshgr.com wrote:
 On Sun, Feb 17, 2013 at 5:35 PM, Nuno Silva nunojsi...@ist.utl.pt wrote:
 On 2013-02-17, Nilesh Govindrajan wrote:
 On Feb 17, 2013 3:04 PM, Yohan Pereira yohan.pere...@gmail.com wrote:

 On 17/02/13 at 02:44pm, Nilesh Govindrajan wrote:
  That's what I did. But I tend to switch browsers too often (chromium and
  Firefox).
  Firefox has a pdf.js addon, doesn't work reliably many times.

 If you use KDE try this. You can then use okular(among other things)
 in your browsers.

  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed file
  viewers into non-KDE browsers

 That sounds interesting. Will try it out. Thanks.

 But nobody replied if Adobe still supports acroread?

 AFAIK there was no annoucement regarding end of life for acroread, so I
 don't see any reason to expect otherwise.

 Flash is a separate thing.

 But keep in mind that Adobe Acrobat Reader is one of the worst, most
 bloated and most heavy PDF viewers out there. The only thing it may be
 worthy for is some kind of bleeding edge PDF feature libpoppler and the
 like don't have yet.

 Also, I actually had to try running it recently. I was trying to print a
 document with annotations -- spoiler: it didn't work, not even with
 acroread, closest I got was generating a postscript file using acroread
 in the commandline after manually hacking the acroread settings to
 enable annotation printing, and even then part of the annotations don't
 show up or are covered, and there's no mapping between annotations and
 their icons. But the interface was *really* slow, almost unusable. I
 wonder why. I possibly overlooked something.

 --
 Nuno Silva (aka njsg)
 http://njsg.sdf-eu.org/


 Installed acroread with nsplugin use flag. It didn't add to
 /usr/lib/nsbrowser/plugins. Symlinked manually.
 Still doesn't show up, neither in chromium nor in firefox.

 So my primary purpose is defeated lol.

 Going to try kparts now :-)

 --
 Nilesh Govindrajan
 http://nileshgr.com

kpartsplugin is perfect. Thanks a ton!

--
Nilesh Govindrajan
http://nileshgr.com



[gentoo-user] Re: Acroread

2013-02-17 Thread »Q«
On Sun, 17 Feb 2013 15:06:09 +0530
Yohan Pereira yohan.pere...@gmail.com wrote:

 If you use KDE try this. You can then use okular(among other things) 
 in your browsers. 
 
  www-plugins/kpartsplugin
  http://www.unix-ag.uni-kl.de/~fischer/kpartsplugin/
  Description: Plugin using KDE's KParts technology to embed
 file viewers into non-KDE browsers

Thanks very much for pointing to this!

For other people trying it for the first time, note that it adds a
module in the KDE's System Settings to select which file types should be
handled by the plugin.  (After some searching about how to configure
it, I found this in the changelog.)