Skip to contentSkip to conversation

kbd-1.15.4 (stable)

kbd Alexey Gladkov 4 participants 12 messages Dec 2, 2012 – Dec 3, 2012

lore
Share & tools
lore
#0 lore raw

kbd 1.15.4 Release Notes
==========================

The kbd-1.15.4 is available at

ftp://ftp.altlinux.org/pub/people/legion/kbd/

Git repository:

git://git.altlinux.org/people/legion/packages/kbd.git
git://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git

Feedback and bug reports, as always, are welcomed.

Changelog:
----------

Alexey Gladkov (29):
Fix extra files
Fix translations
Fix "make distcheck"
Add vlock sources
loadkeys: Read from stdin, when no keymaps specified in command line [keymaps] Add dvorak-es keymap
Regenerate loadkeys.c
Change the handling of -C option
Change default keymap
Fix -d option
Don't read stdin if -d specified
vlock: Add manpage
Use more devices in getfd() function
openvt: Add --exec option to usage
Allow resizecons on x86_64
configure: Add silent rules
configure: Add configure summary
configure: check compile flags
Update the flex scanner to use a stack for its start conditions Dont use flex internal variable
[keymaps] Add dvorak-sv-a1 and dvorak-sv-a5 keymaps Delete the files generated by flex and bison
configure: Rename --enable-vlock to --disable-vlock
vlock: Internationalization
Remove src/vlock
Update translations
Update changelog and increase version (1.15.4wip)
po: Update translations (from translationproject.org) Set 1.15.4 version

Dmitriy Perlow (1):
[keymaps] Add ruwin_alt_sh-UTF-8 keymap

Joe MacMahon (1):
[keymaps] Add dvorak-uk keymap

Ludwig Nussel (1):
fix double free

Mike Frysinger (2):
ignore all files ending in ~
dvorak-ru.map: uncompress file

Petr Pisar (1):
vlock: erases scroll-back buffer

Vitezslav Crhonek (1):
[keymaps] Add dvorak-ca-fr keymap

Signature · 1 line
Rgrds, legion
#1 lore raw

Alexey Gladkov <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 14:58:30 +0300:

Hello. I've got a build error:

