FreeBSD Bugzilla – Bug 85827
[patch] print/acroread7: prefix changes from LINUXBASE to X11BASE and more
Last modified: 2006-02-23 17:28:10 UTC
We use rpm database to install the port to LINUXBASE and
plist is dynamic.
The patch changes PREFIX to X11BASE, introduces fixed plist and
some more. See the "Fix" item.
Fix: The patch should be applied:
- cd /usr/ports/print
- patch -p0 < the_patch
1. PREFIX changes to X11BASE.
2. Programs are installed to X11BASE/share/Adobe, docs
are installes to X11BASE/share/doc/Adobe.
3. Doesn't use rpm and its database. Partially deprecates PR:
4. KDE stuff is added.
5. pkg-install and pkg-deinstall files are fixed.
6. Static pkg-plist file is created.
7. Clean uninstall, seems to solve a pointyhat problem:
hence maybe partially deprecates:
8. PORTREVISION is bumpted.
How-To-Repeat: Install print/acroread7.
Over to maintainer.
I changed the PREFIX. I am not sure that the Adobe Reader license
allows us to rearrange or omit files as you suggest, so I didn't
apply that part of your patch.
Also, about the KDE support, it looks as though if, with your patch,
the user first installed Adobe Reader then installed KDE, the
AdobeReader_KDE.desktop and other KDE-related files would not be
available. Am I right? I don't know much about this since I haven't
used KDE in awhile.
This patch seems to break the Acrobat 7 plugin, at least for native
Mozilla via linuxpluginwrapper.
Previously, nppdf.so was installed in /usr/compat/linux, which makes
sense--it's a Linux program:
Now, on my 5-Stable system, it installs in
This seems wrong, but maybe it isn't.
linuxpluginwrapper's Makefile creates a browser plugin link to the old
and the Acrobat 7 entries in libmap.conf also use /usr/compat/linux. If
these are changed, the
plugin works again.
On Sat, 15 Oct 2005 01:58:02 GMT Trevor Johnson wrote:
> I changed the PREFIX. I am not sure that the Adobe Reader license
> allows us to rearrange or omit files as you suggest, so I didn't
> apply that part of your patch.
Yes, you are right.
> Also, about the KDE support, it looks as though if, with your patch,
> the user first installed Adobe Reader then installed KDE, the
> AdobeReader_KDE.desktop and other KDE-related files would not be
> available. Am I right? I don't know much about this since I haven't
> used KDE in awhile.
Seems to me, that KDE has it's own application searcher and installer
of thier *.desktop files. Thus if KDE is installed first, then no
Adobe*.desktop files are installed and your port should do it. But if
KDE is installed after Adobe Reader, then KDE takes care of *.desktop
Back to the pool: maintainer reset
Over to new maintainer.
Closed because the print/acroread7 has been overhauled and KDE (and GNOME)
support bits are planning to be added after the ports freeze. As trevor's
followup says, rearrangement of the installed files is not allowed due
to the license restriction, so probably it will be done by creating
symlinks or so. Thank you for the feedback anyway. If you still have
any comments, please feel free to write to me again.