Re: utf8 patch for mc, slang 2 version

2006-06-14 Thread Tomasz Kłoczko

On Wed, 14 Jun 2006, Egmont Koblinger wrote:


On Tue, Jun 13, 2006 at 07:14:41PM +0200, Tomasz Kłoczko wrote:


BTW: anyone is working on UFT-8 support for ncurses(w) backend ?


I don't think so, and I don't think it is worth it. Maintaining two backends
IMHO just causes headaches while it doesn't make mc better. I still can't
see why developers do not decide which one to use and drop the other one.


If someone want ask which backend is more importand and will be better 
keep as major IMO answer tn this kind question is very simple:


# rpm -q --whatrequires libslang.so.2 | grep -v slang | wc -l
4
# rpm -q --whatrequires libncurses.so.5 libncursesw.so.5 | grep -v ncurses |wc 
-l
55

Above slang list contain only packages which do not have now ncurses 
backend and are not importand as mc :)
Also current state have other sick points on Linux. In case using mc with 
gpm it causes runtime linking with more than one term toolkit library 
(slang or internal slang and ncurses used by libgpm).


[..]

[mc]$ for i in po/*.po; do msgconv -t UTF-8 $i -o $i; done


Are you sure it is safe to use the same output file? I'd rather use a tmp
file.


I'm sure. msgconv cumulates output in memory and aftewr finish conversion 
writes output to file name passed in -o parameter in single step.


kloczek
--
---
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
---
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [FYI] current translation status

2005-07-05 Thread Tomasz Kłoczko

On Tue, 5 Jul 2005, Roland Illig wrote:


Leonard den Ottolander wrote:

Regenerated and committed to PRE. How does one generate the status
table?


manually. ;)


I have small script which I use for generate i18n statistics for shadow 
project.

It can be downloaded from http://cvs.pld.org.pl/shadow/po/stats?rev=1.1
Any improvemets will be welcome :)

Next: it will be good remove intl/ directory from source tree. Fix in 
attached mc-gettxt.patch. This patch also removed covering system 
avalaible definition AM_GNU_GETTEXT_VERSION in acinclude.m4.


Next: it will be good convert all .po files to UTF-8 encoding (for
minimize number of used iconv modules in cmpletly UTFized system; the
same policy about use UTF-8 encoding is now used in GNOME and KDE).
One line script like:

[po]$ for i in *po; do iconv -f`awk -F\; '/^Content-Type/ {sub(\Content-Type: text/plain; charset=, 
); gsub(/\\\n\/, ); {print $0 }}' $i` -t UTF-8 $i $i.tmp; mv $i.tmp $i; done

and place in UTF-8 in charset= will help on this.

kloczek
--
---
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
---
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]--- mc-4.6.1-pre5/configure.ac~ 2005-07-05 11:22:39.0 +0200
+++ mc-4.6.1-pre5/configure.ac  2005-07-05 11:23:40.0 +0200
@@ -102,12 +102,8 @@
 dnl Internationalization
 dnl
 MC_ASM_LABELS
-AM_GNU_GETTEXT
-AM_GNU_GETTEXT_VERSION(0.11.5)
-
-if test x$USE_INCLUDED_LIBINTL = xyes; then
-CPPFLAGS=$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl
-fi
+AM_GNU_GETTEXT_VERSION(0.12.1)
+AM_GNU_GETTEXT([external])
 
 dnl Determine which help translations we want to install.
 ALL_DOC_LINGUAS=es hu it pl ru sr
@@ -637,7 +633,6 @@
 doc/ru/mc.1 doc/ru/Makefile
 doc/sr/mc.1 doc/sr/mcserv.8 doc/sr/Makefile
 
-intl/Makefile
 po/Makefile.in
 ])
 
--- mc-4.6.1-pre5/Makefile.am~  2005-07-05 11:24:08.0 +0200
+++ mc-4.6.1-pre5/Makefile.am   2005-07-05 11:24:08.0 +0200
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = 1.5
 
-SUBDIRS = intl po m4 vfs slang edit src lib doc syntax
+SUBDIRS = po m4 vfs slang edit src lib doc syntax
 
 EXTRA_DIST = FAQ HACKING INSTALL.FAST MAINTAINERS README.QNX TODO
 
--- mc-4.6.1-pre5/acinclude.m4~ 2005-07-05 11:28:21.0 +0200
+++ mc-4.6.1-pre5/acinclude.m4  2005-07-05 11:28:21.0 +0200
@@ -893,9 +893,6 @@
   fi
 ])
 
-dnl The next line is for compatibility with gettext 0.10.x
-AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
-
 dnl
 dnl Check whether the g_module_* family of functions works
 dnl on this system.  We need to know that at the compile time to
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [FYI] current translation status

2005-07-04 Thread Tomasz Kłoczko

On Sun, 3 Jul 2005, Roland Illig wrote:


language  translated  fuzzy  untranslated
-
de962
es965
hu962
it965
lt964


Not equal values in translated column is simptom of not updated .po files. 
It will be good run make -C po update-po and commit all changes 
generated by this command, generate translation status table again and 
_after this_ start updating all .po files.


kloczek
--
---
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
---
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Issues with /tmp/mc-$USER directory

2002-12-28 Thread Tomasz Kłoczko
On Wed, 25 Dec 2002, Koblinger Egmont wrote:
[..]
 temporary directory should be created by mkdtemp(),
 it should be removed at exit,
 O_EXCL should IMHO be removed when opening the -P file,
 the wrapper script should use a file under the user's home, or a file
 created by the mktemp command.

Next close thing ..
Sometimes $TMPDIR is assigned to ~/tmp or smething similar and sometimes 
volumen with /home is mounted as noexec and this breaks many mc
functiomalities like cd arch_file.
It will be good also clean this patr too by not direct run generated in
$TMPDIR script and run this script as /bin/sh parameter.

kloczek
-- 
---
*Ludzie nie maj problemw, tylko sobie sami je stwarzaj*
---
Tomasz Koczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]*
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



Re: Issues with /tmp/mc-$USER directory

2002-12-28 Thread Tomasz Kłoczko
On Sun, 29 Dec 2002, Nerijus Baliunas wrote:

 On Sun, 29 Dec 2002 00:15:30 +0100 (CET) Tomasz Koczko [EMAIL PROTECTED] 
wrote:
 
  Next close thing ..
  Sometimes $TMPDIR is assigned to ~/tmp or smething similar and sometimes 
  volumen with /home is mounted as noexec and this breaks many mc
  functiomalities like cd arch_file.
 
 But you can always redefine TMPDIR, where's the problem? Or do you
 want mc to check for such cases? IMHO it's overkill.

Problem is in mc. It will be good if mc will do not depend on exec/noexec 
volumen where poinst $TMPDIR wnd this can be easyly solved by not direct
executing generated by mc in $TMPDIR scrips .. and this is not overkill.

kloczek
-- 
---
*Ludzie nie maj problemw, tylko sobie sami je stwarzaj*
---
Tomasz Koczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]*
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel