Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 10:58:23 -0400 (EDT)
From:      Brad Laue <brad@brad-x.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/39417: gtk-config and glib-config filename conventions required?
Message-ID:  <20020617145823.AC53622104A@TMA-1.brad-x.com>

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

>Number:         39417
>Category:       ports
>Synopsis:       gtk-config and glib-config filename conventions required?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 17 08:00:12 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Brad Laue
>Release:        FreeBSD 4.6-RC i386
>Organization:
brad-x.com
>Environment:
System: FreeBSD TMA-1.brad-x.com 4.6-RC FreeBSD 4.6-RC #0: Thu May 23 01:31:46 EDT 2002 root@TMA-1.brad-x.com:/usr/src/sys/compile/DISCOVERY-IPF i386


>Description:
	The glib and gtk library/header config programs are currently placed on the FreeBSD filesystem as glib12-config and gtk12-config respectively. 

	This was applicable when these files were required among multiple versions of GTK 1, but with the release of GTK 2.0, the configuration mechanisms are completely separate, and there is no longer a real need to rename the glib12-config and gtk12-config scripts.

	This change would not affect all currently compiled GTK applications, and would simply require a tweak of bsd.gnome.mk to change every port dependent upon these two programs.

>How-To-Repeat:
	Install gtk 1.2.10 from the ports tree.
>Fix:

--- bsd.gnome.mk.orig	Mon Jun 17 10:53:09 2002
+++ bsd.gnome.mk	Mon Jun 17 10:54:18 2002
@@ -95,7 +95,7 @@
 .if defined(WITH_GLIB) || defined(WITH_ALL)
 HAVE_GLIB=	yes
 .else
-GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
+GLIB_CONFIG?=	${LOCALBASE}/bin/glib-config
 .if exists(${GLIB_CONFIG})
 HAVE_GLIB=	yes
 .else
@@ -115,7 +115,7 @@
 .if defined(WITH_GTK) || defined(WITH_ALL)
 HAVE_GTK=	yes
 .else
-GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
+GTK_CONFIG?=	${X11BASE}/bin/gtk-config
 .if exists(${GTK_CONFIG})
 HAVE_GTK=	yes
 .else
@@ -240,7 +240,7 @@
 
 .if defined(USE_GLIB)
 LIB_DEPENDS+=	glib12.3:${PORTSDIR}/devel/glib12
-GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
+GLIB_CONFIG?=	${LOCALBASE}/bin/glib-config
 CONFIGURE_ENV+=	GLIB_CONFIG="${GLIB_CONFIG}"
 MAKE_ENV+=		GLIB_CONFIG="${GLIB_CONFIG}"
 .if defined(HAVE_GLIB)
@@ -256,7 +256,7 @@
 
 .if defined(USE_GTK)
 LIB_DEPENDS+=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
+GTK_CONFIG?=	${X11BASE}/bin/gtk-config
 CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}"
 MAKE_ENV+=		GTK_CONFIG="${GTK_CONFIG}"
 .if defined(HAVE_GTK)

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

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?20020617145823.AC53622104A>