Date: Thu, 9 May 2002 17:01:38 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: vanilla@FreeBSD.org Subject: ports/37887: graphics/gimp1: problems with gettext. Message-ID: <20020509150138.130B8750E@graf.pompo.net>
next in thread | raw e-mail | index | archive | help
>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 <<EOF + #line 7109 "configure" + #include "confdefs.h" +@@ -7143,7 +7143,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 <<EOF + #line 7149 "configure" + #include "confdefs.h" +@@ -7187,7 +7187,7 @@ + fi -@@ -7116,8 +7116,8 @@ + if test "$gt_cv_func_dgettext_libintl" = "yes"; then +- LIBS="$LIBS -lintl"; ++ LIBS="$LIBS -lintl.2"; + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ +@@ -7968,7 +7968,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + gt_save_LIBS="$LIBS" +- LIBS="$LIBS -lintl $LIBICONV" ++ LIBS="$LIBS -lintl.2 $LIBICONV" + cat > conftest.$ac_ext <<EOF + #line 7974 "configure" + #include "confdefs.h" +@@ -8004,7 +8004,7 @@ + + + if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then +- INTLLIBS="-lintl $LIBICONV" ++ INTLLIBS="-lintl.2 $LIBICONV" + fi + + gt_save_LIBS="$LIBS" +@@ -11957,8 +11957,8 @@ fi @@ -20,7 +65,7 @@ gimpsysconfdir=$sysconfdir/$PACKAGE/$GIMP_MAJOR_VERSION.$GIMP_MINOR_VERSION localedir='${prefix}/${DATADIRNAME}/locale' -@@ -8234,11 +8234,6 @@ +@@ -13133,11 +13133,6 @@ *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; >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?20020509150138.130B8750E>