ports/73472: Update port: print/pslib to 0.2.4
KATO Tsuguru
tkato432 at yahoo.com
Wed Nov 3 16:10:28 UTC 2004
>Number: 73472
>Category: ports
>Synopsis: Update port: print/pslib to 0.2.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 03 16:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.4
New file:
files/patch-src::pslib.c
Remove file:
files/patch-ltmain.sh
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/print/pslib/Makefile print/pslib/Makefile
--- /usr/ports/print/pslib/Makefile Thu Jul 15 16:31:36 2004
+++ print/pslib/Makefile Mon Nov 1 22:47:18 2004
@@ -7,7 +7,7 @@
#
PORTNAME= pslib
-PORTVERSION= 0.2.2
+PORTVERSION= 0.2.4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,14 +15,13 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A C-library for generating multi page PostScript documents
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png
-USE_PERL5_BUILD= yes
+USE_GNOME= gnomehack gnometarget intlhack pkgconfig
USE_GETTEXT= yes
-USE_GNOME= gnomehack
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+USE_LIBTOOL_VER= 15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
diff -urN /usr/ports/print/pslib/distinfo print/pslib/distinfo
--- /usr/ports/print/pslib/distinfo Tue Jul 13 11:45:48 2004
+++ print/pslib/distinfo Mon Nov 1 22:33:25 2004
@@ -1,2 +1,2 @@
-MD5 (pslib-0.2.2.tar.gz) = 76c50030acd9297604477e8b216453f8
-SIZE (pslib-0.2.2.tar.gz) = 463045
+MD5 (pslib-0.2.4.tar.gz) = 556d7f1b47bedc7c0d7743e45579265d
+SIZE (pslib-0.2.4.tar.gz) = 473706
diff -urN /usr/ports/print/pslib/files/patch-ltmain.sh print/pslib/files/patch-ltmain.sh
--- /usr/ports/print/pslib/files/patch-ltmain.sh Tue Jul 13 11:45:48 2004
+++ print/pslib/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970
@@ -1,15 +0,0 @@
---- ltmain.sh.orig Wed Apr 7 00:45:05 2004
-+++ ltmain.sh Tue Jul 13 10:37:40 2004
-@@ -5550,10 +5550,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/print/pslib/files/patch-src::pslib.c print/pslib/files/patch-src::pslib.c
--- /usr/ports/print/pslib/files/patch-src::pslib.c Thu Jan 1 09:00:00 1970
+++ print/pslib/files/patch-src::pslib.c Mon Nov 1 22:39:01 2004
@@ -0,0 +1,22 @@
+--- src/pslib.c.orig Tue Jul 20 20:54:56 2004
++++ src/pslib.c Mon Nov 1 22:38:48 2004
+@@ -4557,8 +4557,8 @@
+ PS_begin_template(PSDoc *psdoc, float width, float height) {
+ PSImage *pstemplate;
+ char buffer[20];
+- buffer[0] = '\0';
+ int templateid;
++ buffer[0] = '\0';
+
+ if(NULL == psdoc) {
+ ps_error(psdoc, PS_RuntimeError, _("PSDoc is null."));
+@@ -4729,8 +4729,8 @@
+ PSPattern *pspattern;
+ char buffer[20];
+ int patternid;
+- buffer[0] = '\0';
+ PSShading *psshading;
++ buffer[0] = '\0';
+
+ if(NULL == psdoc) {
+ ps_error(psdoc, PS_RuntimeError, _("PSDoc is null."));
diff -urN /usr/ports/print/pslib/pkg-plist print/pslib/pkg-plist
--- /usr/ports/print/pslib/pkg-plist Tue Jul 13 11:45:48 2004
+++ print/pslib/pkg-plist Mon Nov 1 22:47:04 2004
@@ -1,7 +1,6 @@
include/libps/pslib-mp.h
include/libps/pslib.h
include/libps/psversion.h
- at dirrm include/libps
lib/libps.a
lib/libps.so
lib/libps.so.2
@@ -11,3 +10,4 @@
%%DATADIR%%/exectime.ps
%%DATADIR%%/grid.ps
@dirrm %%DATADIR%%
+ at dirrm include/libps
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list