Bug 13717

Summary: Fixed port: imlib -> 1.9.7
Product: Ports & Packages Reporter: nacai <nacai>
Component: Individual Port(s)Assignee: Yukihiro Nakai <nakai>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description nacai 1999-09-13 11:00:04 UTC
I have been fixed the imlib port to follow its latest version.
To update GNOME port, we must update such basically depend ports first.

Yukihiro Nakai
--------------
diff -ruN imlib.orig/Makefile imlib/Makefile
--- imlib.orig/Makefile	Mon Sep 13 18:45:00 1999
+++ imlib/Makefile	Wed Sep  8 11:17:07 1999
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	imlib
-# Version required:	1.9.4
+# Version required:	1.9.7
 # Date created:		10 June 1997
 # Whom:			Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
 #
-# $FreeBSD: ports/graphics/imlib/Makefile,v 1.54 1999/09/07 10:45:25 steve Exp $
+# $FreeBSD: ports/graphics/imlib/Makefile,v 1.53 1999/08/31 06:45:01 mharo Exp $
 #
 
-DISTNAME=	imlib-1.9.4
+DISTNAME=	imlib-1.9.7
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/imlib
diff -ruN imlib.orig/files/md5 imlib/files/md5
--- imlib.orig/files/md5	Mon Sep 13 18:45:00 1999
+++ imlib/files/md5	Wed Sep  8 11:06:07 1999
@@ -1 +1 @@
-MD5 (imlib-1.9.4.tar.gz) = 8d0e50e28a5b203ff76f114bb38627c7
+MD5 (imlib-1.9.7.tar.gz) = 0b897b599e6e651d8ec189971aef4eca
diff -ruN imlib.orig/patches/patch-aa imlib/patches/patch-aa
--- imlib.orig/patches/patch-aa	Mon Sep 13 18:45:00 1999
+++ imlib/patches/patch-aa	Mon Sep  6 15:17:56 1999
@@ -1,7 +1,16 @@
---- configure.orig	Thu Feb 25 01:44:38 1999
-+++ configure	Mon Mar  1 20:30:08 1999
-@@ -2304,8 +2304,8 @@
- echo "configure:2305: checking If dynamic linking works on this system" >&5
+--- configure.orig	Wed Sep  1 04:00:37 1999
++++ configure	Mon Sep  6 15:17:37 1999
+@@ -1826,7 +1826,7 @@
+ LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
+ 
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL='$(SHELL) /usr/local/bin/libtool'
+ 
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
+@@ -2367,8 +2367,8 @@
+ echo "configure:2368: checking whether to build gmodulized imlib" >&5
    oLIBS="$LIBS"
    oCFLAGS="$CFLAGS"
 -  LIBS="$LIBS `glib-config --libs gmodule`"
@@ -11,7 +20,7 @@
    if test "$cross_compiling" = yes; then
      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  else
-@@ -2354,8 +2354,8 @@
+@@ -2418,8 +2418,8 @@
  #define USE_GMODULE 1
  EOF
  
@@ -22,21 +31,39 @@
     
     
     echo "$ac_t""yes" 1>&6
-@@ -4153,7 +4153,7 @@
+@@ -4217,7 +4217,7 @@
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
 -LIBS="-lXext $X_LIBS $LIBS"
 +LIBS="-lXext -lX11 $X_LIBS $LIBS"
  cat > conftest.$ac_ext <<EOF
- #line 4159 "configure"
+ #line 4223 "configure"
  #include "confdefs.h"
-@@ -4488,7 +4488,7 @@
+@@ -4536,7 +4536,7 @@
+   echo "$ac_t""$jpeg_ok" 1>&6
+   if test "$jpeg_ok" = yes; then 
+     JPEGLIBS="-ljpeg"
+-    SUPPORT_LIBS="$SUPPORT_LIBS -ljpeg"; cat >> confdefs.h <<\EOF
++    SUPPORT_LIBS="$SUPPORT_LIBS -L/usr/local/lib"; cat >> confdefs.h <<\EOF
+ #define HAVE_LIBJPEG 1
+ EOF
+ 
+@@ -4552,7 +4552,7 @@
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
 -LIBS="-ltiff $GX_LIBS $LIBS"
 +LIBS="-ltiff -ljpeg -lz $GX_LIBS $LIBS"
  cat > conftest.$ac_ext <<EOF
