pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/doxygen



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat May 16 02:12:24 UTC 2020

Modified Files:
        pkgsrc/devel/doxygen: Makefile distinfo
Added Files:
        pkgsrc/devel/doxygen/patches: patch-src_formula.cpp

Log Message:
Allow building formulas with current ghostscript. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/devel/doxygen/Makefile
cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/doxygen/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/doxygen/patches/patch-src_formula.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/doxygen/Makefile
diff -u pkgsrc/devel/doxygen/Makefile:1.145 pkgsrc/devel/doxygen/Makefile:1.146
--- pkgsrc/devel/doxygen/Makefile:1.145 Sun Apr 12 08:28:29 2020
+++ pkgsrc/devel/doxygen/Makefile       Sat May 16 02:12:23 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.145 2020/04/12 08:28:29 adam Exp $
+# $NetBSD: Makefile,v 1.146 2020/05/16 02:12:23 joerg Exp $
 
 DISTNAME=      doxygen-1.8.16.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    devel
 MASTER_SITES=  http://doxygen.nl/files/
 

Index: pkgsrc/devel/doxygen/distinfo
diff -u pkgsrc/devel/doxygen/distinfo:1.66 pkgsrc/devel/doxygen/distinfo:1.67
--- pkgsrc/devel/doxygen/distinfo:1.66  Thu Oct 17 20:35:58 2019
+++ pkgsrc/devel/doxygen/distinfo       Sat May 16 02:12:23 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.66 2019/10/17 20:35:58 adam Exp $
+$NetBSD: distinfo,v 1.67 2020/05/16 02:12:23 joerg Exp $
 
 SHA1 (doxygen-1.8.16.src.tar.gz) = 912a36bad9b81ef27a0ff0208b459c500412c6b2
 RMD160 (doxygen-1.8.16.src.tar.gz) = 10d26e3ea9c63d7a01e9e8ecc8dd8b5ee111cc9a
@@ -6,3 +6,4 @@ SHA512 (doxygen-1.8.16.src.tar.gz) = 46a
 Size (doxygen-1.8.16.src.tar.gz) = 5497317 bytes
 SHA1 (patch-qtools_qglobal.h) = 6d89627ac032d95450ea878e81c027d81345952c
 SHA1 (patch-src_dirdef.cpp) = cd51a1745e828467feeeb5b89c37c5b2a4834583
+SHA1 (patch-src_formula.cpp) = 01cb504aa1ed1aa74f6a729ed69668df97fe02d9

Added files:

Index: pkgsrc/devel/doxygen/patches/patch-src_formula.cpp
diff -u /dev/null pkgsrc/devel/doxygen/patches/patch-src_formula.cpp:1.1
--- /dev/null   Sat May 16 02:12:24 2020
+++ pkgsrc/devel/doxygen/patches/patch-src_formula.cpp  Sat May 16 02:12:23 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_formula.cpp,v 1.1 2020/05/16 02:12:23 joerg Exp $
+
+Tell ghostscript that we want to read files from the local directory.
+With 9.50+, SAFER is enabled by default and it can't read the EPS otherwise.
+
+--- src/formula.cpp.orig       2020-05-16 01:35:49.487162414 +0000
++++ src/formula.cpp
+@@ -180,7 +180,7 @@ void FormulaList::generateBitmaps(const 
+       // used.  
+ 
+       char gsArgs[4096];
+-      sprintf(gsArgs,"-q -g%dx%d -r%dx%dx -sDEVICE=ppmraw "
++      sprintf(gsArgs,"-q -g%dx%d -r%dx%dx -sDEVICE=ppmraw -I. "
+                     "-sOutputFile=%s.pnm -dNOPAUSE -dBATCH -- %s.ps",
+                     gx,gy,(int)(scaleFactor*72),(int)(scaleFactor*72),
+                     formBase.data(),formBase.data()



Home | Main Index | Thread Index | Old Index