ChangeLog

# ChangeLog for app-text/acroread
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.118 2008/08/03 21:08:49 jokey Exp $

03 Aug 2008; Markus Ullmann acroread-8.1.2-r3.ebuild:
Stable on x86 wrt security bug #233383

03 Aug 2008; Tobias Heinlein
acroread-8.1.2-r3.ebuild:
amd64 stable wrt security bug #233383

*acroread-8.1.2-r3 (01 Aug 2008)

01 Aug 2008; Timo Gurr -acroread-8.1.2.ebuild,
-acroread-8.1.2-r1.ebuild, +acroread-8.1.2-r3.ebuild:
Bump for Adobe Reader 8.1.2 Security Update 1, fixing security issue
CVE-2008-2641 bug #233383. Remove older versions.

27 Apr 2008; Markus Meier acroread-8.1.2-r2.ebuild:
amd64/x86 stable, bug #219207

*acroread-8.1.2-r2 (29 Mar 2008)

29 Mar 2008; Timo Gurr +files/gentoo_config,
+acroread-8.1.2-r2.ebuild:
Add acroread-8.1.2-r2.ebuild, fixing bug #214800 and #215202.

18 Mar 2008; Raúl Porcel acroread-8.1.2.ebuild,
acroread-8.1.2-r1.ebuild:
Works fine with new versions of mozilla products, thanks to bheekling

16 Mar 2008; Markus Meier acroread-8.1.2-r1.ebuild:
amd64 stable, security bug #212367

14 Mar 2008; Raúl Porcel acroread-8.1.2.ebuild,
acroread-8.1.2-r1.ebuild:
Fix deps on =net-libs/xulrunner-1.8* and =www-client/mozilla-firefox-2.0*
wrt #213296

09 Mar 2008; Markus Meier acroread-8.1.2-r1.ebuild:
x86 stable, security bug #212367

*acroread-8.1.2-r1 (07 Mar 2008)

07 Mar 2008; Timo Gurr -files/acroread-expr.patch,
-files/acroread-low-startup-fontissue.patch, -files/acroread-scim.patch,
-acroread-7.0.9-r1.ebuild, -acroread-8.1.1-r1.ebuild,
-acroread-8.1.1-r2.ebuild, +acroread-8.1.2-r1.ebuild:
Add acroread-8.1.2-r1.ebuild, fixes bug #209401 and security bug #212367.
Also introduce a minimal USE flag. Remove old versions.

