Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 1998 22:32:06 +0900
From:      KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
To:        ports@FreeBSD.ORG
Subject:   Why still depends on gtk-1.0.5 in imlib ?
Message-ID:  <19980821223206Y.kiri@kiri.toba-cmt.ac.jp>

next in thread | raw e-mail | index | archive | help
I'm working on building gnome, but imlib port still depends
gtk-1.0.5 and gnomelib complain to need newer gtk with 1.1.1 or
more. Is there any reason imlib depends gtk-1.0.5? If no reason, I'd
like to depends imlib to gtk-1.1.1(port x11-toolkits/gtk11).

How about this?  Anyway I put diff from current.

diff -urN ../../current/graphics/imlib/Makefile ./Makefile
--- ../../current/graphics/imlib/Makefile	Sun Aug  9 02:33:10 1998
+++ ./Makefile	Fri Aug 21 20:32:06 1998
@@ -18,7 +18,7 @@
 		jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg \
 		tiff34\\.1\\.:${PORTSDIR}/graphics/tiff34 \
 		gif\\.3\\.:${PORTSDIR}/graphics/giflib \
-		gtk\\.1\\.5:${PORTSDIR}/x11-toolkits/gtk
+		gtk11\\.1\\.:${PORTSDIR}/x11-toolkits/gtk11
 
 USE_GMAKE=	yes
 USE_X_PREFIX=	yes
diff -urN ../../current/graphics/imlib/patches/patch-aa ./patches/patch-aa
--- ../../current/graphics/imlib/patches/patch-aa	Tue Jul 21 02:32:57 1998
+++ ./patches/patch-aa	Fri Aug 21 21:27:32 1998
@@ -1,5 +1,27 @@
---- configure.orig	Sat Jul 18 10:57:31 1998
-+++ configure	Sun Jul 19 01:53:34 1998
+--- configure.orig	Sat Jul 18 11:57:31 1998
++++ configure	Fri Aug 21 21:24:38 1998
+@@ -1482,18 +1482,18 @@
+   if test x$gtk_config_exec_prefix != x ; then
+      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
+      if test x${GTK_CONFIG+set} != xset ; then
+-        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
++        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk11-config
+      fi
+   fi
+   if test x$gtk_config_prefix != x ; then
+      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
+      if test x${GTK_CONFIG+set} != xset ; then
+-        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
++        GTK_CONFIG=$gtk_config_prefix/bin/gtk11-config
+      fi
+   fi
+ 
+   # Extract the first word of "gtk-config", so it can be a program name with args.
+-set dummy gtk-config; ac_word=$2
++set dummy gtk11-config; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+ echo "configure:1499: checking for $ac_word" >&5
+ if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
 @@ -1699,143 +1699,6 @@
    rm -f conf.gtktest
  
diff -urN ../../current/graphics/imlib/scripts/configure ./scripts/configure
--- ../../current/graphics/imlib/scripts/configure	Thu Jan  1 09:00:00 1970
+++ ./scripts/configure	Sun May 31 21:50:36 1998
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/bin/perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/Imakefile

________________________________________________________________________
KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>    Toba National College of 
                                                     Maritime Technology
                         Department of Electronic Mechanical Engineering

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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