From 21b9852e7cfeb62ad796bf25a1b2b2c6854faf84 Mon Sep 17 00:00:00 2001 From: martti Date: Fri, 1 Mar 2002 12:24:43 +0000 Subject: Updated cvsgraph to 1.2.0 (provided by Amitai Schlair in pkg/15764) * The entire tree can now be drawn upside-down. This is usefull if you have many revisions in a trunk and want to see the latest first. The configuration includes an option 'upside_down' with a boolean argument. You can override the default value on the command-line with the '-u' switch, which will negate the configured value. The imagemap generation also supports this, so you will still be able to point and shoot on and between the revisions. * You can now instruct CvsGraph to ommit all revisions that are not tagged. This is highly usefull for very large trees/trunks to reduce the produced image size. Note that the first and the last revision in a trunk are not hidden. A new configuration option 'strip_untagged' with boolean argument enables this feature. Alternatively, the command-line provides option '-s' wich negates the value set in the configuration file. You can also strip the first revision if it is untagged using '-S' and/or strip_first_rev. * The boxes to identify the branches can now be drawn on both sides of the trunk. Configuration option 'branch_dupbox' with boolean argument activates this feature, which is usefull when the tree is drawn upside-down.The command-line option '-b' negated the configured value. * Configuration no longer requires a configuration file. All options can now be entered on the commandline using '-O'. CvsGraph will still read the configuration file if one is avaliable, but it is no longer an error if none is found. * If no file is entered on the command-line, then the input is taken from standard input, like all decent *nix programs. * ViewCVS (http://viewcvs.sourceforge.net) is now officially supporting the use of CvsGraph in their code as of version 0.8. So, no bad hacks needed anymore to get it working, and it always looks nice :-) * Implemented string drawing using freetype interface of libgd. It looks very nice, but it is significantly slower than gd's standard bitmap fonts. Extra configuration parameters *_ttfont and *_ttsize set font and size. Option use_ttf enables ttf rendering. Note that gd's bitmap fonts are used as a fallback in case where the ttfont contains errors or is not found. * The branch tag color and font can now be set separately using branch_tag_* configuration options. * It is now possible to draw the connector lines between the boxes thicker by setting thick_lines to something else than 1. Maximum thickness is limited to lines of 11 pixels wide. * Transparent backgrounds can now be generated by setting transparent_bg option to true in the configuration. --- devel/cvsgraph/Makefile | 31 +++++++++++++++++-------------- devel/cvsgraph/PLIST | 6 +++--- devel/cvsgraph/distinfo | 8 ++++---- devel/cvsgraph/patches/patch-ab | 26 +++++++++++++------------- 4 files changed, 37 insertions(+), 34 deletions(-) (limited to 'devel/cvsgraph') diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile index 37cafd6d9ad..60aabf8f2ad 100644 --- a/devel/cvsgraph/Makefile +++ b/devel/cvsgraph/Makefile @@ -1,24 +1,25 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $ +# $NetBSD: Makefile,v 1.2 2002/03/01 12:24:43 martti Exp $ # -DISTNAME= cvsgraph-1.1.3 -CATEGORIES= devel +DISTNAME= cvsgraph-1.2.0 +CATEGORIES= devel MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/ -MAINTAINER= schmonz+netbsd@schmonz.com -HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph/ -COMMENT= graphically represents CVS/RCS branches and file revisions +MAINTAINER= schmonz+netbsd@schmonz.com +HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph/ +COMMENT= graphically represents CVS/RCS branches and file revisions USE_BUILDLINK_ONLY= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} -EGDIR= ${PREFIX}/share/examples/${PKGBASE} -CONF_FILES= ${EGDIR}/cvsgraph.conf ${PKG_SYSCONFDIR}/cvsgraph.conf -PLIST_SUBST+= PKGBASE=${PKGBASE} -FILES_SUBST= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} +DOCDIR= ${PREFIX}/share/doc/${PKGBASE} +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +CONF_FILES= ${EGDIR}/cvsgraph.conf ${PKG_SYSCONFDIR}/cvsgraph.conf +PLIST_SUBST+= PKGBASE=${PKGBASE} +FILES_SUBST= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} -ALL_TARGET= cvsgraph +ALL_TARGET= cvsgraph pre-install: cd ${WRKSRC}; ${SED} ${FILES_SUBST_SED} cvsgraph.1 > cvsgraph.1.nb @@ -27,11 +28,13 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1.nb ${PREFIX}/man/man1/cvsgraph.1 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5 + + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR} + ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${EGDIR} - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsgraph - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/LICENCE ${PREFIX}/share/doc/${PKGBASE} .include "../../graphics/gd/buildlink.mk" .include "../../mk/x11.buildlink.mk" diff --git a/devel/cvsgraph/PLIST b/devel/cvsgraph/PLIST index dedd2c88180..c654156c4c5 100644 --- a/devel/cvsgraph/PLIST +++ b/devel/cvsgraph/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/03/01 12:24:43 martti Exp $ bin/cvsgraph man/man1/cvsgraph.1 man/man5/cvsgraph.conf.5 -share/examples/${PKGBASE}/cvsgraph.conf +share/doc/${PKGBASE}/LICENSE share/doc/${PKGBASE}/README -share/doc/${PKGBASE}/LICENCE +share/examples/${PKGBASE}/cvsgraph.conf @dirrm share/examples/${PKGBASE} @dirrm share/doc/${PKGBASE} diff --git a/devel/cvsgraph/distinfo b/devel/cvsgraph/distinfo index d90befe8153..dabd1ab7717 100644 --- a/devel/cvsgraph/distinfo +++ b/devel/cvsgraph/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $ +$NetBSD: distinfo,v 1.2 2002/03/01 12:24:43 martti Exp $ -SHA1 (cvsgraph-1.1.3.tar.gz) = 2711bfb471b59ff42d1f2d63fbeb7d1951be3a51 -Size (cvsgraph-1.1.3.tar.gz) = 49007 bytes +SHA1 (cvsgraph-1.2.0.tar.gz) = d953bb3db4c183e1c71a76c18acb9fbcdfdce342 +Size (cvsgraph-1.2.0.tar.gz) = 60029 bytes SHA1 (patch-aa) = 2b42222cdf0fe979268500860c5d701f706cb8bd -SHA1 (patch-ab) = 93b8ea10cff5c73d439675e31e749a9394aab891 +SHA1 (patch-ab) = e77e34a2659287b21ec3c134e50cbd8b39877bbe diff --git a/devel/cvsgraph/patches/patch-ab b/devel/cvsgraph/patches/patch-ab index a3898fbeb37..3b14a7cfa85 100644 --- a/devel/cvsgraph/patches/patch-ab +++ b/devel/cvsgraph/patches/patch-ab @@ -1,17 +1,17 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $ +$NetBSD: patch-ab,v 1.2 2002/03/01 12:24:44 martti Exp $ ---- cvsgraph.1.orig Sun Dec 9 15:02:14 2001 -+++ cvsgraph.1 Sun Dec 9 15:03:18 2001 -@@ -46,7 +46,7 @@ - \fBCvsGraph\fR starts with reading a configuration file. If the \fB\-c\fR option - is given on the commandline, then it is read. Otherwise, \fBcvsgraph\fR first - looks for a configuration file in the current directory using \fI./cvsgraph.conf\fR --and, if not found, tries to open \fI/usr/local/etc/cvsgraph.conf\fR. -+and, if not found, tries to open \fI@PKG_SYSCONFDIR@/cvsgraph.conf\fR. - If still no configuration file is read an error message is issued and - \fBcvsgraph\fR terminates. The format of the configuration file is - described in \fBcvsgraph.conf(5)\fR. Configuration parameters entered on -@@ -85,7 +85,7 @@ +--- cvsgraph.1.orig Mon Feb 18 08:11:47 2002 ++++ cvsgraph.1 +@@ -98,7 +98,7 @@ + option is given on the commandline, then it is read. Otherwise, \fBcvsgraph\fR + first looks for a configuration file in the current directory using + \fI./cvsgraph.conf\fR and, if not found, tries to open +-\fI/usr/local/etc/cvsgraph.conf\fR. Defaults and commandline overrides ++\fI@PKG_SYSCONFDIR@/cvsgraph.conf\fR. Defaults and commandline overrides + will be used if no configuration file can be opened. The format of the + configuration file is described in \fBcvsgraph.conf(5)\fR. Configuration + parameters entered on the commandline have always precedence over the +@@ -154,7 +154,7 @@ .SH "FILES" .LP .TP -- cgit v1.2.3