Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2008 07:09:41 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123134: Port update: graphics/tif22pnm - Distfile changed upstream
Message-ID:  <200804270709.m3R79fKc005852@www.freebsd.org>
Resent-Message-ID: <200804270720.m3R7K11B083762@freefall.freebsd.org>

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

>Number:         123134
>Category:       ports
>Synopsis:       Port update: graphics/tif22pnm - Distfile changed upstream
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 07:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #14: Sun Apr 20 14:11:03 CEST 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This patch changes distinfo for graphics/tif22pnm as the distfile has changed upstream. A diff between the old and the new version shows minimal changes :

8<------------
diff -aurN tif22pnm.orig/work/tif22pnm-0.12/Makefile tif22pnm/work/tif22pnm-0.12/Makefile
--- tif22pnm.orig/work/tif22pnm-0.12/Makefile   2003-02-07 18:29:11.000000000 +0100
+++ tif22pnm/work/tif22pnm-0.12/Makefile        2006-05-22 12:01:30.000000000 +0200
@@ -1,15 +1,23 @@
-.PHONY: all install distclean dist
+.PHONY: all install distclean dist compile clean

-all:
-       [ -f config.h ] || ./configure
+compile: compiled.stamp
+
+all compiled.stamp: config.h
        ./do.sh compile
+       touch compiled.stamp
+
+config.h:
+       ./configure

 distclean:
        ./do.sh confclean

-install:
-       cp tif22pnm $(prefix)/bin
-       cp png22pnm $(prefix)/bin
+install: compiled.stamp
+       test -f tif22pnm || exit 0; . cc_help.sh && cp tif22pnm "$$prefix"/bin
+       test -f png22pnm || exit 0; . cc_help.sh && cp png22pnm "$$prefix"/bin

 dist: distclean
        ./do.sh dist
+
+clean:
+       ./do.sh clean
diff -aurN tif22pnm.orig/work/tif22pnm-0.12/cc_help.sh.in tif22pnm/work/tif22pnm-0.12/cc_help.sh.in
--- tif22pnm.orig/work/tif22pnm-0.12/cc_help.sh.in      2003-02-05 21:21:27.000000000 +0100
+++ tif22pnm/work/tif22pnm-0.12/cc_help.sh.in   2006-05-22 11:53:37.000000000 +0200
@@ -1,6 +1,7 @@
 if test x"$CC" = x; then
   CC='@CC@'
 fi
+prefix='@prefix@'
 LD='@CC@'
 LIBS_PNG='@LIBS_PNG@'
 LIBS_TIFF='@LIBS_TIFF@'
diff -aurN tif22pnm.orig/work/tif22pnm-0.12/debian/changelog tif22pnm/work/tif22pnm-0.12/debian/changelog
--- tif22pnm.orig/work/tif22pnm-0.12/debian/changelog   2003-10-20 15:55:10.000000000 +0200
+++ tif22pnm/work/tif22pnm-0.12/debian/changelog        2006-05-22 12:02:08.000000000 +0200
@@ -1,3 +1,9 @@
+tif22pnm (0.11-3) unstable; urgency=low
+
+  * Fiexed $prefix in make install
+
+ -- Szabó Péter <pts@math.bme.hu>  Mon, 22 May 2006 12:01:57 +0200
+
 tif22pnm (0.11-2) unstable; urgency=low

   * packaging changes
8<------------

There will be no impact for the port as the binaries are built 'manually' from the port's Makefile, bypassing the inner build mechanism (Makefile + scripts). I do not bump PORTREVISION since there is no functional change.

I'll also take maintainership.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN tif22pnm.orig/Makefile tif22pnm/Makefile
--- tif22pnm.orig/Makefile	2008-04-26 15:54:00.558698210 +0200
+++ tif22pnm/Makefile	2008-04-27 09:00:17.061083287 +0200
@@ -11,7 +11,7 @@
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.inf.bme.hu/~pts/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ganael.laplanche@martymac.com
 COMMENT=	Converts TIFF- sampled images to PNM image
 
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
diff -aurN tif22pnm.orig/distinfo tif22pnm/distinfo
--- tif22pnm.orig/distinfo	2008-04-26 15:54:00.558698210 +0200
+++ tif22pnm/distinfo	2008-04-26 15:54:12.863898172 +0200
@@ -1,3 +1,3 @@
-MD5 (tif22pnm-0.12.tar.gz) = faeb859e2e01653e6b9fd4db992c02a9
-SHA256 (tif22pnm-0.12.tar.gz) = 17e71455d2e4cd27042cae526b05b98aa2d43017dcad55e48cf7ad5785c8e25a
-SIZE (tif22pnm-0.12.tar.gz) = 107567
+MD5 (tif22pnm-0.12.tar.gz) = 1d000aa7104669e7247448d1351ff132
+SHA256 (tif22pnm-0.12.tar.gz) = 4253f27d5578aeae8f88e75f41a205da8d2dc466d1efff39a3667a9ff55fb73a
+SIZE (tif22pnm-0.12.tar.gz) = 107684


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



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