Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 22:30:17 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61524: Update port: graphics/sdl_image to 1.2.3
Message-ID:  <20040118223017.117ac794.tkato@prontomail.com>
Resent-Message-ID: <200401181340.i0IDeG3i071516@freefall.freebsd.org>

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

>Number:         61524
>Category:       ports
>Synopsis:       Update port: graphics/sdl_image to 1.2.3
>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:   Sun Jan 18 05:40:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.3

Remove file:
files/patch-ad

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/sdl_image/Makefile graphics/sdl_image/Makefile
--- /usr/ports/graphics/sdl_image/Makefile	Thu Jul 31 19:12:17 2003
+++ graphics/sdl_image/Makefile	Sat Jan 17 21:15:54 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	sdl_image
-PORTVERSION=	1.2.2
-PORTREVISION=	1
+PORTVERSION=	1.2.3
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.libsdl.org/projects/SDL_image/release/
 DISTNAME=	SDL_image-${PORTVERSION}
@@ -20,18 +19,16 @@
 		tiff.4:${PORTSDIR}/graphics/tiff
 
 USE_SDL=	yes
-USE_REINPLACE=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm"
 CONFIGURE_ARGS=	--enable-tif --enable-xcf
+MAKE_ARGS=	LT_CURRENT=10 LT_REVISION=0 LT_AGE=0
 INSTALLS_SHLIB=	yes
 
-post-configure:
-	@${REINPLACE_CMD} -e \
-		's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
-			${WRKSRC}/libtool
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${PREFIX}/bin
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/sdl_image/distinfo graphics/sdl_image/distinfo
--- /usr/ports/graphics/sdl_image/distinfo	Wed Apr 17 21:36:01 2002
+++ graphics/sdl_image/distinfo	Sat Jan 17 20:57:07 2004
@@ -1 +1 @@
-MD5 (SDL_image-1.2.2.tar.gz) = d07cb8f3f0e8bbb645ef8369d96eb7db
+MD5 (SDL_image-1.2.3.tar.gz) = d55826ffbd2bdc48b09cc64a9ed9e59e
diff -urN /usr/ports/graphics/sdl_image/files/patch-ac graphics/sdl_image/files/patch-ac
--- /usr/ports/graphics/sdl_image/files/patch-ac	Mon Dec 11 23:47:52 2000
+++ graphics/sdl_image/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure	2000/12/11 14:34:53	1.1
-+++ configure	2000/12/11 14:35:05
-@@ -581,7 +581,7 @@
- 
- # libtool versioning
- LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
--LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
-+LT_CURRENT=10
- LT_REVISION=$INTERFACE_AGE
- LT_AGE=`expr $BINARY_AGE - $INTERFACE_AGE`
- 
diff -urN /usr/ports/graphics/sdl_image/files/patch-ad graphics/sdl_image/files/patch-ad
--- /usr/ports/graphics/sdl_image/files/patch-ad	Thu May  2 11:08:55 2002
+++ graphics/sdl_image/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,79 +0,0 @@
---- IMG_xcf.c.orig	Mon Apr 29 03:01:48 2002
-+++ IMG_xcf.c	Mon Apr 29 03:17:07 2002
-@@ -166,6 +166,7 @@
- 
-   Uint32 offset_x;
-   Uint32 offset_y;
-+  int visible : 1;
- } xcf_layer;
- 
- typedef struct {
-@@ -179,6 +180,7 @@
-   Uint32 color;
-   Uint32 opacity;
-   int selection : 1;
-+  int visible : 1;
- } xcf_channel;
- 
- typedef struct {
-@@ -245,7 +247,9 @@
-   prop->id = SDL_ReadBE32 (src);
-   prop->length = SDL_ReadBE32 (src);
- 
-+#if 0
-   printf ("%.8X: %s: %d\n", SDL_RWtell (src), prop->id < 25 ? prop_names [prop->id] : "unknown", prop->length);
-+#endif
- 
-   switch (prop->id) {
-   case PROP_COLORMAP:
-@@ -265,6 +269,9 @@
-   case PROP_COLOR:
-     SDL_RWread (src, &prop->data, prop->length, 1);
-     break;
-+  case PROP_VISIBLE:
-+    prop->data.visible = SDL_ReadBE32 (src);
-+    break;
-   default:
-     //    SDL_RWread (src, &prop->data, prop->length, 1);
-     SDL_RWseek (src, prop->length, SEEK_CUR);
-@@ -332,6 +339,8 @@
-     if (prop.id == PROP_OFFSETS) {
-       l->offset_x = prop.data.offset.x;
-       l->offset_y = prop.data.offset.y;
-+    } else if (prop.id == PROP_VISIBLE) {
-+      l->visible = prop.data.visible ? 1 : 0;
-     }
-   } while (prop.id != PROP_END);
- 
-@@ -371,6 +380,9 @@
-     case PROP_SELECTION:
-       l->selection = 1;
-       break;
-+    case PROP_VISIBLE:
-+      l->visible = prop.data.visible ? 1 : 0;
-+      break;
-     default:
-     }
-   } while (prop.id != PROP_END);
-@@ -724,9 +736,10 @@
-     rd.y = layer->offset_y;
-     rd.w = layer->width;
-     rd.h = layer->height;
--    free_xcf_layer (layer);
- 
--    SDL_BlitSurface (lays, &rs, surface, &rd);
-+    if (layer->visible)
-+      SDL_BlitSurface (lays, &rs, surface, &rd);
-+    free_xcf_layer (layer);
-   }
- 
-   SDL_FreeSurface (lays);
-@@ -756,7 +769,7 @@
-     }
-     for (i = 0; i < chnls; i++) {
-       //      printf ("CNLBLT %i\n", i);
--      if (!channel [i]->selection) {
-+      if (!channel [i]->selection && channel [i]->visible) {
- 	create_channel_surface (chs, head->image_type, channel [i]->color, channel [i]->opacity);
- 	SDL_BlitSurface (chs, NULL, surface, NULL);
-       }
>Release-Note:
>Audit-Trail:
>Unformatted:



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