Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 19:25:16 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        gnome@FreeBSD.org
Subject:   gtk12 WITHOUT_NLS patches
Message-ID:  <20040302032516.GA1060@xor.obsecurity.org>

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

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Please review.

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/x11-toolkits/gtk12/Makefile,v
retrieving revision 1.96
diff -u -r1.96 Makefile
--- Makefile	4 Feb 2004 04:36:29 -0000	1.96
+++ Makefile	2 Mar 2004 03:24:43 -0000
@@ -16,7 +16,6 @@
 MAINTAINER=3D	gnome@FreeBSD.org
 COMMENT=3D	Gimp Toolkit for X11 GUI (previous stable version)
=20
-USE_GETTEXT=3D	yes
 USE_X_PREFIX=3D	yes
 USE_PERL5=3D	yes
 USE_GNOME=3D	glib12
@@ -28,6 +27,13 @@
 CONFIGURE_ENV=3D	CPPFLAGS=3D"-I${LOCALBASE}/include" \
 		X_CFLAGS=3D"-I${LOCALBASE}/include" \
 		LIBS=3D"-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=3D	yes
+PLIST_SUB+=3D	NLS=3D""
+.else
+CONFIGURE_ARGS+=3D--disable-nls
+PLIST_SUB+=3D	NLS=3D"@comment "
+.endif
=20
 MAN1=3D		gtk-config.1
=20
Index: pkg-plist
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/pcvs/ports/x11-toolkits/gtk12/pkg-plist,v
retrieving revision 1.59
diff -u -r1.59 pkg-plist
--- pkg-plist	13 Jan 2003 02:17:36 -0000	1.59
+++ pkg-plist	2 Mar 2004 03:24:43 -0000
@@ -135,44 +135,44 @@
 libdata/pkgconfig/gdk.pc
 libdata/pkgconfig/gtk+.pc
 share/aclocal/gtk.m4
-share/locale/az/LC_MESSAGES/gtk+.mo
-share/locale/ca/LC_MESSAGES/gtk+.mo
-share/locale/cs/LC_MESSAGES/gtk+.mo
-share/locale/da/LC_MESSAGES/gtk+.mo
-share/locale/de/LC_MESSAGES/gtk+.mo
-share/locale/el/LC_MESSAGES/gtk+.mo
-share/locale/es/LC_MESSAGES/gtk+.mo
-share/locale/et/LC_MESSAGES/gtk+.mo
-share/locale/eu/LC_MESSAGES/gtk+.mo
-share/locale/fi/LC_MESSAGES/gtk+.mo
-share/locale/fr/LC_MESSAGES/gtk+.mo
-share/locale/ga/LC_MESSAGES/gtk+.mo
-share/locale/gl/LC_MESSAGES/gtk+.mo
-share/locale/hr/LC_MESSAGES/gtk+.mo
-share/locale/hu/LC_MESSAGES/gtk+.mo
-share/locale/it/LC_MESSAGES/gtk+.mo
-share/locale/ja/LC_MESSAGES/gtk+.mo
-share/locale/ko/LC_MESSAGES/gtk+.mo
-share/locale/lt/LC_MESSAGES/gtk+.mo
-share/locale/nl/LC_MESSAGES/gtk+.mo
-share/locale/nn/LC_MESSAGES/gtk+.mo
-share/locale/no/LC_MESSAGES/gtk+.mo
-share/locale/pl/LC_MESSAGES/gtk+.mo
-share/locale/pt/LC_MESSAGES/gtk+.mo
-share/locale/pt_BR/LC_MESSAGES/gtk+.mo
-share/locale/ro/LC_MESSAGES/gtk+.mo
-share/locale/ru/LC_MESSAGES/gtk+.mo
-share/locale/sk/LC_MESSAGES/gtk+.mo
-share/locale/sl/LC_MESSAGES/gtk+.mo
-share/locale/sp/LC_MESSAGES/gtk+.mo
-share/locale/sr/LC_MESSAGES/gtk+.mo
-share/locale/sv/LC_MESSAGES/gtk+.mo
-share/locale/tr/LC_MESSAGES/gtk+.mo
-share/locale/uk/LC_MESSAGES/gtk+.mo
-share/locale/vi/LC_MESSAGES/gtk+.mo
-share/locale/wa/LC_MESSAGES/gtk+.mo
-share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/az/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/no/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sp/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/wa/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gtk+.mo
+%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/gtk+.mo
 share/themes/Default/gtk/gtkrc
 share/themes/Default/gtk/gtkrc.az
 share/themes/Default/gtk/gtkrc.be

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAQ/6bWry0BWjoQKURAhTOAKC5MRchDwp9zoCCUNIaALqlJoXn5QCfWuZl
JmxOno3rB2bTtEb/zZGQ3xY=
=Cuvf
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



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