- #line 4494 "configure"
+ #line 4558 "configure"
  #include "confdefs.h"
+@@ -4609,7 +4609,7 @@
+ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+   TIFFLIBS="-ltiff"
+-    SUPPORT_LIBS="$SUPPORT_LIBS -ltiff"; cat >> confdefs.h <<\EOF
++    SUPPORT_LIBS="$SUPPORT_LIBS -ltiff -ljpeg"; cat >> confdefs.h <<\EOF
+ #define HAVE_LIBTIFF 1
+ EOF
+ 
diff -ruN imlib.orig/patches/patch-ac imlib/patches/patch-ac
--- imlib.orig/patches/patch-ac	Mon Sep 13 18:45:00 1999
+++ imlib/patches/patch-ac	Wed Sep  8 11:09:03 1999
@@ -4,8 +4,8 @@
  libImlib_la_SOURCES =  	cache.c			colors.c		load.c			misc.c			rend.c			utils.c			save.c			snprintf.c
  
  
--libImlib_la_LDFLAGS = -version-info 10:4:9
-+libImlib_la_LDFLAGS = -version-info 4:0:0
+-libImlib_la_LDFLAGS = -version-info 10:7:9
++libImlib_la_LDFLAGS = -version-info 5:0:0
  #libImlib_la_LDDADD     = $(SUPPORT_LIBS)
  libImlib_la_LIBADD = $(SUPPORT_LIBS)
  
@@ -15,8 +15,8 @@
  libgdk_imlib_la_SOURCES =  	cache.c      			colors.c     			globals.c    			load.c       			misc.c       			rend.c       			utils.c      			save.c				modules.c
  
  
--libgdk_imlib_la_LDFLAGS = -version-info 10:4:9
-+libgdk_imlib_la_LDFLAGS = -version-info 4:0:0
+-libgdk_imlib_la_LDFLAGS = -version-info 10:7:9
++libgdk_imlib_la_LDFLAGS = -version-info 5:0:0
  libgdk_imlib_la_LIBADD = $(GMODULE_LIBS)
  
  include_HEADERS = gdk_imlib.h gdk_imlib_private.h gdk_imlib_types.h
diff -ruN imlib.orig/pkg/PLIST imlib/pkg/PLIST
--- imlib.orig/pkg/PLIST	Mon Sep 13 18:45:00 1999
+++ imlib/pkg/PLIST	Mon Sep  6 15:01:36 1999
@@ -1,5 +1,7 @@
 bin/imlib-config
 bin/imlib_config
+etc/imlib/im_palette-small.pal
+etc/imlib/im_palette-tiny.pal
 etc/imlib/im_palette.pal
 etc/imlib/imrc
 include/Imlib.h
@@ -10,34 +12,18 @@
 include/gdk_imlib_types.h
 lib/libImlib.a
 lib/libImlib.so
-lib/libImlib.so.4
+lib/libImlib.so.5
 lib/libgdk_imlib.a
 lib/libgdk_imlib.so
-lib/libgdk_imlib.so.4
-lib/libimlib-bmp.a
+lib/libgdk_imlib.so.5
 lib/libimlib-bmp.so
-lib/libimlib-bmp.so.0
-lib/libimlib-gif.a
 lib/libimlib-gif.so
-lib/libimlib-gif.so.0
-lib/libimlib-jpeg.a
 lib/libimlib-jpeg.so
-lib/libimlib-jpeg.so.0
-lib/libimlib-png.a
 lib/libimlib-png.so
-lib/libimlib-png.so.0
-lib/libimlib-ppm.a
 lib/libimlib-ppm.so
-lib/libimlib-ppm.so.0
-lib/libimlib-ps.a
 lib/libimlib-ps.so
-lib/libimlib-ps.so.0
-lib/libimlib-tiff.a
 lib/libimlib-tiff.so
-lib/libimlib-tiff.so.0
-lib/libimlib-xpm.a
 lib/libimlib-xpm.so
-lib/libimlib-xpm.so.0
 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
 share/aclocal/imlib.m4
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-09-30 04:44:11 UTC
Responsible Changed
From-To: freebsd-ports->nakai

Submitter is now a committer 
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 1999-10-10 09:53:49 UTC
State Changed
From-To: open->closed

Nakai forgot to close this one?