Bug#653118: net-tools: translations.patch should be split for each .po

NODA, Kai nodakai at gmail.com
Sat Dec 24 06:02:02 UTC 2011


Package: net-tools
Version: 1.60-24.1
Severity: minor
Tags: patch l10n

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

debian/patches/translations.patch contains all diffs for all
languages/encodings, making it hard to edit with a text editor.
So I split it into multiple patches each of them containing a diff for
a single .po.

Confirmation of equivalency of Before and After:

$ LANG=C diff -ur net-tools-1.60.orig net-tools-1.60
Only in net-tools-1.60/debian/patches: translations-Makefile.patch
Only in net-tools-1.60/debian/patches: translations-bt_BR.patch
Only in net-tools-1.60/debian/patches: translations-cs.patch
Only in net-tools-1.60/debian/patches: translations-de.patch
Only in net-tools-1.60/debian/patches: translations-et_EE.patch
Only in net-tools-1.60/debian/patches: translations-fr.patch
Only in net-tools-1.60/debian/patches: translations-ja.patch
Only in net-tools-1.60/debian/patches: translations-pot.patch
Only in net-tools-1.60.orig/debian/patches: translations.patch

$ grep Index net-tools-1.60.orig/debian/patches/translations.patch
Index: net-tools/po/pt_BR.po
Index: net-tools/po/net-tools.pot
Index: net-tools/po/et_EE.po
Index: net-tools/po/cs.po
Index: net-tools/po/Makefile
Index: net-tools/po/de.po
Index: net-tools/po/ja.po
Index: net-tools/po/fr.po

$ grep Index net-tools-1.60.orig/debian/patches/translations.patch | while read line; do
x=${line##*/};
y=${x%.*};
if [ $y = net-tools ]; then y=pot; fi;
cat net-tools-1.60/debian/patches/translations-$y* >> /tmp/translations.patch;
done

$ diff net-tools-1.60.orig/debian/patches/translations.patch /tmp/translations.patch
1,2d0
< Probably unsyncable changes, extracted from diff.gz
<

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages net-tools depends on:
ii  libc6  2.13-21

net-tools recommends no packages.

net-tools suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJO9WrUAAoJEKNCJg1JYNsRRkgQALgC6BZ0sBrzMbyrsIR5BNHK
8bYkAHANNULLcqZVod6hfPvcJ1QLgTXeA4N9Ii/GY8X/AI+OGQtvq5u+IkteyP7y
mDEbwAc8CKGQ+w+PFCqrCB34ffRcauSUY7C5IlTaHZBpGwkzE8Vll5FiIvtqYnOJ
gDhIPwh07hNB/Q/y9PufHFb9kEfvm9PRR0KeSxclWa2lx0N0IsQUHBoBtwnvLOFK
dr2JkzQAQihn4BfPJ5WQI84BOJvZQ5ZU5S3SWuhVKLJNGvmfimwRgkMLAxj4AF+M
/Dnt2y0yJYtap3AbRch11HZUULx6CuqtbkRkc9hw4x/hfEbPHD9Xr1zpdijozNZ/
w/wjesBRL/bXuEjDcO2V7XZFAD2cNAoNTMoze9ZT4LYK9NKSU4768v/fDGc/1298
sSBrrQ6/72sihD8UuFZq/eZzc3k3xRZjD9lmpeu00ZYEPbJtRAdgW3NAEPfnNTRW
QK6MKsjjtVbEK9+EGlwX9Xn3ffv1PIaDjBlmATU6/0I8qGNPG/SRBAvNr5IcBlgn
4oxQB3mITOAUI0yAYIEsBaarSg9iOmhn9OG8R53IMnHAFAMb+D8pKgVETvnpAvd3
ZFY7LhhPdqdL69REPrSn6gpYsZQH1dyGxA9Xxvj2LTArBg2vOkqaFPNlAbllsVDy
PYA3TEAV6ISawYhn0Yqd
=kaAW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trans-split.patch
Type: text/x-diff
Size: 1300027 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-tools-maintainers/attachments/20111224/6b168a72/attachment-0001.patch>


More information about the Pkg-net-tools-maintainers mailing list