Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156215 - stabilize app-text/acroread-7.0.9-r1 (was: acroread-7.0.8-r1 does not open a file from the command line with multiple LINGUAS)
Summary: stabilize app-text/acroread-7.0.9-r1 (was: acroread-7.0.8-r1 does not open a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 167599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-25 06:31 UTC by Georgi Georgiev
Modified: 2007-02-20 13:56 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2006-11-25 06:31:44 UTC
The wrapper installed by the multilingual acroread ebuild (7.0.8-r1) prevents acroread from opening file from the command line. Steps to reproduce:

1. env LINGUAS="en ja" emerge =acroread-7.0.8-r1
2. acroread /dev/null

Expected results:

Adobe Reader starts and shows a dialog box with the following text:

  Adobe Reader could not open 'null' because it is
  either not a supported file type or because the file
  has been damaged (for example, it was sent as an
  email attachment and wasn't correctly decoded).

Actual results:

Adobe Reader starts.

The fix is to patch the ebuild like this:

146c146
<                       echo "${ll}*) exec ${INSTALLDIR}/acroread.${ll} ;;" >> bin/acroread
---
>                       echo "${ll}*) exec ${INSTALLDIR}/acroread.${ll} \"\${@}\" ;;" >> bin/acroread
150c150
<                       *) exec ${INSTALLDIR}/acroread.${fl} ;;
---
>                       *) exec ${INSTALLDIR}/acroread.${fl} "\${@}";;
Comment 1 Wiebe Cazemier 2007-01-17 12:45:57 UTC
Version 7.0.9 still doesn't open the filename given as parameter. This not only means you can't open from the command line, but opening a PDF in Konquerer yields en empty acroread window.
Comment 2 Steen Eugen "Miravlix" Poulsen 2007-01-18 04:24:38 UTC
It breaks plugin support too, they wont work with the wrapper while it's missing support for sending command line options to the real scripts.

The language scripts themself support command line options just fine.
Comment 3 J.O. Aho 2007-01-18 23:04:39 UTC
This problem is fixed in 7.0.9-r1

It's still marked as testing, you can of course add $* at the end of each language option you have in wrapper to fix it manually.
Comment 4 Hans de Graaff gentoo-dev Security 2007-01-24 09:59:23 UTC
7.0.9-r1 works fine for me on x86 where 7.0.9 would not work. Given that this is a regression from previous versions I think it would be good to stabilize this sooner rather than later.
Comment 5 Markus Baumgartner 2007-01-24 13:41:23 UTC
This bug is a SHOWSTOPPER. It still exists on amd64 on Jan 24th, 2007. It seems that r1 fixes this, but r1 is still masked.

Please commit that change ASAP. 
Comment 6 sbriglie 2007-02-05 14:12:58 UTC
(In reply to comment #5)
> This bug is a SHOWSTOPPER. It still exists on amd64 on Jan 24th, 2007. It seems
> that r1 fixes this, but r1 is still masked.
> 
> Please commit that change ASAP. 
> 
I totally agree with this. I too have emerged 7.0.9-r1 and it works perfectly. How come a flawed ebuild with such an annoying bug goes stable without anyone noticing and then weeks pass until the fix is declared stable? 

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 20:11:08 UTC
*** Bug 167599 has been marked as a duplicate of this bug. ***
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-02-20 11:15:33 UTC
x86 stable
Comment 9 Marcus D. Hanwell (RETIRED) gentoo-dev 2007-02-20 13:56:13 UTC
Stable on amd64.