[   33s] make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4/po'
[   33s] make[3]: `cs.gmo' is up to date.
[   33s] make[3]: `da.gmo' is up to date.
[   33s] make[3]: `de.gmo' is up to date.
[   33s] make[3]: `el.gmo' is up to date.
[   33s] make[3]: `eo.gmo' is up to date.
[   33s] rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po
[   33s] es.po:1415: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: The string refers to arguments both through absolute argument numbers and through unnumbered argument specifications.
[   33s] /usr/bin/msgfmt: found 1 fatal error
[   33s] 204 translated messages, 40 fuzzy translations, 58 untranslated messages.
[   33s] make[3]: *** [es.gmo] Error 1
[   33s] make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4/po'
[   33s] make[2]: *** [stamp-po] Error 2
[   33s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4/po'
[   33s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4'
[   33s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4'
[   33s] make[1]: *** [all-recursive] Error 1
[   33s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/kbd-1.15.4'
[   33s] make: *** [all] Error 2

Could you help me please? My distro is openSUSE 12.2 x64.

Signature · 1 line
Dmitriy DarkneSS Perlow / Linux x64
#2 lore raw

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 4 lines

Alexey Gladkov <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 14:58:30 +0300:

Hello. I've got a build error:

I've solved it. The patch is included.

Signature · 1 line
Dmitriy DarkneSS Perlow / Linux x64
po/es.po +0 -1
Index: kbd-1.15.3/po/es.po
===================================================================
@@ -1361,7 +1361,6 @@ msgid "Found nothing to save\n"
 msgstr "No se encontró nada que guardar\n"
 
 #: src/setfont.c:682
-#, c-format
 msgid "Saved %d-char %dx%d font file on %s\n"
 msgstr ""
 "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %s\n"
#3 lore raw
Quoted 10 lines · Dmitriy Perlow

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 5 lines

Alexey Gladkov <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 14:58:30 +0300:

Hello. I've got a build error:

I've solved it. The patch is included.

Oh ... my mistake. Applied!

Signature · 1 line
Rgrds, legion
#4 lore raw
In reply to Dmitriy Perlow
Quoted 9 lines · Dmitriy Perlow

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 5 lines

Alexey Gladkov <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 14:58:30 +0300:

Hello. I've got a build error:

I've solved it. The patch is included.

That is, you propose to remove c-format keyword from a format string just to force es.po compiled, despite of the fact that the translated format string in question will certainly violate format string constrains? No, patches like that should never be considered.

Signature · 1 line
ldv
#5 lore raw

Dmitry V. Levin <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 21:49:06 +0300:

Quoted 5 lines · Dmitriy Perlow
Quoted 4 lines

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 1 line
Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

Hello. I've got a build error:

I've solved it. The patch is included.

That is, you propose to remove c-format keyword from a format string just to force es.po compiled, despite of the fact that the translated format string in question will certainly violate format string constrains? No, patches like that should never be considered.

It is a fixed openSUSE's patch for the 0.15.3 version. If you have a better solution, please submit it.

Signature · 1 line
Dmitriy DarkneSS Perlow / Linux x64
#6 lore raw
Quoted 8 lines · Dmitriy Perlow

Dmitry V. Levin <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 21:49:06 +0300:

Quoted 7 lines · Dmitriy Perlow
Quoted 5 lines

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 2 lines

Hello. I've got a build error:

I've solved it. The patch is included.

Quoted 7 lines
Quoted 4 lines

That is, you propose to remove c-format keyword from a format string just to force es.po compiled, despite of the fact that the translated format string in question will certainly violate format string constrains? No, patches like that should never be considered.

It is a fixed openSUSE's patch for the 0.15.3 version. If you have a better solution, please submit it.

When msgfmt complains about a fatal error, the worst possible solution is to shut msgfmt up like you did. If a translated format string violates constrains, it should be either fixed or removed, you know.

Signature · 1 line
ldv
#7 lore raw
Quoted 14 lines · Dmitry V. Levin
Quoted 13 lines · Dmitriy Perlow

Dmitry V. Levin <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 21:49:06 +0300:

Quoted 11 lines · Dmitriy Perlow
Quoted 5 lines

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 2 lines

Hello. I've got a build error:

I've solved it. The patch is included.

That is, you propose to remove c-format keyword from a format string just to force es.po compiled, despite of the fact that the translated format string in question will certainly violate format string constrains? No, patches like that should never be considered.

Quoted 6 lines
Quoted 2 lines

It is a fixed openSUSE's patch for the 0.15.3 version. If you have a better solution, please submit it.

When msgfmt complains about a fatal error, the worst possible solution is to shut msgfmt up like you did. If a translated format string violates constrains, it should be either fixed or removed, you know.

Unless msgfmt is unjust and complains erroneously.

Signature · 1 line
ldv
#8 lore raw
In reply to Dmitriy Perlow
Quoted 8 lines · Dmitriy Perlow

Dmitry V. Levin <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 21:49:06 +0300:

Quoted 7 lines · Dmitriy Perlow
Quoted 5 lines

Dmitriy Perlow <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 16:00:58 +0300:

Quoted 3 lines

Hello. I've got a build error:

I've solved it. The patch is included.

Quoted 7 lines
Quoted 4 lines

That is, you propose to remove c-format keyword from a format string just to force es.po compiled, despite of the fact that the translated format string in question will certainly violate format string constrains? No, patches like that should never be considered.

It is a fixed openSUSE's patch for the 0.15.3 version. If you have a better solution, please submit it.

It's a pity that openSUSE accepts patches of such poor quality. The right fix is as simple as this:

msgid "Saved %d-char %dx%d font file on %s\n"
-msgstr "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %s\n" +msgstr "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %4$s\n"

Signature · 1 line
ldv
#9 lore raw

Dmitry V. Levin <[email protected]> писал(а) в своём письме Sun, 02 Dec 2012 22:16:35 +0300:

Quoted 8 lines

The right fix is as simple as this:

msgid "Saved %d-char %dx%d font file on %s\n"
-msgstr "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %s\n"
+msgstr "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %4$s\n"

Thanks! It works too.

Signature · 1 line
Dmitriy DarkneSS Perlow / Linux x64
#10 lore raw
In reply to Dmitriy Perlow
Quoted 1 line · On Sunday 02 December 2012 08:00:58 Dmitriy Perlow wrote:

[ 33s] rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po

i wonder why gettext is being run at all. looks like the tarball was created incorrectly -- it should have had the .gmo files in there. seems like there are ~ files too in the tarball.

is it just not being created with make distcheck ? -mike

#11 lore raw
Quoted 8 lines · Mike Frysinger
Quoted 1 line · On Sunday 02 December 2012 08:00:58 Dmitriy Perlow wrote:

[ 33s] rm -f es.gmo && /usr/bin/msgfmt -c --statistics -o es.gmo es.po

i wonder why gettext is being run at all. looks like the tarball was created incorrectly -- it should have had the .gmo files in there. seems like there are ~ files too in the tarball.

is it just not being created with make distcheck ?

No, but the next releases will be.

It seems that the pre-release no one is watching. I do them to avoid such situations. Apparently it is useless.

Quoted 1 line

From now on i will no longer produce a prerelease version. I will only

announce the plans and then the release will follow.

Signature · 1 line
Rgrds, legion