Bug 178729 - [patch] unbreak print/dvipdfmx
Summary: [patch] unbreak print/dvipdfmx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 04:20 UTC by Nikolai Lifanov
Modified: 2013-05-22 03:34 UTC (History)
0 users

See Also:


Attachments
patch.txt (841 bytes, text/plain)
2013-05-18 04:20 UTC, Nikolai Lifanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov 2013-05-18 04:20:00 UTC
	docproj port grew a dependency on print/dvipdfmx, but at least for me,
	./configure doesn't find kpathsea correctly.
	It needs to be added to the CONFIGURE_ARGS

Fix: Apply this patch. Also, this trims the Makefile header.
How-To-Repeat: 	Attempt to "make -C /usr/ports/print/dvipdfmx"
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-05-19 21:56:58 UTC
The patch doesn't look 100% correct to me; kpathsea is also provided by
devel/tex-kpathsea.

hrs, can you take a look at this one? There's also ports/178729 which
attempts to fix the issue in another way.
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2013-05-19 21:57:30 UTC
hrs, can you take a look at this one?
Comment 3 cheunghonyu 2013-05-20 15:01:54 UTC
print/dvipdfmx is teTeX oriented port while print/tex-dvipdfmx is
texlive oriented port.

To unbreak print/dvipdfmx, change "USE_TEX=yes" to "USE_TEX=base tetex"
in Makefile

The patch is at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178774
Comment 4 Nikolai Lifanov 2013-05-20 16:24:59 UTC
On 05/20/13 10:01, Hon-Yu Lawrence Cheung wrote:
> print/dvipdfmx is teTeX oriented port while print/tex-dvipdfmx is
> texlive oriented port.
>
> To unbreak print/dvipdfmx, change "USE_TEX=yes" to "USE_TEX=base tetex"
> in Makefile
>
> The patch is at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178774
>

This is very interesting. I have no objections.
Comment 5 Nikolai Lifanov 2013-05-20 20:29:06 UTC
On 05/20/13 10:01, Hon-Yu Lawrence Cheung wrote:
> print/dvipdfmx is teTeX oriented port while print/tex-dvipdfmx is
> texlive oriented port.
>
> To unbreak print/dvipdfmx, change "USE_TEX=yes" to "USE_TEX=base tetex"
> in Makefile
>
> The patch is at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178774
>

Actually, I'm trying something with TEX_DEFAULT=texlive
1. textproc/docproj pulls in print/latex-cjk
2. print/latex-cjk pulls in print/dvipdfmx and fails.

If I understand this, print/dvipdfmx shouldn't be pulled in with 
TEX_DEFAULT=texlive, right?
Comment 6 Hiroki Sato freebsd_committer freebsd_triage 2013-05-21 00:48:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Take.
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-05-21 02:41:36 UTC
Author: hrs
Date: Tue May 21 01:41:23 2013
New Revision: 318634
URL: http://svnweb.freebsd.org/changeset/ports/318634

Log:
  Set USE_TEX=tetex because CJK 4.8.3 is included in TeXLive.
  
  PR:	ports/178729

Modified:
  head/print/latex-cjk/Makefile

Modified: head/print/latex-cjk/Makefile
==============================================================================
--- head/print/latex-cjk/Makefile	Mon May 20 23:26:09 2013	(r318633)
+++ head/print/latex-cjk/Makefile	Tue May 21 01:41:23 2013	(r318634)
@@ -21,7 +21,7 @@ BUILD_DEPENDS:=	${RUN_DEPENDS} \
 LIB_DEPENDS=	ttf:${PORTSDIR}/print/freetype
 
 USE_GMAKE=	yes
-USE_TEX=	latex
+USE_TEX=	tetex latex
 
 MAN1=		bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \
 		hbf2gf.1 sjisconv.1
@@ -51,7 +51,7 @@ PLIST_SUB+=	CCMAP="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MDVIPDFMX}
-RUN_DEPENDS+=	dvipdfmx:${PORTSDIR}/print/dvipdfmx
+USE_TEX+=	dvipdfmx
 # Configuration is done by "pkg-install"
 .endif
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 dfilter service freebsd_committer freebsd_triage 2013-05-21 02:43:45 UTC
Author: hrs
Date: Tue May 21 01:43:38 2013
New Revision: 318635
URL: http://svnweb.freebsd.org/changeset/ports/318635

Log:
  Set USE_TEX=tetex.  This conflicts with print/tex-dvipdfmx.
  
  PR:	ports/178729

Modified:
  head/print/dvipdfmx/Makefile

Modified: head/print/dvipdfmx/Makefile
==============================================================================
--- head/print/dvipdfmx/Makefile	Tue May 21 01:41:23 2013	(r318634)
+++ head/print/dvipdfmx/Makefile	Tue May 21 01:43:38 2013	(r318635)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    dvipdfmx
-# Date created:		8 March 2001
-# Whom:			Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
-#
+# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
 # $FreeBSD$
-#
 
 PORTNAME=	dvipdfmx
 PORTVERSION=	20110311
@@ -14,7 +10,7 @@ MASTER_SITES=	${MASTER_SITE_TEX_CTAN} \
 MASTER_SITE_SUBDIR=	dviware/dvipdfmx
 DIST_SUBDIR=	dvipdfmx
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Dvipdfm with Asian languages by CID-keyed font technology support
 
 LICENSE=	GPLv2 # (or later)
@@ -23,7 +19,7 @@ LIB_DEPENDS=	png15:${PORTSDIR}/graphics/
 		paper:${PORTSDIR}/print/libpaper
 RUN_DEPENDS=	${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps
 
-USE_TEX=	yes
+USE_TEX=	tetex base texmf
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--datadir=${LOCALBASE}/share
 MAKE_JOBS_SAFE=	yes
@@ -37,7 +33,6 @@ PLIST_SUB=	DVIPDFMXDIR=${DVIPDFMXDIR} \
 
 MAN1=		extractbb.1
 
-TEXMFDIR=	share/texmf
 DVIPDFMXDIR=	${TEXMFDIR}/dvipdfmx
 FONTMAPDIR=	${TEXMFDIR}/fonts/map/dvipdfmx
 GLYPHMAPDIR=	${TEXMFDIR}/fonts/map/glyphlist
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 9 Hiroki Sato freebsd_committer freebsd_triage 2013-05-21 02:43:56 UTC
State Changed
From-To: open->patched

A patch has been committed to fix this.  Please try r318635 and let me know 
if the problem still persists or not.
Comment 10 Hiroki Sato freebsd_committer freebsd_triage 2013-05-22 03:33:54 UTC
State Changed
From-To: patched->closed

This problem has been solved.  Thank you for your report!