From nobody@FreeBSD.org  Sun Jun 24 13:16:23 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D8F5816A46C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2007 13:16:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id C893C13C4C7
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2007 13:16:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5ODGNtT090259
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Jun 2007 13:16:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l5ODGNMZ090258;
	Sun, 24 Jun 2007 13:16:23 GMT
	(envelope-from nobody)
Message-Id: <200706241316.l5ODGNMZ090258@www.freebsd.org>
Date: Sun, 24 Jun 2007 13:16:23 GMT
From: Marcus von Appen <mva@sysfault.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Maintainer-update]: print/pslib version update to 0.3.0
X-Send-Pr-Version: www-3.0

>Number:         113987
>Category:       ports
>Synopsis:       [Maintainer-update]: print/pslib version update to 0.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 13:20:02 GMT 2007
>Closed-Date:    Fri Jun 29 11:59:20 GMT 2007
>Last-Modified:  Fri Jun 29 12:00:09 GMT 2007
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Fri Jun 29 11:19:25 UTC 2007 
State-Changed-Why:  
Hi Marcus, 

Hi, The port does not build. Can you take a look in it? 
http://head.miwibox.org/tb/index.php?action=describe_port&id=1292 

Thanks. 



Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Jun 29 11:19:25 UTC 2007 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113987 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Jun 29 11:59:18 UTC 2007 
State-Changed-Why:  
Committed. Danke! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113987 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113987: commit references a PR
Date: Fri, 29 Jun 2007 11:59:21 +0000 (UTC)

 miwi        2007-06-29 11:59:04 UTC
 
   FreeBSD ports repository
 
   Modified files:
     print/pslib          Makefile distinfo pkg-plist 
   Added files:
     print/pslib/files    patch-src-ght_hash_table.h.in 
   Removed files:
     print/pslib/files    patch-src-pslib.c patch-src__bmp.c 
   Log:
   - Update to 0.3.0
   
   Changelog:
           * lots of fixed bugs
           * color separation support
           * support for different input encodings
           * and more
   
   PR:             113987
   Submitted by:   Marcus von Appen <mva@sysfault.org> (maintainer)
   
   Revision  Changes    Path
   1.15      +2 -3      ports/print/pslib/Makefile
   1.8       +3 -3      ports/print/pslib/distinfo
   1.1       +10 -0     ports/print/pslib/files/patch-src-ght_hash_table.h.in (new)
   1.2       +0 -10     ports/print/pslib/files/patch-src-pslib.c (dead)
   1.3       +0 -31     ports/print/pslib/files/patch-src__bmp.c (dead)
   1.7       +1 -1      ports/print/pslib/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
