[82980] trunk/dports/tex

dports at macports.org dports at macports.org
Mon Aug 22 20:27:26 PDT 2011


Revision: 82980
          http://trac.macports.org/changeset/82980
Author:   dports at macports.org
Date:     2011-08-22 20:27:26 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
Split dvipng out of texlive-bin-extra into its own port, and make
texlive-bin-extra depend on that instead (to avoid a license conflict
in texlive-bin; see also r82979)

Revision Links:
--------------
    http://trac.macports.org/changeset/82979

Modified Paths:
--------------
    trunk/dports/tex/texlive-bin-extra/Portfile

Added Paths:
-----------
    trunk/dports/tex/dvipng/
    trunk/dports/tex/dvipng/Portfile
    trunk/dports/tex/dvipng/files/
    trunk/dports/tex/dvipng/files/patch-special.c.diff

Added: trunk/dports/tex/dvipng/Portfile
===================================================================
--- trunk/dports/tex/dvipng/Portfile	                        (rev 0)
+++ trunk/dports/tex/dvipng/Portfile	2011-08-23 03:27:26 UTC (rev 82980)
@@ -0,0 +1,50 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem      1.0
+
+name            dvipng
+version         1.14
+
+categories      tex
+maintainers     dports openmaintainer
+description     a DVI-to-PNG converter
+long_description \
+    This program makes PNG and/or GIF graphics from DVI files as obtained \
+    from TeX and its relatives. It is intended to produce anti-aliased    \
+    screen-resolution images as fast as is possible.
+
+homepage        http://savannah.nongnu.org/projects/dvipng/
+platforms       darwin
+license         LGPL
+
+master_sites    sourceforge
+
+checksums       rmd160  df1ac7709c7a2c81dd28bfc5cfbaf69a35ba6f64 \
+                sha256  43f5b57d0fab29398dcec1b849e8bebbcacb0b9c06875d2ac84a049be3c5b350
+
+patchfiles      patch-special.c.diff
+
+depends_build   port:texinfo
+depends_lib     port:gd2 \
+                port:texlive-basic \
+                port:freetype \
+                port:t1lib \
+                port:libpng \
+                port:bzip2 \
+                port:ghostscript
+
+# texlive-bin-extra used to contain dvipng before it was split off
+# into this port; deactivate old version to prevent conflict
+pre-activate {
+    if { ![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
+         && ([rpm-vercomp [lindex $vers 1] 23089] < 0
+             || [rpm-vercomp [lindex $vers 1] 23089] == 0
+             && [lindex $vers 2] < 1)} {
+        set deactivate_proc registry_deactivate_composite
+        if {[info commands registry_deactivate_composite] == {}} {
+            set deactivate_proc registry_deactivate
+        }
+        $deactivate_proc texlive-bin-extra "" [list ports_nodepcheck 1]
+    }
+}


Property changes on: trunk/dports/tex/dvipng/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/tex/dvipng/files/patch-special.c.diff
===================================================================
--- trunk/dports/tex/dvipng/files/patch-special.c.diff	                        (rev 0)
+++ trunk/dports/tex/dvipng/files/patch-special.c.diff	2011-08-23 03:27:26 UTC (rev 82980)
@@ -0,0 +1,11 @@
+--- special.c.orig	2011-08-21 01:19:50.000000000 -0400
++++ special.c	2011-08-21 01:33:13.000000000 -0400
+@@ -26,7 +26,7 @@
+ 
+ #ifndef MIKTEX
+ #ifndef WIN32
+-#include <wait.h>
++#include <sys/wait.h>
+ #else /* WIN32 */
+ #include <fcntl.h>
+ #include <io.h>

Modified: trunk/dports/tex/texlive-bin-extra/Portfile
===================================================================
--- trunk/dports/tex/texlive-bin-extra/Portfile	2011-08-23 03:24:45 UTC (rev 82979)
+++ trunk/dports/tex/texlive-bin-extra/Portfile	2011-08-23 03:27:26 UTC (rev 82980)
@@ -6,7 +6,7 @@
 
 name                texlive-bin-extra
 version             23089
-revision            0
+revision            1
 
 categories          tex
 maintainers         dports
@@ -26,13 +26,17 @@
 
 depends_lib         port:texlive-basic
 
-texlive.binaries    a2ping arlatex bibtex8 bibtexu bundledoc chktex chkweb ctangle ctie cweave de-macro deweb dt2dv dv2dt dviasm dvibook dviconcat dvicopy dvidvi dvigif dvihp dvilj dvilj2p dvilj4 dvilj4l dvilj6 dvipng dvipos dviselect dvisvgm dvitodvi dvitype e2pall findhyph fragmaster installfont-tl lacheck latex2man listings-ext.sh mkjobtexmf patgen pdfatfi pdfclose pdfcrop pdfopen pdftosrc pkfix pkfix-helper pooltype ps4pdf purifyeps rpdfcrop sty2dtx synctex tangle texcount texdef texdiff texdirflatten texdoc texdoctk texloganalyser tie tpic2pdftex weave
+texlive.binaries    a2ping arlatex bibtex8 bibtexu bundledoc chktex chkweb ctangle ctie cweave de-macro deweb dt2dv dv2dt dviasm dvibook dviconcat dvicopy dvidvi dvihp dvilj dvilj2p dvilj4 dvilj4l dvilj6 dvipos dviselect dvisvgm dvitodvi dvitype e2pall findhyph fragmaster installfont-tl lacheck latex2man listings-ext.sh mkjobtexmf patgen pdfatfi pdfclose pdfcrop pdfopen pdftosrc pkfix pkfix-helper pooltype ps4pdf purifyeps rpdfcrop sty2dtx synctex tangle texcount texdef texdiff texdirflatten texdoc texdoctk texloganalyser tie tpic2pdftex weave
 
-texlive.exclude     texmf/scripts/chktex/deweb.pl
+texlive.exclude     texmf/scripts/chktex/deweb.pl \
+                    texmf/doc/dvipng \
+                    texmf/doc/man/man1/dvigif.1 \
+                    texmf/doc/man/man1/dvipng.1
 
 depends_run         port:latexmk \
                     port:detex \
                     port:latexdiff \
-                    port:pdfjam
+                    port:pdfjam \
+                    port:dvipng
 
 texlive.texmfport
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/7e856792/attachment.html>


More information about the macports-changes mailing list