b***@artifex.com
2017-12-12 12:06:38 UTC
http://bugs.ghostscript.com/show_bug.cgi?id=698814
Bug ID: 698814
Summary: [RFE] Enable the --docdir= parameter to start working
Product: Ghostscript
Version: master
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: Config/Install
Assignee: ghostpdl-***@artifex.com
Reporter: ***@redhat.com
QA Contact: gs-***@ghostscript.com
Word Size: ---
Created attachment 14530
--> http://bugs.ghostscript.com/attachment.cgi?id=14530&action=edit
enable-docdir-parameter.patch
Hello guys,
this changes fixes the --docdir= parameter of ./configure as discussed
previously on IRC.
Previously, the Ghostscript was using custom path to the documentation (as
docdir=$(gsdatadir)/doc). This was causing that value of --docdir= parameter of
./configure was accepted, but not used at all.
This commit fixes this issue, by using docdir=@docdir@@VERSIONED_PATH@ instead.
However, as a side effect this results in default path for documentation to
the old location (/usr/share/ghostscript/<version>/doc) to the new location.
Because we're referencing the @VERSIONED_PATH@ already in this change, this BZ
is dependent on BZ #698795, which should be merged/included first.
IMHO, this is the only sensible way of trying to resolve thix issue. Trying to
fix this issue with the location of documentation staying as it was would
require some hacking inside the Autoconf itself, which is not desirable.
NOTE:
I have tested these changes and they work correctly. But saw a strange
created as a result of this:
/usr/share/doc/ghostscript/<version>/<version> ->
/usr/share/doc/ghostscript/<version>/
After fiddling with this a little it seems to happen when both targets
'install' and 'soinstall' are used (even separately). My testing shows that
@VERSIONED_PATH@ is not causing this. It is caused by the change in this commit
(the symlink creation).
It seems to me there's some magic with paths going on in the background when
issuing both of these Makefile targets, resulting in one more symlink being
created.
In this case the question is - is this even supported usecase? And do you
consider this to be a problem?
If yes, I could try to come up with some solution for this if needed.
Bug ID: 698814
Summary: [RFE] Enable the --docdir= parameter to start working
Product: Ghostscript
Version: master
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: Config/Install
Assignee: ghostpdl-***@artifex.com
Reporter: ***@redhat.com
QA Contact: gs-***@ghostscript.com
Word Size: ---
Created attachment 14530
--> http://bugs.ghostscript.com/attachment.cgi?id=14530&action=edit
enable-docdir-parameter.patch
Hello guys,
this changes fixes the --docdir= parameter of ./configure as discussed
previously on IRC.
Previously, the Ghostscript was using custom path to the documentation (as
docdir=$(gsdatadir)/doc). This was causing that value of --docdir= parameter of
./configure was accepted, but not used at all.
This commit fixes this issue, by using docdir=@docdir@@VERSIONED_PATH@ instead.
However, as a side effect this results in default path for documentation to
/usr/share/doc/ghostscript/<version>/
To stay backward compatible, a symlink is automatically created to point fromthe old location (/usr/share/ghostscript/<version>/doc) to the new location.
Because we're referencing the @VERSIONED_PATH@ already in this change, this BZ
is dependent on BZ #698795, which should be merged/included first.
IMHO, this is the only sensible way of trying to resolve thix issue. Trying to
fix this issue with the location of documentation staying as it was would
require some hacking inside the Autoconf itself, which is not desirable.
NOTE:
I have tested these changes and they work correctly. But saw a strange
make install soinstall
In this case the patch itself works as intended, but one more symlink is beingcreated as a result of this:
/usr/share/doc/ghostscript/<version>/<version> ->
/usr/share/doc/ghostscript/<version>/
After fiddling with this a little it seems to happen when both targets
'install' and 'soinstall' are used (even separately). My testing shows that
@VERSIONED_PATH@ is not causing this. It is caused by the change in this commit
(the symlink creation).
It seems to me there's some magic with paths going on in the background when
issuing both of these Makefile targets, resulting in one more symlink being
created.
In this case the question is - is this even supported usecase? And do you
consider this to be a problem?
If yes, I could try to come up with some solution for this if needed.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.