From owner-freebsd-ports Thu May 9 8:10:25 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 7F7F837B411 for ; Thu, 9 May 2002 08:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g49FA3A50385; Thu, 9 May 2002 08:10:03 -0700 (PDT) (envelope-from gnats) Received: from postfix2-2.free.fr (postfix2-2.free.fr [213.228.0.140]) by hub.freebsd.org (Postfix) with ESMTP id AC7EF37B403; Thu, 9 May 2002 08:02:22 -0700 (PDT) Received: from graf.pompo.net (lyon-2-a7-62-147-23-105.dial.proxad.net [62.147.23.105]) by postfix2-2.free.fr (Postfix) with ESMTP id 5D2215FDD6; Thu, 9 May 2002 17:02:19 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 130B8750E; Thu, 9 May 2002 17:01:38 +0200 (CEST) Message-Id: <20020509150138.130B8750E@graf.pompo.net> Date: Thu, 9 May 2002 17:01:38 +0200 (CEST) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org Cc: vanilla@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37887: graphics/gimp1: problems with gettext. 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: 37887 >Category: ports >Synopsis: graphics/gimp1: problems with gettext. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 09 08:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Sat May 4 07:26:38 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: On a -STABLE machine, with a current ports tree, no gnome, I get these errors when trying to build The Gimp: about_dialog.o: In function `about_dialog_create': about_dialog.o(.text+0x5e): undefined reference to `gettext' about_dialog.o(.text+0x46a): undefined reference to `gettext' about_dialog.o(.text+0x4cb): undefined reference to `gettext' about_dialog.o(.text+0x7c6): undefined reference to `gettext' airbrush.o: In function `airbrush_options_new': airbrush.o(.text+0x222): undefined reference to `gettext' airbrush.o(.text+0x336): more undefined references to `gettext' follow main.o: In function `main': main.o(.text+0x60): undefined reference to `bindtextdomain' main.o(.text+0x70): undefined reference to `textdomain' main.o(.text+0x85): undefined reference to `bindtextdomain' main.o(.text+0x53f): undefined reference to `gettext' main.o(.text+0x574): undefined reference to `gettext' main.o(.text+0x5a5): undefined reference to `gettext' main.o(.text+0x5be): undefined reference to `gettext' main.o(.text+0x5d7): undefined reference to `gettext' main.o(.text+0x5f0): more undefined references to `gettext' follow menus.o: In function `menu_translate': menus.o(.text+0x20ec): undefined reference to `dgettext' menus.o(.text+0x217a): undefined reference to `dgettext' menus.o(.text+0x2251): undefined reference to `gettext' menus.o(.text+0x22ce): undefined reference to `gettext' module_db.o: In function `module_db_browser_new': module_db.o(.text+0x1e3): undefined reference to `gettext' module_db.o(.text+0x20b): undefined reference to `gettext' module_db.o(.text+0x44b): undefined reference to `gettext' module_db.o(.text+0xa50): more undefined references to `gettext' follow plug_in.o: In function `plug_in_make_menu': plug_in.o(.text+0x309c): undefined reference to `bindtextdomain' plug_in.o(.text+0x316e): undefined reference to `bindtextdomain' plug_in.o(.text+0x31d3): undefined reference to `dgettext' posterize.o: In function `tools_new_posterize': posterize.o(.text+0x38): undefined reference to `gettext' posterize.o: In function `posterize_initialize': posterize.o(.text+0x10a): undefined reference to `gettext' posterize.o: In function `posterize_dialog_new': posterize.o(.text+0x24f): undefined reference to `gettext' [...] >How-To-Repeat: cd /usr/ports/graphics/gimp1 make >Fix: Apply the following patch: diff -urN /usr/ports/graphics/gimp1.orig/Makefile /usr/ports/graphics/gimp1/Makefile --- /usr/ports/graphics/gimp1.orig/Makefile Sat Apr 13 11:05:53 2002 +++ /usr/ports/graphics/gimp1/Makefile Thu May 9 13:55:33 2002 @@ -22,7 +22,9 @@ jpeg.9:${PORTSDIR}/graphics/jpeg \ mpeg.1:${PORTSDIR}/graphics/mpeg-lib \ png.5:${PORTSDIR}/graphics/png \ - tiff.4:${PORTSDIR}/graphics/tiff + tiff.4:${PORTSDIR}/graphics/tiff \ + intl.2:${PORTSDIR}/devel/gettext \ + iconv.3:${PORTSDIR}/converters/libiconv #SHLIBVER?= ${PORTVERSION:S/1.2.//g} SHLIBVER?= 2 diff -urN /usr/ports/graphics/gimp1.orig/files/patch-app_Makefile.in /usr/ports/graphics/gimp1/files/patch-app_Makefile.in --- /usr/ports/graphics/gimp1.orig/files/patch-app_Makefile.in Thu Jan 1 01:00:00 1970 +++ /usr/ports/graphics/gimp1/files/patch-app_Makefile.in Thu May 9 15:53:12 2002 @@ -0,0 +1,10 @@ +--- app/Makefile.in.orig Mon Feb 11 22:46:17 2002 ++++ app/Makefile.in Thu May 9 15:52:22 2002 +@@ -120,6 +120,7 @@ + INSTOBJEXT = @INSTOBJEXT@ + INTLBISON = @INTLBISON@ + INTLDEPS = @INTLDEPS@ ++INTLLIBS = @INTLLIBS@ + INTLOBJS = @INTLOBJS@ + INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ + IN_GIMP = @IN_GIMP@ diff -urN /usr/ports/graphics/gimp1.orig/files/patch-configure /usr/ports/graphics/gimp1/files/patch-configure --- /usr/ports/graphics/gimp1.orig/files/patch-configure Sat Aug 18 08:03:21 2001 +++ /usr/ports/graphics/gimp1/files/patch-configure Thu May 9 14:14:23 2002 @@ -1,6 +1,6 @@ ---- configure.orig Fri Jul 27 02:13:35 2001 -+++ configure Wed Aug 15 21:59:29 2001 -@@ -574,7 +574,7 @@ +--- configure.orig Sun Feb 10 07:21:30 2002 ++++ configure Thu May 9 14:12:57 2002 +@@ -746,7 +746,7 @@ GIMP_VERSION=$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION.$GIMP_MICRO_VERSION LT_RELEASE=$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION @@ -8,8 +8,53 @@ +LT_CURRENT=2 LT_REVISION=$GIMP_INTERFACE_AGE LT_AGE=`expr $GIMP_BINARY_AGE - $GIMP_INTERFACE_AGE` + LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE` +@@ -7103,7 +7103,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lintl $LIBS" ++LIBS="-lintl.2 $LIBS" + cat > conftest.$ac_ext <&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lintl $LIBS" ++LIBS="-lintl.2 $LIBS" + cat > conftest.$ac_ext <&6 + else + gt_save_LIBS="$LIBS" +- LIBS="$LIBS -lintl $LIBICONV" ++ LIBS="$LIBS -lintl.2 $LIBICONV" + cat > conftest.$ac_ext <Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message