From owner-freebsd-ports Mon Jun 17 8: 0:34 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C412737B436 for ; Mon, 17 Jun 2002 08:00:12 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5HF0CR54098; Mon, 17 Jun 2002 08:00:12 -0700 (PDT) (envelope-from gnats) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by hub.freebsd.org (Postfix) with ESMTP id BA74837B417; Mon, 17 Jun 2002 07:56:17 -0700 (PDT) Received: by TMA-1.brad-x.com (Postfix, from userid 1000) id AC53622104A; Mon, 17 Jun 2002 10:58:23 -0400 (EDT) Message-Id: <20020617145823.AC53622104A@TMA-1.brad-x.com> Date: Mon, 17 Jun 2002 10:58:23 -0400 (EDT) From: Brad Laue Reply-To: Brad Laue To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39417: gtk-config and glib-config filename conventions required? Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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