Summary: | [PATCH], change print/acroread7 to use tarball rather than rpm. | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jeremy Messenger <mezz> |
Component: | Individual Port(s) | Assignee: | Jeremy Messenger <mezz> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Jeremy Messenger
2005-12-13 05:40:02 UTC
Responsible Changed From-To: freebsd-ports-bugs->trevor To maintainer of acroread7 Hi, all points look sensible, but I have some input for point 5. I assume you are talking about the ports which install acroread in different languages. I think it's beneficial to be able to install multiple languages at once. At work (where I'm mailing this from) we don't use FreeBSD, but we have a multilingual environment here. If FreeBSD would be used here, we would have the need to install at least english, french and german versions. I don't think this is a showstopper, but it can maybe solved with a wrapper which looks at LANG and runs the appropriate one if installed. The plugin problem can be solved with a plist variable. The port which installs the link is responsible for removing it. If this port is removed without removing other ports, we don't have the plugin anymore (unless one of the remaining ports is reinstalled), but we have at least defined behavior. For me it's ok, if you go with your way (CONFLICTS), but I'm not the maintainer... While I think that you can use brandelf, since it modifies the ELF header which is designed to allow this and thus is subject to "use as designed/intended", I suggest to add a comment explaining the issue if you don't want to use it for legal reasons. Bye, Alexander. -- Alexander Leidinger OPOCE, Bureau 487 00352 29 29 42 468 On Tue, 13 Dec 2005 02:57:30 -0600, Alexander Leidinger <Alexander.LEIDINGER@opoce.cec.eu.int> wrote: > Hi, > > all points look sensible, but I have some input for point 5. I assume > you are talking about the ports which install acroread in different > languages. Yes, that's right. The slave ports is what I meant for acroread language. > I think it's beneficial to be able to install multiple languages at > once. At work (where I'm mailing this from) we don't use FreeBSD, but we > have a multilingual environment here. If FreeBSD would be used here, we > would have the need to install at least english, french and german > versions. I wish Adobe would provide the language package rather than a full package for each language. Anyway, we can't wish for everything so move on.... :-) > I don't think this is a showstopper, but it can maybe solved with a > wrapper which looks at LANG and runs the appropriate one if installed. Okay, it sounds like we need to create a 'acroreadwrapper' port that is for ${PREFIX}/bin/acroread and plugins in ${PREFIX}/lib/browser_linux_plugins (no idea if it will working for plugins), then set all acroread7 and its language ports to depend on acroreadwrapper. Good idea? or another idea? > The plugin problem can be solved with a plist variable. The port which > installs the link is responsible for removing it. If this port is > removed without removing other ports, we don't have the plugin anymore > (unless one of the remaining ports is reinstalled), but we have at least > defined behavior. The plist is not part that I am worry about. It's just for plugins and third-party apps if they will working with the wrapper. The acroreadwrapper idea will taking care of plist stuff. > For me it's ok, if you go with your way (CONFLICTS), but I'm not the > maintainer... Well, I am lazy so I put idea of CONFLICTS. Shame on me. :-) I will trying to create acroreadwrapper and test those. I might need a help or not. If anyone want to beat it to me, please feel free to do it and let me know. > While I think that you can use brandelf, since it modifies the ELF > header which is designed to allow this and thus is subject to "use as > designed/intended", Exactly, it's what I am thinking of that "use as designed/intended" that I don't think there will be any issue with it as long we don't provide any of distribution package (as we already have RESTRICTED). Trevor, do you agree on this? Cheers, Mezz > I suggest to add a comment explaining the issue if you don't want to use > it for legal reasons. > > Bye, > Alexander. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org On Tue, 2005-12-13 at 19:30, Jeremy Messenger wrote:
> > I don't think this is a showstopper, but it can maybe solved with a
> > wrapper which looks at LANG and runs the appropriate one if installed.
>
> Okay, it sounds like we need to create a 'acroreadwrapper' port that is
> for ${PREFIX}/bin/acroread and plugins in
> ${PREFIX}/lib/browser_linux_plugins (no idea if it will working for
> plugins), then set all acroread7 and its language ports to depend on
> acroreadwrapper. Good idea? or another idea?
An extension to your idea: let the wrapper print a warning in case the plugin isn't linked to an existing one. Provide a script which can be called by root when the plugin isn't linked correctly but a good plugin exists.
Unfortunately we don't have variable/magic symlinks (as listed in the list for volunteers), else we could provide a link which points to the right language version of the plugin...
Bye,
Alexander.
--
Alexander Leidinger
OPOCE, Bureau 487
00352 29 29 42 468
On Wed, 14 Dec 2005 02:01:32 -0600, Alexander Leidinger <Alexander.LEIDINGER@opoce.cec.eu.int> wrote: > On Tue, 2005-12-13 at 19:30, Jeremy Messenger wrote: > >> > I don't think this is a showstopper, but it can maybe solved with a >> > wrapper which looks at LANG and runs the appropriate one if installed. >> >> Okay, it sounds like we need to create a 'acroreadwrapper' port that is >> for ${PREFIX}/bin/acroread and plugins in >> ${PREFIX}/lib/browser_linux_plugins (no idea if it will working for >> plugins), then set all acroread7 and its language ports to depend on >> acroreadwrapper. Good idea? or another idea? > > An extension to your idea: let the wrapper print a warning in case the > plugin isn't linked to an existing one. Provide a script which can be > called by root when the plugin isn't linked correctly but a good plugin > exists. > > Unfortunately we don't have variable/magic symlinks (as listed in the > list for volunteers), else we could provide a link which points to the > right language version of the plugin... I am wondering if a wrapper for plugins that is written in C by using dlopen() to find plugins's path then compile in Linux. Will it works? I don't know much about C, so had to ask if it will work. ;-) Or another solution that I can think of is to teach each apps to understand where the plugins' path. I know that it's possible for linux-opera, but I never check for linux-firefox or other port. I won't be surpised if linux-firefox has shell script for bin directory like with our native Firefox port. Cheers, Mezz > Bye, > Alexander. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org Responsible Changed From-To: trevor->mezz Over to submitter: maintainer reset State Changed From-To: open->closed hrs has took care of everything, thanks! Closing it... |