Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303124 - app-text/dvipdfmx-20090708-r1: ebuild store config file in wrong location
Summary: app-text/dvipdfmx-20090708-r1: ebuild store config file in wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 312009
  Show dependency tree
 
Reported: 2010-02-01 17:44 UTC by Rafal Lalik
Modified: 2010-04-29 19:17 UTC (History)
3 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 Rafal Lalik 2010-02-01 17:44:26 UTC
dvipdfmx says:
** WARNING ** Could not open config file "dvipdfmx.cfg"

It is because of ebuild do a symlink to wrong location.

Is:
    emake configdatadir="/etc/texmf/dvipdfm" DESTDIR="${D}" install || die "make install failed"
    dosym /etc/texmf/dvipdfm/dvipdfmx.cfg /usr/share/texmf/dvipdfm/dvipdfmx.cfg || die

Should be:
    emake configdatadir="/etc/texmf/dvipdfmx" DESTDIR="${D}" install || die "make install failed"
    dosym /etc/texmf/dvipdfmx/dvipdfmx.cfg /usr/share/texmf/dvipdfmx/dvipdfmx.cfg || die
Comment 1 Sven 2010-04-06 10:39:53 UTC
Fix seems to be easy, so please fix this!
Comment 2 Sven 2010-04-06 10:45:38 UTC
xdvipdfmx (which needs dvipdfmx.cfg) is also affected. See Bug 312009.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-04-29 19:08:50 UTC
This was applied,

--- dvipdfmx-20100328.ebuild	2010-04-29 21:42:43.000000000 +0300
+++ dvipdfmx-20100328-r1.ebuild	2010-04-29 22:08:00.000000000 +0300
@@ -32,7 +32,7 @@
 	# Override dvipdfmx.cfg default installation location so that it is easy to
 	# modify it and it gets config protected. Symlink it from the old location.
 	emake configdatadir="/etc/texmf/dvipdfm" DESTDIR="${D}" install || die
-	dosym /etc/texmf/dvipdfm/dvipdfmx.cfg /usr/share/texmf/dvipdfm/dvipdfmx.cfg || die
+	dosym /etc/texmf/dvipdfm/dvipdfmx.cfg /usr/share/texmf/dvipdfmx/dvipdfmx.cfg || die
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-29 19:17:09 UTC
nevermind, applied your whole fix for constistency.