Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30684 - kdegraphics - kdvi needs dvipdfm for proper pdf export
Summary: kdegraphics - kdvi needs dvipdfm for proper pdf export
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 46968
Blocks:
  Show dependency tree
 
Reported: 2003-10-08 10:50 UTC by Sascha Herrmann
Modified: 2004-09-03 10:01 UTC (History)
1 user (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 Sascha Herrmann 2003-10-08 10:50:59 UTC
HI folks,

when using kdvi i discovered the export2pdf function is not working, because
app-text/dvipdfm is not installed!
To fix this issue the only thing that needs to be done is adding
app-text/dvipdfm to the kdegraphics dependecy.

Hope this may help you. bye fox



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-01-08 09:10:52 UTC
dvipdfm is included to the teTeX distribution since >=app-text/tetex-2.
I'm not sure wether we can write something like
DEPEND="|| ( >=virtual/tetex-2 app-text/dvipdfm )"
(virtual package with version number) but we should write so if
possible.  As far as I know it wasn't possible (Bug #5121) but not
sure the current status of it (#5121 was closed a while ago). If it's
not possible, we might create virtual/dvipdfm, which will be provided
by app-text/dvipdfm, app-text/dvipdfmx and virtual/tetex-2.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2004-04-05 05:11:04 UTC
well, one could argue, that if you don't have
tetex installed, you have little use for kdvi

something like

use tetex || export DO_NOT_COMPILE="kdvi"

YMMV
best regards
Thilo
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-04 10:41:21 UTC
>dvipdfm is included to the teTeX distribution since >=app-text/tetex-2
Then these ebuilds should block each other, text-markup folks. :)
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-04 11:32:07 UTC
Alright. I fixed tetex and dvipdfm. (wasn't able to use 
virtual/tetex-2 so I blocked tetex-2, ptex and cstetex
individually)
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-04 16:18:30 UTC
Thanks Mamoru, that was fast. I assume the reason you couldn't use virtual/tetex-2 doesn't affect the needed dependency for the kdegraphics ebuild? 
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-05 11:18:00 UTC
No, it doesn't. However, if you enable export2pdf function
for kdvi, you need to write something like 

RDEPEND="|| ( >=app-text/tetex-2
	app-text/ptex
	app-text/cstetex
	app-text/dvipdfm )"

to get /usr/bin/dvipdfm.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-05 12:38:14 UTC
Thanks Mamoru! I don't touch this. It's Caleb's stuff, I just made a meta bug for him. (Bug 52994)
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 06:41:35 UTC
fixed in 3.3.0 per comment #6.
Comment 9 Marcus D. Hanwell (RETIRED) gentoo-dev 2004-09-03 09:57:26 UTC
I would like to inquire about the status of this bug. I have just synced today and now emerge -upvD world wants to install all sorts of stuff to my system which I don't want including cstetex, dvipdfm and tetex-1.0.7-r13. I already have app-text/tetex-2.0.2-r3 installed in my system, confirmed by emerge -pv tetex. I don't want to downgrade to tetex 1.

This all seems to be coming from the altered deps in kdegraphics-3.3.0. I found this bug through the changelog. I am using amd64 build of Gentoo, and use latex a lot on my system without problems until now.

I fixed it for now by changing the tetex line to,

    tetex? || ( >=app-text/tetex-2 )

Now everything behaves as expected again. May be someone needs to take another look at the kdegraphics-3.3.0.ebuild?
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 10:01:12 UTC
just issue a fix that should help with this - please resync shortly and let me know if it works.