Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2007 13:16:23 GMT
From:      Marcus von Appen <mva@sysfault.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113987: [Maintainer-update]: print/pslib version update to 0.3.0
Message-ID:  <200706241316.l5ODGNMZ090258@www.freebsd.org>
Resent-Message-ID: <200706241320.l5ODK36l079547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113987
>Category:       ports
>Synopsis:       [Maintainer-update]: print/pslib version update to 0.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 13:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Marcus von Appen
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD magenta.linden.home 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun May 27 19:44:14 CEST 2007     root@magenta.linden.home:/usr/obj/usr/src/sys/MAGENTA  i386
>Description:
pslib version update to 0.3.0. This adds:

 * lots of fixed bugs
 * color separation support
 * support for different input encodings
 * and more

Note to the commiter:
files/patch-src-pslib.c and files/patch-src__bmp.c can be removed. A new file
files/patch-src-ght_hash_table.h.in has to be added.

>How-To-Repeat:

>Fix:
diff -Nur /usr/ports/print/pslib/Makefile /usr/ports/print/pslib.new/Makefile
--- /usr/ports/print/pslib/Makefile	Sat May 19 22:21:46 2007
+++ /usr/ports/print/pslib.new/Makefile	Sun Jun 24 15:10:54 2007
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	pslib
-PORTVERSION=	0.2.7
-PORTREVISION=	2
+PORTVERSION=	0.3.0
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -37,7 +36,7 @@
 .if !defined(WITHOUT_EXAMPLES)
 EX_NAME=	pslib-examples-0.0.8
 EX_WRKSRC=	${WRKDIR}/${EX_NAME}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX}
+DISTFILES+=	${EX_NAME}${EXTRACT_SUFX}
 PLIST_SUB+=	EXAMPLES=""
 .else
 PLIST_SUB+=	EXAMPLES="@comment "
diff -ruN --exclude=CVS /usr/ports/print/pslib/distinfo /usr/ports/print/pslib.new/distinfo
--- /usr/ports/print/pslib/distinfo	Sat Sep  9 14:42:00 2006
+++ /usr/ports/print/pslib.new/distinfo	Sun Jun 24 12:37:13 2007
@@ -1,6 +1,6 @@
-MD5 (pslib-0.2.7.tar.gz) = 17a6a461276fd4eb3fd12ced926aeee1
-SHA256 (pslib-0.2.7.tar.gz) = 653ec4b1685500d3eb86dc89093854e1928f040b457556365bd52a31dda9a84d
-SIZE (pslib-0.2.7.tar.gz) = 510671
+MD5 (pslib-0.3.0.tar.gz) = ada1e74f3d7eea899da402898e6b8a88
+SHA256 (pslib-0.3.0.tar.gz) = a612b34c912d183e5c01b2eae614276aae93a2f44d80c3a40fabba37f2550374
+SIZE (pslib-0.3.0.tar.gz) = 520186
 MD5 (pslib-examples-0.0.8.tar.gz) = ef7ea1c869047b9510fb1ea55cfa9e76
 SHA256 (pslib-examples-0.0.8.tar.gz) = cfab81f3639e2863e92c226ba6b6a06b0c482afc524d041bcb1df4cbe74f8ebd
 SIZE (pslib-examples-0.0.8.tar.gz) = 175792
diff -ruN /usr/ports/print/pslib/files/patch-src-ght_hash_table.h.in /usr/ports/print/pslib.new/files/patch-src-ght_hash_table.h.in
--- /usr/ports/print/pslib/files/patch-src-ght_hash_table.h.in	Thu Jan  1 01:00:00 1970
+++ /usr/ports/print/pslib.new/files/patch-src-ght_hash_table.h.in	Sun Jun 24 14:23:15 2007
@@ -0,0 +1,10 @@
+--- src/ght_hash_table.h.in.orig	Sun Jun 24 14:12:27 2007
++++ src/ght_hash_table.h.in	Sun Jun 24 14:12:45 2007
+@@ -60,6 +60,7 @@
+ #define GHT_HASH_TABLE_H
+ 
+ #include <stdlib.h>                    /* size_t */
++#include <sys/types.h>
+ 
+ #ifdef __cplusplus
+ extern "C" {
diff -ruN --exclude=CVS /usr/ports/print/pslib/files/patch-src-pslib.c /usr/ports/print/pslib.new/files/patch-src-pslib.c
--- /usr/ports/print/pslib/files/patch-src-pslib.c	Mon Aug  1 14:50:02 2005
+++ /usr/ports/print/pslib.new/files/patch-src-pslib.c	Thu Jan  1 01:00:00 1970
@@ -1,10 +0,0 @@
---- src/pslib.c.orig	Wed Jul 27 15:08:15 2005
-+++ src/pslib.c	Fri Jul 29 01:56:04 2005
-@@ -29,6 +29,7 @@
- #include <strings.h>
- #include <time.h>
- #include <math.h>
-+#include <sys/types.h>
- #include <sys/select.h>
- #include <sys/stat.h>
- #ifndef WIN32
diff -ruN --exclude=CVS /usr/ports/print/pslib/files/patch-src__bmp.c /usr/ports/print/pslib.new/files/patch-src__bmp.c
--- /usr/ports/print/pslib/files/patch-src__bmp.c	Sat Jul  8 19:06:24 2006
+++ /usr/ports/print/pslib.new/files/patch-src__bmp.c	Thu Jan  1 01:00:00 1970
@@ -1,31 +0,0 @@
---- src/bmp.c.orig	Mon Apr 24 10:25:31 2006
-+++ src/bmp.c	Sat Jul  8 13:02:51 2006
-@@ -41,10 +41,28 @@
- #include <fcntl.h>
- #include <unistd.h>
- 
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#include <sys/endian.h>
-+
-+#if __FreeBSD_version >= 500000
-+#define BMPSwabShort(x) *x = bswap16(*x)
-+#define BMPSwabLong(x) *x = bswap32(*x)
-+#else
-+#define BMPSwabShort(x) (be16toh(x))
-+#define BMPSwabLong(x) (be32toh(x))
-+#endif
-+#endif
-+
-+#ifdef linux
- #include <byteswap.h>
- 
- #define BMPSwabShort(x) *x = bswap_16 (*x)
- #define BMPSwabLong(x) *x = bswap_32 (*x)
-+#endif
- 
- #include <inttypes.h>
- 
diff -ruN --exclude=CVS /usr/ports/print/pslib/pkg-plist /usr/ports/print/pslib.new/pkg-plist
--- /usr/ports/print/pslib/pkg-plist	Sat Sep  9 14:42:00 2006
+++ /usr/ports/print/pslib.new/pkg-plist	Sun Jun 24 14:31:05 2007
@@ -4,7 +4,7 @@
 lib/libps.a
 lib/libps.la
 lib/libps.so
-lib/libps.so.2
+lib/libps.so.3
 libdata/pkgconfig/libps.pc
 %%NLS%%share/locale/de/LC_MESSAGES/pslib.mo
 %%DATADIR%%/draft.ps


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706241316.l5ODGNMZ090258>