[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ion3 diff for locale support
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: ion3 diff for locale support
- From: Pedro Martelletto <pedro_(_at_)_ambientworks_(_dot_)_net>
- Date: Sat, 3 Dec 2005 10:05:39 -0200
ion3 seems to be happy with the recent i18n/l10n hackery on -current.
-p.
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/ion/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- Makefile 30 Oct 2005 14:57:59 -0000 1.27
+++ Makefile 2 Dec 2005 23:34:06 -0000
@@ -3,6 +3,7 @@
COMMENT= "light, keyboard friendly window manager"
DISTNAME= ion-3ds-20051029
+PKGNAME= ${DISTNAME}p0
CATEGORIES= x11
HOMEPAGE= http://modeemi.cs.tut.fi/~tuomov/ion/
@@ -15,13 +16,14 @@
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
+
WANTLIB= ICE X11 m c Xinerama SM Xext
+MODULES= converters/libiconv devel/gettext
+LIB_DEPENDS= lua.5,lualib.5::lang/lua
USE_GMAKE= Yes
USE_X11= Yes
NO_REGRESS= Yes
-
-LIB_DEPENDS= lua.5,lualib.5::lang/lua
post-install:
$(INSTALL_DATA) ${FILESDIR}/*.lua ${PREFIX}/share/examples/ion3
Index: patches/patch-system_mk
===================================================================
RCS file: /cvs/ports/x11/ion/patches/patch-system_mk,v
retrieving revision 1.5
diff -u -r1.5 patch-system_mk
--- patches/patch-system_mk 23 Apr 2005 16:22:26 -0000 1.5
+++ patches/patch-system_mk 2 Dec 2005 23:34:06 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-system_mk,v 1.5 2005/04/23 16:22:26 pedro Exp $
---- system.mk.orig Wed Apr 6 07:39:56 2005
-+++ system.mk Sat Apr 23 11:11:54 2005
+--- system.mk.orig Sat Oct 29 10:33:25 2005
++++ system.mk Fri Dec 2 21:06:08 2005
@@ -7,7 +7,7 @@
## Installation paths
##
@@ -57,7 +57,7 @@
# Use the Xutf8 routines (XFree86 extension) instead of Xmb routines in
# an UTF8 locale given the -i18n command line option?
-@@ -107,13 +108,13 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
+@@ -107,7 +108,7 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
# asprintf and vasprintf in the c library. (gnu libc has.)
# If HAS_SYSTEM_ASPRINTF is not defined, an implementation
# in sprintf_2.2/ is used.
@@ -66,14 +66,17 @@
# If you're on an archaic system (such as relatively recent *BSD releases)
- # without even dummy multibyte/widechar and localisation support, you may
- # have to uncomment the following line:
--#DEFINES += -DCF_NO_LOCALE
-+DEFINES += -DCF_NO_LOCALE
+@@ -116,24 +117,24 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
+ #DEFINES += -DCF_NO_LOCALE
# On some other systems you may something like this:
- #EXTRA_LIBS += -lintl
-@@ -124,16 +125,16 @@ DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WOR
+-#EXTRA_LIBS += -lintl
+-#EXTRA_INCLUDES +=
++EXTRA_LIBS += -L$(LOCALBASE)/lib -lintl -liconv
++EXTRA_INCLUDES += -I$(LOCALBASE)/include
+
+
+ ##
## C compiler
##
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/ion/pkg/PLIST,v
retrieving revision 1.13
diff -u -r1.13 PLIST
--- pkg/PLIST 23 Oct 2005 17:55:21 -0000 1.13
+++ pkg/PLIST 2 Dec 2005 23:34:06 -0000
@@ -87,13 +87,6 @@
share/ion3/welcome.de.txt
share/ion3/welcome.fi.txt
share/ion3/welcome.txt
-share/locale/
-share/locale/cs/
-share/locale/cs/LC_MESSAGES/
share/locale/cs/LC_MESSAGES/ion3.mo
-share/locale/de/
-share/locale/de/LC_MESSAGES/
share/locale/de/LC_MESSAGES/ion3.mo
-share/locale/fi/
-share/locale/fi/LC_MESSAGES/
share/locale/fi/LC_MESSAGES/ion3.mo
Visit your host, monkey.org