Bug 127609 - [PATCH] textproc/dblatex: update to 0.2.9
Summary: [PATCH] textproc/dblatex: update to 0.2.9
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: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 13:30 UTC by martin.dieringer
Modified: 2008-09-27 23:58 UTC (History)
0 users

See Also:


Attachments
dblatex-0.2.9.patch (2.83 KB, patch)
2008-09-24 13:30 UTC, martin.dieringer
no flags Details | Diff
dblatex-0.2.9-new.patch (5.93 KB, patch)
2008-09-26 04:24 UTC, Peter Johnson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description martin.dieringer 2008-09-24 13:30:03 UTC
- Update to 0.2.9

   this patch is against 0.2.7
   and supersedes http://www.freebsd.org/cgi/query-pr.cgi?pr=127597

   it needs print/ifxetex submitted as
   http://www.freebsd.org/cgi/query-pr.cgi?pr=127607
   to compile


Port maintainer (johnson.peter@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-24 13:30:11 UTC
Maintainer of textproc/dblatex,

Please note that PR ports/127609 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127609

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-09-24 13:30:14 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-09-24 13:55:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 Wesley Shields freebsd_committer freebsd_triage 2008-09-24 15:11:41 UTC
Responsible Changed
From-To: miwi->wxs

Take over for miwi, he's a busy robot.  ;)
Comment 5 Peter Johnson 2008-09-25 02:06:06 UTC
Approved (supersedes ports/127597).
Comment 6 Wesley Shields freebsd_committer freebsd_triage 2008-09-25 03:13:49 UTC
Peter,

For some reason the install fails because it can't find ifxetex despite
the package being installed.  Do you have any idea why?

I have a log up at:

http://www.atarininja.org/~wxs/dump/dblatex-0.2.9.log

-- WXS
Comment 7 Peter Johnson 2008-09-26 04:24:00 UTC
Looks like it doesn't check for xetex properly:
http://www.redhat.com/archives/fedora-extras-commits/2008-June/msg02895.html

Updated port patch with patch files based on the above link seems to
fix the build; attached.

-- Peter
Comment 8 Peter Johnson 2008-09-26 04:38:04 UTC
Ugh, that came through as garbage in the PR for some reason.  Pasting
inline instead. -Peter

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/dblatex/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	30 Oct 2007 03:14:04 -0000	1.4
+++ Makefile	26 Sep 2008 03:21:39 -0000
@@ -6,7 +6,7 @@
 #

 PORTNAME=	dblatex
-PORTVERSION=	0.2.7
+PORTVERSION=	0.2.9
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/dblatex/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	30 Oct 2007 03:14:04 -0000	1.3
+++ distinfo	26 Sep 2008 03:21:39 -0000
@@ -1,3 +1,3 @@
-MD5 (dblatex-0.2.7.tar.bz2) = f59bc018bc7f5c159a5c726ae66abbfc
-SHA256 (dblatex-0.2.7.tar.bz2) =
b9561d7bc10304833416ecefec1ca1c72efa0f15d080eb40c05eb1ac44769a71
-SIZE (dblatex-0.2.7.tar.bz2) = 785233
+MD5 (dblatex-0.2.9.tar.bz2) = 6ade2e1cbe40f1798cb8de846528bf43
+SHA256 (dblatex-0.2.9.tar.bz2) =
cf7cad511afab900c629f8bcc3350f41607b6e1c2c7f9110e4117913ed56f489
+SIZE (dblatex-0.2.9.tar.bz2) = 696288
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/dblatex/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	30 Oct 2007 03:14:04 -0000	1.3
+++ pkg-plist	26 Sep 2008 03:21:39 -0000
@@ -26,6 +26,8 @@
 share/dblatex/latex/misc/passivetex/dummyels.sty
 share/dblatex/latex/misc/passivetex/unicode.sty
 share/dblatex/latex/misc/ragged2e.sty
+share/dblatex/latex/misc/lastpage.sty
+share/dblatex/latex/misc/xelatex/xecyr.sty
 share/dblatex/latex/scripts/doc.ist
 share/dblatex/latex/specs/db2latex.specs
 share/dblatex/latex/specs/native.specs
@@ -286,6 +288,9 @@
 %%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.py
 %%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.pyc
 %%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/util.pyo
+%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/xetex.py
+%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/xetex.pyc
+%%PYTHON_SITELIBDIR%%/dbtexmf/dblatex/grubber/xetex.pyo
 %%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.py
 %%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.pyc
 %%PYTHON_SITELIBDIR%%/dbtexmf/xslt/4xslt.pyo
@@ -310,6 +315,7 @@
 @dirrm share/dblatex/latex/specs
 @dirrm share/dblatex/latex/scripts
 @dirrm share/dblatex/latex/misc/passivetex
+@dirrm share/dblatex/latex/misc/xelatex
 @dirrm share/dblatex/latex/misc
 @dirrm share/dblatex/latex/graphics
 @dirrm share/dblatex/latex/contrib/db2latex/graphics
Index: files/patch-latex__style__dbk_fonts.sty
===================================================================
RCS file: files/patch-latex__style__dbk_fonts.sty
diff -N files/patch-latex__style__dbk_fonts.sty
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-latex__style__dbk_fonts.sty	26 Sep 2008 03:21:39 -0000
@@ -0,0 +1,8 @@
+--- ./latex/style/dbk_fonts.sty.orig	2008-04-18 23:11:22.000000000 +0000
++++ ./latex/style/dbk_fonts.sty	2008-09-26 03:14:49.000000000 +0000
+@@ -1,4 +1,4 @@
+-\usepackage{ifxetex}
++
+ \ifxetex
+ % to have the \text macro
+ \usepackage{amstext}
Index: files/patch-latex__style__docbook.sty
===================================================================
RCS file: files/patch-latex__style__docbook.sty
diff -N files/patch-latex__style__docbook.sty
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-latex__style__docbook.sty	26 Sep 2008 03:21:39 -0000
@@ -0,0 +1,43 @@
+--- ./latex/style/docbook.sty.orig	2007-09-03 18:47:53.000000000 +0000
++++ ./latex/style/docbook.sty	2008-09-26 03:16:31.000000000 +0000
+@@ -8,12 +8,6 @@
+ \DeclareOption{hyperlink}{ \def\DBKhyperlink{yes} }
+ \DeclareOption{nohyperlink}{ \def\DBKhyperlink{no} }
+
+-\ifx\undefined\chapter
+-  \def\DBKisarticle{1}
+-\else
+-  \def\DBKisarticle{0}
+-\fi
+-
+ % Default values
+ \ExecuteOptions{nohyperlink}
+
+@@ -140,7 +134,7 @@
+ %% Inclusion of float package after hyperref to have its definitions!
+ \usepackage{float}
+
+-\if1\DBKisarticle
++\ifundefined{chapter}{
+
+ \floatstyle{ruled}
+ \newfloat{example}{htb}{loe}[section]
+@@ -154,7 +148,7 @@
+ \let\stdtoc=\tableofcontents
+ \def\tableofcontents{ \newpage \stdtoc{} \newpage}
+
+-\else
++}{
+
+ \floatstyle{ruled}
+ \newfloat{example}{htb}{loe}[chapter]
+@@ -163,8 +157,8 @@
+ \floatstyle{plain}
+ \newfloat{dbequation}{htb}{loe}[chapter]
+ \floatname{dbequation}{{\scshape Equation }}
++}
+
+-\fi
+ % Sidebar is a boxed minipage that can contain verbatim
+ \newenvironment{sidebar}[1][0.95\textwidth]{
+   \hspace{0mm}\newline%
Index: files/patch-setup.py
===================================================================
RCS file: files/patch-setup.py
diff -N files/patch-setup.py
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-setup.py	26 Sep 2008 03:21:39 -0000
@@ -0,0 +1,11 @@
+--- ./setup.py.orig	2008-09-26 03:07:14.000000000 +0000
++++ ./setup.py	2008-09-26 03:13:52.000000000 +0000
+@@ -259,7 +259,7 @@
+         used_stys.sort()
+
+         # Dirty...
+-        for f in ("truncate", "elfonts", "CJKutf8", "pinyin"):
++        for f in ("truncate", "elfonts", "CJKutf8", "pinyin", "ifxetex"):
+             try:
+                 used_stys.remove(f)
+             except:
Index: files/patch-xsl__lang.xsl
===================================================================
RCS file: files/patch-xsl__lang.xsl
diff -N files/patch-xsl__lang.xsl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-xsl__lang.xsl	26 Sep 2008 03:21:39 -0000
@@ -0,0 +1,17 @@
+--- ./xsl/lang.xsl.orig	2008-04-18 23:11:31.000000000 +0000
++++ ./xsl/lang.xsl	2008-09-26 03:17:45.000000000 +0000
+@@ -192,7 +192,13 @@
+   </xsl:variable>
+
+   <!-- XeTeX preamble to handle fonts -->
+-  <xsl:text>\usepackage{ifxetex}&#10;</xsl:text>
++  <xsl:text>\IfFileExists{ifxetex.sty}{%
++    \usepackage{ifxetex}%
++  }{%
++    \newif\ifxetex
++    \xetexfalse
++  }
++  </xsl:text>
+   <xsl:text>\ifxetex&#10;</xsl:text>
+   <xsl:text>\usepackage{fontspec}&#10;</xsl:text>
+   <xsl:text>\usepackage{xltxtra}&#10;</xsl:text>
Comment 9 martin.dieringer 2008-09-26 12:23:45 UTC
the problem is that print/ifxetex didn't call mktexslr when installed by
package. I submitted a patch at 
http://www.freebsd.org/cgi/query-pr.cgi?pr=127646
Comment 10 dfilter service freebsd_committer freebsd_triage 2008-09-27 15:23:42 UTC
wxs         2008-09-27 14:23:33 UTC

  FreeBSD ports repository

  Modified files:
    textproc/dblatex     Makefile distinfo pkg-plist 
  Log:
  - Update to 0.2.9
  
  PR:             ports/127609
  Submitted by:   Martin Dieringer <martin.dieringer@gmx.de>
  Approved by:    Peter Johnson <johnson.peter@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.5       +3 -2      ports/textproc/dblatex/Makefile
  1.4       +3 -3      ports/textproc/dblatex/distinfo
  1.4       +7 -1      ports/textproc/dblatex/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 11 Wesley Shields freebsd_committer freebsd_triage 2008-09-27 23:58:09 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!