10 Feb 2008; Dawid Węgliński acroread-8.1.2.ebuild:
Stable on x86 (bug #170177)

10 Feb 2008; Olivier Crête acroread-8.1.2.ebuild:
Stable on amd64, security bug #170177

*acroread-8.1.2 (07 Feb 2008)

07 Feb 2008; Timo Gurr +acroread-8.1.2.ebuild:
Add acroread-8.1.2.ebuild, version bump.

*acroread-8.1.1-r2 (30 Jan 2008)

30 Jan 2008; Timo Gurr metadata.xml,
+acroread-8.1.1-r2.ebuild:
Add acroread-8.1.1-r2.ebuild, providing working amd64 dependencies. Also
fixing bug #206554.

*acroread-8.1.1-r1 (18 Jan 2008)

18 Jan 2008; Timo Gurr -acroread-8.1.1.ebuild,
+acroread-8.1.1-r1.ebuild:
Revbump fixing bug #205927.

14 Jan 2008; Timo Gurr acroread-8.1.1.ebuild:
Enable more languages, fix some quoting. Still more work on it needed though.

28 Sep 2007; Kevin F. Quinn acroread-8.1.1.ebuild:
Use XULRunner if available; also set /etc/gre.d/gre.conf for mozilla-firefox
so that acroread can find libgtkembedmoz.so without setting preferences.

*acroread-8.1.1 (27 Sep 2007)

27 Sep 2007; Kevin F. Quinn +acroread-8.1.1.ebuild:
New version - includes help viewer.

07 Apr 2007; Stefan Schweizer -acroread-7.0.9.ebuild,
acroread-7.0.9-r1.ebuild:
remove old, fix wrapper creation, bug 173146 thanks to Ulrich Mueller


22 Feb 2007; Kevin F. Quinn -acroread-7.0.8.ebuild,
-acroread-7.0.8-r1.ebuild:
Remove old (insecure) versions

20 Feb 2007; Marcus D. Hanwell
acroread-7.0.9-r1.ebuild:
Stable on amd64, bug 156215.

20 Feb 2007; Raúl Porcel acroread-7.0.9-r1.ebuild:
x86 stable wrt bug 156215

28 Jan 2007; Marius Mauch acroread-7.0.8.ebuild,
acroread-7.0.8-r1.ebuild, acroread-7.0.9.ebuild, acroread-7.0.9-r1.ebuild:
Replacing einfo with elog

17 Jan 2007; Kevin F. Quinn
acroread-7.0.8-r1.ebuild, acroread-7.0.9-r1.ebuild:
Remove obsolete virtual/libstdc++-3.3 dependency (revisit of bug #146821)

*acroread-7.0.9-r1 (16 Jan 2007)

16 Jan 2007; Kevin F. Quinn
acroread-7.0.8-r1.ebuild, +acroread-7.0.9-r1.ebuild:
Pass parameters on from our script to the language-specific scripts.

16 Jan 2007; Christian Faulhammer
acroread-7.0.9.ebuild:
stable x86, security bug #159874

14 Jan 2007; Kevin F. Quinn
acroread-7.0.8-r1.ebuild, acroread-7.0.9.ebuild:
Fix quoting on =~ conditional to work also with bash-3.2_pre9 (bug #162018;
thanks all)

14 Jan 2007; Olivier Crête acroread-7.0.9.ebuild:
Make QA_TEXTRELS also apply to amd64

14 Jan 2007; acroread-7.0.9.ebuild:
Stable on amd64 wrt bug #159874

*acroread-7.0.9 (14 Jan 2007)

14 Jan 2007; Kevin F. Quinn metadata.xml,
+acroread-7.0.9.ebuild:
Version bump to 7.0.9; fixes some security flaws, especially in the browser
plugin (bug #159874).

*acroread-7.0.8-r1 (22 Nov 2006)

22 Nov 2006; Kevin F. Quinn
+acroread-7.0.8-r1.ebuild:
Rework to support multiple languages; resolve long-standing default language
problem - see bug #125366

18 Nov 2006; Stefan Schweizer acroread-7.0.8.ebuild:
Use linguas_nb instead of no thanks to Alexander Nicolaysen Sørnes
in bug 152671

01 Oct 2006; Stefan Schweizer
-files/acroread-langpack.patch, -acroread-7.0.5-r2.ebuild,
-acroread-7.0.5-r3.ebuild, acroread-7.0.8.ebuild:
All languages are available now, thanks to Giacomo Perale
in bug 149592

08 Sep 2006; Stefan Schweizer acroread-7.0.8.ebuild:
remove unused libstdc++ depend, thanks Peter Hyman in
bug 146821

31 Jul 2006; Simon Stelling acroread-7.0.8.ebuild:
stable on amd64 wrt bug 136415

31 Jul 2006; Joshua Jackson acroread-7.0.8.ebuild:
Stable x86; security bug #136415

29 Jul 2006; Stefan Schweizer acroread-7.0.8.ebuild:
acrobat now offers the download for some languages besides englisch

20 Jul 2006; Michael Sterrett
-acroread-5.10.ebuild:
removed old crufty version with broken cjk deps

08 Jul 2006; Stefan Schweizer
acroread-7.0.5-r2.ebuild, acroread-7.0.5-r3.ebuild:
Add small fix to make it work with gtk+-2.10 thanks to Martin Schlemmer
in bug 139533

07 Jul 2006; Stefan Schweizer
acroread-7.0.5-r2.ebuild, acroread-7.0.5-r3.ebuild:
Add linguas to IUSE, bug 136953

18 Jun 2006; Stefan Schweizer +acroread-7.0.8.ebuild,
+files/acroread-expr.patch:
Version bump, bug 136415, expr patch bug 133934, thanks to Walter Meinl


01 Jun 2006; Stefan Schweizer acroread-5.10.ebuild,
-acroread-7.0.1.1.ebuild, -acroread-7.0.5.ebuild,
-acroread-7.0.5-r1.ebuild, acroread-7.0.5-r2.ebuild,
acroread-7.0.5-r3.ebuild:
RDEPEND on ~virtual/libstdc++-3.3 thanks to Yuri Vasilevski
in bug 109750, remove unused ebuilds

21 Apr 2006; Marcelo Goes acroread-5.10.ebuild,
acroread-7.0.1.1.ebuild, acroread-7.0.5.ebuild, acroread-7.0.5-r1.ebuild,
acroread-7.0.5-r2.ebuild, acroread-7.0.5-r3.ebuild:
Remove virtual/pdfviewer PROVIDE for bug 130746, reported by Carsten Lohrke
.

06 Apr 2006; Markus Ullmann
+files/acroread-langpack.patch:
Adding langpack patch and whitespace cleanups

*acroread-7.0.5-r3 (06 Apr 2006)

06 Apr 2006; Markus Ullmann +acroread-7.0.5-r3.ebuild:
Adding languagepack building support

15 Mar 2006; Herbie Hopkins acroread-7.0.5-r2.ebuild:
Stable on amd64.

07 Mar 2006; Joshua Jackson acroread-7.0.5-r2.ebuild:
Stable on x86; for below mentioned fixes

*acroread-7.0.5-r2 (06 Mar 2006)

06 Mar 2006; Stefan Schweizer
+files/acroread-low-startup-fontissue.patch, +acroread-7.0.5-r2.ebuild:
Workaround slow startup by disabling the fontpath-cache thanks to jokey and
ferdy, also closes bug 125253, also readd some languages that were dropped
before

22 Feb 2006; Joshua Jackson acroread-7.0.5-r1.ebuild:
Stable on x86 thanks for testing Segin; bug #123344

17 Jan 2006; Stefan Schweizer acroread-7.0.5.ebuild:
Fix chmod thanks to Alexander Skwar in bug 118015

*acroread-7.0.5-r1 (12 Jan 2006)

12 Jan 2006; Herbie Hopkins +acroread-7.0.5-r1.ebuild:
Add a binary libcups that's pulled in with USE=-cups to avoid unconditionaly
depending on cups (bug 118745). Remove the amd64 gconv workaround, this was
fixed in glibc a while ago.

11 Jan 2006; Herbie Hopkins acroread-7.0.5.ebuild:
Also fix the x86 deps for bug 118417 (with the ok from genstef).

11 Jan 2006; Herbie Hopkins acroread-7.0.5.ebuild:
Adjusted amd64 deps for bug 118417, libcups is required to avoid crash when
printing.

*acroread-7.0.5 (07 Jan 2006)

07 Jan 2006; Luis Medinas +acroread-7.0.5.ebuild:
Version Bump. Thanks to M. Garcia closes bug
#118167. Dropped a few languages since the upstream doesn't have them ready
for this release.

03 Nov 2005; Luis Medinas
-acroread-7.0.0.2-r2.ebuild:
Removed older version.

21 Oct 2005; Stefan Schweizer
acroread-7.0.1.1.ebuild:
Add USE=-nls support for disabling localization, thanks to truedfx

18 Aug 2005; Luis Medinas acroread-7.0.1.1.ebuild:
Adding every languages packs available. Fixes bug #102795.

16 Aug 2005; Luis Medinas +acroread-7.0.1.1.ebuild:
Version Bump Fix Security bug #102730. Removed mozilla use flag and added
nsplugin local use flag to fix bug #101165.

*acroread-7.0.1.1 (16 Aug 2005)

16 Aug 2005; Luis Medinas +acroread-7.0.1.1.ebuild:
Version Bump Fix Security bug #102730. Removed mozilla use flag and added
nsplugin local use flag to fix bug #101165.

11 Aug 2005; Diego Pettenò acroread-5.10.ebuild,
acroread-7.0.0.2-r2.ebuild:
Call has_multilib_profile from pkg_setup instead of global scope.

04 Aug 2005; Herbie Hopkins acroread-7.0.0.2-r2.ebuild:
Don't disable security plugin on amd64 any more since we have openldap in
>=emul-baselibs-2.

24 Jul 2005; Stefan Schweizer
acroread-7.0.0.2-r2.ebuild:
Depend on gtk+-2.0 as per bug 98889 thanks to Boris ,
arne anka and Luis Medinas

29 Jun 2005; Simon Stelling acroread-7.0.0.2-r2.ebuild:
stable on amd64

29 Jun 2005; Stefan Schweizer -acroread-7.0.ebuild,
-acroread-7.0.0.2.ebuild, -acroread-7.0.0.2-r1.ebuild,
acroread-7.0.0.2-r2.ebuild:
7.0.0.2-r2 x86 stable thanks to Kamil Gornik , Kim Pedersen
and Nikhil Sethi in bug 89008,
remove old ebuilds.

*acroread-7.0.0.2-r2 (11 Jun 2005)

11 Jun 2005; MATSUU Takuto
+acroread-7.0.0.2-r2.ebuild:
Added linguas_{ja,ko,zh_CN,zh_TW}.
Removed PDEPEND="media-fonts/acroread-asianfonts".

10 Jun 2005; Stefan Schweizer
acroread-7.0.0.2-r1.ebuild:
Move the noplugin to the mozilla useflag, thanks to Alessio D'Ascanio
in bug 94651

*acroread-7.0.0.2-r1 (18 May 2005)

18 May 2005; Stefan Schweizer
+files/acroread-scim.patch, +acroread-7.0.0.2-r1.ebuild:
Adding german and english versions thanks to tuXXer , Jakub
Moc , Heinrich Wendel and Rafael
Kolless in bug 92699. Fix startup bug with scim thanks
to Clement Siuchung Cheung and Ulrich Plate
in bug 89766

*acroread-7.0.0.2 (14 May 2005)

14 May 2005; Stefan Schweizer
+acroread-7.0.0.2.ebuild:
New version thanks to Martin Adler in bug 88956

28 Mar 2005; Mamoru KOMACHI acroread-5.10.ebuild,
acroread-7.0.ebuild:
Added cjk USE flag back; bug #85343.

25 Mar 2005; Danny van Dyk acroread-5.10.ebuild,
acroread-7.0.ebuild:
Acroread provides x86 binaries/plugins only. Set ABI to x86 to make sure the
plugins end up in lib32.

18 Mar 2005; Stefan Schweizer acroread-7.0.ebuild:
Fix plugin-installation thanks to Kevin Andre Vatn.
, fix typos thanks to SwifT, thanks to appro
for testing.

16 Mar 2005; Jan Brinkmann acroread-5.10.ebuild:
stable on amd64, fixes #85101

15 Mar 2005; Stefan Schweizer acroread-7.0.ebuild:
Ebuild cleanup, version 0.7 bug 85226, adding ldap use-flag for bug 85297
thanks to Lee Trager and devinkinder@comcast.net,
removing asainfonts DEPEND, thanks to Chin Yee in
bug 85343. Thanks to Herbie Hopkins and others.

*acroread-7.0 (14 Mar 2005)

14 Mar 2005; Stefan Schweizer +acroread-7.0.ebuild:
version bump

14 Jan 2005; Jan Brinkmann acroread-5.10.ebuild:
back to amd64 from of emul-linux-x86

12 Jan 2005; Jan Brinkmann acroread-5.10.ebuild:
migrated from amd64? to emul-linux-x86? dependency.

*acroread-5.10 (16 Dec 2004)

16 Dec 2004; lanius@gentoo.org -acroread-5.010.ebuild,
+acroread-5.10.ebuild:
rename 5.010 to 5.10 because 5.010 < 5.09

15 Dec 2004; lanius@gentoo.org -acroread-5.09-r1.ebuild,
-acroread-5.09.ebuild:
remove old versions

*acroread-5.010 (15 Dec 2004)

15 Dec 2004; lanius@gentoo.org +acroread-5.010.ebuild:
security bump, bug #74406

25 Oct 2004; Mamoru KOMACHI acroread-5.09-r1.ebuild,
acroread-5.09.ebuild:
Provide virtual/pdfviewer; bug #50423.

23 Sep 2004; Michael Sterrett
acroread-5.09-r1.ebuild:
fix use invocation; error check sed; tidy

*acroread-5.09-r1 (22 Sep 2004)

22 Sep 2004; Heinrich Wendel +acroread-5.09-r1.ebuild:
add browser plugin

30 Aug 2004; Danny van Dyk acroread-5.09.ebuild:
Fixed BUG #62110. Many thx to Evgeny Strambulchik.

13 Aug 2004; acroread-5.09.ebuild:
Marking 5.09 stable since it was updated for a security issue. Bug #60205.

01 Jul 2004; Jeremy Huddleston acroread-5.08.ebuild,
acroread-5.09.ebuild:
virtual/glibc -> virtual/libc

*acroread-5.09 (19 Jun 2004)

19 Jun 2004; Mamoru KOMACHI acroread-5.09.ebuild:
Version bumped. This closes bug #54162

28 Apr 2004; Heinrich Wendel acroread-5.08.ebuild:
revert that, it was wrong

28 Apr 2004; Heinrich Wendel acroread-5.08.ebuild:
install startup script in /opt/bin, bug #49278

30 Oct 2003; Mamoru KOMACHI
files/acroread-utf8-gentoo.diff:
Applied a patch from SuSE, see bug #32170

07 Oct 2003; John Mylchreest ; acroread-5.08.ebuild:
fixing POSIX 1003.1-2001 chown change. '.' now ':'

03 Oct 2003; Mamoru KOMACHI acroread-5.06-r3.ebuild,
acroread-5.07-r1.ebuild, acroread-5.07.ebuild:
Removed old exploitable versions. See Bug #26784.

*acroread-5.08 (11 Aug 2003)

12 Sep 2003; Mamoru KOMACHI acroread-5.08.ebuild:
Marked as stable

11 Aug 2003; Mamoru KOMACHI acroread-5.08.ebuild:
New version

*acroread-5.07-r1 (22 Jul 2003)

12 Aug 2003; Mamoru KOMACHI acroread-5.07-r1.ebuild,
acroread-5.07.ebuild, acroread-5.08.ebuild:
Fixed wrong directory permissions. Thanks to petre rodan
in bug #25931

22 Jul 2003; MATSUU Takuto acroread-5.07-r1.ebuild:
add cjk flag. Bug 20821.

*acroread-5.07 (18 Jun 2003)

18 Jun 2003; acroread-5.07.ebuild:
version bump to address Bug 23054

*acroread-5.06-r3 (16 Feb 2003)

16 Feb 2003; Seemant Kulleen acroread-5.06-r1.ebuild acroread-5.06-r2.ebuild acroread-5.06-r3.ebuild files/acroread-utf8-gentoo.diff files/digest-acroread-5.06-r3 :
patch to allow acroread to function in a UTF-8 environment. thanks to: Markus Bertheau

*acroread-5.06-r2 (21 Nov 2002)

14 Jan 2003; Martin Holzer acroread-5.0.6-r2.ebuild :
Fixed errormsg during chown.

21 Nov 2002; phoen][x acroread-5.0.6-r2.ebuild,
files/digest-acroread-5.0.6-r2 :
Switched to the new nsplugins layout.

*acroread-5.06-r1 (13 Aug 2002)

14 Jan 2003; Martin Holzer acroread-5.0.6-r1.ebuild :
Fixed errormsg during chown.

17 Oct 2002; Daniel Ahlberg acroread-5.0.6-r1.ebuild :
Added IUSE.

13 Aug 2002; Seemant Kulleen acroread-5.06-r1.ebuild :

Major bug fixes now make acroread work as a browser plugin (gasp!). Many
thanks to Mark Hazen in bug #4046.

*acroread-5.06 (25 Jul 2002)

17 Oct 2002; Daniel Ahlberg acroread-5.0.6.ebuild :
Added IUSE.

06 Aug 2002; Mark Guertin :
Added -ppc to keywords

25 Jul 2002; Seemant Kulleen acroread-5.06.ebuild
files/digest-acroread-5.06 :

Version bump which sorts the security vulnerability. Thanks to:
marko@seul.org (Marko Mikulicic) in bug #5571 for the update.

*acroread-5.05-r6 (12 Jul 2002)

12 Jul 2002; Seemant Kulleen acroread-5.05-r6.ebuild
files/acroread files/digest-acroread-5.05-r6 :

Used perl wrapper script from securityfocus around this. It is safe from
the security bug now, at least somewhat. Suggested by:
danielsabo@myrealbox.com (Daniel Sabo) in bug $4688. This package will
also be masked.

*acroread-5.05-r5 (07 Jul 2002)

07 Jul 2002; Seemant Kulleen acroread-5.05-r5.ebuild
files/digest-acroread-5.05-r5 :

This is now a meta-package that installs xpdf instead. Security bug
exists: http://online.securityfocus.com/archive/1/278984

Many thanks to: jago@telefragged.com (Dan Naumov) in bug #4657.

*acroread-5.05-r4 (4 Jun 2002)

4 Jun 2002; Seemant Kulleen acroread-5.05-r4.ebuild
files/digest-acroread-5.05-r4 :

More fixes. The symlinks from the last fix were not being created
properly. This closes bug #3260 again.

*acroread-5.05-r3 (3 Jun 2002)

3 Jun 2002; Seemant Kulleen acroread-5.05-r3.ebuild
files/digest-acroread-5.05-r3 :

Ownership and permission fixes. This closes bug #3260 by
gentoo-bugs@devrieze.net (Paul de Vrieze)

*acroread-5.05-r2 (25 May 2002)

25 May 2002; Seemant Kulleen acroread-5.05-r2.ebuild
files/digest-acroread-5.05-r2 :

More symlink fixes by Tristan Henderson. Closes bug 3009

*acroread-5.05-r1 (24 May 2002)

24 May 2002; Seemant Kulleen acroread-5.05-r1.ebuild
files/digest-acroread-5.05-r1 :

Symlinks (for mozilla) fixes by T.Henderson@cs.ucl.ac.uk (Tristan
Henderson) in bug #2950 and also by
fjleon@iamnet.com (Francisco Leo'n) in bug #2976. Also, Tristan pointed
out a typo in the install path.

*acroread-5.05 (22 May 2002)

22 May 2002; Seemant Kulleen acroread-5.05.ebuild
files/digest-acroread-5.05 files/10acroread5 :

version bump.

*acroread-4.05-r4 (4 Apr 2002)

4 Apr 2002; Tod Neidt acroread-4.05-r4.ebuild :

Fix for mozilla symlink.

*acroread-4.05-r3 (3 Apr 2002)

3 Apr 2002; Seemant Kulleen acroread-4.05-r3.ebuild :

If mozilla is in USE, then a symlink to the mozilla libs allows acroread to
be a mozilla plug-in. Fix submitted by: m3thos@netcabo.pt
(Miguel Sousa Filipe)

*acroread-4.05-r2 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX gentoo_config 356 RMD160 fde2e1f78d39d39611ea91fc94f8c31bc8634425 SHA1 ce38b7160e842d970804216e156d5edbcbfd3e1d SHA256 f7742c4df12cf080fbd763a78cb367b1015b57b58a00896b12931c0416bfc68f
DIST AdobeReader_chs-8.1.2-1.i486.tar.bz2 58107229 RMD160 7798f39a8d79bc38ee78fa6bdeb39b7be227ed5d SHA1 9bcbbac5cb965a1717f55d07f1b881233ee47d26 SHA256 b3ef989a66c1b2745a3c8db90d03ff046e11b98a54b26258d7c9b61841f36936
DIST AdobeReader_chs-8.1.2_SU1-1.i486.tar.bz2 58108832 RMD160 770bfb6b75f3f7a5d4bafb8544c8013bc220bd79 SHA1 24c891daa8e2e237649957ebce2372135ecbfe63 SHA256 fdaf33c4640acf1c8c1fc17ce729095da981abf2bd1dd40716e5ab2acfa2e97f
DIST AdobeReader_cht-8.1.2-1.i486.tar.bz2 54011349 RMD160 1e2e7f39030f3d9104580021fe70db9f0be9641c SHA1 bbabcfa410b527d8adccb2d8c707bf8308379c2e SHA256 bda956229a21f040a5fc2066148fa60bbd95d37616265337ae6c44d73d1a3503
DIST AdobeReader_cht-8.1.2_SU1-1.i486.tar.bz2 54010859 RMD160 19adb02ad2a546f0fa7996702c6ccd571dbb583d SHA1 a2f8f0837e6949662adfc741cf7fdb58ea41e382 SHA256 d9b77601c08a3efddee3bf95051df2221cfbd841371c8cffb60819262e20e1c9
DIST AdobeReader_dan-8.1.2-1.i486.tar.bz2 49567628 RMD160 06cc305b466f988c2729ac72c0358e7bd33aab02 SHA1 b70cee44f35e7c1ed9e911521dc29c7ef4ffa411 SHA256 299267d62292633806673fdc5aa9ebc31f47f5264ed23ae35f6e3a4fdfec8859
DIST AdobeReader_dan-8.1.2_SU1-1.i486.tar.bz2 49574666 RMD160 93aae05d87f11f0c29b943820a70e4cc28d7440a SHA1 a6a2bd2d5f3b4cf554b5a574c75556a4a0871445 SHA256 a287cfd521a6a8a2bbbea1da8b1969293a0ab0eda48b897a01d1c4931becdf64
DIST AdobeReader_deu-8.1.2-1.i486.tar.bz2 50281025 RMD160 73dd0640270e92bcb333b91e934e76f0e1d5f316 SHA1 cf054a8a348cd117e10cb1478a4bbe49bf438812 SHA256 23ab6e31386be91535ea1778f1ac4b9eb388a01a1ee06a2ae7ab8abc8bb8438a
DIST AdobeReader_deu-8.1.2_SU1-1.i486.tar.bz2 50284194 RMD160 20542734ab7db72db9adbb5849c222325830d60b SHA1 578dc42b0227a47cac281247dc51101618d06ace SHA256 78cc7a79d4f8751963e530bbfb7489f3c44ac0e5c4a2d37485614a2e44a3246a
DIST AdobeReader_enu-8.1.2-1.i486.tar.bz2 47021920 RMD160 92166c4ca3af8faa24b19c381d57cc53970f5050 SHA1 b9d087805d8be93556f8d5518f30a140517d03ed SHA256 46a4af0a2f617fbe713afe243f9add0a65ae44bf3b4196887702f1e0b7b8c08b
DIST AdobeReader_enu-8.1.2_SU1-1.i486.tar.bz2 47020212 RMD160 a892ee32d01da4210fb51cf994d508d66ca2750d SHA1 979d07f2ce31eb98d845685cdbfdeebe48643865 SHA256 e62a7dc8cecdc20434ba0fe5de797fcdc2468d5b8726ee8e366fad766a3224bb
DIST AdobeReader_esp-8.1.2-1.i486.tar.bz2 49577796 RMD160 0c8f5261a02cbe02a3797d6baca02c790875a2bf SHA1 5039c99ebdc9ddfd3cd75970f259c6b20fccf893 SHA256 c52508b38dddf34f291393d9f18335f26fc9869637575f6ac2027168885600c7
DIST AdobeReader_esp-8.1.2_SU1-1.i486.tar.bz2 49576734 RMD160 228ddd5fd3add22b7b9d44c19ccef15f90b4990e SHA1 40aacf22b5216c09d43bf04bd55e408b85252060 SHA256 5b652acfcfa49f35901e20efbf550201f2940eb741e305d06d71850974015be3
DIST AdobeReader_fra-8.1.2-1.i486.tar.bz2 49809619 RMD160 0627e0ddba5c0a3a41f83c1f714ef8b32e217849 SHA1 7687df3bb3f64a476f8ae211e660eacb121a8b82 SHA256 e1dc01f498cd313063e9fcb5a753b70cb3758a996a5142c730ef21e0f8bce72e
DIST AdobeReader_fra-8.1.2_SU1-1.i486.tar.bz2 49811564 RMD160 d9e0a4d8cff301d71b86c7636d834b1202fed8a5 SHA1 530751878bcbe2e3821dc8d160ca50900ab72c73 SHA256 be0a7bddf7aa1878cec411d25aaf80c52eda3ee1e5cf3ff34bca641f61390161
DIST AdobeReader_ita-8.1.2-1.i486.tar.bz2 49464145 RMD160 0f371720f08088926848817672af4215b0a85313 SHA1 648faf85dd6e83ba92ac898e0668eaf7595da758 SHA256 e6501bbd415fc7dbad30aae61fb70c75de2dcc084d30f1ff126bd8ea78524d01
DIST AdobeReader_ita-8.1.2_SU1-1.i486.tar.bz2 49461750 RMD160 1fe91dd09ddb05f9b6068ef09f0b7f0580a83efb SHA1 af110b44007ef18abde3f171c8fed1695796020b SHA256 9f95f845a1cca5f30475a67a16934573c01110294272a43ea23d45a1757dbd89
DIST AdobeReader_jpn-8.1.2-1.i486.tar.bz2 57748148 RMD160 a1646ed3e0b0b733a7fbf8aa73e166ac86d871bd SHA1 d90864e11595fcd0272db2881998e7953f4e2939 SHA256 d082d4548204963c031266629879abc372a9f2693655cbc3cb3bd8bfef2e4c5b
DIST AdobeReader_jpn-8.1.2_SU1-1.i486.tar.bz2 57744667 RMD160 e71dac9feecafc309c5e1d68575c0c69a4763c23 SHA1 689c9a5257ce1c4037b0bcf0e8c7224dcbd195b3 SHA256 93225caf7439bd73dbc030376585f4a4dd941a56f80a37a5637b321e65b05017
DIST AdobeReader_kor-8.1.2-1.i486.tar.bz2 50964893 RMD160 3932d0cd46fc74121304c6282b6314216c9fc8db SHA1 966c2b3f39c5241cfe0a05c197d8d9454dbb9f3b SHA256 46dc86e32b5a2c08d8e44feab860bd422ed99d9f58ec54acd9dc3bb17777b0c3
DIST AdobeReader_kor-8.1.2_SU1-1.i486.tar.bz2 50961054 RMD160 4a948eef853c0ede5e726603604d17f9609866c9 SHA1 ecff448ab64312533e4be609cb93307270af5653 SHA256 3b77c7f24b56777e8400c8284b021d018f3409c3557fc8d64564fa121c9cd516
DIST AdobeReader_nld-8.1.2-1.i486.tar.bz2 49779989 RMD160 f55507c512943538ae5c1ba003574879483e42d6 SHA1 fdd7090a5f9da3c08ca48597c7c6d458b9fed558 SHA256 a0966e461dc4fada807b9044a6af3669e46db1cef3b13dbd09e207a347b0e56a
DIST AdobeReader_nld-8.1.2_SU1-1.i486.tar.bz2 49777523 RMD160 9d01f017f514c14e7db7ee8ecd2cdd571abebcb8 SHA1 d9872d2cb580d0172d799b44d51fff2f3a8b45da SHA256 4bc8508c938cacbe6c45a39024159387fb772353903e982fc6cae72b23b20ac1
DIST AdobeReader_nor-8.1.2-1.i486.tar.bz2 49764920 RMD160 d7be0259aed57c1e79fc224a2872c99142a5716b SHA1 bd30ca3c9e3beb04373f1cf6487a8f003a1561c5 SHA256 125132c23892bed59e0cd00ebd72296c7d118a6d2560fca3c8445d492cc8ae13
DIST AdobeReader_nor-8.1.2_SU1-1.i486.tar.bz2 49767047 RMD160 596f3f0c6e625afee04357f8f767bd6631948c01 SHA1 815fbc28d6d3173e5d948fbbba68e5bbc667fcce SHA256 0aa42ebb497f412729a08124f22ad8687599188d3e9ee2a31923fca7ddf0364a
DIST AdobeReader_ptb-8.1.2-1.i486.tar.bz2 49580745 RMD160 e216d286f8dfa6a7df9e1917fedf1bebb7fc90b3 SHA1 8d1417c92d164206fb68f0d26a7d8f9c338b315d SHA256 367dd222867ee9614bb3fbcdab7d67391d0f51e8f3b0ed78d1f0bae7c544953a
DIST AdobeReader_ptb-8.1.2_SU1-1.i486.tar.bz2 49584114 RMD160 4d638860a3511d802e03ef9933b2c50504aecf7d SHA1 f4d4cace493dbdd6bef8c243c0dcbcda780089b2 SHA256 0bf3532a5b398a23f56dffcc5e9d0d0b9818774ed201a40495b0c965716522c3
DIST AdobeReader_suo-8.1.2-1.i486.tar.bz2 49687266 RMD160 9ddccf8a3ce0356e3a30991afb1634417a69c96b SHA1 be092726845f12561736117baf68c04853ebc585 SHA256 10e1819e7dfb03300c926cf3e612b94af56ecd9b20f90a28239af593c3ef3daf
DIST AdobeReader_suo-8.1.2_SU1-1.i486.tar.bz2 49687936 RMD160 b4a7f78717db8d42dedd1cda245d2eebf6510f7a SHA1 99299a35725b2ac8e35ad906502bb97d8fc8ca1d SHA256 678d5bef1dcd3ed9f1c0b7e76748a395557db5c80092dcc468e6672c7131a167
DIST AdobeReader_sve-8.1.2-1.i486.tar.bz2 50509188 RMD160 5e22c7d066b4f07294cf33bbd68386c399d18332 SHA1 890ac2d50fabebd9317c9db9047471167f74bdd7 SHA256 f0657939f54f3aacd4fba2a7b60e6be19c110b77e1a1714f263086008e95ef21
DIST AdobeReader_sve-8.1.2_SU1-1.i486.tar.bz2 50507124 RMD160 885aba68d5225cd638b400f995cfca70bdbf7569 SHA1 0e7528d461e258721da8766d478258d3c56fe64d SHA256 1e7d46e39cd8b6a10c08bdfd2e48f3d55d540be46573992366c3d45dceaf70b1
EBUILD acroread-8.1.2-r2.ebuild 8181 RMD160 a67b5f8bfd9e1291e13cc0f142ae7789ee501479 SHA1 084cd726ea6602287e6e1d67bddf3a5c88e336b3 SHA256 db0a68d06f70e8bb5582329868765170dfb1bfb9affaec81140c1734429cd7c9
EBUILD acroread-8.1.2-r3.ebuild 7968 RMD160 aa296e49933f26674b755b34162e9164ce7b8dcc SHA1 f9703a0da85919174b7a02db85b4b85ec6fff6b8 SHA256 700030933651f71912cbc0207c9a7f1b2d209a3a4e97fa6bbaf292998c597531
MISC ChangeLog 21016 RMD160 748bf4dd9e47a0ca8231401dfe0db980b7571b3b SHA1 91c526a8be73344c207ef5f1cdd18e552c5b3991 SHA256 b540aee54f7ce44880d6e1759fa22a3e87fd1654e098af666d3dae4aa0791fe0
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiWHmcACgkQz974XjDVpbk1MACbBHiRK58z6jYd0wCM/H0b8XLj
iE8AoInYlXwri9XLgJVPoDa13hnJVrBT
=rmN3
-----END PGP SIGNATURE-----

acroread-8.1.2-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-8.1.2-r2.ebuild,v 1.2 2008/04/27 13:56:39 maekke Exp $

inherit eutils nsplugins

DESCRIPTION="Adobe's PDF reader"
HOMEPAGE="http://www.adobe.com/products/acrobat/"
IUSE="cups ldap minimal nsplugin"

SRC_HEAD="http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${PV}"
SRC_FOOT="-${PV}-1.i486.tar.bz2"

LINGUA_LIST="da:dan de:deu en:enu es:esp fi:suo fr:fra it:ita ja:jpn ko:kor nb:nor nl:nld pt:ptb sv:sve zh_CN:chs zh_TW:cht"
DEFAULT_URI="${SRC_HEAD}/enu/AdobeReader_enu${SRC_FOOT}"
for ll in ${LINGUA_LIST} ; do
iuse_l="linguas_${ll/:*}"
src_l=${ll/*:}
IUSE="${IUSE} ${iuse_l}"
DEFAULT_URI="!${iuse_l}? ( ${DEFAULT_URI} )"
SRC_URI="${SRC_URI}
${iuse_l}? ( ${SRC_HEAD}/${src_l}/AdobeReader_${src_l}${SRC_FOOT} )"
done
SRC_URI="${SRC_URI}
${DEFAULT_URI}"

LICENSE="Adobe"
SLOT="0"
KEYWORDS="-* amd64 x86"
RESTRICT="strip mirror"

RDEPEND="media-libs/fontconfig
cups? ( net-print/cups )
x86? ( >=x11-libs/gtk+-2.0
ldap? ( net-nds/openldap )
!minimal? ( || ( net-libs/xulrunner
net-libs/xulrunner-bin
www-client/mozilla-firefox
www-client/seamonkey
www-client/seamonkey-bin ) ) )
amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.4.2
>=app-emulation/emul-linux-x86-gtklibs-2.0
!minimal? ( || ( net-libs/xulrunner-bin
www-client/seamonkey-bin ) ) )"
QA_TEXTRELS="opt/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
opt/Adobe/Reader8/Browser/intellinux/nppdf.so
opt/netscape/plugins/nppdf.so"
QA_EXECSTACK="opt/Adobe/Reader8/Reader/intellinux/plug_ins/Annots.api
opt/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
opt/Adobe/Reader8/Reader/intellinux/bin/acroread
opt/Adobe/Reader8/Reader/intellinux/bin/SynchronizerApp-binary
opt/Adobe/Reader8/Reader/intellinux/lib/libsccore.so
opt/Adobe/Reader8/Reader/intellinux/lib/libcrypto.so.0.9.7"

INSTALLDIR=/opt

S="${WORKDIR}/AdobeReader"

# Actually, ahv segfaults when run standalone so presumably
# it isn't intended for direct use - so the only launcher is
# acroread after all.
LAUNCHERS="Adobe/Reader8/bin/acroread"
# Adobe/HelpViewer/1.0/intellinux/bin/ahv"

pkg_setup() {
# x86 binary package, ABI=x86
# Danny van Dyk 2005/03/25
has_multilib_profile && ABI="x86"
}

# Determine lingua from filename
acroread_get_ll() {
local f_src_l ll lingua src_l
f_src_l=${1/${SRC_FOOT}}
f_src_l=${f_src_l/*_}
for ll in ${LINGUA_LIST} ; do
lingua=${ll/:*}
src_l=${ll/*:}
if [[ ${src_l} == ${f_src_l} ]] ; then
echo ${lingua}
return
fi
done
die "Failed to match file $1 to a LINGUA; please report."
}

src_unpack() {
local ll linguas fl launcher
# Unpack all into the same place; overwrite common files.
fl=""
for pkg in ${A} ; do
cd "${WORKDIR}"
unpack ${pkg}
cd "${S}"
if [[ ${pkg} =~ ^AdobeReader_ ]] ; then
tar xf ILINXR.TAR ||
die "Failed to unpack ILINXR.TAR; is distfile corrupt?"
tar xf COMMON.TAR ||
die "Failed to unpack COMMON.TAR; is distfile corrupt?"
ll=$(acroread_get_ll ${pkg})
for launcher in ${LAUNCHERS} ; do
mv ${launcher} ${launcher}.${ll}
done
if [[ -z ${fl} ]] ; then
fl=${ll}
linguas="${ll}"
else
linguas="${linguas} ${ll}"
fi
fi
done
if [[ ${linguas} == ${fl} ]] ; then
# Only one lingua selected - skip building the wrappers
for launcher in ${LAUNCHERS} ; do
mv ${launcher}.${fl} ${launcher} ||
die "Failed to put ${launcher}.${fl} back to ${launcher}; please report."
done
else
# Build wrappers. Launch the acroread for the environment variable
# LANG (matched with a trailing * so that for example 'de_DE' matches
# 'de', 'en_GB' matches 'en' etc).
#
# HelpViewer is new - We don't know if Adobe are likely to
# internationalize it or not.
for launcher in ${LAUNCHERS} ; do
cat > ${launcher} <<-EOF
#!/bin/bash
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by ${CATEGORY}/${PF}

# Exec the acroread script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=\${LC_ALL}
L=\${L:-\${LC_MESSAGES}}
L=\${L:-\${LANG}}
case \${L} in
EOF
for ll in ${linguas} ; do
echo "${ll}*) exec ${INSTALLDIR}/${launcher}.${ll} \"\$@\";;" >> ${launcher}
done
# default to English (in particular for LANG=C)
cat >> ${launcher} <<-EOF
*) exec ${INSTALLDIR}/${launcher}.${fl} "\$@";;
esac
EOF
chmod 755 ${launcher}
done
fi

# remove cruft
rm "${S}"/Adobe/Reader8/bin/UNINSTALL
rm "${S}"/Adobe/Reader8/Resource/Support/vnd.*.desktop

# fix CVE-2008-0883 the sed way, see bug #212367
local binfile
for binfile in "${S}"/Adobe/Reader8/bin/* ; do
sed -i -e '/MkTemp()/,+17d' \
-e 's/MkTemp/mktemp/g' \
"${binfile}" || die "sed failed"
done

# replace some configuration sections
for binfile in "${S}"/Adobe/Reader8/bin/* ; do
sed -i -e '/Font-config/,+10d' \
-e "/acrogre.conf/r ${FILESDIR}/gentoo_config" -e //N \
"${binfile}" || die "sed failed"
done
}

src_install() {
local dir

# Install desktop files
domenu Adobe/Reader8/Resource/Support
# Install Icons - choose 48x48 since that's what the previous versions
# supplied.
doicon Adobe/Reader8/Resource/Icons/48x48

dodir /opt
chown -R --dereference -L root:0 Adobe
cp -dpR Adobe "${D}"opt/

# The Browser_Plugin_HowTo.txt is now in a subdirectory, which
# is named according to the language the user is using.
# Ie. for German, it is in a DEU directory. See bug #118015
dodoc Adobe/Reader8/Browser/HowTo/*/Browser_Plugin_HowTo.txt

if use nsplugin ; then
exeinto /opt/netscape/plugins
doexe Adobe/Reader8/Browser/intellinux/nppdf.so
inst_plugin /opt/netscape/plugins/nppdf.so
fi

if ! use ldap ; then
rm "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
fi

dodir /opt/bin
for launcher in ${LAUNCHERS} ; do
dosym /opt/${launcher} /opt/bin/${launcher/*bin\/}
done

# We need to set a MOZILLA_COMP_PATH for seamonkey and firefox since
# they don't install a configuration file for libgtkembedmoz.so
# detection in /etc/gre.d/ like xulrunner does.
if ! use minimal ; then
if use x86 ; then
for lib in /opt/seamonkey /usr/lib/seamonkey /usr/lib/mozilla-firefox ; do
if [[ -f ${lib}/libgtkembedmoz.so ]] ; then
echo "MOZILLA_COMP_PATH=${lib}" >> "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config
elog "Adobe Reader depends on libgtkembedmoz.so, which I've found on"
elog "your system in ${lib}, and configured in ${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config."
break # don't search any more libraries
fi
done
fi
if use amd64 ; then
for lib in /opt/seamonkey ; do
if [[ -f ${lib}/libgtkembedmoz.so ]] ; then
echo "MOZILLA_COMP_PATH=${lib}" >> "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config
elog "Adobe Reader depends on libgtkembedmoz.so, which I've found on"
elog "your system in ${lib}, and configured in ${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config."
break # don't search any more libraries
fi
done
fi
fi
}

pkg_postinst () {
use ldap ||
elog "The Adobe Reader security plugin can be enabled with USE=\"ldap\"."

use nsplugin ||
elog "The Adobe Reader browser plugin can be enabled with USE=\"nsplugin\"."

local ll lc
lc=0
for ll in ${LINGUA_LIST} ; do
use linguas_${ll/:*} && (( lc = ${lc} + 1 ))
done
if [[ ${lc} > 1 ]] ; then
elog "Multiple languages have been installed, selected via a wrapper script."
elog "The language is selected according to the LANG environment variable"
elog "(defaulting to English if LANG is not set, or no matching language"
elog "version is installed). Users may need to remove their preferences in"
elog "~/.adobe to switch languages."
fi

if use minimal ; then
ewarn "If you want html support and/or view the Adobe Reader help you have"
ewarn "to re-emerge acroread with USE=\"-minimal\"."
fi
}

acroread-8.1.2-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-8.1.2-r3.ebuild,v 1.3 2008/08/03 21:08:49 jokey Exp $

inherit eutils nsplugins

DESCRIPTION="Adobe's PDF reader"
HOMEPAGE="http://www.adobe.com/products/acrobat/"
IUSE="cups ldap minimal nsplugin"

SRC_HEAD="http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${PV}"
SRC_FOOT="-${PV}_SU1-1.i486.tar.bz2"

LINGUA_LIST="da:dan de:deu en:enu es:esp fi:suo fr:fra it:ita ja:jpn ko:kor nb:nor nl:nld pt:ptb sv:sve zh_CN:chs zh_TW:cht"
DEFAULT_URI="${SRC_HEAD}/enu/AdobeReader_enu${SRC_FOOT}"
for ll in ${LINGUA_LIST} ; do
iuse_l="linguas_${ll/:*}"
src_l=${ll/*:}
IUSE="${IUSE} ${iuse_l}"
DEFAULT_URI="!${iuse_l}? ( ${DEFAULT_URI} )"
SRC_URI="${SRC_URI}
${iuse_l}? ( ${SRC_HEAD}/${src_l}/AdobeReader_${src_l}${SRC_FOOT} )"
done
SRC_URI="${SRC_URI}
${DEFAULT_URI}"

LICENSE="Adobe"
SLOT="0"
KEYWORDS="-* amd64 x86"
RESTRICT="strip mirror"

RDEPEND="media-libs/fontconfig
cups? ( net-print/cups )
x86? ( >=x11-libs/gtk+-2.0
ldap? ( net-nds/openldap )
!minimal? ( || ( net-libs/xulrunner
net-libs/xulrunner-bin
www-client/mozilla-firefox
www-client/seamonkey
www-client/seamonkey-bin ) ) )
amd64? ( >=app-emulation/emul-linux-x86-baselibs-2.4.2
>=app-emulation/emul-linux-x86-gtklibs-2.0
!minimal? ( || ( net-libs/xulrunner-bin
www-client/seamonkey-bin ) ) )"
QA_TEXTRELS="opt/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
opt/Adobe/Reader8/Browser/intellinux/nppdf.so
opt/netscape/plugins/nppdf.so"
QA_EXECSTACK="opt/Adobe/Reader8/Reader/intellinux/plug_ins/Annots.api
opt/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
opt/Adobe/Reader8/Reader/intellinux/bin/acroread
opt/Adobe/Reader8/Reader/intellinux/bin/SynchronizerApp-binary
opt/Adobe/Reader8/Reader/intellinux/lib/libsccore.so
opt/Adobe/Reader8/Reader/intellinux/lib/libcrypto.so.0.9.7"

INSTALLDIR=/opt

S="${WORKDIR}/AdobeReader"

# Actually, ahv segfaults when run standalone so presumably
# it isn't intended for direct use - so the only launcher is
# acroread after all.
LAUNCHERS="Adobe/Reader8/bin/acroread"
# Adobe/HelpViewer/1.0/intellinux/bin/ahv"

pkg_setup() {
# x86 binary package, ABI=x86
# Danny van Dyk 2005/03/25
has_multilib_profile && ABI="x86"
}

# Determine lingua from filename
acroread_get_ll() {
local f_src_l ll lingua src_l
f_src_l=${1/${SRC_FOOT}}
f_src_l=${f_src_l/*_}
for ll in ${LINGUA_LIST} ; do
lingua=${ll/:*}
src_l=${ll/*:}
if [[ ${src_l} == ${f_src_l} ]] ; then
echo ${lingua}
return
fi
done
die "Failed to match file $1 to a LINGUA; please report."
}

src_unpack() {
local ll linguas fl launcher
# Unpack all into the same place; overwrite common files.
fl=""
for pkg in ${A} ; do
cd "${WORKDIR}"
unpack ${pkg}
cd "${S}"
if [[ ${pkg} =~ ^AdobeReader_ ]] ; then
tar xf ILINXR.TAR ||
die "Failed to unpack ILINXR.TAR; is distfile corrupt?"
tar xf COMMON.TAR ||
die "Failed to unpack COMMON.TAR; is distfile corrupt?"
ll=$(acroread_get_ll ${pkg})
for launcher in ${LAUNCHERS} ; do
mv ${launcher} ${launcher}.${ll}
done
if [[ -z ${fl} ]] ; then
fl=${ll}
linguas="${ll}"
else
linguas="${linguas} ${ll}"
fi
fi
done
if [[ ${linguas} == ${fl} ]] ; then
# Only one lingua selected - skip building the wrappers
for launcher in ${LAUNCHERS} ; do
mv ${launcher}.${fl} ${launcher} ||
die "Failed to put ${launcher}.${fl} back to ${launcher}; please report."
done
else
# Build wrappers. Launch the acroread for the environment variable
# LANG (matched with a trailing * so that for example 'de_DE' matches
# 'de', 'en_GB' matches 'en' etc).
#
# HelpViewer is new - We don't know if Adobe are likely to
# internationalize it or not.
for launcher in ${LAUNCHERS} ; do
cat > ${launcher} <<-EOF
#!/bin/bash
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by ${CATEGORY}/${PF}

# Exec the acroread script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=\${LC_ALL}
L=\${L:-\${LC_MESSAGES}}
L=\${L:-\${LANG}}
case \${L} in
EOF
for ll in ${linguas} ; do
echo "${ll}*) exec ${INSTALLDIR}/${launcher}.${ll} \"\$@\";;" >> ${launcher}
done
# default to English (in particular for LANG=C)
cat >> ${launcher} <<-EOF
*) exec ${INSTALLDIR}/${launcher}.${fl} "\$@";;
esac
EOF
chmod 755 ${launcher}
done
fi

# remove cruft
rm "${S}"/Adobe/Reader8/bin/UNINSTALL
rm "${S}"/Adobe/Reader8/Resource/Support/vnd.*.desktop

# replace some configuration sections
for binfile in "${S}"/Adobe/Reader8/bin/* ; do
sed -i -e '/Font-config/,+10d' \
-e "/acrogre.conf/r ${FILESDIR}/gentoo_config" -e //N \
"${binfile}" || die "sed failed"
done
}

src_install() {
local dir

# Install desktop files
domenu Adobe/Reader8/Resource/Support
# Install Icons - choose 48x48 since that's what the previous versions
# supplied.
doicon Adobe/Reader8/Resource/Icons/48x48

dodir /opt
chown -R --dereference -L root:0 Adobe
cp -dpR Adobe "${D}"opt/

# The Browser_Plugin_HowTo.txt is now in a subdirectory, which
# is named according to the language the user is using.
# Ie. for German, it is in a DEU directory. See bug #118015
dodoc Adobe/Reader8/Browser/HowTo/*/Browser_Plugin_HowTo.txt

if use nsplugin ; then
exeinto /opt/netscape/plugins
doexe Adobe/Reader8/Browser/intellinux/nppdf.so
inst_plugin /opt/netscape/plugins/nppdf.so
fi

if ! use ldap ; then
rm "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/intellinux/plug_ins/PPKLite.api
fi

dodir /opt/bin
for launcher in ${LAUNCHERS} ; do
dosym /opt/${launcher} /opt/bin/${launcher/*bin\/}
done

# We need to set a MOZILLA_COMP_PATH for seamonkey and firefox since
# they don't install a configuration file for libgtkembedmoz.so
# detection in /etc/gre.d/ like xulrunner does.
if ! use minimal ; then
if use x86 ; then
for lib in /opt/seamonkey /usr/lib/seamonkey /usr/lib/mozilla-firefox ; do
if [[ -f ${lib}/libgtkembedmoz.so ]] ; then
echo "MOZILLA_COMP_PATH=${lib}" >> "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config
elog "Adobe Reader depends on libgtkembedmoz.so, which I've found on"
elog "your system in ${lib}, and configured in ${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config."
break # don't search any more libraries
fi
done
fi
if use amd64 ; then
for lib in /opt/seamonkey ; do
if [[ -f ${lib}/libgtkembedmoz.so ]] ; then
echo "MOZILLA_COMP_PATH=${lib}" >> "${D}"${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config
elog "Adobe Reader depends on libgtkembedmoz.so, which I've found on"
elog "your system in ${lib}, and configured in ${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/mozilla_config."
break # don't search any more libraries
fi
done
fi
fi
}

pkg_postinst () {
use ldap ||
elog "The Adobe Reader security plugin can be enabled with USE=\"ldap\"."

use nsplugin ||
elog "The Adobe Reader browser plugin can be enabled with USE=\"nsplugin\"."

local ll lc
lc=0
for ll in ${LINGUA_LIST} ; do
use linguas_${ll/:*} && (( lc = ${lc} + 1 ))
done
if [[ ${lc} > 1 ]] ; then
elog "Multiple languages have been installed, selected via a wrapper script."
elog "The language is selected according to the LANG environment variable"
elog "(defaulting to English if LANG is not set, or no matching language"
elog "version is installed). Users may need to remove their preferences in"
elog "~/.adobe to switch languages."
fi

if use minimal ; then
ewarn "If you want html support and/or view the Adobe Reader help you have"
ewarn "to re-emerge acroread with USE=\"-minimal\"."
fi
}

files

metadata.xml




printing