ports/140266: [Maintainer] textproc/scim-kmfl-varamozhi-malayalam: Add correct language code

View: New views
2 Messages — Rating Filter:   Alert me  

ports/140266: [Maintainer] textproc/scim-kmfl-varamozhi-malayalam: Add correct language code

by Nikola Lecic-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>Number:         140266
>Category:       ports
>Synopsis:       [Maintainer] textproc/scim-kmfl-varamozhi-malayalam: Add correct language code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 04 09:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nikola Lecic
>Release:        FreeBSD 8.0-RC2 i386
>Organization:
>Environment:

System: FreeBSD xxx 8.0-RC2 FreeBSD 8.0-RC2 #0: Fri Oct 30 09:13:38 CET 2009 xxx:/usr/obj/usr/src/sys/GENERIC i386

>Description:

This patch adds the correct language code /store(&language) directive/ to the
KMN file so that the keyboard appears in the right SCIM language submenu. The
port message is changed accordingly as well.

Thanks Doug Rintoul (KMFL creator) for noticing me about this.

This patch creates a new file, files/patch-mozhi_1.1.0.kmn.

>How-To-Repeat:
       
>Fix:

--- scim-kmfl-varamozhi-malayalam-1.1.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/scim-kmfl-varamozhi-malayalam/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 21 Oct 2009 09:15:39 -0000 1.1
+++ Makefile 4 Nov 2009 09:05:40 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME= scim-kmfl-varamozhi-malayalam
 PORTVERSION= 1.1.1
+PORTREVISION= 1
 CATEGORIES= textproc
 MASTER_SITES= SF/varamozhi/2%20Mozhi%20Keyman%20-%20Input%20Method/${PORTVERSION} \
  http://anthesphoria.net/FreeBSD/ports/distfiles/kmfl/
@@ -29,10 +30,6 @@
 PLIST_FILES= ${SCIM_KMFL_DIR}/mozhi_1.1.0.kmn \
  ${SCIM_KMFL_ICONS_DIR}/mozhi.bmp
 
-post-patch:
- @${REINPLACE_CMD} -E 's|(Mozhi Keymap 1\.1\.1)|Varamozhi \1|' \
- ${WRKSRC}/mozhi_1.1.0.kmn
-
 do-install:
  ${INSTALL_DATA} ${WRKSRC}/*.kmn ${LOCALBASE}/${SCIM_KMFL_DIR}
  ${INSTALL_DATA} ${WRKSRC}/*.bmp ${LOCALBASE}/${SCIM_KMFL_ICONS_DIR}
@@ -40,7 +37,7 @@
 post-install:
  @${ECHO_MSG} "--------------------------------------------------------"
  @${ECHO_MSG} "  You should now have the new keyboard in the section"
- @${ECHO_MSG} "  \"Others\" in your SCIM menu. If you don't see it,"
+ @${ECHO_MSG} "  \"Malayalam\" in your SCIM menu. If you don't see it,"
  @${ECHO_MSG} "  restart X."
  @${ECHO_MSG}
  @${ECHO_MSG} "  At the moment, this keyboard has no downloadable"
Index: files/patch-mozhi_1.1.0.kmn
===================================================================
RCS file: files/patch-mozhi_1.1.0.kmn
diff -N files/patch-mozhi_1.1.0.kmn
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-mozhi_1.1.0.kmn 4 Nov 2009 08:08:10 -0000
@@ -0,0 +1,24 @@
+--- mozhi_1.1.0.kmn.orig 2009-11-04 09:05:06.000000000 +0100
++++ mozhi_1.1.0.kmn 2009-11-04 09:06:50.000000000 +0100
+@@ -6,12 +6,13 @@
+ c License along with this library; if not, write to the Free Software
+ c Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA          
+
+-NAME "Mozhi Keymap 1.1.1"                        
++NAME "Varamozhi Mozhi Keymap 1.1.1"                        
+ COPYRIGHT "2006 © Raj Nair (peringz at gmail dot com)"
+ MESSAGE "Mozhi Keymap is a varamozhi based Tavultesoft keyboard available for Windows & Linux OS. Mozhi Keymap is distributed under GNU LGPL."
+ VERSION 6.0
+ BITMAP mozhi.bmp
+ CAPS ALWAYS OFF
++store(&language) "ml_IN"
+
+ store(&MnemonicLayout) "1"
+ begin Unicode > use(main)
+@@ -436,4 +437,4 @@
+ U+0D46 + [K_I] > U+0D48
+ U+0D28 U+0D4D U+0D28 U+0D4D + [K_G] > U+0D19 U+0D4D U+0D19 U+0D4D
+                                                                                                            
+-c EOF                              
+\ No newline at end of file
++c EOF                              
--- scim-kmfl-varamozhi-malayalam-1.1.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@..."

Parent Message unknown Re: ports/140266: [Maintainer] textproc/scim-kmfl-varamozhi-malayalam: Add correct language code

by miwi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Synopsis: [Maintainer] textproc/scim-kmfl-varamozhi-malayalam: Add correct language code

State-Changed-From-To: open->closed
State-Changed-By: miwi
State-Changed-When: Wed Nov 4 10:28:56 UTC 2009
State-Changed-Why:
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=140266
_______________________________________________
freebsd-ports-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@..."